1 2008-11-24 Wim Taymans <wim.taymans@collabora.co.uk>
3 * libs/gst/base/gstbasetransform.c:
4 (gst_base_transform_acceptcaps):
5 Revert quick accepcaps attempt, it's not fully equivalent to the old
6 behaviour and thus causes regressions.
8 2008-11-24 Edward Hervey <edward.hervey@collabora.co.uk>
10 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
13 2008-11-24 Sebastian Dröge <sebastian.droege@collabora.co.uk>
15 Patch by: Simon Holm Thøgersen <odie at cs dot aau dot dk>
17 * gst/gstregistry.c: (gst_registry_scan_path_level):
18 Reduce the number of stat() calls for every file from three times
19 to one time. Fixes bug #560360.
21 2008-11-22 Wim Taymans <wim.taymans@collabora.co.uk>
23 * libs/gst/base/gstbasetransform.c:
24 (gst_base_transform_acceptcaps):
25 Rename a variable to make the code clearer.
27 2008-11-21 Stefan Kost <ensonic@users.sf.net>
29 * plugins/elements/gstidentity.c:
30 Don't warning on offset==-1. Taken from _check_imperfect_offset().
32 2008-11-21 Michael Smith <msmith@songbirdnest.com>
34 * plugins/elements/gstfilesrc.c:
35 Check for localhost in URI was backwards, fix it. Fixes unit test.
37 2008-11-21 Wim Taymans <wim.taymans@collabora.co.uk>
39 * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
40 (gst_base_transform_getcaps), (gst_base_transform_find_transform),
41 (gst_base_transform_acceptcaps), (gst_base_transform_getrange):
42 Add beginnings of a more optimized acceptcaps function than the default
45 2008-11-21 Wim Taymans <wim.taymans@collabora.co.uk>
47 * gst/gstpad.c: (gst_pad_accept_caps):
48 Avoid getting the acceptcaps function too early.
50 2008-11-21 Wim Taymans <wim.taymans@collabora.co.uk>
52 * tools/gst-launch.c: (event_loop):
53 Make gst-launch handle LATENCY messages and make it recalculate the
56 2008-11-20 Michael Smith <msmith@songbirdnest.com>
58 * plugins/elements/gstfilesrc.c:
59 Use g_filename_from_uri() for URI parsing in filesrc rather than rolling
60 out own slightly incorrect version. Fixes use of some paths on
63 2008-11-20 Michael Smith <msmith@songbirdnest.com>
65 * gst/gstregistrybinary.c:
66 In win32 codepath, if we fail to write the registry, create the
67 directory for it and try again, matching the behaviour in non-win32
70 2008-11-20 Wim Taymans <wim.taymans@collabora.co.uk>
72 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_render_delay):
73 Changing the render delay changes the latency and so we must post a
76 2008-11-20 Wim Taymans <wim.taymans@collabora.co.uk>
80 Add GstQueryType for custom queries instead of having to use the
81 not-so-very-convenient registration infrastructure to register new
84 2008-11-19 Sebastian Dröge <sebastian.droege@collabora.co.uk>
86 Patch by: Andrew Feren <acferen at yahoo dot com>
88 * gst/gstobject.c: (gst_object_default_deep_notify):
89 Unref the GEnumClass after usage again. Fixes bug #561501.
91 2008-11-19 Wim Taymans <wim.taymans@collabora.co.uk>
93 * gst/gstbin.c: (_gst_boolean_accumulator), (gst_bin_class_init),
94 (gst_bin_recalculate_latency), (gst_bin_do_latency_func),
95 (gst_bin_change_state_func):
97 Add do-latency signal with the old default fallback implementation. This
98 allows for custom latency calculations for when the default is not
100 API: GstBin::do-latency signal.
102 2008-11-18 Wim Taymans <wim.taymans@collabora.co.uk>
104 * win32/common/libgstreamer.def:
105 Add new symbols to .def file.
107 2008-11-18 Wim Taymans <wim.taymans@collabora.co.uk>
109 * docs/gst/gstreamer-sections.txt:
110 * gst/gstbin.c: (gst_bin_recalculate_latency),
111 (gst_bin_change_state_func):
113 Add method to recalculate and redistribute the latency on a bin.
114 API: gst_bin_recalculate_latency().
116 2008-11-18 Wim Taymans <wim.taymans@collabora.co.uk>
119 Document the free_func.
121 2008-11-17 Sebastian Dröge <sebastian.droege@collabora.co.uk>
123 * libs/gst/controller/gstinterpolation.c:
124 * libs/gst/controller/gstlfocontrolsource.c:
125 Use gst_guint64_to_gdouble instead of gst_util_guint64_to_gdouble
126 as it is mapped to a cast on non-win32 platforms.
128 2008-11-17 Stefan Kost <ensonic@users.sf.net>
130 * libs/gst/controller/gstcontroller.c:
131 * libs/gst/controller/gstcontrollerprivate.h:
132 Keep last-value and only call set_property if value has changed. This
133 supresses all the g_object_notifies we would trigger otherwise. It
134 also allows the user to chage the value while there is no controller
137 2008-11-17 Stefan Kost <ensonic@users.sf.net>
140 Don't crash if either of the string GValues is empty.
142 2008-11-17 Andy Wingo <wingo@pobox.com>
144 * tools/gst-inspect.c (print_all_uri_handlers): New function,
145 prints a summary of what URI schemes are supported by what
147 (main): Plumb in support for --uri-handlers or -u, and fix the
148 argc check for -a and -u.
150 2008-11-17 Sebastian Dröge <sebastian.droege@collabora.co.uk>
153 Add G_GNUC_PURE to gst_util_uint64_scale* and the double<->uint64
154 conversion functions.
156 2008-11-13 Wim Taymans <wim.taymans@collabora.co.uk>
158 * gst/gstbuffer.c: (gst_buffer_finalize):
159 Avoid costly typechecking for trivially correct pointers.
161 * gst/gstpoll.c: (gst_poll_wait):
162 Add some G_LIKELY here and there.
164 * libs/gst/base/gstadapter.c: (gst_adapter_push):
167 2008-11-13 Wim Taymans <wim.taymans@collabora.co.uk>
169 * docs/random/wtay/poll-timeout:
172 2008-11-13 Wim Taymans <wim.taymans@collabora.co.uk>
174 * tests/old/testsuite/caps/intersection.c: (main):
175 * tests/old/testsuite/plugin/loading.c: (main):
176 Remove references to deprecated API g_mem_chunk*.
179 2008-11-12 Wim Taymans <wim.taymans@collabora.co.uk>
181 * tools/gst-inspect.c: (main):
182 Add --plugin option. Fixes #560301.
184 2008-11-12 Wim Taymans <wim.taymans@collabora.co.uk>
186 * docs/random/wtay/poll-timeout:
187 Quick braindump for a possible (not totally verified) atomic case.
189 2008-11-12 Sebastian Dröge <sebastian.droege@collabora.co.uk>
191 * gst/gstregistrybinary.c: (gst_registry_binary_write_chunk),
192 (gst_registry_binary_initialize_magic),
193 (gst_registry_binary_write_cache),
194 (gst_registry_binary_check_magic):
195 * gst/gstregistrybinary.h:
196 Don't write and check a CRC for the binary registry file. It's
197 guaranteed that the registry is completely written (it's first written
198 to a temporary file and then moved) and if the registry was corrupted
199 by some hardware failure we would have bigger problems.
201 Bump binary registry version to 0.10.21.1 for this as it's an
202 incompatible change and to ensure that the registry gets rebuild
205 This saves some milliseconds for reading/writing the registry.
208 2008-11-11 Wim Taymans <wim.taymans@collabora.co.uk>
210 * docs/random/wtay/poll-timeout:
211 Some pseudo code for how we could implement clock timeouts with GstPoll.
213 2008-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
215 * plugins/elements/gstfilesink.c:
216 Update Author string to match others.
218 2008-11-06 Wim Taymans <wim.taymans@collabora.co.uk>
220 * gst/gstvalue.c: (gst_type_is_fixed), (gst_value_is_fixed):
221 Reorganize some more, be more conservative with the GST_TYPE_ARRAY not
222 being fixed and inline the trivial check.
224 2008-11-06 Wim Taymans <wim.taymans@collabora.co.uk>
226 * gst/gstcaps.c: (gst_caps_copy), (_gst_caps_free),
227 (gst_caps_merge_structure), (gst_caps_get_structure),
228 (gst_caps_copy_nth), (gst_caps_set_simple),
229 (gst_caps_set_simple_valist), (gst_caps_is_fixed),
230 (gst_caps_is_equal_fixed), (gst_caps_intersect),
231 (gst_caps_subtract), (gst_caps_normalize), (gst_caps_do_simplify),
232 (gst_caps_to_string):
233 Callgrind micro optimisations.
234 Avoid array bounds checks and force inline of trivial function.
236 * gst/gstobject.c: (gst_object_set_name_default):
237 -1 is equivalent to letting glib to the strlen but then there is more
238 room for optimisations and it's not our fault.
240 * gst/gststructure.c: (gst_structure_id_empty_new_with_size):
241 no need to clear the array, we're cool.
243 * gst/gstvalue.c: (gst_type_is_fixed), (gst_value_is_fixed):
244 The most common _is_fixed() check is done on fundamental glib base
245 types so we check this first instead of doing a huge amount of
246 useless GST_TYPE_ARRAY calls.
248 2008-11-06 Wim Taymans <wim.taymans@collabora.co.uk>
251 Add a SKIP seek flag for use with advanced trickmodes.
252 API: GstSeekFlags::GST_SEEK_FLAG_SKIP
254 2008-11-05 Wim Taymans <wim.taymans@collabora.co.uk>
256 * gst/gststructure.c: (gst_structure_id_empty_new_with_size):
257 No need to memset, we can clear the value ourselves.
259 * gst/gstvalue.c: (gst_type_is_fixed),
260 (gst_value_get_compare_func):
261 Some optimisations from a few callgrind sessions:
262 When checking if a type is fixed, check for trivial fundamental types
263 first before checking types for which we need to get the type followed
264 by the heavy duty type checks, this reduces the amount of
265 g_type_fundamental() calls a lot.
266 When getting the compare function, first check for our registered types.
267 If that fails, do the heavy duty g_type_is_a() checks, reduces the
268 amount of g_type_is_a() considerably.
270 2008-11-05 Wim Taymans <wim.taymans@collabora.co.uk>
272 * docs/design/part-TODO.txt:
273 Mumble something about removing GstXML.
275 2008-11-04 Wim Taymans <wim.taymans@collabora.co.uk>
277 * gst/gstbin.c: (gst_bin_handle_message_func):
278 Get the seqnum before we dispose the message.
280 2008-11-04 Wim Taymans <wim.taymans@collabora.co.uk>
282 * docs/design/part-TODO.txt:
283 Refer to the framestepping document.
285 2008-11-04 Wim Taymans <wim.taymans@collabora.co.uk>
287 * gst/gstbin.c: (bin_handle_async_start),
288 (gst_bin_handle_message_func), (gst_bin_query):
289 * libs/gst/base/gstbasesink.c: (gst_base_sink_render_object),
290 (gst_base_sink_event), (gst_base_sink_change_state):
291 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
292 (gst_base_src_loop), (gst_base_src_change_state):
293 Copy seqnums from events to messages so that they can all be related
296 2008-11-04 Wim Taymans <wim.taymans@collabora.co.uk>
298 * tools/gst-launch.c: (event_loop):
299 Print the message seqnums.
301 2008-11-04 Andy Wingo <wingo@pobox.com>
303 * gst/gstutils.c (gst_util_seqnum_next): Refactor for clarity.
305 2008-11-04 Andy Wingo <wingo@pobox.com>
307 Add sequence numbers to events and messages. See #559250.
309 * gst/gstutils.c (gst_util_seqnum_next, gst_util_seqnum_compare):
313 * gst/gstevent.c (_gst_event_copy, gst_event_new): Initialize new
314 events with a new sequence number, and copy it when copying.
315 (gst_event_get_seqnum, gst_event_set_seqnum): API: Accessors for
316 an event's sequence number.
319 * gst/gstmessage.c (_gst_message_copy, gst_message_new_custom):
320 (gst_event_get_seqnum, gst_event_set_seqnum): API: As with events,
323 * docs/gst/gstreamer-sections.txt: Add new functions to the docs.
325 2008-11-04 Wim Taymans <wim.taymans@collabora.co.uk>
327 * docs/manual/advanced-position.xml:
328 * docs/manual/basics-bins.xml:
329 * docs/manual/basics-bus.xml:
330 * docs/manual/basics-pads.xml:
331 * docs/manual/intro-gstreamer.xml:
332 * docs/manual/intro-preface.xml:
333 Some Application Development Manual fixes thanks to
334 Andrew Feren. Fixes #558459.
336 2008-11-03 Stefan Kost <ensonic@users.sf.net>
338 * gst/gstregistrybinary.c:
339 Don't bother with the GTimer if we don't output the results.
341 2008-11-03 Wim Taymans <wim.taymans@collabora.co.uk>
343 Patch by: David Schleef <ds@schleef.org>
345 * libs/gst/net/Makefile.am:
346 Add WIN32_LIBS to libgstnet LIBADD. Fixes #557300.
348 2008-10-31 Stefan Kost <ensonic@users.sf.net>
350 * gst/gstregistrybinary.c:
351 Oh my, studip, stupid me. Remove double stat() call.
353 2008-10-31 Stefan Kost <ensonic@users.sf.net>
356 Use g_unlink instead of unlink.
358 * gst/gststructure.c:
367 Formatting & whitespaces.
369 2008-10-31 Stefan Kost <ensonic@users.sf.net>
371 * plugins/elements/gstidentity.c:
372 Doc typo. Use return value of parent_class->event.
374 * plugins/elements/gsttypefindelement.c:
375 Chain up at the end for consistency.
377 2008-10-30 Stefan Kost <ensonic@users.sf.net>
380 * docs/gst/gstreamer-docs.sgml:
381 * docs/gst/gstreamer-sections.txt:
382 * docs/gst/running.xml:
383 * docs/libs/gstreamer-libs-docs.sgml:
384 Change to xinclude based build - its faster and easier to maintain.
386 2008-10-30 Stefan Kost <ensonic@users.sf.net>
388 * gst/gstregistrybinary.c:
389 * gst/gstregistryxml.c:
390 Use g_unlink() as none of these are directories.
392 2008-10-29 Wim Taymans <wim.taymans@collabora.co.uk>
394 * gst/gstpipeline.c: (gst_pipeline_provide_clock_func):
397 2008-10-27 Wim Taymans <wim.taymans@collabora.co.uk>
399 * libs/gst/base/gstbasetransform.c:
400 (gst_base_transform_find_transform), (gst_base_transform_getrange):
401 If we have a fixate function, call it even if we already have fixed caps
402 because the subclass might add some caps. Makes audioconvert add a
403 default channel layout.
405 2008-10-24 Wim Taymans <wim.taymans@collabora.co.uk>
407 * libs/gst/base/gstbasetransform.c:
408 (gst_base_transform_prepare_output_buffer),
409 (gst_base_transform_getrange):
410 Clear the output buffer variable.
411 Cleanups to the error path in the getrange function.
414 2008-10-23 Sebastian Dröge <slomo@circular-chaos.org>
416 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
417 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
418 Use gst_buffer_try_new_and_alloc() and handle errors instead of
419 using gst_buffer_new_and_alloc() which aborts if the buffer couldn't
422 2008-10-23 Wim Taymans <wim.taymans@collabora.co.uk>
424 * gst/gstsegment.c: (gst_segment_set_newsegment_full):
425 Set the last_stop to a more meaningful position when configuring the
426 segment. ie. the start/stop of the segment or clipped against the
427 updated segment boundaries.
429 * tests/check/gst/gstsegment.c: (GST_START_TEST):
430 Add some unit tests for the last_stop.
432 2008-10-23 Sebastian Dröge <sebastian.droege@collabora.co.uk>
434 * libs/gst/base/gstbytereader.c:
435 Use GST_(READ|WRITE)_(FLOAT|DOUBLE)_(LE|BE) instead of our own
438 2008-10-23 Sebastian Dröge <sebastian.droege@collabora.co.uk>
440 * docs/gst/gstreamer-sections.txt:
442 API: Move float endianness conversion macros from libgstfloatcast
443 to core as it's useful in general, even in core. Fixes bug #555196.
444 This adds GDOUBLE_FROM_BE, GDOUBLE_FROM_LE, GDOUBLE_TO_BE,
445 GDOUBLE_TO_LE, GDOUBLE_SWAP_LE_BE, GFLOAT_FROM_BE, GFLOAT_FROM_LE,
446 GFLOAT_TO_BE, GFLOAT_TO_LE, GFLOAT_SWAP_LE_BE.
448 Also add GST_READ_ and GST_WRITE_ macros for floats and doubles:
449 GST_READ_FLOAT_LE, GST_READ_FLOAT_BE, GST_READ_DOUBLE_LE,
450 GST_READ_DOUBLE_BE, GST_WRITE_FLOAT_LE, GST_WRITE_FLOAT_BE,
451 GST_WRITE_DOUBLE_LE, GST_WRITE_DOUBLE_BE.
453 2008-10-22 Sebastian Dröge <slomo@circular-chaos.org>
455 * docs/libs/gstreamer-libs-sections.txt:
456 * libs/gst/base/gstbytereader.c: (gst_byte_reader_get_data),
457 (gst_byte_reader_peek_data):
458 * libs/gst/base/gstbytereader.h:
459 * win32/common/libgstbase.def:
460 API: Add gst_byte_reader_get_data and gst_byte_reader_peek_data
461 to get a pointer to the data at the current position and have
464 2008-10-22 Jan Schmidt <jan.schmidt@sun.com>
467 Fix a bug in the output of the configure script summary
468 when --gst-disable-registry is supplied
470 2008-10-22 Jan Schmidt <jan.schmidt@sun.com>
472 * libs/gst/base/gstbitreader.c:
473 * libs/gst/base/gstbytereader.c:
474 Fix the names of 2 functions in the docs strings.
476 2008-10-21 Wim Taymans <wim.taymans@collabora.co.uk>
478 * libs/gst/base/gstbasetransform.c:
479 (gst_base_transform_prepare_output_buffer),
480 (gst_base_transform_buffer_alloc), (gst_base_transform_suggest):
481 Protect sink_alloc caps with the sinkpad lock to avoid nasty caps
482 refcount problems as seen in banshee and maybe also in farsight2.
483 Remove atomic int now that we need to take the lock anyways.
485 2008-10-20 Wim Taymans <wim.taymans@collabora.co.uk>
487 * libs/gst/base/gstbasesink.c: (gst_base_sink_default_do_seek),
488 (gst_base_sink_default_prepare_seek_segment),
489 (gst_base_sink_perform_seek), (gst_base_sink_get_position_last),
490 (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
491 (gst_base_sink_query):
492 Implement more seeking in pull mode.
493 Use pad convert functions to convert position to the requested format.
494 Fix position/duration reporting in pull mode.
495 Implement position and duration reporting in other formats than time.
497 * libs/gst/base/gstbasesink.h:
498 Add member to keep track of when the segment is playing.
500 2008-10-20 Wim Taymans <wim.taymans@collabora.co.uk>
502 * gst/gstpad.c: (gst_pad_configure_src):
503 When we use gst_pad_alloc_buffer() without wanting to set the caps we
504 also don't need to check if the caps are compatible because the caller
505 presumably is going to perform its own custom checks. Fixes some cases
506 where basetransform elements would error out when it was not needed.
508 2008-10-20 Wim Taymans <wim.taymans@collabora.co.uk>
510 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
513 * libs/gst/base/gstbasetransform.c:
514 (gst_base_transform_handle_buffer),
515 (gst_base_transform_reconfigure):
518 * win32/common/libgstbase.def:
521 2008-10-19 Stefan Kost <ensonic@users.sf.net>
523 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_do_seek);
524 Remove duplicated assignment and log a message in failure case.
526 2008-10-19 Tim-Philipp Müller <tim.muller at collabora co uk>
528 Patch by: Dig Ge <dig.ge.cn at gmail com>
530 * tests/examples/helloworld/helloworld.c: (main):
531 Fix copy'n'paste bug in hello world example (#556900).
533 2008-10-17 Wim Taymans <wim.taymans@collabora.co.uk>
535 * libs/gst/base/gstbasesink.c: (gst_base_sink_pad_activate_pull),
536 (gst_base_sink_query):
537 Query the total number of bytes when activating the pad in pull mode.
538 Implement duration query in pull mode by using the installed pad convert
539 function to convert from bytes to the requested format.
541 2008-10-16 Wim Taymans <wim.taymans@collabora.co.uk>
543 * docs/libs/gstreamer-libs-sections.txt:
544 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_preroll),
545 (gst_base_sink_flush_start), (gst_base_sink_flush_stop),
546 (gst_base_sink_event), (gst_base_sink_perform_seek),
547 (gst_base_sink_loop), (gst_base_sink_pad_activate_pull),
548 (gst_base_sink_send_event), (gst_base_sink_change_state):
549 * libs/gst/base/gstbasesink.h:
550 Add method to commit the state in subclasses.
551 Refactor the flush_start and flush_stop code because we need it for
552 flushing while seeking too.
553 Implement the beginnings of seeking in pull mode.
554 Use the segment last_stop field for the pulling offset.
555 Fix the pause method in pull mode.
556 Configure the segment to BYTES for pull mode.
557 API: GstBaseSink::gst_base_sink_do_preroll()
559 2008-10-16 Wim Taymans <wim.taymans@collabora.co.uk>
561 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
564 2008-10-14 Tim-Philipp Müller <tim.muller at collabora co uk>
566 * gst/gstquark.c: (_priv_gst_quarks_initialize):
567 Fix printf format warning.
569 2008-10-14 Sebastian Dröge <slomo@circular-chaos.org>
571 * plugins/elements/gsttee.c: (gst_tee_handle_buffer):
572 Fix flow aggregation of tee. Error out immediately for all flow returns
573 except OK and NOT_LINKED, return NOT_LINKED if all pads are not linked
574 and return OK if at least one pad is linked.
576 Before we errored out on "fatal" flow returns (i.e. not for WRONG_STATE)
577 and otherwise returned the flow return of the last pad, which is wrong.
579 * tests/check/elements/tee.c: (_fake_chain), (_fake_chain_error),
580 (GST_START_TEST), (tee_suite):
581 Add unit tests for the flow aggregation.
583 2008-10-13 Wim Taymans <wim.taymans@collabora.co.uk>
585 * docs/design/part-TODO.txt:
586 Remove item from the todo list because it was fixed with the latency
587 state change rewrites.
589 * docs/design/part-seeking.txt:
590 * docs/design/part-segments.txt:
593 * gst/gstevent.c: (gst_event_new_new_segment_full),
594 (gst_event_parse_new_segment_full), (gst_event_new_buffer_size),
595 (gst_event_parse_buffer_size), (gst_event_new_qos),
596 (gst_event_parse_qos), (gst_event_new_seek),
597 (gst_event_parse_seek), (gst_event_new_latency),
598 (gst_event_parse_latency):
599 Use quarks to construct and parse events.
601 * gst/gstquark.c: (_priv_gst_quarks_initialize):
603 Add some more quarks to the table.
604 Emit a warning when the quark tables are not in sync.
606 * tests/check/gst/gstbus.c: (GST_START_TEST):
609 2008-10-13 Stefan Kost <ensonic@users.sf.net>
611 * plugins/elements/Makefile.am:
612 * plugins/indexers/Makefile.am:
613 Don't install static libs for plugins. Fixes #550851 for core.
615 2008-10-13 Wim Taymans <wim.taymans@collabora.co.uk>
617 * gst/gstbus.c: (gst_bus_source_finalize),
618 (gst_bus_add_watch_full_unlocked), (gst_bus_add_watch_full),
619 (gst_bus_enable_sync_message_emission),
620 (gst_bus_disable_sync_message_emission),
621 (gst_bus_add_signal_watch_full), (gst_bus_remove_signal_watch):
622 Fix deadlock, g_source_get_id() cannot be called in finalize.
623 Keep track of the watch source by keeping a pointer to the source object
625 Use the bus lock to protect access to the pointer to the current
628 2008-10-13 Sebastian Dröge <sebastian.droege@collabora.co.uk>
630 Base on Patch by: Olivier Crete <tester at tester dot ca>
632 * gst/gstbus.c: (gst_bus_source_finalize),
633 (gst_bus_add_watch_full), (gst_bus_add_signal_watch_full):
634 Only allow one bus watch to be set at a time. This is necessary
635 because the dispatcher pops the message from the bus and the second
636 watcher will then get NULL or the next message (and the first won't
637 get this next message then, etc). If more than one "watcher" is
638 required signal watches should be used. Fixes bug #526044.
640 2008-10-12 Jan Schmidt <jan.schmidt@sun.com>
642 * tools/gst-launch.c:
643 Change the printing of the 'buffering...' output to avoid putting
644 a \r in a translateable string (flagged by the TP).
646 2008-10-10 Sebastian Dröge <sebastian.droege@collabora.co.uk>
649 Clarify that the save_thyself() and restore_thyself() virtual
650 functions of GstObject need to be overriden, not
651 gst_object_(save|restore)_thyself() which is impossible.
654 2008-10-10 Wim Taymans <wim.taymans@collabora.co.uk>
656 * gst/gstpad.c: (gst_pad_get_range), (gst_pad_pull_range):
657 Revert a patch from 21 months ago that broke caps negotiation in pull
658 mode. Basically, having a buffer pass over a pad will trigger the
659 setcaps function when caps change, just like in push mode.
661 2008-10-10 Wim Taymans <wim.taymans@collabora.co.uk>
663 * docs/design/part-negotiation.txt:
664 Update the docs some more.
666 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek):
667 If we pull a buffer with non-trivial caps, suggest those caps with the
670 2008-10-10 Edward Hervey <edward.hervey@collabora.co.uk>
672 * docs/design/part-TODO.txt:
673 Add another limitation of pad-blocking with segment seeks not pushing
676 2008-10-10 Jan Schmidt <jan.schmidt@sun.com>
678 * win32/common/libgstbase.def:
679 * win32/common/libgstreamer.def:
680 Add new symbols to the win32 defs files
682 2008-10-10 Wim Taymans <wim.taymans@collabora.co.uk>
684 * gst/gstbin.c: (gst_bin_remove_func), (update_degree),
685 (gst_bin_handle_message_func):
686 The message src can be NULL, don't try to print the object names in that
689 * libs/gst/base/gstbasesink.c: (gst_base_sink_pad_activate):
690 Add some more debug info.
692 * tests/check/pipelines/simple-launch-lines.c: (run_pipeline),
695 Fix the test, pull based sinks go ASYNC to PAUSED, just like other
698 2008-10-10 Wim Taymans <wim.taymans@collabora.co.uk>
700 * docs/design/part-negotiation.txt:
703 * docs/libs/gstreamer-libs-sections.txt:
704 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
705 (gst_base_sink_pad_getcaps), (gst_base_sink_pad_setcaps),
706 (gst_base_sink_init), (gst_base_sink_set_blocksize),
707 (gst_base_sink_get_blocksize), (gst_base_sink_set_property),
708 (gst_base_sink_get_property), (gst_base_sink_needs_preroll),
709 (gst_base_sink_loop), (gst_base_sink_pad_activate),
710 (gst_base_sink_negotiate_pull), (gst_base_sink_pad_activate_pull),
711 (gst_base_sink_change_state):
712 * libs/gst/base/gstbasesink.h:
713 Add blocksize property and methods to control the amount of data
715 Negotiate first before activating upstream in pull mode so that they can
716 negotiate themselves.
717 When we operate in pull mode, we only accept the caps that we
719 Make the sink go ASYNC to PAUSED, like all other sinks.
720 API: GstBaseSink::gst_base_sink_set_blocksize()
721 API: GstBaseSink::gst_base_sink_get_blocksize()
722 API: GstBaseSink::blocksize
724 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
725 (gst_base_src_set_live), (gst_base_src_is_live),
726 (gst_base_src_set_format), (gst_base_src_query_latency),
727 (gst_base_src_set_blocksize), (gst_base_src_get_blocksize),
728 (gst_base_src_set_do_timestamp), (gst_base_src_get_do_timestamp),
729 (gst_base_src_set_property), (gst_base_src_get_property):
730 * libs/gst/base/gstbasesrc.h:
731 Add typechecking in public API functions.
732 Add methods to control the blocksize in subclasses.
733 API: GstBaseSrc::gst_base_src_set_blocksize()
734 API: GstBaseSrc::gst_base_src_get_blocksize()
736 2008-10-10 Edward Hervey <edward.hervey@collabora.co.uk>
738 * tests/check/gst/gstutils.c: (probe_do_nothing), (data_probe),
739 (buffer_probe), (event_probe), (GST_START_TEST):
740 We now see 3 events go through our pad, since basesink now sends
741 upstream latency events.
743 2008-10-08 Wim Taymans <wim.taymans@collabora.co.uk>
745 * gst/gstpipeline.c: (gst_pipeline_change_state):
746 Release the object lock before trying to flush the bus.
748 2008-10-08 Wim Taymans <wim.taymans@collabora.co.uk>
750 * libs/gst/base/gstbasesink.c: (gst_base_sink_send_event):
751 Forward LATENCY events upstreams so that elements know about the total
752 pipeline latency. Fixes #555307.
754 2008-10-08 Jan Schmidt <jan.schmidt@sun.com>
756 * plugins/elements/gstqueue.c:
757 Allow through queries when we don't know how
758 to adjust them (not TIME or BYTES), as otherwise it's
759 not possible to query the current position in order
760 to seek in other formats at all.
762 2008-10-08 Andy Wingo <wingo@pobox.com>
764 * docs/gst/gstreamer-sections.txt: Placate doc pendants.
766 2008-10-08 Wim Taymans <wim.taymans@collabora.co.uk>
770 Unbreak -good build, private is a reserved c++ keyword.
772 2008-10-08 Andy Wingo <wingo@pobox.com>
774 * gst/gstghostpad.h (GST_GHOST_PAD_CAST):
775 * gst/gstghostpad.c (GST_GHOST_PAD_CAST): Fix unintended API
776 removal: re-add GST_GHOST_PAD_CAST to the header.
778 * gst/gstghostpad.h (GstProxyPad, GstProxyPadClass, GstGhostPad)
779 (GstGhostPadClass): Publically expose these structures so as to
780 allow easy subclassing from C. Hide the member data behind a
781 private opaque data pointer.
783 * gst/gstghostpad.c: Adapt to store instance data in the type
784 instance's private data region, not in the public struct.
786 2008-10-08 Andy Wingo <wingo@pobox.com>
788 * gst/gstghostpad.c (gst_ghost_pad_construct): If we got a
789 template via g_object_get(), be sure to unref it.
791 * gst/gstbuffer.h (GST_BUFFER_FREE_FUNC): Fix incorrect doc.
793 2008-10-08 Sebastian Dröge <sebastian.droege@collabora.co.uk>
795 * gst/gstregistrybinary.c: (gst_registry_binary_write_cache):
796 If we can't get a cache file don't try to save something to it.
797 Dereferencing NULL pointers usually isn't a good idea.
799 2008-10-07 Jan Schmidt - Sun Microsystems <jan.schmidt@sun.com>
801 * tests/check/Makefile.am:
802 * tests/check/gst/gstabi.c:
803 * tests/check/gst/struct_sparc.h:
804 * tests/check/libs/libsabi.c:
805 * tests/check/libs/struct_sparc.h:
808 * tests/check/gst/gstvalue.c: (GST_START_TEST):
809 Cast signed integer to unsigned to avoid a compiler warning.
811 2008-10-07 Sebastian Dröge <sebastian.droege@collabora.co.uk>
813 * libs/gst/base/gstbytereader.c: (gst_byte_reader_get_uint24_le),
814 (gst_byte_reader_get_uint24_be), (gst_byte_reader_get_int24_le),
815 (gst_byte_reader_get_int24_be), (gst_byte_reader_peek_uint24_le),
816 (gst_byte_reader_peek_uint24_be), (gst_byte_reader_peek_int24_le),
817 (gst_byte_reader_peek_int24_be):
818 Use new GST_READ_UINT24_(LE|BE) macros.
820 2008-10-07 Sebastian Dröge <sebastian.droege@collabora.co.uk>
822 * docs/gst/gstreamer-sections.txt:
824 Always use the unaligned variants of GST_READ_UINT* and GST_WRITE_UINT*
825 as it's too easy to break the ISO C strict aliasing rules with simple
826 casts to the corresponding type and this would introduce hard to debug
827 bugs. Fixes bug #545714.
829 API: Add GST_READ_UINT24_(LE|BE) and GST_WRITE_UINT24_(LE|BE).
831 2008-10-07 Tim-Philipp Müller <tim.muller at collabora co uk>
833 * gst/gstbuffer.h: (GST_BUFFER_FREE_FUNC):
834 * gst/gstghostpad.c: (gst_ghost_pad_construct):
835 Add 'Since' bits to gtk-doc chunks for new API.
837 2008-10-06 Thijs Vermeir <thijsvermeir@gmail.com>
839 * docs/gst/gstreamer-sections.txt:
842 2008-10-06 Andy Wingo <wingo@pobox.com>
844 * gst/gstbuffer.h (GST_BUFFER_FREE_FUNC): New API, a free function
845 that will be called on the malloc_data to free it. Basically a way
846 to avoid subclassing when all you need is a different free
847 function, i.e. free() instead of g_free().
849 * gst/gstbuffer.c (gst_buffer_finalize): Free malloc_data via
850 calling the free function.
851 (gst_buffer_init): Initialize the free function to g_free.
853 2008-10-06 Andy Wingo <wingo@pobox.com>
856 * gst/gstghostpad.c (gst_ghost_pad_construct): New function,
857 finishes the initialization of ghost pad. Useful for language
858 bindings and subclassers of GstGhostPad. Fixes #539108.
859 (gst_ghost_pad_new_full): Use the new constructor.
861 2008-10-06 Wim Taymans <wim.taymans@collabora.co.uk>
863 Base on Patch by: Olivier Crete <tester at tester dot ca>
865 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
866 (gst_bin_remove_func), (update_degree),
867 (gst_bin_sort_iterator_new), (gst_bin_handle_message_func):
868 Keep track of pads that are being linked/unlinked and resync the state
871 * gst/gstpad.c: (gst_pad_get_direction),
872 (gst_pad_set_chain_function), (gst_pad_set_getrange_function),
873 (gst_pad_set_checkgetrange_function), (gst_pad_unlink),
874 (gst_pad_link_prepare), (gst_pad_link),
875 (gst_pad_event_default_dispatch), (gst_pad_chain), (gst_pad_push),
876 (gst_pad_check_pull_range), (gst_pad_get_range),
877 (gst_pad_pull_range):
878 Some code cleanups, use macros to check pad direction.
879 Don't need to take the lock on the pad direction.
880 Post structure change when pads are linked/unlinked.
881 Change some checks into _return_if_fail().
883 * tests/check/gst/gstbin.c:
884 (test_link_structure_change_state_changed_sync_cb),
885 (GST_START_TEST), (gst_bin_suite):
886 Add testcase for pad link/unlinke resync during a state change.
889 2008-10-06 Wim Taymans <wim.taymans@collabora.co.uk>
891 * docs/gst/gstreamer-sections.txt:
892 * gst/gstmessage.c: (gst_message_new_structure_change),
893 (gst_message_parse_structure_change):
895 Implement STRUCTURE_CHANGED messages. These messages will be used to
896 signal the parent bin of link/unlink operations that could require a
897 resync when doing a state change. See ##510354.
898 API: gst_message_new_structure_change()
899 API: gst_message_parse_structure_change()
901 2008-10-06 Wim Taymans <wim.taymans@collabora.co.uk>
905 Add some more quarks for new message. See #510354.
907 2008-10-06 Sebastian Dröge <sebastian.droege@collabora.co.uk>
909 * docs/libs/gstreamer-libs-docs.sgml:
910 * docs/libs/gstreamer-libs-sections.txt:
911 * libs/gst/base/Makefile.am:
912 * libs/gst/base/gstbitreader.c: (gst_bit_reader_new),
913 (gst_bit_reader_new_from_buffer), (gst_bit_reader_free),
914 (gst_bit_reader_init), (gst_bit_reader_init_from_buffer),
915 (gst_bit_reader_set_pos), (gst_bit_reader_get_pos),
916 (gst_bit_reader_get_remaining), (gst_bit_reader_skip),
917 (gst_bit_reader_skip_to_byte):
918 * libs/gst/base/gstbitreader.h:
919 * libs/gst/base/gstbytereader.c: (GDOUBLE_SWAP_LE_BE),
920 (GFLOAT_SWAP_LE_BE), (gst_byte_reader_new),
921 (gst_byte_reader_new_from_buffer), (gst_byte_reader_free),
922 (gst_byte_reader_init), (gst_byte_reader_init_from_buffer),
923 (gst_byte_reader_set_pos), (gst_byte_reader_get_pos),
924 (gst_byte_reader_get_remaining), (gst_byte_reader_skip),
925 (gst_byte_reader_get_uint8), (gst_byte_reader_get_int8),
926 (gst_byte_reader_peek_uint8), (gst_byte_reader_peek_int8),
927 (gst_byte_reader_get_uint24_le), (gst_byte_reader_get_uint24_be),
928 (gst_byte_reader_get_int24_le), (gst_byte_reader_get_int24_be),
929 (gst_byte_reader_peek_uint24_le), (gst_byte_reader_peek_uint24_be),
930 (gst_byte_reader_peek_int24_le), (gst_byte_reader_peek_int24_be):
931 * libs/gst/base/gstbytereader.h:
932 * tests/check/Makefile.am:
933 * tests/check/libs/bitreader.c: (GST_START_TEST),
934 (gst_bit_reader_suite):
935 * tests/check/libs/bytereader.c: (GST_START_TEST),
936 (gst_byte_reader_suite):
937 API: Add bit reader and byte reader classes, including documentation
938 and an extensive unit test suite. Fixes bug #553554.
940 2008-10-06 Wim Taymans <wim.taymans@collabora.co.uk>
942 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position),
943 (gst_base_sink_query):
944 Improve position reporting while flushing and other intermediate state
945 changes. Fixes #553874.
947 2008-10-06 Wim Taymans <wim.taymans@collabora.co.uk>
949 Patch by: Antoine Tremblay <hexa00 at gmail dot com>
951 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
952 Original patch by : Simon Descaries
953 Fix small refount leak in caps compatibility check.
956 2008-10-06 Stefan Kost <ensonic@users.sf.net>
958 * docs/pwg/advanced-request.xml:
959 Fix 0.8 api usage in example. Fixes #554561
961 * docs/pwg/appendix-porting.xml:
962 Change 0.9 to 0.10 here.
964 2008-10-06 Stefan Kost <ensonic@users.sf.net>
966 * docs/manual/basics-data.xml:
967 Change "event-event interaction" to "element-element interaction".
968 Fixes #552448. Also fix sample code for seeking and do more 0.8->0.10
971 2008-10-05 Jan Schmidt <jan.schmidt@sun.com>
974 Back to development -> 0.10.21.1
976 === release 0.10.21 ===
978 2008-10-02 Jan Schmidt <jan.schmidt@sun.com>
981 releasing 0.10.21, "Take These Things From Me"
983 2008-09-28 Jan Schmidt <jan.schmidt@sun.com>
986 0.10.20.4 pre-release
988 2008-09-28 Jan Schmidt <jan.schmidt@sun.com>
990 * libs/gst/base/gstbasetransform.c:
991 * plugins/elements/gstcapsfilter.c:
992 * tests/check/Makefile.am:
993 * tests/check/elements/.cvsignore:
994 * tests/check/elements/capsfilter.c:
995 Fix assertion in basetransform when the subclass chooses not to
996 allocate a buffer in prepare_buffer(), and make capsfilter error out
997 cleanly if requested to apply caps that don't completely specify the
998 buffer. Fixes #551509
1000 2008-09-24 Wim Taymans <wim.taymans@collabora.co.uk>
1002 * libs/gst/base/gstbasetransform.c:
1003 (gst_base_transform_prepare_output_buffer):
1004 Take new caps ref because our old one might have been gone when the
1005 subclass performs a gst_pad_set_caps() on the srcpad. See #548764.
1007 2008-09-15 Stefan Kost <ensonic@users.sf.net>
1010 Do not probe availability of check unit test library when cross
1011 compiling, as test would not work anyway. Also cleanup verbose output
1012 of the check test. Fixes #551952.
1014 2008-09-14 Wim Taymans <wim.taymans@collabora.co.uk>
1016 Based on patch by: Antoine Tremblay <hexa00 at gmail dot com>
1018 * gst/gstelement.c: (gst_element_sync_state_with_parent):
1019 Avoid leaking the parent ref when we fail changing the state of the
1020 element using gst_element_sync_state_with_parent(). Fixes #551978.
1022 2008-09-11 Tim-Philipp Müller <tim.muller at collabora co uk>
1024 * docs/manual/intro-motivation.xml::
1025 Remove some bits that no longer apply, update others (#551642).
1027 2008-09-10 Jan Schmidt <jan.schmidt@sun.com>
1030 0.10.20.2 pre-release
1038 2008-09-09 Tim-Philipp Müller <tim.muller at collabora co uk>
1040 * win32/common/config.h.in:
1041 Add GST_DATADIR, hard-code cpu to x86.
1043 * win32/common/libgstreamer.def:
1046 2008-09-03 Tim-Philipp Müller <tim.muller at collabora co uk>
1049 Fix Since: markers for new geo tags.
1051 2008-09-02 Stefan Kost <ensonic@users.sf.net>
1054 Fix actual tag name define after renaming from altitude to elevation.
1056 2008-09-01 Wim Taymans <wim.taymans@collabora.co.uk>
1058 * gst/gstpad.c: (add_unref_pad_to_list),
1059 (gst_pad_get_internal_links_default):
1060 Add fallback when calling the deprecated function on an element that
1061 implements the new internal_link handler.
1063 2008-09-01 Stefan Kost <ensonic@users.sf.net>
1065 * docs/gst/gstreamer-sections.txt:
1068 Add new tags for geo location and clarify purpose of existing location
1071 2008-09-01 Wim Taymans <wim.taymans@collabora.co.uk>
1073 Patch by: Olivier Crete <tester at tester dot ca>
1075 * gst/gstpad.c: (gst_pad_iterate_internal_links_default),
1076 (gst_pad_event_default_dispatch), (gst_pad_dispatcher):
1077 Use thread-safe internal links iterator. Fixes #549504.
1079 2008-09-01 Wim Taymans <wim.taymans@collabora.co.uk>
1081 Based on patch by: Olivier Crete <tester at tester dot ca>
1083 * docs/gst/gstreamer-sections.txt:
1084 * win32/common/libgstreamer.def:
1085 * gst/gstpad.c: (gst_pad_init),
1086 (gst_pad_set_iterate_internal_links_function),
1087 (int_link_iter_data_free), (iterate_pad),
1088 (gst_pad_iterate_internal_links_default),
1089 (gst_pad_iterate_internal_links), (gst_pad_get_internal_links):
1091 Add threadsafe replacement functions for getting internal links of an
1092 element. Deprecate the old internal links functions.
1093 API:GstPad::gst_pad_set_iterate_internal_links_function()
1094 API:GstPad::GstPadIterIntLinkFunction
1095 API:GstPad::gst_pad_iterate_internal_links()
1096 API:GstPad::gst_pad_iterate_internal_links_default()
1098 * gst/gstghostpad.c: (gst_proxy_pad_do_iterate_internal_links),
1099 (gst_proxy_pad_init):
1100 Implement threadsafe internal links.
1102 * tests/check/elements/tee.c: (GST_START_TEST), (tee_suite):
1103 Unit test for internal links on tee. See #549504.
1105 2008-08-30 Edward Hervey <edward.hervey@collabora.co.uk>
1107 * tests/check/Makefile.am:
1108 libs/transform1 test requires libs/test_transform.c
1110 2008-08-30 Edward Hervey <edward.hervey@collabora.co.uk>
1112 * gst/gstpad.c: (gst_pad_get_internal_links_default):
1113 Die evil deadlock, die !
1115 2008-08-30 Edward Hervey <edward.hervey@collabora.co.uk>
1117 * gst/gstutils.c: (gst_element_get_compatible_pad):
1118 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
1119 * tests/check/gst/gstpad.c: (name_is_valid), (GST_START_TEST):
1120 Fix all leaks due to the bug in gst_pad_template_new() by which it does
1121 not steal the refcount of the given caps as stated.
1123 REVERT THIS COMMIT ONCE FIXED !
1124 REVERT THIS COMMIT ONCE FIXED !
1125 REVERT THIS COMMIT ONCE FIXED !
1126 REVERT THIS COMMIT ONCE FIXED !
1127 REVERT THIS COMMIT ONCE FIXED !
1128 REVERT THIS COMMIT ONCE FIXED !
1130 2008-08-29 Wim Taymans <wim.taymans@collabora.co.uk>
1132 * gst/gstiterator.c:
1133 * gst/gstiterator.h:
1134 After 3 years it's about time to revise the documentation of the
1137 2008-08-29 Wim Taymans <wim.taymans@collabora.co.uk>
1139 * gst/gstpad.c: (gst_pad_get_internal_links_default):
1140 Make the internal links function less thread-unsafe and add some
1141 comments, dunno why.
1143 2008-08-29 Tim-Philipp Müller <tim.muller at collabora co uk>
1145 * gst/gst_private.h:
1146 Include gstinfo.h even if GST_DISABLE_GST_DEBUG is defined. Fixes
1147 build with --disable-gst-debug.
1149 2008-08-28 David Schleef <ds@schleef.org>
1151 * gst/gstpadtemplate.c: Revert last change, since it breaks
1152 a few plugins, ffmpeg, alaw, and mulaw. Code is correct,
1153 but shouldn't be enabled until we've released fixed versions
1154 of -good and -ffmpeg.
1156 2008-08-28 Stefan Kost <ensonic@users.sf.net>
1159 Put the gst_object_get_name() back in.
1161 2008-08-28 Stefan Kost <ensonic@users.sf.net>
1163 * gst/gstpadtemplate.c:
1164 The old behaviour was that gst_pad_template_new() takes ownership of
1165 the caps. As we now call g_object_new() which calls g_object_set() and
1166 which copies the caps, we have to unref them to not leak them. Fixes
1167 make valgrid for me.
1169 2008-08-28 Stefan Kost <ensonic@users.sf.net>
1172 Don't segfault on input like "tel:+1-123-555-1234".
1174 2008-08-27 Stefan Kost <ensonic@users.sf.net>
1177 Due to popular request also include ObjectType in
1178 gst_object_get_path_string(). Makes gst-launch -v bit more useful.
1180 2008-08-26 David Schleef <ds@schleef.org>
1182 * gst/gstutils.c: Remove check in gst_pad_query_convert() that
1183 src_val must be positive, because that's not a requirement.
1184 This causes problems with converting negative granulepos
1186 * gst/gstquery.c: Same, gst_query_new_convert().
1188 2008-08-25 Wim Taymans <wim.taymans@collabora.co.uk>
1190 * gst/gstclock.c: (gst_clock_add_observation):
1191 Add some more debugging to the clock slaving code.
1193 * win32/common/libgstbase.def:
1194 Add new basetransform method.
1196 2008-08-25 Wim Taymans <wim.taymans@collabora.co.uk>
1198 * gst/gstbin.c: (gst_bin_element_set_state):
1199 Take the (recursive) state lock between getting the locked state of an
1200 element and changing the element state. This allows the application to
1201 lock an element's state and then change its state without races.
1203 2008-08-25 Wim Taymans <wim.taymans@collabora.co.uk>
1205 * gst/gstbin.c: (gst_bin_element_set_state):
1206 When an element is in the locked state we still want to update the
1207 base_time of the element.
1209 2008-08-21 Wim Taymans <wim.taymans@collabora.co.uk>
1211 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
1212 Use the result from gst_pad_set_caps() instead of assuming the element
1213 always accepted the caps computed by the default negotiate function.
1215 2008-08-20 Wim Taymans <wim.taymans@collabora.co.uk>
1217 * docs/libs/gstreamer-libs-sections.txt:
1218 * libs/gst/base/gstbasetransform.c:
1219 (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
1220 (gst_base_transform_chain), (gst_base_transform_suggest),
1221 (gst_base_transform_reconfigure):
1222 * libs/gst/base/gstbasetransform.h:
1223 Implement method for reconfiguring basetransform.
1224 API: GstBaseTransform::gst_base_transform_reconfigure()
1226 2008-08-20 Stefan Kost <ensonic@users.sf.net>
1228 patch by: Murray Cumming <murrayc@murrayc.com>
1231 Mention that this is just like gst_buffer_merge() but with extra
1232 unreffing for C coders. Advise language bindings not to wrap it.
1235 Also fix file comment.
1237 2008-08-20 Stefan Kost <ensonic@users.sf.net>
1239 reviewed by: Wim Taymans <wim.taymans@collabora.co.uk>
1241 * plugins/elements/gstfakesink.c:
1242 * plugins/elements/gstfakesrc.c:
1243 Call super::event() when not handling it. Fixes #544855.
1245 2008-08-19 Michael Smith <msmith@songbirdnest.com>
1247 Patch by: Alessandro Decina <alessandro@nnva.org>
1248 * plugins/elements/gstfilesrc.c:
1249 Use 64 bit variants of stat functions on win32, to enable support
1250 of large files there.
1253 2008-08-19 Wim Taymans <wim.taymans@collabora.co.uk>
1255 * libs/gst/base/gstbasesink.c: (gst_base_sink_render_object),
1256 (gst_base_sink_event), (gst_base_sink_chain_unlocked),
1257 (gst_base_sink_negotiate_pull), (gst_base_sink_pad_activate_pull),
1258 (gst_base_sink_get_position), (gst_base_sink_change_state):
1259 Improve position reporting in the flushing state.
1260 Also report the position when we are not yet prerolled but we
1261 have a newsegment event. Fixes #543444.
1262 Improve the pull-based negotiation code.
1264 * tests/check/elements/fakesink.c: (GST_START_TEST),
1266 Add testcase for position reporting while flushing in PAUSED and
1269 * tests/check/generic/sinks.c: (GST_START_TEST):
1270 Update unit-test, we can now query the position as soon as we receive a
1273 2008-08-19 Wim Taymans <wim.taymans@collabora.co.uk>
1275 Based on patch by: Jason Zhao <e3423c at motorola dot com>
1277 * libs/gst/base/gstbasesink.c: (gst_base_sink_render_object):
1278 When the subclass event handler releases the PREROLL_LOCK, we could be
1279 in the flushing state and we have to ignore the event. Fixes #548394.
1281 2008-08-18 Tim-Philipp Müller <tim.muller at collabora co uk>
1283 * tools/gst-launch.1.in:
1284 Document GST_REGISTRY_UPDATE environment variable.
1286 2008-08-18 Wim Taymans <wim.taymans@collabora.co.uk>
1288 * libs/gst/base/gstbasetransform.c:
1289 (gst_base_transform_prepare_output_buffer):
1290 If the element is configured in passthrough mode but the
1291 prepare_output_buffer gave us a new output buffer, discard that buffer
1292 and reuse the input buffer.
1294 2008-08-15 Wim Taymans <wim.taymans@collabora.co.uk>
1296 Patch by: Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
1298 * plugins/elements/gsttee.c: (gst_tee_finalize), (gst_tee_init),
1299 (gst_tee_request_new_pad), (gst_tee_release_pad),
1300 (gst_tee_find_buffer_alloc), (gst_tee_buffer_alloc):
1301 * plugins/elements/gsttee.h:
1302 Protect pad_alloc with a new lock so that we can be sure that nothing is
1303 performing a pad_alloc when removing the pad. Fixes #547835.
1305 * tests/check/elements/tee.c: (buffer_alloc_harness_setup),
1306 (buffer_alloc_harness_teardown), (app_thread_func),
1307 (final_sinkpad_bufferalloc), (GST_START_TEST), (tee_suite):
1308 Added testcase for shutdown race.
1310 2008-08-14 Thijs Vermeir <thijsvermeir@gmail.com>
1315 2008-08-14 Wim Taymans <wim.taymans@collabora.co.uk>
1317 * libs/gst/base/gstbasetransform.c:
1318 (gst_base_transform_prepare_output_buffer),
1319 (gst_base_transform_buffer_alloc):
1320 Go over the buffer_alloc function again and make sure we always end up
1321 allocating a buffer.
1323 Avoid doing pad alloc when we have a pending suggestion because we
1324 cannot yet deal with changing caps in that case. Fixes #547728
1326 2008-08-14 Stefan Kost <ensonic@users.sf.net>
1328 patch by: Luc Pionchon <luc.pionchon@nokia.com>
1330 * docs/manual/advanced-clocks.xml:
1331 * docs/manual/clocks.png:
1332 * docs/manual/diagrams-clocks.svg:
1333 Add one more image showing different times together with a describing
1334 paragraph. Fixes #547729.
1336 2008-08-14 Wim Taymans <wim.taymans@collabora.co.uk>
1338 * win32/common/libgstbase.def:
1341 2008-08-14 Wim Taymans <wim.taymans@collabora.co.uk>
1343 * libs/gst/base/gstbasetransform.c:
1344 (gst_base_transform_transform_caps),
1345 (gst_base_transform_prepare_output_buffer),
1346 (gst_base_transform_buffer_alloc), (gst_base_transform_suggest):
1347 Don't overwrite the outsize when calculating the expected size of a new
1348 buffer because we still need it in case we cannot process the new
1350 When converting the size of the new buffer to an upstream size, actually
1351 use the expected size of the buffer, not some other random value.
1352 Use an atomic int to signal that a new upstream caps suggestion is
1354 When we can convert the current buffer to a new format, check if the
1355 buffer size is of the expected size and allocate a new buffer of the
1356 expected size when this is not the case. Fixes #546883.
1358 * tests/check/libs/transform1.c: (GST_START_TEST):
1359 remove ifdeffed code from the unit test.
1361 2008-08-12 Stefan Kost <ensonic@users.sf.net>
1363 * pkgconfig/gstreamer-uninstalled.pc.in:
1364 * pkgconfig/gstreamer.pc.in:
1365 Remove -lgstcontrol-0.10 which never worked anyway as the lib is
1366 called gstcontroller-0.10.
1368 2008-08-12 Stefan Kost <ensonic@users.sf.net>
1370 * gst/gstchildproxy.h:
1372 Remove double interface from doc-string.
1374 2008-08-12 Stefan Kost <ensonic@users.sf.net>
1376 * libs/gst/base/gstbasesrc.c:
1377 * libs/gst/base/gstbasetransform.c:
1378 Fix headings in docs and gtk-doc warnings.
1380 2008-08-11 Michael Smith <msmith@songbirdnest.com>
1382 * gst/gstregistrybinary.c:
1383 Don't use g_mkstmp() on win32, it's unsafe if glib is using a different
1387 2008-08-11 Edward Hervey <edward.hervey@collabora.co.uk>
1389 * libs/gst/base/gstbasetransform.c:
1390 (gst_base_transform_buffer_alloc):
1391 Fix a "may be used unitialized" warning.
1393 2008-08-11 Stefan Kost <ensonic@users.sf.net>
1395 * docs/gst/gstreamer-sections.txt:
1397 Document preset-iface vmethods.
1399 2008-08-11 Stefan Kost <ensonic@users.sf.net>
1401 * docs/manual/advanced-interfaces.xml:
1402 Turn thoughts about HAL into a note-tag. Remove mentioning that is
1403 only used to discover devices.
1405 2008-08-07 Tim-Philipp Müller <tim.muller at collabora co uk>
1407 Patch by: Frederic Crozat <fcrozat@mandriva.org>
1409 * gst/gst.c: (init_pre):
1410 Make sure gettext returns translations in UTF-8 encoding rather
1411 than in the current locale encoding (#546822).
1413 2008-08-07 Wim Taymans <wim.taymans@collabora.co.uk>
1415 * gst/gstcaps.c: (gst_caps_structure_is_subset_field):
1418 * tests/check/gst/gstcaps.c: (GST_START_TEST):
1419 Improve unit test subset tests and add a testcase for the subset failure
1422 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
1423 Improve subtraction unit test.
1425 2008-08-07 Stefan Kost <ensonic@users.sf.net>
1427 * plugins/elements/gsttee.c:
1428 Unlock, instead of locking again.
1430 2008-08-05 Wim Taymans <wim.taymans@collabora.co.uk>
1433 Clarify the docs a bit more.
1435 2008-08-05 Stefan Kost <ensonic@users.sf.net>
1437 * tests/examples/metadata/read-metadata.c:
1438 Don't leak old taglist.
1440 2008-08-05 Wim Taymans <wim.taymans@collabora.co.uk>
1442 Patch by: Olivier Crete <tester at tester dot ca>
1444 * gst/gststructure.c:
1445 (gst_structure_fixate_field_nearest_fraction):
1446 Avoid overflows in fixation code when dealing with MAXINT values, which
1447 v4l2src seems to do.
1450 * tests/check/gst/gststructure.c: (GST_START_TEST):
1451 Make a unit test to check the fix.
1453 2008-08-05 Wim Taymans <wim.taymans@collabora.co.uk>
1455 * plugins/elements/gstcapsfilter.c: (copy_func),
1456 (gst_capsfilter_set_property):
1457 Use new caps suggestion feature of basetransform to request a caps
1458 negotiation upstream.
1460 2008-08-05 Wim Taymans <wim.taymans@collabora.co.uk>
1462 * docs/libs/gstreamer-libs-sections.txt:
1464 API: GstBaseTransform::gst_base_transform_suggest()
1466 * libs/gst/base/gstbasetransform.c: (gst_base_transform_finalize),
1467 (gst_base_transform_init), (gst_base_transform_transform_caps),
1468 (gst_base_transform_transform_size),
1469 (gst_base_transform_configure_caps),
1470 (gst_base_transform_can_transform),
1471 (gst_base_transform_find_transform), (gst_base_transform_setcaps),
1472 (gst_base_transform_prepare_output_buffer),
1473 (gst_base_transform_buffer_alloc),
1474 (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
1475 (gst_base_transform_chain), (gst_base_transform_activate),
1476 (gst_base_transform_set_passthrough),
1477 (gst_base_transform_is_passthrough),
1478 (gst_base_transform_set_in_place),
1479 (gst_base_transform_is_in_place), (gst_base_transform_update_qos),
1480 (gst_base_transform_set_qos_enabled),
1481 (gst_base_transform_is_qos_enabled),
1482 (gst_base_transform_set_gap_aware), (gst_base_transform_suggest),
1483 (gst_base_transform_reconfigure):
1484 * libs/gst/base/gstbasetransform.h:
1485 Rewrite of basetransform to perform negotiation outside of the
1486 buffer_alloc functions. Fixes #545853.
1488 * tests/check/libs/transform1.c: (GST_START_TEST),
1492 2008-08-05 Stefan Kost <ensonic@users.sf.net>
1494 * tests/check/gst/gstpreset.c:
1495 Only run preset tests when $HOME is writable. Preliminary fix for
1498 2008-08-04 Wim Taymans <wim.taymans@collabora.co.uk>
1500 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
1501 (gst_bin_change_state_func), (bin_handle_async_done),
1502 (gst_bin_handle_message_func):
1503 Fix race for bins that simulate ASYNC state changes by inserting
1504 ASYNC_START and ASYNC_DONE messages in their bus. We need to check for
1505 pending ASYNC messages even when the bin does not have ASYNC children.
1506 We note detect this behaviour because we will receive an ASYNC message
1507 that is originating from the bin itself.
1508 Fixes races with decodebin2 state changes.
1510 * tests/check/gst/gstbin.c: (GST_START_TEST):
1511 Add some more debug.
1513 2008-08-04 Tim-Philipp Müller <tim.muller at collabora co uk>
1515 * gst/gsttaglist.c: (_gst_tag_initialize):
1518 2008-08-04 Stefan Kost <ensonic@users.sf.net>
1521 Argh. actually save the text before committing. Now adds
1522 gst_tag_merge_strings_with_comma() to gst_tag_register().
1524 2008-08-04 Stefan Kost <ensonic@users.sf.net>
1528 Do as tim pointed out and actually register the new tag. Also improve
1529 te docs and use gst_tag_merge_strings_with_comma() method to allow
1530 retriving all keywords merged in one list.
1532 2008-08-01 Stefan Kost <ensonic@users.sf.net>
1535 * docs/gst/gstreamer.types:
1536 Revert 'accidential' change of the configure option removal. We still
1537 need to generate the types file in configure --disable-load-save.
1539 2008-08-01 Stefan Kost <ensonic@users.sf.net>
1541 * docs/gst/gstreamer-sections.txt:
1543 Add new taglist item GST_TAG_KEYWORDS, needed for #520694 .
1545 2008-08-01 Tim-Philipp Müller <tim.muller at collabora co uk>
1547 * gst/gstpadtemplate.c:
1548 (gst_pad_template_class_init), (gst_static_pad_template_get),
1549 (gst_pad_template_new), (gst_pad_template_pad_created),
1550 (gst_pad_template_set_property), (gst_pad_template_get_property):
1551 Add "name-template", "direction", "presence" and "caps" properties,
1552 so that gst_pad_template_new() is just a thin wrapper around
1553 g_object_new(), which is better for bindings. (Fixes: #539772)
1555 2008-07-31 Michael Smith <msmith@songbirdnest.com>
1558 Be more liberal in what URIs we accept.
1559 Do not unescape bits of the URI for no apparent reason before passing to
1560 the element. Fixes #545352.
1562 2008-07-31 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1564 Patch by: Robert Schwebel <r.schwebel@pengutronix.de>
1567 Include gstconfig.h as macros from it are used. Fixes bug #545607.
1569 2008-07-31 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1572 * docs/gst/gstreamer-sections.txt:
1573 * docs/gst/gstreamer.types:
1574 * docs/gst/gstreamer.types.in:
1577 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func):
1578 * gst/gstconfig.h.in:
1579 * gst/gstelement.c: (gst_element_get_index):
1580 * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
1581 (gst_registry_binary_load_feature),
1582 (gst_registry_binary_read_cache):
1583 * gst/gstregistryxml.c: (load_feature),
1584 (gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
1585 * plugins/Makefile.am:
1587 * tools/gst-inspect.c: (print_index_info), (print_element_list),
1588 (print_plugin_features), (print_element_features):
1589 * tools/gst-xmlinspect.c: (print_event_masks),
1590 (print_element_info):
1591 * win32/common/gstconfig.h:
1592 Remove GST_DISABLE_(ENUMTYPES|INDEX|URI) everywhere.
1594 Disabling the indexers and URI handler code will only reduce the
1595 required amount of memory by a very small amount but on the other hand
1596 requires much more maintaince work. Apart from that many places of
1597 code are broken when disabling them.
1599 Disabling the enum types doesn't reduce the required amount of memory
1600 by more than a few bytes and makes it hard to fix bugs like #539772,
1601 i.e. use the enums as GObject properties.
1603 2008-07-31 Wim Taymans <wim.taymans@collabora.co.uk>
1605 * docs/design/part-TODO.txt:
1606 Add some thoughts and problems with upstream renegotiation.
1608 2008-07-31 Wim Taymans <wim.taymans@collabora.co.uk>
1610 * gst/gstpad.c: (gst_pad_acceptcaps_default),
1611 (gst_pad_configure_src), (gst_pad_alloc_buffer_full):
1612 Remove silly redundant debug.
1613 Add some more debug info.
1614 Clarify the docs regarding new caps received from pad_alloc.
1616 2008-07-31 Wim Taymans <wim.taymans@collabora.co.uk>
1618 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_set_property),
1619 (gst_capsfilter_get_property), (gst_capsfilter_transform_caps):
1620 Make setting the caps more threadsafe.
1622 2008-07-31 Wim Taymans <wim.taymans@collabora.co.uk>
1624 * docs/design/part-element-transform.txt:
1627 2008-07-31 Wim Taymans <wim.taymans@collabora.co.uk>
1629 * plugins/elements/gstqueue.c: (gst_queue_init),
1630 (gst_queue_acceptcaps):
1631 Add and use a custom acceptcaps function instead of falling back to the
1632 potentially less optimized default implementation.
1634 2008-07-29 Tim-Philipp Müller <tim.muller at collabora co uk>
1636 * gst/gstpad.c: (gst_pad_alloc_buffer_full):
1637 Only sanity-check the buffer size if requested_caps == buffer_caps
1638 (ie. don't take pad caps into account, they're not relevant here)
1640 2008-07-29 Stefan Kost <ensonic@users.sf.net>
1642 * plugins/elements/gsttee.c:
1643 * plugins/elements/gsttee.h:
1644 Reverting as not everything is clear yet. Needs some general design
1647 2008-07-29 Stefan Kost <ensonic@users.sf.net>
1650 ChangeLog surgery for tee commit.
1652 2008-07-29 Stefan Kost <ensonic@users.sf.net>
1654 * docs/gst/gstreamer-sections.txt:
1655 Cleanup section-file.
1657 2008-07-29 Stefan Kost <ensonic@users.sf.net>
1659 * plugins/elements/gsttee.c:
1660 * plugins/elements/gsttee.h:
1661 Relay tag events in tee. Fixes parts of #474016.
1662 Downgrades 3 reoccurring debugs to log.
1664 2008-07-28 Michael Smith <msmith@songbirdnest.com>
1667 * libs/gst/Makefile.am:
1668 Build the net library if we have winsock2.
1670 2008-07-26 Stefan Kost <ensonic@users.sf.net>
1672 patch by: Luc Pionchon <luc.pionchon@nokia.com>
1674 * docs/manual/advanced-threads.xml:
1675 * docs/manual/diagrams-pipelines.svg:
1676 * docs/manual/hello-world.png:
1677 * docs/manual/linked-elements.png:
1678 * docs/manual/mime-world.png:
1679 * docs/manual/queue.png:
1680 * docs/manual/thread-buffering.png:
1681 * docs/manual/thread-synchronizing.png:
1682 Replace one diagram with two separate ones and updates others.
1685 2008-07-25 Thijs Vermeir <thijsvermeir@gmail.com>
1688 Fix link in documentation.
1690 2008-07-24 Thijs Vermeir <thijsvermeir@gmail.com>
1693 Fix confusing documentation.
1695 2008-07-24 Thijs Vermeir <thijsvermeir@gmail.com>
1697 * libs/gst/base/gstbasesrc.h:
1698 revert the changes to the header file for the ABI.
1700 2008-07-24 Thijs Vermeir <thijsvermeir@gmail.com>
1702 * libs/gst/base/gstbasesrc.c:
1703 * libs/gst/base/gstbasesrc.h:
1704 Don't cache the seekable status.
1707 2008-07-24 Rene Stadler <mail@renestadler.de>
1709 * docs/manual/advanced-autoplugging.xml: Add fakesink to example
1710 code to close the pipeline graph. This prevents the program from
1711 printing internal data flow errors.
1713 2008-07-23 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1715 * docs/manual/basics-bus.xml:
1716 Correct typo. Fixes bug #544320.
1718 2008-07-22 Michael Smith <msmith@songbirdnest.com>
1721 Remove AC_ISC_POSIX macro; it's broken on some platforms and not needed.
1722 Add check (taken from -base) for winsock, adds WIN32_LIBS
1724 Add WIN32_LIBS to LIBADD for libgstreamer. Needed now that gstpoll uses
1726 Define GST_EXPORTS when building libgstreamer (only used on win32)
1727 * gst/gst_private.h:
1729 Use GST_EXPORT instead of locally-defined (and incorrect IMPORT_SYMBOL)
1730 for symbols that we need to export in both these files.
1732 Include gst_private.h higher up to avoid some compile problems on win32.
1734 2008-07-22 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1739 2008-07-22 Thijs Vermeir <thijsvermeir@gmail.com>
1742 Previous commit was wrong NULL caps does not exist
1743 and indicate an error, so also add a FIXME to
1744 gst_caps_is_equal where NULL caps are accepted.
1746 2008-07-22 Thijs Vermeir <thijsvermeir@gmail.com>
1749 Allow passing of NULL to gst_caps_union
1751 2008-07-21 Thijs Vermeir <thijsvermeir@gmail.com>
1753 * gst/gstghostpad.c:
1754 Add in doc that gst_ghost_pad_set_target can accept
1755 NULL to clear target
1757 2008-07-15 Michael Smith <msmith@songbirdnest.com>
1760 * gst/gstregistry.c:
1761 GstRegistryPool doesn't exist; don't refer to it in docs.
1762 Don't refer to functions that don't exist in docs, it's
1765 2008-07-12 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1768 Fix scanning of paths given via --gst-plugin-path. Fixes bug #542175.
1770 2008-07-12 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1772 Patch by: Tristan Matthews <le dot businessman at gmail dot com>
1774 * docs/pwg/building-testapp.xml:
1775 Don't use an undeclared variable in the example program.
1778 2008-07-12 Stefan Kost <ensonic@users.sf.net>
1780 * gst/gstdebugutils.c:
1781 Squeeze ghost-pad links and remove <> from classname labels to save
1782 more horizontal space.
1784 2008-07-11 Stefan Kost <ensonic@users.sf.net>
1786 * gst/gstdebugutils.c:
1787 Give request and sometimes pads a different shpe style. Condense the
1788 graphs a little more.
1790 2008-07-09 Michael Smith <msmith@songbirdnest.com>
1793 Don't require flex and bison if the parser is disabled.
1795 2008-07-08 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1797 * libs/gst/controller/gstinterpolationcontrolsource.c:
1798 (_list_find_sorted_custom):
1799 Don't use declarations after statements.
1801 2008-07-08 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1803 * gst/gstchildproxy.c: (gst_child_proxy_base_init):
1804 Add FIXMEs for 0.11 to use GST_TYPE_OBJECT in the signature
1805 of the the child-added / -removed signals as GstChildProxy
1806 only supports GstObjects.
1808 2008-07-07 Thijs Vermeir <thijsvermeir@gmail.com>
1810 * gst/gstdebugutils.c:
1813 2008-07-06 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1815 Patch by: Alessandro Decina <alessandro at nnva dot org>
1818 Fix "ignored return value" compiler warning with newer glibc.
1820 2008-07-05 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1822 * gst/gstchildproxy.c:
1823 Fix copy&paste error in gst_child_proxy_removed() documentation.
1825 2008-07-02 Tim-Philipp Müller <tim.muller at collabora co uk>
1827 * gst/gstplugin.c: (CHECK_PLUGIN_DESC_FIELD), (gst_plugin_load_file):
1828 Print error debug message if plugin description fields that should
1831 * gst/gstregistrybinary.c: (gst_registry_binary_save_const_string):
1832 Don't crash if the string to serialise is NULL (it really should
1833 not be, but apparently this used to work with the xml registry ...).
1835 2008-07-02 Thijs Vermeir <thijsvermeir@gmail.com>
1837 * tools/gst-plot-timeline.py:
1838 Fix parsing of log messages
1840 2008-07-01 Tim-Philipp Müller <tim.muller at collabora co uk>
1842 * win32/common/libgstbase.def::
1843 Sort alphabetically so make check-exports doesn't barf.
1845 2008-07-01 Stefan Kost <ensonic@users.sf.net>
1848 Use gst_format_get_name() to improve debug output.
1851 Remove #ifdef'ed code. Add TODO comment.
1854 Add debug output to ease spotting format != segment.format assertions.
1856 2008-06-30 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1858 * tests/check/libs/gdp.c: (gst_dp_suite):
1859 Also enable the GDP unit test again on PPC now that the bug
1862 2008-06-30 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1864 * libs/gst/dataprotocol/dataprotocol.c:
1865 Don't write to the same region of memory as a uint64 and uint16
1866 as this breaks strict aliasing rules and apparantly breaks on PPC
1867 and s390. Thanks to Sjoerd Simons for analysing. Fixes bug #348114.
1869 2008-06-29 Stefan Kost <ensonic@users.sf.net>
1871 * libs/gst/controller/gstinterpolationcontrolsource.c:
1872 Optimize list handling. Use own find function. Exploit that fact that
1873 the list is sorted. Also pass back the node before, so that we can
1874 insert quickly. Have a fast path for append.
1876 2008-06-29 Stefan Kost <ensonic@users.sf.net>
1878 * docs/design/draft-framestep.txt:
1879 * docs/design/part-negotiation.txt:
1882 2008-06-27 Stefan Kost <ensonic@users.sf.net>
1885 Show configuration sumary after configure run. Based on patch by
1886 Luc Pionchon <luc.pionchon@nokia.com>. Fixes: #540134
1888 2008-06-27 Stefan Kost <ensonic@users.sf.net>
1890 patch by: Luc Pionchon <luc.pionchon@nokia.com>
1892 * docs/manual/advanced-autoplugging.xml:
1893 * docs/manual/advanced-threads.xml:
1894 * docs/manual/basics-bins.xml:
1895 * docs/manual/basics-elements.xml:
1896 * docs/manual/basics-helloworld.xml:
1897 * docs/manual/basics-pads.xml:
1898 Add scale factor for pdf output.
1900 * docs/manual/intro-basics.xml:
1901 Switched sections "pads" and "bins" and added a pipeline diagram.
1903 * docs/manual/intro-gstreamer.xml:
1904 Added more info on gstreamer.
1906 * docs/manual/intro-motivation.xml:
1907 Commented out the whole section "current problem", which sounds
1908 historical and somehow osolete; it could be turned in a positive
1909 way and reused to improve the design principles.
1911 * docs/manual/intro-preface.xml:
1912 - Update URLs to library.gnome.org.
1913 - Do not mention GTK+ in preliminary reading (irrelevant).
1914 - Mention Plugin Writer's Manual and further reading only in the
1916 - Added a list of most relevant GObject/glib topics.
1918 * docs/manual/Makefile.am:
1919 * docs/manual/bin-element-ghost.fig:
1920 * docs/manual/bin-element-ghost.png:
1921 * docs/manual/bin-element-noghost.fig:
1922 * docs/manual/bin-element-noghost.png:
1923 * docs/manual/bin-element.fig:
1924 * docs/manual/bin-element.png:
1925 * docs/manual/filter-element-multi.fig:
1926 * docs/manual/filter-element-multi.png:
1927 * docs/manual/filter-element.fig:
1928 * docs/manual/filter-element.png:
1929 * docs/manual/gstreamer-overview.png:
1930 * docs/manual/hello-world.fig:
1931 * docs/manual/hello-world.png:
1932 * docs/manual/linked-elements.fig:
1933 * docs/manual/linked-elements.png:
1934 * docs/manual/mime-world.fig:
1935 * docs/manual/mime-world.png:
1936 * docs/manual/queue.fig:
1937 * docs/manual/queue.png:
1938 * docs/manual/simple-player.png:
1939 * docs/manual/sink-element.fig:
1940 * docs/manual/sink-element.png:
1941 * docs/manual/src-element.fig:
1942 * docs/manual/src-element.png:
1943 * docs/manual/diagrams-general.svg:
1944 * docs/manual/diagrams-pipelines.svg:
1945 Removed .fig, added .png counterpart.
1949 2008-06-26 Thijs Vermeir <thijsvermeir@gmail.com>
1951 * plugins/elements/gstmultiqueue.c:
1952 * plugins/elements/gstmultiqueue.h:
1953 revert extra-size-buffers stuff, caused some race conditions
1954 and extra-size-buffers is not used anymore. Docs needs some updates
1956 2008-06-26 Tim-Philipp Müller <tim.muller at collabora co uk>
1958 * win32/common/config.h:
1959 * win32/common/gstenumtypes.c:
1960 * win32/common/gstenumtypes.h:
1961 * win32/common/gstversion.h:
1964 2008-06-26 Tim-Philipp Müller <tim.muller at collabora co uk>
1966 * gst/gstdebugutils.h: (GstDebugGraphDetails),
1967 (GST_DEBUG_BIN_TO_DOT_FILE):
1968 Add missing Since' markers to gtk-doc blurbs.
1970 2008-06-26 Wim Taymans <wim.taymans@collabora.co.uk>
1972 * tests/check/libs/transform1.c: (buffer_alloc_pt1),
1973 (set_caps_pt1), (GST_START_TEST), (set_caps_pt2), (transform_ip_1),
1974 (set_caps_1), (set_caps_ct1), (transform_ct1),
1975 (transform_caps_ct1), (transform_size_ct1), (buffer_alloc_ct1),
1976 (set_caps_ct2), (transform_ct2), (transform_caps_ct2),
1977 (transform_size_ct2), (buffer_alloc_ct2):
1978 Add some more tests with switching caps in buffer_alloc.
1980 2008-06-25 Wim Taymans <wim.taymans@collabora.co.uk>
1982 * tests/check/libs/test_transform.c: (gst_test_trans_base_init),
1983 (gst_test_trans_class_init), (result_sink_chain),
1984 (result_buffer_alloc), (gst_test_trans_new), (gst_test_trans_free),
1985 (gst_test_trans_push), (gst_test_trans_pop):
1986 * tests/check/libs/transform1.c: (buffer_alloc_pt1),
1987 (set_caps_pt1), (GST_START_TEST), (set_caps_pt2), (transform_ip_1),
1988 (set_caps_1), (set_caps_ct1), (transform_ct1),
1989 (transform_caps_ct1), (transform_size_ct1), (buffer_alloc_ct1),
1990 (set_caps_ct2), (transform_ct2), (transform_caps_ct2),
1991 (transform_size_ct2), (buffer_alloc_ct2),
1992 (gst_basetransform_suite):
1993 More tests, prepare for tests with switching caps in buffer_alloc.
1995 2008-06-25 Thijs Vermeir <thijsvermeir@gmail.com>
1997 * plugins/elements/gstmultiqueue.c:
1998 * plugins/elements/gstmultiqueue.h:
1999 Fix dead-lock in underrun_cb
2001 2008-06-25 Wim Taymans <wim.taymans@collabora.co.uk>
2003 * docs/design/part-states.txt:
2004 Fix device open/close docs.
2006 2008-06-25 Stefan Kost <ensonic@users.sf.net>
2009 Mention bugnumber for last commit.
2011 2008-06-25 Stefan Kost <ensonic@users.sf.net>
2013 patch by: Luc Pionchon <luc.pionchon@nokia.com>
2015 * docs/manual/manual.xml:
2016 - Reorganised the previous "introduction" bundle into Foreword,
2017 Introduction, and About GStreamer. The two first are <preface>
2018 docbook elements. The later is the first part of the book.
2019 - added intro-gstreamer.xml (content partially from
2021 - moved appendix-win32.xml into appendix-integration.xml
2023 * docs/manual/intro-preface.xml: gstreamer section moved...
2024 * docs/manual/intro-gstreamer.xml: ...here. new file.
2026 * docs/manual/appendix-win32.xml: removed file. Content moved...
2027 * docs/manual/appendix-integration.xml: ...here.
2029 * docs/manual/highlevel-components.xml: section about GstEditor moved...
2030 * docs/manual/appendix-checklist.xml: ...here.
2034 2008-06-25 Stefan Kost <ensonic@users.sf.net>
2036 patch by: Luc Pionchon <luc.pionchon@nokia.com>
2038 * docs/manual/basics-helloworld.xml:
2039 * docs/manual/hello-world.fig:
2040 - Explicitely include glib.h.
2041 - Do not use global variables.
2042 - Use g_printerr() instead of g_print().
2043 - Minor formating/renaming to increase readibility.
2044 - Renamed new_pad() to on_pad_added()
2045 - Improved explenatory comments.
2046 - renamed ogg parser to ogg demuxer
2047 - Use "autoaudiosink" instead of "alsasink".
2050 2008-06-25 Stefan Kost <ensonic@users.sf.net>
2053 Remove cvs conflict marker.
2055 2008-06-25 Stefan Kost <ensonic@users.sf.net>
2058 Document that for plgin-docs we extraxt he short-desc from the element
2061 * docs/design/part-states.txt:
2062 Tell that devices should be closed in PAUSED -> READY.
2064 * docs/manual/README:
2065 Document how tests in the manual are handled.
2070 2008-06-25 Wim Taymans <wim.taymans@collabora.co.uk>
2072 * gst/gstbin.c: (bin_query_latency_fold):
2073 Only care about latency min and max when the sink is actually a live
2076 2008-06-25 Wim Taymans <wim.taymans@collabora.co.uk>
2078 * docs/design/part-block.txt:
2081 * docs/design/part-element-transform.txt:
2082 Add notes about why transform needs to know input/output sizes.
2083 Add some issues that need to be solved.
2084 Add some more use cases.
2086 * tests/check/libs/test_transform.c: (gst_test_trans_base_init),
2087 (gst_test_trans_class_init), (result_sink_chain),
2088 (result_buffer_alloc), (gst_test_trans_new), (gst_test_trans_free),
2089 (gst_test_trans_push), (gst_test_trans_pop):
2090 * tests/check/libs/transform1.c: (buffer_alloc_pt1),
2091 (set_caps_pt1), (GST_START_TEST), (set_caps_pt2), (transform_ip_1),
2092 (set_caps_1), (set_caps_ct1), (transform_ct1),
2093 (transform_caps_ct1), (transform_size_ct1), (buffer_alloc_ct1),
2094 (gst_basetransform_suite):
2095 Add suport for different pad templates and buffer-alloc.
2096 Add more checks for caps and buffer-alloc.
2097 Add checks for proxy buffer alloc.
2098 Add unit test for copy transform.
2100 2008-06-24 Tim-Philipp Müller <tim.muller at collabora co uk>
2102 Patch by: Luc Pionchon <luc.pionchon@nokia.com>
2104 * docs/manual/appendix-integration.xml:
2105 * docs/manual/appendix-licensing.xml:
2106 * docs/manual/basics-elements.xml:
2107 * docs/manual/basics-helloworld.xml:
2108 * docs/manual/basics-pads.xml:
2109 * docs/manual/highlevel-components.xml:
2110 * docs/manual/highlevel-xml.xml:
2111 * docs/manual/intro-basics.xml:
2112 * docs/manual/intro-preface.xml:
2113 Typo and formatting fixes (#538594).
2115 2008-06-24 Sebastian Dröge <sebastian.droege@collabora.co.uk>
2117 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
2118 Fix some memory leaks and uses of object instances that we don't
2121 2008-06-22 Thijs Vermeir <thijsvermeir@gmail.com>
2123 * plugins/elements/gstmultiqueue.c:
2124 Add functionality to extra-size-buffers property.
2126 2008-06-22 Thijs Vermeir <thijsvermeir@gmail.com>
2128 * plugins/elements/gstmultiqueue.c:
2129 Don't update the cur_time on GST_CLOCK_TIME_NONE (#537804) and don't
2130 activate the pads if they are added in STATE_NULL.
2132 2008-06-21 Thijs Vermeir <thijsvermeir@gmail.com>
2134 * docs/libs/gstreamer-libs-sections.txt:
2136 * libs/gst/check/gstcheck.c:
2137 * libs/gst/check/gstcheck.h:
2138 API: gst_check_teardown_pad_by_name
2140 2008-06-21 Thijs Vermeir <thijsvermeir@gmail.com>
2142 * libs/gst/check/gstcheck.c:
2143 * libs/gst/check/gstcheck.h:
2144 Also setup request pads and allow setup pads by name (#537812)
2145 API: gst_check_setup_src_pad_by_name
2146 API: gst_check_setup_sink_pad_by_name
2148 2008-06-20 Thomas Vander Stichele <thomas at apestaart dot org>
2150 * tests/check/gst/gstbuffer.c:
2151 * tests/check/pipelines/parse-launch.c:
2152 Use HAVE_VALGRIND_H some more.
2154 2008-06-20 Thomas Vander Stichele <thomas at apestaart dot org>
2156 * scripts/cvs-update.sh:
2157 Pass arguments to make.
2158 Run autoregen.sh if Makefile is not there.
2160 2008-06-20 Thomas Vander Stichele <thomas at apestaart dot org>
2164 Don't assume that <valgrind/valgrind.h> exists just because
2165 the binary is there.
2167 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
2169 * tests/check/Makefile.am:
2170 * tests/check/libs/test_transform.c: (gst_test_trans_base_init),
2171 (gst_test_trans_class_init), (gst_test_trans_init),
2172 (gst_test_trans_set_data), (result_sink_chain),
2173 (gst_test_trans_new), (gst_test_trans_free), (gst_test_trans_push),
2174 (gst_test_trans_pop):
2175 * tests/check/libs/transform1.c: (GST_START_TEST),
2176 (transform_ip_1), (set_caps_1), (gst_basetransform_suite):
2177 Add some test basetransform element and the beginnings of various
2180 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
2182 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek):
2183 Increase code readability.
2184 Don't try to compare buffer offsets when ther are invalid.
2186 2008-06-20 Tim-Philipp Müller <tim.muller at collabora co uk>
2188 * docs/design/Makefile.am:
2189 Dist some more design docs.
2191 * docs/random/moving-plugins:
2192 Small addition: good plugins mustn't have functional code
2193 within assertion macros.
2195 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
2197 * docs/design/draft-framestep.txt:
2198 Some ideas about a framestep API
2200 * docs/design/part-element-transform.txt:
2201 Start design and use cases for basetransform in order to get it
2204 2008-06-20 Tim-Philipp Müller <tim.muller at collabora co uk>
2207 In GST_TAG_ATTACHEMENT docs, mention that the file name needs to
2208 be in UTF-8 encoding.
2210 2008-06-20 Tim-Philipp Müller <tim.muller at collabora co uk>
2213 Make it known that gst_bus_poll() is pure evil (fixes #538810).
2215 2008-06-20 Stefan Kost <ensonic@users.sf.net>
2217 * plugins/elements/gstcapsfilter.c:
2218 * plugins/elements/gstfakesink.c:
2219 * plugins/elements/gstfakesrc.c:
2220 * plugins/elements/gstfdsink.c:
2221 * plugins/elements/gstfdsrc.c:
2222 * plugins/elements/gstfilesink.c:
2223 * plugins/elements/gstfilesrc.c:
2224 * plugins/elements/gstidentity.c:
2225 * plugins/elements/gstmultiqueue.c:
2226 * plugins/elements/gstqueue.c:
2227 * plugins/elements/gsttee.c:
2228 * plugins/elements/gsttypefindelement.c:
2229 Remove short_description. Add basic docs for gsttypefindelement.
2230 Simplify markup for fakesrc/fdsrc.
2232 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
2234 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
2237 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
2239 Patch by: Joel Larsson <tilljoel at gmail dot com>
2241 * docs/plugins/gstreamer-plugins.args:
2242 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
2243 (gst_fd_src_init), (gst_fd_src_update_fd),
2244 (gst_fd_src_set_property), (gst_fd_src_get_property),
2245 (gst_fd_src_create):
2246 * plugins/elements/gstfdsrc.h:
2247 Add timeout property like udpsrc. Fixes #538628.
2248 Add some more docs and example pipelines.
2250 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
2252 * docs/libs/gstreamer-libs-sections.txt:
2253 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
2254 (gst_base_sink_query_latency), (gst_base_sink_set_render_delay),
2255 (gst_base_sink_get_render_delay), (gst_base_sink_wait_eos),
2256 (gst_base_sink_do_sync):
2257 * libs/gst/base/gstbasesink.h:
2258 * win32/common/libgstbase.def:
2259 Add method to allow sinks to specify additional delay between the sync
2260 times and the actual rendering of the data.
2261 API: gst_base_sink_set_render_delay()
2262 API: gst_base_sink_get_render_delay()
2264 2008-06-20 Jan Schmidt <jan.schmidt@sun.com>
2267 Bump version number back to dev -> 0.10.20.1
2269 2008-06-20 Sebastian Dröge <slomo@circular-chaos.org>
2271 * docs/gst/gstreamer-sections.txt:
2272 * gst/gsttaglist.c: (_gst_tag_initialize):
2274 API: Add GST_TAG_ATTACHMENT for generic file attachments to streams.
2277 2008-06-20 Stefan Kost <ensonic@users.sf.net>
2279 * libs/gst/controller/gstcontroller.c:
2280 Revert one change, that make ret value possible uninitialized.
2282 2008-06-20 Stefan Kost <ensonic@users.sf.net>
2284 * libs/gst/controller/gstcontroller.c:
2285 Use freeze/thaw notify to sync notify emission a bit (its also more
2286 efficient). Move debug output to LOG (is called a lot in a loop).
2287 Always unset g_values if the have been initialized.
2289 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
2291 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
2292 (gst_base_sink_wait_eos), (gst_base_sink_event):
2293 If we have not seen a buffer before EOS, use the segment values to
2294 report the current position instead of invalid positions.
2296 2008-06-20 Stefan Kost <ensonic@users.sf.net>
2298 * docs/plugins/tmpl/.cvsignore:
2299 * tests/check/gst/.cvsignore:
2302 2008-06-20 Stefan Kost <ensonic@users.sf.net>
2304 * libs/gst/controller/gstinterpolation.c:
2305 * libs/gst/controller/gstinterpolationcontrolsource.c:
2306 * tests/check/libs/controller.c:
2307 Rewrite handling of default values. Fix overflow with unsigned types
2308 in linear interpolation. Remove now obsolete _first_value() function.
2309 Add more tests. Fixes #538201.
2311 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
2313 * libs/gst/base/gstbasetransform.c:
2314 (gst_base_transform_class_init), (gst_base_transform_init),
2315 (gst_base_transform_transform_caps),
2316 (gst_base_transform_prepare_output_buffer):
2318 When a buffer is writable, its metadata is also writable so we don't
2319 need to subbuffer (which then makes the buffer not-writable anymore).
2321 === release 0.10.20 ===
2323 2008-06-18 Jan Schmidt <jan.schmidt@sun.com>
2326 releasing 0.10.20, "You Crazy Diamond"
2328 2008-06-11 Jan Schmidt <jan.schmidt@sun.com>
2331 0.10.19.3 pre-release
2333 2008-06-11 Jan Schmidt <jan.schmidt@sun.com>
2337 Rename DATADIR to GST_DATADIR to avoid build problems
2338 on win32. Patch By: David Schleef <ds@schleef.org>
2341 2008-06-05 Sebastian Dröge <slomo@circular-chaos.org>
2344 Explicitely link with -ldl if dladdr() is found there. Before it was
2345 implicitely linked by the gmodule pkgconfig file but in glib 2.17.0
2346 -ldl has moved from Libs to Libs.private. Fixes bug #536744.
2348 2008-06-05 Tim-Philipp Müller <tim.muller at collabora co uk>
2350 * gst/gsterror.c: (_gst_stream_errors_init):
2351 Fix typo (spotted by Fabricio Godoy, #536723).
2353 2008-06-05 Jan Schmidt <jan.schmidt@sun.com>
2356 0.10.19.2 pre-release
2358 2008-06-04 Wim Taymans <wim.taymans@collabora.co.uk>
2360 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_async_enabled),
2361 (gst_base_sink_set_ts_offset), (gst_base_sink_perform_qos):
2363 Make sure we don't generate invalid QoS messages.
2365 2008-06-04 Wim Taymans <wim.taymans@collabora.co.uk>
2367 * gst/gstevent.c: (gst_event_new_qos):
2368 Add some assert and docs for invalid input to the qos function.
2370 2008-05-30 Wim Taymans <wim.taymans@collabora.co.uk>
2372 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
2373 (gst_base_sink_get_position):
2374 The reported position must always be smaller than the last seen
2375 timestamps (or timestamp + duration for reverse).
2377 2008-05-30 Sebastian Dröge <slomo@circular-chaos.org>
2379 Patch by: Rob Bradford <rob at robster dot org dot uk>
2381 * gst/gstregistry.c: (gst_registry_scan_path_level):
2382 Don't recurse into .debug directories as some distros install
2383 the debugging symbols next to the plugins in .debug directories
2384 and dlopen() crashes on them sometimes. Fixes bug #508070.
2386 Add FIXME for 0.11 to not recurse into directories at all because
2387 it's very inconsistent to the behaviour of other PATH environment
2390 2008-05-29 Wim Taymans <wim.taymans@collabora.co.uk>
2392 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
2393 (gst_base_sink_get_position_last), (gst_base_sink_get_position):
2394 Fix position query range checks in reverse playback.
2396 2008-05-29 Sebastian Dröge <slomo@circular-chaos.org>
2400 Deprecated gst_element_get_pad() as it can't be used sanely. It's not
2401 clear of the reference to the resulting pad must be released later
2402 or not, resulting in possible leaks. Fixes bug #533865.
2404 2008-05-28 Wim Taymans <wim.taymans@collabora.co.uk>
2406 Patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
2408 * gst/gstelementfactory.c:
2409 Small doc fix. Fixes #535285.
2411 2008-05-28 Wim Taymans <wim.taymans@collabora.co.uk>
2413 Based on patch by: Bjarne Rosengren <bjarne at axis dot com>
2415 * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event),
2416 (gst_base_src_get_range), (gst_base_src_pad_get_range),
2417 (gst_base_src_loop), (gst_base_src_set_flushing),
2418 (gst_base_src_change_state):
2419 Make sending an EOS event to the basesrc non-blocking even if the
2420 implementation does blocking waits in the create function. This is done
2421 by unlocking the create function when EOS is sent.
2424 2008-05-28 Sebastian Dröge <slomo@circular-chaos.org>
2426 * tools/gst-inspect.c: (print_element_properties_info):
2427 If possible print the element type of GValueArray properties.
2429 2008-05-28 Sebastian Dröge <slomo@circular-chaos.org>
2431 * gst/gstiterator.c:
2432 Remove an unused field from the private GstListIterator struct.
2434 2008-05-27 Stefan Kost <ensonic@users.sf.net>
2436 * libs/gst/controller/gstcontroller.c:
2437 Add parameter guards.
2439 2008-05-27 Stefan Kost <ensonic@users.sf.net>
2441 * tests/check/gst/gstpipeline.c:
2442 Revert test change and add comment why it should not work.
2444 2008-05-27 Stefan Kost <ensonic@users.sf.net>
2446 * tests/check/gst/gstpipeline.c:
2447 Extending the test a little to verify that we also get the NULL state-
2450 2008-05-27 Tim-Philipp Müller <tim.muller at collabora co uk>
2452 * gst/gstpreset.c: (gst_preset_default_get_meta),
2453 (gst_preset_get_preset_names), (gst_preset_get_property_names),
2454 (gst_preset_load_preset), (gst_preset_save_preset),
2455 (gst_preset_rename_preset), (gst_preset_delete_preset),
2456 (gst_preset_set_meta):
2457 Add Since: markers to docs blurbs.
2459 * win32/common/libgstreamer.def:
2460 Add recently-added API.
2462 2008-05-27 Wim Taymans <wim.taymans@collabora.co.uk>
2464 Patch by: Stefan Kost <ensonic@users.sf.net>
2467 Add DATADIR for storing presets.
2469 * docs/gst/gstreamer-docs.sgml:
2470 * docs/gst/gstreamer-sections.txt:
2471 * docs/gst/gstreamer.types.in:
2472 Add GstPreset to docs.
2476 * gst/gstpreset.c: (preset_get_paths), (preset_skip_property),
2477 (preset_open_and_parse_header), (preset_parse_version),
2478 (preset_merge), (preset_get_keyfile),
2479 (gst_preset_default_get_preset_names),
2480 (gst_preset_default_get_property_names),
2481 (gst_preset_default_load_preset),
2482 (gst_preset_default_save_presets_file),
2483 (gst_preset_default_save_preset),
2484 (gst_preset_default_rename_preset),
2485 (gst_preset_default_delete_preset), (gst_preset_default_set_meta),
2486 (gst_preset_default_get_meta), (gst_preset_default_randomize),
2487 (gst_preset_default_reset), (gst_preset_get_preset_names),
2488 (gst_preset_get_property_names), (gst_preset_load_preset),
2489 (gst_preset_save_preset), (gst_preset_rename_preset),
2490 (gst_preset_delete_preset), (gst_preset_set_meta),
2491 (gst_preset_get_meta), (gst_preset_class_init),
2492 (gst_preset_base_init), (gst_preset_get_type):
2494 Add GstPreset to core. Fixes #396779
2496 * tests/check/Makefile.am:
2497 * tests/check/gst/gstpreset.c: (gst_preset_test_get_property),
2498 (gst_preset_test_set_property), (gst_preset_test_class_init),
2499 (gst_preset_test_base_init), (gst_preset_test_get_type),
2500 (gst_preset_test_plugin_init), (GST_START_TEST),
2501 (remove_preset_file), (test_setup), (test_teardown),
2503 Add GstPreset unit tests.
2505 2008-05-27 Wim Taymans <wim.taymans@collabora.co.uk>
2507 * gst/gstpad.c: (gst_pad_event_default_dispatch):
2508 The default event function on a sinkpad should return TRUE when
2509 there are no internal links but should collect the return values from
2510 the internal links otherwise.
2512 2008-05-27 Wim Taymans <wim.taymans@collabora.co.uk>
2514 * plugins/elements/gsttypefindelement.c:
2515 (gst_type_find_element_src_event),
2516 (gst_type_find_element_handle_event):
2517 Use faster and safer _pad_push_event().
2519 2008-05-27 Tim-Philipp Müller <tim.muller at collabora co uk>
2521 * docs/gst/gstreamer-sections.txt:
2522 * gst/gstutils.c: (element_find_unlinked_pad),
2523 (gst_bin_find_unlinked_pad), (gst_bin_find_unconnected_pad),
2525 API: add gst_bin_find_unlinked_pad()
2526 API: deprecate gst_bin_find_unconnected_pad() (#401456)
2528 2008-05-26 Peter Kjellerstedt <pkj@axis.com>
2534 Fixed a bunch of typos.
2536 2008-05-25 Tim-Philipp Müller <tim.muller at collabora co uk>
2539 * gst/gstutils.c: (gst_element_unlink), (element_find_unlinked_pad),
2540 (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description),
2541 (gst_parse_bin_from_description_full):
2543 'unconnected pad' -> 'unlinked pad' for consistency (#401456).
2545 2008-05-25 Tim-Philipp Müller <tim.muller at collabora co uk>
2547 * docs/pwg/advanced-tagging.xml:
2548 Small docs update, can't be bothered to rewrite the nonsensical
2551 2008-05-25 Tim-Philipp Müller <tim.muller at collabora co uk>
2554 Clarify docs for GST_SEEK_TYPE_CUR (#534505).
2556 2008-05-25 Tim-Philipp Müller <tim.muller at collabora co uk>
2558 * gst/parse/grammar.y:
2559 Remove unneeded casts.
2561 2008-05-25 Tim-Philipp Müller <tim.muller at collabora co uk>
2563 * gst/parse/grammar.y:
2564 * tests/check/pipelines/parse-launch.c:
2565 Get all missing elements from a parse launch string if possible
2566 (ie. if the FATAL_ERRORS flag has been specified). Fixes #528178.
2568 2008-05-24 Tim-Philipp Müller <tim.muller at collabora co uk>
2570 * tests/check/Makefile.am:
2571 * tests/check/pipelines/parse-launch.c:
2572 Add some unit tests for the new gst_parse_launch*_full() API.
2573 (Exposes a previously-existing memory leak in the error code
2574 path, so adding to VALGRIND_TO_FIX for now).
2576 2008-05-24 Tim-Philipp Müller <tim.muller at collabora co uk>
2578 * docs/gst/gstreamer-sections.txt:
2579 * gst/gst.c: (init_post):
2580 * gst/gst_private.h: (_GstParseContext):
2581 * gst/gstparse.c: (gst_parse_error_quark), (gst_parse_context_new),
2582 (gst_parse_context_free), (gst_parse_context_get_missing_elements),
2583 (gst_parse_launchv), (gst_parse_launchv_full), (gst_parse_launch),
2584 (gst_parse_launch_full):
2585 * gst/gstparse.h: (GST_PARSE_FLAG_NONE), (GST_PARSE_FLAG_FATAL_ERRORS),
2586 (GstParseFlags), (GstParseContext):
2587 * gst/gstutils.c: (gst_parse_bin_from_description),
2588 (gst_parse_bin_from_description_full):
2590 * gst/parse/grammar.y:
2591 * gst/parse/types.h:
2592 * win32/common/libgstreamer.def:
2593 Add new gst_parse_*_full API (#528178):
2594 API: gst_parse_launch_full()
2595 API: gst_parse_launchv_full()
2596 API: gst_parse_bin_from_description_full()
2597 API: gst_parse_context_new()
2598 API: gst_parse_context_free()
2599 API: gst_parse_context_get_missing_elements()
2601 2008-05-23 Stefan Kost <ensonic@users.sf.net>
2603 patch by: Suresh Kumar P <sureshkumar.pp@gmail.com>
2605 * docs/faq/gst-uninstalled:
2606 Also support ffmpeg in gst-uninstalled.
2608 2008-05-22 Sebastian Dröge <slomo@circular-chaos.org>
2611 After discussion on IRC use the binary registry as default
2612 but allow to disable it with --disable-binary-registry.
2614 * win32/common/libgstreamer.def:
2615 Add the two new symbols for the binary registry.
2617 2008-05-22 Tim-Philipp Müller <tim.muller at collabora co uk>
2619 * gst/gstparse.c: (_gst_parse_escape), (gst_parse_launchv):
2620 * gst/gstutils.c: (gst_parse_bin_from_description):
2621 * gst/parse/grammar.y: (graph):
2622 More guards against bad input; typo fix; some minor clean-ups.
2624 2008-05-22 Sebastian Dröge <slomo@circular-chaos.org>
2626 Patch by: Sjoerd Simons <sjoerd at luon dot net>
2628 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
2629 If nothing else can be used, use the last buffer's start time as
2630 the segment's last stop. Fixes bug #534258.
2632 2008-05-21 Tim-Philipp Müller <tim.muller at collabora co uk>
2634 * gst/gstpad.c: (gst_pad_alloc_buffer_full):
2635 Move size sanity check to the right place: downstream may return
2636 a buffer with a smaller size if the buffer caps are different than
2637 the requested ones, as may happen when doing reverse negotiation.
2639 2008-05-21 Wim Taymans <wim.taymans@collabora.co.uk>
2641 * plugins/elements/gstfilesink.c: (gst_file_sink_set_location),
2642 (gst_file_sink_render):
2643 * plugins/elements/gstfilesrc.c: (gst_file_src_set_location),
2644 (gst_file_src_start):
2645 Small cleanups. Add note adbout g_fopen() on windows and why we don't
2648 2008-05-21 Wim Taymans <wim.taymans@collabora.co.uk>
2650 * gst/gstpad.c: (gst_pad_load_and_link):
2651 * gst/gstutils.c: (gst_element_link_pads),
2652 (gst_element_unlink_pads):
2653 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
2654 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
2655 (gst_check_teardown_sink_pad),
2656 (gst_check_element_push_buffer_list):
2657 * tests/check/elements/fakesink.c: (GST_START_TEST):
2658 * tests/check/elements/filesink.c:
2659 * tests/check/elements/filesrc.c: (GST_START_TEST):
2660 * tests/check/elements/multiqueue.c: (setup_multiqueue),
2661 (mq_sinkpad_to_srcpad):
2662 * tests/check/elements/tee.c: (GST_START_TEST):
2663 * tests/check/generic/sinks.c: (GST_START_TEST):
2664 * tests/check/gst/gstbin.c: (GST_START_TEST):
2665 * tests/check/gst/gstevent.c: (GST_START_TEST):
2666 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
2667 * tests/check/gst/gstpipeline.c: (GST_START_TEST):
2668 * tests/check/gst/gstquery.c: (GST_START_TEST):
2669 * tests/check/gst/gstutils.c: (GST_START_TEST):
2670 * tests/check/libs/basesrc.c: (GST_START_TEST):
2671 * tests/check/pipelines/parse-launch.c: (run_delayed_test),
2672 (gst_parse_test_element_change_state):
2673 Don't use gst_element_get_pad().
2675 2008-05-21 Felipe Contreras <felipe.contreras@gmail.com>
2678 Fix installing plugin documentation when gtk-doc is disabled.
2680 2008-05-21 Wim Taymans <wim.taymans@collabora.co.uk>
2682 * docs/manual/advanced-autoplugging.xml:
2683 * docs/manual/basics-helloworld.xml:
2684 * docs/manual/basics-pads.xml:
2685 * docs/manual/highlevel-components.xml:
2686 Avoid using a bad function in the example code.
2688 2008-05-21 Wim Taymans <wim.taymans@collabora.co.uk>
2690 * gst/gstclock.c: (gst_clock_set_calibration):
2691 Fix debug of the new clock rate.
2693 2008-05-21 Sebastian Dröge <slomo@circular-chaos.org>
2695 * win32/common/libgstbase.def:
2696 Add gst_base_sink_wait_clock() to the exported symbols.
2698 2008-05-20 Sebastian Dröge <slomo@circular-chaos.org>
2700 Patch by: Tim-Philipp Müller <tim.muller at collabora co uk>
2702 * libs/gst/base/gstbasetransform.c:
2703 (gst_base_transform_sink_event):
2704 Unref events that the GstBaseTransform::event vfunc didn't want to
2705 have forwarded by the base class. Closes a leak in identity.
2708 2008-05-19 Wim Taymans <wim.taymans@collabora.co.uk>
2710 * docs/libs/gstreamer-libs-sections.txt:
2711 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock):
2712 * libs/gst/base/gstbasesink.h:
2713 Expose a method that was previously used internally to synchronize
2714 against the clock because it can be useful for subclasses too.
2715 API: GstBaseSink::gst_base_sink_wait_clock()
2717 2008-05-19 Tim-Philipp Müller <tim.muller at collabora co uk>
2719 * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
2720 Add sanity check to make sure we don't get smaller buffers
2721 than requested (and fallback to normal buffer alloc if we do).
2723 2008-05-19 Wim Taymans <wim.taymans@collabora.co.uk>
2725 * libs/gst/base/gstbasesink.c: (gst_base_sink_adjust_time),
2726 (gst_base_sink_wait_clock), (gst_base_sink_wait_eos),
2727 (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked):
2728 Refactor adjusting the running_time with latency and offset into a
2730 When doing clipping, we still want to use the subclass get_times method,
2731 just in case the DURATION or TIMESTAMP are not set.
2733 2008-05-19 Tim-Philipp Müller <tim.muller at collabora co uk>
2735 * docs/gst/gstreamer-sections.txt:
2736 * gst/gsttypefind.c: (gst_type_find_suggest_simple):
2737 * gst/gsttypefind.h:
2738 * win32/common/libgstreamer.def:
2739 API: add gst_type_find_suggest_simple(), #533740.
2741 2008-05-19 Tim-Philipp Müller <tim.muller at collabora co uk>
2743 * libs/gst/base/gstbasesrc.c: (gst_base_src_start):
2744 Use right error code when typefinding fails, so we can use
2745 the default (translated) error messages.
2747 2008-05-19 Wim Taymans <wim.taymans@collabora.co.uk>
2749 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range),
2750 (gst_base_src_start):
2751 When the subclass did not set caps on outgoing buffers, configure the
2752 caps we negotiated on the source pad.
2753 When the typefind helper does not find caps, error out properly instead
2754 of doing things with NULL caps.
2756 2008-05-18 Tim-Philipp Müller <tim.muller at collabora co uk>
2758 * gst/gsttypefind.h:
2759 Tabs to spaces, oh yes!
2761 2008-05-18 Tim-Philipp Müller <tim.muller at collabora co uk>
2763 * tests/check/gst/gstcaps.c: (test_intersect2), (gst_caps_suite):
2764 Add David's and Benjamin's tests for array intersection to the
2765 unit test suite (#147931).
2767 2008-05-18 Tim-Philipp Müller <tim.muller at collabora co uk>
2770 Document that gst_event_new_tag() and gst_event_new_navigation()
2771 take ownership of the taglist/structure passed to them. (#533635).
2773 2008-05-17 Jan Schmidt <jan.schmidt@sun.com>
2776 Don't descend into the plugins dir if plugin docs building
2780 Add a note about the new type:GTypeName syntax for the plugin
2781 documentation .types file.
2783 2008-05-17 Sebastian Dröge <slomo@circular-chaos.org>
2785 * gst/gstmessage.c: (gst_message_new_error),
2786 (gst_message_new_warning), (gst_message_new_info):
2788 Mark the debug string parameters as const. Fixes bug #533490.
2790 2008-05-16 Sebastian Dröge <slomo@circular-chaos.org>
2792 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek):
2793 Sort buffer cache list by end offsets. This makes sure that we don't
2794 stop to search for a cached buffer that contains the requested data
2796 Also read a minimum of 4k bytes instead of 512 bytes as this is a bit
2797 more efficient. Fixes bug #459862.
2799 2008-05-14 Stefan Kost <ensonic@users.sf.net>
2802 Explain why we copy the list.
2804 * gst/gstpipeline.c:
2808 Add one debug-log statement to help tracing probelms with linking pads.
2810 2008-05-12 Stefan Kost <ensonic@users.sf.net>
2812 * tests/check/gst/gstinfo.c:
2813 Add a test for removing the default log handler. Seems to fail under
2816 2008-05-14 Wim Taymans <wim.taymans@collabora.co.uk>
2818 * gst/gstpad.c: (gst_pad_peer_accept_caps):
2819 Release pad lock before calling out to avoid a possible deadlock.
2821 2008-05-14 Wim Taymans <wim.taymans@collabora.co.uk>
2823 * gst/parse/grammar.y:
2824 Remove unneeded value unset.
2826 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
2827 Add unit test for de/serialization of caps.
2829 2008-05-13 Sebastian Dröge <slomo@circular-chaos.org>
2831 * plugins/elements/gstfakesink.c:
2832 (marshal_VOID__MINIOBJECT_OBJECT), (gst_fake_sink_class_init):
2833 * plugins/elements/gstfakesrc.c: (marshal_VOID__MINIOBJECT_OBJECT),
2834 (gst_fake_src_class_init):
2835 Use custom marshalers that take GstMiniObject as first parameter.
2836 Using OBJECT as parameter while a GstMiniObject is given will lead
2837 to assertions if built with G_ENABLE_DEBUG. Fixes bug #525532.
2839 2008-05-13 Sebastian Dröge <slomo@circular-chaos.org>
2841 * plugins/elements/gsttypefindelement.c:
2842 (gst_type_find_element_handle_event),
2843 (gst_type_find_element_send_cached_events),
2844 (gst_type_find_element_change_state):
2845 Clean up on FLUSH_STOP and not FLUSH_START. Forward both events
2848 2008-05-13 Sebastian Dröge <slomo@circular-chaos.org>
2850 * plugins/elements/gsttypefindelement.c:
2851 (gst_type_find_handle_src_query), (stop_typefinding),
2852 (gst_type_find_element_handle_event),
2853 (gst_type_find_element_send_cached_events),
2854 (gst_type_find_element_change_state):
2855 Forward FLUSH_START events immediately and clean up instead of
2858 2008-05-13 Sebastian Dröge <slomo@circular-chaos.org>
2860 Patch by: Sjoerd Simons <sjoerd at luon dot net>
2862 * libs/gst/base/gstbasetransform.c:
2863 (gst_base_transform_buffer_alloc):
2864 Check the caps of the buffer returned by gst_pad_alloc_buffer() and
2865 fall back to default negotiation in the chain function if the caps
2866 are different from what was requested. Fixes bug #526768.
2868 2008-05-09 Tim-Philipp Müller <tim.muller at collabora co uk>
2871 * tests/check/gst/gstsegment.c:
2872 No, let's not use g_slice_{dup|copy} here, since they only exist
2873 since GLib 2.14 and we still depend only on >= 2.12. Also add
2874 unit test for gst_segment_copy().
2876 2008-05-09 Tim-Philipp Müller <tim.muller at collabora co uk>
2878 * gst/gstutils.h: (GST_BOILERPLATE_FULL):
2879 Try to fix 'dereferencing type-punned pointer will break strict
2880 aliasing rules' warnings with C++ compilers and GLib >= 2.14.0: GLib
2881 changed the default GType typedef from gulong to gsize at some point,
2882 but kept GType typedef'ed to gulong for C++ for ABI reasons; the
2883 g_once_* functions all take a gsize * though, so work around the type
2884 mismatch for C++ by doing everything in gsize and casting to GType
2887 2008-05-09 Jan Schmidt <jan.schmidt@sun.com>
2889 * plugins/elements/gstmultiqueue.c:
2890 Add documentation for the signals to push our core plugin docs
2891 coverage back up to 100%.
2893 2008-05-08 Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
2895 * gst/gstinfo.h (GST_FUNCTION):
2896 Reverted GST_FUNCTION to the old version as we don't want the
2897 full signature in C++ code. Also added support for MSVC.
2899 2008-05-08 Sebastian Dröge <slomo@circular-chaos.org>
2902 Intern the type name string, similar to what G_DEFINE_TYPE does.
2904 2008-05-08 Sebastian Dröge <slomo@circular-chaos.org>
2907 Make GST_BOILERPLATE thread-safe if building with GLib 2.14 or newer.
2909 2008-05-08 Sebastian Dröge <slomo@circular-chaos.org>
2911 Based on a patch by: Sjoerd Simons <sjoerd at luon dot net>
2913 * libs/gst/base/gstbasetransform.c:
2914 (gst_base_transform_buffer_alloc):
2915 Don't passthrough buffer allocation too easily if the caps change.
2916 This breaks when working in passthrough mode and upstream changes
2917 it's caps. Fixes bug #526768.
2919 2008-05-07 Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
2921 * gst/gstinfo.c (gst_debug_log_valist):
2922 Improved the __FILE__ part of debug output for MSVC.
2924 2008-05-07 Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
2926 * libs/gst/base/gstbasesrc.c (gst_base_src_default_query):
2927 Declaration after statement fix for compilers like MSVC.
2929 2008-05-07 Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
2931 * win32/common/config.h.in:
2932 Don't define GST_FUNCTION, if GLib supports MSVC we'd much rather
2933 use the real thing than having "???" unconditionally.
2935 2008-05-07 Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
2937 * gst/gstinfo.h (GST_FUNCTION):
2938 Made GST_FUNCTION an alias for G_STRFUNC to avoid duplication.
2940 2008-05-07 Wim Taymans <wim.taymans@collabora.co.uk>
2942 * libs/gst/base/gstadapter.c: (gst_adapter_available_fast):
2945 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
2946 (gst_base_sink_set_flushing):
2947 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
2950 2008-05-07 Wim Taymans <wim.taymans@collabora.co.uk>
2952 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
2953 (gst_fake_src_init), (gst_fake_src_set_property),
2954 (gst_fake_src_get_property), (gst_fake_src_start):
2955 * plugins/elements/gstfakesrc.h:
2956 Added format property to control the format of the newsegment events.
2957 API: GstFakeSrc:format
2959 2008-05-06 Sebastian Dröge <slomo@circular-chaos.org>
2961 * win32/common/libgstreamer.def:
2962 Add gst_pad_has_name() to the exported symbols.
2964 2008-05-06 Sebastian Dröge <slomo@circular-chaos.org>
2966 * gst/gstpad.c: (gst_pad_alloc_buffer_full):
2967 * libs/gst/base/gstbasetransform.c:
2968 (gst_base_transform_prepare_output_buffer):
2969 Don't allow negative sizes when allocating new buffers.
2972 2008-05-05 Tim-Philipp Müller <tim.muller at collabora co uk>
2974 Patch by: Sjoerd Simons <sjoerd at luon net>
2976 * gst/gstbus.c: (gst_bus_source_dispatch):
2977 Don't print a warning if the queue is empty when we try to pop
2978 here. That could happen if another thread or callback set the
2979 bus to flushing between the source's check/prepare and the
2980 dispatch being called (#531538).
2982 2008-05-05 Tim-Philipp Müller <tim.muller at collabora co uk>
2984 * plugins/elements/gstmultiqueue.c:
2987 2008-05-05 Sebastian Dröge <slomo@circular-chaos.org>
2989 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
2990 Add unit test for deserializing uint64s and check some really large
2991 numbers in the int64 test.
2993 2008-05-04 Sebastian Dröge <slomo@circular-chaos.org>
2995 * tools/gst-inspect.c: (n_print), (print_hierarchy),
2996 (print_interfaces), (print_element_properties_info),
2997 (print_signal_info):
2998 Use "%s" as format string instead of printing strings directly.
3000 2008-05-04 Sebastian Dröge <slomo@circular-chaos.org>
3002 * gst/gstclock.c: (gst_clock_set_calibration):
3003 Make some checks actually useful.
3005 * gst/gstregistrybinary.c: (gst_registry_binary_load_plugin):
3006 Remove some unused code. Unsigned integers tend to be >= 0.
3008 2008-05-03 Tim-Philipp Müller <tim.muller at collabora co uk>
3010 * gst/gstminiobject.c: (gst_value_get_mini_object):
3011 Fix 'Since:' version in gst_value_dup_mini_object() docs blurb: this
3012 function was not in the unscheduled 0.10.19 release.
3014 2008-05-03 Tim-Philipp Müller <tim.muller at collabora co uk>
3016 * gst/gstregistry.c: (gst_registry_scan_path_level):
3017 Only print one log message per non-plugin file.
3019 2008-05-03 Tim-Philipp Müller <tim.muller at collabora co uk>
3021 * gst/gstinfo.c: (gst_debug_log_default):
3022 Fix alignment of debug log columns on 64-bit.
3024 2008-05-03 Tim-Philipp Müller <tim.muller at collabora co uk>
3026 * docs/libs/Makefile.am:
3027 * docs/libs/gstreamer-libs-sections.txt:
3028 Ignore private controller headers for docs.
3030 2008-05-03 Sebastian Dröge <slomo@circular-chaos.org>
3032 * libs/gst/controller/gstcontrollerprivate.h:
3033 * libs/gst/controller/gsthelper.c:
3034 * libs/gst/controller/gstinterpolation.c:
3035 * libs/gst/controller/gstinterpolationcontrolsource.c:
3036 (gst_interpolation_control_source_set_interpolation_mode):
3037 * libs/gst/controller/gstinterpolationcontrolsourceprivate.h:
3038 * libs/gst/controller/lib.c:
3039 Move some private declarations into private headers.
3041 2008-05-02 Sebastian Dröge <slomo@circular-chaos.org>
3043 * gst/gstdebugutils.c: (debug_dump_element_pad):
3044 Remove some code that is unused after Stefan's refactoring and uses
3045 uninitialized variables now, resulting in a compiler warning.
3047 2008-05-01 Tim-Philipp Müller <tim.muller at collabora co uk>
3049 * gst/gstregistry.c: (gst_registry_scan_path_level):
3050 Run g_str_has_suffix() only on the file name, not the
3053 2008-04-30 Tim-Philipp Müller <tim.muller at collabora co uk>
3055 * plugins/elements/gstqueue.c: (gst_queue_leak_downstream):
3056 Since we're not called only from the chain function any longer,
3057 we can't assume that there's always data in the queue, so move
3058 the is_full check to the beginning of the loop (otherwise we'd
3059 hit the assert when changing the limit properties while the
3060 queue is empty or not running yet).
3061 Also, only set a discont if items were actually removed from
3064 * tests/check/elements/queue.c: (test_leaky_downstream):
3065 Test case for the above.
3067 2008-04-30 Wim Taymans <wim.taymans@collabora.co.uk>
3069 Patch by: Jonas Holmberg <jonas dot holmberg at axis dot com>
3071 * plugins/elements/gstqueue.c: (gst_queue_leak_downstream),
3072 (gst_queue_chain), (queue_capacity_change),
3073 (gst_queue_set_property):
3074 When changing thr max capacity of a leaky queue, immediatly drop buffers
3075 instead of waiting for a push on the sinkpad. Fixes #530637.
3077 2008-04-30 Stefan Kost <ensonic@users.sf.net>
3079 * gst/gstdebugutils.c:
3080 Refactor code and fix handling of ghostpads and their proxypads.
3082 2008-04-29 Wim Taymans <wim.taymans@collabora.co.uk>
3084 * docs/gst/gstreamer-sections.txt:
3085 * gst/gstevent.c: (gst_event_has_name):
3087 * tests/check/gst/gstevent.c: (GST_START_TEST):
3088 Add method to conveniently check the name of a custom event with
3089 gst_event_has_name().
3090 Reformat the event docs so that related methods are put together instead
3091 of the default alphabetical sort.
3092 Update unit test with new method.
3093 API: GstEvent::gst_event_has_name()
3095 2008-04-28 Michael Smith <msmith@songbirdnest.com>
3097 * libs/gst/check/Makefile.am:
3098 Don't add an explicit link to libgstreamer-0.10.la; it's already
3099 included in GST_OBJ_LIBS.
3101 2008-04-28 Sebastian Dröge <slomo@circular-chaos.org>
3104 Register GstClock type from a type-safe context. Fixes bug #530317.
3106 2008-04-25 Michael Smith <msmith@songbirdnest.com>
3108 Patch by Edward Hervey <edward.hervey@collabora.co.uk>
3110 Include <unistd.h> conditionally on HAVE_UNISTD_H as elsewhere.
3112 2008-04-25 Wim Taymans <wim.taymans@collabora.co.uk>
3114 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
3116 Use the GLib stuff to create a private structure.
3117 Add some locking around some dispose methods to make them a little
3118 safer, see #529723. Patch by: Antoine Tremblay <hexa00 at gmail dot com>
3120 2008-04-25 Stefan Kost <ensonic@users.sf.net>
3122 * libs/gst/base/gstbasesink.h:
3123 * libs/gst/base/gstbasesrc.h:
3124 * libs/gst/base/gstbasetransform.h:
3125 * libs/gst/base/gstcollectpads.h:
3126 Fix doc typos and unify caps a bit.
3128 2008-04-25 Stefan Kost <ensonic@users.sf.net>
3130 * tools/gst-launch.1.in:
3131 Forgot to also add the envvar docs here.
3133 2008-04-25 Tim-Philipp Müller <tim at centricular dot net>
3135 * gst/gst.c: (init_post), (gst_deinit):
3136 * tests/check/gst/gstpipeline.c: (GST_START_TEST), (pipeline_thread),
3137 (test_concurrent_create), (gst_pipeline_suite):
3138 Ref some more classes in gst_init() to work around thread-safety
3139 issues in pre-2.16 GLibs, and add basic unit test.
3141 2008-04-25 Wim Taymans <wim.taymans@collabora.co.uk>
3143 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
3144 (gst_base_sink_send_event):
3145 Rearrange the latency query code. We always want to do the upstream
3146 query, even if we are not live so that the upstream elements can get the
3147 latency results too. If we fail doing the query and we are live, we
3148 return TRUE afterwards.
3150 2008-04-24 Stefan Kost <ensonic@users.sf.net>
3152 patch by: Jason Zhao <e3423c@motorola.com>
3154 * docs/gst/running.xml:
3156 Enable/disable scan_and_update_registry() based on commandline switch
3157 or environment variable. Fixes #520468.
3160 Fix typo in my previous commit.
3162 2008-04-24 Stefan Kost <ensonic@users.sf.net>
3164 * gst/gstregistrybinary.c:
3165 Add a warning if we hit unhandled factories when saving.
3166 More debug logging detail, but move to LOG category.
3168 2008-04-24 Stefan Kost <ensonic@users.sf.net>
3170 * gst/gstregistry.c:
3171 Tell the *truth* when improving the documentation.
3173 2008-04-23 Sebastian Dröge <slomo@circular-chaos.org>
3175 * gst/gstelementfactory.c: (gst_element_factory_make):
3176 Unref the factory after it was used the last time, not before.
3178 * gst/gstindexfactory.c: (gst_index_factory_make):
3179 Improve debugging a bit and don't leak a ref to the index factory with
3182 2008-04-23 Stefan Kost <ensonic@users.sf.net>
3184 * gst/gstregistry.c:
3185 Improve the documentation.
3187 2008-04-23 Stefan Kost <ensonic@users.sf.net>
3190 The glib macro seems to be borked. Use g_slice_copy directly and cast
3191 in the hope that this fixes the warning on 64bit.
3193 2008-04-23 Stefan Kost <ensonic@users.sf.net>
3196 Document the new function. Use g_slice_dup() (no need for
3197 gst_segment_init()).
3199 2008-04-23 Stefan Kost <ensonic@users.sf.net>
3201 * docs/gst/gstreamer-sections.txt:
3202 Move GParamSepc macros to standart section.
3205 Dn't document _get_type - its in private section in docs anyway and
3206 this doc-blob was incomplete.
3209 Fix wrong symbol names in docs.
3212 Add once doc sentence.
3214 * tests/check/gst/.cvsignore:
3217 2008-04-21 Stefan Kost <ensonic@users.sf.net>
3219 * docs/gst/Makefile.am:
3220 And remove those libs here.
3222 2008-04-21 Tim-Philipp Müller <tim at centricular dot net>
3224 * docs/libs/Makefile.am:
3225 Fix docs build again by adding libgstnet-0.10.so to SCANOBJ_DEPS.
3227 2008-04-21 Wim Taymans <wim.taymans@collabora.co.uk>
3229 Patch by: Olivier Crete <tester at tester dot ca>
3231 * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
3232 Add the min-threshold to the min latency if possible. Fixes #529148.
3234 2008-04-21 Stefan Kost <ensonic@users.sf.net>
3236 * docs/gst/gstreamer.types.in:
3237 Stupid editor, I removed that line as it should go in yet.
3239 2008-04-21 Stefan Kost <ensonic@users.sf.net>
3241 * docs/gst/gstreamer.types.in:
3242 * docs/libs/gstreamer-libs.types:
3243 Remove library types fro core docs and have them in libs docs.
3244 Reformat and cleanup. Add comment for miniobject types.
3246 2008-04-20 Tim-Philipp Müller <tim at centricular dot net>
3248 * gst/gsturi.c: (gst_uri_get_protocol):
3249 Fix leak: g_strdown operates on the string in place, while
3250 g_ascii_strdown() returns a newly-allocated string.
3252 2008-04-20 Sebastian Dröge <slomo@circular-chaos.org>
3254 * tools/gst-inspect.c: (print_uri_handler_info),
3255 (print_element_info):
3256 Print the URI protocols and the URI type supported by the element.
3258 2008-04-19 Sebastian Dröge <slomo@circular-chaos.org>
3260 * gst/gsttaglist.c: (gst_tag_merge_strings_with_comma):
3261 Use g_value_take_string() instead of the deprecated
3262 g_value_set_string_take_ownership().
3264 2008-04-19 Sebastian Dröge <slomo@circular-chaos.org>
3266 * gst/gstregistrybinary.c: (_gst_crc32):
3267 Return the old CRC instead of 0 if we give a NULL buffer
3268 or a buffer with a length of 0.
3270 2008-04-19 Sebastian Dröge <slomo@circular-chaos.org>
3272 * gst/gsturi.c: (gst_uri_protocol_check_internal),
3273 (gst_uri_get_protocol), (gst_uri_has_protocol),
3274 (gst_uri_construct), (gst_uri_handler_set_uri):
3275 A valid URI scheme can also include '+', '-' and '.' additional
3276 to alphanumeric characters as per RFC 3986 Section 3.1.
3278 Handle URI schemes case insensitive in all places and convert
3279 to lower-case when constructing an URI or setting an URI with
3280 the GstURIHandler interface. Fixes bug #528868.
3281 All elements can still assume (as before) that they will
3282 get passed URIs with a lower-case URI scheme by the GstURIHandler
3285 2008-04-17 Tim-Philipp Müller <tim at centricular dot net>
3287 * gst/gstcaps.c: (gst_static_caps_get):
3288 * gst/gstclock.c: (gst_clock_entry_new):
3289 Don't use g_atomic_set_int where it's not needed.
3291 2008-04-17 Wim Taymans <wim.taymans@collabora.co.uk>
3293 * gst/gstvalue.c: (gst_value_deserialize_caps):
3294 * gst/parse/grammar.y:
3297 2008-04-17 Sebastian Dröge <slomo@circular-chaos.org>
3299 * gst/gstutils.c: (gst_atomic_int_set):
3300 Use g_atomic_int_set() here too instead of assignment +
3303 2008-04-17 Sebastian Dröge <slomo@circular-chaos.org>
3307 API: Deprecate gst_atomic_int_set(), g_atomic_int_set() should be used
3308 now that we depend on new enough GLib.
3310 * gst/gstcaps.c: (gst_static_caps_get):
3311 * gst/gstclock.c: (gst_clock_entry_new):
3312 * gst/gstinfo.c: (_gst_debug_init), (gst_debug_set_colored),
3313 (gst_debug_set_default_threshold), (_gst_debug_category_new),
3314 (gst_debug_category_set_threshold):
3315 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
3316 (gst_base_sink_set_qos_enabled):
3317 * libs/gst/net/gstnettimeprovider.c:
3318 (gst_net_time_provider_set_property):
3319 Use g_atomic_int_set() instead of gst_atomic_int_set().
3321 2008-04-16 Stefan Kost <ensonic@users.sf.net>
3324 Also use G_GINT64_CONSTANT for the queries.
3326 2008-04-16 Stefan Kost <ensonic@users.sf.net>
3329 Use G_GINT64_CONSTANT in varargs function.
3331 2008-04-16 Sebastian Dröge <slomo@circular-chaos.org>
3333 * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic):
3334 Initialize the registry magic with zeroes.
3336 2008-04-16 Sebastian Dröge <slomo@circular-chaos.org>
3338 * gst/gstregistrybinary.c: (_gst_crc32),
3339 (gst_registry_binary_write),
3340 (gst_registry_binary_initialize_magic),
3341 (gst_registry_binary_write_cache),
3342 (gst_registry_binary_check_magic),
3343 (gst_registry_binary_read_cache):
3344 * gst/gstregistrybinary.h:
3345 Add crc32 checksum to the binary registry file and check this before
3346 accepting a registry file.
3348 Also free the data list when writing to the registry file fails.
3350 2008-04-16 Sebastian Dröge <slomo@circular-chaos.org>
3352 * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
3353 (gst_registry_binary_load_feature),
3354 (gst_registry_binary_load_plugin):
3355 If an element supports the Uri interface, returns a valid pointer
3356 to the supported URI protocols but this pointer contains nothing
3357 don't try to save that as it will corrupt the registry.
3359 Don't unref the plugin if we added it to the registry already but
3360 fail to load a feature as gst_registry_add_plugin() takes ownership
3363 Improve debugging a bit.
3365 2008-04-16 Stefan Kost <ensonic@users.sf.net>
3368 Clarify some tag item docs after discussion on irc.
3370 2008-04-15 Stefan Kost <ensonic@users.sf.net>
3372 * docs/gst/gstreamer-docs.sgml:
3373 Remove commented out plugins (they have their own docs). Update
3376 2008-04-15 Stefan Kost <ensonic@users.sf.net>
3378 * docs/gst/gstreamer-docs.sgml:
3379 * docs/gst/gstreamer-sections.txt:
3380 * gst/gstparamspecs.c:
3381 * gst/gstparamspecs.h:
3382 Add GST_PARAM_CONTROLLABLE and GST_PARAM_USER_SHIFT. Move paramspec
3383 docs to own section.
3386 This now only documents GValue.
3388 * docs/libs/gstreamer-libs-sections.txt:
3389 * libs/gst/controller/gstcontroller.h:
3390 Remove GST_PARAM_CONTROLLABLE.
3392 2008-04-15 Stefan Kost <ensonic@users.sf.net>
3395 Correct file path. Tell about how to use -overrides.txt.
3396 * docs/design/draft-tagreading.txt:
3397 Small design update.
3399 2008-04-14 Sebastian Dröge <slomo@circular-chaos.org>
3401 * gst/gstregistrybinary.c: (gst_registry_binary_load_feature),
3402 (gst_registry_binary_load_plugin):
3403 Fix a typo in a debug message and revert change from yesterday as
3404 gst_registry_add_plugin() will only fail if something is really wrong
3405 already and we can't survive it anyway.
3407 2008-04-14 Tim-Philipp Müller <tim at centricular dot net>
3409 * gst/gst.c: (init_post), (gst_deinit):
3410 Pre-register GstGError GType from a thread-safe context
3411 (fixes #527967); unref enum type classes in deinit.
3413 2008-04-13 Tim-Philipp Müller <tim at centricular dot net>
3415 Patch by: Rene Stadler <mail at renestadler de>
3417 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
3418 Merging an empty list with another list in KEEP_ALL mode should
3419 yield an empty list as result and not the second list (#512578).
3421 * tests/check/gst/gsttagsetter.c:
3422 Add unit test for tag merge modes and the aforementioned bug.
3424 2008-04-13 Tim-Philipp Müller <tim at centricular dot net>
3426 Patch by: Rene Stadler <mail at renestadler de>
3429 Fix description to match the order in the table (#512577).
3431 2008-04-13 Tim-Philipp Müller <tim at centricular dot net>
3433 Patch by: Kwang Yul Seo <kwangyul.seo gmail com>
3435 * libs/gst/net/gstnettimepacket.h:
3436 * docs/libs/gstreamer-libs-sections.txt:
3437 Define socklen_t as int if it's not defined yet. Fixes compilation
3438 with MSVC6 and other versions where socklen_t is not defined in
3439 the windows headers (#518022).
3441 2008-04-13 Sebastian Dröge <slomo@circular-chaos.org>
3443 * gst/gstregistrybinary.c: (gst_registry_binary_load_plugin):
3444 If gst_registry_add_plugin() fails our reference to the plugin is
3445 invalid so don't try to use it anymore and instead error out.
3447 2008-04-12 Tim-Philipp Müller <tim at centricular dot net>
3449 * tools/gst-xmlinspect.c: (print_element_info), (main):
3450 De-cruft a bit. If no argument is specified, print all elements in
3451 XML syntax rather than a freestyle list of elements like gst-inspect.
3452 Also, don't print XML header chunk unless we actually have something
3453 to print (ie. don't print it before an error message); print error
3454 message to stderr not stdout. Remove support for printing plugin
3455 info (it would just output something freestyle along the lines of
3456 gst-inspect so far), which fixes #514507. Also add license header.
3458 2008-04-11 Julien Moutte <julien@fluendo.com>
3461 * configure.ac: Merge platform specific defines, introduce a new
3462 define on OS X to remember that forking when updating registry is
3464 * docs/faq/gst-uninstalled: Updated to include gst-libs in the bad
3466 * gst/gst.c: Don't fork when updating registry if GST_HAVE_UNSAFE_FORK
3468 * gst/gstregistry.c: (gst_registry_scan_path_level): Fixed a bogus
3469 condition that leads to absolutely no plugins being registered on
3472 2008-04-10 Tim-Philipp Müller <tim at centricular dot net>
3474 Based on patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
3476 * gst/gstutils.c: (gst_pad_add_data_probe),
3477 (gst_pad_add_data_probe_full), (gst_pad_add_event_probe),
3478 (gst_pad_add_event_probe_full), (gst_pad_add_buffer_probe),
3479 (gst_pad_add_buffer_probe_full):
3481 * docs/gst/gstreamer-sections.txt:
3482 * win32/common/libgstreamer.def:
3483 Add gst_pad_add_*_probe_full() functions with a notify callback that
3484 lets the caller free the data it passes to the probe functions. This
3485 is useful for bindings such as gst-python or gstreamermm (#526814).
3486 API: gst_pad_add_data_probe_full
3487 API: gst_pad_add_buffer_probe_full
3488 API: gst_pad_add_event_probe_full
3490 * tests/check/gst/gstutils.c:
3491 Add minimal unit test to make sure freeing the data actually works
3494 * tests/benchmarks/.cvsignore:
3495 Random cvsignore addendum.
3497 2008-04-10 Tim-Philipp Müller <tim at centricular dot net>
3499 * gst/gstdebugutils.h: (GST_DEBUG_BIN_TO_DOT_FILE_WITH_TS),
3500 (GST_DEBUG_BIN_TO_DOT_FILE):
3501 Mention GstDebugGraphDetails enum type in doc blurb so we get a link
3502 to it in the docs (since these are macros the types of the arguments
3503 won't be shown in the docs otherwise).
3505 2008-04-10 Stefan Kost <ensonic@users.sf.net>
3508 Do not abort on out of memory for pad_alloc_buffer.
3510 2008-04-10 Stefan Kost <ensonic@users.sf.net>
3512 * libs/gst/check/gstcheck.c:
3513 Remove blank line between symbol name ad parameters to fix gtkdoc
3516 2008-04-09 Tim-Philipp Müller <tim at centricular dot net>
3518 Patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
3520 * docs/gst/gstreamer-sections.txt:
3523 * win32/common/libgstreamer.def:
3524 Expose gst_segment_copy() to make things easier for the c++ bindings.
3526 API: gst_segment_copy()
3528 2008-04-09 Tim-Philipp Müller <tim at centricular dot net>
3530 * gst/gst.c: (gst_init_get_option_group), (init_post):
3531 Fix const position; ref GType classes for enum types to work
3532 around thread-safety issues in GLib versions < 2.16.
3534 2008-04-09 Wim Taymans <wim.taymans@collabora.co.uk>
3536 * docs/design/part-buffering.txt:
3537 Fix some typos and set the estimated total for push mode to -1.
3539 * gst/gstquery.c: (gst_query_new_buffering):
3540 Set buffering-left to 0 as we're not buffering by default.
3542 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
3543 Implement BUFFERING query.
3545 2008-04-09 Tim-Philipp Müller <tim at centricular dot net>
3547 Based on patch by: Milosz Derezynski <internalerror gmail com>
3549 * gst/gsterror.c: (_gst_stream_errors_init):
3551 Add two new error codes for encrypted content. Fixes #524659.
3552 API: GST_STREAM_ERROR_DECRYPT
3553 API: GST_STREAM_ERROR_DECRYPT_NOKEY
3555 2008-04-09 Tim-Philipp Müller <tim at centricular dot net>
3560 * win32/common/libgstreamer.def:
3563 2008-04-09 Sebastian Dröge <slomo@circular-chaos.org>
3565 * plugins/elements/gstidentity.c: (gst_identity_event),
3566 (gst_identity_start):
3567 Fix imperfect timestamp/offset checks when we get another NEWSEGMENT
3568 event after processing some data. Fixes bug #526042.
3570 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
3572 * docs/gst/gstreamer-sections.txt:
3573 * gst/gstquery.c: (gst_query_parse_latency),
3574 (gst_query_set_buffering_percent),
3575 (gst_query_parse_buffering_percent),
3576 (gst_query_set_buffering_range), (gst_query_parse_buffering_range):
3578 Rename _avail -> _range
3579 API: gst_query_set_buffering_range
3580 API: gst_query_parse_buffering_range
3582 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
3584 * docs/design/part-buffering.txt:
3587 * gst/gstquery.c: (gst_query_parse_latency),
3588 (gst_query_new_buffering), (gst_query_set_buffering_percent),
3589 (gst_query_parse_buffering_percent):
3591 Add busy field and quark for the buffering query so that the app can
3592 only use the query to see if buffering is in progress.
3594 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
3596 * docs/gst/gstreamer-sections.txt:
3597 * gst/gstmessage.c: (gst_message_set_buffering_stats),
3598 (gst_message_parse_buffering_stats):
3600 * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
3601 (gst_query_parse_latency), (gst_query_new_buffering),
3602 (gst_query_set_buffering_percent),
3603 (gst_query_parse_buffering_percent),
3604 (gst_query_set_buffering_stats), (gst_query_parse_buffering_stats),
3605 (gst_query_set_buffering_avail), (gst_query_parse_buffering_avail):
3607 Reorder the message docs and headers for clarity.
3608 Add aditional buffering stats API for messages.
3609 Add buffering query.
3610 Convert some leftover queries to use GstQuark.
3611 API: gst_message_set_buffering_stats
3612 API: gst_message_parse_buffering_stats
3613 API: GST_QUERY_BUFFERING
3614 API: GstBufferingMode
3615 API: gst_query_new_buffering
3616 API: gst_query_set_buffering_percent
3617 API: gst_query_parse_buffering_percent
3618 API: gst_query_set_buffering_stats
3619 API: gst_query_parse_buffering_stats
3621 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
3623 * gst/gstmessage.c: (gst_message_new_error),
3624 (gst_message_new_warning), (gst_message_new_info),
3625 (gst_message_new_buffering), (gst_message_new_state_changed),
3626 (gst_message_new_clock_provide), (gst_message_new_clock_lost),
3627 (gst_message_new_new_clock), (gst_message_new_segment_start),
3628 (gst_message_new_segment_done), (gst_message_new_duration),
3629 (gst_message_new_async_start), (gst_message_parse_buffering),
3630 (gst_message_parse_state_changed),
3631 (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
3632 (gst_message_parse_new_clock), (gst_message_parse_error),
3633 (gst_message_parse_warning), (gst_message_parse_info),
3634 (gst_message_parse_segment_start),
3635 (gst_message_parse_segment_done), (gst_message_parse_duration),
3636 (gst_message_parse_async_start):
3637 Use GstQuark for messages.
3639 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
3641 * gst/gstquark.c: (_priv_gst_quarks_initialize):
3643 Add some more quarks needed for messages and queries.
3645 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
3647 * docs/design/part-buffering.txt:
3648 Remove the "none" buffering mode, STREAM is a good default.
3649 Move estimated-time to the avail query, that's when it will be needed.
3650 Other small typo fixes and updates.
3652 2008-04-07 Tim-Philipp Müller <tim at centricular dot net>
3654 * gst/gstindex.c: (gst_index_resolver_get_type):
3655 Don't put descriptions into the nick field of a GEnumValue: it's not
3656 meant for that and some language bindings rely on the nick field to
3657 construct constants and the like. Fixes #526705.
3659 2008-04-07 Tim-Philipp Müller <tim at centricular dot net>
3664 Merge other changes from 0.10.19 release branch.
3666 2008-04-06 Sebastian Dröge <slomo@circular-chaos.org>
3668 Patch by: Damien Lespiau <damien dot lespiau at gmail dot com>
3671 Actually build dlls when cross-compiling with mingw32.
3674 2008-04-05 Sebastian Dröge <slomo@circular-chaos.org>
3676 Patch by: Damien Lespiau <damien dot lespiau at gmail dot com>
3679 Fix compilation of GstPoll with mingw32. Fixes bug #526236.
3681 2008-04-04 Wim Taymans <wim.taymans@collabora.co.uk>
3683 * docs/design/draft-latency.txt:
3686 * docs/design/part-buffering.txt:
3687 Update design docs with more buffering ideas.
3689 2008-04-03 Tim-Philipp Müller <tim at centricular dot net>
3692 Bump version to 0.10.19.1 after the unscheduled 0.10.19 release.
3694 2008-04-03 Stefan Kost <ensonic@users.sf.net>
3697 Revert part that belongs to the preset patch.
3699 2008-04-03 Stefan Kost <ensonic@users.sf.net>
3702 Add qoutes to the define. Fixes # 525961.
3704 2008-04-03 Sebastian Dröge <slomo@circular-chaos.org>
3706 * plugins/indexers/gstfileindex.c: (_file_index_id_free),
3707 (gst_file_index_load), (gst_file_index_add_id),
3708 (gst_file_index_get_assoc_entry):
3709 * plugins/indexers/gstmemindex.c: (gst_mem_index_free_format),
3710 (gst_mem_index_free_id), (gst_mem_index_add_id),
3711 (gst_mem_index_index_format):
3712 Use GSlice when possible.
3714 2008-04-02 Sebastian Dröge <slomo@circular-chaos.org>
3716 * libs/gst/controller/gstinterpolationcontrolsource.c:
3717 (gst_control_point_free),
3718 (gst_interpolation_control_source_set_internal):
3719 Use GSlice for allocating the control points.
3721 2008-04-02 Wim Taymans <wim.taymans@collabora.co.uk>
3723 * plugins/elements/gsttypefindelement.c:
3724 (gst_type_find_element_class_init),
3725 (gst_type_find_element_set_property),
3726 (gst_type_find_element_get_property),
3727 (gst_type_find_element_activate):
3728 * plugins/elements/gsttypefindelement.h:
3730 Fix pad leak when peer query fails.
3731 We can still typefind when the peer returns -1.
3732 Add property to force caps and bypass typefinding. This will be used in
3736 2008-04-01 Sebastian Dröge <slomo@circular-chaos.org>
3741 * gst/glib-compat-private.h:
3742 * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free):
3743 * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
3744 Unconditionally use GSlice for allocation.
3746 * gst/gstpoll.c: (gst_poll_new), (gst_poll_free):
3747 * gst/gstsegment.c: (gst_segment_new), (gst_segment_free):
3748 * gst/gststructure.c: (gst_structure_id_empty_new_with_size),
3749 (gst_structure_free):
3750 Use GSlice for allocation.
3752 2008-04-01 Sebastian Dröge <slomo@circular-chaos.org>
3754 * gst/parse/Makefile.am:
3755 * gst/parse/grammar.tab.pre.c:
3756 * gst/parse/grammar.tab.pre.h:
3757 * gst/parse/lex._gst_parse_yy.pre.c:
3758 Require a new enough flex and bison and remove the parser hacks to use
3759 a pre-regenerated version.
3761 2008-04-01 Julien Moutte <julien@fluendo.com>
3763 patch by: Jason Zhao <E3423C@motorola.com>
3765 * configure.ac: Add a configure switch to disable option parsing
3769 2008-03-31 Stefan Kost <ensonic@users.sf.net>
3772 * gst/gstregistry.c:
3773 MacOS has plugins under .so or under .dylib. Add detection for MacOS
3774 and handle this case.
3777 Add a comment here describing, why we stat each plugin and not try to
3780 2008-03-31 Sebastian Dröge <slomo@circular-chaos.org>
3782 * libs/gst/base/gstbasetransform.c:
3783 (gst_base_transform_prepare_output_buffer):
3784 Also unset the GAP flag on buffers if we're working inplace but
3785 the element is not GAP-aware.
3787 Mark a comment as FIXME 0.11.
3789 2008-03-31 Stefan Kost <ensonic@users.sf.net>
3792 Fix type in log message and add one to ease seeing how long registry
3793 cache verification takes.
3795 * gst/gstregistry.c:
3796 Only test plugin filenames against G_MODULE_SUFFIX.
3798 2008-03-31 Stefan Kost <ensonic@users.sf.net>
3800 * gst/gstdebugutils.c:
3801 Improve handling ghost/proxy pads.
3803 2008-03-27 Stefan Kost <ensonic@users.sf.net>
3805 * docs/gst/gstreamer-sections.txt:
3808 Expose macro to docs and fix link to it.
3810 2008-03-27 Michael Smith <msmith@fluendo.com>
3812 * libs/gst/dataprotocol/dataprotocol.c:
3813 (gst_dp_packet_from_event_1_0):
3814 When calculating GDP body CRC, use the correct pointer.
3815 Fixes part of #522401.
3817 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
3819 Patch by: Mark Nauwelaerts <manauw at skynet be>
3821 * plugins/elements/gstidentity.c: (gst_identity_class_init),
3822 (gst_identity_init), (gst_identity_prepare_output_buffer):
3823 Identity is not always a passthrough element, it can modify the buffer
3824 timestamps when it has a datarate and operates in single-segment mode.
3825 We therefore make it an in_place filter with a custom buffer prepare
3826 function that conditionally makes the input buffer metadata writable
3827 when needed. Fixes #523985.
3829 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
3831 Patch by: Mark Nauwelaerts <manauw at skynet be>
3834 * libs/gst/base/gstbasesrc.h:
3835 * libs/gst/base/gstbasetransform.c:
3836 * libs/gst/check/gstcheck.c:
3837 Small documentation fixes. Fixes #523978.
3839 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
3841 * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
3842 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
3843 Also retry our poll_wait when we get EAGAIN. Fixes #524041.
3845 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
3847 * plugins/elements/gstmultiqueue.c: (single_queue_overrun_cb),
3848 (single_queue_underrun_cb):
3849 When trying to make room in the queue, bump the max allowed buffers
3850 bigger than the current amount of buffers in the queue. this fixes some
3851 nasty deadlocks in multiqueue when dynamically changing the limits of
3854 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
3856 Patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
3858 * gst/gstcaps.c: (gst_caps_set_simple),
3859 (gst_caps_set_simple_valist), (gst_caps_intersect):
3861 Constify the field gchar * params in set_simple and friends.
3864 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
3866 * gst/gstvalue.c: (gst_value_transform_object_string):
3867 Transform a GstObject to a more meaningfull string that includes the
3868 object type in addition to its name.
3870 2008-03-23 Stefan Kost <ensonic@users.sf.net>
3873 ChangeLog surgery to add bugnumber to commit.
3875 2008-03-23 Rene Stadler <mail@renestadler.de>
3877 * libs/gst/base/gstbasetransform.c:
3878 (gst_base_transform_set_gap_aware): Fix confusing documentation.
3880 2008-03-23 Sebastian Dröge <slomo@circular-chaos.org>
3882 * gst/gstregistrybinary.c: (gst_registry_binary_write):
3883 Rename constant everywhere and don't forget one occurence.
3885 2008-03-23 Sebastian Dröge <slomo@circular-chaos.org>
3887 * gst/gstregistrybinary.c: (gst_registry_binary_write):
3888 Align memory to the pointer size even if the architecture allows
3889 unaligned memory access. Unaligned memory access usually comes with
3890 performance penality.
3892 2008-03-23 Sebastian Dröge <slomo@circular-chaos.org>
3894 * gst/gstregistrybinary.c: (gst_registry_binary_write),
3895 (gst_registry_binary_check_magic),
3896 (gst_registry_binary_load_pad_template),
3897 (gst_registry_binary_load_feature),
3898 (gst_registry_binary_load_plugin):
3899 Align memory to the pointer size instead of always 32 bit. Fixes
3900 unaligned memory accesses on ia64 and friends.
3902 * gst/gstregistrybinary.h:
3903 Bump binary registry format version for this as it changes the
3904 format on those architectures that don't have unaligned access
3905 and 64 bit pointers.
3907 2008-03-22 Sebastian Dröge <slomo@circular-chaos.org>
3909 * docs/pwg/advanced-dparams.xml:
3910 * docs/pwg/building-props.xml:
3911 * docs/pwg/other-source.xml:
3912 * gst/glib-compat.h:
3913 * gst/gstbin.c: (gst_bin_class_init):
3914 * gst/gstclock.c: (gst_clock_class_init):
3915 * gst/gstindex.c: (gst_index_class_init):
3916 * gst/gstobject.c: (gst_object_class_init):
3917 * gst/gstpad.c: (gst_pad_class_init):
3918 * gst/gstpipeline.c: (gst_pipeline_class_init):
3919 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
3920 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
3921 * libs/gst/base/gstbasetransform.c:
3922 (gst_base_transform_class_init):
3923 * libs/gst/base/gstdataqueue.c: (gst_data_queue_class_init):
3924 * libs/gst/check/gstcheck.c: (_gst_check_fault_handler_restore),
3925 (_gst_check_fault_handler_sighandler),
3926 (_gst_check_fault_handler_setup), (gst_check_init):
3927 * libs/gst/controller/gstcontroller.c:
3928 (_gst_controller_class_init):
3929 * libs/gst/controller/gstlfocontrolsource.c:
3930 (gst_lfo_control_source_class_init):
3931 * libs/gst/net/gstnetclientclock.c:
3932 (gst_net_client_clock_class_init):
3933 * libs/gst/net/gstnettimeprovider.c:
3934 (gst_net_time_provider_class_init):
3935 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
3936 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
3937 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
3938 * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
3939 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
3940 * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
3941 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
3942 * plugins/elements/gstidentity.c: (gst_identity_class_init):
3943 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_class_init):
3944 * plugins/elements/gstqueue.c: (gst_queue_class_init):
3945 * plugins/elements/gsttee.c: (gst_tee_class_init):
3946 * plugins/elements/gsttypefindelement.c:
3947 (gst_type_find_element_class_init):
3948 * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
3949 Define G_PARAM_STATIC_STRINGS if it's undefined (GLib < 2.13.0) and
3950 use it everywhere for GParamSpecs that use static strings (i.e. all).
3951 This gives us less memory usage, fewer allocations and thus less
3952 memory defragmentation. Fixes bug #523806.
3954 2008-03-22 Sebastian Dröge <slomo@circular-chaos.org>
3956 * gst/gstminiobject.c: (gst_value_dup_mini_object),
3957 (gst_param_spec_mini_object):
3958 * gst/gstminiobject.h:
3959 * win32/common/libgstreamer.def:
3960 * docs/gst/gstreamer-sections.txt:
3961 API: Add GST_IS_PARAM_SPEC_MINI_OBJECT, GST_PARAM_SPEC_MINI_OBJECT
3962 GST_TYPE_PARAM_MINI_OBJECT and gst_value_dup_mini_object. Also move
3963 GstParamSpecMiniObject into a public header for this.
3965 This make GstMiniObject a bit more consistent with GObject and makes
3966 it possible to extend the param specs.
3968 gst_value_dup_mini_object is mainly useful for set_property methods.
3972 * tools/gst-inspect.c: (print_element_properties_info):
3973 Print something useful for GstMiniObject properties and not just
3976 2008-03-21 Sebastian Dröge <slomo@circular-chaos.org>
3978 * docs/gst/gstreamer-sections.txt:
3979 * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic),
3980 (gst_registry_binary_check_magic):
3981 * gst/gstregistrybinary.h:
3982 Call the version GST_MAGIC_BINARY_VERSION_STR to be more consistent
3983 and add it to the (private part) of the docs to fix the build.
3985 2008-03-21 Sebastian Dröge <slomo@circular-chaos.org>
3987 * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic),
3988 (gst_registry_binary_check_magic),
3989 (gst_registry_binary_read_cache):
3990 * gst/gstregistrybinary.h:
3991 Don't use GST_MAJORMINOR for the binary registry version. Instead
3992 hardcode a value that must be changed whenever the format changes
3993 in an incompatible way.
3994 Also don't GST_ERROR when there is a version mismatch, just
3995 regenerate the registry silently.
3997 2008-03-21 Jan Schmidt <jan.schmidt@sun.com>
4000 Back to development - 0.10.18.1
4002 === release 0.10.18 ===
4004 2008-03-20 Jan Schmidt <jan.schmidt@sun.com>
4007 releasing 0.10.18, "So far away"
4009 2008-03-18 Jan Schmidt <jan.schmidt@sun.com>
4012 * win32/common/config.h:
4013 0.10.17.4 pre-release
4015 2008-03-18 Wim Taymans <wim.taymans@collabora.co.uk>
4017 Patch by: Ole André Vadla Ravnås
4018 <ole dot andre dot ravnas at tandberg dot com>
4020 * docs/gst/gstreamer-sections.txt:
4021 * gst/gstpoll.c: (gst_poll_winsock_error_to_errno),
4022 (gst_poll_update_winsock_event_mask),
4023 (gst_poll_prepare_winsock_active_sets),
4024 (gst_poll_collect_winsock_events), (gst_poll_new), (gst_poll_free),
4025 (gst_poll_add_fd_unlocked), (gst_poll_fd_ctl_write),
4026 (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_ignored),
4027 (gst_poll_fd_has_error), (gst_poll_fd_can_read_unlocked),
4028 (gst_poll_check_ctrl_commands), (gst_poll_wait):
4030 * win32/common/libgstreamer.def:
4031 Add new function gst_poll_fd_ignored() for improved Windows
4033 Various minor fixes and cleanups. See #520808.
4035 2008-03-17 Tim-Philipp Müller <tim at centricular dot net>
4037 * gst/gstindex.c: (gst_index_entry_free):
4039 Don't free key strings which we don't own. Fixes crash in
4040 gst_index_entry_free() (#522741).
4042 * tests/check/Makefile.am:
4043 * tests/check/gst/.cvsignore:
4044 * tests/check/gst/gstindex.c: (test_index_entries),
4045 (gst_index_suite), (gst_index):
4046 Add unit test for the above.
4048 2008-03-11 Sebastian Dröge <slomo@circular-chaos.org>
4050 * win32/common/libgstreamer.def:
4051 Remove symbols that were removed recently. Fixes bug #521740.
4053 2008-03-11 Jan Schmidt <jan.schmidt@sun.com>
4056 * win32/common/config.h:
4057 0.10.17.3 pre-release
4059 2008-03-07 Wim Taymans <wim.taymans@collabora.co.uk>
4061 Patch by: Ole André Vadla Ravnås
4062 <ole dot andre dot ravnas at tandberg dot com>
4064 * docs/gst/gstreamer-sections.txt:
4065 * gst/gstpoll.c: (find_index), (gst_poll_free_winsock_event),
4066 (gst_poll_update_winsock_event_mask), (gst_poll_new),
4067 (gst_poll_free), (gst_poll_fd_init), (gst_poll_add_fd_unlocked),
4068 (gst_poll_remove_fd), (gst_poll_fd_ctl_write),
4069 (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_has_closed),
4070 (gst_poll_fd_has_error), (gst_poll_fd_can_read_unlocked),
4071 (gst_poll_fd_can_write), (gst_poll_wait),
4072 (gst_poll_set_controllable), (gst_poll_restart),
4073 (gst_poll_set_flushing):
4075 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_new):
4076 * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_start),
4077 (gst_net_time_provider_new):
4078 * plugins/elements/gstfdsink.c: (gst_fd_sink_start):
4079 * plugins/elements/gstfdsrc.c: (gst_fd_src_start):
4080 * tests/benchmarks/gstpollstress.c: (main):
4081 * tests/check/gst/gstpoll.c: (GST_START_TEST), (gst_poll_suite):
4082 Remove GstPollMode from the API, it does not make sense to let the
4083 application control this.
4084 Add support for Win32.
4085 Fix the testsuite. Fixes #520671.
4087 2008-03-07 Sebastian Dröge <slomo@circular-chaos.org>
4089 Patch by: Ole André Vadla Ravnås
4090 <ole dot andre dot ravnas at tandberg dot com>
4092 * gst/gstregistrybinary.c:
4093 Include io.h for write() and close() when building with MSVC. Fixes
4096 2008-03-07 Stefan Kost <ensonic@users.sf.net>
4099 * gst/gst_private.h:
4100 * gst/gstconfig.h.in:
4101 * gst/gstregistry.h:
4102 * gst/gstregistrybinary.c:
4103 * win32/common/gstconfig.h:
4104 Move registry backend API to private headers where we can. Add
4105 fixme-0.11 comments for the others. Add stubs for the xml backend when
4106 using the binary to ensure they functions exists (they should not be
4107 used though). Fixes #520756.
4109 2008-03-04 Jan Schmidt <jan.schmidt@sun.com>
4112 * win32/common/config.h:
4115 2008-03-03 Edward Hervey <edward.hervey@collabora.co.uk>
4117 * gst/gstregistrybinary.c: (gst_registry_binary_write),
4118 (gst_registry_binary_read_cache):
4119 * gst/gstregistryxml.c: (gst_registry_save):
4120 * gst/gsturi.c: (unescape_string), (gst_uri_has_protocol):
4121 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file):
4122 * plugins/elements/gstfilesrc.c: (gst_file_src_map_region),
4123 (gst_file_src_map_small_region), (gst_file_src_create_mmap):
4124 Switch to using portabl gsize/gssize instead of size_t/ssize_t
4127 2008-03-03 Edward Hervey <edward.hervey@collabora.co.uk>
4129 * gst/gstminiobject.c:
4130 Import gst_private.h before any other header that might include other
4131 glib headers. This fixes the build on windows using native compilers.
4133 2008-03-03 Tim-Philipp Müller <tim at centricular dot net>
4135 * win32/common/gstconfig.h:
4136 Add here too, just for completeness.
4138 2008-03-03 Tim-Philipp Müller <tim at centricular dot net>
4141 * gst/gstconfig.h.in:
4142 * gst/gstregistry.h:
4143 Fix broken use of config.h-defined preprocessor directive in a public
4144 header file. Add a corresponding define to gstconfig.h, since we can't
4145 really remove those function declarations from the header file now
4146 (or can we? and why are they there in the first place?).
4148 2008-03-03 Andy Wingo <wingo@pobox.com>
4150 * tests/check/gst/gststructure.c (GST_START_TEST): Add a check for
4153 * gst/gststructure.c (gst_structure_from_string): Warn if
4154 structure_from_string didn't consume the whole string, but the
4155 caller did not provide an end pointer.
4157 2008-03-01 Tim-Philipp Müller <tim at centricular dot net>
4159 Patch by: Fabrizio Gennari <fabrizio.ge at tiscali it>
4161 * gst/gstregistryxml.c: (read_string), (load_feature):
4162 Strings allocated by libxml2 should be freed with xmlFree(), not
4163 with g_free(). Fixes issues on windows in certain contexts (#519698).
4165 2008-02-29 Tim-Philipp Müller <tim at centricular dot net>
4167 * gst/gstinterface.c: (gst_element_implements_interface):
4168 Don't crash if the element supports the interface queried, but does
4169 not implement GstImplementsInterface. Fixes #519584.
4171 * tests/check/Makefile.am:
4172 * tests/check/gst/.cvsignore:
4173 * tests/check/gst/gstinterface.c:
4174 Add unit test for the above.
4176 2008-02-29 Wim Taymans <wim.taymans@collabora.co.uk>
4178 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
4181 2008-02-29 Wim Taymans <wim.taymans@collabora.co.uk>
4183 * gst/gstsegment.c: (gst_segment_set_seek),
4184 (gst_segment_to_stream_time):
4185 Improve some comment.
4186 Update variables where it makes more sense.
4188 2008-02-29 Rene Stadler <mail@renestadler.de>
4190 * gst/gsturi.c: (gst_uri_handler_get_protocols):
4191 Use the get_protocols_full vfunc if get_protocols is NULL. Fixes
4192 URIHandlers implemented using language bindings.
4194 2008-02-29 Sebastian Dröge <slomo@circular-chaos.org>
4196 * gst/gstelementfactory.h:
4197 * tests/check/elements/fakesink.c:
4198 * tests/check/elements/fakesrc.c: (setup_fakesrc):
4199 * tests/check/elements/fdsrc.c: (setup_fdsrc):
4200 * tests/check/elements/filesink.c: (setup_filesink):
4201 * tests/check/elements/filesrc.c: (setup_filesrc):
4202 * tests/check/elements/identity.c: (setup_identity):
4203 * tests/check/elements/tee.c:
4204 * tests/check/generic/sinks.c:
4205 * tests/check/generic/states.c: (setup), (teardown):
4206 * tests/check/gst/gst.c:
4207 * tests/check/gst/gstabi.c:
4208 * tests/check/gst/gstbin.c:
4209 * tests/check/gst/gstbus.c: (pull_messages):
4210 * tests/check/gst/gstcaps.c:
4211 * tests/check/gst/gstelement.c:
4212 * tests/check/gst/gstevent.c:
4213 * tests/check/gst/gstghostpad.c:
4214 * tests/check/gst/gstiterator.c:
4215 * tests/check/gst/gstmessage.c:
4216 * tests/check/gst/gstminiobject.c: (my_foo_init):
4217 * tests/check/gst/gstobject.c: (thread_name_object),
4219 * tests/check/gst/gstpad.c:
4220 * tests/check/gst/gstplugin.c:
4221 * tests/check/gst/gstpoll.c:
4222 * tests/check/gst/gstquery.c:
4223 * tests/check/gst/gstsegment.c:
4224 * tests/check/gst/gststructure.c:
4225 * tests/check/gst/gstsystemclock.c:
4226 * tests/check/gst/gsttask.c:
4227 * tests/check/gst/gstutils.c:
4228 * tests/check/gst/gstvalue.c:
4229 * tests/check/gst/struct_hppa.h:
4230 * tests/check/gst/struct_i386.h:
4231 * tests/check/gst/struct_ppc32.h:
4232 * tests/check/gst/struct_ppc64.h:
4233 * tests/check/gst/struct_x86_64.h:
4234 * tests/check/libs/adapter.c: (create_and_fill_adapter):
4235 * tests/check/libs/basesrc.c:
4236 * tests/check/libs/controller.c: (GST_START_TEST):
4237 * tests/check/libs/gdp.c:
4238 * tests/check/libs/gstnetclientclock.c:
4239 * tests/check/libs/gstnettimeprovider.c:
4240 * tests/check/libs/libsabi.c:
4241 * tests/check/libs/struct_hppa.h:
4242 * tests/check/libs/struct_i386.h:
4243 * tests/check/libs/struct_ppc32.h:
4244 * tests/check/libs/struct_ppc64.h:
4245 * tests/check/libs/struct_x86_64.h:
4246 * tests/check/pipelines/cleanup.c:
4247 * tests/check/pipelines/simple-launch-lines.c:
4248 * tests/check/pipelines/stress.c:
4249 And correct even more valid sparse warnings.
4251 * win32/common/libgstreamer.def:
4252 Add gst_poll_fd_init to the list of symbols.
4254 2008-02-29 Sebastian Dröge <slomo@circular-chaos.org>
4256 * gst/gstconfig.h.in:
4257 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_read_buffer):
4258 * libs/gst/check/gstcheck.c: (gst_check_log_message_func),
4259 (gst_check_log_critical_func), (gst_check_drop_buffers),
4260 (gst_check_element_push_buffer_list):
4261 * libs/gst/controller/gstcontroller.c: (gst_controller_get),
4262 (gst_controller_get_type):
4263 * libs/gst/controller/gsthelper.c: (gst_object_control_properties),
4264 (gst_object_get_controller), (gst_object_get_control_source):
4265 * libs/gst/controller/gstinterpolationcontrolsource.c:
4266 (gst_interpolation_control_source_new):
4267 * libs/gst/controller/gstlfocontrolsource.c:
4268 (gst_lfo_control_source_new):
4269 * libs/gst/dataprotocol/dataprotocol.c:
4270 (gst_dp_event_from_packet_0_2):
4271 * plugins/elements/gstfdsrc.c:
4272 * plugins/elements/gstmultiqueue.c:
4273 * plugins/elements/gsttee.c:
4274 * plugins/elements/gsttypefindelement.c:
4275 * plugins/indexers/gstfileindex.c: (_file_index_id_save_xml),
4276 (gst_file_index_add_association):
4277 * plugins/indexers/gstmemindex.c:
4278 * tests/benchmarks/gstpollstress.c: (mess_some_more):
4279 * tests/check/elements/queue.c: (setup_queue):
4280 * tests/check/gst/gstpipeline.c:
4281 * tests/check/libs/collectpads.c: (setup), (teardown),
4282 (gst_collect_pads_suite):
4283 * tests/examples/adapter/adapter_test.c:
4284 * tests/examples/metadata/read-metadata.c: (make_pipeline):
4285 * tests/examples/xml/createxml.c:
4286 * tests/examples/xml/runxml.c:
4287 * tools/gst-inspect.c:
4289 Correct all relevant warnings found by the sparse semantic code
4290 analyzer. This include marking several symbols static, using
4291 NULL instead of 0 for pointers, not using variable sized arrays
4292 on the stack, moving variable declarations to the beginning of
4293 a block and using "foo (void)" instead of "foo ()" for declarations.
4295 2008-02-29 Sebastian Dröge <slomo@circular-chaos.org>
4297 * plugins/elements/gstfdsink.c: (gst_fd_sink_update_fd):
4298 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
4299 Don't reset GstPollFDs, this is not necessary at all.
4301 * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
4302 (delayed_restart), (delayed_control):
4303 Use GST_POLL_FD_INIT.
4305 2008-02-29 Wim Taymans <wim.taymans@collabora.co.uk>
4307 * gst/gstpoll.c: (gst_poll_fd_init):
4311 * plugins/elements/gstfdsink.c: (gst_fd_sink_update_fd):
4312 Use some more init macros.
4314 2008-02-29 Wim Taymans <wim.taymans@collabora.co.uk>
4316 * plugins/elements/gstfdsink.c: (gst_fd_sink_start):
4317 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
4318 Use init macros and functions.
4320 2008-02-29 Wim Taymans <wim.taymans@collabora.co.uk>
4322 * docs/gst/gstreamer-sections.txt:
4323 * gst/gstpoll.c: (gst_poll_fd_init):
4325 Add INIT macro and _init method for initializing the GstPollFD.
4327 2008-02-28 Sebastian Dröge <slomo@circular-chaos.org>
4329 * plugins/elements/gstfdsink.c: (gst_fd_sink_start),
4330 (gst_fd_sink_update_fd):
4331 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
4332 * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
4333 (delayed_restart), (delayed_control):
4334 Initialize some uninitialized variables as spotted by valgrind.
4336 2008-02-28 Wim Taymans <wim.taymans@collabora.co.uk>
4338 * tests/benchmarks/Makefile.am:
4339 * tests/benchmarks/gstpollstress.c: (mess_some_more), (run_test),
4341 Add poll stress test.
4343 2008-02-28 Wim Taymans <wim.taymans@collabora.co.uk>
4345 Patch by: Peter Kjellerstedt <pkj at axis dot com>
4347 * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
4348 (gst_fd_sink_start), (gst_fd_sink_stop), (gst_fd_sink_unlock),
4349 (gst_fd_sink_unlock_stop), (gst_fd_sink_update_fd):
4350 * plugins/elements/gstfdsink.h:
4351 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
4352 (gst_fd_src_start), (gst_fd_src_stop), (gst_fd_src_unlock),
4353 (gst_fd_src_unlock_stop), (gst_fd_src_create),
4354 (gst_fd_src_uri_set_uri):
4355 * plugins/elements/gstfdsrc.h:
4356 Port to GstPoll. See #505417.
4358 2008-02-27 Jan Schmidt <jan.schmidt@sun.com>
4360 * win32/common/libgstreamer.def:
4361 Add new gst_poll_ symbols to win32 defs.
4363 2008-02-27 Wim Taymans <wim.taymans@collabora.co.uk>
4365 * docs/libs/gstreamer-libs-sections.txt:
4366 * libs/gst/net/gstnetclientclock.c:
4367 (gst_net_client_clock_class_init), (gst_net_client_clock_init),
4368 (gst_net_client_clock_finalize), (gst_net_client_clock_do_select),
4369 (gst_net_client_clock_thread), (gst_net_client_clock_start),
4370 (gst_net_client_clock_stop), (gst_net_client_clock_new):
4371 * libs/gst/net/gstnetclientclock.h:
4372 * libs/gst/net/gstnettimeprovider.c:
4373 (gst_net_time_provider_class_init), (gst_net_time_provider_init),
4374 (gst_net_time_provider_finalize), (gst_net_time_provider_thread),
4375 (gst_net_time_provider_start), (gst_net_time_provider_stop),
4376 (gst_net_time_provider_new):
4377 * libs/gst/net/gstnettimeprovider.h:
4378 Use a private stuct to not break ABI.
4380 2008-02-27 Wim Taymans <wim.taymans@collabora.co.uk>
4382 Patch by: Peter Kjellerstedt <pkj at axis dot com>
4384 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_init),
4385 (gst_net_client_clock_finalize), (gst_net_client_clock_do_select),
4386 (gst_net_client_clock_thread), (gst_net_client_clock_start),
4387 (gst_net_client_clock_stop), (gst_net_client_clock_new):
4388 * libs/gst/net/gstnetclientclock.h:
4389 * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_init),
4390 (gst_net_time_provider_finalize), (gst_net_time_provider_thread),
4391 (gst_net_time_provider_start), (gst_net_time_provider_stop),
4392 (gst_net_time_provider_new):
4393 * libs/gst/net/gstnettimeprovider.h:
4394 Massive code removal and cleanups because of GstPoll.
4397 2008-02-27 Wim Taymans <wim.taymans@collabora.co.uk>
4400 Add checks for poll, ppoll and pselect.
4402 * docs/gst/gstreamer-docs.sgml:
4403 * docs/gst/gstreamer-sections.txt:
4404 Add docs for GstPoll.
4408 * gst/gstpoll.c: (find_index), (selectable_fds),
4409 (pollable_timeout), (choose_mode), (pollfd_to_fd_set),
4410 (fd_set_to_pollfd), (gst_poll_new), (gst_poll_free),
4411 (gst_poll_set_mode), (gst_poll_get_mode),
4412 (gst_poll_add_fd_unlocked), (gst_poll_add_fd),
4413 (gst_poll_remove_fd), (gst_poll_fd_ctl_write),
4414 (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_ctl_read),
4415 (gst_poll_fd_has_closed), (gst_poll_fd_has_error),
4416 (gst_poll_fd_can_read_unlocked), (gst_poll_fd_can_read),
4417 (gst_poll_fd_can_write), (gst_poll_wait),
4418 (gst_poll_set_controllable), (gst_poll_restart),
4419 (gst_poll_set_flushing):
4421 Add generic poll abstraction. We ideally don't want to have this in core
4422 here but in glib intead...
4423 This code will be used in various network elements and ultimately for
4424 the nanosecond precision monotonic clock (that's why it's here in core).
4425 It'll allow us to implement cancelable socket operations for windows too.
4427 * tests/check/Makefile.am:
4428 * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
4429 (delayed_stop), (delayed_restart), (delayed_flush),
4430 (delayed_control), (gst_poll_suite):
4431 Add GstPoll unit test.
4433 2008-02-25 Tim-Philipp Müller <tim at centricular dot net>
4436 Improve documentation of gst_filter_run(). Fixes #518627.
4438 2008-02-23 Tim-Philipp Müller <tim at centricular dot net>
4441 Add a few lines about the new 'check-inspected-versions' target.
4443 2008-02-21 Stefan Kost <ensonic@users.sf.net>
4445 * tests/check/gst/gstevent.c:
4446 Add qos to the event test. Rename tcase/tsuite; is not only about
4449 2008-02-21 Stefan Kost <ensonic@users.sf.net>
4451 * plugins/elements/gstqueue.c:
4452 Ensure that buffer metadata is writeable, before modifying. Spotted by
4455 2008-02-20 Stefan Kost <ensonic@users.sf.net>
4457 * plugins/elements/gstqueue.c:
4458 * plugins/elements/gstqueue.h:
4459 When dropping buffers in leaky modes, mark next buffers we sent as
4462 2008-02-20 Tim-Philipp Müller <tim at centricular dot net>
4464 * plugins/elements/gstfilesrc.c: (gst_file_src_map_region):
4465 Also, if mmap() fails that would be a READ error, not OPEN_READ.
4467 2008-02-20 Tim-Philipp Müller <tim at centricular dot net>
4469 * plugins/elements/Makefile.am:
4470 * plugins/elements/gstbufferstore.c:
4471 * plugins/elements/gstbufferstore.h:
4472 * plugins/elements/gsttypefindelement.h:
4473 Remove GstBufferStore, no idea why we were still building it.
4474 It's not used anywhere and superseded by GstAdapter.
4476 * plugins/elements/gstfilesrc.c: (gst_file_src_map_region),
4477 (gst_file_src_create_mmap):
4478 * plugins/indexers/gstfileindex.c: (gst_file_index_add_association):
4479 Printf format fixes for 64-bit integers.
4481 2008-02-19 Sebastian Dröge <slomo@circular-chaos.org>
4484 Don't set GST_CACHE_DIR and allow to set it by a configure parameter.
4485 We're not in 0.8 times anymore.
4487 2008-02-19 Jan Schmidt <Jan.Schmidt@sun.com>
4489 * libs/gst/check/gstcheck.c: (gst_check_drop_buffers),
4490 (gst_check_element_push_buffer_list):
4491 * libs/gst/check/gstcheck.h:
4492 Make the declaration in the header for
4493 gst_check_element_push_buffer_list match the implementation.
4495 Fix up spelling, grammar and wording of the documentation in a few
4496 places, and add the Since keyword to new API functions.
4497 Use g_list_delete_link instead of g_list_remove in
4498 gst_check_drop_buffers, since it's immeasurably more efficient.
4500 * tests/check/elements/fakesrc.c: (GST_START_TEST):
4501 Use new gst_check_drop_buffers function where appropriate.
4503 * win32/common/libgstbase.def:
4504 * win32/common/libgstreamer.def:
4505 Add new symbols gst_collect_pads_take_buffer,
4506 gst_collect_pads_read_buffer, gst_index_set_resolver_full to the
4509 Changelog surgery to add API keyword to new gst_check API.
4511 2008-02-19 Sebastian Dröge <slomo@circular-chaos.org>
4513 * gst/parse/lex._gst_parse_yy.pre.c: (yy_get_next_buffer),
4514 (_gst_parse_yyensure_buffer_stack), (_gst_parse_yylex_init_extra):
4515 Update pre-generated flex files with flex 2.3.34.
4517 2008-02-19 Sebastian Dröge <slomo@circular-chaos.org>
4519 * gst/gstminiobject.c:
4520 Add FIXME for 0.11 to make GstMiniObjectClass::copy() a bit more
4521 friendly to subclasses and not require them to know all internals
4522 of their parent class.
4524 2008-02-15 Stefan Kost <ensonic@users.sf.net>
4526 * docs/libs/gstreamer-libs-sections.txt:
4527 * libs/gst/base/gstcollectpads.c:
4528 * libs/gst/base/gstcollectpads.h:
4529 Add sub-buffer functions to collectpads. Fixes #516187.
4530 API: gst_collect_pads_take_buffer(), gst_collect_pads_read_buffer()
4532 2008-02-15 Stefan Kost <ensonic@users.sf.net>
4535 Copy selected buffer-flags when creating subbuffers.
4538 2008-02-12 Sebastian Dröge <slomo@circular-chaos.org>
4540 * gst/gstbuffer.c: (gst_buffer_class_init), (gst_buffer_finalize):
4541 * gst/gstevent.c: (gst_event_class_init), (gst_event_finalize):
4542 * gst/gstmessage.c: (gst_message_class_init),
4543 (gst_message_finalize):
4544 * gst/gstquery.c: (gst_query_class_init), (gst_query_finalize):
4545 * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_class_init),
4546 (gst_mmap_buffer_finalize):
4547 Properly chain up finalize functions to the parent class.
4549 2008-02-11 Wim Taymans <wim.taymans@collabora.co.uk>
4551 Patch by: Siavash Safi <siavash dot safi at gmail dot com>
4553 * gst/gstindex.c: (gst_index_finalize), (gst_index_set_resolver),
4554 (gst_index_set_resolver_full):
4556 Add new function with option to dispose of user_data in resolver.
4557 Actually call the dispose function when finalizing the object and not
4558 just when changing the resolver/filter.
4559 API: GstIndex::gst_index_set_resolver_full()
4561 * docs/gst/gstreamer-sections.txt:
4562 Add new function to docs. Fixes #515469.
4564 2008-02-11 Sebastian Dröge <slomo@circular-chaos.org>
4566 * gst/gstindex.c: (gst_index_finalize):
4567 Chain up finalize to the parent class. Fixes leaking the GstObject
4568 name and other things.
4570 2008-02-08 Jan Schmidt <jan.schmidt@sun.com>
4573 Make DISABLE_DEPRECATED defined *only* during CVS, not during
4574 pre-releases or releases.
4576 * docs/faq/gst-uninstalled:
4579 * docs/random/release:
4580 Change one of the steps - we only upload core & base to Gnome FTP
4582 2008-02-06 Stefan Kost <ensonic@users.sf.net>
4584 * gst/gstconfig.h.in:
4585 Add 'id' for example.
4589 * plugins/elements/gstfdsink.c:
4590 Link to signals. Doc and comment fixes.
4592 2008-02-05 Tim-Philipp Müller <tim at centricular dot net>
4594 * gst/gstpad.h: (GST_PAD_LINK_SUCCESSFUL):
4595 * gst/gstpluginfeature.h: (GstPluginFeatureClass):
4596 Some minor docs fixes: fix typo, mention that GST_FLOW_RESEND is
4597 unused and unimplemented; finally, it is plugin features, not
4598 plugins, that have ranks.
4600 2008-02-05 Stefan Kost <ensonic@users.sf.net>
4602 * gst/gstpluginfeature.h:
4603 Clarify GstRank range docs.
4605 2008-02-05 David Schleef <ds@schleef.org>
4607 * gst/gst.c: Add a separate gst_deinitialized that prevents
4608 gst_init() from being called after gst_deinit(). Fixes #509559
4610 2008-02-05 Sebastian Dröge <slomo@circular-chaos.org>
4612 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_base_init),
4613 (gst_bin_class_init):
4614 * gst/gstelement.c: (gst_element_base_class_init),
4615 (gst_element_class_add_pad_template):
4616 * gst/gstpadtemplate.c: (gst_pad_template_init):
4617 * gst/gstpipeline.c: (gst_pipeline_get_type),
4618 (gst_pipeline_base_init), (gst_pipeline_class_init):
4619 * libs/gst/base/gstbasesink.c:
4620 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type),
4621 (gst_base_src_base_init), (gst_base_src_class_init):
4622 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init),
4623 (gst_capsfilter_class_init):
4624 * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init),
4625 (gst_fake_sink_class_init):
4626 * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init),
4627 (gst_fake_src_class_init):
4628 * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init),
4629 (gst_fd_sink_class_init):
4630 * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init),
4631 (gst_fd_src_class_init):
4632 * plugins/elements/gstfilesink.c: (gst_file_sink_base_init),
4633 (gst_file_sink_class_init):
4634 * plugins/elements/gstfilesrc.c: (gst_file_src_base_init),
4635 (gst_file_src_class_init):
4636 * plugins/elements/gstidentity.c: (gst_identity_base_init),
4637 (gst_identity_class_init):
4638 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
4639 (gst_multi_queue_class_init):
4640 * plugins/elements/gstqueue.c: (gst_queue_base_init),
4641 (gst_queue_class_init):
4642 * plugins/elements/gsttee.c: (gst_tee_base_init),
4643 (gst_tee_class_init):
4644 * plugins/elements/gsttypefindelement.c:
4645 (gst_type_find_element_base_init),
4646 (gst_type_find_element_class_init):
4647 * tests/check/gst/gstelement.c: (gst_element_suite):
4648 Revert previous changes to the behaviour of GstPadTemplates, etc
4649 and the possiblity to call them in class_init as it breaks too
4650 many elements. Reopens bug #491501.
4652 Should be applied again for 0.11, thus added a few FIXME 0.11 at
4655 2008-02-05 Stefan Kost <ensonic@users.sf.net>
4657 * tools/gst-launch.c:
4658 Dump one graph per pipeline state-change and state change name
4659 (if GST_DEBUG_DUMP_DOT_DIR is set).
4661 2008-02-04 Thijs Vermeir <thijsvermeir@gmail.com>
4664 * tests/check/gst/gstpad.c:
4665 Be sure that we have a new copy of the caps and not
4666 reffed caps from a template
4668 2008-02-03 Sebastian Dröge <slomo@circular-chaos.org>
4670 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
4671 * gst/gstpipeline.c: (gst_pipeline_get_type),
4672 (gst_pipeline_class_init):
4673 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
4674 (gst_base_sink_class_init):
4675 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type),
4676 (gst_base_src_class_init):
4677 * libs/gst/base/gstbasetransform.c: (gst_base_transform_get_type),
4678 (gst_base_transform_class_init):
4679 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
4680 (gst_collect_pads_class_init):
4681 * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type):
4682 * libs/gst/net/gstnettimeprovider.c:
4683 (gst_net_time_provider_base_init),
4684 (gst_net_time_provider_class_init):
4685 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init),
4686 (gst_capsfilter_class_init):
4687 * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init),
4688 (gst_fake_sink_class_init):
4689 * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init),
4690 (gst_fake_src_class_init):
4691 * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init),
4692 (gst_fd_sink_class_init):
4693 * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init),
4694 (gst_fd_src_class_init):
4695 * plugins/elements/gstfilesink.c: (gst_file_sink_base_init),
4696 (gst_file_sink_class_init):
4697 * plugins/elements/gstfilesrc.c: (gst_file_src_base_init),
4698 (gst_file_src_class_init):
4699 * plugins/elements/gstidentity.c: (gst_identity_base_init),
4700 (gst_identity_class_init):
4701 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
4702 (gst_multi_queue_class_init):
4703 * plugins/elements/gstqueue.c: (gst_queue_base_init),
4704 (gst_queue_class_init):
4705 * plugins/elements/gsttee.c: (gst_tee_base_init),
4706 (gst_tee_class_init):
4707 * plugins/elements/gsttypefindelement.c:
4708 (gst_type_find_element_base_init),
4709 (gst_type_find_element_class_init):
4710 Don't use base_init where not absolutely necessary. For example it's
4711 not necessary anymore for adding pad templates or setting element
4714 Leave empty base_init functions in several places as GST_BOILERPLATE
4715 still defines and uses them.
4717 2008-02-03 Sebastian Dröge <slomo@circular-chaos.org>
4719 * gst/gstelement.c: (gst_element_base_class_init),
4720 (gst_element_class_add_pad_template):
4721 * gst/gstpadtemplate.c:
4722 Make it possible (and recommended) to set element details and add
4723 pad templates in the class_init functions by copying the details/pad
4724 templates in GstElement's base_init.
4726 Also make it possible to replace existing pad templates by adding
4727 a new one with the same name. This was done in a hackish fashion
4728 in same elements before already.
4730 Don't reference pad templates that are added a second time. A
4731 new pad template has a refcount of one and is not floating anymore
4732 and to be owned by the element's class. Make this more explicit by
4733 mentioning it in the docs of gst_element_class_add_pad_template().
4735 These changes are backwards compatible. Fixes bug #491501.
4737 * tests/check/gst/gstelement.c:
4738 Add unit test for setting element details, adding pad templates and
4739 replacing them in a subclass.
4741 2008-02-02 Sebastian Dröge <slomo@circular-chaos.org>
4743 * tools/gst-inspect.c: (print_interfaces),
4744 (print_element_properties_info), (print_pad_info),
4745 (print_signal_info), (print_element_info):
4746 Fix a few memory leaks.
4748 2008-02-01 Thijs Vermeir <thijsvermeir@gmail.com>
4750 * docs/libs/gstreamer-libs-sections.txt:
4751 * libs/gst/check/gstcheck.c:
4752 * libs/gst/check/gstcheck.h:
4753 Add more functions for unit testing: gst_check_drop_buffers,
4754 gst_check_caps_equal, gst_check_element_push_buffer_list,
4755 gst_check_element_push_buffer
4756 API: gst_check_drop_buffers
4757 API: gst_check_caps_equal
4758 API: gst_check_element_push_buffer_list
4759 API: gst_check_element_push_buffer
4761 2008-02-01 Julien Moutte <julien@fluendo.com>
4763 * docs/gst/gstreamer-sections.txt: Add GST_CHECK_VERSION to the docs
4764 * gst/gstindex.c: (gst_index_class_init), (gst_index_free_writer),
4765 (gst_index_finalize), (gst_index_entry_free),
4766 (gst_index_add_association): Fix memory leaks.
4767 * gst/gstversion.h.in: Add GST_CHECK_VERSION macro.
4768 * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init),
4769 (gst_mem_index_free_format), (gst_mem_index_free_id),
4770 (gst_mem_index_finalize): Fix memory leaks.
4771 * win32/common/config.h: Updated to CVS HEAD.
4773 2008-02-01 Stefan Kost <ensonic@users.sf.net>
4776 Some more details about how the plugin docs works.
4778 * docs/plugins/gstreamer-plugins-sections.txt:
4781 2008-02-01 Stefan Kost <ensonic@users.sf.net>
4783 * gst/parse/grammar.tab.pre.c:
4784 * gst/parse/grammar.tab.pre.h:
4785 * gst/parse/grammar.y:
4786 * gst/parse/lex._gst_parse_yy.pre.c:
4787 Add delayed set-property. This allows to set properties on dynamicaly
4788 created objects (pads in videomxer). Fixes #509391.
4790 2008-02-01 Thijs Vermeir <thijsvermeir@gmail.com>
4793 Check if caps are not NULL (fix bug #510194)
4795 2008-02-01 Wim Taymans <wim.taymans@collabora.co.uk>
4797 * libs/gst/base/gstbasesink.c: (gst_base_sink_loop),
4798 (gst_base_sink_get_position_paused):
4799 Add fixme regarding EOS in pull mode.
4800 Fix position reporting in PAUSED for negative rates.
4802 2008-02-01 Wim Taymans <wim.taymans@collabora.co.uk>
4804 * gst/gstminiobject.c: (gst_mini_object_replace):
4805 When replacing a miniobject, do a quick equality check first so that we
4806 can avoid a ref/unref pair.
4808 2008-02-01 Wim Taymans <wim.taymans@collabora.co.uk>
4810 * docs/design/part-synchronisation.txt:
4813 * docs/plugins/Makefile.am:
4814 * docs/plugins/gstreamer-plugins-docs.sgml:
4815 * docs/plugins/gstreamer-plugins-sections.txt:
4816 * plugins/elements/gstmultiqueue.c:
4817 Add multiqueue to the docs.
4819 2008-01-30 Jan Schmidt <jan.schmidt@sun.com>
4824 === release 0.10.17 ===
4826 2008-01-30 Jan Schmidt <jan.schmidt@sun.com>
4829 releasing 0.10.17, "Due Negligence"
4831 2008-01-30 Jan Schmidt <jan.schmidt@sun.com>
4834 Revert caps != NULL check temporarily for 0.10.17 release.
4836 2008-01-30 Thijs Vermeir <thijsvermeir@gmail.com>
4839 Check if caps are not NULL (fix bug #510194)
4841 2008-01-30 Jan Schmidt <jan.schmidt@sun.com>
4844 Fix compilation on systems that have posix timers but no
4847 Patch By: Cygwin Ports maintainer <yselkowitz at users dot sourceforge
4850 2008-01-30 Jan Schmidt <jan.schmidt@sun.com>
4852 * tools/gst-inspect.c:
4853 Revert previous commit in preparation for an impromptu 0.10.17 release
4855 2008-01-29 Sebastian Dröge <slomo@circular-chaos.org>
4857 * tools/gst-inspect.c: (print_interfaces),
4858 (print_element_properties_info), (print_pad_info),
4859 (print_signal_info), (print_element_info):
4860 Fix a few memory leaks.
4862 2008-01-28 Jan Schmidt <jan.schmidt@sun.com>
4867 === release 0.10.16 ===
4869 2008-01-28 Jan Schmidt <thaytan@noraisin.net>
4872 releasing 0.10.16, "Special Dispensation"
4874 2008-01-24 Tim-Philipp Müller <tim at centricular dot net>
4877 Use AC_TRY_COMPILE instead of AC_TRY_RUN to check for
4878 _POSIX_TIMER, _POSIX_MONOTONIC_CLOCK, etc. Makes configure
4879 not fail when trying to crosscompile on OpenEmbedded (#511750).
4881 2008-01-20 Sebastian Dröge <slomo@circular-chaos.org>
4884 Use $(MAKE) instead of make to fix the build if GNU make is
4885 called different. Fixes bug #510747.
4887 2008-01-20 Tim-Philipp Müller <tim at centricular dot net>
4889 * gst/gstplugin.c: (_gst_plugin_initialize):
4890 Fix old-style static plugins via GST_PLUGIN_DEFINE_STATIC
4891 again, which I broke two commits ago when changing the API
4892 of gst_plugin_register_static(): the g_list_foreach() in
4893 _gst_plugin_register_static still assumed the old function
4894 signature and would therefore fail (re-fixes #510187).
4896 * gst/gstplugin.c: (_num_static_plugins), (_static_plugins),
4897 (_gst_plugin_register_static), (gst_plugin_register_static):
4898 Revert the (technically correct) change to call g_thread_init() from
4899 the pre-main() constructor. This will break programs which call
4900 g_thread_init() without an if (!g_thread_supported()) guard in their
4901 main function. We could just blame it on GLib or the application, but
4902 it's probably best to just avoid this altogether and simply not use
4903 any GLib functions here and use plain old malloc() with a simple
4904 array to store the plugins to register later when gst_init() is
4905 finally called (re-fixes #510187).
4907 * tests/check/gst/gstplugin.c: (GST_GNUC_CONSTRUCTOR_DEFINED),
4908 (GST_GNUC_CONSTRUCTOR_DEFINED), (plugin_init_counter),
4909 (plugin1_init), (plugin2_init), (plugin3_init), (GST_START_TEST),
4910 (GST_START_TEST), (gst_plugin_suite):
4911 Dumb unit test to make sure the old GST_PLUGIN_DEFINE_STATIC still
4914 2008-01-17 Tim-Philipp Müller <tim at centricular dot net>
4916 * gst/gstplugin.h: (GST_PLUGIN_DEFINE_STATIC):
4917 Remove deprecation guards around GST_PLUGIN_DEFINE_STATIC.
4918 This makes gtk-doc complain, but results in slightly better
4919 compiler errors. The old _gst_plugin_register_static() is
4920 still guarded, so there'll be a compiler warning about that
4921 instead. Fixes #510187 too.
4923 2008-01-17 Tim-Philipp Müller <tim at centricular dot net>
4925 * gst/gst.c: (init_post):
4926 * gst/gstplugin.c: (_gst_plugin_register_static),
4927 (gst_plugin_register_static), (_gst_plugin_initialize):
4928 * gst/gstplugin.h: (GstPluginFilter):
4929 Change API of gst_plugin_register_static() to not take
4930 a GstPluginDesc, but rather just take all the arguments
4931 in a GstPluginDesc directly. This is more intuitive and
4932 avoids certain mistakes when porting code from
4933 GST_PLUGIN_DEFINE_STATIC to gst_plugin_register_static().
4936 * tests/check/gst/gstplugin.c:
4937 Fix up for changed API.
4939 2008-01-17 Thomas Vander Stichele <thomas at apestaart dot org>
4941 * docs/faq/legal.xml:
4942 Update FAQ, Totem actually has an exception these days.
4944 2008-01-14 Jan Schmidt <jan.schmidt@sun.com>
4946 * win32/common/libgstreamer.def:
4947 Add new API declarations
4949 2008-01-14 Stefan Kost <ensonic@users.sf.net>
4951 * gst/gstminiobject.c:
4952 Spelling fixes for the API docs.
4954 2008-01-14 Stefan Kost <ensonic@users.sf.net>
4956 * libs/gst/base/gstbasetransform.c:
4957 Fix long property description for QoS.
4959 2008-01-12 Jan Schmidt <Jan.Schmidt@sun.com>
4962 _gst_trace_on is already provided by gsttrace.h, no need to declare
4965 * docs/libs/gstreamer-libs-sections.txt:
4966 Add 'buffers', 'check_cond' and 'check_mutex' from libgstcheck
4967 and remove strange tcase_add_test which is outputting a warning.
4969 * libs/gst/check/gstcheck.c:
4970 * libs/gst/check/gstcheck.h:
4971 Properly declare 'buffers', 'check_cond', 'check_mutex' extern
4972 and define them in gstcheck.c instead of having every .c file whcih
4973 includes gstcheck.h be defining its own copy and relying on symbol
4974 interposing to marry them all, which doesn't work on Solaris.
4976 * tests/check/elements/identity.c: (GST_START_TEST):
4977 Don't define 'buffers' locally, it comes from libgstcheck.
4979 * tests/check/generic/sinks.c: (send_buffer):
4980 Fix type of variable (GstFlowReturn, not GstStateChangeReturn)
4982 * tests/check/gst/gststructure.c: (GST_START_TEST):
4983 * tests/check/gst/gstsystemclock.c: (GST_START_TEST):
4984 * tests/check/gst/gstutils.c: (GST_START_TEST):
4985 * tests/check/gst/gstvalue.c: (GST_START_TEST):
4986 Add a bunch of casts to make various constants fit the types
4987 they're being assigned to.
4989 2008-01-10 Stefan Kost <ensonic@users.sf.net>
4991 * gst/gstchildproxy.c:
4992 Improve docs and add some ideas for making this more general-purpose.
4994 2008-01-10 Tim-Philipp Müller <tim at centricular dot net>
4996 * gst/gst_private.h: (GST_CAT_TYPES):
4997 Add GST_CAT_TYPES, for consistency, and so that the other
4998 debug categories don't make fun of it. Spotted by Saur on IRC.
5000 2008-01-10 Sebastian Dröge <slomo@circular-chaos.org>
5002 * gst/parse/Makefile.am:
5003 Move types.h from EXTRA_DIST to noinst_HEADERS.
5005 2008-01-10 Sebastian Dröge <slomo@circular-chaos.org>
5008 Add -Wno-portability to the automake parameters to stop warnings
5009 about GNU make extensions being used. We require GNU make in almost
5010 every Makefile anyway.
5013 Use AM_PROG_CC_C_O as a compiler that accepts both -c and -o
5014 at the same time is required for per target flags.
5016 2008-01-09 Tim-Philipp Müller <tim at centricular dot net>
5019 Include glib/gmacros.h for G_BEGIN_DECLS. Check if
5020 __GNUC__ is defined before using it.
5022 2008-01-09 Tim-Philipp Müller <tim at centricular dot net>
5024 * docs/gst/gstreamer-sections.txt:
5025 * gst/gst.c: (init_post):
5026 * gst/gstplugin.c: (_gst_plugin_register_static),
5027 (gst_plugin_register_static), (_gst_plugin_initialize),
5028 (gst_plugin_register_func):
5029 * gst/gstplugin.h: (GST_PLUGIN_DEFINE_STATIC):
5030 API: add gst_plugin_register_static() and deprecate
5031 GST_PLUGIN_DEFINE_STATIC, since it's not portable
5033 Also, in _gst_plugin_register_static(), make sure to call
5034 g_thread_init() before calling GLib functions such as
5035 g_list_append() if we're not initialised yet, since that
5036 may lead to random crashes with older GSlice/GLib versions.
5038 * tests/check/gst/gstplugin.c:
5039 Adapt unit test to above changes.
5041 2008-01-09 Tim-Philipp Müller <tim at centricular dot net>
5043 * gst/gst_private.h: (STRUCTURE_ESTIMATED_STRING_LEN):
5044 * gst/gstcaps.c: (gst_caps_to_string):
5045 * gst/gststructure.c: (GST_ASCII_IS_STRING),
5046 (priv_gst_structure_append_to_gstring), (gst_structure_to_string):
5047 Yet another gratuitous GString micro-optimisation: add a (private)
5048 function that serialises a structure appending to an existing
5049 GString, so that when we serialise caps we don't need to alloc+free
5050 a throwaway GString for each structure (each of which also entailing
5051 multiple reallocs on the way); also use g_string_sized_new() in
5052 various places with an approximate string length to avoid reallocs
5053 within GString. See #500143.
5055 2008-01-09 Tim-Philipp Müller <tim at centricular dot net>
5057 * gst/gststructure.c: (gst_structure_id_set_value):
5058 Always check UTF-8 conformance of structure strings and not only
5059 if the debugging system is enabled; reasoning: the behaviour of
5060 the actual code shouldn't really change depending on whether the
5061 debugging system is enabled or not (#508291).
5063 2008-01-09 Stefan Kost <ensonic@users.sf.net>
5066 Remove old coverage target in favour of "make lcov".
5068 2008-01-09 Wim Taymans <wim.taymans@collabora.co.uk>
5070 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
5071 (gst_base_src_loop):
5072 The start segment for reverse playback goes from start to last_stop.
5074 2008-01-09 Wim Taymans <wim.taymans@collabora.co.uk>
5076 Patch by: Peter Kjellerstedt <pkj axis com>
5079 Cast the results from the timeval/spec_to_time macros to what the
5080 docs say it casts to, a GstClockTime. fixes #508175.
5082 2008-01-09 Wim Taymans <wim.taymans@collabora.co.uk>
5085 Update some comments.
5087 * tools/gst-inspect.c: (print_element_properties_info):
5088 Improve printing of flags.
5090 2008-01-08 Tim-Philipp Müller <tim at centricular dot net>
5092 * libs/gst/base/gstbasetransform.c:
5093 (gst_base_transform_transform_size):
5094 Print element name with g_warning() if there's a problem
5097 2008-01-07 David Schleef <ds@schleef.org>
5099 Patch by: Damien Lespiau <damien.lespiau@gmail.com>
5101 * libs/gst/controller/gstcontroller.h:
5102 * libs/gst/controller/gstcontrolsource.h:
5103 * libs/gst/controller/gstinterpolationcontrolsource.h:
5104 * libs/gst/controller/gstlfocontrolsource.h:
5105 * libs/gst/dataprotocol/dataprotocol.h:
5106 Fix empty prototypes. Fixes bug #507957.
5108 2008-01-07 David Schleef <ds@schleef.org>
5110 * docs/faq/dependencies.xml: Fix typo.
5112 2008-01-07 Wim Taymans <wim.taymans@collabora.co.uk>
5114 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_do_seek),
5115 (gst_base_src_loop):
5116 Don't update the last_stop position in do_seek, that's the position we
5118 Read backwards when we have a negative rate.
5120 * tests/check/elements/filesrc.c: (event_func), (wait_eos),
5121 (setup_filesrc), (cleanup_filesrc), (GST_START_TEST),
5123 Add check for reverse reading.
5125 2008-01-07 Tim-Philipp Müller <tim at centricular dot net>
5127 Patch by: Alexis Ballier <aballier at gentoo org>
5129 * tests/check/gst/gstabi.c:
5130 * tests/check/gst/struct_ppc64.h:
5131 * tests/check/libs/libsabi.c:
5132 * tests/check/libs/struct_ppc64.h:
5133 Decide which header to include based on the userland ABI target
5134 and not the kernel/cpu. Fix up structure sizes of ppc64 header
5135 for 64-bit userland (#503590). Might need something similar for
5138 2008-01-05 Tim-Philipp Müller <tim at centricular dot net>
5140 * gst/gstdebugutils.c: (_gst_debug_bin_to_dot_file):
5141 Log the reason why fopen fails in addition to the fact that it failed.
5143 2008-01-04 Sebastian Dröge <slomo@circular-chaos.org>
5145 * gst/parse/parse.l:
5146 Use "%option never-interactive" to prevent useless calls to isatty()
5147 on every input when parsing. Also use "%option noinput" to not define
5148 the static input/yyinput functions which we don't use anyway. This
5149 removes a compiler warning with gcc 4.3 and saves some bytes in the
5152 * gst/parse/lex._gst_parse_yy.pre.c:
5153 Regenerated for the above change.
5155 2008-01-04 Wim Taymans <wim.taymans@collabora.co.uk>
5157 * gst/gstpad.c: (fixate_value):
5158 Don't crash when trying to fixate and empty list.
5161 2008-01-03 Sebastian Dröge <slomo@circular-chaos.org>
5163 * docs/faq/gst-uninstalled:
5164 Clarify the comments to make the usage of this script and what it
5165 does easier to understand.
5167 2008-01-01 Thijs Vermeir <thijsvermeir@gmail.com>
5169 * tools/gst-plot-timeline.py:
5170 Add more options to gst-plot-timeline
5172 2007-12-31 Wim Taymans <wim.taymans@collabora.co.uk>
5174 * docs/design/part-synchronisation.txt:
5175 Some more info on how the stream_time in GstBaseSink is done.
5177 2007-12-30 Tim-Philipp Müller <tim at centricular dot net>
5179 * tests/check/generic/sinks.c: (gst_sinks_suite):
5180 Put back the tcase_set_timeout(), apparently it's needed after
5181 all; fix it up in a way that makes things work with valgrind too.
5183 2007-12-30 Thijs Vermeir <thijsvermeir@gmail.com>
5185 * gst/gstdebugutils.c:
5186 Add warning when failed to open file for writing.
5188 2007-12-28 Tim-Philipp Müller <tim at centricular dot net>
5190 Based on patch by: Laurent Glayal <spglegle yahoo fr>
5192 * gst/gstvalue.c: (gst_value_is_fixed):
5193 Optimisation: bail out of the loop as early as possible (#500143).
5195 2007-12-28 Tim-Philipp Müller <tim at centricular dot net>
5197 * gst/gstcaps.c: (gst_caps_to_string):
5198 * gst/gstinfo.c: (gst_debug_construct_term_color):
5199 * gst/gstparse.c: (gst_parse_launchv):
5200 * gst/gstutils.c: (gst_util_dump_mem):
5201 * gst/gstvalue.c: (gst_value_serialize_any_list),
5202 (gst_value_transform_any_list_string):
5203 Bunch of gratuitous nano-optimisations.
5205 2007-12-28 Tim-Philipp Müller <tim at centricular dot net>
5207 * tests/check/generic/sinks.c: (async_done_func),
5208 (async_done_eos_func):
5209 Fix leak in unit test (bus sync handler must unref the message
5210 if it returns GST_BUS_DROP). Don't fiddle with the default test
5211 timeout, this is smaller than the current preconfigured value
5212 via CK_DEFAULT_TIMEOUT, and also breaks things with valgrind
5213 because it overrides the value specified in CK_DEFAULT_TIMEOUT.
5215 2007-12-24 Wim Taymans <wim.taymans@collabora.co.uk>
5217 Based on Patch by: Laurent Glayal <spglegle at yahoo dot fr>
5220 Check for stdio_ext.h for the filesink changes.
5222 * plugins/elements/gstfilesink.c: (buffer_mode_get_type),
5223 (gst_file_sink_class_init), (gst_file_sink_init),
5224 (gst_file_sink_dispose), (gst_file_sink_set_property),
5225 (gst_file_sink_get_property), (gst_file_sink_open_file),
5226 (gst_file_sink_close_file):
5227 * plugins/elements/gstfilesink.h:
5228 Add two properties to control the buffering mode and size.
5229 API: GstFileSink::buffer-mode
5230 API: GstFileSink::buffer-size
5233 2007-12-24 Wim Taymans <wim.taymans@collabora.co.uk>
5235 * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked):
5236 Add some more docs to explain why a FIXME was wrongly added.
5238 2007-12-22 Sebastian Dröge <slomo@circular-chaos.org>
5241 Fix typo in the gst_object_{ref,unref} documentation.
5243 2007-12-21 Tim-Philipp Müller <tim at centricular dot net>
5245 * tests/check/libs/controller.c:
5246 * tests/check/libs/typefindhelper.c:
5247 * tests/check/pipelines/parse-launch.c:
5248 Don't use GST_PLUGIN_DEFINE_STATIC, it is not portable and is
5249 going to be deprecated (see #498924).
5251 2007-12-21 Tim-Philipp Müller <tim at centricular dot net>
5253 * gst/gsttypefind.c: (gst_type_find_register):
5254 Make gst_type_find_register work for static typefind functions,
5255 ie. allow passing plugin == NULL (prerequisite for #498924).
5257 * gst/gstelementfactory.c: (gst_element_register):
5258 Small docs addition.
5260 2007-12-21 Wim Taymans <wim.taymans@collabora.co.uk>
5262 * gst/gstpad.c: (gst_pad_dispose):
5263 Really unlink the peer pad instead of setting the peer pointer to NULL
5264 when we dispose the pad.
5265 This correctly calls the unlink functions and makes sure that the peer
5266 does not have a handle to invalid memory. See #504671.
5268 * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
5269 Add testsuite for above case.
5271 2007-12-20 Tim-Philipp Müller <tim at centricular dot net>
5273 Patch by: Peter Kjellerstedt <pkj axis com>
5275 * libs/gst/check/gstcheck.h:
5276 Fix detection of the check version we're compiling against (would
5277 otherwise break if check goes v0.10.0); correctly report the
5278 name of the failed test again in case of failure, instead of
5279 just 'tf' (fixes #504499).
5281 2007-12-19 Wim Taymans <wim.taymans@collabora.co.uk>
5283 * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event),
5284 (gst_base_src_get_range), (gst_base_src_pad_get_range),
5285 (gst_base_src_loop), (gst_base_src_set_flushing),
5286 (gst_base_src_change_state):
5287 Allow sending EOS to the source to make it send out an EOS event from
5288 the streaming thread.
5289 Update docs and deprecate the old NULL/READY shutdown method.
5291 * tests/check/libs/basesrc.c: (GST_START_TEST),
5292 (gst_basesrc_suite):
5293 Add unit test for controlled shutdown.
5295 2007-12-19 Wim Taymans <wim.taymans@collabora.co.uk>
5297 * docs/design/part-synchronisation.txt:
5300 * gst/gstsegment.c: (gst_segment_set_seek),
5301 (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
5302 (gst_segment_to_running_time):
5303 The seek format can be different from the segment format when the start
5304 and stop values are not to be updated, when we only do a rate change for
5307 * tests/check/gst/gstsegment.c: (GST_START_TEST),
5308 (gst_segment_suite):
5309 Add a testcase for the rate-only seeks, checking that the format is
5310 correctly ignored when start and stop are not updated.
5312 2007-12-18 Sebastian Dröge <slomo@circular-chaos.org>
5314 Patch by: Matthias Bolte <photon at mail dot upb dot de>
5316 * win32/vs8/grammar.vcproj:
5317 * win32/vs8/libgstcontroller.vcproj:
5318 * win32/vs8/libgstreamer.vcproj:
5319 Fix compilation with VS8 and include some missing files.
5321 2007-12-18 Tim-Philipp Müller <tim at centricular dot net>
5324 Small docs addition: mention that the strings returned by
5325 gst_tag_list_get_string*() are in UTF-8 encoding.
5327 2007-12-17 Tim-Philipp Müller <tim at centricular dot net>
5330 The check-exports stuff moved to common/win32.mak, so include that.
5332 2007-12-17 Wim Taymans <wim.taymans@collabora.co.uk>
5334 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
5335 (gst_base_src_perform_seek), (gst_base_src_get_range),
5336 (gst_base_src_set_playing), (gst_base_src_change_state):
5337 Make _wait_playing() not check any variables so that we can call this
5338 function from subclasses. Move the checks elsewhere similar to
5339 _wait_preroll() in basesink.
5341 Only signal the LIVE cond when we are going back to PLAYING.
5343 2007-12-16 Tim-Philipp Müller <tim at centricular dot net>
5345 * gst/gstregistrybinary.c: (gst_registry_binary_write_cache):
5346 Use g_remove() and g_rename(). Check result of g_rename(), and
5347 don't leak the open file descriptor if we error out when writing.
5349 * gst/gstregistryxml.c: (load_plugin), (gst_registry_xml_write_cache):
5350 Must check the return value of close() after writing out the new
5351 registry file. Sometimes write problems such as out-of-diskspace
5352 are only reported when the file is closed and not already during
5353 the write. This may have caused partial/broken registry files in
5354 some rare circumstances. Should fix #503675.
5356 2007-12-16 Edward Hervey <edward.hervey@collabora.co.uk>
5358 * docs/gst/.cvsignore:
5359 * docs/libs/.cvsignore:
5360 * docs/plugins/.cvsignore:
5361 Ignore files generated by new common/* modifications
5363 2007-12-15 Stefan Kost <ensonic@users.sf.net>
5365 * win32/common/libgstbase.def:
5366 Yes, you can also have a <TAB> if you want.
5368 2007-12-15 Stefan Kost <ensonic@users.sf.net>
5370 * win32/common/libgstbase.def:
5371 Add new basetransform API to win export file.
5373 2007-12-15 Stefan Kost <ensonic@users.sf.net>
5375 * tests/check/gst/gstbin.c:
5376 Adjust the test to the refcount change two days ago.
5378 2007-12-14 David Schleef <ds@schleef.org>
5380 * docs/faq/getting.xml: Fix typo.
5382 2007-12-14 Sebastian Dröge <slomo@circular-chaos.org>
5384 * docs/libs/gstreamer-libs-sections.txt:
5385 * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
5386 (gst_base_transform_prepare_output_buffer),
5387 (gst_base_transform_set_gap_aware):
5388 * libs/gst/base/gstbasetransform.h:
5389 API: Add gst_base_transform_set_gap_aware() to control whether
5390 the element correctly handles GST_BUFFER_FLAG_GAP or shouldn't
5391 get buffers with this flag at all. Fixes #503231.
5393 2007-12-13 Stefan Kost <ensonic@users.sf.net>
5395 * libs/gst/base/gstbasesink.c:
5396 * libs/gst/base/gstbasesrc.c:
5397 * libs/gst/base/gstbasetransform.c:
5398 Replace gst_pad_get_parent by GST_OBJECT_PARENT inside streaming
5399 thread. Correct log message in gstbasesrc.c.
5401 2007-12-13 Tim-Philipp Müller <tim at centricular dot net>
5403 * gst/gstutils.c: (element_find_unconnected_pad):
5404 Fix possible compiler warning (#503417).
5406 2007-12-13 Tim-Philipp Müller <tim at centricular dot net>
5408 * gst/gstobject.c: (gst_object_dispatch_properties_changed):
5409 Don't use GST_CAT_EVENT here for logging, it makes no sense.
5411 2007-12-13 Sebastian Dröge <slomo@circular-chaos.org>
5413 * tools/gst-inspect.c: (print_element_properties_info):
5414 Add support for GstFraction properties.
5416 2007-12-12 Tim-Philipp Müller <tim at centricular dot net>
5419 Add check-exports target and run it as part of 'make check'
5420 (see #499140 and #493983).
5422 * gst/gst_private.h:
5423 * gst/gstelementfactory.h:
5424 * gst/gstghostpad.c: (gst_proxy_pad_class_init):
5425 * gst/gstinfo.c: (_priv_gst_in_valgrind), (_gst_debug_init),
5426 (_priv_gst_in_valgrind):
5427 * gst/gstinfo.h: (GstLogFunction):
5428 * gst/gsttypefind.c: (type_find_debug), (GST_CAT_DEFAULT),
5429 (gst_type_find_register):
5430 * gst/gsttypefindfactory.c: (type_find_debug), (GST_CAT_DEFAULT),
5431 (gst_type_find_factory_get_type):
5432 * libs/gst/controller/gstcontroller.c: (GST_CAT_DEFAULT),
5433 (GST_CAT_DEFAULT), (parent_class), (priv_gst_controller_key),
5434 (gst_controller_new_valist), (gst_controller_new_list),
5435 (_gst_controller_dispose), (_gst_controller_class_init):
5436 * libs/gst/controller/gstcontrolsource.c: (GST_CAT_DEFAULT):
5437 * libs/gst/controller/gsthelper.c: (GST_CAT_DEFAULT),
5438 (GST_CAT_DEFAULT), (gst_object_uncontrol_properties),
5439 (gst_object_get_controller), (gst_object_set_controller),
5440 (gst_object_suggest_next_sync), (gst_object_sync_values),
5441 (gst_object_set_control_source), (gst_object_get_control_source),
5442 (gst_object_get_value_arrays), (gst_object_get_value_array),
5443 (gst_object_get_control_rate), (gst_object_set_control_rate):
5444 * libs/gst/controller/gstinterpolation.c: (GST_CAT_DEFAULT):
5445 * libs/gst/controller/lib.c: (GST_CAT_DEFAULT):
5446 Make some functions that should be static static; rename some
5447 private symbols so that they don't get exported; add some FIXME
5448 comments so we can move accidentally exported functions into
5449 our private section in 0.11.
5451 * win32/common/libgstreamer.def:
5452 Add gst_utils_get_timestamp().
5454 2007-12-12 Stefan Kost <ensonic@users.sf.net>
5458 Add more missing "Since:" tags to docs.
5460 2007-12-12 Stefan Kost <ensonic@users.sf.net>
5463 Add mising "Since:" to docs.
5465 2007-12-11 Stefan Kost <ensonic@users.sf.net>
5468 Include "glib-compat-private.h" to fix the build on system with
5469 glib < 2.10. Fixes #503131.
5471 2007-12-11 Stefan Kost <ensonic@users.sf.net>
5475 Actually its not PURE as it gets the time from elsewhere.
5477 2007-12-11 Stefan Kost <ensonic@users.sf.net>
5479 * docs/gst/gstreamer-sections.txt:
5481 * gst/gstdebugutils.c:
5485 * libs/gst/base/gstbasesink.c:
5486 * tools/gst-launch.c:
5487 Change GST_GET_TIMESTAMP into gst_util_get_timestamp and replace all
5488 uses as we don't have HAVE_POSIX_TIMERS in public headers.
5489 Thanks Tim for spotting.
5490 API: gst_util_get_timestamp
5492 2007-12-09 Sebastian Dröge <slomo@circular-chaos.org>
5495 Don't define GST_DISABLE_DEPRECATED for releases. Fixes #498181.
5497 2007-12-08 Tim-Philipp Müller <tim at centricular dot net>
5499 * gst/gststructure.c: (gst_structure_validate_name),
5500 (gst_structure_new_valist), (gst_structure_parse_value),
5501 (gst_structure_from_string):
5502 Don't crash in _from_string() if the structure name is not valid
5503 (fixes #501560). Allow structure names to start with a number
5504 again (this apparently broke the ubuntu codec installer).
5506 * tests/check/gst/gststructure.c: (GST_START_TEST), (GST_START_TEST),
5508 Add unit test for the crash; update unit tests for new behaviour.
5510 2007-12-03 Wim Taymans <wim.taymans@gmail.com>
5513 Clarify gst_element_get_compatible_pad() documentation.
5516 2007-12-02 Sebastian Dröge <slomo@circular-chaos.org>
5518 * tests/check/Makefile.am:
5519 Don't forget to dist {gst,libs}/struct_hppa.h.
5521 2007-11-28 Stefan Kost <ensonic@users.sf.net>
5523 * libs/gst/base/gstbasesink.c:
5524 Use new API to get elapsed time.
5526 2007-11-28 Stefan Kost <ensonic@users.sf.net>
5528 * gst/gstdebugutils.c:
5530 Fix wrong order of args in GST_CLOCK_DIFF() usage.
5532 * tools/gst-launch.c:
5533 Use new API to get elapsed time.
5535 2007-11-28 Stefan Kost <ensonic@users.sf.net>
5537 * docs/gst/gstreamer-sections.txt:
5539 * gst/gstdebugutils.c:
5541 Rename new API + ChangeLog surgery to remove old name from last entry..
5543 2007-11-28 Stefan Kost <ensonic@users.sf.net>
5545 * docs/gst/gstreamer-sections.txt:
5547 * gst/gstdebugutils.c:
5549 Now hide the different clock stuff behind a macro.
5551 2007-11-28 Stefan Kost <ensonic@users.sf.net>
5554 * gst/gstdebugutils.c:
5556 Apply the posix-timer check from #361155. Conditionally use the posix
5557 timer for logging. This gives better timestamp precission, less
5558 overhead and no ntp jitter.
5560 2007-11-28 Sebastian Dröge <slomo@circular-chaos.org>
5562 * gst/gstminiobject.c: (gst_mini_object_get_type),
5563 (gst_mini_object_class_init), (gst_mini_object_copy_default),
5564 (gst_mini_object_finalize), (gst_mini_object_copy),
5565 (gst_mini_object_is_writable), (gst_mini_object_make_writable),
5566 (gst_mini_object_replace), (param_mini_object_validate),
5567 (gst_param_spec_mini_object_get_type):
5568 Some cleanup and checking against invalid function parameters.
5570 2007-11-28 Wim Taymans <wim.taymans@gmail.com>
5572 * docs/gst/gstreamer-sections.txt:
5574 * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
5575 (gst_systemclock_suite):
5576 Start merging in the easy bits of #361155, the monotonic clock patch.
5577 This one adds a few handy macros with docs and a testsuite.
5579 2007-11-27 Wim Taymans <wim.taymans@gmail.com>
5581 * plugins/elements/gstfilesink.c: (gst_file_sink_event):
5582 Be a bit smarter when seeking, like, don't try to do a seek when it's
5583 not needed. This avoids errors when the file is not seekable.
5586 2007-11-26 Stefan Kost <ensonic@users.sf.net>
5588 * docs/gst/gstreamer-docs.sgml:
5589 * docs/gst/gstreamer-sections.txt:
5590 * docs/gst/gstreamer.types.in:
5595 * plugins/elements/gstqueue.c:
5596 Due to popular request remove preset interface again. :-(.
5598 2007-11-22 Stefan Kost <ensonic@users.sf.net>
5600 * tools/gst-inspect.c:
5601 Print 'default value' for enums and flags too.
5603 2007-11-22 Stefan Kost <ensonic@users.sf.net>
5605 * docs/random/ensonic/profiling.txt:
5609 Fix typo and give better log output.
5611 * gst/gstdebugutils.c:
5612 * gst/gstdebugutils.h:
5613 More ideas, make graphs a bit smaller and fix param name in macro.
5615 2007-11-22 Stefan Kost <ensonic@users.sf.net>
5618 Try harder to use the return value from fgets().
5620 2007-11-21 Stefan Kost <ensonic@users.sf.net>
5623 For theses two fgets we handle the error below.
5625 2007-11-21 Wim Taymans <wim.taymans@gmail.com>
5627 * libs/gst/base/gstbasesink.c: (gst_base_sink_send_event):
5628 Only send upstream events upstream. Fixes #498746.
5630 2007-11-21 Wim Taymans <wim.taymans@gmail.com>
5632 Patch by: Laurent Glayal <spglegle at yahoo dot fr>
5634 * plugins/elements/gstidentity.c: (gst_identity_class_init),
5635 (gst_identity_init), (gst_identity_transform_ip),
5636 (gst_identity_set_property), (gst_identity_get_property):
5637 * plugins/elements/gstidentity.h:
5638 Add property to disable handoff signal emission. Fixes #498694.
5639 API: GstIdentity::signal-handoffs
5641 2007-11-21 Julien Moutte <julien@fluendo.com>
5643 * docs/faq/gst-uninstalled: Yet another missing library for the
5644 uninstalled script (fft)
5646 2007-11-21 Jan Schmidt <jan.schmidt@sun.com>
5648 * docs/faq/developing.xml:
5649 Add a question about how to submit new translations.
5651 * docs/random/release:
5652 Update the contact email address for the Translation Project
5654 * plugins/elements/gstfdsrc.c:
5655 The parent_class for fdsrc is pushsrc, not GstElement.
5657 2007-11-20 Stefan Kost <ensonic@users.sf.net>
5660 Plug a leak and fix saving.
5662 2007-11-20 Sebastian Dröge <slomo@circular-chaos.org>
5664 * docs/gst/gstreamer-sections.txt:
5665 Add new gst_preset__get_property_names() function to the docs
5668 2007-11-20 Stefan Kost <ensonic@users.sf.net>
5672 Change _get_preset_names API to return a strv with copies. Add
5673 _get_property_names to allow implementations to filter and provide
5674 good default implementation.
5676 2007-11-20 Julien MOUTTE <julien@moutte.net>
5678 * docs/faq/gst-uninstalled: Add another library to the uninstalled
5681 2007-11-19 Stefan Kost <ensonic@users.sf.net>
5684 More cleanups, docs, and TODOs from comments that now slowly come in.
5686 2007-11-19 Julien MOUTTE <julien@moutte.net>
5688 * docs/faq/gst-uninstalled: Add new base libraries in the LD
5691 2007-11-19 Stefan Kost <ensonic@users.sf.net>
5694 Fix bogus warning and make the property type specific code more
5697 2007-11-19 Julien MOUTTE <julien@moutte.net>
5699 * gst/gstpreset.c: (gst_preset_default_create_preset): Make
5702 2007-11-19 Wim Taymans <wim.taymans@gmail.com>
5704 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
5705 (gst_bin_add_func), (gst_bin_remove_func),
5706 (gst_bin_change_state_func), (gst_bin_continue_func):
5707 Change email, cleanups add some more debug and comments.
5708 Also set bus and clock on new elements when the pipeline was in error.
5710 2007-11-18 Stefan Kost <ensonic@users.sf.net>
5713 * gst/gstdebugutils.c:
5714 Fix build with --disable-gst-debug. Fixes #497859.
5715 Spotted by Sameer Naik.
5717 2007-11-17 Stefan Kost <ensonic@users.sf.net>
5720 Little documentation improvment.
5723 More TODO cleanups. Remove c++ comments.
5725 * libs/gst/controller/gstcontroller.c:
5726 Add TODO and use quark from static string.
5728 * tests/check/gst/gstmessage.c:
5729 * tests/check/gst/gststructure.c:
5730 Use quark from static string.
5732 2007-11-17 Stefan Kost <ensonic@users.sf.net>
5735 Add some comments and TODOs.
5738 Add padding for future changes.
5740 * plugins/elements/gstqueue.c:
5741 Implement the iface.
5743 2007-11-17 Stefan Kost <ensonic@users.sf.net>
5745 * docs/gst/gstreamer-docs.sgml:
5746 * docs/gst/gstreamer-sections.txt:
5747 * docs/gst/gstreamer.types.in:
5752 Add the preset interface (Fixes #396779). Do some doc cleanups along.
5754 2007-11-16 Jan Schmidt <jan.schmidt@sun.com>
5760 === release 0.10.15 ===
5762 2007-11-15 Jan Schmidt <jan.schmidt@sun.com>
5765 releasing 0.10.15, "October"
5767 2007-11-14 Jan Schmidt <jan.schmidt@sun.com>
5769 * win32/vs6/libgstreamer.dsp:
5770 Convert line endings back to DOS.
5772 2007-11-13 Stefan Kost <ensonic@users.sf.net>
5774 * docs/design/draft-tagreading.txt:
5775 * docs/random/ensonic/profiling.txt:
5776 Update fast tagreading draft and performance profiling ideas.
5778 2007-11-09 Wim Taymans <wim.taymans@gmail.com>
5780 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_last_buffer):
5781 Don't hold the object lock when unreffing a buffer because it could
5782 cause a deadlock when the finalize function wants to grab the object
5783 lock too. Fixes #495133.
5785 2007-11-09 Wim Taymans <wim.taymans@gmail.com>
5787 * gst/gstsegment.c: (gst_segment_set_newsegment_full),
5788 (gst_segment_to_stream_time), (gst_segment_to_running_time):
5789 Also accumulate time correctly when doing reverse playback. Fixes
5791 When converting to running and stream time, use default values for
5792 start/stop/time/accum when comparing different formats. Fixes #494245.
5794 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
5795 Do running/stream time in TIME format.
5797 * tests/check/gst/gstsegment.c: (GST_START_TEST),
5798 (gst_segment_suite):
5799 2 new unit tests for segment accumulation.
5801 2007-11-07 Tim-Philipp Müller <tim at centricular dot net>
5803 * gst/gst.c: (init_pre):
5804 * gst/gstdebugutils.c: (priv_gst_dump_dot_dir), (debug_dump_element),
5805 (_gst_debug_bin_to_dot_file):
5806 Move getenv() back into gst_init, so everyone can live happily
5807 ever after. Make sure the symbol isn't exported though.
5809 2007-11-06 Tim-Philipp Müller <tim at centricular dot net>
5811 Patch by: Sebastien Moutte <sebastien moutte net>
5813 * win32/common/gstenumtypes.c:
5814 * win32/common/gstenumtypes.h:
5817 * win32/vs6/libgstreamer.dsp:
5818 Update vs6 project files (#494343).
5820 2007-11-06 Wim Taymans <wim.taymans@gmail.com>
5822 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query),
5823 (gst_base_src_perform_seek), (gst_base_src_default_event),
5824 (gst_base_src_set_flushing), (gst_base_src_activate_push),
5825 (gst_base_src_activate_pull):
5826 Unify flushing code, remove some old unlock code that is no longer used.
5827 Take the streaming lock when seeking to avoid races. Fixes #492729.
5828 Added some more comments.
5830 2007-11-06 Tim-Philipp Müller <tim at centricular dot net>
5832 * gst/gst.c: (_gst_disable_segtrap):
5833 Make _gst_disable_segtrap static, it's only used in gstplugin.c and
5834 we can use gst_segtrap_is_enabled() there now that we have that API.
5835 Move _gst_debug_dump_dot_dir into gstdebugutils.c, there's no reason
5836 to do the getenv here (and export the variable).
5838 * gst/gstdebugutils.c: (debug_dump_element),
5839 (_gst_debug_bin_to_dot_file), (_gst_debug_bin_to_dot_file_with_ts):
5840 Don't use VLAs which is a C99ism and throws off MSVC (#493983).
5842 * gst/gstinfo.c: (_priv_gst_info_start_time), (_gst_debug_init),
5843 (gst_debug_log_default):
5844 Rename _gst_info_start_time to priv_gst_info_start_time so it
5845 doesn't get exported (was never in any header).
5847 * gst/gstplugin.c: (_gst_plugin_fault_handler_setup),
5848 (gst_plugin_loading_mutex):
5849 Make static mutex gst_plugin_loading_mutex really static (was never
5850 in any header), and use gst_segtrap_is_enabled() instead of
5851 _gst_disable_segtrap.
5853 * gst/gsttrace.c: (_gst_trace_default):
5854 Make local _gst_trace_default static (was never in any header).
5856 2007-11-06 Tim-Philipp Müller <tim at centricular dot net>
5858 Patch by: Ole André Vadla Ravnås <ole.andre.ravnas@tandberg.com>
5860 * win32/common/libgstbase.def:
5861 * win32/common/libgstcontroller.def:
5862 * win32/common/libgstdataprotocol.def:
5863 * win32/common/libgstnet.def:
5864 * win32/common/libgstreamer.def:
5865 Add more missing symbols, remove some duplicates, and sort
5866 as the 'sort' command sorts it (partially fixes #493983).
5868 2007-11-06 Wim Taymans <wim.taymans@gmail.com>
5870 * gst/gstelement.c: (gst_element_set_state_func):
5871 Only change the state cookie if a different state was set on the
5872 element. See #492729.
5874 2007-11-06 Tim-Philipp Müller <tim at centricular dot net>
5877 Remove unused and uninitialised type variables that were still
5878 exported for some reason (they were never in any header files
5881 2007-11-06 Wim Taymans <wim.taymans@gmail.com>
5883 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
5884 (gst_base_sink_do_sync), (gst_base_sink_preroll_object),
5885 (gst_base_sink_event), (gst_base_sink_get_position_last),
5886 (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
5887 (gst_base_sink_change_state):
5888 Don't try to report a 0 position when we don't know, return -1 and FALSE
5889 instead. This mostly happens when we are prerolling.
5890 Make sure we can report the right position before we post the ASYNC_DONE
5891 message so that a message handler can query position without races.
5893 * tests/check/generic/sinks.c: (send_eos), (GST_START_TEST),
5894 (async_done_handoff), (async_done_func), (send_buffer),
5895 (async_done_eos_func), (gst_sinks_suite):
5896 Add two tests for the above.
5898 2007-11-06 Wim Taymans <wim.taymans@gmail.com>
5901 Update with new email address.
5903 * docs/design/part-TODO.txt:
5904 Add some more info about future pad-block and negotiation changes.
5906 * docs/design/part-buffering.txt:
5907 Add some ideas about buffering reporting.
5909 2007-11-06 Jan Schmidt <jan.schmidt@sun.com>
5911 * tests/check/gst/gstobject.c:
5912 Disable silly racy test that always fails on this combination of CPU
5915 2007-11-03 Tim-Philipp Müller <tim at centricular dot net>
5917 Patch by: Murray Cumming <murrayc@murrayc.com>
5920 Corrected the registration of the parent-set and parent-unset
5921 signals: The parameter is a GstObject, not a GObject (#493134).
5923 2007-11-02 Tim-Philipp Müller <tim at centricular dot net>
5925 * gst/gst_private.h:
5934 Move declaration of private _gst_foo_initialize() functions into
5935 our private header file where they should have been all along.
5937 2007-11-02 Tim-Philipp Müller <tim at centricular dot net>
5939 * docs/plugins/gstreamer-plugins-sections.txt:
5940 * gst/gstdebugutils.h:
5942 * plugins/elements/gstqueue.c:
5943 gtk-doc fixes; trailing-comma-in-enum fix.
5945 2007-11-02 Tim-Philipp Müller <tim at centricular dot net>
5947 * gst/gst.c: (gst_deinit):
5948 Clean up on deinit (not the external ones though, doesn't seem to be
5949 needed for some reason).
5951 2007-11-01 Tim-Philipp Müller <tim at centricular dot net>
5953 * gst/gstinfo.h: (GST_DEBUG_CATEGORY_EXTERN):
5954 Remove __declspec(dllimport) for MSVC that was copied over into core
5955 from a plugin, obviously without ever having been tested (note the
5956 single underscore in _declspec in the initial commit), and that doesn't
5957 really make sense. See #492077.
5959 2007-11-01 Tim-Philipp Müller <tim at centricular dot net>
5961 * gst/gst.c: (init_post):
5962 * gst/gstevent.c: (_gst_event_initialize):
5963 * gst/gstquery.c: (_gst_query_initialize):
5964 * libs/gst/dataprotocol/dataprotocol.c (gst_dp_init):
5965 g_type_class_ref() other types as well, see #349410 and #64764.
5967 * gst/gstbuffer.c: (_gst_buffer_initialize):
5968 * gst/gstmessage.c: (_gst_message_initialize):
5969 Simplify existing g_type_class_ref().
5971 2007-11-01 Tim-Philipp Müller <tim at centricular dot net>
5973 * gst/gstformat.c: (_gst_format_initialize):
5974 g_type_class_ref() our GstFormat type to make sure we avoid the
5975 thread-unsafe bits of the GObject/GType system, ie. bug #349410 and
5976 bug #64764. Should fix intermittent tee unit test failures (#474823).
5978 2007-11-01 Tim-Philipp Müller <tim at centricular dot net>
5980 * tests/check/elements/tee.c: (test_num_buffers):
5981 Simplify, simplify, simplify - or not. Rewrite unit test
5982 not to use gst_parse_launch(); allow N sub-streams. Increasing
5983 the number of sub-streams seems to reproduce #474823 more easily.
5985 2007-10-31 Tim-Philipp Müller <tim at centricular dot net>
5987 Patch by: Ole André Vadla Ravnås <ole.andre.ravnas@tandberg.com>
5990 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_new):
5991 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
5992 * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_new):
5993 Fix a couple of missing includes for MSVC2005 and a C99 issue. Also,
5994 starting with 2.14.0, GLib won't provide a pipe() macro any longer,
5995 so use _pipe() directly (#492077).
5997 * win32/common/dirent.c: (_treaddir):
5998 Add a couple of casts to make it build without warnings with MSVC.
6000 * win32/common/libgstreamer.def:
6001 Add some more symbols that need to be exported.
6003 2007-10-31 Tim-Philipp Müller <tim at centricular dot net>
6005 * tests/examples/metadata/read-metadata.c: (message_loop):
6006 Use _KEEP as merge mode rather than _KEEP_ALL, so tags
6007 arriving in a second or third tag message are added to
6008 the tag list as well.
6010 2007-10-31 Stefan Kost <ensonic@users.sf.net>
6012 * libs/gst/base/gstbasesrc.c:
6013 Its "Since:" and not "@Since:". And remove an superflous cast.
6015 2007-10-30 Wim Taymans <wim.taymans@gmail.com>
6017 * docs/libs/gstreamer-libs-sections.txt:
6018 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
6019 (gst_base_sink_get_last_buffer), (gst_base_sink_set_last_buffer),
6020 (gst_base_sink_get_property), (gst_base_sink_render_object),
6021 (gst_base_sink_preroll_object),
6022 (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
6023 (gst_base_sink_change_state):
6024 * libs/gst/base/gstbasesink.h:
6025 Add a new last-buffer property that contains the last buffer used in
6026 basesink for preroll or rendering. useful for making snapshots.
6027 API: gst_base_sink_get_last_buffer()
6028 API: GstBaseSink::last-buffer
6030 2007-10-29 Stefan Kost <ensonic@users.sf.net>
6032 * docs/gst/running.xml:
6034 * gst/gstdebugutils.c:
6035 * gst/gstdebugutils.h:
6036 * tools/gst-launch.c:
6037 Improve bin graph dumping, by using the envvar to specify a path.
6038 Rename the envvar to GST_DEBUG_DUMP_DOT_DIR.
6040 2007-10-29 Tim-Philipp Müller <tim at centricular dot net>
6042 * plugins/elements/gsttypefindelement.c:
6043 (gst_type_find_element_handle_event),
6044 (gst_type_find_element_activate):
6045 Post special error message if we can't determine the type of a stream
6048 2007-10-29 Stefan Kost <ensonic@users.sf.net>
6050 * docs/gst/running.xml:
6051 * gst/gstdebugutils.c:
6052 Document new env-var. Add one log-line after dumpng a graph.
6054 2007-10-26 Tim-Philipp Müller <tim at centricular dot net>
6057 Ugly hack to put the (recently removed and non-portable, apparently)
6058 -Wl,--export-dynamic back into libgstcheck's LDFLAGS when we're using
6059 GNU ld, because without that 'make check' fails miserably on my debian
6060 stable box. Someone with more knowledge of linker intricacies and
6061 portability issues than me fix this properly please.
6063 2007-10-25 Wim Taymans <wim.taymans@gmail.com>
6065 * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
6066 Reset last seen position after flushing so that we don't report the old
6069 2007-10-25 Jan Schmidt <Jan.Schmidt@sun.com>
6071 * gst/gstelementfactory.c: (gst_element_register):
6073 Patch from Alessandro Decina adding get_type_full and
6074 get_protocols_full private vfuncs to the URIHandler interface
6075 to allow bindings to support creating URI handlers.
6076 Partially fixes: #339279
6077 API: GstURIHandlerInterface::get_type_full
6078 API: GstURIHandlerInterface::get_protocols_full
6080 2007-10-25 Jan Schmidt <Jan.Schmidt@sun.com>
6082 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
6083 (gst_multi_queue_request_new_pad), (gst_single_queue_flush),
6084 (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push):
6085 Make it so that pads are considered linked until a buffer is pushed
6086 and discovered otherwise. This avoids problems with decodebin2 hanging
6087 after a seek in the filesrc ! decodebin2 name=d ! fakesink d. ! fakesink
6090 Make sure we lock the multiqueue when updating the max-size properties.
6092 Fix a crash on Solaris in a debug statement in get_request_pad that
6093 passes a NULL string to GST_DEBUG.
6095 * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
6096 (run_output_order_test):
6097 Fix the test to allow the first buffer on not-linked pads to come out
6098 of sequence while multiqueue discovers that they are not-linked.
6100 2007-10-25 Jan Schmidt <Jan.Schmidt@sun.com>
6103 * libs/gst/check/Makefile.am:
6104 Use a custom export symbol regex for libgstcheck, as it needs
6105 to export symbols that don't match the standard GStreamer gst_*
6106 pattern, and --export-dynamic is not portable (only works on
6109 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
6110 (gst_check_setup_sink_pad):
6111 Make sure to pass a message parameter to the fail_* macros.
6113 * tests/check/gst/gstinfo.c: (GST_START_TEST):
6114 Fix some compiler warnings.
6116 2007-10-25 Tim-Philipp Müller <tim at centricular dot net>
6118 * tests/check/gst/gststructure.c: (test_to_string):
6119 Disable test that checks that white spaces are not allowed
6120 in structure names or field names, since we need to
6121 support that for now for backwards compatibility reasons.
6123 2007-10-24 Tim-Philipp Müller <tim at centricular dot net>
6125 * docs/gst/gstreamer-sections.txt:
6128 API: add GST_TAG_ARTIST_SORTNAME
6129 API: add GST_TAG_ALBUM_SORTNAME
6130 API: add GST_TAG_TITLE_SORTNAME
6131 Add tag variants for sorting (#414539).
6133 2007-10-24 Tim-Philipp Müller <tim at centricular dot net>
6135 * gst/gststructure.c:
6136 Also allow white space for names so we don't break
6137 backwards compatibility.
6139 2007-10-22 Wim Taymans <wim.taymans@gmail.com>
6141 * docs/design/part-TODO.txt:
6142 * docs/design/part-segments.txt:
6143 * docs/design/part-streams.txt:
6146 2007-10-22 Edgard Lima <edgard.lima@indt.org.br>
6148 * docs/gst/gstreamer-sections.txt:
6149 Fixed documentation from my previous commit (added new API add
6150 gst_value_set_structure(), add gst_value_get_structure() and
6151 GST_VALUE_HOLDS_STRUCTURE).
6153 2007-10-22 Stefan Kost <ensonic@users.sf.net>
6155 * gst/gstdebugutils.c:
6156 Reflow code to fix uninitialized variable warning.
6158 2007-10-22 Edgard Lima <edgard.lima@indt.org.br>
6160 * gst/gstcaps.c: (gst_caps_to_string),
6161 (gst_caps_from_string_inplace):
6162 * gst/gststructure.c: (gst_structure_get_abbrs),
6163 (gst_structure_to_string), (gst_structure_from_string):
6164 * gst/gstvalue.c: (gst_value_set_structure),
6165 (gst_value_get_structure), (gst_value_serialize_structure),
6166 (gst_value_deserialize_structure), (_gst_value_initialize):
6168 * tests/check/gst/gststructure.c: (GST_START_TEST),
6169 (gst_structure_suite):
6170 * tests/check/gst/gstvalue.c: (GST_START_TEST):
6171 Added GstStructure to gst_value_table and its related functions.
6172 Changed gst_structure_to_string to print ';' in the end.
6173 Changed gst_caps_to_string to not print ';' beteween its
6174 fields (structures) anymore and remove the lastes ';' from latest
6175 structure. Now it is possible to have nested structures.
6176 In addition, backward compatibilty is assured by accepting '\0' as
6177 end delimiter. Fixes: #487969.
6178 API: add gst_value_set_structure()
6179 API: add gst_value_get_structure()
6180 API: add GST_VALUE_HOLDS_STRUCTURE
6182 2007-10-19 Tim-Philipp Müller <tim at centricular dot net>
6185 When no GSource callback has been set up, tell developer
6186 to use a function that actually exists.
6188 2007-10-17 Stefan Kost <ensonic@users.sf.net>
6190 * docs/gst/gstreamer-sections.txt:
6194 * gst/gstdebugutils.c:
6195 * gst/gstdebugutils.h:
6198 * tools/gst-launch.c:
6199 Allow dumping pipelines as dot graphs. Fixes #456573.
6201 2007-10-16 Tim-Philipp Müller <tim at centricular dot net>
6203 * gst/gststructure.c:
6204 Allow '+' as well, it can be part of media or mime types
6205 such as image/svg+xml.
6207 2007-10-16 Tim-Philipp Müller <tim at centricular dot net>
6209 * docs/gst/gstreamer-sections.txt:
6212 API: add gst_bus_pop_filtered
6213 API: add gst_bus_timed_pop_filtered
6214 Two new functions for waiting for specific message types on the
6215 bus for a specified amount of time without iterating any main
6216 loops or main contexts.
6218 * tests/check/gst/gstbus.c:
6219 Some tests for the new functions.
6221 2007-10-16 Tim-Philipp Müller <tim at centricular dot net>
6223 * docs/libs/gstreamer-libs-sections.txt:
6224 Make gtk-doc ignore stuff it should ignore.
6226 2007-10-16 Tim-Philipp Müller <tim at centricular dot net>
6228 * libs/gst/check/gstcheck.c:
6229 * libs/gst/check/gstcheck.h:
6230 Allow runtime selection of unit tests to run via the GST_CHECKS
6231 environment variable (test case function names, comma-separated).
6233 2007-10-16 Stefan Kost <ensonic@users.sf.net>
6235 * gst/gststructure.c:
6236 * tests/check/gst/gststructure.c:
6237 Revert serialisation change and constrain structure-names after
6238 consensus on irc. Update api documentation to reflect the change.
6240 2007-10-16 Stefan Kost <ensonic@users.sf.net>
6242 * gst/gststructure.c:
6243 Improve serialization and fix tests.
6245 * tests/check/gst/gststructure.c:
6246 Add another test that covers why I actually did the previous structure
6249 2007-10-15 Wim Taymans <wim.taymans@gmail.com>
6251 * tools/gst-inspect.c: (print_element_info):
6252 Don't crash when inspecting an element.
6254 2007-10-15 Tim-Philipp Müller <tim at centricular dot net>
6256 * tests/check/gst/gststructure.c:
6257 Add unit test for escaping of structure name when serialising
6258 and deserialising to/from strings.
6260 2007-10-15 Wim Taymans <wim.taymans@gmail.com>
6262 * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
6263 (gst_single_queue_new):
6264 * plugins/elements/gstqueue.c: (gst_queue_init),
6265 (gst_queue_push_one):
6266 Fix queue negotiation. If acceptcaps unconditionally returns TRUE,
6267 upstream is tricked into thinking it can suggest a format downstream
6268 while downstream does not support that format. The real problem is that
6269 core calls acceptcaps when pushing a buffer with new caps, for which we
6270 do a little workaround by setting the caps on the srcpad ourselves
6271 before pushing the buffer (until this is figured out). Fixes #486758.
6273 2007-10-15 Stefan Kost <ensonic@users.sf.net>
6275 * gst/gststructure.c:
6277 Add some more comments and debug output. Quote structure name to fix
6278 deserialisation of some strings.
6280 2007-10-15 Stefan Kost <ensonic@users.sf.net>
6283 Define GST_BUFFER_FLAG_GAP more strictly to enable optimizations based
6284 on it. Fix docs for GST_BUFFER_MALLOCDATA and GstBuffer.malloc_data.
6286 2007-10-15 Stefan Kost <ensonic@users.sf.net>
6288 * tools/gst-inspect.c:
6289 Save approx. 400 1 byte allocs when printing. Use API to acces element
6295 * tools/gst-xmlinspect.c:
6296 Use API to acces element details.
6298 2007-10-15 Stefan Kost <ensonic@users.sf.net>
6301 Fix some spelling errors.
6303 2007-10-14 Wim Taymans <wim.taymans@gmail.com>
6305 * gst/gstbin.c: (bin_handle_async_done):
6306 Correctly set the next state if all of our async children commited their
6307 state. This makes sure we can actually cancel the state change in
6308 progress. Fixes a regression in Rhythmbox when seeking.
6310 2007-10-13 Tim-Philipp Müller <tim at centricular dot net>
6313 Don't shadow local variable.
6316 Don't shadow global function name.
6318 2007-10-13 Tim-Philipp Müller <tim at centricular dot net>
6320 * gst/gstelementfactory.c:
6321 * gst/gstpluginfeature.c:
6322 * gst/gstpluginfeature.h:
6323 * gst/gstregistrybinary.c:
6324 * gst/gstregistryxml.c:
6325 * gst/gsttypefind.c:
6326 Use already-interned string for the private GstPluginFeature
6329 2007-10-10 Tim-Philipp Müller <tim at centricular dot net>
6331 * docs/libs/gstreamer-libs-sections.txt:
6332 Add new API to docs; fixes the build.
6334 2007-10-10 Wim Taymans <wim.taymans@gmail.com>
6336 Patch inspired by: Benoit Fouet <benoit dot fouet at purplelabs dot com>
6338 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_eos),
6339 (gst_base_sink_event):
6340 * libs/gst/base/gstbasesink.h:
6341 Add function to wait for EOS, subclasses can use this to correctly wait
6342 for devices to drain before performing the EOS logic. Fixes #485343.
6343 API: gst_base_sink_wait_eos()
6345 2007-10-10 Tim-Philipp Müller <tim at centricular dot net>
6348 Cast description string constants in GST_PLUGIN_DEFINE macros
6349 to a (gchar*) to make C++ code using these macros compile
6350 without warning with g++-4.2 (see #462737). Even if slightly
6351 ugly, this seems preferable to putting the description strings
6352 into the GLib quark table or making the structure member a
6353 const gchar * and doing casts in core code that allocs and
6354 frees these strings, or requiring a cast in the C++ code.
6356 2007-10-09 Tim-Philipp Müller <tim at centricular dot net>
6359 Use __FUNCTION__ instead of __PRETTY_FUNCTION__, it's silly
6360 to print the entire class/function signature into the log
6361 file for C++ code. This only affects C++ code, for C code
6362 everything remains the same.
6364 2007-10-09 Wim Taymans <wim.taymans@gmail.com>
6366 * gst/gstbin.c: (remove_from_queue):
6367 Work around a problem with pipelines containing (semi)loops until a
6368 proper, more complicated solution is ready. See #475455.
6370 2007-10-09 Tim-Philipp Müller <tim at centricular dot net>
6374 * gst/gstregistrybinary.c:
6375 * gst/gstregistryxml.c:
6376 Put more strings into the GLib quark table. No need to keep
6377 a hundred-something copies of identical version strings,
6378 license strings, package name strings and package origin
6381 2007-10-09 Tim-Philipp Müller <tim at centricular dot net>
6383 * docs/manual/advanced-dataaccess.xml:
6384 Don't imply that it's okay to unconditionally change
6385 buffer data or buffer metadata in a pad probe callback,
6386 and a bunch of other comments. Fixes #430031.
6388 2007-10-08 Tim-Philipp Müller <tim at centricular dot net>
6390 * win32/common/gstenumtypes.c:
6391 * win32/common/gstenumtypes.h:
6392 * win32/common/gstversion.h:
6393 Update generated files.
6395 2007-10-08 Tim-Philipp Müller <tim at centricular dot net>
6397 * docs/manual/advanced-autoplugging.xml:
6398 Prefix section with broken code with a warning (see #342432).
6400 2007-10-08 Tim-Philipp Müller <tim at centricular dot net>
6402 * docs/manual/appendix-integration.xml:
6403 * docs/manual/basics-init.xml:
6404 Call g_thread_init() before g_option_context_new() to
6405 avoid warnings. Spotted by Ritesh Khadgaray. Fixes #484225.
6407 2007-10-08 Wim Taymans <wim.taymans@gmail.com>
6409 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
6410 (gst_base_sink_queue_object_unlocked),
6411 (gst_base_sink_queue_object), (gst_base_sink_event),
6412 (gst_base_sink_needs_preroll), (gst_base_sink_chain_unlocked):
6413 When we received EOS and are waiting for when to post the EOS message,
6414 our state is prerolled and we should not return ASYNC.
6415 Reorganize some code paths to implement this behavior.
6417 * tests/check/generic/sinks.c: (send_eos), (GST_START_TEST),
6419 Add unit test to verify above EOS fix.
6421 2007-10-08 Wim Taymans <wim.taymans@gmail.com>
6423 * plugins/elements/gsttypefindelement.c:
6424 (gst_type_find_element_have_type), (gst_type_find_element_init),
6425 (gst_type_find_element_setcaps), (gst_type_find_element_chain):
6426 Move detecting the input caps of the sinkpad to the setcaps function.
6427 This allows us to update the output caps when we receive new input caps
6428 instead of always using the first detected caps.
6430 2007-10-08 Wim Taymans <wim.taymans@gmail.com>
6432 * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
6433 (gst_base_sink_get_position):
6434 Don't try to preroll non-async elements after a flush.
6435 Subtract latency form clock times when reporting position.
6437 2007-10-05 Wim Taymans <wim.taymans@gmail.com>
6439 * gst/gstpad.c: (gst_pad_pause_task):
6441 Small comment and documentation update.
6443 2007-10-05 Wim Taymans <wim.taymans@gmail.com>
6445 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
6446 (gst_base_src_set_live), (gst_base_src_is_live),
6447 (gst_base_src_query_latency), (gst_base_src_perform_seek),
6448 (gst_base_src_default_event), (gst_base_src_wait),
6449 (gst_base_src_do_sync), (gst_base_src_get_range),
6450 (gst_base_src_pad_get_range), (gst_base_src_loop),
6451 (gst_base_src_unlock), (gst_base_src_unlock_stop),
6452 (gst_base_src_set_flushing), (gst_base_src_set_playing),
6453 (gst_base_src_activate_push), (gst_base_src_activate_pull),
6454 (gst_base_src_change_state):
6455 Rework the locking of basesrc in a similar fashion to basesink. We
6456 basically have one lock (LIVE_LOCK) protecting the dataflow. This allows
6457 us to handle live sources and semi live ones much better.
6459 Fix unlocking when seeking, shutting down and pausing in live sources.
6461 2007-10-05 Wim Taymans <wim.taymans@gmail.com>
6463 * tests/check/pipelines/simple-launch-lines.c: (run_pipeline):
6464 Fix compilation again.
6466 2007-10-03 Stefan Kost <ensonic@users.sf.net>
6469 Use meaningful categories for the logs to clean the default one.
6471 2007-10-03 Stefan Kost <ensonic@users.sf.net>
6473 * tests/check/pipelines/cleanup.c:
6474 Print message name and not just number.
6476 2007-10-03 Stefan Kost <ensonic@users.sf.net>
6478 * docs/design/draft-tagreading.txt:
6479 Add some more thoughts.
6481 2007-10-03 Stefan Kost <ensonic@users.sf.net>
6483 * tests/check/pipelines/simple-launch-lines.c:
6484 Print message name and not just number.
6486 2007-10-03 Stefan Kost <ensonic@users.sf.net>
6488 * libs/gst/base/gsttypefindhelper.c:
6489 Speedup typefinding. This is work in progress (see #459862).
6491 2007-10-03 Stefan Kost <ensonic@users.sf.net>
6494 Fix docs that mention 'plugin_desc' instead of 'gst_plugin_desc'.
6495 Spotted by Josep Torra Valles <josep@fluendo.com>.
6497 2007-10-03 Tim-Philipp Müller <tim at centricular dot net>
6500 Fix up broken GST_CLOCK_FLAGS macro and GstClock docs. The flags
6501 field has moved to GstObject.
6503 2007-10-02 Wim Taymans <wim.taymans@gmail.com>
6505 * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync),
6506 (gst_base_src_get_range), (gst_base_src_change_state):
6507 Call unlock for live sources so that they can't get stuck in _create and
6508 produce a buffer before they are set back to PLAYING.
6510 2007-10-02 Edward Hervey <bilboed@bilboed.com>
6512 * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
6513 (gst_queue_locked_dequeue):
6514 Comment the segment-related code... in the PROPER function.
6515 See #482147 and my commit from yesterday.
6517 2007-10-01 Wim Taymans <wim.taymans@gmail.com>
6519 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
6520 Also initialize the counter that calculates the first timestamp on a
6521 buffer correctly for non-live sources.
6523 2007-10-01 Edward Hervey <bilboed@bilboed.com>
6525 * plugins/elements/gstqueue.c: (gst_queue_locked_dequeue):
6526 Disable code that's breaking the current-time-level reporting.
6529 2007-09-30 Sebastian Dröge <slomo@circular-chaos.org>
6531 * docs/gst/gstreamer-sections.txt:
6532 Add M_PI and IMPORT_SYMBOL to the private part of the GstInfo section
6533 as they shouldn't show up. Fixes the docs build.
6535 2007-09-29 Sebastien Moutte <sebastien@moutte.net>
6538 Add an explicit variable importation needed on VS6 (only for MSC_VER)
6539 Define M_PI which is used in files which are including gstinfo.h.
6540 VS6 includes doesn't define it.
6541 * win32/common/libgstbase.def:
6542 * win32/common/libgstcontroller.def:
6543 * win32/common/libgstreamer.def:
6544 Add new exported functions and variables.
6545 * win32/vs6/libgstcontroller.dsp:
6546 * win32/vs6/libgstreamer.dsp:
6547 Update the list of files to build.
6549 2007-09-28 Wim Taymans <wim.taymans@gmail.com>
6551 Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
6553 * plugins/elements/gstqueue.c: (update_time_level), (apply_buffer),
6554 (gst_queue_locked_dequeue), (gst_queue_handle_sink_event),
6555 (gst_queue_chain), (gst_queue_loop), (gst_queue_src_activate_push):
6556 Improve debugging. Fixes #480858.
6558 2007-09-28 Wim Taymans <wim.taymans@gmail.com>
6560 Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
6562 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
6563 First patch of code cleanups, use the macros and right arguments in the
6564 macros to signal and lock the queue. See #480858.
6566 2007-09-26 Wim Taymans <wim.taymans@gmail.com>
6568 * gst/gstbus.c: (poll_func):
6569 Improve debugging when dealing with _poll().
6571 2007-09-26 Tim-Philipp Müller <tim at centricular dot net>
6573 * gst/gstregistryxml.c:
6574 Fix memory leak I introduced a few days ago.
6576 2007-09-26 Michael Smith <msmith@fluendo.com>
6578 * gst/gstbuffer.c: (gst_buffer_finalize):
6579 Make it once again possible to free GstBuffers in the default
6581 The poisoning scribbles on parts of the miniobject we need in
6585 2007-09-25 Tim-Philipp Müller <tim at centricular dot net>
6587 * docs/gst/gstreamer-sections.txt:
6590 API: add GST_TAG_COMPOSER, fixes #459809.
6592 2007-09-24 Sebastian Dröge <slomo@circular-chaos.org>
6596 Add the 3-clause BSD license and the MIT/X11 license to the license
6597 list. Fixes #479784.
6599 2007-09-24 Tim-Philipp Müller <tim at centricular dot net>
6601 * docs/faq/getting.xml:
6602 Add Q+A about different GStreamer versions (#364056).
6604 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
6606 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
6607 (gst_base_sink_event), (gst_base_sink_change_state):
6608 Return correct gboolean from query function.
6610 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
6612 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
6613 (gst_base_sink_event), (gst_base_sink_query),
6614 (gst_base_sink_change_state):
6615 Simplify latency query.
6616 When not synchronizing, we can report latency without querying the peer
6619 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
6623 Fix small typos in the docs.
6625 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
6627 * docs/design/draft-latency.txt:
6628 * docs/design/draft-push-pull.txt:
6629 * docs/design/draft-tagreading.txt:
6630 * docs/design/part-MT-refcounting.txt:
6631 * docs/design/part-activation.txt:
6632 * docs/design/part-block.txt:
6633 * docs/design/part-element-source.txt:
6634 * docs/design/part-events.txt:
6635 * docs/design/part-gstbin.txt:
6636 * docs/design/part-gstelement.txt:
6637 * docs/design/part-gstobject.txt:
6638 * docs/design/part-gstpipeline.txt:
6639 * docs/design/part-messages.txt:
6640 * docs/design/part-preroll.txt:
6641 * docs/design/part-push-pull.txt:
6642 * docs/design/part-qos.txt:
6643 * docs/design/part-query.txt:
6644 * docs/design/part-scheduling.txt:
6645 * docs/design/part-seeking.txt:
6646 * docs/design/part-segments.txt:
6647 * docs/design/part-states.txt:
6648 Documentation updates and typo fixes.
6650 2007-09-23 Tim-Philipp Müller <tim at centricular dot net>
6652 * plugins/elements/gstfakesink.c:
6653 Add some debug text to error message to indicate that
6654 we errored out on request.
6656 * tools/gst-launch.c:
6657 When the state change to PLAYING fails, check for an
6658 error message on the bus and print it.
6660 2007-09-22 Thomas Vander Stichele <thomas at apestaart dot org>
6662 translated by: Jorge González González <aloriel@gmail.com>
6666 Added Spanish translation.
6668 2007-09-21 Wim Taymans <wim.taymans@gmail.com>
6670 * plugins/elements/gstqueue.c: (gst_queue_push_one):
6671 Fix printf arguments.
6673 2007-09-20 Stefan Kost <ensonic@users.sf.net>
6675 * tests/check/generic/states.c:
6676 Improved state change unit test.
6678 2007-09-20 Stefan Kost <ensonic@users.sf.net>
6681 Move priv to the right place.
6683 * gst/gstsystemclock.c:
6684 Add FIXME: and improve log.
6686 * tests/check/Makefile.am:
6687 * tests/examples/manual/Makefile.am:
6688 Work with all types of registries.
6690 2007-09-19 Wim Taymans <wim.taymans@gmail.com>
6692 * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
6693 Don't unref the event after pushing it. Fixes #478401.
6695 2007-09-19 Stefan Kost <ensonic@users.sf.net>
6698 * tests/examples/manual/.cvsignore:
6699 Ignore registries in any format.
6701 2007-09-19 Tim-Philipp Müller <tim at centricular dot net>
6703 * gst/glib-compat-private.h:
6704 Add compatibility macro for g_intern_string() for
6705 GLib-2.8 (any reason we can't just bump the
6706 requirement to at least 2.10?)
6708 * gst/gstpadtemplate.h:
6709 * gst/gstelementfactory.c:
6710 * gst/gstregistryxml.c:
6711 * gst/gstregistrybinary.c:
6712 Make GstStaticPadTemplate's templ_name field a const gchar * and fix
6713 up the internal code accordingly. This shouldn't be a problem, since
6714 there is no reason external code could ever assume the string in such
6715 a structure is dynamically allocated unless it did that itself; the
6716 use of g_strdup() is private to element factories. The new code also
6717 saves some memory by putting pad template name strings into the GLib
6718 quark table instead of allocating them dynamically.
6719 Declaring this field constant fixes warnings with g++-4.2 when using
6720 the GST_STATIC_PAD_TEMPLATE macro in c++ code (#478092).
6722 2007-09-19 Stefan Kost <ensonic@users.sf.net>
6724 * gst/gstelementfactory.c:
6725 Release static caps. Fixes #475723.
6727 2007-09-18 Tim-Philipp Müller <tim at centricular dot net>
6731 Make some internal API take const gchar * instead of just
6732 gchar * to avoid compiler warnings with g++-4.2.2 when
6733 passing string constants (partially fixes #478092).
6735 2007-09-17 Wim Taymans <wim.taymans@gmail.com>
6737 * gst/gstbin.c: (bin_query_latency_fold), (gst_bin_query):
6738 A latency query fails when one of the sinks fail.
6740 * gst/gstelement.c: (gst_element_set_base_time):
6743 2007-09-17 Jan Schmidt - Sun Microsystems <jan.schmidt@sun.com>
6745 * gst/gstbin.c: (gst_bin_continue_func):
6746 * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
6747 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad_full):
6748 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_loop):
6750 Fix minor compilation warnings shown with Forte.
6752 2007-09-17 Wim Taymans <wim.taymans@gmail.com>
6754 * plugins/elements/gstqueue.c: (apply_buffer),
6755 (gst_queue_locked_enqueue), (gst_queue_locked_dequeue):
6756 Measure queue level based on the diff between head and tail timestamps
6757 even when pushing the first buffer.
6759 2007-09-14 Wim Taymans <wim.taymans@gmail.com>
6761 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
6762 (gst_base_sink_event), (gst_base_sink_change_state):
6763 Sinks that don't preroll can always be queried for the latency.
6764 Don't post ASYNC start when we are not async.
6766 2007-09-14 Wim Taymans <wim.taymans@gmail.com>
6768 * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
6769 (gst_queue_handle_sink_event), (gst_queue_chain),
6770 (gst_queue_push_one), (gst_queue_handle_src_query),
6771 (gst_queue_sink_activate_push), (gst_queue_src_activate_push):
6772 * plugins/elements/gstqueue.h:
6773 When downstream returns UNEXPECTED from pushing a buffer, don't try to
6774 push more buffers but allow pushing of EOS and NEWSEGMENT.
6775 Add some more debug info here and there. Fixes #476514.
6777 2007-09-14 Wim Taymans <wim.taymans@gmail.com>
6779 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
6780 (gst_base_sink_preroll_queue_flush), (gst_base_sink_commit_state),
6781 (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
6782 (gst_base_sink_set_flushing), (gst_base_sink_query),
6783 (gst_base_sink_change_state):
6784 Latency query is allowed after we are prerolled. Introduce a new flag
6785 for this and stop abusing other variables.
6787 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
6789 * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
6790 Push OOB events downstream when we get them in send_event. This allows
6791 the application to insert events in the pipeline.
6792 Add some more comments.
6794 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
6796 * gst/gstbin.c: (gst_bin_class_init), (clear_queue),
6797 (do_bin_latency), (gst_bin_change_state_func):
6798 * gst/gstpipeline.c: (gst_pipeline_change_state):
6799 Move latency query from GstPipeline to GstBin so that we can also
6800 use it when async-handling is enabled on bins.
6802 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
6804 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
6805 (gst_base_src_do_sync), (gst_base_src_change_state):
6807 Clean up the timestamping and syncing code for pseudo live sources.
6809 2007-09-13 Tim-Philipp Müller <tim at centricular dot net>
6811 Patch by: Steve Fink <sphink gmail com>
6813 * docs/manual/appendix-checklist.xml:
6814 Mention less -R switch in the section about debug output (#474055).
6816 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
6818 * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
6819 Queue can latency to the pipeline up to the configured max size in time.
6820 Report this fact in the latency query.
6822 2007-09-13 Sebastian Dröge <slomo@circular-chaos.org>
6824 Patch by: Sebastien Moutte <sebastien at moutte dot net>
6826 * libs/gst/controller/gstinterpolation.c:
6827 * libs/gst/controller/gstlfocontrolsource.c:
6828 Use gst_guint64_to_gdouble() when converting from a uint64 or
6829 GstClockTime to double to fix the build on win32. Fixes #474371.
6831 2007-09-13 Sebastian Dröge <slomo@circular-chaos.org>
6833 * gst/gstbuffer.c: (gst_buffer_finalize):
6834 Implement poisoning for GstBuffer if --enable-poisoning is specified.
6835 When finalizing a buffer the complete struct is filled with 0xff,
6836 thus making a use of the buffer after the final unref impossible.
6838 2007-09-13 Sebastian Dröge <slomo@circular-chaos.org>
6840 * tests/check/libs/controller.c: (GST_START_TEST):
6841 Use fail_unless_equals_int(a, b) instead of
6842 fail_unless_equals (a == b) to get better output on failures.
6844 2007-09-12 Tim-Philipp Müller <tim at centricular dot net>
6846 * tests/check/gst/gsturi.c:
6847 Also check for the other file URI variant on win32.
6849 2007-09-12 Tim-Philipp Müller <tim at centricular dot net>
6851 * gst/gsturi.c: (gst_uri_get_location):
6852 If there's no hostname, we want to return 'c:/foo/bar.txt'
6853 and not '/c:/foo/bar.txt' on Windows. Fixes #469402.
6855 * tests/check/gst/gsturi.c:
6856 Unit test for the above and a few more things.
6858 2007-09-11 Wim Taymans <wim.taymans@gmail.com>
6860 * docs/design/part-live-source.txt:
6861 Add docs on how live sources should timestamp.
6863 * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
6864 Add some more debug info.
6865 For subclasses that are live and like to sync, add aditional startup
6866 latency to sync time and timestamps so that we timstamp according to the
6869 2007-09-11 Tim-Philipp Müller <tim at centricular dot net>
6872 Also do a g_type_class_ref() for the subbuffer type in
6875 2007-09-11 Wim Taymans <wim.taymans@gmail.com>
6877 * docs/gst/gstreamer-sections.txt:
6878 * gst/gstpad.c: (gst_pad_peer_query):
6880 Add function to perform a query on the peer of a pad.
6881 API: gst_pad_peer_query()
6883 2007-09-11 Stefan Kost <ensonic@users.sf.net>
6885 * tests/check/gst/gstsystemclock.c:
6886 Cleanup the test a little (use gst-logging and not g_message). Improve
6887 test to check if a wait reached the target.
6889 2007-09-11 Tim-Philipp Müller <tim at centricular dot net>
6891 * docs/libs/gstreamer-libs-sections.txt:
6892 Add new API to docs and fix the build.
6894 2007-09-10 Wim Taymans <wim.taymans@gmail.com>
6896 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
6897 (gst_base_src_init), (gst_base_src_set_do_timestamp),
6898 (gst_base_src_get_do_timestamp), (gst_base_src_set_property),
6899 (gst_base_src_get_property), (gst_base_src_do_sync):
6900 * libs/gst/base/gstbasesrc.h:
6901 Add property to make the basesrc timestamp buffers based on the current
6903 API: GstBaseSrc::do-timestamp
6904 API: gst_base_src_set_do_timestamp()
6905 API: gst_base_src_get_do_timestamp()
6907 2007-09-08 Tim-Philipp Müller <tim at centricular dot net>
6909 * docs/random/release:
6910 Really make sure translations are up-to-date before
6911 a release (#465010).
6913 2007-09-07 Sebastian Dröge <slomo@circular-chaos.org>
6915 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
6916 Always destroy the timer, also in error cases.
6918 2007-09-05 Wim Taymans <wim.taymans@gmail.com>
6920 * docs/manual/highlevel-xml.xml:
6921 Fix XML example code. Fixes #472714.
6923 2007-09-05 Wim Taymans <wim.taymans@gmail.com>
6925 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
6926 (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
6927 (gst_base_sink_query):
6928 Protect eos and have_preroll with the OBJECT lock so we don't need to
6929 take the PREROLL lock when querying the latency. Fixes #473846.
6931 2007-09-05 Stefan Kost <ensonic@users.sf.net>
6934 Give some log-messages a category.
6936 2007-09-04 Wim Taymans <wim.taymans@gmail.com>
6938 * gst/gststructure.c:
6939 (gst_structure_fixate_field_nearest_fraction):
6940 Fix fraction list fixation code. Take the fraction with the smallest
6941 difference with the target instead of the first one in the list.
6943 * tests/check/gst/gststructure.c: (GST_START_TEST),
6944 (gst_structure_suite):
6945 Added test to verify correct fraction list fixation behaviour.
6947 2007-09-02 Tim-Philipp Müller <tim at centricular dot net>
6949 * win32/common/libgstreamer.def:
6950 Export gst_bus_add_signal_watch too.
6952 2007-08-30 Wim Taymans <wim.taymans@gmail.com>
6954 * docs/libs/gstreamer-libs-sections.txt:
6955 Add new methods to docs.
6957 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
6958 (gst_base_sink_init), (gst_base_sink_set_ts_offset),
6959 (gst_base_sink_get_ts_offset), (gst_base_sink_set_property),
6960 (gst_base_sink_get_property), (gst_base_sink_wait_clock):
6961 * libs/gst/base/gstbasesink.h:
6962 Add ts-offset property to fine-tune the synchronisation.
6963 API: GstBaseSink::ts-offset property
6964 API: gst_base_sink_set_ts_offset()
6965 API: gst_base_sink_get_ts_offset()
6967 2007-08-29 Wim Taymans <wim.taymans@gmail.com>
6969 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
6970 (gst_base_sink_init), (gst_base_sink_set_sync),
6971 (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
6972 (gst_base_sink_get_max_lateness), (gst_base_sink_set_qos_enabled),
6973 (gst_base_sink_is_qos_enabled), (gst_base_sink_set_async_enabled),
6974 (gst_base_sink_is_async_enabled), (gst_base_sink_set_property),
6975 (gst_base_sink_get_property), (gst_base_sink_change_state):
6976 * libs/gst/base/gstbasesink.h:
6977 Add async property to instruct the sink never to inform the parent about
6978 ASYNC state changes, update docs.
6979 Check argument with g_return_* for the public functions.
6980 API: GstBaseSink::async property
6981 API: gst_base_sink_set_async_enabled()
6982 API: gst_base_sink_is_async_enabled()
6984 2007-08-28 Wim Taymans <wim.taymans@gmail.com>
6986 * libs/gst/base/gstbasesink.c: (gst_base_sink_loop):
6989 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
6990 (gst_base_src_default_query), (gst_base_src_wait),
6991 (gst_base_src_do_sync), (gst_base_src_change_state):
6992 Rearrange some code so that we can add support for measuring the
6995 2007-08-27 Stefan Kost <ensonic@users.sf.net>
6997 * docs/random/ensonic/dynlink.txt:
6998 More thoughs on this.
7000 * plugins/elements/gstcapsfilter.c:
7001 Add bugzilla ticket number to FIXME comment.
7003 2007-08-24 Wim Taymans <wim.taymans@gmail.com>
7005 * docs/design/part-TODO.txt:
7006 * docs/design/part-block.txt:
7009 2007-08-24 Jan Schmidt <thaytan@mad.scientist.com>
7012 Revert patch which uses $(gst_headers) instead of $^ because it
7015 2007-08-24 Jan Schmidt <thaytan@mad.scientist.com>
7017 * tests/check/gst/gstbin.c: (GST_START_TEST):
7018 Fix leaks in the new unit test.
7020 2007-08-23 Tim-Philipp Müller <tim at centricular dot net>
7023 Don't use GST_INFO before the debug system is actually initialised
7024 (shouldn't do any harm, but won't print anything either, so we can
7025 just as well remove it).
7028 GST_CAT_LEVEL_LOG_valist(), which is our inline helper function for
7029 compilers that don't support variadic macros (such as MSVC), should
7030 check for debug_level <= __gst_debug_min as well, since that's the
7031 function called from all the level-specific GST_CAT_*_LOG_OBJECT()
7032 inline helper functions. Should improve performance a bit, but also
7033 makes sure uses of GST_INFO et.al are ignored if the debugging
7034 system isn't initialised yet (instead of printing an assertion
7037 2007-08-23 Stefan Kost <ensonic@users.sf.net>
7039 patch by: David Nečas <yeti@physics.muni.cz>
7042 Replace some non portable makefile constructs.
7044 2007-08-21 Stefan Kost <ensonic@users.sf.net>
7046 * common/gtk-doc-plugins.mak:
7047 Grrrrr. Don't remove the types file on make clean.
7049 2007-08-20 Wim Taymans <wim.taymans@gmail.com>
7051 * tools/gst-launch.1.in:
7052 Add colorspace to example pipeline. Fixes #458274.
7054 2007-08-20 Tim-Philipp Müller <tim at centricular dot net>
7056 * docs/random/release:
7057 The release manager should run 'make download-po' before making a
7058 release to make sure translations are up-to-date.
7064 Add some new translations.
7066 2007-08-17 Wim Taymans <wim.taymans@gmail.com>
7068 * tools/gst-launch.c: (event_loop), (main):
7069 Don´t try to do any state management when a live pipeline posts
7071 Also make the buffering string translatable.
7073 2007-08-16 Wim Taymans <wim.taymans@gmail.com>
7075 * gst/gstbin.c: (is_eos), (gst_bin_add_func),
7076 (bin_handle_async_start), (gst_bin_handle_message_func):
7078 When adding elements, insert messages into the bus of the newly added
7079 element and make sure the element is the source of the message. This
7080 allows the parent bin to intercept the message and do the
7081 right thing. It also avoids us posting ASYNC_START and CLOCK_PROVIDE
7082 messages to the app (which is not allowed).
7085 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
7086 Fix testsuite so that is does not work around messages that should not
7087 have been posted in the first place.
7089 2007-08-16 Wim Taymans <wim.taymans@gmail.com>
7091 * gst/gstbin.c: (add_to_queue), (remove_from_queue), (clear_queue),
7092 (update_degree), (gst_bin_sort_iterator_next):
7093 Fix annoying bug in the sorted iterator where a sink that is not really
7094 a sink (when it has downstream links) screwed up the iterator.
7096 * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
7097 Unit test to verify the fix.
7099 2007-08-16 Wim Taymans <wim.taymans@gmail.com>
7102 Add some more docs for the messages.
7104 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
7105 (gst_base_sink_query):
7106 Add some more debugging.
7108 * tools/gst-launch.c: (event_loop):
7109 When interrupting, don't try to set pipeline to PAUSED twice.
7111 2007-08-14 Wim Taymans <wim.taymans@gmail.com>
7114 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_element_set_state),
7115 (bin_handle_async_start), (gst_bin_handle_message_func):
7116 Move ASYNC_START message posting to where it belongs, similar to
7118 Don't post ASYNC_START when we are in error.
7119 Post ASYNC_START when we added an async element to a bin.
7121 2007-08-14 Julien MOUTTE <julien@moutte.net>
7123 * gst/gstindex.c: (gst_index_add_association): Fix index entry
7124 generation from vargs. Fixes #466595.
7126 2007-08-14 Wim Taymans <wim.taymans@gmail.com>
7128 * gst/gstbin.c: (gst_bin_element_set_state):
7129 Always change the state of a NO_PREROLL element even if it has ASYNC
7130 elements inside (in case of a bin).
7132 * tests/check/generic/sinks.c: (GST_START_TEST), (gst_sinks_suite):
7133 Unit test for this case.
7135 2007-08-13 Stefan Kost <ensonic@users.sf.net>
7137 * libs/gst/check/gstbufferstraw.c:
7138 * libs/gst/check/gstcheck.h:
7139 * libs/gst/controller/gstcontroller.c:
7140 * libs/gst/controller/gstcontrolsource.h:
7141 * libs/gst/controller/gstlfocontrolsource.h:
7142 * plugins/elements/gstcapsfilter.h:
7143 * plugins/elements/gstfdsink.h:
7144 * plugins/elements/gstfdsrc.h:
7145 Add more missing docs.
7147 2007-08-12 Wim Taymans <wim.taymans@gmail.com>
7149 * gst/gststructure.c:
7150 Add Since tag to docs.
7152 2007-08-12 Wim Taymans <wim.taymans@gmail.com>
7154 * docs/gst/gstreamer-sections.txt:
7155 * gst/gststructure.c: (gst_structure_get_uint):
7156 * gst/gststructure.h:
7157 Add function to get uint from a structure.
7158 API: gst_structure_get_uint()
7160 2007-08-12 Wim Taymans <wim.taymans@gmail.com>
7162 * gst/gstcaps.c: (gst_caps_set_simple_valist),
7163 (gst_caps_intersect):
7164 Fix proper check for simple caps.
7166 2007-08-10 Stefan Kost <ensonic@users.sf.net>
7168 * docs/gst/Makefile.am:
7169 * docs/libs/Makefile.am:
7170 Remove cruft and do some cleanups.
7172 * docs/gst/gstreamer-docs.sgml:
7173 * docs/libs/gstreamer-libs-docs.sgml:
7174 Prepare for comming gtkdoc features (rebase against online docs).
7176 2007-08-10 Michael Smith <msmith@fluendo.com>
7178 * docs/gst/gstreamer-sections.txt:
7179 Add gst_registry_add_path to docs.
7181 2007-08-10 Michael Smith <msmith@fluendo.com>
7183 * gst/gstregistry.h:
7184 Add gst_registry_add_path, which was missing from this header.
7186 2007-08-10 Tim-Philipp Müller <tim at centricular dot net>
7188 * libs/gst/controller/gstlfocontrolsource.c:
7191 2007-08-09 Philippe Kalaf <philippe.kalaf@collabora.co.uk>
7193 * libs/gst/base/gstbasesink.c:
7194 Don't send an async_start message during downwards state change if
7195 target state is less than READY
7197 2007-08-09 Thomas Vander Stichele <thomas at apestaart dot org>
7199 translated by: Gabor Kelemen <kelemeng@gnome.hu>
7203 Added Hungarian translation.
7205 2007-08-09 Thomas Vander Stichele <thomas at apestaart dot org>
7212 Updated translations.
7214 2007-08-07 Jan Schmidt <thaytan@mad.scientist.com>
7216 * libs/gst/controller/Makefile.am:
7217 Dist gstlfocontrolsourceprivate.h
7219 2007-08-07 Jan Schmidt <thaytan@mad.scientist.com>
7221 * docs/libs/gstreamer-libs.types:
7222 Don't register the enum type gst_lfo_waveform_get_type() in the
7223 .types file - only GObject derived types belong.
7225 2007-08-07 Wim Taymans <wim.taymans@gmail.com>
7227 Patch by: <arenevier at fdn dot fr>
7230 Remove comma from last element in enum to avoid compile errors when
7231 using -pendantic. Fixes #464366.
7233 2007-08-07 Wim Taymans <wim.taymans@gmail.com>
7235 * docs/design/part-TODO.txt:
7236 Add some more TODO items
7238 * gst/gstbin.c: (find_message), (gst_bin_change_state_func):
7241 * gst/gstcaps.c: (gst_caps_intersect):
7242 Optimize trivial intersection case between identical caps pointers.
7244 * gst/gstelement.c: (gst_element_continue_state),
7245 (gst_element_set_state_func):
7247 Fix spelling and grammar mistakes.
7249 2007-08-05 Stefan Kost <ensonic@users.sf.net>
7253 Update POTFILES. Fixes #461599.
7255 2007-08-03 Sebastian Dröge <slomo@circular-chaos.org>
7258 Fix confusing typo in debug output.
7260 2007-08-03 Sebastian Dröge <slomo@circular-chaos.org>
7262 reviewed by: Stefan Kost <ensonic@users.sf.net>
7264 * libs/gst/controller/Makefile.am:
7265 * libs/gst/controller/gstlfocontrolsource.c: (_calculate_pos),
7266 (gst_lfo_waveform_get_type), (gst_lfo_control_source_reset),
7267 (gst_lfo_control_source_new),
7268 (gst_lfo_control_source_set_waveform),
7269 (gst_lfo_control_source_bind), (gst_lfo_control_source_init),
7270 (gst_lfo_control_source_finalize),
7271 (gst_lfo_control_source_dispose),
7272 (gst_lfo_control_source_set_property),
7273 (gst_lfo_control_source_get_property),
7274 (gst_lfo_control_source_class_init):
7275 * libs/gst/controller/gstlfocontrolsource.h:
7276 * libs/gst/controller/gstlfocontrolsourceprivate.h:
7277 API: Add GstLFOControlSource, a control source that gives values
7278 for specific timestamps based on several periodic waveforms.
7281 * tests/check/libs/controller.c: (GST_START_TEST),
7282 (gst_controller_suite):
7283 * docs/libs/gstreamer-libs-docs.sgml:
7284 * docs/libs/gstreamer-libs-sections.txt:
7285 * docs/libs/gstreamer-libs.types:
7286 Add documentation and unit tests for GstLFOControlSource.
7288 2007-08-03 Jan Schmidt <thaytan@mad.scientist.com>
7293 === release 0.10.14 ===
7295 2007-08-03 Jan Schmidt <thaytan@mad.scientist.com>
7298 releasing 0.10.14, "Breathing Vacuum"
7300 2007-08-02 Tim-Philipp Müller <tim at centricular dot net>
7302 * gst/gstelement.c: (gst_element_class_set_details_simple):
7304 Make strings passed to gst_element_class_set_details_simple()
7305 constant, as they should be (#462752).
7307 2007-08-02 Wim Taymans <wim.taymans@gmail.com>
7309 * gst/gstbin.c: (gst_bin_change_state_func),
7310 (bin_handle_async_done), (gst_bin_handle_message_func):
7311 Don't forget about the fact that some element went ASYNC even after a
7312 resync. This makes us post the ASYNC_DONE message correctly.
7315 2007-07-31 Jan Schmidt <thaytan@mad.scientist.com>
7317 * gst/gstregistry.c: (gst_registry_add_feature):
7318 When replacing an existing feature in the registry, make sure to
7319 continue holding a reference until we've replaced the name string
7320 within our feature hash table. Make sure to use g_hash_table_replace
7321 instead of g_hash_table_insert to ensure the new name string is used
7322 as a key instead of the old one that we're about to free.
7325 2007-07-31 Jan Schmidt <thaytan@mad.scientist.com>
7327 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
7328 (gst_plugin_feature_set_name):
7329 Revert patch from #459466 until after the release and we can work
7330 out exactly what the problem is (if any).
7332 2007-07-26 Tim-Philipp Müller <tim at centricular dot net>
7334 * docs/gst/gstreamer-sections.txt:
7337 API: add GST_TAG_LICENSE_URI and GST_TAG_COPYRIGHT_URI (#451939).
7339 2007-07-26 Jan Schmidt <thaytan@mad.scientist.com>
7341 * docs/libs/Makefile.am:
7342 Include our build-prefix libs and includes before the generic ones to
7343 avoid linking against the installed libs when we want the build-tree
7346 2007-07-26 Tim-Philipp Müller <tim at centricular dot net>
7348 Patch by: Steve Fink <sphink gmail com>
7350 * docs/pwg/building-testapp.xml:
7351 Mention that GST_PLUGIN_PATH or --gst-plugin-path might be needed
7352 if people try to build or install the example from the plugin
7353 template against a GStreamer from package using the configure
7356 2007-07-25 Tim-Philipp Müller <tim at centricular dot net>
7358 Patch by: Steve Fink <sphink gmail com>
7360 * tools/gst-inspect.1.in:
7361 Document --print-all and --print-plugin-auto-install-info command
7362 line options in man page.
7364 2007-07-25 Wim Taymans <wim.taymans@gmail.com>
7366 * docs/gst/gstreamer-sections.txt:
7367 Add docs for new api function.
7369 2007-07-25 Wim Taymans <wim.taymans@gmail.com>
7371 * gst/gstelementfactory.c: (gst_element_factory_has_interface):
7372 * gst/gstelementfactory.h:
7373 API: gst_element_factory_has_interface()
7374 Added method to check if an element factory implements a named
7377 2007-07-25 Stefan Kost <ensonic@users.sf.net>
7380 * docs/gst/gstreamer.types.in:
7381 Another conditional doc check.
7384 * gst/gstparamspecs.h:
7385 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
7390 2007-07-24 Stefan Kost <ensonic@users.sf.net>
7392 * gst/gstregistrybinary.c: (gst_registry_binary_check_magic),
7393 (gst_registry_binary_load_feature),
7394 (gst_registry_binary_load_plugin),
7395 (gst_registry_binary_read_cache):
7396 Print error just once and with additional info.
7398 2007-07-24 Stefan Kost <ensonic@users.sf.net>
7400 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
7401 (helper_find_suggest), (helper_find_get_length),
7402 (gst_type_find_helper_get_range), (buf_helper_find_suggest),
7403 (gst_type_find_helper_for_buffer):
7404 Cleanup the typefindhelper code and add private doc comments.
7406 2007-07-24 Edward Hervey <bilboed@bilboed.com>
7408 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
7409 (gst_capsfilter_transform_size), (gst_capsfilter_prepare_buf):
7410 Fix capsfilter for cases where the caps set on capsfilter will provide
7411 additional information.
7414 2007-07-24 Stefan Kost <ensonic@users.sf.net>
7416 * gst/gsttypefindfactory.c:
7417 Fix docs that recommened wrong function to use.
7419 2007-07-23 Stefan Kost <ensonic@users.sf.net>
7421 * tools/gst-inspect.c: (print_plugin_features):
7422 Also give media-type for typefinders in element output.
7424 2007-07-23 Stefan Kost <ensonic@users.sf.net>
7426 * gst/gstregistry.c: (gst_registry_init), (gst_registry_finalize),
7427 (gst_registry_remove_features_for_plugin_unlocked),
7428 (gst_registry_add_feature), (gst_registry_remove_feature),
7429 (gst_registry_lookup_feature_locked):
7430 * gst/gstregistry.h:
7431 Speed up gst_registry_lookup_feature_locked() by using a hashmap.
7434 2007-07-23 Stefan Kost <ensonic@users.sf.net>
7436 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
7437 (gst_plugin_feature_set_name):
7438 Avoid double memory usage for pluginfeature names. Fixes #459466.
7440 2007-07-22 Tim-Philipp Müller <tim at centricular dot net>
7443 Small addition to GST_FLOW_IS_FATAL() docs: mention that elements
7444 driving the pipeline may need to explicitly check for NOT_LINKED as
7445 well, since IS_FATAL doesn't cover that.
7447 2007-07-22 Tim-Philipp Müller <tim at centricular dot net>
7449 * docs/pwg/advanced-types.xml:
7450 Fix typo and duplicate entry in video formats list.
7452 2007-07-22 Sebastian Dröge <slomo@circular-chaos.org>
7454 * libs/gst/controller/gstinterpolation.c:
7455 Also round to the nearest int when using cubic interpolation.
7457 2007-07-19 Jan Schmidt <thaytan@noraisin.net>
7459 * libs/gst/controller/gstinterpolation.c:
7460 When linearly interpolating integer types, round to the nearest int
7461 by adding 0.5. Don't do it for float/double types.
7462 Fixes the failing controller test on my machine, which is somehow
7463 rounding differently than on the buildbots.
7465 2007-07-20 Stefan Kost <ensonic@users.sf.net>
7467 * tools/gst-plot-timeline.py:
7468 Better log parsing (categories can have -). Adjust text vs. lines, so
7469 that they span the same y-range.
7471 2007-07-20 Stefan Kost <ensonic@users.sf.net>
7473 * docs/random/ensonic/audiobaseclasses.txt:
7474 * docs/random/ensonic/dynlink.txt:
7475 * docs/random/ensonic/profiling.txt:
7478 * docs/random/moving-plugins:
7479 Add note to use g_assert type macros.
7481 2007-07-20 Stefan Kost <ensonic@users.sf.net>
7484 * libs/gst/check/Makefile.am:
7485 Add libm check as we use in for plugins.
7487 2007-07-18 Jan Schmidt <thaytan@noraisin.net>
7489 * gst/gstbin.c: (gst_bin_continue_func):
7490 Check that the state_cookie hasn't changed since the continue_func
7491 was scheduled. Avoids problems where the state changes back to
7492 something it shouldn't be because it was changed in the meantime.
7494 2007-07-17 Stefan Kost <ensonic@users.sf.net>
7496 * gst/gstregistrybinary.c: (gst_registry_binary_save_const_string),
7497 (gst_registry_binary_save_string),
7498 (gst_registry_binary_save_pad_template),
7499 (gst_registry_binary_save_feature),
7500 (gst_registry_binary_save_plugin),
7501 (gst_registry_binary_load_feature),
7502 (gst_registry_binary_load_plugin),
7503 (gst_registry_binary_read_cache):
7504 Fix memory leak. Be less verbose in the log.
7506 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
7508 * tests/check/elements/.cvsignore:
7509 Add file to cvsignore as commanded.
7511 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
7513 * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
7514 (mq_dummypad_event), (run_output_order_test):
7515 Use a GStaticMutex to protect all cases where libcheck
7516 fail_if/fail_unless macros might be called from multiple threads
7517 simultaneously to avoid errors like:
7518 "check_pack.c:107: :-1081725400:Bad message type arg"
7520 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
7522 * tests/check/pipelines/stress.c: (GST_START_TEST):
7523 Make sure we set the pipeline back to the NULL state before
7524 dropping our final reference.
7526 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
7528 * tests/check/elements/tee.c: (GST_START_TEST):
7529 Make the tee stress-test a little less stressful so it doesn't just
7530 time out on slow-machines, and remove a small race when it's starting
7531 up by adding a get_state() call.
7533 2007-07-16 Stefan Kost <ensonic@users.sf.net>
7536 Avoid reading registry twice on startup. Fixes #457322.
7538 2007-07-13 Jan Schmidt <thaytan@mad.scientist.com>
7540 * pkgconfig/gstreamer-check-uninstalled.pc.in:
7541 * pkgconfig/gstreamer-check.pc.in:
7542 Substitute the CFLAGS for libcheck into our .pc file too so that
7543 dependent modules will pick it up properly if libcheck is installed
7544 into some other prefix.
7546 2007-07-13 Jan Schmidt <thaytan@mad.scientist.com>
7549 Revert the pkg-config check for libcheck, since it pulls in the
7550 wrong non-PIC libcheck.a on Ubuntu and probably Fedora too. We need
7551 a proper solution, either from the check project, or something else.
7553 2007-07-12 Stefan Kost <ensonic@users.sf.net>
7556 Use pkg-config to locate check.
7558 2007-07-10 Stefan Kost <ensonic@users.sf.net>
7565 Add deprecation guards.
7567 * libs/gst/base/gstcollectpads.h:
7568 Don't document object (this is implicitly private).
7570 2007-07-08 Tim-Philipp Müller <tim at centricular dot net>
7572 * gst/gststructure.c: (gst_structure_parse_value):
7573 When deserialising foo=bar without a type cast, check if it's a
7574 boolean before falling back to a string type, otherwise things like
7575 audiotestsrc ! audio/x-raw-int,signed=true ! fakesink won't work,
7576 because the filtercaps end up having a signed=(string)true field,
7577 which causes problems later when intersection caps.
7579 * tests/check/gst/gststructure.c: (GST_START_TEST):
7580 Add a unit test for this.
7582 2007-07-06 Sebastian Dröge <slomo@circular-chaos.org>
7584 Reviewed by: Stefan Kost <ensonic@users.sf.net>
7586 * libs/gst/controller/Makefile.am:
7587 * libs/gst/controller/gstcontroller.c:
7588 (gst_controlled_property_add_interpolation_control_source),
7589 (gst_controlled_property_new), (gst_controlled_property_free),
7590 (gst_controller_find_controlled_property),
7591 (gst_controller_new_valist), (gst_controller_new_list),
7592 (gst_controller_new), (gst_controller_remove_properties_valist),
7593 (gst_controller_remove_properties_list),
7594 (gst_controller_remove_properties),
7595 (gst_controller_set_property_disabled),
7596 (gst_controller_set_disabled), (gst_controller_set_control_source),
7597 (gst_controller_get_control_source), (gst_controller_get),
7598 (gst_controller_sync_values), (gst_controller_get_value_array),
7599 (_gst_controller_dispose), (gst_controller_get_type),
7600 (gst_controlled_property_set_interpolation_mode),
7601 (gst_controller_set), (gst_controller_set_from_list),
7602 (gst_controller_unset), (gst_controller_unset_all),
7603 (gst_controller_get_all), (gst_controller_set_interpolation_mode):
7604 * libs/gst/controller/gstcontroller.h:
7605 * libs/gst/controller/gstcontrollerprivate.h:
7606 * libs/gst/controller/gstcontrolsource.c:
7607 (gst_control_source_class_init), (gst_control_source_init),
7608 (gst_control_source_get_value),
7609 (gst_control_source_get_value_array), (gst_control_source_bind):
7610 * libs/gst/controller/gstcontrolsource.h:
7611 * libs/gst/controller/gsthelper.c: (gst_object_set_control_source),
7612 (gst_object_get_control_source):
7613 * libs/gst/controller/gstinterpolation.c:
7614 (gst_interpolation_control_source_find_control_point_node),
7615 (gst_interpolation_control_source_get_first_value),
7616 (_interpolate_none_get), (interpolate_none_get),
7617 (interpolate_none_get_boolean_value_array),
7618 (interpolate_none_get_enum_value_array),
7619 (interpolate_none_get_string_value_array),
7620 (_interpolate_trigger_get), (interpolate_trigger_get),
7621 (interpolate_trigger_get_boolean_value_array),
7622 (interpolate_trigger_get_enum_value_array),
7623 (interpolate_trigger_get_string_value_array):
7624 * libs/gst/controller/gstinterpolationcontrolsource.c:
7625 (gst_control_point_free), (gst_interpolation_control_source_reset),
7626 (gst_interpolation_control_source_new),
7627 (gst_interpolation_control_source_set_interpolation_mode),
7628 (gst_interpolation_control_source_bind),
7629 (gst_control_point_compare), (gst_control_point_find),
7630 (gst_interpolation_control_source_set_internal),
7631 (gst_interpolation_control_source_set),
7632 (gst_interpolation_control_source_set_from_list),
7633 (gst_interpolation_control_source_unset),
7634 (gst_interpolation_control_source_unset_all),
7635 (gst_interpolation_control_source_get_all),
7636 (gst_interpolation_control_source_get_count),
7637 (gst_interpolation_control_source_init),
7638 (gst_interpolation_control_source_finalize),
7639 (gst_interpolation_control_source_dispose),
7640 (gst_interpolation_control_source_class_init):
7641 * libs/gst/controller/gstinterpolationcontrolsource.h:
7642 * libs/gst/controller/gstinterpolationcontrolsourceprivate.h:
7643 API: Refactor GstController into the core controller which can take
7644 a GstControlSource for providing actual values for timestamps.
7645 Implement a interpolation control source and use this for backward
7646 compatibility, deprecate a bunch of functions that are now handled
7647 by GstControlSource or GstInterpolationControlSource.
7648 Make it possible to disable the controller completely or only for
7649 specific properties. Fixes #450711.
7650 * docs/libs/gstreamer-libs-docs.sgml:
7651 * docs/libs/gstreamer-libs-sections.txt:
7652 * docs/libs/gstreamer-libs.types:
7653 Add new functions and classes to the docs.
7654 * tests/check/libs/controller.c: (GST_START_TEST),
7655 (gst_controller_suite):
7656 * tests/examples/controller/audio-example.c: (main):
7657 Port unit test and example to the new API and add some new
7660 2007-07-05 Wim Taymans <wim.taymans@gmail.com>
7662 Patch by: Mark Nauwelaerts <manauw at skynet be>
7664 * plugins/elements/gstmultiqueue.c:
7665 (gst_multi_queue_get_internal_links), (apply_buffer),
7666 (single_queue_overrun_cb), (gst_single_queue_new):
7667 Implement non-default GstPadIntLinkFunction for multiqueue pads so that
7668 the pipeline layout can be tracked correctly. Fixes #453732.
7670 2007-07-05 Stefan Kost <ensonic@users.sf.net>
7672 * docs/gst/Makefile.am:
7673 * docs/libs/Makefile.am:
7674 * docs/plugins/Makefile.am:
7675 Simplify --extra-dir as gtkdoc scans recursively.
7677 2007-07-03 Wim Taymans <wim.taymans@gmail.com>
7679 * tools/gst-launch.c: (main):
7680 When we got an error, there is no point in waiting for preroll when
7683 2007-07-03 Wim Taymans <wim.taymans@gmail.com>
7685 * plugins/elements/gsttee.c: (gst_tee_base_init),
7686 (gst_tee_request_new_pad), (gst_tee_release_pad),
7687 (gst_tee_find_buffer_alloc), (gst_tee_buffer_alloc),
7688 (gst_tee_do_push), (clear_pads), (gst_tee_handle_buffer),
7690 Be a lot smarter when deciding what srcpad to use for proxying
7691 the buffer_alloc. Also handle pad added/removed when doing so.
7693 Keep track of what pads we already pushed on in case we have pads
7694 added/removed while pushing. Fixes #374639
7696 * tests/check/Makefile.am:
7697 * tests/check/elements/tee.c: (handoff), (GST_START_TEST),
7699 Added unit test for pad resync.
7701 2007-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
7705 Updated translations.
7707 2007-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
7709 translation by: Tommi Vainikainen <Tommi.Vainikainen@iki.fi>
7713 Added new Finnish translation.
7715 2007-06-28 Wim Taymans <wim@fluendo.com>
7717 * plugins/elements/gstmultiqueue.c: (apply_buffer),
7718 (single_queue_overrun_cb):
7719 When figuring out when a queue is filled, use our internal time estimate
7720 based on segments, just like check_full does.
7722 2007-06-27 Stefan Kost <ensonic@users.sf.net>
7724 * gst/gstminiobject.c: (gst_mini_object_get_type):
7725 Remove 3 do-nothing methods.
7727 2007-06-27 Wim Taymans <wim@fluendo.com>
7729 Patch by: Tim Angus <tim at ngus dot net>
7731 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
7732 (gst_capsfilter_set_property):
7733 Take a reference instead of a copy when setting "caps".
7734 Fix documentation to clarify this behaviour. Fixes #449414.
7736 2007-06-27 Stefan Kost <ensonic@users.sf.net>
7738 * gst/gstindexfactory.c: (gst_index_factory_get_type):
7739 * gst/gstplugin.c: (gst_plugin_init):
7740 * gst/gstpluginfeature.c: (gst_plugin_feature_init):
7741 * gst/gstquery.c: (gst_query_get_type):
7742 * gst/gstregistry.c: (gst_registry_init):
7743 * gst/gsturi.c: (gst_uri_handler_base_init):
7744 Remove empty instance_init() functions to save relocs and lessen the
7745 noise. Remove some of the function prototypes that are doubled by
7748 2007-06-27 Wim Taymans <wim@fluendo.com>
7750 Patch by: Étienne Noreau-Hébert <etienne at deepunder dot org>
7752 * gst/gstghostpad.c: (gst_proxy_pad_save_thyself):
7753 Add peer and direction in the XML serialisation of ghostpads.
7756 2007-06-26 Stefan Kost <ensonic@users.sf.net>
7759 Preserve useful information, thanks Tim.
7761 2007-06-26 Jan Schmidt <thaytan@noraisin.net>
7763 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
7764 (gst_single_queue_flush), (apply_segment), (apply_buffer),
7765 (gst_single_queue_push_one), (gst_multi_queue_loop),
7766 (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
7767 (gst_multi_queue_src_activate_push), (wake_up_next_non_linked),
7768 (compute_high_id), (gst_single_queue_new):
7769 * plugins/elements/gstmultiqueue.h:
7770 Take the multiqueue lock when updating the fill level so we don't get
7773 After applying a buffer or event on the src pad segment, make sure to
7774 call gst_data_queue_limits_changed() to get the data queue to unblock
7775 and check the filled state again.
7777 Rework the not-linked pad handling so the logic is that not-linked
7778 pads can push as fast as they like, but only so they never get
7779 ahead of any linked pads.
7781 * tests/check/elements/multiqueue.c: (mq_sinkpad_to_srcpad),
7782 (mq_dummypad_getcaps), (mq_dummypad_chain), (mq_dummypad_event),
7783 (run_output_order_test), (GST_START_TEST), (multiqueue_suite):
7785 Add a test to check that not-linked pads always stay behind
7790 2007-06-26 Jan Schmidt <thaytan@mad.scientist.com>
7792 * docs/random/release:
7793 Some updates to the release procedure.
7795 2007-06-26 Stefan Kost <ensonic@users.sf.net>
7797 * gst/gstelementfactory.c: (__gst_element_details_clear):
7798 Microoptimization that saves stunning 80 bytes.
7800 2007-06-25 Stefan Kost <ensonic@users.sf.net>
7802 * docs/plugins/gstreamer-plugins.args:
7803 * docs/plugins/inspect/plugin-coreelements.xml:
7804 * docs/plugins/inspect/plugin-coreindexers.xml:
7805 Update docs with caps info.
7807 2007-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
7810 Updated Italian translation.
7812 2007-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
7816 Update Vietnamese translations.
7818 2007-06-21 Tim-Philipp Müller <tim at centricular dot net>
7820 * libs/gst/base/gstbasesink.c:
7821 Remove unused signal enum.
7823 2007-06-21 Jan Schmidt <thaytan@mad.scientist.com>
7825 * docs/gst/gstreamer-sections.txt:
7827 * gst/gstutils.c: (gst_type_register_static_full):
7828 Beef up and include the docs for gst_type_register_static_full and
7829 gst_element_class_set_details_simple and add the API keyword
7832 2007-06-21 Jan Schmidt <thaytan@mad.scientist.com>
7834 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
7835 (update_time_level), (gst_single_queue_push_one),
7836 (gst_multi_queue_chain), (gst_multi_queue_sink_event),
7837 (single_queue_overrun_cb), (single_queue_underrun_cb),
7838 (single_queue_check_full):
7839 Fix setting max-* properties after adding queues.
7840 Use IS_FILLED for checking visible items.
7841 Signal overrun if multiple queues overrun.
7842 Add extra debug output.
7843 Patch by: Wim Taymans <wim@fluendo.com>
7845 2007-06-21 Stefan Kost <ensonic@users.sf.net>
7847 * gst/gstelement.c: (gst_element_class_set_details_simple):
7849 * gst/gstutils.c: (gst_type_register_static_full):
7851 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init):
7852 * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init):
7853 * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init):
7854 * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init):
7855 * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init):
7856 * plugins/elements/gstfilesink.c: (gst_file_sink_base_init):
7857 * plugins/elements/gstfilesrc.c: (gst_file_src_base_init):
7858 * plugins/elements/gstidentity.c: (gst_identity_base_init):
7859 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init):
7860 * plugins/elements/gstqueue.c: (gst_queue_base_init),
7861 (apply_buffer), (gst_queue_chain):
7862 * plugins/elements/gsttee.c: (gst_tee_base_init):
7863 * plugins/elements/gsttypefindelement.c:
7864 (gst_type_find_element_base_init),
7865 (gst_type_find_element_class_init):
7866 Saving relocations for GTypeInfo and GstElementDetails. Fixes #437457.
7867 API: add gst_type_register_static_full
7868 API: add gst_element_class_set_details_simple
7870 2007-06-21 Tim-Philipp Müller <tim at centricular dot net>
7872 * docs/pwg/advanced-types.xml:
7873 Fix typo in iana.org URI.
7875 2007-06-19 Andy Wingo <wingo@pobox.com>
7877 * tests/check/pipelines/simple-launch-lines.c
7878 (test_state_change_returns): Enable pull-mode tests now that
7879 basesink has been fixed.
7881 * libs/gst/base/gstbasesink.c (gst_base_sink_needs_preroll):
7882 Changed from gst_base_sink_is_prerolled, reversing the sense of
7883 the return value. Returns FALSE also if the sink is in pull mode,
7884 in which case it needs no preroll.
7885 (gst_base_sink_query, gst_base_sink_change_state): Update for
7886 needs_preroll change.
7887 (gst_base_sink_change_state): Add a case for READY_TO_PAUSED after
7888 chaining up, in which we return SUCCESS directly if we activated
7889 in pull mode instead of ASYNC. Involves countering an async_start
7890 message sent before chaining up; not sure if this is correct, in
7891 an ideal world we only send async-start when activating in push
7894 * tests/check/pipelines/simple-launch-lines.c
7895 (test_state_change_returns): New test, partially disabled until
7898 2007-06-19 Wim Taymans <wim@fluendo.com>
7900 * plugins/elements/gstmultiqueue.c: (apply_buffer),
7901 (gst_multi_queue_sink_event):
7904 2007-06-19 Wim Taymans <wim@fluendo.com>
7906 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
7907 (gst_bin_change_state_func), (bin_push_state_continue),
7908 (bin_handle_async_start), (bin_handle_async_done),
7909 (gst_bin_handle_message_func):
7910 Move the common code for posting state-change messages into
7912 Broadcast the state signal after we posted the messages.
7913 Mark the bin as busy when it's doing a state-change.
7914 Make sure async-start/done messages don't interfere with the bin's
7915 state when it's busy.
7916 After the state change, let the bin check which elements completed the
7917 state change while it was busy so that it can update its state.
7919 2007-06-19 Jan Schmidt <thaytan@mad.scientist.com>
7921 * docs/random/release:
7922 Add a note about updating the doap file to the release checklist
7924 2007-06-18 Wim Taymans <wim@fluendo.com>
7926 * plugins/elements/gstmultiqueue.c: (apply_buffer),
7927 (gst_single_queue_push_one), (gst_multi_queue_chain),
7928 (gst_multi_queue_sink_event):
7929 Make sure we don't reference the buffer/event after we have given away
7930 ownership in the queue.
7932 2007-06-18 Wim Taymans <wim@fluendo.com>
7934 * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
7935 (gst_multi_queue_chain), (gst_multi_queue_sink_event):
7936 Update queue state _after_ adding the item in the queue because else we
7937 could end up being full without the element added yet.
7939 2007-06-18 Wim Taymans <wim@fluendo.com>
7941 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
7942 (gst_bin_remove_func), (gst_bin_get_state_func),
7943 (gst_bin_element_set_state), (gst_bin_continue_func),
7944 (bin_push_state_continue), (bin_handle_async_start),
7945 (bin_handle_async_done), (gst_bin_handle_message_func):
7947 Immediatly commit the toplevel bin state when receiving an async-done
7948 message. This enables us to avoid spawning a thread to commit the state
7949 in some common cases and it also avoids some races.
7950 Avoid spawning a state thread when adding/removing async elements to a
7951 toplevel bin. Instead we immediatly update the bin state.
7952 Get rid of iterating all the children when getting the state in the bin
7953 because it is now always up-to-date.
7954 Fix bug where locked elements would always return _SUCCESS even it they
7955 returned NO_PREROLL before being locked.
7956 Fix the order of the state_change, async-start/done messages that was
7957 sometimes incorrect.
7958 Mark the state_dirty field as deprecated, we don't need it anymore as we
7959 are always up-to-date.
7961 * gst/gstelement.c: (gst_element_get_state_func),
7962 (gst_element_continue_state):
7963 Small debug inprovements.
7964 Return the previous element state return when nothing is pending instead
7965 of blindly returning SUCCESS.
7967 * tests/check/generic/sinks.c: (GST_START_TEST), (pad_blocked_cb),
7969 Add a whole bunch of new testcases.
7971 2007-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
7975 Update translations.
7977 2007-06-15 Jan Schmidt <thaytan@mad.scientist.com>
7980 Fix typo in the docs.
7982 2007-06-15 Wim Taymans <wim@fluendo.com>
7984 * docs/libs/gstreamer-libs-sections.txt:
7985 Add docs for new methods.
7987 2007-06-15 Wim Taymans <wim@fluendo.com>
7989 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_item_destroy),
7990 (gst_multi_queue_item_new):
7991 Don't use GSlice because we don't depend on >= 2.10 yet.
7993 2007-06-15 Wim Taymans <wim@fluendo.com>
7995 * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
7996 (update_time_level), (apply_segment), (apply_buffer),
7997 (gst_single_queue_push_one), (gst_multi_queue_item_new),
7998 (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push),
7999 (gst_multi_queue_sink_event), (single_queue_overrun_cb),
8000 (single_queue_underrun_cb), (single_queue_check_full):
8001 Remove debug printf.
8003 2007-06-15 Wim Taymans <wim@fluendo.com>
8005 * libs/gst/base/gstdataqueue.c: (gst_data_queue_cleanup),
8006 (gst_data_queue_finalize), (gst_data_queue_locked_is_empty),
8007 (gst_data_queue_set_flushing), (gst_data_queue_push),
8008 (gst_data_queue_pop), (gst_data_queue_drop_head),
8009 (gst_data_queue_limits_changed), (gst_data_queue_get_level):
8010 * libs/gst/base/gstdataqueue.h:
8012 Added methods to get the current levels and to inform the queue that the
8013 'full' limits changed.
8015 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
8016 (gst_multi_queue_finalize), (gst_multi_queue_set_property),
8017 (gst_single_queue_flush), (update_time_level), (apply_segment),
8018 (apply_buffer), (gst_single_queue_push_one),
8019 (gst_multi_queue_item_steal_object),
8020 (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
8021 (gst_multi_queue_loop), (gst_multi_queue_chain),
8022 (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
8023 (gst_multi_queue_getcaps), (gst_multi_queue_src_activate_push),
8024 (gst_multi_queue_src_query), (single_queue_overrun_cb),
8025 (single_queue_underrun_cb), (single_queue_check_full),
8026 (gst_single_queue_new):
8027 Keep track of time in the queue by measuring the difference between
8028 running_time on input and output. This gives more accurate results and
8029 can compensate for segments correctly.
8030 Make a queue by default only 5 buffers deep. We will now increase the
8031 buffer size depending on the filledness of the other queues.
8032 Factor out commong flush code.
8033 Make sure we don't add additional refcounts to buffers when we can avoid
8035 Propagate GstFlowReturn differently.
8036 Use GSlice for intermediate GstMultiQueueItems.
8038 Resize queues on over and underruns based on filled level of other
8040 When checking if the queue is filled, prefer to measure in time if we
8041 can and fall back to bytes when no time is known.
8043 * plugins/elements/gstqueue.c:
8046 2007-06-15 Wim Taymans <wim@fluendo.com>
8048 * libs/gst/base/gstbasetransform.c:
8049 (gst_base_transform_sink_event):
8050 Work around the brokenness of the event vmethod in basetransform. Prefer
8051 to return TRUE when the subclass returned FALSE (meaning don't forward
8054 * libs/gst/base/gstbasetransform.h:
8057 2007-06-15 Wim Taymans <wim@fluendo.com>
8059 * gst/gstpad.c: (gst_pad_push_event), (gst_pad_send_event):
8060 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
8061 (gst_base_src_default_query), (gst_base_src_get_range),
8062 (gst_base_src_start):
8063 * tests/check/pipelines/parse-launch.c: (setup_pipeline):
8066 2007-06-15 Stefan Kost <ensonic@users.sf.net>
8068 * docs/pwg/advanced-types.xml:
8069 Added more formats to caps table.
8071 2007-06-15 Stefan Kost <ensonic@users.sf.net>
8073 * tools/gst-launch.c: (main):
8074 Remove crufy code. GOption does not need this workaround.
8076 2007-06-14 Stefan Kost <ensonic@users.sf.net>
8078 * libs/gst/controller/gstcontroller.c:
8079 (gst_controlled_property_set_interpolation_mode):
8080 Fix wrong getter for enums in controller.
8082 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
8084 * libs/gst/check/gstcheck.c: (gst_check_init):
8085 Intercept criticals and warnings in the Gst-Phonon log domain, so
8086 ASSERT_CRITICAL() etc. can be used in gst-phonon's unit tests as
8089 2007-06-14 Edward Hervey <edward@fluendo.com>
8091 * gst/gstparamspecs.c: (_gst_param_fraction_validate):
8092 Since this file doesn't include "gst.h" it will not go through the
8093 macros that disable GST_LOG if debugging was disabled.
8095 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
8097 * libs/gst/check/Makefile.am:
8098 * libs/gst/check/gstcheck.h:
8099 * pkgconfig/gstreamer-check-uninstalled.pc.in:
8100 * pkgconfig/gstreamer-check.pc.in:
8101 Ugly 'fix' for the controller unit test on the p5 bot: in
8102 fail_unless_equals_float() check whether the values are 'almost
8103 equal' by allowing a small absolute error, which should be good
8104 enough for our use cases (normal numbers and values close to 0).
8105 Proper fixage left to floating point arithmetic aficionados.
8107 2007-06-14 Stefan Kost <ensonic@users.sf.net>
8109 * libs/gst/base/gstbasesink.c: (gst_base_sink_reset_qos),
8110 (gst_base_sink_render_object), (gst_base_sink_get_position):
8111 Add two breaks thats where missing.
8113 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
8115 * docs/libs/gstreamer-libs-sections.txt:
8116 * libs/gst/check/gstcheck.h:
8117 API: add fail_unless_equals_float() and assert_equals_float().
8118 Add documentation for some of the macros.
8120 * tests/check/libs/controller.c: (GST_START_TEST):
8121 Use newly-added asserts.
8123 2007-06-14 Stefan Kost <ensonic@users.sf.net>
8125 * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_push):
8126 Show the caps change in the log to help spotting the case of not
8127 exactly matching caps.
8129 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
8131 * docs/pwg/building-boiler.xml:
8132 Fix typos, spotted by Thijs Vermeir (#447190).
8134 2007-06-13 Jan Schmidt <thaytan@mad.scientist.com>
8136 * docs/plugins/tmpl/.cvsignore:
8137 Ignore file to keep the buildbots happy
8139 2007-06-13 Jan Schmidt <thaytan@mad.scientist.com>
8141 * docs/plugins/Makefile.am:
8142 * docs/plugins/gstreamer-plugins-docs.sgml:
8143 * docs/plugins/gstreamer-plugins-sections.txt:
8144 Pull fdsink into the docs too.
8146 2007-06-11 Sebastian Dröge <slomo@circular-chaos.org>
8148 * libs/gst/controller/gstinterpolation.c:
8149 Actually use the new functions with min/max checks for the trigger and
8150 none interpolation modes for get() and get_value_array() instead of
8153 2007-06-10 Sebastian Dröge <slomo@circular-chaos.org>
8155 * libs/gst/controller/gstcontroller.c:
8156 (gst_controlled_property_free):
8157 Unset the minimum and maximum GValues when freeing the corresponding
8158 GstControllerProperty struct.
8160 2007-06-09 Sebastian Dröge <slomo@circular-chaos.org>
8162 * libs/gst/controller/gstcontroller.c:
8163 (gst_controlled_property_new):
8164 * libs/gst/controller/gstcontrollerprivate.h:
8165 * libs/gst/controller/gstinterpolation.c:
8166 (gst_controlled_property_find_control_point_node),
8167 (interpolate_none_get), (interpolate_none_get_enum_value_array),
8168 (interpolate_none_get_string_value_array),
8169 (interpolate_trigger_get),
8170 (interpolate_trigger_get_enum_value_array),
8171 (interpolate_trigger_get_string_value_array):
8172 Protect against values larger or smaller than the minimum or maximum
8173 allowed value for the property when using values that can be compared.
8175 Optimize trigger interpolator a bit by taking the last requested value
8176 into account instead of always looping through the complete list.
8178 Fix coding style a bit, everywhere else we use "return foo" instead
8181 * tests/check/libs/controller.c: (GST_START_TEST),
8182 (gst_controller_suite):
8183 Add unit test for the protection against too large or too small
8186 2007-06-08 Sebastian Dröge <slomo@circular-chaos.org>
8188 * docs/random/slomo/controller.txt:
8189 Add some thoughts about the future of the controller.
8191 2007-06-08 Wim Taymans <wim@fluendo.com>
8193 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
8194 Don't overflow in retimestamping code.
8196 2007-06-07 Sebastien Moutte <sebastien@moutte.net>
8198 * libs/gst/controller/gstinterpolation.c: (DEFINE_CUBIC_GET):
8199 Use gst_util_guint64_to_gdouble for conversions.
8200 * win32/common/libgstreamer.def:
8201 Add new exported functions.
8203 2007-06-07 Tim-Philipp Müller <tim at centricular dot net>
8206 Small docs addition.
8208 2007-06-07 Stefan Kost <ensonic@users.sf.net>
8211 Remove that test line again.
8213 2007-06-07 Stefan Kost <ensonic@users.sf.net>
8216 Test commit mail sending.
8218 2007-06-07 Stefan Kost <ensonic@users.sf.net>
8221 Fix typo and test commit mail sending.
8223 2007-06-07 Stefan Kost <ensonic@users.sf.net>
8225 * tests/examples/controller/audio-example.c:
8226 Improve comment and test commit mail sending.
8228 2007-06-07 Wim Taymans <wim@fluendo.com>
8230 * gst/gstbin.c: (find_message), (bin_replace_message), (is_eos),
8231 (gst_bin_remove_func), (gst_bin_element_set_state),
8232 (bin_handle_async_start), (bin_handle_async_done),
8233 (gst_bin_handle_message_func):
8234 Add helper function to find messages.
8235 Generate the async-done messages together with the state change
8237 Small cleanups in handling toplevel bins.
8239 2007-06-06 Tim-Philipp Müller <tim at centricular dot net>
8241 * libs/gst/base/gstdataqueue.c:
8242 * libs/gst/base/gstdataqueue.h:
8243 * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
8244 (gst_multi_queue_item_new), (gst_multi_queue_chain),
8245 (gst_multi_queue_sink_event):
8246 * tests/check/elements/multiqueue.c: (multiqueue_suite):
8247 Fix multiqueue leaking buffers and events when downstream or the
8248 queue are flushing. Make refcounting assumptions explicit and
8249 document them (shouldn't break existing code that uses it other than
8250 maybe leak miniobjects, but that already happens anyway). Add unit
8251 test for the most common flushing case. Fixes #423700.
8253 2007-06-06 Sebastian Dröge <slomo@circular-chaos.org>
8255 * libs/gst/controller/gstcontroller.c:
8256 Clarify docs: The get_all, get_value_array(s) functions
8257 don't modify the GObject properties.
8259 2007-06-06 Sebastian Dröge <slomo@circular-chaos.org>
8261 * libs/gst/controller/gstcontroller.c:
8262 (gst_controlled_property_set_interpolation_mode),
8263 (gst_controlled_property_prepend_default),
8264 (gst_controlled_property_new), (gst_controller_set_unlocked),
8265 (gst_controller_set), (gst_controller_set_from_list),
8266 (gst_controller_unset), (gst_controller_unset_all):
8267 * libs/gst/controller/gstcontrollerprivate.h:
8268 * libs/gst/controller/gstinterpolation.c:
8269 Factor out the 'set' logic into gst_controller_set_unlocked for the
8270 gst_controller_set and gst_controller_set_from_list functions.
8272 To make life of the interpolators easier always add a control point
8273 at timestamp zero with the default value.
8275 In the linear interpolator make things more obvious by better variable
8278 Implement cubic interpolation mode (by using a natural cubic spline)
8279 and map the quadratic interpolation mode to this too (as quadratic
8280 doesn't make much sense, see discussion on the list).
8282 * tests/check/libs/controller.c: (GST_START_TEST),
8283 (gst_controller_suite):
8284 Add unit test for the cubic interpolation mode and check everywhere
8285 if the interpolation mode could be set as expected.
8287 2007-06-06 Tim-Philipp Müller <tim at centricular dot net>
8289 * gst/gstparamspecs.c: (gst_param_spec_fraction_get_type):
8290 Don't use GLib-2.10 functions, we still depend on
8291 GLib-how-old-is-it-again-2.8.
8293 2007-06-06 Tim-Philipp Müller <tim at centricular dot net>
8295 * docs/gst/gstreamer-sections.txt:
8299 * gst/gstparamspecs.c: (_gst_param_fraction_init),
8300 (_gst_param_fraction_set_default), (_gst_param_fraction_validate),
8301 (_gst_param_fraction_values_cmp),
8302 (gst_param_spec_fraction_get_type), (gst_param_spec_fraction):
8303 * gst/gstparamspecs.h:
8305 * tests/check/Makefile.am:
8306 * tests/check/gst/.cvsignore:
8307 * tests/check/gst/gstparamspecs.c: (gst_dummy_obj_base_init),
8308 (gst_dummy_obj_class_init), (gst_dummy_obj_init),
8309 (gst_dummy_obj_set_property), (gst_dummy_obj_get_property),
8310 (GST_START_TEST), (gst_param_spec_suite):
8311 API: add GstParamSpecFraction, so elements can have fraction
8312 properties without lots of painful string parsing (#444648).
8314 2007-06-05 Wim Taymans <wim@fluendo.com>
8316 * gst/gstobject.c: (gst_object_class_init):
8317 Fix signal signature.
8320 Add small clarification in the api docs.
8322 * plugins/elements/gstfilesrc.c: (gst_file_src_set_location):
8323 States are protected with object lock.
8325 2007-06-05 Jan Schmidt <thaytan@mad.scientist.com>
8328 I should probably be listed as an author by now.
8330 * docs/random/release:
8331 Update the release doc
8333 2007-06-05 Tim-Philipp Müller <tim at centricular dot net>
8336 Make docs for gst_value_compare() mention return enums that
8339 2007-06-05 Jan Schmidt <thaytan@mad.scientist.com>
8344 === release 0.10.13 ===
8346 2007-06-05 Jan Schmidt <thaytan@mad.scientist.com>
8349 releasing 0.10.13, "With or without you"
8351 2007-05-25 Wim Taymans <wim@fluendo.com>
8353 * gst/gstbin.c: (bin_handle_async_done):
8354 Make sure that the child bin stops after completing the async state
8355 change so that the parent can continue the state change to PLAYING.
8358 2007-05-25 Wim Taymans <wim@fluendo.com>
8360 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
8361 (unref_data), (gst_collect_pads_remove_pad),
8362 (gst_collect_pads_check_pads):
8363 Use additional refcounting to avoid crashes when dynamically adding and
8364 removing pads. Fixes #420206.
8366 2007-05-24 Wim Taymans <wim@fluendo.com>
8368 * tools/gst-launch.c: (event_loop):
8369 When buffering goes from a two digit to a single digit number, make sure
8370 to remove the old second digit by writing a blank over it.
8372 2007-05-24 Tim-Philipp Müller <tim at centricular dot net>
8374 * libs/gst/base/gstdataqueue.c:
8375 Eliminate tabs and trailing comma in enum list; fix some typos.
8377 2007-05-24 Wim Taymans <wim@fluendo.com>
8379 * tests/check/gst/gstbin.c: (GST_START_TEST):
8380 Allow refcount of 3 and 4 because some state thread might still be busy
8383 2007-05-24 Tim-Philipp Müller <tim at centricular dot net>
8385 * plugins/elements/Makefile.am:
8386 * plugins/elements/gstmultiqueue.h:
8387 * plugins/elements/gstqueue.h:
8388 These are not installed headers, no need for padding.
8390 2007-05-24 Wim Taymans <wim@fluendo.com>
8392 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
8393 (gst_bin_continue_func):
8394 Enable latency for next release.
8395 Restore STATE_LOCK around recalc_state that was left out during the
8396 rewrite and could result in racy behaviour when _get_state and
8397 recalc_state are run concurrently. See #440463.
8399 2007-05-23 Wim Taymans <wim@fluendo.com>
8401 * tests/check/gst/gstsystemclock.c: (store_callback),
8403 Improve test_async_order to also work when both timers are already
8404 expired when we get scheduled to check it.
8406 2007-05-22 Tim-Philipp Müller <tim at centricular dot net>
8408 * gst/gstbin.c: (gst_bin_init), (gst_bin_dispose),
8409 (gst_bin_set_property), (gst_bin_get_property),
8410 (gst_bin_remove_func), (gst_bin_handle_message_func):
8412 'private' is a c++ keyword, let's not use that in header files,
8413 otherwise c++ compilers will throw a tantrum.
8415 2007-05-22 Tim-Philipp Müller <tim at centricular dot net>
8417 * plugins/elements/gstelements.c:
8418 * plugins/elements/gstfilesink.c: (gst_file_sink_do_seek),
8419 (gst_file_sink_get_current_offset):
8420 * plugins/indexers/gstindexers.c: (plugin_init):
8421 Use #ifdef for HAVE_XYZ for consistency.
8423 * tests/check/Makefile.am:
8424 * tests/check/elements/.cvsignore:
8425 * tests/check/elements/filesink.c: (setup_filesink),
8426 (cleanup_filesink), (GST_START_TEST), (filesink_suite):
8427 Add some unit tests for filesink.
8429 2007-05-22 Tim-Philipp Müller <tim at centricular dot net>
8431 Patch by: Mark Nauwelaerts <manauw at skynet be>
8433 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
8434 (gst_file_sink_query), (gst_file_sink_do_seek),
8435 (gst_file_sink_get_current_offset), (gst_file_sink_render):
8436 * plugins/elements/gstfilesink.h:
8437 Fix position reporting; rename data_written member to current_pos to
8438 reflect its real meaning (fixes #412648).
8440 2007-05-22 Edward Hervey <edward@fluendo.com>
8442 * docs/gst/gstreamer-sections.txt:
8443 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
8444 (gst_bin_dispose), (gst_bin_set_property), (gst_bin_get_property),
8445 (gst_bin_remove_func), (gst_bin_handle_message_func):
8447 Add a property for bins that handle the state change of their childs.
8450 2007-05-22 Sebastian Dröge <slomo@circular-chaos.org>
8452 * libs/gst/controller/gstinterpolation.c:
8453 Use an array of the correct type when using _get_value_array with
8454 linear interpolation.
8456 2007-05-22 Stefan Kost <ensonic@users.sf.net>
8458 * gst/gstelement.c (gst_element_requires_clock,
8459 gst_element_provides_clock, gst_element_request_pad,
8460 gst_element_class_set_details, gst_element_class_set_details_simple,
8461 gst_element_default_send_event, gst_element_abort_state,
8462 gst_element_continue_state, gst_element_set_state,
8463 gst_element_set_state_func, iterator_activate_fold_with_resync):
8464 * gst/gstpad.c (gst_pad_activate_pull, gst_pad_set_getcaps_function,
8465 gst_pad_fixate_caps, gst_pad_configure_sink, gst_pad_configure_src,
8466 gst_pad_query, gst_pad_save_thyself, handle_pad_block, gst_pad_push,
8467 gst_pad_get_range, gst_pad_pull_range):
8468 * gst/gstpad.h (GST_PAD_LINK_SUCCESSFUL, GST_FLOW_CUSTOM_SUCCESS,
8469 GST_FLOW_NOT_SUPPORTED, GST_FLOW_IS_FATAL, GstPadActivateFunction,
8470 GstPadActivateModeFunction, GstPadChainFunction,
8471 GstPadGetCapsFunction, GstPadAcceptCapsFunction,
8472 GstPadFixateCapsFunction, GstPadTemplate):
8473 * gst/gstpipeline.c (gst_pipeline_change_state,
8474 gst_pipeline_set_new_stream_time, gst_pipeline_use_clock,
8475 gst_pipeline_set_clock, gst_pipeline_auto_clock,
8476 gst_pipeline_get_delay):
8477 Whitespace and docs fixes.
8479 2007-05-21 Sebastian Dröge <slomo@circular-chaos.org>
8481 * libs/gst/controller/gstinterpolation.c:
8482 (interpolate_trigger_get_enum_value_array),
8483 (interpolate_trigger_get_string_value_array):
8484 Add support for retrieving value arrays when using the trigger
8487 2007-05-21 Sebastian Dröge <slomo@circular-chaos.org>
8489 * libs/gst/controller/gstcontroller.c:
8490 (gst_controller_get_value_array):
8491 * libs/gst/controller/gstcontroller.h:
8492 Clarify the docs of gst_controller_get_value_array(): The array where
8493 the values should be written to must be allocated as there seems to be
8494 no way to get the size of a random GType. This doesn't change any
8495 behaviour. Also fix some typos all over the place and remove an unused,
8496 commented function that is not necessary as g_object_set() could be
8498 * tests/check/libs/controller.c: (GST_START_TEST),
8499 (gst_controller_suite):
8500 Add unit test for gst_controller_get_value_array().
8502 2007-05-21 Jan Schmidt <thaytan@mad.scientist.com>
8504 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
8506 Disable part of the gst_buffer_try_new_and_alloc test, because
8507 it can happily succeed on 64-bit systems where there's more address
8510 2007-05-21 Sebastian Dröge <slomo@circular-chaos.org>
8512 * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
8513 Add unit test for the improved caps checking from bug #421543.
8515 2007-05-21 Wim Taymans <wim@fluendo.com>
8517 * docs/design/part-synchronisation.txt:
8520 * gst/gstbin.c: (gst_bin_query):
8521 * plugins/elements/gstqueue.c: (apply_segment):
8527 2007-05-21 Wim Taymans <wim@fluendo.com>
8529 * gst/gstpad.c: (gst_pad_get_caps_unlocked),
8530 (gst_pad_acceptcaps_default), (gst_pad_configure_sink),
8531 (gst_pad_configure_src):
8532 Added simple version of improved caps checking. It was previously
8533 assumed that a setcaps function would check the validity of the caps but
8534 people prefer us to check caps against the template automatically.
8537 2007-05-21 Wim Taymans <wim@fluendo.com>
8539 * libs/gst/base/gstbasetransform.h:
8540 Fix macro for locking/unlocking the transform lock.
8542 2007-05-19 Tim-Philipp Müller <tim at centricular dot net>
8544 * docs/plugins/tmpl/.cvsignore:
8547 2007-05-18 Edward Hervey <edward@fluendo.com>
8549 * plugins/elements/gstqueue.c: (gst_queue_loop):
8550 Hello, I am Mr Taymans' personal debugger. Today I will introduce a fix
8551 for the subtle art of warning a potentially blocking thread that it
8552 should check the source pad return value, and relay the information
8555 2007-05-18 Edward Hervey <edward@fluendo.com>
8557 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
8558 Release the queue lock !
8560 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
8562 * docs/libs/gstreamer-libs-sections.txt:
8563 Add the two new controller functions to the appropiate places.
8565 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
8567 reviewed by: Stefan Kost <ensonic@users.sf.net>
8569 * libs/gst/controller/gstcontroller.c:
8570 (gst_controller_suggest_next_sync), (gst_controller_sync_values),
8571 (_gst_controller_get_property), (_gst_controller_set_property),
8572 (_gst_controller_init), (_gst_controller_class_init):
8573 * libs/gst/controller/gstcontroller.h:
8574 * libs/gst/controller/gsthelper.c: (gst_object_suggest_next_sync),
8575 (gst_object_get_control_rate), (gst_object_set_control_rate):
8576 API: gst_controller_suggest_next_sync(), gst_object_suggest_next_sync()
8577 Add API that provides sync suggestion timestamps for elements that
8578 call gst_object_sync_values() from which those elements can subdivide
8579 their processing loop to get the best results for the controlled
8580 properties. For now it just suggests last_sync + control_rate as
8581 new timestamp but this will be improved in the future.
8583 While doing that change the control-rate property to a GstClockTime
8584 from guint and change it's meaning from samples to nanoseconds as
8585 the GstController doesn't know anything about sampling rate. Strictly
8586 speaking this breaks ABI but as the control-rate property didn't do
8587 anything in the past and as such couldn't be used this should be no
8590 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
8592 reviewed by: Stefan Kost <ensonic@users.sf.net>
8594 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
8595 (gst_controller_unset_all):
8596 * libs/gst/controller/gstcontrollerprivate.h:
8597 * libs/gst/controller/gstinterpolation.c:
8598 (gst_controlled_property_find_control_point_node):
8599 Save last synced value from the list to continue searching from there
8600 in future syncs. This speeds everything up a bit.
8602 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
8604 reviewed by: Stefan Kost <ensonic@users.sf.net>
8606 * libs/gst/controller/gstcontroller.c: (gst_control_point_compare),
8607 (gst_control_point_find), (gst_controlled_property_new),
8608 (gst_control_point_free), (gst_controlled_property_free),
8609 (gst_controller_set), (gst_controller_set_from_list),
8610 (gst_controller_unset), (gst_controller_unset_all),
8611 (gst_controller_sync_values):
8612 * libs/gst/controller/gstcontroller.h:
8613 * libs/gst/controller/gstcontrollerprivate.h:
8614 * libs/gst/controller/gstinterpolation.c:
8615 (gst_controlled_property_find_control_point_node),
8616 (interpolate_none_get), (interpolate_trigger_get):
8617 Add a new private GstControlPoint struct which "inherits" from
8618 GstTimedValue to allow different interpolators to store internal
8619 values next to each control point. From the outside everything is
8620 still a GstControlPoint so we don't loose binary compatibility.
8621 Also fixup all the GValue handling to not leak GValues or list nodes.
8622 * tests/check/libs/controller.c: (GST_START_TEST):
8623 Free the list nodes and GValues in the controller_misc test.
8625 2007-05-17 Edward Hervey <edward@fluendo.com>
8630 2007-05-16 Tim-Philipp Müller <tim at centricular dot net>
8632 * gst/gstplugin.c: (gst_plugin_load_file):
8633 If we fail to load a plugin because of unresolved symbols or missing
8634 libraries and spew a warning to stderr, we may just as well mention
8635 which plugin it was that failed to load.
8637 2007-05-13 David Schleef <ds@schleef.org>
8639 * docs/Makefile.am: the gtk-doc makefile snippet correctly
8640 handles the case when ENABLE_GTK_DOC is false, and installs
8641 the prebuilt documentation. So gtk-doc subdirs are
8642 unconditionally enabled. Fixes: #349099.
8644 2007-05-13 David Schleef <ds@schleef.org>
8646 * gst/gstutils.h: Reword some documentation.
8648 2007-05-12 David Schleef <ds@schleef.org>
8650 * gst/gstplugin.c: gst_plugin_register_func() doesn't actually
8651 do anything with the passed "module" parameter, so remove it.
8652 Allows removal of additional vestigal code.
8654 2007-05-12 David Schleef <ds@schleef.org>
8657 Using sigaction should depend on HAVE_SIGACTION, not HAVE_WIN32.
8658 Switch to using g_stat() because it's more portable.
8660 2007-05-12 David Schleef <ds@schleef.org>
8663 Add GST_DISABLE_OPTION_PARSING, in order to disable option
8664 parsing for embedded systems.
8665 * gst/gstelementfactory.c:
8666 Allow gst_element_register() to be called with plugin==NULL.
8667 Did nobody notice that static elements were broken?
8669 2007-05-12 Wim Taymans <wim@fluendo.com>
8671 * tools/gst-launch.c: (event_loop):
8672 Give more interesting info when buffering starts and stops.
8673 Fix case where buffering starts but we fail to update the buffering flag
8674 because the target state is not PLAYING.
8676 2007-05-12 Wim Taymans <wim@fluendo.com>
8678 * plugins/elements/gstqueue.c: (gst_queue_init),
8679 (gst_queue_finalize), (update_time_level), (apply_segment),
8680 (apply_buffer), (gst_queue_locked_flush),
8681 (gst_queue_locked_enqueue), (gst_queue_locked_dequeue),
8682 (gst_queue_handle_sink_event), (gst_queue_chain),
8683 (gst_queue_push_one), (gst_queue_loop):
8684 * plugins/elements/gstqueue.h:
8685 Refactor an cleanup queue a bit.
8686 Do better time level calculations that also work when the srcpad is not
8688 Remove some unneeded debug lines.
8690 * tests/check/elements/queue.c: (GST_START_TEST), (queue_suite):
8691 Added testcase for time level measurement.
8692 Try to make some stuff more racefree.
8694 2007-05-11 Tim-Philipp Müller <tim at centricular dot net>
8696 * gst/gsturi.c: (gst_element_make_from_uri):
8697 Don't leak plugin feature.
8699 * tests/check/Makefile.am:
8700 * tests/check/gst/.cvsignore:
8701 * tests/check/gst/gsturi.c: (GST_START_TEST), (gst_uri_suite):
8702 Add brain-dead unit test.
8704 2007-05-11 Tim-Philipp Müller <tim at centricular dot net>
8706 Patch by: Jeroen Wouters <woutersj at gmail com>
8708 * gst/gsturi.c: (gst_uri_get_protocol), (search_by_entry):
8709 Treat protocol strings in a case-insensitive way (#437563).
8711 2007-05-11 Michael Smith <msmith@fluendo.com>
8713 * gst/gstplugin.c: (gst_plugin_load_file):
8714 * gst/gstregistry.c: (gst_registry_scan_path_level):
8715 Don't print a g_warning for any failure to load a shared object.
8716 Instead, push this down into gstplugin.c, and warn _only_ if we
8717 failed to open the module (i.e. failure to link).
8718 Avoids warnings on normal, working, non-plugin .so files.
8720 2007-05-11 Stefan Kost <ensonic@users.sf.net>
8722 * gst/gstplugin.c (gst_plugin_load_file):
8723 * gst/gstregistry.c (GST_CAT_DEFAULT,
8724 gst_registry_lookup_feature_locked, gst_registry_scan_path_level):
8725 Print a g_warning if there was an error when loading a plugins during
8726 registry scan. The shuld help beginners starting with gst-plugin
8729 2007-05-10 Wim Taymans <wim@fluendo.com>
8731 * plugins/elements/gstqueue.c: (gst_queue_class_init),
8732 (update_time_level), (gst_queue_locked_flush),
8733 (gst_queue_handle_sink_event), (gst_queue_chain),
8734 (gst_queue_push_one), (gst_queue_loop):
8735 * plugins/elements/gstqueue.h:
8736 Be smarter when calculating the current amount of data in the queue by
8737 measuring the difference between start and end timestamps (in running
8738 time) inside the queue. Fixes #432876.
8739 API: GstQueue::pushing to notify elements that we are pushing data again
8740 since the running signal is rather broken for this purpose.
8742 2007-05-10 Stefan Kost <ensonic@users.sf.net>
8744 * plugins/elements/gstqueue.c (_do_init, gst_queue_signals,
8745 gst_queue_base_init, gst_queue_init):
8748 2007-05-09 Sebastien Moutte <sebastien@moutte.net>
8750 * win32/common/libgstreamer.def:
8751 Add new exported functions.
8752 * win32/vs6/grammar.dsp:
8753 Use grammar pre-generated files.
8755 2007-05-09 Tim-Philipp Müller <tim at centricular dot net>
8757 Based on patch by: Peter Kjellerstedt <pkj at axis com>
8760 * gst/gstparse.c: (gst_parse_launchv), (gst_parse_launch):
8762 * gst/gstutils.c: (gst_parse_bin_from_description):
8764 Maintain API and ABI when --disable-parse is used. Now that
8765 we have an appropriate error code, we can just return NULL and the
8766 appropriate error when gst_parse_launch() is used despite it having
8767 been disabled (#342564).
8769 * tests/check/Makefile.am:
8770 * tests/check/pipelines/.cvsignore:
8771 * tests/check/pipelines/parse-disabled.c:
8772 Make sure these functions exist and return NULL plus a GError when
8773 --disable-parse is used.
8775 2007-05-09 Tim-Philipp Müller <tim at centricular dot net>
8777 * tests/benchmarks/complexity.c: (main):
8778 * tests/benchmarks/mass-elements.c: (main):
8779 Set a good example and don't leak messages.
8781 2007-05-06 Stefan Kost <ensonic@users.sf.net>
8783 * docs/gst/Makefile.am:
8784 * docs/libs/Makefile.am:
8785 Correct fixxrefs options.
8787 * docs/plugins/Makefile.am:
8788 * docs/plugins/gstreamer-plugins-docs.sgml:
8789 * docs/plugins/gstreamer-plugins-sections.txt:
8790 * plugins/elements/Makefile.am:
8791 * plugins/elements/gstcapsfilter.c (gst_capsfilter_details):
8792 * plugins/elements/gstcapsfilter.h (__GST_CAPSFILTER_H__,
8793 GST_TYPE_CAPSFILTER, GST_CAPSFILTER, GST_CAPSFILTER_CLASS,
8794 GST_IS_CAPSFILTER, GST_IS_CAPSFILTER_CLASS, GstCapsFilter,
8795 GstCapsFilterClass, _GstCapsFilter, trans, filter_caps,
8796 _GstCapsFilterClass, trans_class):
8797 * plugins/elements/gstelements.c (name, rank, type, _elements):
8798 * plugins/elements/gstidentity.c
8799 (gst_identity_check_imperfect_timestamp,
8800 gst_identity_check_imperfect_offset):
8801 Document capsfilter and add doc-blurb to identity.
8803 2007-05-04 Tim-Philipp Müller <tim at centricular dot net>
8805 * libs/gst/controller/gstcontroller.c:
8806 (gst_controlled_property_set_interpolation_mode):
8807 * libs/gst/controller/gstinterpolation.c:
8808 Don't crash if someone tries to set an interpolation mode that
8809 is invalid or that isn't supported yet. Fixes #422295.
8811 * tests/check/libs/controller.c: (GST_START_TEST),
8812 (gst_controller_suite):
8813 Add a test case for the above.
8815 2007-05-03 Edward Hervey <edward@fluendo.com>
8817 * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
8818 Properly set the last_stop position on GstSegment. This will only happen
8819 if there is a buffer to push out.
8821 2007-05-03 Wim Taymans <wim@fluendo.com>
8823 * libs/gst/base/gstbasetransform.c:
8824 (gst_base_transform_buffer_alloc):
8825 always_in_place does not mean that the sink and source caps are the
8826 same! Make sure we don't blindly proxy the buffer_alloc in this case.
8828 2007-05-03 Wim Taymans <wim@fluendo.com>
8830 * docs/libs/gstreamer-libs-sections.txt:
8831 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
8832 (gst_base_src_default_query), (gst_base_src_get_range):
8833 * libs/gst/base/gstbasesrc.h:
8834 API: gst_base_src_query_latency(). Added method so that subclasses can
8835 easily get the latency values of the base source class.
8837 2007-05-02 Zaheer Abbas Merali <<zaheerabbas at merali dot org>>
8839 * tools/gst-inspect.c (print_implementation_info):
8842 2007-05-02 Tim-Philipp Müller <tim at centricular dot net>
8844 * tools/Makefile.am:
8845 * tools/gst-launch.1.in:
8846 Don't create a customised man page based on the host architecture,
8847 describe the default registry path generically. That way the man
8848 page is the same for all architectures and packagers have one
8849 multilib issue less to deal with. Fixes #434926.
8851 2007-05-02 Wim Taymans <wim@fluendo.com>
8854 Fix documentation as spotted by rg on IRC.
8856 2007-04-29 Stefan Kost <ensonic@users.sf.net>
8859 Improve docs for gst_element_{link,unlink}.
8861 2007-04-28 Tim-Philipp Müller <tim at centricular dot net>
8863 * docs/design/part-events.txt:
8864 * docs/design/part-overview.txt:
8868 * libs/gst/base/gstbasesink.c:
8869 Typo fixes; minor docs addition.
8871 2007-04-27 Sebastian Dröge <slomo@circular-chaos.org>
8873 * docs/gst/gstreamer-sections.txt:
8874 * gst/gsturi.c: (get_element_factories_from_uri_protocol),
8875 (gst_uri_protocol_is_supported), (gst_element_make_from_uri):
8877 API: Add gst_uri_protocol_is_supported(), which checks if a sink
8878 or src that supports a given URI protocol exists.
8880 2007-04-27 Sebastian Dröge <slomo@circular-chaos.org>
8882 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
8883 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
8884 Set the location to NULL if "file://" is set as URI. Otherwise
8885 some random previous URI would still be set if "file://" is
8886 set on an already used filesink/filesrc.
8888 2007-04-27 Sebastian Dröge <slomo@circular-chaos.org>
8890 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
8891 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
8892 Special case the "file://" URI as as this is used by some
8893 applications to test with gst_element_make_from_uri if there's
8894 an element that supports the URI protocol.
8895 Also move the g_path_is_absolute() check for the location part
8896 of the URI to also check this for "file://localhost/bla" URIs.
8898 2007-04-26 Tim-Philipp Müller <tim at centricular dot net>
8900 * docs/gst/gstreamer-sections.txt:
8901 * gst/gstbuffer.c: (gst_buffer_try_new_and_alloc):
8903 * tests/check/gst/gstbuffer.c: (GST_START_TEST),
8905 API: add gst_buffer_try_new_and_alloc() plus unit test (#431940).
8907 2007-04-26 Stefan Kost <ensonic@users.sf.net>
8909 * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
8910 (gst_registry_binary_load_pad_template),
8911 (gst_registry_binary_load_plugin),
8912 (gst_registry_binary_read_cache):
8913 * gst/gstregistrybinary.h:
8914 Implement no-mmap alternative for registry reading. Do code cleanups.
8915 Add more comments about avoiding strdups for all text data. Comments
8918 2007-04-25 Stefan Kost <ensonic@users.sf.net>
8920 * gst/gstregistrybinary.h (GstBinaryPluginElement,
8921 GstBinaryPluginFeature, _GstBinaryElementFactory, plugin_feature,
8922 GstBinaryElementFactory, _GstBinaryTypeFindFactory, plugin_feature):
8923 Comment structs and reformat to fix the build (that stuff should go
8924 into a priv. header).
8926 2007-04-25 Stefan Kost <ensonic@users.sf.net>
8928 * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
8929 (gst_registry_binary_load_feature):
8930 * gst/gstregistrybinary.h:
8931 Refactor so that we can implement multiple features. Add support for
8932 TypeFindFactory features.
8934 2007-04-24 Stefan Kost <ensonic@users.sf.net>
8936 Patch by: Peter Kjellerstedt <Peter.Kjellerstedt@axis.com>
8939 Fix AM_CONDITIONAL(GST_DISABLE_GST_DEBUG,...) and update comment.
8941 2007-04-23 Stefan Kost <ensonic@users.sf.net>
8943 * gst/gstbin.c: (gst_bin_element_set_state),
8944 (iterator_activate_fold_with_resync), (gst_bin_continue_func),
8945 (bin_handle_async_done), (gst_bin_handle_message_func):
8946 Fix build with --gst-disable-gst-debug
8948 2007-04-21 Tim-Philipp Müller <tim at centricular dot net>
8950 * libs/gst/base/gstbasetransform.c: (gst_base_transform_activate):
8951 Make sure streaming has finished before calling the ::stop() vfunc,
8952 since that vfunc might clear state which is being used in the
8953 streaming thread. This fixes a race that caused crashes in
8954 audioresample when shutting down a pipeline (#420106).
8956 2007-04-20 Stefan Kost <ensonic@users.sf.net>
8958 * docs/gst/gstreamer-sections.txt:
8959 That was one byte missing.
8961 2007-04-20 Stefan Kost <ensonic@users.sf.net>
8964 * docs/gst/gstreamer-sections.txt:
8966 * gst/gstconfig.h.in:
8967 * gst/gstobject.c: (gst_object_class_init),
8968 (gst_signal_object_class_init):
8970 2nd attempt to have a xml-less build as a joined effort of #413123
8973 2007-04-20 Stefan Kost <ensonic@users.sf.net>
8975 * docs/design/draft-tagreading.txt:
8976 Added open issues/thoughts to draft.
8978 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
8980 * gst/parse/grammar.tab.pre.c:
8981 * gst/parse/grammar.tab.pre.h:
8982 * gst/parse/lex._gst_parse_yy.pre.c:
8983 Update the prebuild parser sources.
8985 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
8987 * gst/parse/Makefile.am:
8988 And now fix the building of the flex sources. Now everything should
8991 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
8993 * gst/parse/Makefile.am:
8994 Now hopefully fix the build failures by setting proper rule
8995 dependencies and moving instead of copying.
8997 2007-04-19 Stefan Kost <ensonic@users.sf.net>
8999 * tests/benchmarks/complexity.gnuplot:
9000 * tests/benchmarks/complexity.scm:
9001 * tests/benchmarks/mass-elements.gnuplot:
9002 * tests/benchmarks/mass-elements.scm:
9003 Total licensification.
9005 2007-04-19 Stefan Kost <ensonic@users.sf.net>
9007 * gst/parse/Makefile.am:
9008 Fix the build by correcting the rule that gave wrong files to flex.
9010 2007-04-19 Stefan Kost <ensonic@users.sf.net>
9012 * tests/benchmarks/complexity.c:
9013 * tests/benchmarks/mass-elements.c:
9014 Change licence to LGPL as granted by Benjamin and Andy.
9016 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
9018 * gst/parse/Makefile.am:
9019 Add correct grammar.tab.h dependency if compiling without new enough
9020 flex. Fixes #431150.
9022 2007-04-18 Sebastian Dröge <slomo@circular-chaos.org>
9024 * gst/parse/Makefile.am:
9025 Fix typo and use outdated sources if the flex/bison sources are newer
9026 than the pregenerated ones but flex is too old. Print a warning in
9027 that case. This should fix the build on the build bot.
9029 2007-04-18 Sebastian Dröge <slomo@circular-chaos.org>
9031 Patch by: Marc-Andre Lureau <marcandre dot lureau at gmail dot com>
9032 * gst/parse/Makefile.am:
9033 * gst/parse/grammar.y:
9034 * gst/parse/parse.l:
9035 Make the parser reentrant and recursively callable. This requires flex
9036 >= 2.5.31, for older versions pregenerated sources are used as we
9037 can't bump the build dependency. Finally fixes #349180.
9039 * gst/gstparse.c: (gst_parse_launch):
9040 Drop the HAVE_MT_SAVE_FLEX #ifdefs as we always use a new enough flex
9043 * docs/gst/Makefile.am:
9044 * docs/gst/Makefile.am:
9045 * gst/parse/grammar.tab.pre.c: (__gst_parse_strdup),
9046 (__gst_parse_strfree), (__gst_parse_link_new),
9047 (__gst_parse_link_free), (__gst_parse_chain_new),
9048 (__gst_parse_chain_free), (SET_ERROR), (YYPRINTF),
9049 (gst_parse_element_set), (gst_parse_free_link),
9050 (gst_parse_found_pad), (gst_parse_perform_delayed_link),
9051 (gst_parse_perform_link), (yytnamerr), (yysyntax_error), (yyerror),
9052 (_gst_parse_launch):
9053 * gst/parse/grammar.tab.pre.h:
9054 * gst/parse/lex._gst_parse_yy.pre.c: (PRINT), (yy_get_next_buffer),
9055 (yy_get_previous_state), (yy_try_NUL_trans), (input),
9056 (_gst_parse_yyrestart), (_gst_parse_yy_switch_to_buffer),
9057 (_gst_parse_yy_load_buffer_state), (_gst_parse_yy_create_buffer),
9058 (_gst_parse_yy_delete_buffer), (_gst_parse_yy_init_buffer),
9059 (_gst_parse_yy_flush_buffer), (_gst_parse_yypush_buffer_state),
9060 (_gst_parse_yypop_buffer_state),
9061 (_gst_parse_yyensure_buffer_stack), (_gst_parse_yy_scan_buffer),
9062 (_gst_parse_yy_scan_string), (_gst_parse_yy_scan_bytes),
9063 (yy_fatal_error), (_gst_parse_yyget_extra),
9064 (_gst_parse_yyget_lineno), (_gst_parse_yyget_column),
9065 (_gst_parse_yyget_in), (_gst_parse_yyget_out),
9066 (_gst_parse_yyget_leng), (_gst_parse_yyget_text),
9067 (_gst_parse_yyset_extra), (_gst_parse_yyset_lineno),
9068 (_gst_parse_yyset_column), (_gst_parse_yyset_in),
9069 (_gst_parse_yyset_out), (_gst_parse_yyget_debug),
9070 (_gst_parse_yyset_debug), (_gst_parse_yyget_lval),
9071 (_gst_parse_yyset_lval), (_gst_parse_yylex_init),
9072 (yy_init_globals), (_gst_parse_yylex_destroy), (yy_flex_strncpy),
9073 (yy_flex_strlen), (_gst_parse_yyalloc), (_gst_parse_yyrealloc),
9074 (_gst_parse_yyfree):
9075 If the installed flex version is too old use pre-generated parser
9076 sources. These pre-generated parser sources are always updated when
9077 the actual flex/bison sources change but require everybody who wants
9078 to change something in the parser to have flex >= 2.5.31 installed.
9080 2007-04-18 Stefan Kost <ensonic@users.sf.net>
9082 * common/m4/gst-gettext.m4:
9083 * gst/gst-i18n-lib.h:
9084 Make --disable-nls to work
9086 2007-04-17 Wim Taymans <wim@fluendo.com>
9088 * gst/gstconfig.h.in:
9089 Revert previous change that broke the build.
9091 2007-04-17 Stefan Kost <ensonic@users.sf.net>
9095 * gst/gstconfig.h.in:
9096 Drop libxml2 dependency when building with
9097 --enable-binary-registry --disable-loadsave
9099 2007-04-16 Tim-Philipp Müller <tim at centricular dot net>
9101 * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
9102 (gst_registry_binary_read_cache):
9103 * gst/gstregistrybinary.h:
9104 Remove unnecessary <sys/mman.h> include which broke the win32 build
9105 with MingW; move includes from header file to .c file, even if the
9106 header file isn't installed; use g_strerror() where UTF-8 strings
9107 are expected, such as in GST_DEBUG messages.
9109 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
9111 * docs/libs/gstreamer-libs-sections.txt:
9112 Remove bogus addition for API I didn't end up keeping.
9114 * libs/gst/base/gstbasesrc.h:
9115 Mention Since: 0.10.13 in the documentation.
9117 Add the API keyword to the previous ChangeLog entry.
9119 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
9121 * docs/libs/gstreamer-libs-sections.txt:
9122 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
9123 (gst_base_src_default_prepare_seek_segment),
9124 (gst_base_src_prepare_seek_segment), (gst_base_src_perform_seek):
9125 * libs/gst/base/gstbasesrc.h:
9126 Allow basesrc derived classes to execute seeks in other formats
9127 by providing a prepare_seek_segment vmethod. Sub-classes can choose
9128 to prepare the GstSegment in any format that their perform_seek method
9129 will be able to understand. The default implementation provides the
9130 old behaviour of attempting to convert the seek offsets to the
9131 configured native format.
9133 API: basesrc::prepare_seek_segment vmethod.
9135 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
9137 * gst/gstelement.c: (gst_element_get_state_func):
9138 Don't output the same debug statement twice.
9140 * libs/gst/base/gstadapter.c: (gst_adapter_try_to_merge_up),
9141 (gst_adapter_peek), (gst_adapter_take_buffer):
9142 Optimise the case where we have buffers at the head of the queue that
9143 can be joined quickly (because they're contiguous sub-buffers) by
9144 merging them together rather than copying data out into new memory.
9146 * gst/parse/grammar.y:
9147 * tests/check/pipelines/parse-launch.c:
9148 Fix a leak in an error path for parse_launch, and add a check
9149 for it to the testsuite.
9151 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
9153 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
9154 Don't deadlock when releasing a pad - gst_pad_set_active may try
9155 and take the multiqueue lock too.
9157 2007-04-12 Tim-Philipp Müller <tim at centricular dot net>
9159 * gst/gsterror.c: (_gst_core_errors_init):
9161 API: add GST_CORE_ERROR_DISABLED (#392804).
9163 2007-04-12 Thomas Vander Stichele <thomas at apestaart dot org>
9165 * docs/faq/gst-uninstalled:
9166 don't get empty paths on the PATH variables
9167 * gst/gstpad.c (gst_pad_is_active, gst_pad_set_blocked_async):
9168 Don't format for the uncommon terminal width of 84 characters.
9170 2007-04-06 Wim Taymans <wim@fluendo.com>
9172 * gst/gstpipeline.c: (reset_stream_time),
9173 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time):
9174 Only try to select a different pipeline clock when we went back to
9175 PAUSED and not when we merely got flushed.
9177 2007-04-05 Michael Smith <msmith@fluendo.com>
9179 * tools/gst-launch.1.in:
9180 fractions are better supported in gstreamer than ractions, so
9181 suggest using those.
9183 2007-04-05 Thomas Vander Stichele <thomas at apestaart dot org>
9185 Submitted by: Mogens Jaeger <mogens@jaeger.tf>
9189 Added Danish translation.
9191 2007-04-05 Wim Taymans <wim@fluendo.com>
9193 * libs/gst/base/gstbasesink.c:
9194 (gst_base_sink_queue_object_unlocked), (gst_base_sink_event):
9195 Fix leak caused when refusing newsegment after EOS.
9197 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
9198 (gst_fake_sink_init), (gst_fake_sink_set_property),
9199 (gst_fake_sink_get_property), (gst_fake_sink_preroll),
9200 (gst_fake_sink_render), (gst_fake_sink_change_state):
9201 * plugins/elements/gstfakesink.h:
9202 Add num-buffers property to make the element generate EOS after a
9203 configurable amount of buffers.
9204 API: fakesink::num-buffers property.
9206 * tests/check/elements/fakesink.c: (GST_START_TEST),
9208 Fix GstBus leak in test.
9209 Test for fakesink num-buffers.
9211 2007-04-05 Wim Taymans <wim@fluendo.com>
9213 * libs/gst/base/gstbasesink.c:
9214 (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
9215 (gst_base_sink_change_state):
9216 Don't accept anything after an EOS, return UNEXPECTED instead.
9218 * tests/check/elements/fakesink.c: (GST_START_TEST),
9220 Unit test for new EOS behaviour.
9222 2007-04-05 Wim Taymans <wim@fluendo.com>
9224 * gst/gstelement.c: (gst_element_get_request_pad):
9225 Make padtemplates also work when they don't contain %s or %d.
9227 2007-04-05 Wim Taymans <wim@fluendo.com>
9229 * docs/gst/gstreamer-sections.txt:
9230 * gst/gstclock.c: (gst_clock_adjust_unlocked),
9231 (gst_clock_unadjust_unlocked), (gst_clock_set_calibration):
9233 Improve _adjust_unlocked() so that it overflows less.
9234 Add gst_clock_unadjust_unlocked to convert from external time to
9235 internal time based on calibration.
9236 Add some more debug.
9237 API: GstClock::gst_clock_unadjust_unlocked()
9239 2007-04-03 Wim Taymans <wim@fluendo.com>
9241 Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
9243 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
9244 Deactivate pads and free GstSingleQueue with gst_single_queue_free()
9245 when releasing sink pad. Fixes #425400.
9247 2007-04-02 Stefan Kost <ensonic@users.sf.net>
9249 * docs/random/ensonic/dynlink.txt:
9250 More work on proposal for new core api.
9252 * docs/libs/gstreamer-libs-sections.txt:
9253 * libs/gst/base/gstbasetransform.h:
9254 API: GST_BASE_TRANSFORM_LOCK/UNLOCK added
9256 * libs/gst/controller/gstcontroller.c:
9257 (on_object_controlled_property_changed),
9258 (gst_controller_sync_values),
9259 (gst_controller_set_interpolation_mode):
9260 * libs/gst/controller/gstcontroller.h:
9261 Less verbose logging add docs for unimplemented parts and correctly
9262 return when using unavailable parts.
9264 2007-03-29 Jan Schmidt <thaytan@mad.scientist.com>
9266 * gst/gstclock.c: (gst_clock_set_master), (do_linear_regression):
9267 Move all the debug to the CLOCK category, and associate it with
9270 2007-03-29 Jan Schmidt <thaytan@mad.scientist.com>
9272 * libs/gst/base/gstadapter.c: (gst_adapter_take_buffer):
9273 Make take_buffer a bit quicker by removing redundant checks
9274 caused by calling gst_adapter_take.
9276 2007-03-28 Tim-Philipp Müller <tim at centricular dot net>
9278 * plugins/elements/gstmultiqueue.c: (gst_single_queue_free):
9281 * tests/check/Makefile.am:
9282 * tests/check/elements/.cvsignore:
9283 * tests/check/elements/multiqueue.c: (setup_multiqueue),
9284 (GST_START_TEST), (multiqueue_suite):
9285 Add some dead simple unit tests for the 'multiqueue' element
9286 (some bits don't work yet and are disabled for now).
9288 2007-03-28 Tim-Philipp Müller <tim at centricular dot net>
9290 * gst/gstelement.c: (gst_element_get_request_pad),
9291 (gst_element_class_get_request_pad_template):
9292 Make gst_element_get_request_pad() create request pads only for
9293 request pad templates and not for, say, sometimes pad templates.
9295 2007-03-28 Stefan Kost <ensonic@users.sf.net>
9297 * docs/design/draft-klass.txt:
9298 Add example that needs more thinking.
9300 * docs/design/draft-missing-plugins.txt:
9301 More thoughts about wrapper plugins.
9303 * docs/random/ensonic/embedded.txt:
9304 * docs/random/ensonic/profiling.txt:
9307 2007-03-25 Wim Taymans <wim@fluendo.com>
9309 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range),
9310 (gst_base_src_loop):
9311 Only push the segment events in the PLAYING state for live sources.
9313 2007-03-23 Jan Schmidt <thaytan@mad.scientist.com>
9315 * gst/gstpipeline.c: (gst_pipeline_change_state):
9316 Modify the clock distribution path in PAUSED->PLAYING so that we
9317 never attempt to choose a new clock unless we're actually leaving
9318 the PAUSED state for the first time. This prevents choosing a
9319 different clock when the state_change gets called for a 2nd time due
9320 to some element doing an async state change.
9322 2007-03-22 Sebastian Dröge <slomo@circular-chaos.org>
9324 * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_configure_sink),
9325 (gst_pad_configure_src), (gst_pad_alloc_buffer_full),
9326 (gst_pad_chain_unchecked), (gst_pad_push):
9327 Revert last commit. This needs some more thoughts.
9329 2007-03-22 Sebastian Dröge <slomo@circular-chaos.org>
9331 * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_alloc_buffer_full),
9332 (gst_pad_chain_unchecked), (gst_pad_push):
9333 Check in set_caps if the caps are compatible with the pad and remove
9334 two functions that are redundant now. Fixes #421543.
9336 2007-03-22 Wim Taymans <wim@fluendo.com>
9338 * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
9339 (mixed_thread), (mixed_async_cb), (gst_systemclock_suite):
9340 Unref some more to make valgrind happy.
9342 2007-03-22 Wim Taymans <wim@fluendo.com>
9344 * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked),
9345 (gst_system_clock_id_wait_jitter),
9346 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
9347 Fix anoying regression that survived a few releases. When adding an
9348 async entry while blocking on a sync entry, the sync entry will unblock
9349 but still be busy, so it should continue to wait instead of returning
9351 Add some comments here and there.
9353 * tests/check/gst/gstsystemclock.c: (mixed_thread),
9354 (mixed_async_cb), (GST_START_TEST), (gst_systemclock_suite):
9355 Add testcase for this.
9357 2007-03-22 Wim Taymans <wim@fluendo.com>
9359 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
9360 Handle errors from the clock sync better, only UNSCHEDULED indicates a
9361 WRONG_STATE and can silently pause the task. All other cases should
9364 2007-03-22 Wim Taymans <wim@fluendo.com>
9366 Patch by: Ville Syrjala <syrjala at sci dot fi>
9368 * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_send_event):
9369 Fix possible deadlock if pad eventfunc is not specified. Fixes #421177.
9372 2007-03-21 Michael Smith <msmith@fluendo.com>
9374 * docs/pwg/advanced-types.xml:
9375 Fix some errors in the typefinding docs pointed out on irc.
9377 2007-03-21 Jan Schmidt <thaytan@mad.scientist.com>
9379 * libs/gst/base/gstbasesrc.c:
9380 Clarify FIXME comment in the face of having added unlock_stop()
9382 2007-03-21 Wim Taymans <wim@fluendo.com>
9384 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_element_set_state):
9385 Prepare for release where we warn against possible app breakage in the
9386 case of live pipelines along with an env var to enable/disable live
9387 preroll mode (GST_COMPAT=[no-]live-preroll).
9389 2007-03-20 Zaheer Abbas Merali <zaheerabbas at merali dot org>
9391 * plugins/elements/gstidentity.c (gst_identity_check_imperfect_offset):
9392 So we should use correct constants for checking for None offset.
9394 2007-03-20 Wim Taymans <wim@fluendo.com>
9396 * docs/design/part-block.txt:
9397 Mention the fact that the newly switched element should be set to at
9400 2007-03-20 Wim Taymans <wim@fluendo.com>
9403 Fix compilation with registry disabled as spotted by Saur.
9405 2007-03-20 Wim Taymans <wim@fluendo.com>
9407 Patch by: Olivier Crete <tester at tester dot ca>
9409 * gst/gstelement.c: (gst_element_sync_state_with_parent):
9410 Look at the pending state too when syncing the element state to the
9411 parent. Fixes #420133.
9413 2007-03-19 Jan Schmidt <thaytan@mad.scientist.com>
9415 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
9416 (gst_base_sink_change_state):
9417 * libs/gst/base/gstbasesink.h:
9418 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
9419 (gst_base_src_default_event), (gst_base_src_unlock_stop),
9420 (gst_base_src_deactivate):
9421 * libs/gst/base/gstbasesrc.h:
9422 Add ::unlock_stop to basesrc and basesink. This allows an opportunity
9423 for sub-classes to correctly clear any state they set trying to
9424 unlock, such as clearing out unlock commands from a command fd.
9425 API: basesrc::unlock_stop
9426 API: basesink::unlock_stop
9428 * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init),
9429 (gst_fd_sink_render), (gst_fd_sink_unlock),
9430 (gst_fd_sink_unlock_stop):
9431 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
9432 (gst_fd_src_init), (gst_fd_src_unlock), (gst_fd_src_unlock_stop),
9433 (gst_fd_src_create), (gst_fd_src_get_size), (gst_fd_src_do_seek):
9435 Implement unlock_stop in fdsrc and fdsink.
9436 Implement seeking in fdsrc when a seekable fd is passed, as in
9437 gst-launch-0.10 fdsrc ! ... ! xvimagesink < /path/to/file
9439 2007-03-19 Wim Taymans <wim@fluendo.com>
9441 Patch by: Evan Nemerson <evan at coeus dash group dot com>
9443 * gst/gstelement.c: (gst_element_class_init):
9444 Fix pad-added and pad-removed signal signatures so that the pad type is
9445 stated as GST_TYPE_PAD instead of G_TYPE_OBJECT. Fixes #419851.
9447 2007-03-19 Wim Taymans <wim@fluendo.com>
9449 * docs/gst/gstreamer-sections.txt:
9450 Add new element field and method.
9452 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
9453 (bin_remove_messages), (gst_bin_add_func), (gst_bin_remove_func),
9454 (gst_bin_recalc_state), (gst_bin_get_state_func),
9455 (gst_bin_element_set_state), (gst_bin_change_state_func),
9456 (gst_bin_continue_func), (bin_bus_handler),
9457 (bin_push_state_continue), (bin_handle_async_start),
9458 (bin_handle_async_done), (gst_bin_handle_message_func):
9459 Make async state changes a bit smarter by using new ASYNC_START and
9460 ASYNC_DONE messages. This reduces the number of times we run the state
9461 recalculation thread.
9462 Don't change state of element with a pending ASYNC_START message.
9463 Deprecate STATE_DIRTY messages.
9465 * gst/gstelement.c: (gst_element_init), (gst_element_send_event),
9466 (gst_element_get_state_func), (gst_element_continue_state),
9467 (gst_element_lost_state), (gst_element_set_state_func),
9468 (gst_element_change_state):
9470 Keep the state that was last set by the app in a new element field.
9471 Don't allow state changes when handling an element event.
9472 Post ASYNC_START and ASYNC_DONE messages.
9473 Change lost_state so that we go to PAUSED and wait for the parent to set
9474 us to PLAYING again (so latency calculation can be performed)
9475 Export gst_element_change_state() method so that subclasses can use it.
9476 API: gst_element_change_state()
9477 API: GST_STATE_TARGET
9479 * gst/gstpipeline.c: (gst_pipeline_class_init),
9480 (reset_stream_time), (gst_pipeline_change_state),
9481 (gst_pipeline_handle_message), (gst_pipeline_set_new_stream_time):
9482 Using the new ASYNC_START message we can reset the base_time when
9483 needed. This can then be used to implement base_time redistribution in
9484 flushing seeks so that we can remove the explicit seek handling.
9485 Perform latency query and configuration when going to PLAYING.
9487 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
9488 (gst_base_sink_query), (gst_base_sink_change_state):
9489 Post new ASYNC_START/ASYNC_DONE messages.
9491 * tests/check/generic/sinks.c: (GST_START_TEST):
9492 Fix test because the bin will not set the async element to PLAYING right
9495 * tests/check/gst/gstbin.c: (pop_async_done), (GST_START_TEST):
9496 Make the message check a little stronger.
9497 Handle ASYNC messages.
9499 * tests/check/pipelines/cleanup.c: (GST_START_TEST):
9500 * tests/check/pipelines/simple-launch-lines.c: (GST_START_TEST):
9501 Expect ASYNC_DONE messages.
9503 2007-03-19 Wim Taymans <wim@fluendo.com>
9505 * docs/gst/gstreamer-sections.txt:
9506 * gst/gstmessage.c: (gst_message_new_async_start),
9507 (gst_message_new_async_done), (gst_message_parse_info),
9508 (gst_message_parse_async_start):
9510 Add ASYNC_START and ASYNC_DONE messages to prepare for latency
9513 2007-03-15 Tim-Philipp Müller <tim at centricular dot net>
9515 * tools/gst-inspect.c:
9516 (print_plugin_automatic_install_info_codecs):
9517 Now that we don't check for the 'Codec' keyword any longer in the
9518 klass, we shouldn't spew a warning if the klass isn't a decoder or
9519 encoder (since it might be a Source/Network, for example).
9521 2007-03-14 Tim-Philipp Müller <tim at centricular dot net>
9523 * tools/gst-inspect.c:
9524 (print_plugin_automatic_install_info_codecs):
9525 Don't require decoder/demuxer/depayloader elements or
9526 encoder/muxer/paylader elements to have 'Codec' as part of their
9527 factory class string when introspecting a plugin's capabilities.
9528 draft-klass.txt mentions that it might be removed in future, and
9529 flump3dec doesn't have it as part of its class string, so chances
9530 are others might also not have it.
9532 2007-03-14 Thomas Vander Stichele <thomas at apestaart dot org>
9554 Update translations from translation project
9556 2007-03-14 Stefan Kost <ensonic@users.sf.net>
9558 * gst/gstchildproxy.c: (gst_child_proxy_get_property),
9559 (gst_child_proxy_set_property):
9560 Invert precondition check to be alike the ones in the mimiced gobject
9563 2007-03-13 Stefan Kost <ensonic@users.sf.net>
9565 * docs/design/draft-tagreading.txt:
9566 * docs/random/ensonic/audiobaseclasses.txt:
9567 Do some Architect work.
9569 * gst/gstobject.c: (gst_object_set_name):
9573 Add docs that point from gst_pad_get_range to gst_pad_pull_range
9575 2007-03-12 Jan Schmidt <thaytan@mad.scientist.com>
9577 * gst/gstsystemclock.c: (gst_system_clock_init),
9578 (gst_system_clock_start_async), (gst_system_clock_id_wait_async):
9579 Defer starting the async system clock thread until the first async
9580 wait is scheduled. Fixes #414986.
9582 2007-03-12 Tim-Philipp Müller <tim at centricular dot net>
9584 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_finalize),
9585 (gst_single_queue_free):
9586 Fix small leak (free GstSingleQueue structure too, not only contents).
9588 2007-03-10 Sebastien Moutte <sebastien@moutte.net>
9590 * gst/gstbin.c:(gst_bin_add):
9591 Use GST_STR_NULL to prevent NULL pointer to be passed to GST_CAT_DEBUG.
9592 * win32/common/libgstbase.def:
9593 * win32/common/libgstreamer.def:
9594 Add new exported functions.
9596 2007-03-09 Wim Taymans <wim@fluendo.com>
9598 * docs/plugins/gstreamer-plugins-sections.txt:
9601 2007-03-09 Wim Taymans <wim@fluendo.com>
9603 * docs/gst/gstreamer-sections.txt:
9604 * gst/gstbuffer.c: (gst_buffer_copy_metadata), (_gst_buffer_copy):
9606 Add metadata copy functions. Fixes #393099.
9607 API: gst_buffer_copy_metadata()
9609 * gst/gstutils.c: (gst_buffer_stamp):
9610 * libs/gst/base/gstbasetransform.c:
9611 (gst_base_transform_prepare_output_buffer):
9612 Use new metadata copy functions.
9614 2007-03-09 Thomas Vander Stichele <thomas at apestaart dot org>
9616 * plugins/elements/gstidentity.c: (gst_identity_class_init),
9617 (gst_identity_init), (gst_identity_check_perfect),
9618 (gst_identity_check_imperfect_timestamp),
9619 (gst_identity_check_imperfect_offset), (gst_identity_transform_ip),
9620 (gst_identity_set_property), (gst_identity_get_property):
9621 * plugins/elements/gstidentity.h:
9622 Separate out check-imperfect-timestamp and check-imperfect-offset.
9623 Put back check-perfect as it was to keep compatibility.
9625 2007-03-09 Jan Schmidt <thaytan@mad.scientist.com>
9627 * gst/gstelement.c: (gst_element_dispose):
9628 There's no need to warn if VOID_PENDING is not NONE here, as
9629 long as the state is NULL it's ok, and that's checked immediately
9632 2007-03-08 Zaheer Abbas Merali <zaheerabbas at merali dot org>
9634 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
9635 Fix check for perfect stream to ignore buffers with -1
9636 offsets/offset ends when checking data contiguity.
9638 2007-03-08 Wim Taymans <wim@fluendo.com>
9640 * tools/gst-launch.c: (event_loop):
9641 Print INFO messages.
9643 2007-03-08 Wim Taymans <wim@fluendo.com>
9645 * libs/gst/base/gstbasetransform.c:
9646 (gst_base_transform_sink_eventfunc),
9647 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
9648 (gst_base_transform_activate):
9649 * libs/gst/base/gstbasetransform.h:
9650 Add support for dropping buffers with custom GstFlowReturn.
9651 Set DISCONT flags on outgoing buffers based on QoS, incomming DISCONT
9652 buffers or dropped buffers.
9654 * docs/libs/gstreamer-libs-sections.txt:
9655 docs for new custom return code.
9657 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
9658 Use drop support in base class to implement drop-probability.
9660 2007-03-07 Tim-Philipp Müller <tim at centricular dot net>
9662 * gst/gst.c: (load_plugin_func):
9663 * gst/gstplugin.c: (gst_plugin_load_by_name), (gst_plugin_load):
9664 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
9665 * gst/gsttrace.c: (gst_trace_new), (gst_alloc_trace_set_flags_all):
9666 Remove newlines at end of debug log strings.
9668 2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
9670 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
9671 Only post bus message at max, once per buffer received.
9673 2007-03-07 Wim Taymans <wim@fluendo.com>
9675 * docs/design/Makefile.am:
9676 * docs/design/part-synchronisation.txt:
9677 Add doc about synchronisation
9679 * docs/design/draft-latency.txt:
9680 * docs/design/part-TODO.txt:
9681 * docs/design/part-clocks.txt:
9682 * docs/design/part-events.txt:
9683 * docs/design/part-gstbus.txt:
9684 * docs/design/part-gstpipeline.txt:
9685 * docs/design/part-live-source.txt:
9686 * docs/design/part-messages.txt:
9687 * docs/design/part-overview.txt:
9688 * docs/design/part-streams.txt:
9689 * docs/design/part-trickmodes.txt:
9690 Documentation updates.
9692 2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
9695 Update the doap file.
9697 2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
9699 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
9700 Rename non-perfect to imperfect for Mike and for the sanctity of the
9702 Also make sure bus message gets emitted for data-incontiguities.
9704 2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
9706 * plugins/elements/gstidentity.c: (gst_identity_check_perfect),
9707 (gst_identity_start):
9708 * plugins/elements/gstidentity.h:
9709 Emit bus message if check-perfect is true and we encounter a
9710 non-perfect stream between 2 consecutive buffers.
9713 2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
9718 === release 0.10.12 ===
9720 2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
9723 releasing 0.10.12, "Inevitable Demise"
9725 2007-03-01 Jan Schmidt <thaytan@mad.scientist.com>
9728 Version 0.10.11.2 (0.10.12 pre-release)
9729 Bump libtool versioning.
9731 2007-03-01 Stefan Kost <ensonic@users.sf.net>
9733 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
9734 Log flow-names and not numbers.
9736 2007-02-28 Thomas Vander Stichele <thomas at apestaart dot org>
9739 Convert to new AG_GST style.
9741 2007-02-28 Wim Taymans <wim@fluendo.com>
9743 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency):
9744 Don't unref query twice.
9746 2007-02-28 Wim Taymans <wim@fluendo.com>
9748 * gst/gstvalue.c: (gst_value_transform_object_string),
9749 (_gst_value_initialize):
9750 Implement GstObject -> string transform so we print object names
9751 when serializing GValues containing GstObjects.
9753 2007-02-28 Wim Taymans <wim@fluendo.com>
9755 * docs/gst/gstreamer-sections.txt:
9756 Add new stuff to docs.
9758 2007-02-28 Wim Taymans <wim@fluendo.com>
9760 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
9761 (gst_base_sink_queue_object_unlocked), (gst_base_sink_send_event),
9762 (gst_base_sink_change_state):
9763 Improve latency query code.
9764 Don't leak latency events.
9766 * tests/check/gst/gstbin.c: (GST_START_TEST):
9769 2007-02-28 Wim Taymans <wim@fluendo.com>
9771 * gst/gstelement.c: (gst_element_message_full),
9772 (gst_element_get_state_func):
9774 Improve docs a little. Added Since: for new macro.
9776 * gst/gstobject.c: (gst_object_sink):
9777 * gst/gstpipeline.c: (gst_pipeline_change_state),
9778 (gst_pipeline_set_new_stream_time):
9779 * gst/gstpipeline.h:
9780 Improve debugging and docs.
9782 * gst/gstutils.c: (gst_element_state_change_return_get_name):
9785 2007-02-28 Wim Taymans <wim@fluendo.com>
9787 * gst/gstelement.c: (gst_element_message_full),
9788 (gst_element_set_locked_state), (gst_element_get_state_func),
9789 (gst_element_change_state):
9790 Handle INFO messages from the GST_ELEMENT_INFO macro as well.
9791 Documentation updates.
9792 Small code cleanups.
9794 * gst/gstmessage.c: (gst_message_new_info),
9795 (gst_message_parse_info):
9797 API: gst_message_new_info()
9798 API: gst_message_parse_info()
9799 Add INFO message create and parse code.
9801 2007-02-28 Wim Taymans <wim@fluendo.com>
9803 * gst/gstbin.c: (bin_query_min_max_init), (bin_query_latency_fold),
9804 (bin_query_latency_done):
9805 Also report the live parameter of a latency query.
9807 2007-02-28 Thomas Vander Stichele <thomas at apestaart dot org>
9809 * tests/check/generic/states.c: (GST_START_TEST), (states_suite):
9810 Copy the current generic/states example from -base and adapt so
9811 we can use the exact same code everywhere.
9812 Check a STATES_IGNORE_ELEMENTS env var which can be used
9813 to ignore certain element factories for this test, which is
9814 what is being done in -base
9815 * tests/check/Makefile.am:
9816 Mention this environment variable.
9818 2007-02-27 Wim Taymans <wim@fluendo.com>
9820 * docs/gst/gstreamer-sections.txt:
9821 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
9822 (gst_bus_timed_pop), (gst_bus_pop):
9824 API: gst_bus_timed_pop()
9825 Implement gst_bus_timed_pop() to do a blocking timed wait for a
9826 message to arrive on the bus.
9828 * tests/check/gst/gstbus.c: (GST_START_TEST), (pop_thread),
9830 Two unit tests for new _timed_pop() function.
9832 2007-02-23 Wim Taymans <wim@fluendo.com>
9834 * gst/gstpipeline.c: (gst_pipeline_change_state),
9835 (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay):
9836 Don't ref a NULL clock in _provide_clock_func().
9837 Don't allow an INVALID delay.
9838 Don't try to calculate base_time with an invalid start_time.
9839 Also distribute and notify a NULL clock when it was selected.
9841 * tools/gst-launch.c: (event_loop):
9842 Don't crash when a NULL clock was selected in the pipeline.
9844 2007-02-23 Tim-Philipp Müller <tim at centricular dot net>
9846 * docs/design/Makefile.am:
9847 * docs/design/draft-missing-plugins.txt:
9848 * docs/random/draft-missing-plugins.txt:
9849 Some small updates: update plugin system identifier prefix
9850 ('gstreamer.net' to 'gstreamer'), mention our new install
9851 API in libgstbaseutils rather than libgimme-codec, add
9852 reference to the online docs.
9854 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
9856 * win32/common/config.h:
9857 Pretty sure Bill never made a powerpc version. Powerpc hackers,
9858 use moap cl ci to only check in what is mentioned in the ChangeLog.
9860 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
9862 * docs/gst/gstreamer-sections.txt:
9864 Fix up documentation to link to the correct GstGError section.
9865 Add GST_ELEMENT_INFO macro since someone else added a Info message.
9867 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
9869 * tools/gst-launch.c: (event_loop):
9870 Make sure that we actually show the important message part of a
9872 No need to check if the gerror is not NULL to free; first of all
9873 g_free accepts NULL; and second the default error handler would
9874 segfault if gerror was NULL.
9876 2007-02-21 Wim Taymans <wim@fluendo.com>
9878 * docs/gst/gstreamer-sections.txt:
9879 Removed docs as well.
9881 2007-02-21 Wim Taymans <wim@fluendo.com>
9883 * gst/gstmessage.c: (gst_message_parse_duration):
9885 Remove new messages for release.
9887 2007-02-20 Wim Taymans <wim@fluendo.com>
9889 * docs/design/part-gstghostpad.txt:
9890 * gst/gstghostpad.c: (gst_ghost_pad_dispose),
9891 (gst_ghost_pad_new_full):
9892 Make the ghostpad a parent of the internal pad again for better backward
9893 compatibility. Don't write code that relies on this however.
9895 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
9896 (gst_pad_link_check_hierarchy):
9897 Require that parents should be GstElements in the hierarchy check.
9899 2007-02-20 Wim Taymans <wim@fluendo.com>
9901 * gst/gstbin.c: (bin_replace_message), (gst_bin_add_func),
9902 (gst_bin_change_state_func), (bin_query_min_max_init),
9903 (bin_query_latency_fold), (bin_query_latency_done),
9906 Implement latency query.
9908 2007-02-20 Wim Taymans <wim@fluendo.com>
9910 * docs/design/part-gstghostpad.txt:
9911 * gst/gstghostpad.c: (gst_ghost_pad_class_init),
9912 (gst_ghost_pad_internal_do_activate_push),
9913 (gst_ghost_pad_internal_do_activate_pull),
9914 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
9915 (gst_ghost_pad_do_link), (gst_ghost_pad_dispose),
9916 (gst_ghost_pad_new_full), (gst_ghost_pad_set_target):
9917 Do not set the internal pad as a parent anymore so we can avoid
9918 hierarchy linking errors when the ghostpad has no parent yet. This also
9919 fixes failed activation because of unlinked internal pads, which in
9920 turn fixes the impossible case where you have to activate a pad before
9921 you can add it to a running element.
9924 * gst/gstpad.c: (pre_activate), (post_activate),
9925 (gst_pad_set_active), (gst_pad_activate_pull),
9926 (gst_pad_activate_push), (gst_pad_check_pull_range):
9927 Add some more debug info.
9928 Mark activation mode in pre_activate so that we don't try to activate in
9929 endless loops. Fixes #385084.
9931 2007-02-19 Wim Taymans <wim@fluendo.com>
9933 * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
9934 (gst_base_transform_check_get_range):
9935 Implement a checkgetrange function instead of relying on the default
9936 core behaviour that assumes we can operate in pull mode if we have a
9937 getrange function. First step at fixing #385084.
9939 2007-02-15 Stefan Kost <ensonic@users.sf.net>
9941 * gst/gstchildproxy.h:
9942 * libs/gst/base/gstbasesink.h:
9943 * libs/gst/base/gstbasesrc.h:
9944 * libs/gst/base/gstbasetransform.h:
9945 More docs coverage and some ChangeLog surgery (add missing names)
9947 2007-02-15 Wim Taymans <wim@fluendo.com>
9949 * docs/design/part-TODO.txt:
9950 * docs/design/part-activation.txt:
9951 * docs/design/part-block.txt:
9952 * docs/design/part-buffering.txt:
9953 * docs/design/part-clocks.txt:
9954 * docs/design/part-element-source.txt:
9955 * docs/design/part-events.txt:
9956 * docs/design/part-gstbin.txt:
9957 * docs/design/part-gstbus.txt:
9958 * docs/design/part-gstpipeline.txt:
9959 * docs/design/part-live-source.txt:
9960 * docs/design/part-messages.txt:
9961 * docs/design/part-overview.txt:
9962 * docs/design/part-qos.txt:
9963 * docs/design/part-query.txt:
9964 * docs/design/part-states.txt:
9965 * docs/design/part-trickmodes.txt:
9966 Some doc updates. Start renaming from stream_time to running_time where
9967 it was used wrongly.
9969 2007-02-15 Wim Taymans <wim@fluendo.com>
9971 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
9972 Answer LATENCY query.
9974 2007-02-15 Wim Taymans <wim@fluendo.com>
9976 * tests/check/gst/gstevent.c: (event_probe), (test_event),
9980 2007-02-15 Wim Taymans <wim@fluendo.com>
9982 * gst/gstpad.c: (gst_pad_get_internal_links_default),
9983 (gst_pad_dispatcher):
9984 Improve debugging of default pad dispatcher and query functions.
9986 2007-02-15 Wim Taymans <wim@fluendo.com>
9988 * docs/gst/gstreamer-sections.txt:
9989 Remove old unused method.
9991 2007-02-13 Wim Taymans <wim@fluendo.com>
9993 * tests/check/gst/gstsegment.c: (GST_START_TEST):
9996 2007-02-13 Wim Taymans <wim@fluendo.com>
9998 * docs/design/part-seeking.txt:
10001 * gst/gstsegment.c: (gst_segment_set_seek):
10002 Revert old bogus change that should make seeking work again.
10004 2007-02-13 Stefan Kost <ensonic@users.sf.net>
10006 * docs/random/ensonic/dynlink.txt:
10007 * docs/random/ensonic/interfaces.txt:
10008 * docs/random/ensonic/receipies.txt:
10009 Possible dynamic reconnection api, plus some type fixes the other two
10012 2007-02-13 Sebastian Dröge <slomo@circular-chaos.org>
10014 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
10015 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
10016 Also check for an absolute path following file:// in the filesrc
10017 element. Remove redundant check and call g_path_is_absolute() on the
10018 unescaped location.
10020 2007-02-13 Stefan Kost <ensonic@users.sf.net>
10022 * docs/design/draft-klass.txt:
10023 Add existing category analysis.
10026 Fix doc example, framerate is a fraction.
10028 2007-02-12 Stefan Kost <ensonic@users.sf.net>
10031 * docs/gst/Makefile.am:
10032 * docs/gst/gstreamer-sections.txt:
10033 * docs/libs/Makefile.am:
10034 Erm, forgot a bunch of --extra-dir.
10036 2007-02-12 Stefan Kost <ensonic@users.sf.net>
10039 * docs/gst/Makefile.am:
10040 * docs/libs/Makefile.am:
10041 * docs/plugins/Makefile.am:
10042 Add crossreferences to glib/gobject docs.
10044 2007-02-12 Wim Taymans <wim@fluendo.com>
10046 * docs/design/draft-latency.txt:
10049 * docs/libs/gstreamer-libs-sections.txt:
10050 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
10051 (gst_base_sink_get_latency), (gst_base_sink_query_latency),
10052 (gst_base_sink_wait_clock), (gst_base_sink_send_qos),
10053 (gst_base_sink_perform_qos), (gst_base_sink_queue_object_unlocked),
10054 (gst_base_sink_chain_unlocked), (gst_base_sink_send_event),
10055 (gst_base_sink_get_position), (gst_base_sink_query),
10056 (gst_base_sink_change_state):
10057 * libs/gst/base/gstbasesink.h:
10058 API: gst_base_sink_query_latency() to let subclasses query the upstream
10060 API: gst_base_sink_get_latency() to let subclasses query the configured
10061 latency in the sink.
10062 Implement query and set latency.
10064 As spotted by Will Newton <will dot newton at gmail dot com>: Make sure we
10065 don't continue preroll when we are flushing. Fixes #405284.
10067 * tests/check/pipelines/stress.c: (change_state_timeout),
10068 (quit_timeout), (GST_START_TEST), (stress_suite):
10071 2007-02-09 Tim-Philipp Müller <tim at centricular dot net>
10073 Patch by: René Stadler <mail at renestadler de>
10075 * docs/gst/gstreamer-sections.txt:
10076 * gst/gsttaglist.c: (_gst_tag_initialize):
10077 * gst/gsttaglist.h:
10078 API: add GST_TAG_REFERENCE_LEVEL (#403597).
10080 2007-02-11 Stefan Kost <ensonic@users.sf.net>
10082 * docs/libs/Makefile.am:
10083 Fix path to core docs.
10085 * gst/gstbin.c: (gst_bin_get_by_interface),
10086 (gst_bin_iterate_all_by_interface):
10087 Refix docs by also renaming 'interface' to 'iface' in implementation.
10089 * docs/gst/gstreamer-sections.txt:
10091 * gst/gstchildproxy.c: (gst_child_proxy_base_init):
10092 * gst/gstchildproxy.h:
10093 * gst/gstelementfactory.c:
10094 * gst/gstpadtemplate.h:
10095 * libs/gst/controller/gstcontroller.c:
10096 (gst_controlled_property_new):
10099 2007-02-10 Sébastien Moutte <sebastien@moutte.net>
10101 * gst/gstbin.h:(gst_bin_get_by_interface),
10102 (gst_bin_iterate_all_by_interface):
10103 Replace interface parameter name by iface as interface is
10104 a reserved keyword in Visual Studio for C++ projects so it removes
10105 a build error for application developpers using VS.
10106 * plugins/elements/gstfilesrc.c:(gst_file_src_uri_set_uri):
10107 Fix a bug on Windows in uri format check. Now the prefix checked
10108 is file:// and next we check if the path after file:// is absolute.
10109 * win32/common/libgstbase.def:
10110 * win32/common/libgstdataprotocol.def:
10111 * win32/common/libgstgstreamer.def:
10112 Add new exported functions.
10114 2007-02-09 Andy Wingo <wingo@pobox.com>
10116 * tests/check/pipelines/simple-launch-lines.c
10117 (simple_launch_lines_suite, test_tee): Disable tee test until I
10118 have time to fix it :-(
10120 * tests/check/Makefile.am (noinst_HEADERS):
10121 * tests/check/libs/libsabi.c:
10122 * tests/check/libs/struct_ppc32.h: Add ABI checks for PPC32.
10123 * tests/check/gst/gstabi.c:
10124 * tests/check/gst/struct_ppc32.h: Add ABI checks for PPC32.
10126 * tests/check/pipelines/simple-launch-lines.c (test_tee): Add
10127 tests for push and pull tee behavior.
10129 * plugins/elements/gsttee.h:
10130 * plugins/elements/gsttee.c: Describe has-sink-loop better, and
10131 mark as deprecated as well as unimplemented. It was a crack idea.
10132 Add support for tee operating in pull mode, off by default.
10134 * gst/gstregistryxml.c (load_feature, load_plugin): Drop some
10135 normal-case logs down to LOG, raise errors to WARNING.
10136 (gst_registry_xml_read_cache): Don't log before calling a function
10139 * gst/gstregistry.c (gst_registry_finalize): Less debug on program
10140 exit (registry finalize).
10141 (gst_registry_add_plugin, gst_registry_add_feature): No need for a
10142 DEBUG log when we emit signals that people don't even have the
10143 chance to connect to.
10144 (gst_registry_scan_path_level): Less logging in the normal case.
10146 2007-02-05 Sebastian Dröge <slomo@circular-chaos.org>
10148 Patch by: Michal Benes <michal dot benes at itonis dot tv>
10150 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
10151 Correctly generate EOS for non-seekable files. We don't have a total
10152 length for them and would get an unexpected end of file if we only
10153 special-cased for regular files. (Fixes: #404569)
10155 2007-02-05 Sebastian Dröge <slomo@circular-chaos.org>
10157 * tests/check/elements/filesrc.c: (GST_START_TEST),
10159 Add unit test for the GstURIHandler interface in filesrc. This also
10160 tests the newly added file://localhost/foo/bar support.
10162 2007-02-04 Tim-Philipp Müller <tim at centricular dot net>
10164 * gst/gstelementfactory.h:
10165 The klass string is not a hierarchy. Add reference to the design doc
10166 for more information and common types.
10168 2007-02-02 Wim Taymans <wim@fluendo.com>
10170 * gst/gstquery.c: (gst_query_new_latency):
10171 Remove old structure field.
10173 2007-02-02 Stefan Kost <ensonic@users.sf.net>
10175 * tools/gst-launch.1.in:
10176 Give example for network streaming (#351998)
10178 2007-02-02 Wim Taymans <wim@fluendo.com>
10180 * docs/gst/gstreamer-sections.txt:
10181 Add docs for new methods.
10183 * gst/gstevent.c: (gst_event_new_latency),
10184 (gst_event_parse_latency):
10186 Add new LATENCY event to configure latency in a pipeline.
10187 API: gst_event_new_latency
10188 API: gst_event_parse_latency
10190 * gst/gstmessage.c: (gst_message_new_buffering),
10191 (gst_message_new_lost_preroll), (gst_message_new_prerolled),
10192 (gst_message_new_latency), (gst_message_parse_buffering),
10193 (gst_message_parse_lost_preroll):
10194 * gst/gstmessage.h:
10195 Added messages used in draft-latency.
10196 API: gst_message_new_lost_preroll
10197 API: gst_message_parse_lost_preroll
10198 API: gst_message_new_prerolled
10199 API: gst_message_new_latency
10201 * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
10202 (gst_query_parse_latency):
10204 Implemented new latency query as in design doc.
10205 API: gst_query_new_latency
10206 API: gst_query_set_latency
10207 API: gst_query_parse_latency
10209 2007-02-02 Wim Taymans <wim@fluendo.com>
10211 * docs/design/draft-latency.txt:
10212 Slight redesign to allow for dynamic latency adjustments.
10214 * docs/design/part-negotiation.txt:
10217 2007-02-02 Sebastian Dröge <slomo@circular-chaos.org>
10219 reviewed by: Wim Taymans <wim@fluendo.com>
10221 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
10222 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
10223 Allow file://localhost/foo/bar URLs and correctly fail for every other
10224 hostname that one sets. This was gnomevfssrc is linked for those if
10225 installed as it can handle it (#403172)
10227 2007-02-01 Sebastian Dröge <slomo@circular-chaos.org>
10229 reviewed by: Tim-Philipp Müller <tim at centricular dot net>
10231 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
10232 (unref_data), (gst_collect_pads_add_pad_full):
10233 * libs/gst/base/gstcollectpads.h:
10234 Don't put the previously added destroy notify in the GstCollectData
10235 struct as all it's padding is already used and we don't want to break
10236 ABI. Instead put in the pad's GObject data for now. This should be
10237 cleaned up for 0.11 (#402393).
10239 2007-02-01 Sebastian Dröge <slomo@circular-chaos.org>
10241 reviewed by: Wim Taymans <wim@fluendo.com>
10243 * docs/libs/gstreamer-libs-sections.txt:
10244 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
10245 (unref_data), (gst_collect_pads_add_pad),
10246 (gst_collect_pads_add_pad_full):
10247 * libs/gst/base/gstcollectpads.h:
10248 API: Add function to specify a destroy notification for custom
10249 GstCollectData when adding new pads in GstCollectPads (#402393).
10251 2007-02-01 Tim-Philipp Müller <tim at centricular dot net>
10254 Update Swedish translation (#378255).
10256 2007-01-31 Stefan Kost <ensonic@users.sf.net>
10258 * docs/design/draft-klass.txt:
10259 Fix the previous change, this is a list of categories and not a hierarchy.
10261 2007-01-31 Stefan Kost <ensonic@users.sf.net>
10263 * docs/design/draft-klass.txt:
10264 Add info about how to get a list of used classes.
10266 2007-01-30 Tim-Philipp Müller <tim at centricular dot net>
10268 * plugins/elements/gsttypefindelement.c:
10269 (gst_type_find_element_chain_do_typefinding),
10270 (gst_type_find_element_change_state):
10271 Don't leak found caps in chain function (no idea why that never
10272 showed up as a leak anywhere).
10274 2007-01-30 Stefan Kost <ensonic@users.sf.net>
10277 Fix and expand GstPluginDesc API docs.
10279 2007-01-29 Stefan Kost <ensonic@users.sf.net>
10282 * gst/gstelementfactory.c:
10283 * gst/gstpadtemplate.h:
10286 * libs/gst/controller/gstcontroller.c:
10287 (gst_controlled_property_new):
10288 * tests/examples/controller/audio-example.c:
10291 2007-01-29 Stefan Kost <ensonic@users.sf.net>
10294 comment about refining the xml deps
10296 * docs/manuals.mak:
10297 comments about moving away from jade for docs
10300 recommit the ifdefs to use the binary registry
10302 * gst/gstbin.c: (gst_bin_change_state_func):
10303 this break is obsolete
10305 * gst/gstelementfactory.h:
10306 better GST_ELEMENT_DETAILS docs, add comment about translation
10311 * gst/gstobject.c: (gst_signal_object_get_type):
10312 add G_UNLIKELY as usual
10314 * gst/gstpad.c: (gst_pad_event_default):
10315 add fall trhu comment
10317 * gst/gstregistrybinary.c: (gst_registry_binary_write),
10318 (gst_registry_binary_initialize_magic),
10319 (gst_registry_binary_save_string),
10320 (gst_registry_binary_save_pad_template),
10321 (gst_registry_binary_save_feature),
10322 (gst_registry_binary_save_plugin),
10323 (gst_registry_binary_write_cache),
10324 (gst_registry_binary_check_magic),
10325 (gst_registry_binary_load_pad_template),
10326 (gst_registry_binary_load_feature),
10327 (gst_registry_binary_load_plugin),
10328 (gst_registry_binary_read_cache):
10329 comment typo and formatting
10331 * gst/gstutils.c: (gst_element_state_get_name),
10332 (gst_element_state_change_return_get_name):
10333 remove obsolete breaks
10335 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
10336 add FIXME 0.11 and remove cpp comment
10338 2007-01-29 Edward Hervey <edward@fluendo.com>
10340 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
10341 Fix print statement in an even more portable way.
10343 2007-01-29 Tim-Philipp Müller <tim at centricular dot net>
10345 * docs/gst/gstreamer-sections.txt:
10347 API: add GST_ROUND_DOWN_* macros (#401781).
10349 2007-01-27 Tim-Philipp Müller <tim at centricular dot net>
10351 * docs/gst/gstreamer.types.in:
10352 * gst/gstregistry.c: (gst_registry_class_init):
10353 Document registry signals and make gtk-doc pick them up (#401381).
10355 2007-01-26 Tim-Philipp Müller <tim at centricular dot net>
10357 * docs/pwg/building-testapp.xml:
10358 Add some audioconverts and audioresample to the pipeline, and some
10359 more comments and error handling.
10361 2007-01-26 Tim-Philipp Müller <tim at centricular dot net>
10363 * docs/manual/manual.xml:
10364 * docs/pwg/pwg.xml:
10365 Fix typo (#400987).
10367 2007-01-26 Wim Taymans <wim@fluendo.com>
10369 * gst/gstcaps.c: (gst_static_caps_get):
10370 Init caps flags too.
10372 2007-01-25 Sebastian Dröge <slomo@circular-chaos.org>
10374 Patch by: Jindrich Makovicka <jindrich.makovick at itonis dot tv>
10376 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
10377 If not using mmap'ed files try to seek to the end instead of the
10378 start to determine whether we can seek at all. This fixes the case
10379 of 2GB+ files over NFS, where seeks in the first 2GB can succeed but
10380 seeks for everything afterwards fail. Fixes #400656
10382 2007-01-25 Wim Taymans <wim@fluendo.com>
10384 * gst/gstcaps.c: (_gst_caps_free), (gst_static_caps_get):
10385 Add some refcount debugging.
10386 Make gst_static_caps_get threadsafe, which is needed when autoplugging
10387 in multiple streaming threads.
10389 2007-01-25 Wim Taymans <wim@fluendo.com>
10391 Patch by: David Schleef <ds at schleef dot org>
10393 * docs/libs/gstreamer-libs-sections.txt:
10394 * libs/gst/base/gstadapter.c: (gst_adapter_copy):
10395 * libs/gst/base/gstadapter.h:
10396 API: gst_adapter_copy() that can reduce the amount of memcpy when
10397 getting data from the adapter. Fixes #388201.
10399 2007-01-25 Edward Hervey <edward@fluendo.com>
10401 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
10402 In print statements, "%x" is for guint. Fixes build on macosx.
10404 2007-01-24 Edward Hervey <edward@fluendo.com>
10406 * plugins/elements/gstmultiqueue.c:
10407 (gst_multi_queue_loop):
10409 (single_queue_overrun_cb), (single_queue_underrun_cb),
10410 (single_queue_check_full), (gst_single_queue_new):
10411 Implement single queue growth system.
10412 This uses the extra-size properties, and will grow single queues by
10413 that much if one goes full whereas there are others empty. This is
10414 called extra-mode in the code.
10415 When a single queue's levels go back below the initial max-size
10416 limits, it is no longer in extra-mode. This is to ensure we don't
10417 consume too much memory.
10420 2007-01-23 Tim-Philipp Müller <tim at centricular dot net>
10422 * gst/gst.c: (gst_init_get_option_group):
10423 Make warning about late g_thread_init() calls a bit more explicit,
10424 so that it's more obvious to application developers what they need
10425 to do if a user files a bug against their application.
10427 2007-01-22 Edward Hervey <edward@fluendo.com>
10429 * plugins/elements/gstmultiqueue.c:
10430 (gst_multi_queue_src_activate_push), (gst_single_queue_new):
10431 Remove previous hack of unsetting the flushing flag for the source pad
10432 instead of activating it. Instead, fix the source pad activate function
10433 so that it no longer depends on having a parent set or not.
10435 2007-01-22 Tim-Philipp Müller <tim at centricular dot net>
10437 Patch by: Carlos Sanmartin Dominguez <csanmartin@igalia.com>
10439 * docs/manual/basics-bus.xml:
10440 Fix example code, gst_element_unref() doesn't exist any longer.
10442 2007-01-21 Tim-Philipp Müller <tim at centricular dot net>
10444 Patch by: Mark Nauwelaerts <manauw at skynet be>
10447 Fix two docs typoes (#399094).
10449 2007-01-19 Edward Hervey <edward@fluendo.com>
10451 * docs/faq/gst-uninstalled:
10452 Add gst-plugins-base/gst/utils/ to LD_LIBRARY_PATH so that plugins
10453 depending on libgstbaseutils can work in uninstalled environment.
10455 2007-01-18 Stefan Kost <ensonic@users.sf.net>
10457 * gst/gsttaglist.h:
10458 * gst/gsttagsetter.c:
10459 Add more docs regarding tag merge-modes and when to send tags. Fix 'since'
10460 statement for new tag.
10462 2007-01-17 Edward Hervey <edward@fluendo.com>
10464 * plugins/elements/gstmultiqueue.c: (gst_single_queue_new):
10465 When dynamically creating single queues, activate sinkpad before adding
10467 We should be doing the same thing for the source pad, but we can't
10468 since it would call a method which needs the parent to be set in order
10469 to work propertly. Instead of activating the source pad, we just unset
10470 the flushing flag, which is the minimal requirement for adding a pad
10471 to an element in a state greater than READY.
10473 2007-01-17 Edward Hervey <edward@fluendo.com>
10475 * docs/faq/gst-uninstalled:
10476 Add DYLD_LIBRARY_PATH declarations so we can also use this script on
10479 2007-01-17 Tim-Philipp Müller <tim at centricular dot net>
10481 * tests/check/gst/gstabi.c:
10482 * tests/check/gst/struct_hppa.h:
10483 * tests/check/libs/libsabi.c:
10484 * tests/check/libs/struct_hppa.h:
10485 Add ABI structs for HPPA (see #393796).
10487 2007-01-16 Tim-Philipp Müller <tim at centricular dot net>
10489 * libs/gst/check/gstcheck.c: (gst_check_abi_list):
10490 Actually write ABI structs to the file specified in the GST_ABI
10491 environment variable, as the message we print claims we would.
10493 2007-01-15 Stefan Kost <ensonic@users.sf.net>
10495 * tests/check/gst/gsttask.c:
10496 Fix header comment.
10498 2007-01-15 Stefan Kost <ensonic@users.sf.net>
10500 * gst/gsttaglist.c: (_gst_tag_initialize):
10501 Change tag type from STRING to DOUBLE. Apply ChangeLog surgery for my
10502 previous two entries.
10504 2007-01-15 Stefan Kost <ensonic@users.sf.net>
10506 * docs/gst/gstreamer-sections.txt:
10507 * gst/gsttaglist.c: (_gst_tag_initialize):
10508 * gst/gsttaglist.h:
10509 Add tag support for beat-per-minute.
10511 2007-01-15 Stefan Kost <ensonic@users.sf.net>
10513 * gst/gstregistrybinary.c: (gst_registry_binary_write),
10514 (gst_registry_binary_initialize_magic),
10515 (gst_registry_binary_save_string), (gst_registry_binary_make_data),
10516 (gst_registry_binary_save_pad_template),
10517 (gst_registry_binary_save_feature),
10518 (gst_registry_binary_save_plugin),
10519 (gst_registry_binary_write_cache),
10520 (gst_registry_binary_check_magic),
10521 (gst_registry_binary_load_pad_template),
10522 (gst_registry_binary_load_feature),
10523 (gst_registry_binary_load_plugin),
10524 (gst_registry_binary_read_cache):
10525 * gst/gstregistrybinary.h:
10526 Use glib types, cleanup comments, impement interfaces and uri-types.
10528 2007-01-13 Andy Wingo <wingo@pobox.com>
10530 * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Allow
10531 getrange() to return buffers with other caps, while we fix
10532 demuxers and typefind, or otherwise change part-negotiation.txt.
10534 2007-01-12 Andy Wingo <wingo@pobox.com>
10536 * libs/gst/base/gstbasetransform.c (gst_base_transform_activate):
10537 Factor start/stop into this private function instead of partially
10538 in activate functions and partially in the change_state function.
10539 Fixes setup before the element has changed from READY->PAUSED, as
10540 is the case in pull-mode pipelines.
10541 (gst_base_transform_sink_activate_push)
10542 (gst_base_transform_src_activate_pull): Refactor to use
10543 gst_base_transform_activate().
10544 (gst_base_transform_change_state): Removed, not needed any more.
10546 * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
10547 Truncate before fixating.
10549 * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
10550 Don't set_caps() if the result of fixating is ANY, as it's not
10551 supported, and not necessary in the case of a link with no
10552 template caps on either side. Fixes tests/check/libs/basesrc in
10553 some pull-mode tests.
10555 * libs/gst/base/gstbasetransform.c (_GstBaseTransformPrivate):
10556 (gst_base_transform_init, gst_base_transform_sink_activate_push)
10557 (gst_base_transform_src_activate_pull):
10558 Track the activation mode.
10559 (gst_base_transform_setcaps): In pull mode, when activating the
10560 src pad, after activating the sink pad, activate the sink pad's
10561 peer, as discussed in part-negotiation.txt.
10563 * libs/gst/base/gstbasesrc.h:
10564 * libs/gst/base/gstbasesrc.c (gst_base_src_fixate): Add fixate
10565 vmethod, as in basesink.
10567 * libs/gst/base/gstbasesink.h: Reformat docs, add fixate vmethod.
10569 * libs/gst/base/gstbasesink.c (gst_base_sink_pad_setcaps): In pull
10570 mode, first proxy the setcaps to the peer pad.
10571 (gst_base_sink_pad_fixate): Add a fixate function that calls the
10572 new fixate vmethod.
10573 (gst_base_sink_default_activate_pull): Rename from
10574 gst_base_sink_activate_pull.
10575 (gst_base_sink_negotiate_pull): New function, performs negotiation
10576 in pull mode before calling ::activate_pull().
10577 (gst_base_sink_pad_activate_pull): Actually call the activate_pull
10578 vmethod instead of the default implementation. I have no idea how
10579 this worked before. Negotiate before calling activate_pull.
10581 * gst/gstpad.c (gst_pad_activate_pull): Refuse to activate unlinked
10582 sink pads in pull mode. In addition to being correct, fixes
10583 filesrc ! decodebin ! identity ! fakesink.
10584 (gst_pad_get_range, gst_pad_pull_range): Don't call
10585 gst_pad_set_caps() if the caps changes; instead error out with
10586 GST_FLOW_NOT_NEGOTIATED, as discussed in part-negotiation.txt.
10588 2007-01-12 Andy Wingo <wingo@pobox.com>
10590 * docs/design/part-negotiation.txt: Update with more policy.
10592 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
10594 * libs/gst/check/gstbufferstraw.h:
10595 * libs/gst/check/gstcheck.h:
10596 Add G_BEGIN_DECLS and G_END_DECLS. Move GST_CHECK_MAIN where it
10599 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
10601 * tests/check/Makefile.am:
10602 * tests/check/gst/.cvsignore:
10603 * tests/check/gst/gsttagsetter.c: (gst_dummy_enc_add_interfaces),
10604 (gst_dummy_enc_base_init), (gst_dummy_enc_class_init),
10605 (gst_dummy_enc_init), (tag_list_foreach), (tag_setter_list_length),
10606 (GST_START_TEST), (gst_tag_setter_suite):
10607 Add minimal unit test for beforementioned GstTagSetter bug.
10609 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
10611 Patch by: René Stadler <mail at renestadler dot de>
10613 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
10614 gst_tag_list_merge() returns a new list, so it's not the best idea
10615 to ingore its return value. Effectively meant that tags could only
10616 be merged on a GstTagSetter once using _merge_tags(). Fixes #395554.
10617 Also add function guard to require a non-NULL taglist as input (has
10618 always been so due to gst_tag_list_copy(), just making it explicit).
10620 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
10622 * docs/random/draft-missing-plugins.txt:
10623 Some additions: mention new API that is supposed to be used at the
10624 various stages; short blob about new gst-inspect introspection
10625 option; mention potential future problem with plugins that have
10626 a dynamic list of elements (such as ladspa, pitfdll, libvisual).
10628 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
10630 * tools/gst-inspect.c:
10631 (print_plugin_automatic_install_info_codecs),
10632 (print_plugin_automatic_install_info_protocols),
10633 (print_plugin_automatic_install_info), (main):
10634 Add --print-plugin-auto-install-info option to gst-inspect, so we can
10635 introspect plugin files and get machine-parsable output that corresponds
10636 to the last bit of the missing-plugin installer string (small gotcha:
10637 doesn't take into account ranks).
10639 2007-01-11 Stefan Kost <ensonic@users.sf.net>
10642 * docs/gst/gstreamer-sections.txt:
10644 * gst/gstregistry.c: (gst_registry_lookup_feature_locked),
10645 (gst_registry_lookup_locked):
10646 * gst/gstregistry.h:
10647 * gst/gstregistrybinary.c: (gst_registry_binary_write),
10648 (gst_registry_binary_initialize_magic),
10649 (gst_registry_binary_save_string),
10650 (gst_registry_binary_save_pad_template),
10651 (gst_registry_binary_save_feature),
10652 (gst_registry_binary_save_plugin),
10653 (gst_registry_binary_write_cache),
10654 (gst_registry_binary_check_magic),
10655 (gst_registry_binary_load_pad_template),
10656 (gst_registry_binary_load_feature),
10657 (gst_registry_binary_load_plugin),
10658 (gst_registry_binary_read_cache):
10659 * gst/gstregistrybinary.h:
10660 * gst/gstregistryxml.c: (load_feature),
10661 (gst_registry_xml_read_cache):
10662 commit binary registry (disabled by default, see #359653)
10664 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
10666 * tests/check/gst/gstpad.c: (test_get_allowed_caps):
10667 Fix 'make check' too.
10669 2007-01-10 Andy Wingo <wingo@pobox.com>
10671 * docs/design/part-negotiation.txt: Fix a typo, add a couple
10674 * docs/design/part-negotiation.txt: Update with, um, one way that
10675 pull-mode negotiation might work?
10678 * gst/gstpad.c (gst_pad_get_allowed_caps): Remove the restriction
10679 that the pad must be a src pad; makes sense to call it the other
10680 way in pull mode, and the logic is symmetric anyway.
10682 2007-01-10 Tim-Philipp Müller <tim at centricular dot net>
10684 * plugins/elements/gstfilesink.c:
10685 Include <stdio.h> for fseeko().
10687 2007-01-10 Wim Taymans <wim@fluendo.com>
10691 Reserve LATENCY event.
10693 2007-01-09 Wim Taymans <wim@fluendo.com>
10695 * docs/design/draft-latency.txt:
10698 2007-01-09 Wim Taymans <wim@fluendo.com>
10700 * docs/design/draft-latency.txt:
10703 * gst/gstelement.h:
10704 * gst/gststructure.c:
10708 2007-01-09 Tim-Philipp Müller <tim at centricular dot net>
10710 * tests/check/.cvsignore:
10711 Ignore test-registry.xml as well.
10713 2007-01-09 Wim Taymans <wim@fluendo.com>
10715 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
10716 unref data at the end when we are done with the pad.
10718 2007-01-08 Tim-Philipp Müller <tim at centricular dot net>
10720 * docs/gst/gstreamer-sections.txt:
10721 * gst/gst.c: (load_plugin_func), (scan_and_update_registry),
10722 (init_post), (gst_deinit), (gst_update_registry):
10724 API: add gst_update_registry() (#391296).
10726 * tests/check/Makefile.am:
10727 * tests/check/gst/gstregistry.c:
10728 * tests/check/gst/.cvsignore:
10729 Simple unit test for the above.
10731 2007-01-08 Tim-Philipp Müller <tim at centricular dot net>
10733 * gst/gstregistry.c: (gst_registry_scan_path_level):
10734 Plugin extension on HP-UX is .sl, add that to the list of approved
10735 plugin extensions (see #393796).
10737 * tests/check/gst/gstpad.c: (GST_START_TEST):
10738 ulong => gulong. Fixes compilation with HP-UX compiler.
10740 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
10741 Fix compilation if valgrind headers are not available.
10743 2007-01-07 Sébastien Moutte <sebastien@moutte.net>
10745 * win32/common/libgstreamer.def:
10746 Add new exported function.
10747 * win32/vs6/libgstbase.dsp:
10748 Add gstdataqueue.c to the build.
10749 * win32/vs6/libgstcoreelements.dsp:
10750 Add gstmultiqueue.c to the build.
10752 2007-01-06 Andy Wingo <wingo@pobox.com>
10754 * libs/gst/base/gstbasesink.h: New GstBaseSinkClass vmethod,
10755 activate_pull(), providing for a way to specialize the process of
10756 spawning a thread to pull on the sink pad. There is a default
10759 * libs/gst/base/gstbasesink.c (gst_base_sink_pad_activate_pull)
10760 (gst_base_sink_pad_activate_push, gst_base_sink_pad_activate)
10761 (gst_base_sink_init): Renamed pad activation functions (inserting
10762 "_pad" in their names). Refactor to use the new activate_pull
10763 vmethod, as appropriate.
10764 (gst_base_sink_class_init, gst_base_sink_activate_pull): Set the
10765 default activate_pull function to start a task pulling from the
10766 sink pad, as before.
10768 * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Set caps
10769 on the pads if necessary, as in push()/chain(). Update docs.
10770 Shouldn't affect existing pull() usage as it is currently only
10771 being used on buffers without caps.
10773 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
10775 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
10777 Call g_thread_init() first thing in gst_init() / gst_check_init().
10778 When initialisation is done via gst_init_get_option_group() and
10779 GOption parsing, issue a warning if the GLib thread system has not
10780 been initialised yet by the time gst_init_get_option_group() is
10781 called, as it's quite likely other GLib functions such as
10782 g_option_context_new() have been called already then, and
10783 g_thread_init() must be called before any other GLib function. The
10784 application in question must be fixed in that case, since memory
10785 corruption might happen otherwise.
10786 We issue the warning because even if the GLib folks decide to work
10787 around the problem on their end in future, this is still an issue
10788 with all GLib versions >= 2.10.0, so we should warn until we depend
10789 on a GLib version we know to be safe.
10790 Update documentation as well.
10791 Closes bug #391278.
10793 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
10795 * tools/gst-inspect.c: (main):
10796 * tools/gst-launch.c: (main):
10797 * tools/gst-typefind.c: (main):
10798 * tools/gst-xmlinspect.c: (main):
10799 Call g_thread_init() really really early, before any other GLib
10800 function (see #342564 and recent discussion on gtk-devel-list).
10802 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
10804 Patch by: Vincent Torri <vtorri at univ-evry dot fr>
10806 * gst/gst_private.h:
10807 * gst/gstconfig.h.in:
10809 On win32, all the __declspec stuff for symbol exporting is
10810 apparently only needed with MSVC, but doesn't work with MingW.
10811 Fixes compilation with MingW and #391909.
10813 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
10815 * libs/gst/base/gstbasesrc.c: (gst_base_src_activate_push):
10816 Change some GST_ERROR_OBJECT that aren't really errors to
10817 GST_WARNING_OBJECT in order to reduce terminal spam.
10819 2007-01-04 Stefan Kost <ensonic@users.sf.net>
10821 * tests/check/Makefile.am:
10822 disable test again, as there seem to be still race problems
10824 2007-01-04 Stefan Kost <ensonic@users.sf.net>
10826 * tests/check/Makefile.am:
10827 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
10828 (GST_START_TEST), (queue_suite):
10829 enable queue test again, add tests for the leaky behaviour
10831 2007-01-02 Tim-Philipp Müller <tim at centricular dot net>
10834 * tests/examples/Makefile.am:
10835 Compile adapter test/example only if the required headers are
10836 available (fixes #391915).
10838 2007-01-01 David Schleef <ds@schleef.org>
10841 Restore the previous signal handler for SIGSEGV instead of
10842 setting to default, since we may have stolen it away from
10843 someone. (i.e., Mono)
10845 2006-12-26 Tim-Philipp Müller <tim at centricular dot net>
10847 * docs/random/draft-missing-plugins.txt:
10848 Some small additions and clarifications.
10850 2006-12-26 Tim-Philipp Müller <tim at centricular dot net>
10852 * gst/gstregistryxml.c: (gst_registry_save_escaped):
10853 Make sure we don't pass non-UTF-8 strings to g_markup_escape(),
10854 since that can lead to random memory corruptions and crashes
10855 (may or may not be related to #383244, #386711, and #386711).
10857 2006-12-21 Stefan Kost <ensonic@users.sf.net>
10859 * tests/check/.cvsignore:
10860 * tests/check/Makefile.am:
10861 sync .cvsignome and CLEANFILES
10863 2006-12-21 Stefan Kost <ensonic@users.sf.net>
10865 * tests/check/Makefile.am:
10868 2006-12-21 Stefan Kost <ensonic@users.sf.net>
10870 * docs/design/part-states.txt:
10871 two tiny additional comments
10873 * gst/gststructure.c:
10876 * tests/check/Makefile.am:
10877 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
10879 disable test for now, unless it gets fixed
10881 2006-12-21 Stefan Kost <ensonic@users.sf.net>
10883 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
10885 fix race in underrun test
10887 2006-12-21 Stefan Kost <ensonic@users.sf.net>
10889 * tests/check/elements/.cvsignore:
10892 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
10894 try to narrow test failure
10896 2006-12-21 David Schleef <ds@schleef.org>
10898 * plugins/elements/gstfakesrc.c:
10899 Use g_random_int_range(), since it produces better random
10900 numbers in a range than almost-correct floating point code.
10902 2006-12-21 Stefan Kost <ensonic@users.sf.net>
10904 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
10905 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
10906 (gst_check_teardown_sink_pad):
10907 do not automatically (de)activate pads
10909 * tests/check/Makefile.am:
10910 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
10911 (setup_queue), (cleanup_queue), (GST_START_TEST), (queue_suite):
10912 add new, yet simple tests for queue
10914 * tests/check/elements/fakesrc.c: (cleanup_fakesrc):
10915 * tests/check/elements/fdsrc.c: (cleanup_fdsrc):
10916 * tests/check/elements/filesrc.c: (cleanup_filesrc),
10918 * tests/check/elements/identity.c: (cleanup_identity):
10919 consistent pad (de)activation
10921 2006-12-20 Tim-Philipp Müller <tim at centricular dot net>
10923 Patch by: Sebastian Dröge <slomo ubuntu com>
10925 * libs/gst/base/gstcollectpads.c:
10926 Fix two doc typos (#387866).
10928 2006-12-19 Tim-Philipp Müller <tim at centricular dot net>
10930 * docs/manual/advanced-dparams.xml:
10931 Fix typo (g_object_control_properties() doesn't exist).
10933 2006-12-19 Edward Hervey <edward@fluendo.com>
10935 * gst/gstsegment.c: (gst_segment_set_seek):
10936 Fine tune the cases where the segment start/stop values are really
10938 * tests/check/gst/gstsegment.c: (GST_START_TEST):
10939 Add tests for the return values of gst_segment_set_seek().
10941 2006-12-19 Tim-Philipp Müller <tim at centricular dot net>
10946 * plugins/elements/gstqueue.c: (gst_queue_class_init),
10948 Fix incorrect documentation and flesh it out a bit more.
10949 Set default values for the max properties on the GParamSpec as well,
10950 so it shows up correctly in gst-inspect.
10952 2006-12-18 Stefan Kost <ensonic@users.sf.net>
10954 * plugins/elements/gstqueue.c: (queue_leaky_get_type):
10955 Correct docs of queue, add more detail and crosslink it more.
10957 2006-12-16 Tim-Philipp Müller <tim at centricular dot net>
10959 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
10960 Print additional debug info when the stream isn't perfectly
10961 timestamped; don't try to use invalid durations.
10963 2006-12-16 Tim-Philipp Müller <tim at centricular dot net>
10965 * docs/design/Makefile.am:
10966 Dist new design docs.
10968 2006-12-16 Wim Taymans <wim@fluendo.com>
10970 Patch by: Sjoerd Simons <sjoerd at luon dot net>
10972 * libs/gst/base/gstcollectpads.c: (ref_data), (unref_data),
10973 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
10974 (gst_collect_pads_stop), (gst_collect_pads_event),
10975 (gst_collect_pads_chain):
10976 * libs/gst/base/gstcollectpads.h:
10977 Add refcounting to the collectpads data so we can track when it's safe
10978 to free the data. Fixes #383382.
10980 2006-12-15 Wim Taymans <wim@fluendo.com>
10982 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
10983 (gst_collect_pads_remove_pad):
10984 Automatically activate/deactivate pads when they are added to a
10985 started/stoped collectpads.
10987 2006-12-15 Wim Taymans <wim@fluendo.com>
10989 * gst/gstelement.c: (gst_element_add_pad):
10990 * gst/gstghostpad.c: (gst_ghost_pad_new_full):
10991 * gst/gstpad.c: (gst_pad_init):
10992 Set pads to FLUSHING when they are created. Check, warn and fix when a
10993 demuxer adds an inactive pad to itself when running. Fixes #339326.
10995 2006-12-15 Wim Taymans <wim@fluendo.com>
10997 * gst/gstelement.c: (gst_element_class_init),
10998 (gst_element_default_send_event), (gst_element_send_event),
10999 (gst_element_default_query), (gst_element_query):
11000 Expose default element send_event and query handling as vmethods that
11001 subclasses can chain up to.
11003 2006-12-15 Wim Taymans <wim@fluendo.com>
11005 * gst/gstelement.c: (gst_element_set_state_func):
11006 Small documentation fixes.
11008 2006-12-15 Wim Taymans <wim@fluendo.com>
11010 * docs/design/draft-latency.txt:
11011 Checked in draft for handling latency in pipelines.
11013 2006-12-15 Thomas Vander Stichele <thomas at apestaart dot org>
11017 * gstreamer.spec.in:
11020 2006-12-14 Tim-Philipp Müller <tim at centricular dot net>
11022 * gst/gst.c: (init_pre), (init_post):
11023 init_pre() and init_post() might be called via our GOptionGroup or
11024 from gst_init(), and we should skip both of them if we've already
11025 been initialised, otherwise we will init some things twice or add
11026 two default log functions.
11028 2006-12-13 Edward Hervey <edward@fluendo.com>
11030 * docs/manual/basics-bus.xml:
11031 No, gst_main_loop does not exist. Its g_main_loop.
11032 Discovered by somebody who abused the copy-paste technique of coding :)
11034 2006-12-13 Tim-Philipp Müller <tim at centricular dot net>
11036 * gst/gstghostpad.c:
11037 Log ghostpad debug stuff to the GST_PADS category as well rather
11038 than just to the default category.
11040 2006-12-12 Tim-Philipp Müller <tim at centricular dot net>
11043 * gst/gst.c: (init_pre):
11044 Add some basic system details such as OS and architecture
11045 to the debug output if possible, courtesy of uname().
11047 2006-12-11 Tim-Philipp Müller <tim at centricular dot net>
11049 * docs/gst/running.xml:
11050 Document GST_REGISTRY_FORK and GST_DEBUG_NO_COLOR
11051 environment variables.
11053 2006-12-09 Jan Schmidt <thaytan@mad.scientist.com>
11055 * tests/check/gst/gstbin.c: (GST_START_TEST):
11056 It is acceptable to have a refcount of 2 or 3 at this point in the
11057 test, because the pipeline might be just posting its state_change
11058 message. The next line then waits for that message to appear using
11059 bus_poll, so that should be fine too.
11061 2006-12-09 Jan Schmidt <thaytan@mad.scientist.com>
11063 * gst/gst.c: (ensure_current_registry_forking):
11064 Ignore EINTR when reading from the child registry pipe.
11065 Explicitly ignore the return value from close, since it makes no
11068 * gst/gstminiobject.c: (gst_mini_object_ref),
11069 (gst_mini_object_unref):
11070 When debugging refcounts, check GST_IS_MINI_OBJECT and warn.
11072 * gst/gstregistry.c: (_priv_gst_registry_remove_cache_plugins):
11073 When removing cached plugins, remove their features too, so they're
11074 not visible after they've disappeared.
11076 * gst/gstutils.c: (prepare_link_maybe_ghosting):
11077 In the unlikely case that we are linking pads with no parents, don't
11078 crash trying to get the non-existent parent bin.
11080 * gst/parse/grammar.y:
11081 Output debug in the PIPELINE category
11083 2005-03-08 Wim Taymans <wim@fluendo.com>
11085 Patch by: René Stadler <mail at renestadler dot de>
11087 * gst/gstclock.c: (gst_clock_new_periodic_id):
11088 Reject invalid clock times for interval of periodic ids.
11091 2006-12-07 Jan Schmidt <thaytan@mad.scientist.com>
11093 * gst/gstelementfactory.c: (gst_element_factory_create):
11094 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
11095 * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
11096 * tools/gst-inspect.c: (print_element_info):
11097 Fix refcounting of gst_plugin_feature_load to match the docs.
11100 2006-12-07 Wim Taymans <wim@fluendo.com>
11102 * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
11103 (gst_base_sink_get_position):
11104 Improve debugging of events.
11106 2006-12-07 Wim Taymans <wim@fluendo.com>
11108 Patch by: René Stadler <mail at renestadler dot de>
11110 * gst/gstclock.c: (gst_clock_id_wait):
11111 Make period ids add the interval to the origial requested time instead
11112 of the possibly updated time which can be wrong when there are multiple
11113 waiters for the same id. Fixes #382592.
11115 * gst/gstsystemclock.c: (gst_system_clock_async_thread),
11116 (gst_system_clock_id_wait_jitter_unlocked),
11117 (gst_system_clock_id_wait_jitter):
11118 Fix restart in the async notify thread when an async entry is added to
11119 the front of the list. Fixes #381492.
11121 * tests/check/gst/gstsystemclock.c: (store_callback),
11122 (notify_callback), (GST_START_TEST), (gst_systemclock_suite):
11123 Added test for multiple async waits.
11124 Added test for async wait order.
11126 2006-12-07 Wim Taymans <wim@fluendo.com>
11128 * gst/gstbin.c: (gst_bin_query):
11129 Add some more docs about the POSITION query.
11131 2006-12-07 Jan Schmidt <thaytan@mad.scientist.com>
11134 Bump version nano - back to CVS.
11136 === release 0.10.11 ===
11138 2006-12-06 Jan Schmidt <thaytan@mad.scientist.com>
11141 releasing 0.10.11, "Love never runs on time"
11143 2006-12-01 Jan Schmidt <thaytan@mad.scientist.com>
11145 * win32/common/libgstbase.def:
11146 * win32/common/libgstreamer.def:
11147 * win32/vs8/libgstbase.vcproj:
11148 * win32/vs8/libgstcoreelements.vcproj:
11149 * win32/vs8/libgstreamer.vcproj:
11150 Fix compilation on win32 under VS8
11151 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
11152 Partially fixes #381175
11154 2006-11-29 Jan Schmidt <thaytan@mad.scientist.com>
11156 * gst/gstvalue.c: (gst_value_compare_fraction):
11157 If someone is foolish enough to compare 2 fractions with denominator =
11158 0, return UNORDERED rather than aborting.
11160 2006-11-28 Edward Hervey <edward@fluendo.com>
11162 * libs/gst/base/Makefile.am:
11163 * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type),
11164 (gst_data_queue_base_init), (gst_data_queue_class_init),
11165 (gst_data_queue_init), (gst_data_queue_new),
11166 (gst_data_queue_cleanup), (gst_data_queue_finalize),
11167 (gst_data_queue_locked_flush), (gst_data_queue_locked_is_empty),
11168 (gst_data_queue_locked_is_full), (gst_data_queue_flush),
11169 (gst_data_queue_is_empty), (gst_data_queue_is_full),
11170 (gst_data_queue_set_flushing), (gst_data_queue_push),
11171 (gst_data_queue_pop), (gst_data_queue_drop_head),
11172 (gst_data_queue_set_property), (gst_data_queue_get_property):
11173 * libs/gst/base/gstdataqueue.h:
11174 New GstDataQueue object for threadsafe queueing. Most useful for
11175 elements that need some queueing functionnality.
11176 * docs/libs/gstreamer-libs-docs.sgml:
11177 * docs/libs/gstreamer-libs-sections.txt:
11178 Insert documentation for GstDataQueue
11179 * plugins/elements/Makefile.am:
11180 * plugins/elements/gstelements.c:
11181 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
11182 (gst_multi_queue_class_init), (gst_multi_queue_init),
11183 (gst_multi_queue_finalize), (gst_multi_queue_set_property),
11184 (gst_multi_queue_get_property), (gst_multi_queue_request_new_pad),
11185 (gst_multi_queue_release_pad), (gst_single_queue_push_one),
11186 (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
11187 (gst_multi_queue_loop), (gst_multi_queue_chain),
11188 (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
11189 (gst_multi_queue_getcaps), (gst_multi_queue_bufferalloc),
11190 (gst_multi_queue_src_activate_push), (gst_multi_queue_acceptcaps),
11191 (gst_multi_queue_src_event), (gst_multi_queue_src_query),
11192 (wake_up_next_non_linked), (compute_next_non_linked),
11193 (single_queue_overrun_cb), (single_queue_underrun_cb),
11194 (single_queue_check_full), (gst_single_queue_new):
11195 * plugins/elements/gstmultiqueue.h:
11196 New multiqueue element, using GstDataQueue. Used for queuing multiple
11198 Closes #344639 and #347785
11200 2006-11-22 Stefan Kost <ensonic@users.sf.net>
11202 * docs/pwg/advanced-types.xml:
11203 add more missing type details
11205 * tools/gst-run.c: (main):
11206 remove unused variable
11208 2006-11-21 Stefan Kost <ensonic@users.sf.net>
11210 * docs/libs/Makefile.am:
11211 * docs/libs/gstreamer-libs.types:
11212 add types of base classes to enable gobject specific stuff in the docs
11214 * docs/random/ensonic/embedded.txt:
11215 more ideas about isolating platform specific things
11217 2006-11-20 Wim Taymans <wim@fluendo.com>
11219 Patch by: Sebastian Dröge <slomo at ubuntu dot com>
11221 * libs/gst/check/gstcheck.h:
11222 Fix compilation and running against 0.9.4. Fixes #377332.
11224 2006-11-20 Wim Taymans <wim@fluendo.com>
11226 * gst/gstsegment.c: (gst_segment_set_seek),
11227 (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
11228 (gst_segment_to_running_time):
11229 Fix boundary checking in to_running_time() and to_stream_time().
11232 * tests/check/gst/gstsegment.c: (GST_START_TEST):
11233 stream and running time can now be calculated for the complete
11236 2006-11-15 Tim-Philipp Müller <tim at centricular dot net>
11238 * gst/gstpad.c: (gst_pad_push_event):
11239 Can't access event structure after giving away ownership of
11242 2006-11-15 Stefan Kost <ensonic@users.sf.net>
11244 * docs/random/ensonic/embedded.txt:
11245 * docs/random/ensonic/profiling.txt:
11246 * docs/random/ensonic/receipies.txt:
11249 2006-11-13 Wim Taymans <wim@fluendo.com>
11251 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
11254 Fix documentation for gst_pad_dispatcher. Fixes #374475.
11256 2006-11-13 Wim Taymans <wim@fluendo.com>
11258 Patch by: Jonathan Matthew <jonathan at kaolin dot wh9 dot net>
11260 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
11261 Store new length in segment duration so we don't keep on calling the
11262 potentially expensize get_size() call. Fixes #370865.
11264 2006-11-10 Tim-Philipp Müller <tim at centricular dot net>
11266 Patch by: Sergey Scobich <sergey.scobich at gmail com>
11268 * win32/common/libgstreamer.def:
11269 Add two missing symbols (#366492).
11271 2006-11-10 Jan Schmidt <thaytan@mad.scientist.com>
11273 * libs/gst/base/gstadapter.c: (gst_adapter_flush),
11274 (gst_adapter_take_buffer):
11275 Fix format string to use all its arguments.
11276 Remove useless >= check on a guint
11278 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
11280 * tests/examples/adapter/.cvsignore:
11281 Ignore build file as commanded by the build-bot
11283 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
11285 * tests/examples/adapter/Makefile.am:
11286 * tests/examples/adapter/adapter_test.c: (run_test_take),
11287 (run_test_take_buffer), (run_tests), (main):
11289 Add new files from the previous commit
11291 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
11295 * libs/gst/base/gstadapter.c: (gst_adapter_clear),
11296 (gst_adapter_push), (gst_adapter_peek_into), (gst_adapter_peek),
11297 (gst_adapter_flush), (gst_adapter_take), (gst_adapter_take_buffer):
11298 * libs/gst/base/gstadapter.h:
11299 * tests/check/libs/adapter.c: (create_and_fill_adapter),
11300 (GST_START_TEST), (gst_adapter_suite):
11301 * tests/examples/Makefile.am:
11302 Do some optimisation work in GstAdapter to avoid copies in more cases.
11303 It could still do slightly better by merging buffers when
11304 gst_buffer_is_span_fast is true, but is already faster.
11306 Also, avoid traversing a single-linked list to append each incoming
11307 buffer inside the adapter.
11309 Add simple test app that times the adapter behaviour in different
11310 situations, and extend the unit test to check that bytes enter and
11311 exit the adapter in their original order.
11313 2006-11-08 Tim-Philipp Müller <tim at centricular dot net>
11315 * docs/random/draft-missing-plugins.txt:
11316 Update: use element message instead of adding a new message
11317 type to the core; don't provide GStreamer API to initiate the
11318 plugin download, just provide API to compose the strings needed
11319 and let an external libgimmestuff handle the rest.
11321 2006-11-08 Jan Schmidt <thaytan@mad.scientist.com>
11323 * tools/gst-inspect.c: (print_element_properties_info):
11324 Print a string instead of 'unknown type' for GValueArray properties
11326 2006-11-08 Christian F.K. Schaller <christian@fluendo.com>
11328 * docs/random/draft-missing-plugins.txt:
11331 2006-11-07 Tim-Philipp Müller <tim at centricular dot net>
11333 * tests/examples/typefind/typefind.c: (type_found), (main):
11334 Make typefind element example work again (#371894); add a
11337 2006-11-07 Tim-Philipp Müller <tim at centricular dot net>
11339 * docs/random/draft-missing-plugins.txt:
11340 Commit initial draft about how to deal with missing plugins,
11341 needs work (API too).
11343 2006-11-07 Stefan Kost <ensonic@users.sf.net>
11345 * docs/pwg/advanced-types.xml:
11346 documents the new caps elements (see #363118)
11348 2006-11-06 Tim-Philipp Müller <tim at centricular dot net>
11350 * gst/gstplugin.c: (gst_plugin_load_file):
11351 * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_finalize),
11352 (gst_file_src_map_region), (gst_file_src_start):
11353 * plugins/indexers/gstfileindex.c: (gst_file_index_load),
11354 (gst_file_index_commit):
11355 Use g_strerror() instead of strerror() - we want UTF-8.
11357 2006-11-06 Tim-Philipp Müller <tim at centricular dot net>
11359 Patch by: Peter Kjellerstedt <pkj at axis com>
11361 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
11362 Another printf fix (#371493).
11364 2006-11-06 Stefan Kost <ensonic@users.sf.net>
11366 * tests/check/gst/gsttag.c:
11367 relicence (okay with author=company)
11369 2006-11-06 Stefan Kost <ensonic@users.sf.net>
11371 * gst/gstpad.c: (gst_pad_event_default_dispatch),
11372 (gst_pad_push_event):
11373 Enhance debug and improve docs
11378 2006-11-06 Stefan Kost <ensonic@users.sf.net>
11380 * docs/random/ensonic/distributed.txt:
11381 * docs/random/ensonic/profiling.txt:
11384 2006-11-06 Stefan Kost <ensonic@users.sf.net>
11386 * docs/gst/gstreamer-sections.txt:
11387 add new API and fix the build
11389 * gst/gstbin.c: (gst_bin_recalc_state):
11390 * gst/gstelement.c: (gst_element_message_full),
11391 (gst_element_get_state_func), (gst_element_set_state_func):
11392 use new API and improve logging
11394 * gst/gstutils.c: (gst_element_state_change_return_get_name):
11396 API: add function to get StateChangereturn names to improve logs
11398 2006-11-04 Thomas Vander Stichele <thomas at apestaart dot org>
11400 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
11401 I'm considering shooting the next person to put strerror stuff
11402 in the translateable part of the message.
11404 2006-11-03 Wim Taymans <wim@fluendo.com>
11406 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
11407 Get the type and printf conversion specifiers right.
11409 2006-11-03 Wim Taymans <wim@fluendo.com>
11411 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
11413 * gst/gstpad.c: (gst_pad_init), (pre_activate),
11414 (gst_pad_set_blocked_async), (gst_pad_acceptcaps_default),
11415 (gst_pad_accept_caps), (handle_pad_block), (gst_pad_push_event):
11416 Some small cleanups. Improve debugging.
11418 Signal all waiting threads with a broadcast instead of just one.
11421 2006-11-03 Wim Taymans <wim@fluendo.com>
11423 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
11424 (gst_fd_src_create):
11425 Add some debugging.
11426 Only update fd when it's different from the old.
11428 2006-11-02 Tim-Philipp Müller <tim at centricular dot net>
11430 * plugins/elements/gstfilesrc.c: (gst_file_src_create_mmap):
11431 Printf fixes for PPC/OSX, take two (#369366).
11433 2006-11-02 Tim-Philipp Müller <tim at centricular dot net>
11435 Based on patch by: Jan David Mol <j.j.d.mol at tudelft nl>
11437 * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
11438 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
11439 (gst_file_src_map_small_region), (gst_file_src_create_mmap):
11440 Printf fixes for gsize parameters on PPC/OSX (#369366). Also,
11441 don't cast to long long for portability reasons, but use
11442 GLib's types instead.
11444 2006-10-30 Michael Smith <msmith@fluendo.com>
11446 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
11447 Get the arguments to lseek() the right way around.
11450 2006-10-30 Wim Taymans <wim@fluendo.com>
11452 Patch by: gorshkov <gorshkov at oghma dot on dot ca>
11455 _declspec should be __declspec (two underscores, not one). Fixes 366572.
11457 2006-10-28 Tim-Philipp Müller <tim at centricular dot net>
11459 Patch by: Kjartan Maraas <kmaraas at gnome org>
11461 * docs/design/part-MT-refcounting.txt:
11462 * docs/random/wtay/capsnego2-docs:
11465 Typo fixes (#366212).
11467 2006-10-28 Wim Taymans <wim@fluendo.com>
11469 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
11472 * win32/common/libgstbase.def:
11473 * win32/common/libgstreamer.def:
11474 * win32/vs8/libgstbase.vcproj:
11475 * win32/vs8/libgstcontroller.vcproj:
11476 Add needed entries in .def files.
11478 Rearrange def files in vs8 solutions. Fixes #366286.
11480 2006-10-28 Tim-Philipp Müller <tim at centricular dot net>
11482 * win32/common/gstconfig.h:
11483 Add GST_SEGMENT_FORMAT and GST_USING_PRINTF_EXTENSION to the
11484 hand-made win32 gstconfig.h. Fixes #366321.
11486 2006-10-27 Wim Taymans <wim@fluendo.com>
11488 * gst/gstghostpad.c: (gst_proxy_pad_do_acceptcaps),
11489 (gst_ghost_pad_new_full):
11490 Make acceptcaps return TRUE when we don't have a target, just like
11493 2006-10-27 Wim Taymans <wim@fluendo.com>
11495 * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
11496 Revert previous commit, 0 sized buffers are allowed. Reopens #363095.
11498 2006-10-26 Tim-Philipp Müller <tim at centricular dot net>
11500 * gst/gststructure.c: (gst_structure_id_set_value):
11501 If someone tries to set a non-UTF8 string field on a structure,
11502 don't just print a warning, but also ignore the request and do
11503 not change/add that field to the structure.
11505 * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
11506 Test for the above.
11508 2006-10-25 David Schleef <ds@schleef.org>
11511 g_hash_table_insert() needs a cast to a non-const pointer duh.
11513 2006-10-25 David Schleef <ds@schleef.org>
11517 Change name parameter of _gst_debug_register_funcptr to const
11518 to reflect the constness of its use in the function as well
11519 as to quiet a gcc warning.
11521 2006-10-25 Edward Hervey <edward@fluendo.com>
11523 * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
11524 Don't push the buffer if it's empty.
11527 2006-10-24 Wim Taymans <wim@fluendo.com>
11532 * libs/gst/base/gstbasetransform.c:
11533 (gst_base_transform_sink_eventfunc):
11534 Debug segment values *after* updating them as this is more
11537 2006-10-23 Wim Taymans <wim@fluendo.com>
11539 * docs/design/part-events.txt:
11542 * docs/design/part-block.txt:
11543 * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
11544 (gst_pad_push_event):
11545 Revert BLOCKING patch, it tries to be smart without really having a
11546 clear idea what or how. So, now we discard all FLUSHING events again on
11547 a blocking pad. Should fix gnonlin again.
11549 2006-10-23 Wim Taymans <wim@fluendo.com>
11551 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
11553 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
11554 (gst_base_src_start), (gst_base_src_activate_push):
11555 Make sure size is always initialized. Fixes #364388.
11557 2006-10-20 Stefan Kost <ensonic@users.sf.net>
11559 * docs/random/ensonic/distributed.txt:
11560 add some ideas about doing distributed processing
11562 * docs/random/ensonic/profiling.txt:
11563 get_rusage look promising
11565 2006-10-18 Stefan Kost <ensonic@users.sf.net>
11567 * docs/manual/basics-helloworld.xml:
11568 Add a cast in example to fix compile warning
11570 2006-10-18 Wim Taymans <wim@fluendo.com>
11572 * gst/gstsegment.c: (gst_segment_set_last_stop),
11573 (gst_segment_set_seek), (gst_segment_set_newsegment_full):
11574 Relax arg checking again, -1 is allowed.
11576 2006-10-18 Wim Taymans <wim@fluendo.com>
11578 * gst/gstsegment.c: (gst_segment_set_last_stop),
11579 (gst_segment_set_seek), (gst_segment_set_newsegment_full):
11580 _set_last_stop() must be with a value != -1
11581 A _TYPE_SET to -1 means seek to 0.
11582 Calc last_stop correctly for negative rates.
11583 Make sure we work with positive durations when updating a segment.
11585 2006-10-18 Wim Taymans <wim@fluendo.com>
11587 * docs/design/part-live-source.txt:
11591 2006-10-18 Tim-Philipp Müller <tim at centricular dot net>
11594 Add an explicit cast to GstBuffer** to keep old code that added an
11595 explicit cast to GstMiniObject** for gst_mini_object_replace()
11596 compiling without warning.
11598 2006-10-18 Stefan Kost <ensonic@users.sf.net>
11600 * gst/gstvalue.c: (gst_value_set_date), (gst_date_copy):
11601 check for validity of dates
11603 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
11605 * docs/gst/gstreamer-sections.txt:
11606 Forgot this one, makes gtk-doc shut up.
11608 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
11610 Patch by: Peter Kjellerstedt <pkj at axis com>
11613 Don't define xmlNodePtr to gpointer if the core was built with
11614 --disable-loadsave and --disable-registry, this will break
11615 applications that want to use libxml2 but are buildling against a
11616 core that doesn't use libxml2. Use an intermediary type GstXmlNodePtr
11617 instead so we don't have to mess with the libxml2 namespace
11620 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
11623 Fix gst_buffer_replace() macro to avoid gst_mini_object_replace()-related
11624 type-punned pointer warnings.
11626 2006-10-16 Tim-Philipp Müller <tim at centricular dot net>
11628 * gst/gstelement.h:
11629 Add casts to the correct return type to state <=> state transition
11632 2006-10-16 Stefan Kost <ensonic@users.sf.net>
11634 * docs/design/part-live-source.txt:
11635 describe howto handle latency
11637 * docs/random/ensonic/profiling.txt:
11640 * tools/gst-plot-timeline.py:
11641 fix log parsing for solaris, remove unused function
11643 2006-10-16 Wim Taymans <wim@fluendo.com>
11645 * docs/design/part-trickmodes.txt:
11647 Update some docs regarding reverse playback.
11649 2006-10-15 Tim-Philipp Müller <tim at centricular dot net>
11651 Patch by: Marcus Granado <mrc dot gran at gmail com>
11653 * win32/vs8/grammar.vcproj:
11654 Error out with a warning if glib-genmarshal.exe is not in path,
11655 instead of creating bogus gstmarshal.[ch] files. Fixes #361720.
11657 2006-10-13 Wim Taymans <wim@fluendo.com>
11659 * gst/gstsegment.c: (gst_segment_set_seek):
11660 When seeking to stop -1, set last_stop (current position) to the
11661 duration of the segment.
11663 2006-10-13 Wim Taymans <wim@fluendo.com>
11665 * gst/gstelement.h:
11666 Clarify _NO_PREROLL a bit more.
11671 * gst/gstpad.c: (gst_pad_link_check_hierarchy),
11672 (gst_pad_get_caps_unlocked), (gst_pad_save_thyself),
11673 (handle_pad_block), (gst_pad_push_event), (gst_pad_send_event):
11674 Patch by: Yves Lefebvre <ivanohe at abacom dot com> Fix possible deadlock
11675 due to wrong locking order. Fixes #361769.
11676 Remove some redundant/misplaced checks in pad_block.
11678 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
11679 For negative rates, count backwards from the duration.
11681 2006-10-13 Tim-Philipp Müller <tim at centricular dot net>
11683 * gst/gsterror.c: (_gst_library_errors_init):
11684 Fix error message for GST_LIBRARY_ERROR_SETTINGS (feel free to come
11685 up with something better).
11687 2006-10-12 Tim-Philipp Müller <tim at centricular dot net>
11689 * win32/vs6/libgstreamer.dsp:
11690 * win32/vs7/libgstreamer.vcproj:
11691 * win32/vs8/libgstreamer.vcproj:
11692 Don't reference glib-compat.c which is currently not used and not
11693 disted; add gstquark.c which was recently added. Fixes #361730.
11695 2006-10-12 Tim-Philipp Müller <tim at centricular dot net>
11697 * win32/common/libgstbase.def:
11698 * win32/common/libgstcontroller.def:
11699 * win32/common/libgstreamer.def:
11700 Add gst_caps_merge() and a bunch of other recently-added functions.
11703 2006-10-11 Wim Taymans <wim@fluendo.com>
11705 * docs/plugins/gstreamer-plugins.args:
11706 * docs/plugins/inspect/plugin-coreelements.xml:
11707 * docs/plugins/inspect/plugin-coreindexers.xml:
11708 Update element args.
11710 * gst/gstsystemclock.c:
11711 Small comment update.
11713 * plugins/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
11714 (gst_tee_request_new_pad), (gst_tee_release_pad),
11715 (gst_tee_buffer_alloc), (gst_tee_sink_activate_push),
11716 (gst_tee_sink_activate_pull):
11717 * plugins/elements/gsttee.h:
11719 Add default property defines.
11720 Implement release pad function.
11721 Give properties better blubs etc.
11722 Activate pads before adding them to a running tee.
11723 Do simple buffer_alloc on the first requested pad.
11724 Post error when activation fails.
11726 2006-10-11 Tim-Philipp Müller <tim at centricular dot net>
11728 * gst/gst.c: (ensure_current_registry_forking):
11729 Check return value of write() to make compiler happy.
11731 2006-10-11 Wim Taymans <wim@fluendo.com>
11733 Patch by: Sjoerd Simons <sjoerd at luon dot net>
11735 * plugins/elements/gstqueue.c: (gst_queue_chain):
11736 Recheck queue filledness after signalling the overrun when we're about
11737 to leak downstream because we released the lock when emitting the signal
11738 and the queue could be empty again. Fixes #352345.
11740 2006-10-11 Tim-Philipp Müller <tim at centricular dot net>
11742 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
11743 Fix refcounting here too, just like we did for _new_valist() a few
11744 days ago (#357180) (thanks to René Stadler). Also remove all those
11745 'Since: 0.9' from the gtk-doc blobs.
11747 * tests/check/libs/controller.c: (controller_refcount_new_list),
11748 (gst_controller_suite):
11749 Unit test for the above.
11751 2006-10-10 Wim Taymans <wim@fluendo.com>
11753 Patch by: Sebastien Cote <sebas642 at yahoo dot ca>
11755 * gst/gstpad.c: (gst_pad_get_caps_unlocked),
11756 (gst_pad_save_thyself):
11758 Write pad direction in XML output. Fixes #345496.
11760 2006-10-10 Wim Taymans <wim@fluendo.com>
11762 Patch by: René Stadler <mail at renestadler dot de>
11764 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
11765 (gst_controller_new_list), (_gst_controller_dispose),
11766 (_gst_controller_finalize), (_gst_controller_class_init):
11767 Take ref to controlled object so that it cannot disappear.
11770 2006-10-10 Wim Taymans <wim@fluendo.com>
11772 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
11773 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
11774 (gst_check_teardown_sink_pad):
11775 Activate/deactivate pads in setup/teardown respectively.
11777 2006-10-10 Zaheer Abbas Merali <zaheerabbas at merali dot org>
11779 Patch by: Josep Torra Valles <josep@fluendo.com>
11782 Cast values when making gstenumtypes.h. This pacifies Forte
11783 so it doesn't warn about the ~0 as GST_MESSAGE_ANY not fitting
11784 in the enumeration.
11786 2006-10-09 Wim Taymans <wim@fluendo.com>
11788 * gst/gstevent.c: (gst_event_new_seek), (gst_event_parse_seek):
11789 Rename some more @cur to @start to fix docs.
11791 * gst/gstsegment.c: (gst_segment_set_seek):
11793 time and start must always stay in sync as defined in design doc.
11795 * gst/gsttaglist.c: (gst_tag_list_is_empty):
11796 Rename param to fix docs.
11798 * tests/check/gst/gstsegment.c: (GST_START_TEST):
11799 Check that start and time are in sync.
11801 * tests/check/pipelines/parse-launch.c:
11802 (gst_parse_test_element_change_state):
11803 Activate pad before adding to the element.
11805 2006-10-09 Wim Taymans <wim@fluendo.com>
11807 * docs/design/part-qos.txt:
11812 Update seek event docs regarding negative rates.
11813 Rename @cur to @start.
11815 * gst/gstsegment.c: (gst_segment_set_seek):
11816 * gst/gstsegment.h:
11817 Update set_seek docs regarding negative rates.
11818 Correctly update last_stop to @stop when dealing with negative
11820 Rename @cur to @start.
11822 * tests/check/gst/gstpad.c: (GST_START_TEST):
11823 Activate pads before trying to use them.
11825 * tests/check/gst/gstsegment.c: (GST_START_TEST),
11826 (gst_segment_suite):
11827 Add simple check for segments and negative rates.
11829 2006-10-09 Tim-Philipp Müller <tim at centricular dot net>
11831 * gst/gsttaglist.c: (gst_tag_list_is_empty):
11832 * gst/gsttaglist.h:
11833 * docs/gst/gstreamer-sections.txt:
11834 API: add gst_tag_list_is_empty() (#360467).
11836 * tests/check/gst/gsttag.c: (GST_START_TEST):
11839 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
11841 * gst/gstmessage.h:
11842 Revert change from earlier wrt GST_MESSAGE_TYPE_ANY having
11843 a value that doesn't fit on enumeration.
11845 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
11847 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
11848 Remove local debugging system and use Gstreamer's instead.
11850 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
11852 Patch by: Josep Torra Valles <josep@fluendo.com>
11854 * common/m4/gst-error.m4:
11855 Disable warning of statement not reached on Forte.
11856 * gst/gstmessage.h:
11857 Fix warning on Forte (value doesn't fit on enumeration).
11858 * libs/gst/base/gstbasesink.c: (gst_base_sink_chain_unlocked):
11859 Fix warning on Forte (value doesn't fit on enumeration).
11860 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
11861 DEBUG macro says it takes minimum of 2 args and so Forte
11862 complains about the use with just 1 arg.
11863 * plugins/elements/gstfdsink.c:
11864 * plugins/elements/gstfdsrc.c:
11865 * plugins/elements/gstfilesink.c:
11866 * plugins/elements/gstfilesrc.c:
11867 Use correct return type for the uri handler implementations.
11869 All these fix warnings in Forte. Fixes bug #360860.
11871 2006-10-08 Tim-Philipp Müller <tim at centricular dot net>
11873 * gst/gstelement.h:
11874 gcc versions prior to gcc 3.3 apparently complain about a NULL printf
11875 format string, so don't use G_GNUC_PRINTF for those versions.
11877 2006-10-07 Tim-Philipp Müller <tim at centricular dot net>
11879 * gst/gsttaglist.c: (gst_is_tag_list):
11880 * gst/gsttaglist.h:
11881 Minor fixes to GST_IS_TAG_LIST and gst_is_tag_list().
11883 * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
11884 Small test for the above.
11886 2006-10-07 Tim-Philipp Müller <tim at centricular dot net>
11888 * gst/gsttaglist.h:
11889 Less tabs, more spaces.
11891 2006-10-06 Tim-Philipp Müller <tim at centricular dot net>
11894 Those two function declarations do actually belong there, revert
11895 commit from yesterday that turned them intro macros.
11897 2006-10-06 Zaheer Abbas Merali <zaheerabbas at merali dot org>
11899 Patch by: Josep Torra Valles <josep@fluendo.com>
11901 * gst/gst.c: (gst_init_get_option_group):
11902 Fix empty declaration and type mismatch.
11903 * gst/gstbin.c: (gst_bin_change_state_func):
11905 * gst/gstelement.c: (gst_element_continue_state),
11906 (gst_element_set_state_func), (gst_element_change_state),
11907 (gst_element_change_state_func):
11908 Fix type mismatches.
11909 * gst/gstinfo.c: (gst_debug_compare_log_function_by_func),
11910 (gst_debug_remove_log_function), (_gst_debug_nameof_funcptr):
11911 Cast as appropriate.
11912 * gst/gstobject.c: (gst_class_signal_connect):
11913 Cast as appropriate. The function pointer parameter really
11914 has the wrong type but would break API if we change it.
11916 Fix redefinition of _FILE_OFFSET_BITS caused on Solaris wrt
11917 order of including string.h.
11918 * gst/gstutils.c: (gst_element_state_get_name):
11919 Remove unreachable line.
11920 * gst/gstxml.c: (gst_xml_parse_doc):
11922 All these caught by Forte.
11924 2006-10-06 Zaheer Abbas Merali <zaheerabbas at merali dot org>
11926 Patch by: Josep Torra Valles <josep@fluendo.com>
11928 * common/m4/gst-error.m4:
11930 We need to disable warnings on Forte for empty declarations
11931 due to gst-indent adding ;s to lines that just use macros
11932 where the macro actually doesn't need a ; at end to end
11935 2006-10-06 Wim Taymans <wim@fluendo.com>
11937 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
11938 (gst_file_sink_close_file), (gst_file_sink_event),
11939 (gst_file_sink_render):
11940 Add some FIXME for the NEWSEGMENT handling.
11942 2006-10-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
11944 * gst/parse/grammar.y:
11945 Remove static function gst_parse_element_lock as all it does
11946 is return. Looks like cruft from 0.8.
11948 2006-10-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
11950 Patch by: Josep Torra Valles <josep@fluendo.com>
11952 * common/m4/gst-error.m4:
11954 * libs/gst/net/Makefile.am:
11955 Fix a compilation issue with Forte on Solaris. inet_aton is in
11958 2006-10-05 Tim-Philipp Müller <tim at centricular dot net>
11960 * gst/gstpad.c: (pre_activate):
11961 * gst/gstregistry.c: (gst_registry_scan_path_level):
11962 * gst/gstregistryxml.c: (load_plugin):
11963 * libs/gst/controller/gstcontroller.c:
11964 (gst_controlled_property_set_interpolation_mode):
11965 * libs/gst/dataprotocol/dataprotocol.c:
11966 (gst_dp_packet_from_event_1_0):
11967 * libs/gst/net/gstnetclientclock.c:
11968 (gst_net_client_clock_observe_times):
11969 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
11972 2006-10-05 Tim-Philipp Müller <tim at centricular dot net>
11975 * docs/gst/gstreamer-sections.txt:
11976 * gst/gstconfig.h.in:
11977 * gst/gstelement.h:
11979 Add GST_USING_PRINTF_EXTENSION to gstconfig.h so that we know
11980 whether we can use G_GNUC_PRINTF in other header files and at
11981 least check the printf format/arguments of debug messages and
11982 GST_ELEMENT_ERROR messages when the printf extension is not
11984 Replace more tabs with spaces in gstinfo.h and remove two spurious
11985 function declarations in GST_DISABLE_DEBUG part with macros.
11987 2006-10-03 Tim-Philipp Müller <tim at centricular dot net>
11989 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_post):
11990 More docs for the sync-message signal (mention that it is not
11991 emitted by default); log message structures of messages posted on
11994 2006-10-03 Jan Schmidt <thaytan@mad.scientist.com>
11996 * gst/gst.c: (ensure_current_registry_forking):
11997 Use a pipe pair to receive status results from the forked child, and
11998 ignore the result from waitpid. Fixes #355499
12000 2006-10-02 Wim Taymans <wim@fluendo.com>
12002 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
12003 (gst_ghost_pad_suite):
12006 2006-10-02 Tim-Philipp Müller <tim at centricular dot net>
12009 Add 'Since: 0.10.11' to gst_pad_is_blocking() gtk-doc blurb.
12011 2006-10-02 Edward Hervey <edward@fluendo.com>
12013 * docs/design/part-block.txt:
12014 Further explain the use of flushing on blocked pads.
12015 * docs/gst/gstreamer-sections.txt:
12016 * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
12017 (gst_pad_push_event):
12019 Added new GstPadFlag : GST_PAD_BLOCKING.
12020 Adds the notion of pads really blocking, which enables to properly
12021 handle FLUSH_START/FLUSH_STOP events on blocked pads.
12023 API: gst_pad_is_blocking()
12024 API: GST_PAD_IS_BLOCKING() macro
12025 API: GST_PAD_BLOCKING GstPadFlag
12027 2006-10-02 Wim Taymans <wim@fluendo.com>
12029 Patch by: mrcgran <mrc.gran at gmail dot com>
12031 * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps):
12032 Filter the proxied caps against the padtemplate if we have one.
12034 * gst/gstquery.c: (gst_query_new_segment):
12035 Add include for gstinfo.h so that compilation with
12036 -DGST_DISABLE_GST_DEBUG works again. Fixes #358436.
12038 2006-10-02 Wim Taymans <wim@fluendo.com>
12040 Patch by: Alessandro Decina <alessandro at nnva org>
12042 * plugins/elements/gstfilesink.c: (gst_file_sink_init),
12043 (gst_file_sink_set_location), (gst_file_sink_open_file),
12044 (gst_file_sink_close_file), (gst_file_sink_event),
12045 (gst_file_sink_render):
12046 Set file to NULL when closing filesink so that we can set a new filename
12047 in READY. Fixes #358613.
12049 2006-10-02 Tim-Philipp Müller <tim at centricular dot net>
12051 Patch by: Alessandro Decina <alessandro at nnva org>
12053 * gst/gstevent.c: (_gst_event_copy):
12054 Fix gst_mini_object_make_writable() and gst_event_copy() for events
12055 with event structures by setting the parent refcount address of the
12056 copied structure to the address of the refcount member of the newly
12057 copied event rather than the address of the refcount member of the
12058 original event. Fixes #358737.
12060 * tests/check/gst/gstevent.c: (GST_START_TEST):
12061 Unit test for the above.
12063 2006-09-29 Stefan Kost <ensonic@users.sf.net>
12065 * docs/design/Makefile.am:
12066 Dist some more files.
12068 2006-09-29 Tim-Philipp Müller <tim at centricular dot net>
12070 * tests/check/libs/controller.c: (GST_START_TEST),
12071 (gst_controller_suite):
12072 Add test for the previous fix; add some more tests
12073 for correct refcounting behaviour; fix a few leaks
12074 in test cases; call gst_controller_init() at start
12077 2006-09-29 Tim-Philipp Müller <tim at centricular dot net>
12079 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
12080 (gst_controller_set_from_list):
12081 Don't g_return_val_if_fail() on timed values with invalid timestamps
12082 inside a critical section without unlocking the mutex. Spotted by
12083 René Stadler. (#357617)
12084 Also, fix up refcounting properly: when returning an existing
12085 controller, we should increase the reference only once and not
12086 once per property and when trying to control a property again
12087 we should also increase the refcount.
12089 2006-09-29 Wim Taymans <wim@fluendo.com>
12091 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
12092 * libs/gst/net/gstnettimeprovider.c:
12093 (gst_net_time_provider_thread):
12094 Stop reading commands when EOF as well.
12096 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
12097 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
12098 * plugins/elements/gstidentity.c: (gst_identity_class_init):
12099 Unify description of the dump property.
12101 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
12103 * tests/examples/manual/.cvsignore:
12104 OK, so it's actually cvsignore that needs changing. Stop laughing.
12106 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
12108 * tests/examples/manual/Makefile.am:
12109 Gah, declare vars *before* using them
12111 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
12113 * gst/gst.c: (init_pre), (scan_and_update_registry),
12114 (ensure_current_registry_nonforking),
12115 (ensure_current_registry_forking), (ensure_current_registry),
12116 (init_post), (gst_debug_help), (gst_deinit):
12117 * gst/gst_private.h:
12118 * gst/gstregistry.c: (gst_registry_finalize),
12119 (gst_registry_remove_features_for_plugin_unlocked),
12120 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
12121 (gst_registry_scan_path),
12122 (_priv_gst_registry_remove_cache_plugins),
12123 (_priv_gst_registry_cleanup):
12124 * gst/gstregistry.h:
12125 Re-commit the registry changes, along with an extra fix:
12126 When a cached plugin is encountered at a different file path,
12127 update the stored path in the registry cache so that the parent
12128 process knows where it actually is now when it re-reads the registry
12129 cache. Fixes the thing that broke distcheck with the previous commit.
12131 * tests/check/Makefile.am:
12132 Clean up files named 'core' too when running make clean.
12134 * tests/examples/manual/Makefile.am:
12135 Set up a registry path for running these tests, and clean it properly
12138 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
12141 Don't pull in gmodule-2.0.pc as a dependency in our .pc files - we
12142 want gmodule-no-export-2.0.pc instead so that we don't drag in
12143 --export-dynamic on every project that links to GStreamer.
12145 Also, make our export regex only match the start of symbols, rather
12146 than any symbol that contains '_gst' somewhere.
12148 * libs/gst/check/Makefile.am:
12149 The libgstcheck we build does however need export-dynamic, as it
12150 produces some symbols that don't match our _gst... style regex.
12153 2006-09-27 Jan Schmidt <thaytan@mad.scientist.com>
12155 * gst/gst.c: (init_pre), (scan_and_update_registry),
12156 (ensure_current_registry_nonforking),
12157 (ensure_current_registry_forking), (ensure_current_registry),
12158 (init_post), (gst_debug_help), (gst_deinit):
12159 * gst/gst_private.h:
12160 * gst/gstregistry.c: (gst_registry_finalize),
12161 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
12162 (gst_registry_scan_path), (_gst_registry_remove_cache_plugins),
12163 (_gst_registry_cleanup):
12164 * gst/gstregistry.h:
12165 Revert previous change until I figure out why it breaks distcheck.
12167 2006-09-27 Jan Schmidt <thaytan@mad.scientist.com>
12169 * gst/gst.c: (init_pre), (scan_and_update_registry),
12170 (ensure_current_registry_nonforking),
12171 (ensure_current_registry_forking), (ensure_current_registry),
12172 (init_post), (gst_debug_help), (gst_deinit):
12174 Make init_pre and init_post take the full complement of GOptionFunc
12175 args so they can return useful GErrors. Make the registry updating
12178 Call _priv_gst_registry_remove_cache_plugins after scanning files to
12179 ensure that the registry we're about to write out doesn't contain
12180 stale information about old-deleted plugin files.
12182 Make _priv_gst_registry_remove_cache_plugins return a boolean so
12183 that deletion of plugin files is considered a registry change.
12185 * gst/gst_private.h:
12186 * gst/gstregistry.c: (gst_registry_finalize),
12187 (gst_registry_remove_features_for_plugin_unlocked),
12188 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
12189 (gst_registry_scan_path),
12190 (_priv_gst_registry_remove_cache_plugins),
12191 (_priv_gst_registry_cleanup):
12192 * gst/gstregistry.h:
12193 Rename _gst_registry_remove_cache_plugins and _gst_registry_cleanup
12194 by adding _priv prefix, so that they won't appear in the global
12195 symbol table. They still do atm though because of #318031. Move the
12196 prototypes to gst_private.h
12198 When removing a plugin, remove all features for that plugin too.
12201 2006-09-27 Wim Taymans <wim@fluendo.com>
12203 * docs/random/moving-plugins:
12204 Make it clear that the "compiled-in descriptions" really mean
12205 the element details.
12207 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
12208 (gst_base_sink_wait_preroll):
12211 * docs/libs/gstreamer-libs-sections.txt:
12212 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
12213 (gst_base_src_get_range), (gst_base_src_activate_push):
12214 * libs/gst/base/gstbasesrc.h:
12215 Added function to block while waiting for PLAYING, this function
12216 is used by live sources that block on the clock.
12217 API: gst_base_src_wait_playing()
12219 2006-09-27 Tim-Philipp Müller <tim at centricular dot net>
12221 Patch by: Peter Kjellerstedt <pkj at axis com>
12224 gst-element-check.m4 is generated and should therefore be
12225 copied from the build dir rather than the source dir (#357593).
12226 'make distcheck' hasn't noticed this because we were disting
12227 the file as well, so stop doing that.
12229 2006-09-27 Tim-Philipp Müller <tim at centricular dot net>
12231 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
12232 Add some tests for gst_caps_intersect().
12234 * tools/gst-launch.c: (event_loop):
12235 Print all buffering percentages we get, even the 100% one.
12237 2006-09-26 Wim Taymans <wim@fluendo.com>
12239 * tools/gst-inspect.c: (print_element_properties_info),
12240 (print_signal_info):
12241 Fix printing of flags to match the look of enums.
12243 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
12245 * gst/gstelementfactory.c:
12246 Fix typo in docs blurb.
12248 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
12250 * gst/gsturi.c: (search_by_entry):
12251 Don't assert/crash here if a uri handler doesn't return any
12252 supported protocols. The list of protocols could be generated
12253 dynamically at runtime or at plugin registration, and an error
12254 in the underlying library shouldn't be fatal (#353301).
12256 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
12259 Fix warning if HAVE_PRINTF_EXTENSION is undefined
12260 (spotted by Peter Kjellerstedt).
12262 2006-09-23 Wim Taymans <wim@fluendo.com>
12264 Based on patch by: Antoine Tremblay <hexa00 at gmail dot com>
12266 * libs/gst/base/gstbasesrc.c:
12267 (gst_base_src_default_check_get_range), (gst_base_src_start),
12268 (gst_base_src_activate_push), (gst_base_src_activate_pull),
12269 (gst_base_src_change_state):
12270 Match _start/_stop calls in the activate functions. Remove redundant
12271 _stop call from the state change function. Fixes #356910.
12272 Turn failure DEBUG into ERROR.
12274 2006-09-22 Wim Taymans <wim@fluendo.com>
12276 * docs/design/part-buffering.txt:
12277 * gst/gstmessage.c: (gst_message_new_buffering),
12278 (gst_message_parse_buffering):
12279 Update docs about buffering.
12281 * docs/design/part-trickmodes.txt:
12284 2006-09-22 Stefan Kost <ensonic@users.sf.net>
12286 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
12287 (gst_controller_new_list):
12288 Ref instances when returning them again (fixes #357180)
12290 2006-09-22 Tim-Philipp Müller <tim at centricular dot net>
12292 * gst/gstghostpad.c: (gst_ghost_pad_set_target):
12293 Don't forget to release proxy lock when there's an error.
12295 2006-09-20 Jan Schmidt <thaytan@mad.scientist.com>
12298 Add extra initialisers for Caps things, to fix some plugin warnings
12301 2006-09-18 Wim Taymans <wim@fluendo.com>
12303 * gst/gstghostpad.c: (gst_ghost_pad_new_full):
12304 Also set template on the internal pad so that a getcaps from the
12305 target pad returns the template caps.
12307 2006-09-18 Wim Taymans <wim@fluendo.com>
12309 * gst/gstelement.c: (gst_element_post_message),
12310 (gst_element_dispose):
12311 Use _DEBUG_OBJECT some more.
12313 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
12316 * tools/gst-launch.c: (main):
12317 If the toplevel element is not a GstPipeline, it must be put in a
12318 pipeline so that a bus and clock is selected.
12320 2006-09-17 Tim-Philipp Müller <tim at centricular dot net>
12322 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
12323 JITTER, RATE, and LATENCY query should be handled by the
12324 default case and not by the CONVERT query code.
12326 2006-09-17 Tim-Philipp Müller <tim at centricular dot net>
12328 * gst/gstformat.c: (gst_format_register):
12329 Fix locking order (must take lock before using n_values).
12331 * gst/gstvalue.c: (gst_value_serialize_enum),
12332 (gst_value_deserialize_enum_iter_cmp),
12333 (gst_value_deserialize_enum):
12334 Fix serialisation/deserialisation of custom registered GstFormats.
12336 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
12337 Unit test for custom format serialisation/deserialisation.
12339 2006-09-17 Stefan Kost <ensonic@users.sf.net>
12341 * docs/pwg/building-boiler.xml:
12342 * plugins/elements/gstcapsfilter.c:
12343 More G_OBJECT macro fixing. Also Fix some details on the plugin-stamp
12346 2006-09-16 Edward Hervey <edward@fluendo.com>
12348 * libs/gst/base/gstbasetransform.c:
12349 (gst_base_transform_buffer_alloc):
12350 Check if requested caps are the same as the sinks caps IF
12351 ->have_same_caps is TRUE. If they are not, act as if have_same_caps
12353 This fixes the renegotiation issues stated in #352827.
12355 2006-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
12358 * docs/manual/advanced-autoplugging.xml:
12359 * tests/examples/Makefile.am:
12360 * tests/examples/manual/.cvsignore:
12361 * tests/examples/manual/Makefile.am:
12362 * tests/examples/manual/extract.pl:
12363 Extract the manual examples again like we used to do.
12366 2006-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
12368 * win32/common/config.h:
12371 2006-09-16 Stefan Kost <ensonic@users.sf.net>
12374 Documents how to receive errors.
12376 2006-09-15 Wim Taymans <wim@fluendo.com>
12378 * tools/gst-launch.c: (sigint_handler_sighandler), (check_intr),
12379 (event_loop), (main):
12380 Added some comments here and there.
12381 Post an application message when an interrupt is caught instead of doing
12382 an uncontrolled state change.
12383 Clean up the event loop.
12384 Handle buffering messages, pause/resume the pipeline.
12385 Make shutdown because of an interrupt more reliable.
12387 2006-09-15 Wim Taymans <wim@fluendo.com>
12389 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
12390 (gst_base_sink_wait_preroll), (gst_base_sink_do_sync),
12391 (gst_base_sink_preroll_object):
12392 Make sure that our internal state is correct when we commit our state
12393 asynchronously. This solves a race where a state change to PLAYING
12394 could cause the sink to remain blocked in preroll in some situations.
12396 2006-09-15 Wim Taymans <wim@fluendo.com>
12398 * tools/gst-inspect.c: (print_element_properties_info),
12399 (print_signal_info):
12400 List flags as hex so it's easier to deal with.
12402 2006-09-15 Wim Taymans <wim@fluendo.com>
12404 * docs/libs/gstreamer-libs-sections.txt:
12405 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_preroll),
12406 (gst_base_sink_do_sync):
12407 * libs/gst/base/gstbasesink.h:
12408 Expose logic to wait for preroll so that subclasses such as audiosink
12409 can also use this method.
12410 API: gst_base_sink_wait_preroll()
12412 2006-09-15 Wim Taymans <wim@fluendo.com>
12414 * gst/gstobject.c: (gst_object_set_parent):
12415 * gst/gstpipeline.c: (do_pipeline_seek):
12416 Small cleanups in docs and code.
12418 * gst/gstsegment.c: (gst_segment_clip):
12419 * tests/check/gst/gstsegment.c: (GST_START_TEST):
12420 if stop == start and start is in the segment, no clipping should be
12421 done. Also add a test for this.
12423 2006-09-15 Wim Taymans <wim@fluendo.com>
12425 * docs/design/part-buffering.txt:
12426 * docs/gst/gstreamer-sections.txt:
12427 * gst/gstmessage.c: (gst_message_new_buffering),
12428 (gst_message_parse_buffering):
12429 * gst/gstmessage.h:
12430 Added methods to create and parse BUFFERING messages.
12431 Added preliminary docs about buffering.
12432 API: gst_message_new_buffering
12433 API: gst_message_parse_buffering
12435 2006-09-06 Wim Taymans <wim@fluendo.com>
12438 Update documentation.
12440 * gst/gstelement.c: (gst_element_class_init),
12441 (gst_element_release_request_pad), (gst_element_set_clock),
12442 (gst_element_get_index), (gst_element_add_pad),
12443 (gst_element_remove_pad), (gst_element_get_random_pad),
12444 (gst_element_send_event), (gst_element_get_query_types),
12445 (gst_element_query), (gst_element_post_message),
12446 (gst_element_message_full), (gst_element_continue_state),
12447 (gst_element_lost_state), (gst_element_save_thyself),
12448 (gst_element_restore_thyself):
12449 Documentation updates.
12450 Rename last bit of the new-pad -> pad-added signal rename.
12451 Fix the case where an element query would only work if the source
12453 Avoid some useless type checking in message handling.
12458 Documentation updates.
12460 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
12462 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
12463 add an INFO line for when we actually update the fd
12465 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
12470 === release 0.10.10 ===
12472 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
12475 releasing 0.10.10, "Pais"
12477 2006-09-05 Tim-Philipp Müller <tim at centricular dot net>
12479 * docs/manual/advanced-position.xml:
12480 Fix typo in sample code.
12482 2006-09-05 Wim Taymans <wim@fluendo.com>
12484 * libs/gst/net/gstnetclientclock.c: (inet_aton),
12485 (gst_net_client_clock_init), (gst_net_client_clock_finalize),
12486 (gst_net_client_clock_do_select), (gst_net_client_clock_new):
12487 * libs/gst/net/gstnetclientclock.h:
12488 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
12489 * libs/gst/net/gstnettimepacket.h:
12490 * libs/gst/net/gstnettimeprovider.c: (inet_aton),
12491 (gst_net_time_provider_init), (gst_net_time_provider_finalize),
12492 (gst_net_time_provider_thread), (gst_net_time_provider_new):
12493 * libs/gst/net/gstnettimeprovider.h:
12494 Make stuff compile on windows. Fixes #345295.
12496 2006-09-03 Tim-Philipp Müller <tim at centricular dot net>
12498 * gst/gst.c: (ensure_current_registry_forking):
12499 Print better details when child was terminated by signal.
12501 2006-09-03 Tim-Philipp Müller <tim at centricular dot net>
12503 * gst/gstregistryxml.c: (gst_registry_xml_save_feature):
12504 Print a warning rather than g_assert() if a plugin feature
12505 is a URI handler but returns no protocols (#353976).
12507 2006-09-02 Stefan Kost <ensonic@users.sf.net>
12509 * docs/random/moving-plugins:
12512 2006-09-01 Tim-Philipp Müller <tim at centricular dot net>
12514 * gst/gstinfo.c: (_gst_debug_nameof_funcptr):
12515 Fix locking order, handle NULL function values properly.
12520 * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
12521 Initialise variable before using it and fix debug statement to
12522 print the address of the function rather than the address of the
12523 variable on the stack holding the address of the function.
12525 2006-09-01 Wim Taymans <wim@fluendo.com>
12527 * gst/gstghostpad.c: (gst_proxy_pad_do_event),
12528 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_chain),
12529 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
12530 (gst_proxy_pad_set_target_unlocked), (gst_ghost_pad_parent_set),
12531 (gst_ghost_pad_parent_unset),
12532 (gst_ghost_pad_internal_do_activate_push),
12533 (gst_ghost_pad_internal_do_activate_pull),
12534 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
12535 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
12536 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
12537 (gst_ghost_pad_new_full), (gst_ghost_pad_new_no_target),
12538 (gst_ghost_pad_new), (gst_ghost_pad_new_from_template),
12539 (gst_ghost_pad_new_no_target_from_template),
12540 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
12542 Avoid needless typechecking in macros.
12543 Since the internal pad is always present and never changes, there is
12544 no need to locking or ref when retrieving it.
12545 Improve debugging a bit.
12546 Handle link errors when setting the target. Fixes #341029.
12548 2006-09-01 Wim Taymans <wim@fluendo.com>
12550 * docs/libs/gstreamer-libs-sections.txt:
12551 * docs/plugins/gstreamer-plugins-sections.txt:
12552 Fix docs some more.
12554 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
12555 (gst_collect_pads_event):
12556 * libs/gst/base/gstcollectpads.h:
12557 Documentation updates.
12558 Free queued buffer when removing a pad.
12560 2006-08-31 Michael Smith <msmith@fluendo.com>
12562 * gst/gstutils.c: (gst_element_link_pads),
12563 (gst_element_link_pads_filtered):
12564 Ensure that we set a capsfilter to NULL if we failed to link it
12565 when doing filtered linking, to avoid criticals.
12567 No need to check for unreffing srcpad, which is explicly NULLed
12568 above (a trivial code cleanup).
12570 2006-08-31 Wim Taymans <wim@fluendo.com>
12572 * docs/design/part-gstghostpad.txt:
12573 Update ascii art in documentation.
12575 * gst/gstghostpad.c: (gst_proxy_pad_do_internal_link),
12576 (gst_proxy_pad_set_target_unlocked), (gst_proxy_pad_init),
12577 (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
12578 (gst_ghost_pad_internal_do_activate_push),
12579 (gst_ghost_pad_internal_do_activate_pull),
12580 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
12581 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
12582 (gst_ghost_pad_dispose), (gst_ghost_pad_new_full),
12583 (gst_ghost_pad_set_target):
12584 Small cleanups and leak fixes.
12585 Remove some checks now that the internal pad is never NULL.
12586 Fix the case where linking pads without a target would create nasty
12587 criticals. Fixes #341029.
12588 Don't assign a GstPadLinkReturn to a gboolean and mess up the return
12589 value of _set_target().
12591 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
12592 (gst_ghost_pad_suite):
12593 Some more tests for creating and linking untargeted ghostpads.
12595 2006-08-31 Edward Hervey <edward@fluendo.com>
12597 * docs/gst/gstreamer-sections.txt:
12598 * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps),
12599 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
12600 (gst_proxy_pad_dispose), (gst_ghost_pad_new_full),
12601 (gst_ghost_pad_new_no_target), (gst_ghost_pad_new),
12602 (gst_ghost_pad_new_from_template),
12603 (gst_ghost_pad_new_no_target_from_template):
12604 * gst/gstghostpad.h:
12605 Refactored *_new() functions.
12606 Templates are now used as a g_object_new() parameter.
12607 Use template in _do_getcaps() if we don't have a target.
12608 Small documentation cleanups.
12609 Added two new constructors:
12610 gst_ghost_pad_new_from_template()
12611 gst_ghost_pad_new_no_target_from_template()
12612 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
12613 (gst_ghost_pad_suite):
12614 Added tests for new ghostpad instanciation functions.
12616 API additions: gst_ghost_pad_new_from_template,
12617 gst_ghost_pad_new_no_target_from_template
12619 2006-08-30 Stefan Kost <ensonic@users.sf.net>
12621 * docs/random/ensonic/profiling.txt:
12622 Ideas about qos profiling.
12624 2006-08-29 Wim Taymans <wim@fluendo.com>
12626 * gst/gstcaps.c: (gst_caps_structure_is_subset_field):
12630 2006-08-29 Tim-Philipp Müller <tim at centricular dot net>
12633 Improve and detypofy docs.
12635 * tests/check/Makefile.am:
12636 * tests/check/gst/.cvsignore:
12637 * tests/check/gst/gstxml.c: (GST_START_TEST), (gst_xml_suite):
12638 Add a basic test suite for GstXML.
12640 2006-08-29 Wim Taymans <wim@fluendo.com>
12642 * gst/gstelement.c: (activate_pads), (clear_caps),
12643 (iterator_activate_fold_with_resync), (gst_element_pads_activate):
12644 Clear the pad caps when the element shut down all of the pads and
12645 is not streaming data that could modify the caps.
12648 2006-08-28 Michael Smith <msmith@fluendo.com>
12650 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
12651 Revert previous change; I misunderstood single-segment mode.
12653 2006-08-28 Michael Smith <msmith@fluendo.com>
12655 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
12656 Unset DISCONT on buffers when using single-segment mode.
12658 2006-08-28 Wim Taymans <wim@fluendo.com>
12660 * gst/gstcaps.c: (gst_caps_merge_structure):
12662 Fix docs and indentation again.
12664 * tests/check/gst/gstquery.c: (GST_START_TEST):
12665 Fix leak in tests and add some more tests.
12667 2006-08-28 Edward Hervey <edward@fluendo.com>
12669 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
12670 Inform GstSegment of the last stop position in order for the current
12671 segment to have a proper duration if it doesn't have a specific stop
12672 position from which a duration could be calculated.
12673 This bug was noticeable when a non-flushing, non-update new segment was
12674 followed by another segment (all buffers from the new segment were being
12677 2006-08-28 Wim Taymans <wim@fluendo.com>
12679 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
12680 Small comment update.
12682 * plugins/elements/gstidentity.c: (gst_identity_class_init),
12683 (gst_identity_transform_ip):
12684 Drop-probability is broken, mention this in the code with a
12685 FIXME and also in the property description.
12686 Make silent also be silent about the drop messages.
12688 2006-08-28 Tim-Philipp Müller <tim at centricular dot net>
12690 * docs/manual/appendix-win32.xml:
12691 Remove mention of popt, we don't depend on that any
12692 longer (#353136). Add some comments pointing out that
12693 this section is slightly outdated.
12695 2006-08-28 Wim Taymans <wim@fluendo.com>
12697 Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
12699 * gst/gstquery.c: (gst_query_new_segment):
12700 * tests/check/gst/gstquery.c: (GST_START_TEST):
12701 Initialize variables when creating a new segment query.
12704 2006-08-28 Wim Taymans <wim@fluendo.com>
12706 Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
12708 * gst/gstelement.c: (gst_element_get_bus):
12709 * tests/check/gst/gstelement.c: (GST_START_TEST):
12710 Check for NULL before _reffing the bus. Fixes #353122.
12712 2006-08-25 Tim-Philipp Müller <tim at centricular dot net>
12714 * docs/manual/basics-bus.xml:
12715 Docs update: fix wrong callback return value explanation; add
12716 some lines about the implicit relationship between main loop
12717 and main context; remove duplicate main loop variable declaration.
12719 2006-08-24 Tim-Philipp Müller <tim at centricular dot net>
12721 * tests/check/gst/gstcaps.c: (GST_START_TEST):
12722 Don't leak caps in unit test; add a few more simple
12725 2006-08-24 Stefan Kost <ensonic@users.sf.net>
12727 * docs/gst/gstreamer-sections.txt:
12728 * gst/gstcaps.c: (gst_caps_structure_is_subset_field),
12729 (gst_caps_structure_is_subset), (gst_caps_merge),
12730 (gst_caps_merge_structure):
12732 * libs/gst/base/gstbasetransform.c:
12733 (gst_base_transform_transform_caps):
12734 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
12735 implement caps merging (fixes #352580)
12737 2006-08-23 Stefan Kost <ensonic@users.sf.net>
12739 * tools/Makefile.am:
12740 * tools/gst-plot-timeline.py:
12741 add debug-log plotting developer tool (#340674)
12743 2006-08-23 Wim Taymans <wim@fluendo.com>
12745 * gst/gstpad.c: (gst_pad_start_task), (gst_pad_pause_task),
12746 (gst_pad_stop_task):
12747 Improve debugging for task functions.
12749 * gst/gsttask.c: (gst_task_func), (gst_task_set_lock),
12750 (gst_task_start), (gst_task_pause), (gst_task_join):
12751 Make sure that the task function started and finished after a
12753 Don't try to push the task function on the threadpool multiple
12755 Improve the g_warning message with some useful suggestions
12756 about how to fix the problem.
12758 2006-08-23 Wim Taymans <wim@fluendo.com>
12760 * gst/gstutils.c: (gst_pad_proxy_getcaps):
12761 Handle RESYNC correctly in _proxy_getcaps.
12763 2006-08-21 Tim-Philipp Müller <tim at centricular dot net>
12765 * gst/gstxml.c: (gst_xml_dispose), (gst_xml_parse_file),
12766 (gst_xml_parse_memory), (gst_xml_get_element):
12767 Chain up to parent class in dispose function and also
12768 unref the elements in the toplevel_elements GList.
12769 Don't leak XmlDocPtr in _parse_file() and _parse_memory().
12770 Always return a reference in gst_xml_get_element() rather
12771 than only sometimes.
12773 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
12774 Don't leak GstXml object.
12776 2006-08-21 Stefan Kost <ensonic@users.sf.net>
12778 * docs/gst/gstreamer-sections.txt:
12779 * gst/gstcaps.c: (gst_structure_is_equal_foreach),
12782 * libs/gst/base/gstbasetransform.c:
12783 (gst_base_transform_transform_caps):
12784 API: Add gst_caps_merge() and use it in basetransform, fixes #345444
12787 2006-08-21 Edward Hervey <edward@fluendo.com>
12789 * gst/gstxml.c: (gst_xml_class_init), (gst_xml_dispose):
12790 Implement GObject::dispose virtual method in GstXML so we can free the
12791 top_elements GList.
12793 2006-08-21 Wim Taymans <wim@fluendo.com>
12795 * gst/gstbuffer.c: (gst_buffer_make_metadata_writable),
12796 (gst_buffer_create_sub):
12797 Copy duration/offset_end/caps when creating a subbuffer of the
12799 Make the subbuffer read-only when we make the metadata writable for
12800 now. Fixes #351768.
12802 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
12803 Added check for metadata copy when creating subbuffers.
12805 2006-08-21 Edward Hervey <edward@fluendo.com>
12807 * libs/gst/base/gstbasetransform.c:
12808 (gst_base_transform_buffer_alloc):
12809 Only call downstream buffer_alloc if transform element is passthrough
12810 or always_in_place. Closes #350449.
12812 2006-08-20 Stefan Kost <ensonic@users.sf.net>
12815 ChangeLog surgery to add comments to previous changes
12817 2006-08-20 Stefan Kost <ensonic@users.sf.net>
12822 * gst/gstpad.c: (gst_pad_set_active):
12823 Be more verbose in the log
12825 * libs/gst/base/gstbasetransform.c:
12826 (gst_base_transform_transform_caps):
12827 Simplify caps to get rid of duplicates, fixes #345444
12829 2006-08-20 Stefan Kost <ensonic@users.sf.net>
12833 Use these optimizations only internally.
12835 2006-08-20 Stefan Kost <ensonic@users.sf.net>
12837 * gst/gstvalue.c: (gst_value_compare_list),
12838 (gst_value_compare_fraction_range),
12839 (gst_value_intersect_fraction_fraction_range),
12840 (gst_value_intersect_fraction_range_fraction_range),
12841 (gst_value_subtract_fraction_fraction_range),
12842 (gst_value_subtract_fraction_range_fraction_range),
12843 (gst_value_get_compare_func), (gst_value_compare),
12844 (gst_value_compare_with_func):
12846 Saves the expensive lookup of the compare function in many cases
12849 2006-08-18 Edward Hervey <edward@fluendo.com>
12851 * tests/check/gst/gstinfo.c: (gst_info_suite):
12852 Disable test that require gstdebug if it wasn't built in core.
12854 2006-08-18 Stefan Kost <ensonic@users.sf.net>
12856 * docs/random/ensonic/logging.txt:
12859 * gst/gstinfo.c: (gst_debug_log_default):
12860 reorder fields, save some columns, add optional color codes for log
12863 2006-08-18 Stefan Kost <ensonic@users.sf.net>
12865 * docs/random/ensonic/logging.txt:
12866 add ideas about making the logs a bit more useful
12868 2006-08-17 Tim-Philipp Müller <tim at centricular dot net>
12870 * docs/pwg/advanced-events.xml:
12871 * docs/pwg/titlepage.xml:
12872 Update for 0.10 API (#340627). Add myself
12875 2006-08-17 Tim-Philipp Müller <tim at centricular dot net>
12877 * docs/libs/gstreamer-libs-docs.sgml:
12878 * docs/libs/gstreamer-libs-sections.txt:
12879 * libs/gst/check/gstbufferstraw.c:
12880 Make gstcheck stuff show up in docs (still needs to
12881 be documented properly though).
12883 2006-08-16 Jan Schmidt <thaytan@mad.scientist.com>
12885 * docs/gst/gstreamer-sections.txt:
12887 * gst/gst.c: (init_post):
12888 * gst/gst_private.h:
12889 * gst/gstquark.c: (_priv_gst_quarks_initialize):
12891 * gst/gstquery.c: (gst_query_new_position),
12892 (gst_query_set_position), (gst_query_parse_position),
12893 (gst_query_new_duration), (gst_query_set_duration),
12894 (gst_query_parse_duration), (gst_query_new_convert),
12895 (gst_query_set_convert), (gst_query_parse_convert),
12896 (gst_query_new_segment), (gst_query_set_segment),
12897 (gst_query_parse_segment), (gst_query_new_seeking),
12898 (gst_query_set_seeking), (gst_query_parse_seeking):
12899 Add internal helpers for pre-registering quarks from static strings
12900 and using the quark values directly instead of looking them up when
12901 creating and parsing queries. Can be used for event construction too.
12904 2006-08-16 Wim Taymans <wim@fluendo.com>
12909 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
12911 * gst/gstutils.c: (gst_util_set_value_from_string):
12912 Fix memleak (#351502).
12914 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
12915 Add unit test for most of gst_util_set_value_from_string()
12916 (not that one would want to encourage use of this function).
12918 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
12920 * libs/gst/check/gstcheck.h:
12921 Use const gchar * variables in fail_unless_equals_string
12922 macro to avoid compiler warnings (and don't use tabs for
12925 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
12927 * tools/gst-launch.c: (print_tag):
12928 More space on the left for the tag names, to cater
12929 for the 'extended comment' tag (not touching the
12930 string for the first line since it's translated).
12932 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
12934 * libs/gst/check/gstcheck.h:
12935 Fix ASSERT_CRITICAL and ASSERT_WARNING macros to actually
12936 print something when they fail.
12938 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
12940 * docs/gst/gstreamer-sections.txt:
12941 * gst/gsttaglist.c: (_gst_tag_initialize):
12942 * gst/gsttaglist.h:
12943 API: add GST_TAG_EXTENDED_COMMENT (#350935).
12944 Also change merge function for GST_TAG_COMMENT to
12947 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
12949 * gst/gstinfo.c: (gst_debug_print_object):
12950 Make GST_PTR_FORMAT print messages as well.
12952 * tests/check/gst/gstinfo.c: (printf_extension_log_func),
12953 (GST_START_TEST), (gst_info_suite):
12956 2006-08-14 Edward Hervey <edward@fluendo.com>
12958 * gst/gstelementfactory.c: (gst_element_register):
12959 If the GstElementClass doesn't have a GstElementDetails with all fields
12960 filled up correctly (longname, description AND author), then error out
12961 nicely instead of crashing.
12963 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
12965 * gst/gststructure.c:
12966 Fix typo in docs and re-wrap docs blurb to not exceed 80 chars/line.
12969 Expand on the difference between arrays and lists as we use them.
12971 2006-08-14 Wim Taymans <wim@fluendo.com>
12973 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
12974 If the parent state change function failed, don't assume we can safely
12975 stop the source, this will be done when the pads are deactivated.
12977 2006-08-14 Wim Taymans <wim@fluendo.com>
12980 * gst/gsttask.c: (gst_task_join):
12983 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
12984 (gst_pad_stop_task):
12985 When pad (de)activation failed for some reason, restore the old
12986 activation mode and set the pad to flushing instead of assuming the
12987 pad is deactivated.
12988 If the _task_join() failed, reinstall the task on the pad so that it can
12989 be stopped later and return an error.
12991 2006-08-11 Andy Wingo <wingo@pobox.com>
12994 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
12995 * tests/check/libs/gdp.c: (gst_dp_suite): GST_DISABLE_DEPRECATED
12996 is only for users of API that don't want to see deprecated
12997 functions in the headers; people that want to compile out
12998 deprecated code should pass -DGST_REMOVE_DEPRECATED into the
12999 CFLAGS. Fixes the build of multifdsink, or will soon..
13001 2006-08-11 Wim Taymans <wim@fluendo.com>
13003 * docs/gst/gstreamer-sections.txt:
13004 Add GstClockClass vmethod docs.
13007 Mark #endif with comment for associated #if
13009 * gst/gstclock.c: (gst_clock_id_wait):
13011 Add vmethod wait_jitter to avoid an unneeded _get_time() for
13012 most clock implementations.
13014 Flesh out docs about resolution methods.
13015 API: GstClockClass::wait_jitter
13017 * gst/gstsystemclock.c: (gst_system_clock_class_init),
13018 (gst_system_clock_async_thread),
13019 (gst_system_clock_id_wait_jitter_unlocked),
13020 (gst_system_clock_id_wait_jitter):
13021 Use base class wait_jitter variant for improved performance
13022 due to less clock polling.
13024 2006-08-11 Edward Hervey <edward@fluendo.com>
13026 * gst/gst.c: (gst_init_check), (init_post):
13027 Set gst as being initialized before scanning/updating the registry,
13028 since there might be my python plugin loader that calls gst_init() and
13029 we don't want to loop back in.
13032 2006-08-11 Wim Taymans <wim@fluendo.com>
13034 * docs/design/part-qos.txt:
13035 Bring docs in line with the code. Mostly the sign of the jitter was
13036 wrong in the docs. Fixes #349943.
13039 Fix the docs for the jitter.
13041 * gst/gstevent.c: (gst_event_new_custom), (gst_event_new_tag),
13042 (gst_event_parse_tag), (gst_event_new_buffer_size),
13043 (gst_event_parse_buffer_size), (gst_event_parse_qos),
13044 (gst_event_new_seek), (gst_event_parse_seek),
13045 (gst_event_new_navigation):
13046 Make sure the GstStructure has no parent when creating custom
13048 Add some more argument checking so that we avoid 0.0 rates.
13049 Flesh out the docs for the QoS event some more.
13051 2006-08-11 Wim Taymans <wim@fluendo.com>
13053 * docs/gst/gstreamer-sections.txt:
13054 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
13055 (ensure_current_registry_forking), (ensure_current_registry),
13056 (parse_one_option), (parse_goption_arg), (gst_deinit),
13057 (gst_registry_fork_is_enabled), (gst_registry_fork_set_enabled):
13060 Added API and command line option to disable registry forking in
13061 addition to the environment variable.
13062 Constify some static arrays.
13063 Added some more debug.
13064 Don't deinit twice.
13065 API: gst_registry_fork_is_enabled()
13066 API: gst_registry_fork_set_enabled()
13067 API: --gst-disable-registry-fork command line option
13070 2006-08-11 Tim-Philipp Müller <tim at centricular dot net>
13072 * gst/gst.c: (gst_init):
13073 Fix typo in error message.
13075 2006-08-10 Stefan Kost <ensonic@users.sf.net>
13077 * libs/gst/controller/gstcontroller.h:
13078 fix ABI size-correction
13080 * tests/check/libs/gdp.c: (gst_dp_suite):
13081 make tests that use deprecated API conditional
13083 2006-08-10 Stefan Kost <ensonic@users.sf.net>
13085 * docs/libs/gstreamer-libs-sections.txt:
13086 * libs/gst/controller/gstcontroller.c:
13087 (_gst_controller_get_property), (_gst_controller_set_property),
13088 (_gst_controller_init), (_gst_controller_class_init):
13089 * libs/gst/controller/gstcontroller.h:
13090 * libs/gst/controller/gsthelper.c: (gst_object_get_control_rate),
13091 (gst_object_set_control_rate):
13092 API: add gst_object_{s,g}et_control_rate(), add private data section,
13095 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
13096 * libs/gst/dataprotocol/dataprotocol.h:
13097 add deprecation guards to make gtk-doc happy and allow disabling cruft
13099 2006-08-09 Tim-Philipp Müller <tim at centricular dot net>
13101 * tests/check/Makefile.am:
13102 * tests/check/gst/.cvsignore:
13103 Let's enable the new unit test as well.
13105 2006-08-08 Tim-Philipp Müller <tim at centricular dot net>
13108 * docs/gst/gstreamer-sections.txt:
13109 * gst/gstconfig.h.in:
13110 * gst/gstinfo.c: (_gst_debug_init), (gst_debug_print_segment),
13111 (_gst_info_printf_extension_ptr),
13112 (_gst_info_printf_extension_segment):
13113 API: add GST_SEGMENT_FORMAT, which is a printf extension we
13114 register that lets us easily dump GstSegments into debug
13117 * tests/check/gst/gstinfo.c: (segment_printf_extension_log_func),
13118 (info_segment_format_printf_extension), (gst_info_suite):
13119 Add simple unit test that logs a bunch of different segments (not
13120 valgrinded at the moment because of leaks in
13121 gst_debug_add_log_function).
13123 2006-08-09 Edward Hervey <edward@fluendo.com>
13125 * libs/gst/base/gstbasetransform.c:
13126 (gst_base_transform_buffer_alloc):
13127 Even if we can't figure out the proper format to request downstream,
13128 call buffer_alloc() downstream with the input parameters without setting
13129 the caps on the srcpad. This will force negotiation in the chain
13133 2006-08-08 Edward Hervey <edward@fluendo.com>
13135 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
13136 Unlinking from a pad without a target is now a perfectly valid case
13137 which should NOT raise an assertion.
13138 This case would happen if a linked ghostpad its target set to NULL after
13139 it was previously linked.
13141 2006-08-08 Edward Hervey <edward@fluendo.com>
13143 * tests/check/libs/gdp.c:
13144 Also comment out the test (see below).
13146 2006-08-08 Edward Hervey <edward@fluendo.com>
13148 * tests/check/libs/gdp.c: (gst_dp_suite):
13149 Use the architecture information from config.h and not gcc macros
13150 in order to properly disable a test that fails on PPC64.
13152 2006-08-04 Tim-Philipp Müller <tim at centricular dot net>
13154 * gst/gstelement.c: (gst_element_remove_pad):
13155 Don't crash printing the warning if the pad has no parent.
13157 2006-08-02 Wim Taymans <wim@fluendo.com>
13159 * libs/gst/dataprotocol/dataprotocol.c:
13160 (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
13161 (gst_dp_crc), (gst_dp_header_payload_length),
13162 (gst_dp_header_payload_type), (gst_dp_packet_from_event),
13163 (gst_dp_packet_from_event_1_0), (gst_dp_buffer_from_header),
13164 (gst_dp_caps_from_packet), (gst_dp_event_from_packet_0_2),
13165 (gst_dp_event_from_packet), (gst_dp_validate_header),
13166 (gst_dp_validate_payload):
13167 Make debug category static
13168 Constify the crc table.
13169 Do some more arg checking in public functions.
13170 Fix some docs and do some small cleanups.
13172 * tests/check/libs/gdp.c: (GST_START_TEST), (gst_dp_suite):
13173 Add some more checks to see if GDP deals with bogus input.
13175 2006-07-31 Wim Taymans <wim@fluendo.com>
13177 * gst/gstvalue.c: (gst_value_compare_list):
13178 Fix GstValueList comparison code. Fixes #347293.
13180 * tests/check/gst/gstvalue.c: (GST_START_TEST):
13181 Check to test GstValueList comparison.
13183 2006-07-31 Jan Schmidt <thaytan@mad.scientist.com>
13185 * gst/gstelementfactory.c: (gst_element_factory_create):
13186 Remove unnecessary ref/unref pair
13188 * gst/parse/grammar.y:
13189 Make sure to free the parse buffer on all code paths.
13190 Move a g_free up to the error handler where it's easier to see.
13192 * tests/check/gst/gstevent.c: (test_event):
13193 Extending timeout for downstream travelling events to 10 seconds to
13194 hopefully avoid intermittent failure on the buildbots.
13196 * tests/check/pipelines/parse-launch.c: (run_delayed_test):
13197 Don't manually set the state of the src element - it will happen as a
13198 natural consequence of the pipeline changing state, and that way it
13199 will do it in the right order too.
13201 2006-07-31 Wim Taymans <wim@fluendo.com>
13203 * libs/gst/base/gstbasetransform.c:
13204 (gst_base_transform_buffer_alloc):
13205 Use OBJECT_LOCK and refcounting to get the pad caps in the
13206 buffer_alloc function because the caps could change while we are
13207 busy with them. Fixes #349105
13209 2006-07-31 Wim Taymans <wim@fluendo.com>
13211 * gst/gstutils.c: (gst_pad_get_fixed_caps_func):
13212 Protect _PAD_CAPS with OBJECT_LOCK.
13214 2006-07-31 Wim Taymans <wim@fluendo.com>
13216 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
13217 (gst_pad_get_property), (gst_pad_activate_pull),
13218 (gst_pad_activate_push), (gst_pad_set_blocked_async),
13219 (gst_pad_set_activate_function),
13220 (gst_pad_set_activatepull_function),
13221 (gst_pad_set_activatepush_function), (gst_pad_set_chain_function),
13222 (gst_pad_set_getrange_function),
13223 (gst_pad_set_checkgetrange_function), (gst_pad_set_event_function),
13224 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
13225 (gst_pad_set_internal_link_function), (gst_pad_set_link_function),
13226 (gst_pad_set_unlink_function), (gst_pad_set_getcaps_function),
13227 (gst_pad_set_acceptcaps_function),
13228 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
13229 (gst_pad_set_bufferalloc_function), (gst_pad_link_check_hierarchy),
13230 (gst_pad_get_caps_unlocked), (gst_pad_get_caps),
13231 (gst_pad_peer_get_caps), (gst_pad_accept_caps),
13232 (gst_pad_peer_accept_caps), (gst_pad_set_caps),
13233 (gst_pad_configure_sink), (gst_pad_configure_src),
13234 (gst_pad_get_allowed_caps), (gst_pad_get_negotiated_caps),
13235 (gst_pad_buffer_alloc_unchecked), (gst_pad_alloc_buffer_full),
13236 (gst_pad_query), (gst_pad_load_and_link), (handle_pad_block),
13237 (gst_pad_chain_unchecked), (gst_pad_push), (gst_pad_get_range),
13238 (gst_pad_send_event):
13239 Use _DEBUG_OBJECT when it makes sense.
13240 Protect GST_PAD_CAPS with the OBJECT_LOCK.
13241 Small cleanups and code reflows.
13242 Avoid caps refcounting in _accept_caps.
13243 Refactor alloc_buffer so that the code performed on the peer is in a
13244 separate function. Also if the pad does not implement a buffer alloc
13245 function, we should still check if the pad is flushing before falling
13246 back to the default allocator.
13248 2006-07-31 Jan Schmidt <thaytan@mad.scientist.com>
13250 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
13251 Make all uses of identity and fakesink have silent=true to avoid
13252 serialising every passing data structure, which is breaking tests
13253 on FC4 for some unknown reason.
13255 2006-07-30 Stefan Kost <ensonic@users.sf.net>
13257 * gst/parse/Makefile.am:
13258 * gst/parse/grammar.y:
13259 * gst/parse/parse.l:
13260 Reverted previous patch as it required to bump the flex dependency to
13261 2.5.31, where fc4/5 seem to ship only the ancient 2.5.4a :(
13263 2006-07-30 Stefan Kost <ensonic@users.sf.net>
13265 Patch by: Marc-Andre Lureau <marcandre.lureau@gmail.com>
13267 * gst/parse/Makefile.am:
13268 * gst/parse/grammar.y:
13269 * gst/parse/parse.l:
13270 push & pop the state of the lexer for reentrant use case
13273 2006-07-29 Tim-Philipp Müller <tim at centricular dot net>
13275 * libs/gst/base/gstbasesrc.h:
13276 Note in the docs that the ::newsegment vfunc is not actually used by
13279 2006-07-28 Wim Taymans <wim@fluendo.com>
13281 * libs/gst/base/gstcollectpads.c:
13282 (gst_collect_pads_set_flushing_unlocked), (gst_collect_pads_pop),
13283 (gst_collect_pads_clear), (gst_collect_pads_flush),
13284 (gst_collect_pads_event), (gst_collect_pads_chain):
13285 When flushing a pad, also clear the queued buffer so that we don't
13286 accidentally use it when we shouldn't.
13287 Fix leaks by inreffing incomming buffer.
13288 Flush out queued buffers in case of errors.
13291 2006-07-28 Wim Taymans <wim@fluendo.com>
13293 * docs/random/phonon-gst:
13294 Random notes about a Phonon backend.
13296 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
13298 * libs/gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
13300 * tests/check/libs/gdp.c: (gst_dp_suite):
13301 Take a whack at fixing the ppc compile using a different define to
13302 disable the broken test.
13304 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
13305 Remove excess g_print()
13307 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
13309 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
13310 Oops, meant to uncomment this line too to dampen the noise a bit.
13312 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
13314 * gst/parse/grammar.y:
13315 * gst/parse/parse.l:
13316 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
13317 (GST_START_TEST), (parse_suite):
13318 Fix some of the leaks exposed by extending the parse-launch testsuite,
13319 and move the 3 I can't figure out into a separate test that won't run
13320 the pipelines unless the appropriate line is uncommented.
13322 2006-07-27 Tim-Philipp Müller <tim at centricular dot net>
13324 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
13325 Requesting 0 bytes before the end of the file should result in
13326 FLOW_OK and an empty buffer, not FLOW_UNEXPECTED. Thank you
13329 2006-07-27 Wim Taymans <wim@fluendo.com>
13331 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_get_structure):
13332 Fix useless assert, a uint is always positive.
13334 * gst/gststructure.c: (gst_structure_nth_field_name),
13335 (gst_structure_foreach), (gst_structure_map_in_place):
13336 Check input arguments for public functions to avoid obvious crashes.
13338 * plugins/elements/gstfakesink.c: (gst_fake_sink_render):
13339 * plugins/elements/gstfakesink.h:
13340 Do less useless typechecking.
13342 2006-07-27 Tim-Philipp Müller <tim at centricular dot net>
13344 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
13345 Do not use mmap() by default since there are a number of error
13346 conditions that we would like to handle in a non-fatal way that
13347 will result in a SIGBUS if we use mmap(). Examples: external
13348 devices (USB harddrive, portable music player) being unplugged
13349 while in use; file on mounted CD/DVD that can't be read because
13350 the medium is partly damaged. Fixes #348455 and #348475.
13352 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
13355 Delete unused and misleading define of GST_QUERY_TYPE_RATE_DEN -
13356 rates are a gdouble
13358 2006-07-26 Stefan Kost <ensonic@users.sf.net>
13360 * gst/gstregistry.c:
13361 Move big documentation comment into class section header, so that it
13362 appears in the API docs.
13364 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
13366 * docs/gst/gstreamer-sections.txt:
13367 Oops. Commit the docs additions too for new API.
13368 Also, remove the mention of the non-existent GST_QUERY_TYPE_RATE_DEN
13370 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
13372 * gst/gststructure.c: (gst_structure_id_set),
13373 (gst_structure_id_set_valist):
13374 * gst/gststructure.h:
13375 Add API for setting values into structures without performing
13376 a quark lookup, if the appropriate quark is already known.
13378 API: gst_structure_id_set
13379 API: gst_structure_id_set_valist
13381 * gst/parse/grammar.y:
13382 * gst/parse/parse.l:
13383 Remove some dead code shown by the coverage information.
13384 Don't throw a critical g_warning when encountering a syntax error,
13385 just warn and let the normal error path handle it.
13387 * plugins/elements/gstelements.c:
13388 Bump the rank of filesink up to PRIMARY so that it is preferred over
13389 gnomevfssink for file:// sink uri's
13391 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
13392 (GST_START_TEST), (run_delayed_test),
13393 (gst_parse_test_element_base_init),
13394 (gst_parse_test_element_class_init), (gst_parse_test_element_init),
13395 (gst_parse_test_element_change_state),
13396 (gst_register_parse_element), (parse_suite):
13397 Beef up the tests for parse syntax to check that more error cases
13398 fail as they are supposed to. Increases the test coverage a bit.
13400 2006-07-26 Tim-Philipp Müller <tim at centricular dot net>
13402 * docs/manual/basics-elements.xml:
13403 Fix gst_element_link() example.
13406 Mention in API docs that one should usually gst_bin_add()
13407 elements to a bin or pipeline before doing the linking.
13409 2006-07-26 Wim Taymans <wim@fluendo.com>
13411 * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_new),
13412 (gst_subbuffer_get_type), (gst_buffer_create_sub):
13413 Avoid function call for known types by keeping the buffer and
13414 subbuffer GType global.
13416 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
13417 Random silly optimisations in read() path.
13419 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
13421 * tools/gst-launch.c: (main):
13422 If the top-level of the parse is a normal bin, it doesn't do the
13423 right logic to run as a top-level element, so place it inside a
13426 2006-07-25 Tim-Philipp Müller <tim at centricular dot net>
13428 * plugins/elements/gstfilesrc.c: (gst_file_src_set_property):
13429 Remove superfluous g_object_notify() calls, GObject does
13430 that for us automatically.
13432 2006-07-25 Stefan Kost <ensonic@users.sf.net>
13435 on Win32, use dllspec to export the debug category symbols
13437 2006-07-24 Tim-Philipp Müller <tim at centricular dot net>
13439 * gst/gsttaglist.c: (_gst_tag_initialize):
13440 Allow more than one GST_TAG_IMAGE per taglist.
13442 2006-07-24 Thomas Vander Stichele <thomas at apestaart dot org>
13444 * gst/gstminiobject.c:
13446 * plugins/elements/gstfdsrc.c: (gst_fd_src_set_property),
13447 (gst_fd_src_create):
13448 log recurring events at LOG level
13449 add more debug for when the fd gets set
13451 2006-07-21 Stefan Kost <ensonic@users.sf.net>
13453 * gst/gstparse.c: (gst_parse_launch):
13454 Also remove reentrance checks if flex is MT safe (#348179)
13455 Fix my empty ChangeLog entry below
13457 2006-07-21 Andy Wingo <wingo@pobox.com>
13459 * docs/libs/gstreamer-libs-sections.txt: Attempt to pacify buildbot.
13461 * libs/gst/check/Makefile.am
13462 (libgstcheck_@GST_MAJORMINOR@include_HEADERS)
13463 (libgstcheck_@GST_MAJORMINOR@_la_SOURCES):
13464 * libs/gst/check/gstbufferstraw.h:
13465 * libs/gst/check/gstbufferstraw.c: Add some new hype testing
13466 functions, thus proving I am still a GStreamer haxor. OK I wrote
13467 them a long time ago, but anyways.
13469 2006-07-21 Stefan Kost <ensonic@users.sf.net>
13472 * gst/gstparse.c: (gst_parse_launch):
13473 Check for flex version and omit mutex if we have a MT save flex
13476 2006-07-21 Wim Taymans <wim@fluendo.com>
13478 * gst/gstparse.c: (gst_parse_launch):
13479 Protect recursive calls to _parse with a recursive mutex
13482 2006-07-21 Wim Taymans <wim@fluendo.com>
13484 * tests/check/gst/gstpad.c: (GST_START_TEST):
13487 2006-07-20 Stefan Kost <ensonic@users.sf.net>
13489 * gst/gstparse.c: (gst_parse_launch):
13490 Do not hang on recursive usage of gst_parse_launch()
13492 2006-07-20 Tim-Philipp Müller <tim at centricular dot net>
13494 * gst/gsttaglist.c:
13495 Add some more docs, comments and FIXME 0.11s here and there
13496 and also fix some typos.
13498 2006-07-20 Tim-Philipp Müller <tim at centricular dot net>
13500 * gst/gstsegment.h:
13501 Convert tabs to spaces for better readability.
13503 2006-07-20 Edward Hervey <edward@fluendo.com>
13505 * tests/check/libs/gdp.c: (gst_dp_suite):
13506 the test_buffer test fails at line 140 on ppc64 at the following
13508 fail_unless (GST_BUFFER_FLAG_IS_SET (newbuffer,
13509 GST_BUFFER_FLAG_IN_CAPS),
13510 "GST_BUFFER_IN_CAPS flag should have been copied !");
13511 See bug #348114 for more details.
13513 2006-07-19 Tim-Philipp Müller <tim at centricular dot net>
13515 * docs/pwg/advanced-scheduling.xml:
13517 Fix typos (#348000).
13519 2006-07-18 Tim-Philipp Müller <tim at centricular dot net>
13521 * docs/pwg/intro-basics.xml:
13522 Fix wrong links (#347927).
13524 2006-07-18 Stefan Kost <ensonic@users.sf.net>
13526 * gst/gstregistry.h:
13527 * gst/gstregistryxml.c: (load_feature),
13528 (gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
13529 * win32/common/config.h:
13530 make --disable-index work (#342564)
13532 2006-07-18 Wim Taymans <wim@fluendo.com>
13534 Patch by: Peter Kjellerstedt <pkj at axis dot com>
13538 The attached patch adds two missing defines to gsttrace.h when tracing
13539 is disabled. It also corrects one existing define.
13542 2006-07-17 Wim Taymans <wim@fluendo.com>
13544 * docs/gst/gstreamer-sections.txt:
13545 * gst/gst.c: (gst_segtrap_is_enabled), (gst_segtrap_set_enabled):
13547 * gst/gstplugin.c: (_gst_plugin_fault_handler_restore):
13548 Add two functions to check and change the SIGSEGV behaviour
13549 when loading plugins.
13550 Don't mess with the SIGSEGV handler when we were told not to.
13552 API: gst_segtrap_is_enabled
13553 API: gst_segtrap_set_enabled
13555 2006-07-14 Wim Taymans <wim@fluendo.com>
13557 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
13558 * tests/check/elements/filesrc.c: (GST_START_TEST):
13559 Revert fix for regression in #347408 after release.
13561 2006-07-14 Tim-Philipp Müller <tim at centricular dot net>
13563 Patch by: Antoine Tremblay <hexa00 at gmail com>
13565 * gst/gstutils.c: (gst_element_unlink):
13566 Free iterator when done (#347311).
13568 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
13569 And add a test case for this.
13571 2006-07-14 Jan Schmidt <thaytan@mad.scientist.com>
13574 Bump nano back to CVS
13576 === release 0.10.9 ===
13578 2006-07-13 Jan Schmidt <thaytan@mad.scientist.com>
13581 releasing 0.10.9, "On the road again"
13583 2006-07-13 Wim Taymans <wim@fluendo.com>
13585 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
13586 * tests/check/elements/filesrc.c: (GST_START_TEST):
13587 Revert pull-0 fix for release. Disable check. Fixes #347408.
13589 2006-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
13591 * libs/gst/dataprotocol/dataprotocol.c:
13592 (gst_dp_event_from_packet_1_0):
13593 Fixes #347337: failure to deserialize event packets with
13594 empty payload (only event type)
13596 2006-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
13599 do not install a .c file in the header directory
13601 2006-07-13 Edward Hervey <edward@fluendo.com>
13603 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
13604 GhostPad no longer implicitely use the padtemplates of the targets.
13607 2006-07-11 Jan Schmidt <thaytan@mad.scientist.com>
13609 * gst/gstvalue.c: (gst_value_compare_list),
13610 (gst_value_compare_array), (_gst_value_initialize):
13611 * tests/check/gst/gstvalue.c: (GST_START_TEST):
13612 Make GstValueArray comparison be order dependent as designed.
13613 Add checks for value lists and value array comparisons.
13616 2006-07-11 Edward Hervey <edward@fluendo.com>
13618 * gst/gstbin.c: (activate_pads),
13619 (iterator_activate_fold_with_resync), (gst_bin_src_pads_activate),
13620 (gst_bin_change_state_func):
13621 (de)activate src pads before calling state_change on the childs.
13622 This is to avoid the case where a src ghostpad is blocked (holding the
13623 stream lock), which would block the deactivation of the ghostpad's
13625 * gst/gstghostpad.c: (gst_proxy_pad_do_query_type),
13626 (gst_proxy_pad_do_event), (gst_proxy_pad_do_query),
13627 (gst_proxy_pad_do_internal_link), (gst_proxy_pad_do_bufferalloc),
13628 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
13629 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
13630 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
13631 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
13632 (gst_proxy_pad_set_target), (gst_proxy_pad_get_internal),
13633 (gst_proxy_pad_dispose), (gst_proxy_pad_init),
13634 (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
13635 (gst_ghost_pad_class_init),
13636 (gst_ghost_pad_internal_do_activate_push),
13637 (gst_ghost_pad_internal_do_activate_pull),
13638 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
13639 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
13640 (gst_ghost_pad_dispose), (gst_ghost_pad_new_no_target),
13641 (gst_ghost_pad_new), (gst_ghost_pad_set_target):
13642 GhostPads now create their internal GstProxyPad at creation (and not
13643 when they're linked, as it was being done previously).
13644 The internal and target pads are linked straight away.
13645 The data will also travel through the other pad in order to make
13646 pad blocking and probes non-hackish (the probe/block now really happens
13647 on the GhostPad and not on the target).
13648 * gst/gstpad.c: (gst_pad_set_blocked_async),
13649 (gst_pad_link_prepare), (gst_pad_push_event):
13650 Remove previous ghostpad cruft.
13651 * gst/gstutils.c: (gst_pad_add_data_probe),
13652 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
13653 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
13654 (gst_pad_remove_buffer_probe):
13655 Remove previous ghost pad cruft.
13656 Added more detailed debug statements.
13657 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
13658 Fix the testsuite for refcounting changes.
13659 The comments about who has references were correct, but the refcount
13660 being checked wasn't the same (!?!).
13664 2006-07-10 Stefan Kost <ensonic@users.sf.net>
13666 * docs/gst/gstreamer-sections.txt:
13667 * gst/gstconfig.h.in:
13668 More docs for configuration options, add docs to gtk-doc.
13670 2006-07-10 Stefan Kost <ensonic@users.sf.net>
13673 * gst/gstconfig.h.in:
13674 * win32/common/config.h:
13675 Fix build when disabling tracing (fixes #344016). Also start to document
13676 the defines that disable the sub-systems.
13678 2006-07-10 Edward Hervey <edward@fluendo.com>
13680 * gst/gst.c: (ensure_current_registry_forking):
13681 let's make valgrind happy...
13683 2006-07-09 Wim Taymans <wim@fluendo.com>
13685 * gst/gstelement.c: (activate_pads),
13686 (iterator_activate_fold_with_resync), (gst_element_pads_activate):
13687 Better pad activation code: Reset the collect value too on resync.
13690 2006-07-09 Wim Taymans <wim@fluendo.com>
13692 * gst/gstpad.c: (gst_pad_init), (gst_pad_activate_pull),
13693 (gst_pad_activate_push):
13694 Use some more macros where it makes sense.
13695 Allow pad mode switching instead of asserting. When a pad
13696 is activated in one mode and we activate it in another,
13697 deactivate it first before activating it in a different mode.
13700 2006-07-08 Andy Wingo <wingo@pobox.com>
13702 * tools/gst-launch.c (main): Handle err == NULL.
13704 * gst/gst.c (init_post, ensure_current_registry)
13705 (ensure_current_registry_forking)
13706 (ensure_current_registry_nonforking): Reduce #ifdef ratnest by
13707 factoring out the registry scanning into separate functions. Don't
13708 fork for the rescan is GST_REGISTRY_FORK=no; useful in debugging.
13709 Better environment var name/interface suggestions accepted.
13711 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
13713 * gst/gstobject.c: (gst_object_set_name_default),
13714 (gst_object_set_name):
13715 Random micro-optimisation: don't use a hash table
13716 with strings as keys and the usual strdup/strcmp
13717 involved, but rather just use the GQuark of the
13718 type name as key, since it needs to be looked up
13719 anyway to get the type name string.
13721 * tests/check/gst/gstobject.c: (GST_START_TEST):
13724 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
13726 * gst/gstbin.c: (compare_interface), (gst_bin_get_by_interface),
13727 (gst_bin_iterate_all_by_interface):
13728 Can't use GPOINTER_TO_INT and GINT_TO_POINTER with GTypes.
13729 GTypes are gulongs and thus the top 4 bytes might be cut
13730 off on some platforms when doing GPOINTER_TO_INT, leading
13731 to invalid GTypes and bad things happening (see RH bug #179654).
13732 Also add a check to make sure the type passed in is really
13735 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
13740 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
13744 * gst-element-check.m4:
13745 * gst-element-check.m4.in:
13746 Make gst-element-check-$VERSION.m4 call gst-inspect-$VERSION
13747 instead of the unversioned gst-inspect (#324176, #168659).
13749 2006-07-06 Wim Taymans <wim@fluendo.com>
13751 * gst/gstmessage.h:
13752 Use a valid int for the _MESSAGE_ANY enum value to avoid compiler
13755 2006-07-06 Wim Taymans <wim@fluendo.com>
13757 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
13758 (gst_base_src_wait), (gst_base_src_update_length),
13759 (gst_base_src_get_range), (gst_base_src_default_check_get_range),
13760 (gst_base_src_check_get_range), (gst_base_src_pad_check_get_range),
13761 (gst_base_src_loop), (gst_base_src_start),
13762 (gst_base_src_activate_pull):
13764 blocksize == 0 now means the default blocksize when working in push
13766 Remove some pointless asserts in _wait function.
13767 Fix offset/length calculations and EOS handling. We can now pull 0
13768 bytes as well, which is allowed.
13769 use _check_get_range() to decide if we can operate in _pull based
13771 Fix refcounting leak when check_get_range function was not
13773 API GstBaseSrc::blocksize range can be 0 too now (default)
13775 * tests/check/elements/filesrc.c: (GST_START_TEST),
13777 Added check to test _get_range() behaviour.
13779 2006-07-06 Wim Taymans <wim@fluendo.com>
13781 * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
13782 (gst_pad_push), (gst_pad_check_pull_range), (gst_pad_get_range),
13783 (gst_pad_pull_range):
13785 Lots of comments and docs added to the pad functions.
13786 Flesh out the expected behaviour of the get_range() functions.
13788 2006-07-06 Wim Taymans <wim@fluendo.com>
13793 * gst/gstiterator.h:
13797 Remove comma at end of enumerator list.
13799 2006-07-05 Sebastien Moutte <sebastien@moutte.net>
13801 * win32/common/libgstbase.def:
13802 * win32/common/libgstdataprotocol.def:
13803 * win32/common/libsgtreamer.def:
13804 Add new exported functions.
13806 2006-07-05 Wim Taymans <wim@fluendo.com>
13808 * libs/gst/base/gstpushsrc.c: (gst_push_src_check_get_range):
13809 Add some more docs here and there.
13811 2006-07-05 Wim Taymans <wim@fluendo.com>
13813 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_object),
13814 (gst_base_sink_loop), (gst_base_sink_get_position):
13815 When operating in pull mode update the offset so that we
13818 2006-07-05 Wim Taymans <wim@fluendo.com>
13820 * gst/gstregistryxml.c: (read_string):
13821 Avoid strdup. (will happen in libxml, but hey!)
13824 Add some more docs.
13826 2006-07-05 Wim Taymans <wim@fluendo.com>
13828 * gst/gstbuffer.c: (_gst_buffer_copy), (gst_buffer_create_sub):
13829 * tests/check/gst/gstbuffer.c: (GST_START_TEST),
13830 (gst_buffer_suite):
13831 No point in checking if the size of the subbuffer > 0, the
13832 code handles it correclty as demonstrated by unit test.
13833 Also add a unit test for the zero sized _new_and_alloc and
13834 _copy. Fixes #346663.
13836 2006-07-05 Wim Taymans <wim@fluendo.com>
13838 * libs/gst/base/gstbasetransform.c:
13839 (gst_base_transform_prepare_output_buffer),
13840 (gst_base_transform_buffer_alloc),
13841 (gst_base_transform_handle_buffer):
13842 Make sure the buffer we pass to transform_ip has a refcount of
13843 1 and thus is writable. Fixes #343196
13845 2006-07-04 Jan Schmidt <thaytan@mad.scientist.com>
13847 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
13848 (gst_file_src_init), (gst_file_src_set_property),
13849 (gst_file_src_get_property), (gst_file_src_map_region):
13850 * plugins/elements/gstfilesrc.h:
13851 Add "sequential" property, off by default, to use madvise and hint
13852 to the kernel that sequential access is desired.
13853 Touch all retrieved pages by default to ensure they are pulled
13854 into memory. (Closes #345720)
13856 2006-07-03 Wim Taymans <wim@fluendo.com>
13858 * docs/design/part-block.txt:
13859 * docs/design/part-dynamic.txt:
13860 Small docs updates.
13862 2006-07-03 Wim Taymans <wim@fluendo.com>
13864 * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free),
13865 (gst_caps_unref), (gst_static_caps_get),
13866 (gst_caps_append_structure):
13867 * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
13868 Use GSlice when the glib we build against is >= 2.10
13870 2006-07-03 Wim Taymans <wim@fluendo.com>
13872 * gst/gstelement.c: (gst_element_pads_activate):
13873 Small cleanup in pad activation code.
13875 2006-07-03 Wim Taymans <wim@fluendo.com>
13877 Patch by: Peter Kjellerstedt <pkj at axis dot com>
13879 * gst/gst-i18n-app.h:
13880 * gst/gst-i18n-lib.h:
13881 * tools/gst-inspect.c: (print_signal_info):
13882 The attached patch will make the inclusion of gettext.h unconditional in
13883 gst/gst-i18n-app.h and gst/gst-i18n-lib.h, and it will remove the inclusion of
13884 libintl.h in tools/gst-inspect.c.
13885 This allows use of --disable-nls again and fixes #344642.
13887 2006-07-03 Edward Hervey <edward@fluendo.com>
13889 * gst/gstpad.c: (handle_pad_block), (gst_pad_push_event):
13890 Implement pad blocking on events according to part-block.txt.
13891 More comments on behaviour.
13892 * tests/check/gst/gstevent.c: (test_event):
13893 Send event to peer pad of blocked pad (else it will block).
13895 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
13897 * libs/gst/check/gstcheck.c: (gst_check_message_error),
13898 (gst_check_run_suite):
13899 if we get the wrong message, give us the types as string
13900 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
13902 * tests/check/elements/filesrc.c: (GST_START_TEST):
13903 add a test for trying to open a non-existing file
13905 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
13907 * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
13908 add a test for adding self
13910 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
13912 * libs/gst/check/gstcheck.h:
13913 add some assert_ as alias for fail_unless_*
13914 * tests/check/gst/gst.c: (GST_START_TEST), (gst_suite):
13915 increase test coverage
13917 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
13920 include lcov.mak for lcov coverage generation
13921 * tools/Makefile.am:
13924 2006-07-02 Edward Hervey <edward@fluendo.com>
13926 * tests/check/elements/.cvsignore:
13929 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
13932 don't set CFLAGS and friends for gcov, done from GST_GCOV now
13933 * tests/check/Makefile.am:
13934 clean up gcov files
13936 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
13938 * gst/gstcaps.c: (gst_caps_remove_and_get_structure):
13939 remove gst_caps_simplify; it was not declared and not used
13940 and deprecated in 0.8
13942 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
13944 * docs/faq/gst-uninstalled:
13945 don't put empty paths on PYTHONPATH
13946 * docs/gst/gstreamer-sections.txt:
13947 remove some symbols that are not there
13949 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
13951 * gst/gstcaps.c: (gst_caps_compare_structures):
13953 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
13954 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
13957 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
13959 * libs/gst/dataprotocol/Makefile.am:
13960 build dataprotocol test by linking to the lib, instead of
13961 compiling the source, so we get coverage
13962 * tests/check/Makefile.am:
13963 * tests/check/elements/filesrc.c: (event_func), (setup_filesrc),
13964 (cleanup_filesrc), (GST_START_TEST), (filesrc_suite):
13965 add a test for filesrc
13967 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
13969 * tests/check/gst/gststructure.c: (GST_START_TEST),
13970 (gst_structure_suite):
13971 Push coverage from 59.04% to 70.00%
13973 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
13975 * tests/check/Makefile.am:
13976 gst-inspect every element; this makes sure that we also get
13977 coverage on element's get/set functions
13979 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
13982 set CFLAGS and friends to -O0 if gcov is being used
13985 * libs/gst/base/Makefile.am:
13986 * libs/gst/check/Makefile.am:
13987 * libs/gst/controller/Makefile.am:
13988 * libs/gst/dataprotocol/Makefile.am:
13989 * libs/gst/net/Makefile.am:
13990 * plugins/elements/Makefile.am:
13991 * plugins/indexers/Makefile.am:
13992 add makefile rules to generate gcov data and clean up
13993 * tests/check/Makefile.am:
13994 add a coverage target that generates an html overview
13997 2006-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
13999 * tests/check/elements/fakesink.c:
14000 * tests/check/elements/fakesrc.c:
14001 * tests/check/elements/fdsrc.c:
14002 * tests/check/elements/identity.c:
14003 * tests/check/generic/sinks.c: (gst_sinks_suite):
14004 * tests/check/generic/states.c:
14005 * tests/check/gst/gst.c:
14006 * tests/check/gst/gstabi.c:
14007 * tests/check/gst/gstbin.c:
14008 * tests/check/gst/gstbuffer.c: (gst_buffer_suite):
14009 * tests/check/gst/gstbus.c: (gst_bus_suite):
14010 * tests/check/gst/gstcaps.c: (GST_START_TEST):
14011 * tests/check/gst/gstelement.c:
14012 * tests/check/gst/gstevent.c: (gst_event_suite):
14013 * tests/check/gst/gstghostpad.c:
14014 * tests/check/gst/gstiterator.c: (gst_iterator_suite):
14015 * tests/check/gst/gstmessage.c: (gst_message_suite):
14016 * tests/check/gst/gstminiobject.c:
14017 * tests/check/gst/gstobject.c:
14018 * tests/check/gst/gstpad.c:
14019 * tests/check/gst/gstpipeline.c:
14020 * tests/check/gst/gstplugin.c:
14021 * tests/check/gst/gstquery.c: (gst_query_suite):
14022 * tests/check/gst/gstsegment.c: (gst_segment_suite):
14023 * tests/check/gst/gststructure.c:
14024 * tests/check/gst/gstsystemclock.c:
14025 * tests/check/gst/gsttag.c:
14026 * tests/check/gst/gsttask.c: (gst_task_suite):
14027 * tests/check/gst/gstutils.c:
14028 * tests/check/gst/gstvalue.c:
14029 * tests/check/libs/adapter.c:
14030 * tests/check/libs/basesrc.c:
14031 * tests/check/libs/collectpads.c:
14032 * tests/check/libs/controller.c:
14033 * tests/check/libs/gdp.c: (gst_dp_suite):
14034 * tests/check/libs/gstnetclientclock.c:
14035 * tests/check/libs/gstnettimeprovider.c:
14036 * tests/check/libs/libsabi.c: (libsabi_suite):
14037 * tests/check/libs/typefindhelper.c:
14038 * tests/check/pipelines/cleanup.c:
14039 * tests/check/pipelines/parse-launch.c:
14040 * tests/check/pipelines/simple-launch-lines.c:
14041 * tests/check/pipelines/stress.c: (stress_suite):
14044 2006-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
14046 * libs/gst/check/gstcheck.c: (gst_check_run_suite):
14047 * libs/gst/check/gstcheck.h:
14048 create a macro and function so that the simple unit test
14049 case can be just one macro to create main()
14051 2006-06-30 Tim-Philipp Müller <tim at centricular dot net>
14053 * gst/gstbin.c: (gst_bin_restore_thyself):
14054 * gst/gstxml.c: (gst_xml_make_element):
14055 Fix deserialisation from XML. Set parent manually
14056 instead of using gst_bin_add(), since gst_bin_add()
14057 will unlink all pads of the element being added.
14060 2006-06-28 Tim-Philipp Müller <tim at centricular dot net>
14062 Patch by: Peter Kjellerstedt <pkj at axis com>
14064 * gst/gst.c: (prepare_for_load_plugin_func), (split_and_iterate):
14065 Fix missing g_strdup() and double free when using the
14066 --gst-plugin-load command line option (#346097).
14068 2006-06-23 Tim-Philipp Müller <tim at centricular dot net>
14071 Promote GST_DEBUG_CATEGORY_STATIC in example in docs.
14073 * libs/gst/net/gstnetclientclock.c:
14074 * libs/gst/net/gstnettimeprovider.c:
14075 Use GST_DEBUG_CATEGORY_STATIC here too (#342503).
14077 2006-06-23 Tim-Philipp Müller <tim at centricular dot net>
14079 * docs/manual/advanced-dataaccess.xml:
14080 Fix buffer probe example compilation in
14083 2006-06-22 Edward Hervey <edward@fluendo.com>
14085 * gst/gstelement.c: (gst_element_pads_activate):
14086 We need to deactivate src pads first and then sink pads.
14087 The reason is the src pads might be blocking while holding the streaming
14088 lock, so we need to deactivate them first so that deactivating the sink
14089 pads doesn't block (since it will require the streaming lock).
14091 2006-06-22 Wim Taymans <wim@fluendo.com>
14093 * libs/gst/base/gstbasetransform.c:
14094 (gst_base_transform_buffer_alloc):
14095 Forgot to remove two unneeded unrefs.
14096 Simplify a check _is_equal allready checks the obvious case.
14098 2006-06-22 Wim Taymans <wim@fluendo.com>
14100 * docs/design/part-block.txt:
14101 Some docs about what pad_block should do.
14103 2006-06-22 Wim Taymans <wim@fluendo.com>
14105 * gst/gstcaps.c: (gst_caps_replace):
14106 Fix crasher when passed NULL. Doc clarification.
14107 Optimize for the trivial case.
14109 * gst/gstpipeline.c: (gst_pipeline_change_state):
14112 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
14113 Small documentation cleanup.
14115 * libs/gst/base/gstbasetransform.c:
14116 (gst_base_transform_buffer_alloc):
14117 Don't use silly gst_pad_get_negotiated_caps, GST_PAD_CAPS
14118 is what we need and it avoids a whole lot of redundant
14119 refcount operations.
14121 2006-06-22 Tim-Philipp Müller <tim at centricular dot net>
14123 Patch by: Philip Jägenstedt <philip at lysator liu se>
14125 * docs/manual/advanced-dataaccess.xml:
14126 Fix 'Embedding static elements' section to use
14127 GST_PLUGIN_DEFINE_STATIC (#345607).
14129 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
14131 * tests/check/pipelines/simple-launch-lines.c: (test_stop_from_app):
14132 Attempt to 'fix' spuriously failing test case: it seems like the
14133 timeout of half a second is simply too small when the system is under
14134 load otherwise, and the timeout doesn't really seem to serve any
14135 particular purpose here. Give the pipeline a few seconds to preroll
14136 first, and then give it another half a second to go from PAUSED to
14137 PLAYING and marshal the message into the main thread.
14139 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
14141 * tools/gst-feedback-m.m:
14142 Don't only use unversioned tools, try versioned tools as well
14145 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
14147 * gst/gstbus.c: (gst_bus_class_init):
14148 Fix some typos, make docs more explicit.
14150 2006-06-20 Wim Taymans <wim@fluendo.com>
14152 * tests/check/gst/gstghostpad.c: (block_callback),
14153 (GST_START_TEST), (gst_ghost_pad_suite):
14154 Added some more ghostpad tests, mainly blocking
14157 2006-06-16 Wim Taymans <wim@fluendo.com>
14159 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
14160 (gst_file_sink_close_file), (gst_file_sink_do_seek),
14161 (gst_file_sink_event), (gst_file_sink_render):
14162 * plugins/elements/gstfilesink.h:
14163 Check if we can seek in the file instead of assuming
14164 we always can. Post an error when we are asked to seek in a
14165 non-seekable file (like a fifo). Fixes #343312.
14168 2006-06-16 Tim-Philipp Müller <tim at centricular dot net>
14170 * tools/gst-launch.1.in:
14171 Un-garble (fourcc) bit in filtered caps section.
14173 2006-06-16 Tim-Philipp Müller <tim at centricular dot net>
14175 * docs/manual/advanced-autoplugging.xml:
14176 * docs/manual/basics-helloworld.xml:
14177 * docs/manual/highlevel-components.xml:
14178 Don't leak bus reference in sample code.
14180 2006-06-15 Tim-Philipp Müller <tim at centricular dot net>
14183 Add default for new --enable-plugin-docs switch.
14186 Use new GST_PLUGIN_DOCS macro to check for pyxml etc.
14189 * docs/Makefile.am:
14190 Use new ENABLE_PLUGIN_DOCS conditional.
14192 2006-06-14 Wim Taymans <wim@fluendo.com>
14194 * gst/gstbin.c: (bin_query_duration_done), (gst_bin_query):
14195 Make it clear with a FIXME and a real define what the #if 0
14196 previously disabled.
14198 2006-06-14 Wim Taymans <wim@fluendo.com>
14200 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
14201 (gst_base_sink_preroll_object), (gst_base_sink_get_position):
14202 * libs/gst/base/gstbasetransform.c:
14203 (gst_base_transform_sink_eventfunc):
14204 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
14205 Don't randomly and silently reset a segment when the format
14206 changes as this is a bug somewhere upstream. Fixes #330379.
14208 2006-06-14 Tim-Philipp Müller <tim at centricular dot net>
14210 Patch by: Wouter Paesen <wouter at kangaroot net>
14212 * libs/gst/controller/gstcontroller.c:
14213 (gst_controlled_property_new):
14214 Fix controlling of float properties (#344849).
14216 * tests/check/libs/controller.c:
14217 (gst_test_mono_source_get_property),
14218 (gst_test_mono_source_set_property),
14219 (gst_test_mono_source_class_init), (GST_START_TEST):
14220 While we're at it, add some float stuff to unit test.
14222 2006-06-13 Thomas Vander Stichele <thomas at apestaart dot org>
14225 * docs/images/gdp-header.svg:
14227 * docs/libs/Makefile.am:
14228 * docs/libs/gdp-header.png:
14229 * libs/gst/dataprotocol/dataprotocol.c:
14230 add it to the API docs
14231 * docs/manual/intro-motivation.xml:
14234 2006-06-13 Tim-Philipp Müller <tim at centricular dot net>
14236 * gst/gst.c: (scan_and_update_registry), (init_post):
14237 If the fork()'ed child process can't write the updated registry cache
14238 file to disk for some reason, make it exit with a failure exit code,
14239 so that the parent can then re-scan the plugins itself and update the
14240 registry structures in memory and work with that (rather than failing
14241 when creating elements because seemingly no plugins are available).
14242 Refactor registry scanning code into separate function for this and
14243 also separate fork() and non-fork() code paths. Fixes #344748.
14245 2006-06-13 Wim Taymans <wim@fluendo.com>
14247 * docs/manual/advanced-dataaccess.xml:
14248 Fix wrong PluginDesc. Fixes #344755.
14250 2006-06-13 Tim-Philipp Müller <tim at centricular dot net>
14252 * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
14253 Fix silly bug that prevented us from creating
14254 ~/.gstreamer-0.10 and writing the registry in one
14255 go (the first call to g_mkstemp() would overwrite the
14256 placeholder in the template string, so the second call
14257 to g_mkstemp() after creating the missing directory
14258 would then error out with 'invalid argument').
14260 2006-06-13 Edward Hervey <edward@fluendo.com>
14262 * gst/gst.c: (init_post):
14265 2006-06-13 Thomas Vander Stichele <thomas at apestaart dot org>
14267 * gst/glib-compat-private.h:
14268 * gst/glib-compat.c:
14269 * gst/glib-compat.h:
14270 * gst/gstvalue.c: (gst_value_serialize_flags):
14271 remove GLib 2.6 compatibility code
14273 2006-06-12 Tim-Philipp Müller <tim at centricular dot net>
14275 * gst/parse/Makefile.am:
14276 Fix build with 'make -j N' even more (#340016).
14278 2006-06-12 Wim Taymans <wim@fluendo.com>
14280 * docs/gst/gstreamer-sections.txt:
14283 2006-06-12 Wim Taymans <wim@fluendo.com>
14285 * gst/gstsegment.c: (gst_segment_set_duration),
14286 (gst_segment_set_last_stop), (gst_segment_set_seek),
14287 (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
14288 (gst_segment_to_running_time), (gst_segment_clip):
14289 Use G_UNLIKELY to help the compiler a bit.
14291 2006-06-12 Wim Taymans <wim@fluendo.com>
14293 Patch by: Stefan Kost <ensonic at sonicpulse dot de>
14295 * gst/gstevent.c: (gst_event_get_type):
14296 * gst/gstmessage.c:
14297 * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
14299 constify quark registration strings. Fixes #344115
14300 Avoid unneeded type checking is _pad_push() by internally
14301 calling gst_pad_chain_unchecked().
14303 2006-06-12 Wim Taymans <wim@fluendo.com>
14305 * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_finalize),
14306 (_gst_buffer_copy), (gst_buffer_is_metadata_writable),
14307 (gst_subbuffer_finalize), (gst_buffer_create_sub),
14308 (gst_buffer_is_span_fast), (gst_buffer_span):
14309 Init _type for consistency.
14310 Use _FLAGS macro to avoid type check.
14311 Avoid unneeded type checks in subbufer code.
14313 2006-06-12 Wim Taymans <wim@fluendo.com>
14315 * gst/gst.c: (gst_debug_help):
14316 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_list_free):
14317 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
14318 (gst_plugin_feature_list_free):
14319 * gst/gstregistry.c: (gst_registry_add_plugin),
14320 (gst_registry_add_feature), (gst_registry_plugin_filter),
14321 (gst_registry_feature_filter), (gst_registry_find_plugin),
14322 (gst_registry_find_feature), (gst_registry_get_plugin_list),
14323 (gst_registry_lookup_feature_locked), (gst_registry_lookup_locked):
14324 * gst/gstregistryxml.c: (load_feature),
14325 (gst_registry_xml_read_cache), (gst_registry_xml_write_cache):
14326 * gst/gstminiobject.c: (gst_mini_object_unref),
14327 (gst_mini_object_replace), (gst_value_mini_object_free),
14328 (gst_value_mini_object_copy):
14329 Use _CAST macros to avoid unneeded type checking.
14330 Added some more G_UNLIKELY.
14332 2006-06-12 Wim Taymans <wim@fluendo.com>
14335 Avoid unneeded type checking.
14336 API: GST_BUFFER_IS_DISCONT
14338 * gst/gstminiobject.h:
14339 Avoid type check in flag accessor.
14341 * gst/gstelementfactory.h:
14343 * gst/gstpluginfeature.h:
14345 API: GST_ELEMENT_FACTORY_CAST
14346 API: GST_PLUGIN_CAST
14347 API: GST_PLUGIN_FEATURE_CAST
14349 2006-06-12 Wim Taymans <wim@fluendo.com>
14351 * gst/gstobject.c: (gst_object_get_type), (gst_object_ref),
14352 (gst_object_unref):
14353 Add G_UNLIKELY in type registration.
14354 Avoid type check in _ref/_unref since that is also
14357 2006-06-12 Wim Taymans <wim@fluendo.com>
14359 * gst/gsterror.c: (gst_g_error_get_type):
14360 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
14361 (gst_static_pad_template_get_type):
14362 * gst/gsttaglist.c: (gst_tag_list_get_type):
14363 * gst/gsttagsetter.c: (gst_tag_setter_get_type):
14364 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type):
14365 * gst/gsturi.c: (gst_uri_handler_get_type):
14366 * gst/gstvalue.c: (gst_date_get_type):
14367 * gst/gstxml.c: (gst_xml_get_type):
14368 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
14369 (gst_base_sink_preroll_object), (gst_base_sink_get_position):
14370 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type):
14371 Add G_UNLIKELY in type registration.
14373 2006-06-12 Wim Taymans <wim@fluendo.com>
14375 * tools/gst-inspect.c: (print_signal_info):
14376 Properly print enum values.
14378 2006-06-12 Wim Taymans <wim@fluendo.com>
14380 * gst/gstinfo.c: (gst_debug_set_active),
14381 (gst_debug_category_set_threshold), (_gst_debug_nameof_funcptr):
14383 Add some G_[UN]LIKELY.
14384 Maintain __gst_debug_min to avoid formatting the arguments of
14385 debug messages that will be dropped anyway to avoid a lot of
14386 overhead from the debugging system.
14388 2006-06-11 Stefan Kost <ensonic@users.sf.net>
14391 * po/POTFILES.skip:
14392 add missing files containing translatable strings, tell intltool about
14395 2006-06-11 Stefan Kost <ensonic@users.sf.net>
14397 * tests/check/libs/.cvsignore:
14398 add test-binary to ignore list
14400 2006-06-11 Stefan Kost <ensonic@users.sf.net>
14402 * docs/libs/gstreamer-libs-docs.sgml:
14403 reorder (put dp into a chapter) and indent
14405 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
14410 === release 0.10.8 ===
14412 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
14415 releasing 0.10.8, "Soepeke, ik zie ou nog altijd nie"
14417 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
14419 * gst/gst.c: (init_post):
14420 move pid declaration to declaration block
14422 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
14424 * gst/gst.c: (init_post):
14425 use _exit() instead of exit() in our forked child; this ensures
14426 that none of the registered exit handlers from whatever is using
14427 GStreamer get executed. This fixes gnome-mixer-applet failing
14428 to load, because ORBit would shut down.
14429 Spotted by: Edward Hervey <edward@fluendo.com>
14430 Fix suggested by: Tim-Philipp Müller <tim at centricular dot net>
14433 2006-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
14438 === release 0.10.7 ===
14440 2006-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
14443 releasing 0.10.7, "Soepeke, ik zie ou"
14445 2006-06-07 Thomas Vander Stichele <thomas at apestaart dot org>
14468 * win32/common/config.h:
14469 0.10.6.2 prerelease
14471 2006-06-07 Wim Taymans <wim@fluendo.com>
14473 * gst/gstindex.c: (gst_index_gtype_resolver):
14474 * tools/gst-xmlinspect.c: (print_plugin_info):
14475 Fix leak spotted by coverity checker. Fixes #343827
14476 Fix another other leak found by paolo borelli.
14478 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
14480 * libs/gst/dataprotocol/dataprotocol.c:
14481 (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
14482 (gst_dp_version_get_type), (gst_dp_init),
14483 (gst_dp_header_from_buffer), (gst_dp_header_from_buffer_1_0),
14484 (gst_dp_packet_from_caps), (gst_dp_packet_from_caps_1_0),
14485 (gst_dp_packet_from_event), (gst_dp_packet_from_event_1_0),
14486 (gst_dp_event_from_packet_0_2), (gst_dp_event_from_packet_1_0),
14487 (gst_dp_event_from_packet), (gst_dp_packetizer_new),
14488 (gst_dp_packetizer_free):
14489 * libs/gst/dataprotocol/dataprotocol.h:
14490 API: add a GstDPPacketizer object, and create/free functions
14491 API: add GstDPVersion enum
14492 Add 1.0 event function that uses the string serialization
14493 Serialize more useful buffer flags
14496 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
14498 * tests/check/Makefile.am:
14499 * tests/check/gst/gstabi.c:
14500 * tests/check/gst/struct_ppc64.h:
14501 * tests/check/libs/libsabi.c:
14502 * tests/check/libs/struct_ppc64.h:
14503 add ppc64 structure sizes
14505 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
14507 * tests/check/Makefile.am:
14508 * tests/check/gst/gstabi.c:
14509 * tests/check/gst/struct_x86_64.h:
14510 * tests/check/libs/libsabi.c:
14511 * tests/check/libs/struct_x86_64.h:
14512 generate and add structure size lists for x86_64
14514 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
14516 * libs/gst/check/gstcheck.c: (gst_check_abi_list):
14517 * libs/gst/check/gstcheck.h:
14518 factor out the method from tests that checks size of structures,
14519 and add code to generate the header containing these sizes
14520 * tests/check/gst/gstabi.c: (GST_START_TEST):
14521 * tests/check/gst/struct_i386.h:
14522 * tests/check/libs/libsabi.c: (GST_START_TEST):
14523 * tests/check/libs/struct_i386.h:
14526 2006-06-06 Michael Smith <msmith@fluendo.com>
14528 * gst/gstsegment.h:
14529 Don't use c++-style comments, fixes #343929
14531 2006-06-05 Edward Hervey <edward@fluendo.com>
14534 plugin_paths is not used if we build without registry support.
14536 * gst/gstsegment.c: (gst_segment_copy):
14537 _copy() was always returning NULL...
14539 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
14541 * libs/gst/dataprotocol/dataprotocol.c:
14542 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
14543 (gst_dp_packet_from_event):
14544 factor out CRC code
14546 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
14548 * libs/gst/check/gstcheck.c: (gst_check_teardown_src_pad):
14549 make sure we unset caps
14551 2006-06-02 Michael Smith <msmith@fluendo.com>
14553 * libs/gst/check/gstcheck.c: (gst_check_init),
14554 (gst_check_chain_func):
14555 * libs/gst/check/gstcheck.h:
14556 Add a cond/mutex to the check support lib, signal this whenever we
14557 add to the buffers list. This will allow tests to not busy-wait on
14560 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
14562 * libs/gst/dataprotocol/dataprotocol.c:
14563 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
14564 (gst_dp_packet_from_event):
14565 factor out some common header init code
14567 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
14569 * docs/libs/gstreamer-libs-sections.txt:
14570 * docs/libs/tmpl/gstdataprotocol.sgml:
14571 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc):
14572 * libs/gst/dataprotocol/dataprotocol.h:
14573 API: make gst_dp_crc() public
14575 2006-06-01 Stefan Kost <ensonic@users.sf.net>
14577 * plugins/indexers/gstindexers.c: (plugin_init):
14578 conditionally register fileindexer (fixes #343598)
14580 2006-06-01 Stefan Kost <ensonic@users.sf.net>
14582 * gst/gsttagsetter.h:
14583 Can't cast ifaces to a class
14585 * libs/gst/net/gstnetclientclock.h:
14586 * libs/gst/net/gstnettimeprovider.h:
14587 * plugins/elements/gstfakesink.h:
14588 * plugins/elements/gstfakesrc.h:
14589 * plugins/elements/gstfdsink.h:
14590 * plugins/elements/gstfdsrc.h:
14591 * plugins/elements/gstfilesink.h:
14592 * plugins/elements/gstfilesrc.h:
14593 * plugins/elements/gstidentity.h:
14594 * plugins/elements/gstqueue.h:
14595 * plugins/elements/gsttee.h:
14596 * plugins/indexers/gstfileindex.c:
14597 * plugins/indexers/gstmemindex.c:
14598 * tests/old/examples/plugins/example.h:
14599 Fix more gobject macros: obj<->klass, GstXXX<->GstXXXClass
14601 2006-06-01 Thomas Vander Stichele <thomas at apestaart dot org>
14603 * libs/gst/dataprotocol/dataprotocol.c:
14604 (gst_dp_header_from_buffer):
14605 make sure we zero the whole ABI-compatible area
14607 2006-06-01 Wim Taymans <wim@fluendo.com>
14609 Patch by: Alessandro Decina <alessandro at nnva dot org>
14611 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop):
14612 Make sure the EOS flag is cleared from pads after a flush
14613 or stop. Fixes #343538.
14615 * tests/check/libs/collectpads.c: (GST_START_TEST),
14616 (gst_collect_pads_suite):
14617 Added test for collectpads reusage after EOS.
14619 2006-05-30 Sebastien Moutte <sebastien@moutte.net>
14622 set #include <sys/wait.h> in a #ifdef #ifdef HAVE_FORK
14623 * win32/common/libgstbase.def:
14624 export gst_collect_pads_set_flushing
14625 * win32/common/libgstreamer.def:
14626 export gst_pad_set_acceptcaps_function, gst_structure_empty_new,
14627 gst_value_fraction_multiply
14628 * win32/vs6/gst_inspect.dsp:
14629 add a link to intl.lib
14631 2006-05-30 Wim Taymans <wim@fluendo.com>
14633 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
14634 (gst_collect_pads_chain):
14635 Handle the case where a pad is removed from the collection
14636 that could cause the other pads to become collectable.
14638 2006-05-30 Wim Taymans <wim@fluendo.com>
14640 * gst/gstelement.c:
14641 Clarify the use of _release_request_pad() and
14642 _get_request_pad() a bit better.
14644 * libs/gst/base/gstadapter.c: (gst_adapter_peek),
14645 (gst_adapter_take_buffer):
14646 Fix some doc and comment typos.
14648 2006-05-30 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
14650 * docs/gst/gstreamer-sections.txt:
14651 * docs/libs/gstreamer-libs-sections.txt:
14652 add declared symbols
14654 2006-05-30 Jan Schmidt <thaytan@mad.scientist.com>
14656 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
14657 Add debug that can be enabled using a #define at the top of the file,
14658 for dumping stats about how late/early we were when waking up from
14659 waiting on the clock.
14661 2006-05-30 Wim Taymans <wim@fluendo.com>
14663 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_check_pads):
14664 When rebuilding the pad list, don't leak the previous list.
14666 2006-05-30 Wim Taymans <wim@fluendo.com>
14668 Patch by: Lutz Mueller <lutz at topfrose dot de>
14670 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
14671 (gst_base_src_get_query_types), (gst_base_src_update_length):
14672 Publish supported query types.
14673 Update last_stop field in get_range mode so the position
14674 query works. Fixes #342321.
14676 2006-05-30 Tim-Philipp Müller <tim at centricular dot net>
14678 * docs/gst/gstreamer-sections.txt:
14679 * gst/gsttaglist.c: (_gst_tag_initialize):
14680 * gst/gsttaglist.h:
14681 API: add GST_TAG_PREVIEW_IMAGE (#343341).
14683 2006-05-30 Wim Taymans <wim@fluendo.com>
14685 Patch by: Alessandro Decina <alessandro at nnva dot org>
14687 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
14688 Unlock mutex when removing an unknown pad.
14691 * tests/check/Makefile.am:
14692 * tests/check/libs/collectpads.c: (collected_cb), (push_buffer),
14693 (push_event), (setup), (teardown), (GST_START_TEST),
14694 (gst_collect_pads_suite), (main):
14695 Added collecpads check, disabled for now as check crashes for
14698 2006-05-29 Wim Taymans <wim@fluendo.com>
14700 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize):
14701 Don't leak pads lists.
14703 2006-05-29 Wim Taymans <wim@fluendo.com>
14705 * docs/libs/gstreamer-libs-sections.txt:
14706 * libs/gst/base/gstcollectpads.c:
14707 (gst_collect_pads_set_flushing_unlocked),
14708 (gst_collect_pads_set_flushing), (gst_collect_pads_start),
14709 (gst_collect_pads_stop):
14710 * libs/gst/base/gstcollectpads.h:
14711 API: gst_collect_pads_set_flushing()
14712 Added api to set the pads to flushing, useful for seeking
14713 code in elements using collectpads.
14714 Clear segment when receiving a flush.
14716 2006-05-29 Tim-Philipp Müller <tim at centricular dot net>
14718 * gst/gst.c: (add_path_func), (init_post):
14719 Don't scan registry paths passed via --gst-plugin-path immediately
14720 (will crash, because absolutely nothing is set up and no types are
14721 registered etc.); do this later in init_post(). Fixes #343057.
14723 2006-05-28 Thomas Vander Stichele <thomas at apestaart dot org>
14725 * gst/gst.c: (init_post):
14726 if we have fork, fork while reading/rebuilding the registry
14727 so the parent doesn't take the hit of having all plugins loaded
14728 in memory. Fixes #342777.
14730 Check if we have fork()
14731 * win32/common/config.h.in:
14734 2006-05-26 Jan Schmidt <thaytan@mad.scientist.com>
14736 * plugins/elements/gstelements.c:
14737 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
14738 (gst_file_src_init), (gst_file_src_set_property),
14739 (gst_file_src_get_property), (gst_file_src_start):
14740 * plugins/elements/gstfilesrc.h:
14741 API: GstFileSrc::use-mmap
14743 Add a use-mmap property to enable easier testing of all code paths.
14744 Bump rank to PRIMARY, so filesrc is the preferred file reader and used
14745 in the absence of gnomevfssrc. (Closes #340501)
14747 2006-05-26 Zaheer Abbas Merali <zaheerabbas at merali dot org>
14749 * tools/gst-inspect.c:
14750 Add missing include, removes warning of ngettext not being defined on
14753 2006-05-26 Jan Schmidt <thaytan@mad.scientist.com>
14755 * gst/gstvalue.c: (gst_value_deserialize_fraction):
14756 Handle NULL input and output pointers silently as a failed conversion,
14757 rather than g_warnings.
14759 2006-05-25 Wim Taymans <wim@fluendo.com>
14761 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_start):
14762 Initialize variable before using. Fixes #342820.
14764 2006-05-24 Tim-Philipp Müller <tim at centricular dot net>
14766 * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek):
14767 Fix off-by-one bug that would only allow peeks of N-1 bytes
14768 from the start even if the buffer to typefind on contains
14769 in fact N bytes of data (makes vorbis typefinding from a
14770 vorbis identification header buffer work).
14772 * tests/check/Makefile.am:
14773 * tests/check/libs/.cvsignore:
14774 * tests/check/libs/typefindhelper.c: (GST_START_TEST),
14775 (gst_typefindhelper_suite), (main), (foobar_typefind),
14777 Add very basic unit test for gst_type_find_helper_for_buffer()
14778 that checks for the problem fixed above.
14780 2006-05-24 Thomas Vander Stichele <thomas at apestaart dot org>
14782 * tools/gst-inspect.c: (print_interfaces),
14783 (print_element_properties_info), (print_element_list), (main):
14784 add more translatable strings
14786 2006-05-23 Tim-Philipp Müller <tim at centricular dot net>
14788 Patch by: Julien Moutte <julien at moutte net>
14790 * docs/gst/gstreamer-sections.txt:
14791 Make new GST_FLOW_IS_SUCCESS macro visible in docs.
14793 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
14794 (gst_fake_sink_preroll):
14795 * plugins/elements/gstfakesink.h:
14796 API: Add new GstFakeSink::preroll-handoff signal (#337100).
14798 2006-05-23 Wim Taymans <wim@fluendo.com>
14800 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark):
14802 Added _CUSTOM error and success GstFlowReturn that can be
14803 used be elements internally.
14804 Added macro to check for SUCCESS flowreturns.
14805 API: GST_FLOW_CUSTOM_SUCCESS
14806 API: GST_FLOW_CUSTOM_ERROR
14807 API: GST_FLOW_IS_SUCCESS
14809 * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
14810 Added check for GstFlowReturn sanity.
14812 2006-05-23 Wim Taymans <wim@fluendo.com>
14814 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
14816 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
14817 (gst_collect_pads_event):
14818 clear/reset segment info in FLUSH_STOP.
14821 2006-05-22 Stefan Kost <ensonic@users.sf.net>
14823 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop),
14824 (gst_collect_pads_check_collected):
14825 Flush queued buffer on _stop(), fixes playing again (#342454)
14827 2006-05-22 Thomas Vander Stichele <thomas at apestaart dot org>
14829 * tests/check/gst/gststructure.c: (GST_START_TEST),
14830 (gst_structure_suite):
14831 add a test for a complete structure
14833 2006-05-19 Tim-Philipp Müller <tim at centricular dot net>
14835 * docs/faq/developing.xml:
14836 * docs/faq/faq.xml:
14837 * docs/faq/troubleshooting.xml:
14838 * docs/faq/using.xml:
14839 Some minor FAQ updates that won't change the fact that
14840 our FAQ is badly structured, full of information hardly
14841 anyone new to GStreamer needs to know and lacking lots
14842 of information people constantly ask for.
14844 2006-05-19 Jan Schmidt <thaytan@mad.scientist.com>
14846 * gst/gstpad.c: (gst_pad_set_caps):
14847 Short-circuit gst_pad_set_caps if setting the existing
14848 caps pointer again, and avoid printing debug and
14849 reffing/unreffing the caps.
14851 * plugins/elements/gstqueue.c: (gst_queue_push_one):
14852 There's actually no need to set the caps before pushing -
14853 the acceptcaps method will handle it anyway.
14855 2006-05-19 Tim-Philipp Müller <tim at centricular dot net>
14857 * docs/gst/gstreamer-sections.txt:
14858 * win32/common/libgstreamer.def:
14859 * gst/gstutils.c: (gst_element_seek_simple):
14861 API: add gst_element_seek_simple() (#342238).
14863 2006-05-18 Edward Hervey <edward@fluendo.com>
14865 * gst/gsttypefind.c: (gst_type_find_get_type):
14866 * gst/gsttypefind.h:
14867 Added GST_TYPE_TYPE_FIND and gst_type_find_get_type() so a GType gets
14868 registered for GstTypeFind pointers. This allows wrapping the structure
14869 in bindings (i.e. gst-python).
14871 2006-05-18 Tim-Philipp Müller <tim at centricular dot net>
14873 * gst/gsttagsetter.c:
14874 Docs additions and fixes (see #339918).
14876 2006-05-18 Jan Schmidt <thaytan@mad.scientist.com>
14878 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
14879 The caps intersection algorithm can produce multiple copies of the
14880 caps. Until that is fixed, we need to simplify the result to be
14881 sure whether the allowed caps are fixed or not.
14883 * plugins/elements/gstqueue.c: (gst_queue_init),
14884 (gst_queue_bufferalloc), (gst_queue_acceptcaps),
14885 (gst_queue_push_one):
14886 Proxied buffer alloc should not set the caps on the source pad.
14887 When pushing buffers, we always accept the caps change that triggers.
14888 This prevents negotiation errors caused by caps changing mid-stream
14889 and then being refused on our source pad (because upstream is now
14890 refusing those caps).
14892 2006-05-18 Tim-Philipp Müller <tim at centricular dot net>
14894 * tests/examples/helloworld/helloworld.c: (main):
14895 Must plug audioconvert and audioresample between decoder
14898 2006-05-17 Jan Schmidt <thaytan@mad.scientist.com>
14900 * gst/gstregistryxml.c: (read_string), (load_pad_template),
14901 (load_feature), (load_plugin):
14902 Allow empty strings for some of the plugin fields so we don't
14903 drop valid plugin entries that were written out correctly
14906 2006-05-17 Sebastien Moutte <sebastien@moutte.net>
14908 * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
14909 Use g_remove and g_rename instead of remove and rename that don't
14910 handle utf8 characters. rename was failing for users who had specific
14911 characters in their name then the registry was built at each
14913 * win32/vs6/gst_inspect.dsp:
14914 * win32/vs6/gst_launch.dsp:
14915 * win32/vs6/libgstbase.dsp:
14916 * win32/vs6/libgstcoreelements.dsp:
14917 * win32/vs6/libgstreamer.dsp:
14918 Use a debug version of libxml2 (libxml2D.lib,libxml2D.dll) for DEBUG
14919 build of libgstreamer and clean unused libraries in projects link
14922 2006-05-17 Edward Hervey <edward@fluendo.com>
14924 * plugins/elements/gstqueue.c: (gst_queue_push_one):
14925 The queue is not responsible for pushing an EOS when receiving a fatal
14926 flow error. It's up to the real element driving the pipeline to do that.
14928 2006-05-16 Edward Hervey <edward@fluendo.com>
14930 * plugins/elements/gstqueue.c: (gst_queue_push_one):
14931 The queue was posting a non-needed GST_MESSAGE_ERROR when pushing a
14932 buffer returned a fatal error. It should just send an EOS and stop
14934 Upstream elements will then properly receive the GST_FLOW_UNEXPECTED
14935 when pushing buffers on the queue and will be able to handle the event.
14937 2006-05-16 Tim-Philipp Müller <tim at centricular dot net>
14939 * docs/manual/basics-bins.xml:
14940 * docs/manual/basics-init.xml:
14941 Fix typos and minor errors in sample code (#341856).
14943 2006-05-16 Wim Taymans <wim@fluendo.com>
14945 * docs/design/part-qos.txt:
14946 Fix indexes in formulas to make more sense.
14948 2006-05-15 Wim Taymans <wim@fluendo.com>
14950 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
14951 Don't report POSITION based on clock time if sync is
14952 disabled in a sink.
14954 2006-05-15 Tim-Philipp Müller <tim at centricular dot net>
14957 Add cast to make compiler happy - refcount variable was a gint
14958 in GstObject but is a guint in GObject and g_atomic_int_get()
14961 2006-05-15 Thomas Vander Stichele <thomas at apestaart dot org>
14963 * gst/parse/Makefile.am:
14964 chain commands using &&, which also makes parallel make work
14966 2006-05-14 Tim-Philipp Müller <tim at centricular dot net>
14968 * docs/gst/gstreamer-sections.txt:
14971 * gst/gstmessage.h:
14974 === release 0.10.6 ===
14976 2006-05-14 Jan Schmidt <thaytan@mad.scientist.com>
14979 releasing 0.10.6, "Take the cannoli"
14981 2006-05-13 Tim-Philipp Müller <tim at centricular dot net>
14983 * tools/gst-launch.c: (print_tag):
14984 Fix use of uninitialized variable in the hypothetical
14985 case that some broken plugin creates a GST_TAG_IMAGE
14986 tag containing a NULL buffer (#341667).
14988 2006-05-12 Tim-Philipp Müller <tim at centricular dot net>
14990 * tools/gst-launch.c: (print_tag):
14991 Print something more intelligible for image tags when
14992 using the -t switch (#341556).
14994 2006-05-12 Thomas Vander Stichele <thomas at apestaart dot org>
14999 define GST_MAJORMINOR so we have it available in win32/common/config.h
15000 Possibly remove it from our Makefile.am files later
15001 * win32/common/config.h:
15002 * win32/common/config.h.in:
15003 added GST_MAJORMINOR
15004 * win32/common/gstenumtypes.c: (register_gst_resource_error):
15005 * win32/common/gstversion.h:
15008 2006-05-12 Sebastien Moutte <sebastien@moutte.net>
15011 Update win32 files listing.
15012 * win32/common/gstversion.h:
15013 Add GST_MAJORMINOR definition.
15014 * win32/common/libgstreamer.def:
15015 Add new exported functions.
15017 2006-05-12 Michael Smith <msmith@fluendo.com>
15019 * gst/gstplugin.c: (gst_plugin_load_file):
15020 If an so file has no plugin entry point, unload the module.
15022 2006-05-11 Wim Taymans <wim@fluendo.com>
15024 * plugins/elements/gstqueue.c: (gst_queue_chain), (gst_queue_loop),
15025 (gst_queue_set_property):
15026 Don't forget to signal the _chain or _loop function
15027 when the queue size or thresholds change since that might
15028 cause them to make progres again.
15030 2006-05-11 Stefan Kost <ensonic@users.sf.net>
15032 * gst/gstclock.c: (gst_clock_class_init):
15033 * gst/gstindex.c: (gst_index_class_init):
15034 * gst/gstobject.c: (gst_object_class_init):
15035 * gst/gstpad.c: (gst_pad_class_init):
15036 * gst/gstpipeline.c: (gst_pipeline_class_init):
15037 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
15038 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
15039 * libs/gst/base/gstbasetransform.c:
15040 (gst_base_transform_class_init):
15041 * libs/gst/net/gstnetclientclock.c:
15042 (gst_net_client_clock_class_init):
15043 * libs/gst/net/gstnettimeprovider.c:
15044 (gst_net_time_provider_class_init):
15045 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
15046 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
15047 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
15048 * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
15049 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
15050 * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
15051 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
15052 * plugins/elements/gstidentity.c: (gst_identity_class_init):
15053 * plugins/elements/gsttee.c: (gst_tee_class_init):
15054 * tests/old/examples/plugins/example.c: (gst_example_class_init):
15055 * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
15056 G_OBJECT_CLASS macro usage batch cleanup, fixes #337747 for core
15058 2006-05-11 Wim Taymans <wim@fluendo.com>
15060 * gst/gstbuffer.c: (_gst_buffer_initialize):
15061 Register subbufer along with the buffer type so that
15062 it does not accidentally gets registered from N
15063 different streaming threads in a non threadsafe way.
15065 2006-05-10 Tim-Philipp Müller <tim at centricular dot net>
15069 * gst/gstmessage.h:
15070 Make gtk-doc generate docs for our inlined gst_buffer_ref(),
15071 gst_event_ref() and gst_message_ref() functions again
15072 (ugly hack, please do fix if there's a better way besides
15073 overrides.txt, which doesn't seem to work).
15075 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
15077 * libs/gst/check/gstcheck.h:
15078 add an assert for setting state to avoid lots of repetitive code
15081 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
15083 * gst/gstvalue.c: (gst_value_serialize_flags):
15084 fix a leak if no flags are set
15085 * tests/check/gst/gstvalue.c: (GST_START_TEST):
15088 2006-05-10 Tim-Philipp Müller <tim at centricular dot net>
15090 * docs/manual/basics-pads.xml:
15091 Expand a bit on caps and filtered links and update
15092 examples that were still using the no longer existing
15093 gst_pad_link_filtered() (#338206).
15095 2006-05-10 Wim Taymans <wim@fluendo.com>
15097 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
15098 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
15099 (gst_collect_pads_set_flushing), (gst_collect_pads_start),
15100 (gst_collect_pads_stop):
15101 * libs/gst/base/gstcollectpads.h:
15102 No need to call _stop in _finalize.
15103 Iterate the main pad list in _finalize.
15104 Added some more debug.
15105 Free lists and data in the right order.
15106 Also free data whem doing _remove_pad when stopped for
15107 backward compatibility protect ::started with PAD_LOCK as
15110 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
15112 * gst/gststructure.c: (gst_structure_gtype_from_abbr),
15113 (gst_structure_parse_value):
15115 rename a method so that it actually says what it does better
15117 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
15119 * gst/gstevent.c: (_gst_event_initialize):
15120 * gst/gstformat.c: (_gst_format_initialize):
15121 make sure some essential types used by events are registered
15122 as part of gst_init()
15123 * gst/gstvalue.c: (gst_value_serialize_flags):
15124 if no flags are set, serialize them to a value that represents NONE
15125 so that deserializing them works
15126 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
15127 add tests for serialization and deserialization of flags
15129 2006-05-10 Wim Taymans <wim@fluendo.com>
15131 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_collect),
15132 (gst_collect_pads_collect_range), (gst_collect_pads_available),
15133 (gst_collect_pads_check_pads), (gst_collect_pads_check_collected),
15134 (gst_collect_pads_event), (gst_collect_pads_chain):
15137 Catch and return errors from the collect function
15138 Refuse data on eos pads.
15140 2006-05-10 Edward Hervey <edward@fluendo.com>
15142 * gst/gstinterface.h:
15143 GST_IMPLEMENTS_INTERFACE and GST_IS_IMPLEMENTS_INTERFACE use the normal
15144 GInterface type checking.
15145 They were previously using non-defined macros.
15147 2006-05-09 Wim Taymans <wim@fluendo.com>
15149 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_init),
15150 (gst_collect_pads_finalize), (gst_collect_pads_add_pad),
15151 (gst_collect_pads_remove_pad), (gst_collect_pads_set_flushing),
15152 (gst_collect_pads_start), (gst_collect_pads_stop),
15153 (gst_collect_pads_peek), (gst_collect_pads_pop),
15154 (gst_collect_pads_available), (gst_collect_pads_read),
15155 (gst_collect_pads_flush), (gst_collect_pads_check_pads),
15156 (gst_collect_pads_is_collected), (gst_collect_pads_event),
15157 (gst_collect_pads_chain):
15158 * libs/gst/base/gstcollectpads.h:
15159 Clean up the mess that is collectpads, add comments and
15160 FIXMEs where needed.
15161 Maintain a separate pad list so we can add pads while
15162 collecting the other ones. For this we need a new separate
15164 Fix memory leak in finalize.
15165 Refactor some weird code to set/unset pad flushing flags, mark
15167 Don't crash in _available, _read, _flush when we're EOS.
15169 * tests/check/libs/.cvsignore:
15170 Ignore adapter check binary.
15172 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
15174 * gst/gstindex.c: (gst_index_resolver_get_type):
15175 * plugins/elements/gstfakesink.c:
15176 (gst_fake_sink_state_error_get_type):
15177 * plugins/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
15178 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type):
15179 * plugins/elements/gstqueue.c: (queue_leaky_get_type):
15180 Const-ify GEnumValue arrays.
15182 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
15184 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
15185 Add test case for flags + gst_buffer_make_metadata_writable().
15187 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
15189 * gst/gstbuffer.c: (gst_buffer_make_metadata_writable):
15190 gst_buffer_make_metadata_writable() should maintain the
15191 buffer flags (those that make sense at least) (see #340859).
15193 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
15195 * tools/gst-inspect.c:
15196 * tools/gst-launch.c:
15197 * tools/gst-typefind.c:
15198 * tools/gst-xmlinspect.c:
15200 Fix up includes: need to include stdlib.h in tools.h for exit().
15202 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
15204 * gst/gsttaglist.c: (_gst_tag_initialize):
15205 * gst/gsttaglist.h:
15206 API: add GST_TAG_IMAGE tag (#340721).
15208 2006-05-08 Wim Taymans <wim@fluendo.com>
15211 Added some docs for the segment query.
15213 2006-05-08 Wim Taymans <wim@fluendo.com>
15215 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
15216 (gst_base_src_loop), (gst_base_src_change_state):
15217 Always push non-flushing serialized events in the streaming
15220 2006-05-08 Thomas Vander Stichele <thomas at apestaart dot org>
15222 * gst/gsterror.c: (_gst_stream_errors_init):
15223 Add a missing error string.
15225 2006-05-08 Jan Schmidt <thaytan@mad.scientist.com>
15227 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment):
15228 Add applied_rate to the debug
15230 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
15231 Copy applied_rate into the outgoing NEWSEGMENT event
15233 2006-05-08 Wim Taymans <wim@fluendo.com>
15235 Patch by: Philippe Rouquier <philippero at libertysurf dot fr>
15237 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
15238 (gst_base_sink_change_state):
15239 call ::unlock before taking the PREROLL_LOCK so we can safely
15240 handle elements that lock in ::render.
15243 2006-05-08 Edward Hervey <edward@fluendo.com>
15245 * autogen.sh: (CONFIGURE_DEF_OPT):
15246 Darwin's libtoolize is in fact called glibtoolize.
15247 Adding glibtoolize to the list of accepted names for libtoolize.
15249 2006-05-08 Wim Taymans <wim@fluendo.com>
15251 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
15252 Unify error handling, don't post an error message
15253 when a push() returns EOS but perform our normal EOS
15254 handling code. Fixes #340772.
15256 2006-05-08 Wim Taymans <wim@fluendo.com>
15258 * docs/design/part-overview.txt:
15259 Make upsteam/downstream concepts more clear.
15260 Give an example of serialized/non-serialized events.
15262 * docs/design/part-events.txt:
15263 * docs/design/part-streams.txt:
15264 Mention applied_rate.
15266 * docs/design/part-trickmodes.txt:
15267 Mention applied rate, flesh out some more use cases.
15269 * gst/gstevent.c: (gst_event_new_new_segment),
15270 (gst_event_parse_new_segment), (gst_event_new_new_segment_full),
15271 (gst_event_parse_new_segment_full), (gst_event_new_tag),
15272 (gst_event_parse_tag), (gst_event_new_buffer_size),
15273 (gst_event_parse_buffer_size), (gst_event_new_qos),
15274 (gst_event_parse_qos), (gst_event_parse_seek),
15275 (gst_event_new_navigation):
15277 Add applied_rate field to NEWSEGMENT event.
15278 API: gst_event_new_new_segment_full()
15279 API: gst_event_parse_new_segment_full()
15281 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_seek),
15282 (gst_segment_set_newsegment), (gst_segment_set_newsegment_full),
15283 (gst_segment_to_stream_time), (gst_segment_to_running_time):
15284 * gst/gstsegment.h:
15285 Add applied_rate to GstSegment structure.
15286 Make calculation of stream_time and running_time more correct
15287 wrt rate/applied_rate.
15288 Add some more docs.
15289 API: GstSegment::applied_rate field
15290 API: gst_segment_set_newsegment_full();
15292 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
15293 (gst_base_sink_get_sync_times), (gst_base_sink_get_position):
15294 * libs/gst/base/gstbasetransform.c:
15295 (gst_base_transform_sink_eventfunc),
15296 (gst_base_transform_handle_buffer):
15297 Parse and use applied_rate in the GstSegment field.
15299 * tests/check/gst/gstevent.c: (GST_START_TEST):
15300 Add check for applied_rate field.
15302 * tests/check/gst/gstsegment.c: (GST_START_TEST),
15303 (gstsegments_suite):
15304 Add more checks for various GstSegment operations.
15306 2006-05-08 Wim Taymans <wim@fluendo.com>
15308 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
15309 (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked),
15310 (gst_base_sink_get_position), (gst_base_sink_change_state):
15311 Store the sync time of the buffer end position separatly in a
15312 new variable eos_rtime so we can properly sync the EOS event.
15314 Fix the docs for gst_base_sink_set_qos_enabled().
15315 Don't set segment start to invalid value when we receive a
15316 non TIME newsegment.
15317 get closer to handling position reporting for negative rates
15320 2006-05-07 Stefan Kost <ensonic@users.sf.net>
15323 Docs about how to print caps for debug purposes.
15325 * gst/gstpadtemplate.c: (gst_static_pad_template_get):
15326 use gst_caps_make_writable instead of gst_caps_copy, Fixes #340608
15328 2006-05-07 Stefan Kost <ensonic@users.sf.net>
15330 * gst/gstelement.c:
15331 use full enum names and preprend a '%' in docs strings to make recent
15332 gtk-doc turn that into a link
15334 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
15336 * docs/manual/basics-bins.xml:
15337 * docs/manual/basics-bus.xml:
15338 * docs/manual/basics-pads.xml:
15339 Some typo fixes, some additions, some clarifications.
15341 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
15343 * tools/gst-inspect.c: (main):
15344 * tools/gst-launch.c: (main):
15345 * tools/gst-run.c: (main):
15346 * tools/gst-typefind.c: (main):
15347 * tools/gst-xmlinspect.c: (main):
15348 Use the string passed to g_option_context_new() for
15349 what it's intended for - the program name is already
15352 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
15354 * tools/Makefile.am:
15355 * tools/gst-inspect.c: (main):
15356 * tools/gst-launch.c: (main):
15357 * tools/gst-xmlinspect.c: (main):
15359 Add back --version command line option (#340460).
15361 * tools/gst-typefind.c: (have_type_handler), (typefind_file), (main):
15362 Add --version option and use GOption for argument parsing; refactor a
15363 bit; accept directories as arguments and recurse into them; lastly,
15364 print a decent error message when things go wrong.
15366 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
15368 * docs/manual/basics-bins.xml:
15369 Don't mention GstThread (#340611)
15370 * docs/manual/basics-elements.xml:
15371 Update link to GObject tutorial (#340607)
15373 2006-05-05 Wim Taymans <wim@fluendo.com>
15376 * gst/gstminiobject.c:
15377 Add note about refcounting and miniobject/buffer writeability
15378 to docs. Fixes #340604
15380 * gst/gstelementfactory.h:
15381 Added some explanation about @klass.
15383 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
15385 * docs/manual/intro-motivation.xml:
15386 * docs/manual/manual.xml:
15387 Avoid CORBA & Bonobo references (#340598)
15389 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
15391 * docs/manual/basics-bus.xml:
15392 * docs/manual/basics-pads.xml:
15393 Fix up some inaccuracies and omissions (#340609)
15395 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
15397 * gst/gstghostpad.c:
15398 Small typo in docs (#340625)
15400 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
15402 * gst/parse/Makefile.am:
15403 Make 'make -j' proof (see #340698).
15405 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
15408 Require GLib-2.8 here as well.
15410 2006-05-05 Wim Taymans <wim@fluendo.com>
15412 * gst/glib-compat.c:
15413 * gst/gst.c: (init_pre):
15414 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
15415 (gst_object_unref), (gst_object_replace), (gst_object_dispose),
15416 (gst_object_dispatch_properties_changed):
15418 * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
15419 * gst/gststructure.c: (gst_structure_set_valist):
15420 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
15421 Remove pre glib2.8 compatibility, fixes #340508
15423 2006-05-04 Tim-Philipp Müller <tim at centricular dot net>
15425 * gst/gsttaglist.h:
15426 Mention type of tags in doc blurbs.
15428 2006-05-04 Jan Schmidt <thaytan@mad.scientist.com>
15430 * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
15431 (gst_pad_configure_src), (gst_pad_push):
15432 Restore acceptcaps checking behaviour now that good plugins have
15435 2006-05-04 Tim-Philipp Müller <tim at centricular dot net>
15437 Patch by: James Andrewartha <trs80 at tartarus uwa edu au>
15444 * gst/gstmessage.c:
15448 * gst/parse/Makefile.am:
15449 * libs/gst/base/gstadapter.c:
15450 * libs/gst/base/gstbasesrc.c:
15451 * libs/gst/base/gstpushsrc.c:
15452 * libs/gst/base/gsttypefindhelper.c:
15453 * plugins/elements/gstfakesrc.c:
15454 * plugins/elements/gstidentity.c:
15455 Make sure gstprivate.h and/or config.h are
15456 always included first, otherwise some of our
15457 defines (like _FILE_OFFSET_BITS) might be
15458 redefined in the system headers. Fixes build
15459 on opensolaris (#340016).
15461 2006-05-04 Wim Taymans <wim@fluendo.com>
15463 * docs/libs/gstreamer-libs-sections.txt:
15464 API: addition: gst_adapter_take_buffer()
15466 * libs/gst/base/gstadapter.c: (gst_adapter_push),
15467 (gst_adapter_peek), (gst_adapter_take), (gst_adapter_take_buffer),
15468 (gst_adapter_available_fast):
15469 * libs/gst/base/gstadapter.h:
15470 Prepare for optimizing the hell out of this hugely inefficient
15472 Added gst_adapter_take_buffer() so we can at least start thinking
15473 about subbuffering and merging.
15474 Added some comments.
15476 * tests/check/Makefile.am:
15477 * tests/check/libs/adapter.c: (GST_START_TEST),
15478 (gst_adapter_suite), (main):
15479 Added GstAdapter check.
15481 2006-05-04 Wim Taymans <wim@fluendo.com>
15483 * docs/design/part-overview.txt:
15484 Fix some typos, add blurb about buffer flags.
15486 2006-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
15488 * docs/libs/gstreamer-libs-sections.txt:
15489 make sure GstBaseTransformClass shows up in the docs
15490 * libs/gst/base/gstbasetransform.c:
15491 * libs/gst/base/gstbasetransform.h:
15492 move docs so gtk-doc picks it up now
15494 2006-05-02 Stefan Kost <ensonic@users.sf.net>
15496 * docs/libs/gstreamer-libs-sections.txt:
15497 add missing symbols to docs
15499 2006-05-02 Stefan Kost <ensonic@users.sf.net>
15501 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
15502 back out the newsegment handling change, see #340060 for ongoing
15505 2006-04-30 Tim-Philipp Müller <tim at centricular dot net>
15507 * tools/gst-run.c: (get_candidates), (main):
15508 Fix wrong g_file_test() usage (see glib docs for why it doesn't
15509 work); fix typo in error message. Fixes #340079.
15511 2006-04-29 Thomas Vander Stichele <thomas at apestaart dot org>
15513 * common/Makefile.am:
15514 * docs/Makefile.am:
15515 * docs/faq/Makefile.am:
15516 * docs/gst/Makefile.am:
15517 * docs/libs/Makefile.am:
15518 * docs/manual/Makefile.am:
15519 * docs/plugins/Makefile.am:
15520 * docs/pwg/Makefile.am:
15521 * docs/slides/Makefile.am:
15523 * common/upload.mak:
15524 move upload.mak to common
15526 2006-04-29 Thomas Vander Stichele <thomas at apestaart dot org>
15528 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
15529 add more asserts on refcounts
15530 do more cleanup at end of tests
15531 fix test leaks showing in FC5
15533 2006-04-29 Stefan Kost <ensonic@users.sf.net>
15535 * plugins/elements/gsttypefindelement.c:
15536 (gst_type_find_element_handle_event):
15537 reverted wrong change and reflowed code to avoid others falling into
15540 2006-04-28 Stefan Kost <ensonic@users.sf.net>
15542 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
15543 fix changelog entry about last collectpads change,
15544 add notes about proper fix
15546 2006-04-28 Stefan Kost <ensonic@users.sf.net>
15549 * gst/gstregistry.c: (gst_registry_scan_path_level),
15550 (gst_registry_scan_path):
15551 * gst/gstregistry.h:
15552 only write out registry if it has changed, fixes #338339
15554 2006-04-28 Stefan Kost <ensonic@users.sf.net>
15557 * gst/gstpipeline.c:
15558 * plugins/elements/gstcapsfilter.c:
15559 * plugins/elements/gstfakesink.c:
15560 * plugins/elements/gstfakesrc.c:
15561 * plugins/elements/gstfdsink.c:
15562 * plugins/elements/gstfdsrc.c:
15563 * plugins/elements/gstfilesink.c:
15564 * plugins/elements/gstfilesrc.c:
15565 * plugins/elements/gstidentity.c:
15566 * plugins/elements/gstqueue.c:
15567 * plugins/elements/gsttee.c:
15568 * plugins/elements/gsttypefindelement.c:
15569 (gst_type_find_element_handle_event):
15570 make GstElementDetails const
15572 2006-04-28 Stefan Kost <ensonic@users.sf.net>
15574 * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
15575 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
15576 (gst_collect_pads_is_collected), (gst_collect_pads_event):
15577 more detailed debug and formatting cleanup,
15578 forward newsegments to src-pad (so that e.g. adder not eats them)
15580 2006-04-28 Stefan Kost <ensonic@users.sf.net>
15582 * gst/gstutils.c: (gst_element_link_pads):
15583 cleanup double code
15585 2006-04-28 Stefan Kost <ensonic@users.sf.net>
15587 * libs/gst/controller/gstcontroller.c:
15588 (gst_controller_sync_values):
15590 * tests/check/libs/controller.c: (GST_START_TEST),
15591 (gst_controller_suite):
15592 a new test for live value handling
15594 2006-04-28 Wim Taymans <wim@fluendo.com>
15596 * gst/gstutils.c: (push_and_ref):
15597 Added some more docs.
15598 Fix refcount issue whith gst_element_found_tags() helper
15599 function. Fixes #338335
15601 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
15602 Added testsuite for gst_element_found_tags().
15604 2006-04-28 Michael Smith <msmith@fluendo.com>
15606 * gst/gstvalue.c: (gst_value_serialize_flags):
15607 Avoid NULL dereference when trying to serialize flags containing
15610 2006-04-28 Michael Smith <msmith@fluendo.com>
15612 * plugins/elements/gsttypefindelement.c:
15613 (gst_type_find_element_handle_event):
15614 If we get EOS before any data is accumulated, don't use
15615 uninitialised local variables.
15617 2006-04-28 Michael Smith <msmith@fluendo.com>
15619 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
15620 (gst_dp_event_from_packet):
15621 Fixes in reading/writing events over GDP (not currently used?) -
15622 dereferencing NULL events for unknown/invalid event types, memory
15623 leak, and change g_warning to GST_WARNING.
15625 2006-04-28 Wim Taymans <wim@fluendo.com>
15627 * libs/gst/base/gstbasesink.c: (gst_base_sink_is_too_late),
15628 (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
15629 (gst_base_sink_get_position), (gst_base_sink_change_state):
15630 When frame dropping is enabled, we should not ignore frames
15631 without a duration.
15632 Update some documentation.
15634 2006-04-28 Wim Taymans <wim@fluendo.com>
15636 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
15637 (gst_base_src_send_event), (gst_base_src_change_state):
15638 Documentation updates.
15640 2006-04-28 Wim Taymans <wim@fluendo.com>
15642 * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
15643 (gst_fd_sink_check_fd), (gst_fd_sink_update_fd):
15644 handle EAGAIN, EINTR and short writes correctly. Also clean
15645 up some error cases, avoid a deadlock on bad file descriptors and
15646 use GST_DEBUG_OBJECT.
15649 2006-04-28 Wim Taymans <wim@fluendo.com>
15651 * gst/gstvalue.c: (gst_value_serialize_buffer),
15652 (gst_value_deserialize_buffer):
15653 Don't try to serialize a GValue with a NULL buffer.
15656 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
15657 Added check for serialisation of NULL buffers.
15659 2006-04-28 Wim Taymans <wim@fluendo.com>
15661 * gst/gstminiobject.c: (gst_value_take_mini_object):
15662 Taking a NULL miniobject is valid, fix the case where
15663 we try to unref the NULL miniobject.
15665 2006-04-28 Wim Taymans <wim@fluendo.com>
15667 Patch by: Stefan Kost <ensonic at sonicpulse dot de>
15669 * gst/gstbin.c: (gst_bin_handle_message_func):
15671 Don't leak bin refcount when a state recalc is
15672 in progress and we delay another one #339808.
15674 2006-04-28 Wim Taymans <wim@fluendo.com>
15676 * docs/design/part-TODO.txt:
15677 Mention QoS as an ongoing work item.
15679 * docs/design/part-buffering.txt:
15680 New doc about buffering that needs to be fleshed out
15683 * docs/design/part-qos.txt:
15684 More QoS policy for decoders/demuxers/transforms
15686 * docs/design/part-trickmodes.txt:
15689 2006-04-28 Thomas Vander Stichele <thomas at apestaart dot org>
15694 === release 0.10.5 ===
15696 2006-04-28 Thomas Vander Stichele <thomas at apestaart dot org>
15699 releasing 0.10.5, "Fogo"
15701 2006-04-22 Thomas Vander Stichele <thomas at apestaart dot org>
15703 patch by: Wim Taymans
15705 * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
15706 (gst_pad_configure_src), (gst_pad_push):
15707 * gst/gstpipeline.c: (gst_pipeline_init):
15708 Fix internal data flow errors. Fixes #338711.
15710 2006-04-12 Wim Taymans <wim@fluendo.com>
15712 * tests/check/gst/gstelement.c: (GST_START_TEST):
15713 Don't leak the factory.
15715 2006-04-12 Thomas Vander Stichele <thomas at apestaart dot org>
15718 * win32/common/config.h:
15721 2006-04-12 Tim-Philipp Müller <tim at centricular dot net>
15723 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
15724 (gst_controller_unset_all):
15725 Free allocated GstTimedValues when freeing list nodes.
15726 Should fix leaks 'make check-valgrind' complains about.
15728 * win32/common/libgstcontroller.def:
15729 Add gst_controller_unset_all.
15731 2006-04-11 Stefan Kost <ensonic@users.sf.net>
15733 * docs/libs/gstreamer-libs-sections.txt:
15734 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
15735 (gst_controller_unset_all):
15736 * libs/gst/controller/gstcontroller.h:
15737 API: Added new method gst_controller_unset_all()
15738 fixed gst_controller_unset()
15739 * tests/check/libs/controller.c: (GST_START_TEST),
15740 (gst_controller_suite):
15741 Added two testcases for new and fixed method
15743 2006-04-11 Tim-Philipp Müller <tim at centricular dot net>
15745 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
15746 MSG_DONTWAIT is not defined on Cygwin, so work
15747 around that (fixes #317048).
15749 2006-04-11 Wim Taymans <wim@fluendo.com>
15751 * gst/gstelementfactory.c: (gst_element_register),
15752 (gst_element_factory_create), (gst_element_factory_make):
15755 Updated docs (Fixes #131079)
15757 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
15760 * tests/check/gst/gstelement.c: (GST_START_TEST),
15761 (gst_element_suite):
15762 Added testcase for elementfactory class field.
15764 2006-04-10 Wim Taymans <wim@fluendo.com>
15766 * gst/gstsegment.c:
15767 Added some more docs.
15769 * libs/gst/base/gstbasesink.c: (gst_base_sink_perform_qos),
15770 (gst_base_sink_reset_qos):
15771 Calculate more accurate rate values.
15773 2006-04-09 Sebastien Moutte <sebastien@moutte.net>
15775 * gst/gst_private.h:
15776 add a new #ifdef to use __declspec(dllimport) only for
15777 other modules and not for gstreamer core
15778 * gst/gstbasesink.c: (gst_base_sink_perform_qos):
15779 use gst_guint64_to_gdouble for conversion
15780 * win32/common/libgstreamer.def:
15781 add new exported functions
15782 * win32/vs6/gst_inspect.dsp:
15783 * win32/vs6/gst_launch.dsp:
15784 * win32/vs6/libgstbase.dsp:
15785 * win32/vs6/libgstcontroller.dsp:
15786 * win32/vs6/libgstcoreelements.dsp:
15787 * win32/vs6/libgstdataprotocol.dsp:
15788 * win32/vs6/libgstnet.dsp:
15789 update project files
15791 2006-04-08 Stefan Kost <ensonic@users.sf.net>
15793 * gst/gstbuffer.c: (gst_subbuffer_class_init):
15794 * gst/gstclock.c: (gst_clock_class_init):
15795 * gst/gstelement.c: (gst_element_class_init):
15796 * gst/gstindex.c: (gst_index_class_init):
15797 * gst/gstindexfactory.c: (gst_index_factory_class_init):
15798 * gst/gstobject.c: (gst_object_class_init),
15799 (gst_signal_object_class_init):
15800 * gst/gstpad.c: (gst_pad_class_init):
15801 * gst/gstpadtemplate.c: (gst_pad_template_class_init):
15802 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init):
15803 * gst/gstregistry.c: (gst_registry_class_init):
15804 * gst/gstsystemclock.c: (gst_system_clock_class_init):
15805 * gst/gsttask.c: (gst_task_class_init):
15806 * gst/gstxml.c: (gst_xml_class_init):
15807 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
15808 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
15809 (gst_base_src_loop):
15810 * libs/gst/controller/gstcontroller.c:/
15811 (_gst_controller_class_init):
15812 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
15813 * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
15814 * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init):
15815 * tests/old/examples/plugins/example.c: (gst_example_class_init):
15816 * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
15817 Fix #337365 (g_type_class_ref <-> g_type_class_peek_parent)
15819 2006-04-08 Tim-Philipp Müller <tim at centricular dot net>
15821 * gst/gstpad.c: (gst_pad_link):
15822 Must set peer pads before calling the link function, otherwise
15823 a task started from a link function might get a flow-not-linked
15824 result when trying to push because the other thread where the
15825 linking happens hasn't had a chance to set the peers yet. This
15826 might happen for example when a queue gets linked to a downstream
15827 element, as queue starts a streaming task when its source pad
15828 gets linked. Happens in real life when playing back flac/musepack
15829 files in playbin (#332390).
15831 2006-04-08 Stefan Kost <ensonic@users.sf.net>
15835 * libs/gst/base/gstadapter.h:
15836 * libs/gst/base/gstbasesink.h:
15837 * libs/gst/base/gstbasesrc.h:
15838 * libs/gst/base/gstbasetransform.h:
15839 * libs/gst/base/gstcollectpads.h:
15840 * libs/gst/base/gstpushsrc.h:
15841 Fix broken GObject macros
15843 2006-04-07 Wim Taymans <wim@fluendo.com>
15845 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
15846 Initialize start and stop times, thanks valgrind.
15848 2006-04-07 Wim Taymans <wim@fluendo.com>
15850 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
15851 Be a bit nicer to badly behaving upstream elements that expect
15852 us to deal with non TIME segments and timestamps (such as fakesrc
15855 2006-04-07 Wim Taymans <wim@fluendo.com>
15858 Small documentation clarification about the signal watch.
15860 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
15861 (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
15862 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
15863 (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
15864 (gst_base_sink_get_position_last),
15865 (gst_base_sink_get_position_paused), (gst_base_sink_change_state):
15866 Convert and store timestamps in stream time and running time, the
15867 raw timestamps are not useful, also document this better.
15868 Use different window sizes for good and bad QoS observations so
15869 we react to badness a little quicker.
15870 Keep track of the amount of rendered and dropped buffers.
15871 Send QoS timestamps in running time.
15873 * libs/gst/base/gstbasetransform.c:
15874 (gst_base_transform_sink_eventfunc),
15875 (gst_base_transform_handle_buffer):
15876 Compare QoS timestamps against running time.
15878 2006-04-06 Tim-Philipp Müller <tim at centricular dot net>
15881 Typo fixes in docs.
15883 2006-04-06 Michael Smith <msmith@fluendo.com>
15885 * gst/gstpad.c: (gst_pad_set_property):
15886 Use g_value_get_object() instead of g_value_dup_gst_object(),
15887 to avoid double-reffing the pad template (which we then sink,
15888 so this worked previously if (and only if) the pad template
15891 * gst/gstpadtemplate.c: (gst_pad_template_init),
15892 (gst_pad_template_pad_created):
15893 Never return floating references to pad templates, create
15894 them as initially-sunken.
15896 Document an extra function (and make this stop sinking our
15897 pad template, since that is now guaranteed to do nothing,
15898 since we created it sunken).
15900 * gst/gstghostpad.c:
15903 2006-04-06 Tim-Philipp Müller <tim at centricular dot net>
15905 * gst/gstinfo.c: (__gst_in_valgrind):
15908 * plugins/elements/gsttypefindelement.c:
15909 (gst_type_find_element_chain):
15910 Don't leak buffer caps.
15912 2006-04-06 Michael Smith <msmith@fluendo.com>
15914 * gst/parse/grammar.y:
15915 Fix a leak in parse-launch for any source-or-sink named element
15918 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
15919 Unref the pipeline if it exists after we've failed parsing.
15921 2006-04-05 Michael Smith <msmith@fluendo.com>
15923 * gst/gstpipeline.c: (gst_pipeline_init):
15924 When we create a pipeline bus, initially create it in flushing mode.
15925 Fixes leaks in at least one test, and makes a new pipeline work the
15926 same as one that has gone to READY and then back to NULL.
15928 * gst/gstelement.c:
15931 2006-04-05 Michael Smith <msmith@fluendo.com>
15933 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
15934 Unref a pad we reffed.
15935 * tests/check/gst/gstutils.c: (GST_START_TEST):
15938 2006-04-05 Michael Smith <msmith@fluendo.com>
15940 * gst/gstquery.c: (gst_query_set_formats),
15941 (gst_query_set_formatsv):
15942 Fix leaking GValues in queries, as shown by valgrind/testsuite.
15944 2006-04-05 Michael Smith <msmith@fluendo.com>
15946 * tests/check/generic/sinks.c: (GST_START_TEST):
15947 Fix a variety of memleaks in sinks check, which are only sometimes
15948 shown by running the tests under valgrind (weird?).
15950 2006-04-05 Jan Schmidt <thaytan@mad.scientist.com>
15952 * docs/version.entities.in:
15953 Fix the substituted entity name after thomas' changes on the
15956 2006-04-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
15958 * gst/gstinfo.c: (__gst_in_valgrind): Use printf instead of
15961 2006-04-05 Andy Wingo <wingo@pobox.com>
15963 * gst/gstpad.c (gst_pad_set_blocked_async): More debug.
15965 * libs/gst/base/gstbasetransform.c
15966 (gst_base_transform_sink_eventfunc): When resetting our segment on
15967 FLUSH_STOP, also update the flag saying we haven't seen a
15970 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
15972 Patch by: Paolo Borelli <pborelli at katamail dot com>
15974 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
15975 (gst_plugin_check_license):
15976 minor clean-ups: G_DEFINE_TYPE already takes care of the
15977 parent_class stuff, no need to do it twice. Mark array of
15978 license strings as constant. (#337103)
15980 2006-04-04 Michael Smith <msmith@fluendo.com>
15982 * tools/gst-inspect.c: (print_element_list):
15983 Free the right plugin list; fixes a memory leak.
15985 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
15987 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
15989 * plugins/elements/gstfilesink.c: (gst_file_sink_render):
15990 Don't error out on empty buffers (#336945).
15992 2006-04-04 Jan Schmidt <thaytan@mad.scientist.com>
15994 * docs/libs/gstreamer-libs-sections.txt:
15995 * gst/gsttaglist.c:
15996 * libs/gst/base/gstbasesink.c:
15997 * libs/gst/base/gstbasesink.h:
15998 * libs/gst/base/gstbasesrc.c:
15999 * libs/gst/base/gstbasesrc.h:
16000 Documentation updates. Make BaseSink and BaseSrc docs contain the
16001 class structure so that people can actually see the prototypes for
16002 virtual functions they're supposed to be overriding.
16004 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
16006 * plugins/elements/gsttypefindelement.c:
16007 (gst_type_find_element_chain):
16008 More debug info; when skipping typefinding, send cached
16009 events in all cases.
16011 2006-04-01 Thomas Vander Stichele <thomas at apestaart dot org>
16014 use new AS_VERSION and AS_NANO macros
16015 * gst/gst-i18n-lib.h:
16018 * gst/gstversion.h.in:
16019 * win32/common/config.h:
16020 * win32/common/config.h.in:
16023 2006-03-31 Michael Smith <msmith@fluendo.com>
16025 * plugins/elements/gsttypefindelement.c:
16026 (gst_type_find_element_chain):
16027 Do not typefind content if the buffers already have caps.
16028 Neccesary for icydemux (#333657), and the right thing to do anyway.
16030 2006-03-30 Wim Taymans <wim@fluendo.com>
16032 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
16033 (gst_base_sink_finalize), (gst_base_sink_set_qos_enabled),
16034 (gst_base_sink_is_qos_enabled), (gst_base_sink_do_sync),
16035 (gst_base_sink_record_qos_observation),
16036 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
16037 (gst_base_sink_is_too_late), (gst_base_sink_render_object),
16038 (gst_base_sink_change_state):
16039 More QoS measurements as described in the design doc.
16040 Get rid of ringbuffer with observations, running average is
16041 more simple and equally good.
16042 Calculates valid proportion now.
16043 Added beginning of flood measurement.
16045 2006-03-29 Wim Taymans <wim@fluendo.com>
16047 * docs/design/part-qos.txt:
16049 Small documentation updates and additions.
16051 2006-03-29 Wim Taymans <wim@fluendo.com>
16053 * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
16054 (gst_base_src_send_event), (gst_base_src_loop),
16055 (gst_base_src_change_state):
16056 Perform the EOS logic when we reach the segment stop position.
16057 Fix compilation on gcc4.1
16059 2006-03-29 Wim Taymans <wim@fluendo.com>
16061 Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
16063 * plugins/elements/gstqueue.c: (gst_queue_init),
16064 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
16065 (gst_queue_set_property):
16066 * plugins/elements/gstqueue.h:
16067 In queue, when EOS is received, if minimum threshold > max_size -
16068 current_level, there is chance that queue blocks forever in conditional
16069 item del wait. This is because the queue is not emptied completely due
16070 to minimum threshold. Here is another approach. Instead of setting
16071 cur_levels to max in EOS, just zero all minimum threshold levels. This
16072 should make sure that queue gives out all data. When going to READY
16073 (stop) state, just reset the original minimum threshold levels.
16076 2006-03-29 Tim-Philipp Müller <tim at centricular dot net>
16078 * plugins/elements/gsttypefindelement.c: (stop_typefinding),
16079 (gst_type_find_element_handle_event),
16080 (gst_type_find_element_send_cached_events),
16081 (gst_type_find_element_change_state):
16082 * plugins/elements/gsttypefindelement.h:
16083 When typefinding is done in push mode, we should cache
16084 events we receive during typefinding instead of just
16085 dropping them (e.g. newsegment, custom events from
16086 dvdreadsrc etc.) and then send them out once we've
16087 determined the type of the stream (and decodebin
16088 has had a chance to plug in a decoder/demuxer).
16090 2006-03-27 Wim Taymans <wim@fluendo.com>
16092 * docs/design/part-qos.txt:
16095 2006-03-27 Wim Taymans <wim@fluendo.com>
16097 Inspired by a patch of: Lutz Mueller <lutz at topfrose dot de>
16099 * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
16100 (gst_base_src_send_event), (gst_base_src_change_state):
16101 Handle element seek correctly when we are streaming.
16104 2006-03-24 Michael Smith <msmith@fluendo.com>
16106 * docs/faq/gst-uninstalled:
16107 Set up LD_LIBRARY_PATH to point at all the gstreamer libs. This will
16108 allow you to correctly run intalled applications built against old
16109 core, using plugins that require updated core (e.g. running
16110 installed totem against a full uninstalled gstreamer stack)
16112 2006-03-24 Stefan Kost <ensonic@users.sf.net>
16114 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
16117 2006-03-24 Wim Taymans <wim@fluendo.com>
16119 * docs/gst/gstreamer-sections.txt:
16120 Rearrange the order of the methods so that related methods
16121 are grouped together in sections.
16123 2006-03-24 Stefan Kost <ensonic@users.sf.net>
16125 * gst/gstelement.c:
16126 Little clarification in the docs
16128 2006-03-24 Stefan Kost <ensonic@users.sf.net>
16132 * plugins/elements/gstidentity.c:
16133 * plugins/elements/gstqueue.c:
16134 * plugins/elements/gsttee.c:
16135 * plugins/elements/gsttypefindelement.c:
16136 GST_ELEMENT_DETAILS formatting
16138 2006-03-24 Wim Taymans <wim@fluendo.com>
16140 * libs/gst/base/gstbasesink.h:
16141 Only add fields, not insert or we break ABI.
16143 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
16145 * win32/common/libgstbase.def:
16146 * win32/common/libgstreamer.def:
16147 Update, add recently added functions.
16149 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
16151 * docs/gst/gstreamer-sections.txt:
16152 * gst/gstutils.c: (gst_pad_query_peer_position),
16153 (gst_pad_query_peer_duration), (gst_pad_query_peer_convert):
16155 API: add some new utility functions:
16156 - gst_pad_query_peer_position()
16157 - gst_pad_query_peer_duration()
16158 - gst_pad_query_peer_convert()
16160 2006-03-23 Wim Taymans <wim@fluendo.com>
16162 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
16163 (gst_base_sink_init), (gst_base_sink_finalize),
16164 (gst_base_sink_set_qos_enabled), (gst_base_sink_is_qos_enabled),
16165 (gst_base_sink_set_property), (gst_base_sink_get_property),
16166 (gst_base_sink_commit_state), (gst_base_sink_get_sync_times),
16167 (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
16168 (gst_base_sink_add_qos_observation), (gst_base_sink_send_qos),
16169 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
16170 (gst_base_sink_is_too_late), (gst_base_sink_render_object),
16171 (gst_base_sink_preroll_object), (gst_base_sink_event),
16172 (gst_base_sink_chain_unlocked), (gst_base_sink_get_position_last),
16173 (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
16174 (gst_base_sink_query), (gst_base_sink_change_state):
16175 Decouple max-lateness and the fact that QoS messages are generated
16176 with a new property (qos).
16177 added API: GstBaseSink::async_play()
16178 Add vmethod so subclasses can be notified of ASYNC playing
16180 Collect timestamp start and stop to report better current
16181 position in EOS/PLAYING/PAUSED/READY/NULL.
16182 Refactor QoS/frame dropping and other measurements.
16183 API: GstBaseSrc::qos
16186 * libs/gst/base/gstbasesink.h:
16187 Added Private struct.
16188 API: gst_base_sink_set_qos_enabled()
16189 API: gst_base_sink_is_qos_enabled()
16191 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
16193 * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
16194 If compiling against GLib-2.8 or newer, try to read the
16195 registry file using GMappedFile first before falling back
16196 to fopen() + fread() (#332151).
16198 2006-03-22 Wim Taymans <wim@fluendo.com>
16200 * gst/gstinfo.c: (gst_debug_set_active),
16201 (gst_debug_category_set_threshold):
16202 Disable debugging unless explicitly activated.
16205 2006-03-22 Wim Taymans <wim@fluendo.com>
16207 * gst/gstelement.c: (gst_element_set_locked_state),
16208 (gst_element_dispose):
16209 Cleanup the error case.
16211 * gst/gstobject.c: (gst_object_dispose):
16212 print a critical when some object was disposed with
16213 a parent, also revive the object since it might
16216 2006-03-22 Tim-Philipp Müller <tim at centricular dot net>
16218 * tools/gst-launch.1.in:
16221 2006-03-21 Thomas Vander Stichele <thomas at apestaart dot org>
16224 * tests/check/Makefile.am:
16225 disable some tests when we don't have a registry
16226 * tests/check/gst/gstutils.c: (gst_utils_suite):
16227 don't build the part that needs parsing
16229 2006-03-21 Thomas Vander Stichele <thomas at apestaart dot org>
16232 * tests/examples/Makefile.am:
16233 fix --disable-parse build
16235 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
16237 * tools/gst-feedback.1.in:
16238 Fix typo: s/feeback/feedback/ (#133494).
16240 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
16242 * tools/Makefile.am:
16243 * tools/gst-launch.1.in:
16244 Add FILES section and correct entry about GST_REGISTRY_PATH
16245 environment variable (#133495; #133494).
16247 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
16249 * tools/Makefile.am:
16250 * tools/gst-md5sum.1.in:
16251 * tools/gst-md5sum.c:
16252 Remove gst-md5sum and man page (the md5sink element
16253 required was removed ages ago)
16255 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
16257 * gst/gststructure.c: (gst_structure_id_set_value):
16258 Make sure that string fields in structures/taglists
16259 contain valid UTF-8 - we don't want to pass rubbish to
16260 applications because of a buggy plugin (cp. #334167).
16262 2006-03-21 Edward Hervey <edward@fluendo.com>
16264 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
16265 (gst_bin_handle_message_func):
16266 * gst/gstclock.c: (gst_clock_dispose), (gst_clock_set_master):
16267 * gst/gstelement.c: (gst_element_set_clock), (gst_element_dispose),
16268 (gst_element_set_bus_func):
16269 * gst/gstghostpad.c: (gst_proxy_pad_dispose):
16270 * gst/gstminiobject.c: (gst_value_set_mini_object),
16271 (gst_value_take_mini_object):
16272 * gst/gstpad.c: (gst_pad_set_pad_template):
16273 * gst/gstpipeline.c: (gst_pipeline_dispose),
16274 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
16275 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop),
16276 (gst_collect_pads_chain):
16277 * libs/gst/net/gstnettimeprovider.c:
16278 (gst_net_time_provider_set_property):
16279 Series of fixes for dereferenced pointers that gcc 4.1 complains about.
16280 It's in fact all issues with gst_*object_replace().
16282 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
16284 Patch by: Loïc Minier <lool + gnome at via dot ecp dot fr>
16286 * pkgconfig/gstreamer-check-uninstalled.pc.in:
16287 * pkgconfig/gstreamer-check.pc.in:
16288 Use @CHECK_LIBS@ here instead of hard-coding -lcheck (#334109).
16290 2006-03-21 Edward Hervey <edward@fluendo.com>
16294 * gst/gstmessage.h:
16295 gst_[buffer|event|message]_ref() macros are replaced by a static
16296 inline functions because gcc-4.1 will about if the return value
16298 * tests/check/gst/gstevent.c: (event_probe):
16299 gst_event_ref now has to be given a GstEvent* , fix check accordingly.
16301 2006-03-20 Jan Schmidt <thaytan@mad.scientist.com>
16304 Add G_UNLIKELY to our boilerplate to optimise the 'already registered
16305 the type' case. (Closes: #335195 for now). In the future, when we
16306 depend on GLib 2.10, we could also intern the type name using
16307 g_intern_static_string()
16309 2006-03-20 Wim Taymans <wim@fluendo.com>
16311 * gst/gstbin.c: (gst_bin_handle_message_func),
16312 (bin_query_max_init), (bin_query_position_fold),
16313 (bin_query_position_done), (gst_bin_query):
16314 Position query should also take max of all streams.
16316 2006-03-20 Wim Taymans <wim@fluendo.com>
16318 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
16319 (gst_fake_src_finalize):
16320 Fix leaks in fakesrc.
16322 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
16323 Fix leaks in the testcase.
16325 2006-03-19 Sebastien Moutte <sebastien@moutte.net>
16327 * gst/gst_private.h:
16328 add win32 specific import decoration(__declspec(dllimport))
16329 for all extern GstDebugCategory * variables
16330 * win32/common/libgstbase.def:
16331 * win32/common/libgstcontroller.def:
16332 * win32/common/libgstreamer.def:
16333 Add some exports, remove empty lines
16334 * win32/common/libgstdataprotocol.def:
16335 * win32/common/libgstdataprotocol.dsp:
16336 * win32/common/libgstnet.def:
16337 * win32/common/libgstnet.dsp:
16338 new project files and exportation files added
16340 2006-03-19 Wim Taymans <wim@fluendo.com>
16342 * tests/check/libs/basesrc.c: (eos_event_counter):
16343 Use proper return value for probe.
16345 2006-03-17 Wim Taymans <wim@fluendo.com>
16347 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
16349 Don't leak buffers, caps and pads on negotiation errors.
16351 2006-03-16 Stefan Kost <ensonic@users.sf.net>
16353 * docs/faq/cvs.xml:
16354 * docs/faq/dependencies.xml:
16355 * docs/faq/developing.xml:
16356 * docs/faq/faq.xml:
16357 * docs/faq/general.xml:
16358 * docs/faq/getting.xml:
16359 * docs/faq/legal.xml:
16360 * docs/faq/troubleshooting.xml:
16361 * docs/faq/using.xml:
16362 Faq review and update.
16364 2006-03-16 Jan Schmidt <thaytan@mad.scientist.com>
16366 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
16368 Don't pound the cpu to pieces by checking get_caps when accept_caps
16369 is called with the same caps as the pad already has.
16370 Use GST_DEBUG_OBJECT when outputting caps change information.
16372 2006-03-15 Wim Taymans <wim@fluendo.com>
16374 * gst/gstclock.c: (gst_clock_class_init):
16377 2006-03-15 Jan Schmidt <thaytan@mad.scientist.com>
16382 * gst/gstpad.c: (gst_pad_init), (gst_pad_acceptcaps_default),
16383 (gst_pad_accept_caps), (gst_pad_configure_sink),
16384 (gst_pad_configure_src), (gst_pad_chain), (gst_pad_push):
16385 Make the default acceptcaps behaviour be to check the requested
16386 caps against the gst_pad_get_caps output.
16388 Ensure that gst_pad_accept_caps is used to check caps when a pad
16389 doesn't have a setcaps function, so that pads automatically refuse
16390 caps that they don't allow in their pad template. (Fixes #332986)
16392 When a buffer with attached caps is pushed, ensure that the source
16393 pad receives those caps even if the element didn't call
16394 gst_pad_set_caps first.
16396 2006-03-15 Wim Taymans <wim@fluendo.com>
16398 * libs/gst/base/gstadapter.c:
16401 2006-03-15 Tim-Philipp Müller <tim at centricular dot net>
16403 * win32/common/libgstbase.def:
16404 * win32/common/libgstcontroller.def:
16405 * win32/common/libgstreamer.def:
16406 Add a whole bunch of missing functions (#334434).
16408 2006-03-14 Wim Taymans <wim@fluendo.com>
16410 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
16411 (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
16412 (gst_base_sink_do_sync), (gst_base_sink_do_qos):
16413 Better debug info when we receive a segment event.
16414 Reorganize a bit so we can pass the get_times() results around.
16415 Use the segment format when calculating the running time.
16416 Don't do QoS is sync is disabled or we have no clock or the
16417 element does not want us to sync to the clock.
16418 Don't drop buffers if QoS is disabled for now.
16420 2006-03-14 Wim Taymans <wim@fluendo.com>
16422 * gst/gstclock.c: (gst_clock_class_init), (do_linear_regression):
16423 Marked the stats property as unimplemented so people don't get
16425 Add debug message when regression goes wrong.
16426 Added some more docs.
16428 2006-03-14 Wim Taymans <wim@fluendo.com>
16430 * gst/gstsegment.c: (gst_segment_to_stream_time):
16431 Return correct return type in case of errors.
16433 2006-03-14 Wim Taymans <wim@fluendo.com>
16435 * gst/gstformat.c: (gst_format_get_name), (gst_format_to_quark):
16436 Don't segfault on invalid formats.
16438 2006-03-14 Tim-Philipp Müller <tim at centricular dot net>
16440 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
16441 Can't use gst_segment_to_running_time() when the segment
16442 is not in GST_TIME_FORMAT (like with filesink, for example).
16443 Stops flac encoding pipelines from spewing critical warnings
16446 2006-03-14 Tim-Philipp Müller <tim at centricular dot net>
16448 * gst/gstpipeline.c: (gst_pipeline_class_init):
16449 Add 'Since: 0.10.5' to gtk-doc blurb for added property.
16451 * plugins/elements/gsttypefindelement.c:
16452 (gst_type_find_element_handle_event):
16453 Don't try to typefind empty streams.
16455 2006-03-14 Wim Taymans <wim@fluendo.com>
16457 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
16458 (gst_base_sink_do_qos):
16459 Separate QoS calculation.
16460 Only drop buffers when lateness is bigger than the
16461 duration of the buffer.
16463 2006-03-13 Wim Taymans <wim@fluendo.com>
16465 * gst/gstpipeline.c: (gst_pipeline_set_property),
16466 (gst_pipeline_get_property), (do_pipeline_seek),
16467 (gst_pipeline_change_state), (gst_pipeline_set_delay),
16468 (gst_pipeline_get_delay):
16469 Don't deadlock when reading properties.
16471 2006-03-13 Wim Taymans <wim@fluendo.com>
16473 * libs/gst/base/gstbasetransform.c:
16474 (gst_base_transform_class_init), (gst_base_transform_init),
16475 (gst_base_transform_sink_event),
16476 (gst_base_transform_sink_eventfunc),
16477 (gst_base_transform_src_event), (gst_base_transform_src_eventfunc),
16478 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
16479 (gst_base_transform_set_property),
16480 (gst_base_transform_get_property),
16481 (gst_base_transform_change_state), (gst_base_transform_update_qos),
16482 (gst_base_transform_set_qos_enabled),
16483 (gst_base_transform_is_qos_enabled):
16484 * libs/gst/base/gstbasetransform.h:
16485 Make basetransform virtual method for src events too.
16486 Handle QOS in basetransform.
16487 API: gst_base_transform_update_qos()
16488 API: gst_base_transform_set_qos_enabled()
16489 API: gst_base_transform_is_qos_enabled()
16491 2006-03-13 Wim Taymans <wim@fluendo.com>
16493 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
16494 (gst_base_sink_do_sync):
16496 Use QOS debug category.
16498 2006-03-13 Wim Taymans <wim@fluendo.com>
16500 * plugins/elements/gstqueue.c:
16501 Very small doc update.
16503 2006-03-13 Wim Taymans <wim@fluendo.com>
16505 * gst/gst_private.h:
16506 * gst/gstinfo.c: (_gst_debug_init):
16507 Added QOS debug category
16509 2006-03-13 Wim Taymans <wim@fluendo.com>
16511 * docs/gst/gstreamer-sections.txt:
16512 * gst/gstbin.c: (bin_bus_handler), (gst_bin_handle_message_func):
16514 * gst/gstbus.c: (gst_bus_class_init):
16517 * gst/gstelement.c: (gst_element_set_locked_state):
16518 * gst/gstsegment.c:
16519 Documentation updates.
16521 * gst/gstpipeline.c: (gst_pipeline_get_type),
16522 (gst_pipeline_class_init), (gst_pipeline_init),
16523 (gst_pipeline_dispose), (gst_pipeline_set_property),
16524 (gst_pipeline_get_property), (do_pipeline_seek),
16525 (gst_pipeline_send_event), (gst_pipeline_change_state),
16526 (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay),
16527 (gst_pipeline_get_delay):
16528 * gst/gstpipeline.h:
16529 Added methods for setting the delay.
16530 API: gst_pipeline_set_delay()
16531 API: gst_pipeline_get_delay()
16532 Add pipeline debug category
16535 Don't reset stream time when seek failed.
16537 2006-03-13 Wim Taymans <wim@fluendo.com>
16539 * docs/design/draft-klass.txt:
16540 * docs/design/part-clocks.txt:
16541 * docs/design/part-events.txt:
16542 * docs/design/part-gstbin.txt:
16543 * docs/design/part-gstpipeline.txt:
16544 * docs/design/part-messages.txt:
16545 * docs/design/part-negotiation.txt:
16546 * docs/design/part-overview.txt:
16547 * docs/design/part-preroll.txt:
16548 * docs/design/part-seeking.txt:
16549 * docs/design/part-states.txt:
16550 * docs/design/part-streams.txt:
16551 Documentation updates.
16553 2006-03-12 Julien MOUTTE <julien@moutte.net>
16555 * gst/gsttaglist.c: Fix rubbish docs that are encouraging
16556 us to leak strings...
16558 2006-03-12 Thomas Vander Stichele <thomas at apestaart dot org>
16560 * libs/gst/net/gstnettimeprovider.c:
16562 * win32/common/config.h:
16565 2006-03-12 Tim-Philipp Müller <tim at centricular dot net>
16567 Patch by: Julio M. Merino Vidal <jmmv at netbsd org>
16570 Don't check for libgnomeui (leftover from old examples
16571 that aren't built or disted any longer) (#334303).
16573 2006-03-11 Tim-Philipp Müller <tim at centricular dot net>
16575 * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
16576 * plugins/elements/gstfilesink.c: (gst_file_sink_render):
16577 Emit RESOURCE_NO_SPACE_LEFT error here as well when
16578 there's no space left on the device.
16580 2006-03-10 Tim-Philipp Müller <tim at centricular dot net>
16583 Fix GST_CLOCK_TIME_IS_VALID signedness issues - we need
16584 to cast the input to GstClockTime before comparing with
16585 another GstClockTime value.
16587 2006-03-10 Thomas Vander Stichele <thomas at apestaart dot org>
16592 === release 0.10.4 ===
16594 2006-03-10 Thomas Vander Stichele <thomas at apestaart dot org>
16597 releasing 0.10.4, "Light"
16599 2006-03-10 Michael Smith <msmith@fluendo.com>
16601 * libs/gst/dataprotocol/dataprotocol.c:
16602 Fix docs for dataprocotol to not get the return types completely
16603 wrong for a few functions.
16605 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
16607 * docs/gst/gstreamer-sections.txt:
16608 * gst/gstpipeline.c: (gst_pipeline_class_init),
16609 (gst_pipeline_init), (gst_pipeline_set_property),
16610 (gst_pipeline_get_property), (gst_pipeline_change_state),
16611 (gst_pipeline_set_auto_flush_bus),
16612 (gst_pipeline_get_auto_flush_bus):
16613 * gst/gstpipeline.h:
16614 Add new API: gst_pipeline_set_auto_flush_bus() and
16615 gst_pipeline_get_auto_flush_bus() to disable automatic
16616 flushing of the pipeline's GstBus when going from READY
16617 to NULL state (#332045).
16619 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
16621 * docs/gst/gstreamer-sections.txt:
16622 * gst/gsturi.c: (gst_uri_has_protocol):
16624 Add new API: gst_uri_has_protocol() (#333779).
16626 2006-03-09 Wim Taymans <wim@fluendo.com>
16628 * gst/gstclock.c: (gst_clock_entry_new),
16629 (gst_clock_id_compare_func), (gst_clock_id_wait),
16630 (gst_clock_id_wait_async), (gst_clock_id_unschedule),
16631 (gst_clock_init), (gst_clock_get_internal_time),
16632 (gst_clock_set_master), (do_linear_regression),
16633 (gst_clock_add_observation), (gst_clock_set_property):
16637 Fix a possible segfault when the window-size is made smaller.
16638 Calculate jitter before performing the clock wait. Ideally
16639 the clock implementation should calculate jitter but we need
16640 API breakage for that.
16642 * gst/gstsystemclock.c: (gst_system_clock_init):
16645 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
16646 Remove leftover else
16648 * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
16649 (gst_systemclock_suite):
16650 Added check to test GST_CLOCK_DIFF.
16652 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
16654 * libs/gst/base/gsttypefindhelper.c: (helper_find_get_length),
16655 (gst_type_find_helper_get_range):
16656 If we are provided with the size, we should implement
16657 GstTypeFind::get_length, so that typefind functions who
16658 want to can actually peek at the middle of a file.
16660 2006-03-08 Tim-Philipp Müller <tim at centricular dot net>
16662 * docs/manual/advanced-dataaccess.xml:
16663 Add some very very basic error checking.
16665 * docs/pwg/appendix-checklist.xml:
16666 Some updates to the list of things to check when writing an element.
16668 2006-03-08 Wim Taymans <wim@fluendo.com>
16670 * docs/design/part-element-transform.txt:
16671 Added some docs about the design of tranform elements.
16673 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
16674 (gst_base_src_loop), (gst_base_src_change_state):
16675 Mark buffers with the DISCONT flag.
16677 2006-03-08 Michael Smith <msmith@fluendo.com>
16679 * gst/gstregistry.h:
16680 * gst/gstregistryxml.c: (gst_registry_save),
16681 (gst_registry_save_escaped), (gst_registry_xml_save_caps),
16682 (gst_registry_xml_save_pad_template),
16683 (gst_registry_xml_save_feature), (gst_registry_xml_save_plugin),
16684 (gst_registry_xml_write_cache):
16685 Rewrite registry-saving to avoid race conditions and check for
16688 2006-03-08 Wim Taymans <wim@fluendo.com>
16690 * libs/gst/base/gstbasetransform.c:
16691 (gst_base_transform_transform_caps),
16692 (gst_base_transform_transform_size),
16693 (gst_base_transform_prepare_output_buffer),
16694 (gst_base_transform_get_unit_size),
16695 (gst_base_transform_buffer_alloc),
16696 (gst_base_transform_handle_buffer),
16697 (gst_base_transform_change_state):
16698 Cleanups, separate normal flow from errors, add sensible
16700 Don't try to renegotiate when allocating an output buffer.
16701 Also copy DISCONT buffer flag when copying a buffer.
16702 Reset the transform after we finish streaming, not during.
16704 2006-03-08 Wim Taymans <wim@fluendo.com>
16706 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
16707 Use last buffer timestamp in qos message.
16709 2006-03-07 Wim Taymans <wim@fluendo.com>
16711 Patch by: Christophe Fergeau
16713 * docs/pwg/advanced-tagging.xml:
16714 * docs/pwg/building-pads.xml:
16717 2006-03-07 Wim Taymans <wim@fluendo.com>
16719 * docs/libs/gstreamer-libs-sections.txt:
16720 Added basesink new methods.
16724 Docs updates. Flesh out the QoS docs.
16726 * libs/gst/base/gstadapter.c:
16727 Small doc clarification about ownership and flushing.
16729 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_sync),
16730 (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
16731 (gst_base_sink_get_max_lateness), (gst_base_sink_set_property),
16732 (gst_base_sink_get_property), (gst_base_sink_do_sync):
16733 * libs/gst/base/gstbasesink.h:
16735 Added new methods to allow subclass to control max-lateness
16737 Generate very basic QoS events based on last sync observation.
16738 Updated docs, fix typo, added some QoS blurb.
16740 * libs/gst/base/gstbasesrc.c:
16741 Remove obsolete _get_state() calls from docs.
16743 2006-03-07 Wim Taymans <wim@fluendo.com>
16745 * docs/libs/gstreamer-libs-sections.txt:
16746 * libs/gst/base/gstbasetransform.h:
16747 API addition: Fix #333669, Add pad accessor defines for GstBaseTransform
16748 Fix docs for GstBaseSrc.
16750 2006-03-07 Wim Taymans <wim@fluendo.com>
16752 * docs/gst/gstreamer-sections.txt:
16755 * libs/gst/base/gstbasetransform.h:
16756 Small documentation fixes.
16758 2006-03-07 Tim-Philipp Müller <tim at centricular dot net>
16761 Document thread-unsafety of gst_value_register_foo_func()
16762 when used at the same time as gst_value_foo() (#322628).
16764 2006-03-07 Tim-Philipp Müller <tim at centricular dot net>
16766 * libs/gst/base/gstpushsrc.c: (gst_push_src_class_init),
16767 (gst_push_src_check_get_range):
16768 Push sources don't support pull mode by default.
16770 2006-03-06 Tim-Philipp Müller <tim at centricular dot net>
16772 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
16773 (gst_base_src_init), (gst_base_src_pad_check_get_range),
16774 (gst_base_src_default_check_get_range):
16775 * libs/gst/base/gstbasesrc.h:
16776 API addition: Add ::check_get_range() vfunc to GstBaseSrc (#332611),
16777 provide default implementation, and rename
16778 gst_base_src_check_get_range() to
16779 gst_base_src_pad_check_get_range() for clarity.
16781 2006-03-06 Wim Taymans <wim@fluendo.com>
16783 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
16784 Make property overridable.
16786 2006-03-06 Wim Taymans <wim@fluendo.com>
16788 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
16789 (gst_base_sink_init), (gst_base_sink_set_property),
16790 (gst_base_sink_get_property), (gst_base_sink_do_sync):
16791 * libs/gst/base/gstbasesink.h:
16792 API addition: Make max-lateness a property.
16794 2006-03-06 Wim Taymans <wim@fluendo.com>
16796 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock),
16797 (gst_base_sink_do_sync), (gst_base_sink_render_object):
16798 Don't ever draw a frame that is >10ms late.
16800 2006-03-06 Michael Smith <msmith@fluendo.com>
16802 * gst/gstmessage.c: (_gst_message_copy):
16803 When copying a message, set the parent_refcount of the enclosed
16804 structure to point at the copy, not the original message.
16806 2006-03-06 Tim-Philipp Müller <tim at centricular dot net>
16808 Patch by: Christophe Fergeau
16811 Do proper cast here to make GST_BOILERPLATE_WITH_INTERFACE
16812 usable in c++ code (#333417)
16814 2006-03-06 Thomas Vander Stichele <thomas at apestaart dot org>
16817 Show GST_CLOCK_TIME_NONE as 99:99:99.999999999
16819 2006-03-05 Tim-Philipp Müller <tim at centricular dot net>
16821 * libs/gst/base/gstbasetransform.c:
16822 (gst_base_transform_transform_caps):
16823 Make sure caps are writable before passing them to
16826 2006-03-04 Tim-Philipp Müller <tim at centricular dot net>
16829 Fix some minor docs errors.
16831 2006-03-04 Tim-Philipp Müller <tim at centricular dot net>
16833 Patch by: Ross Burton <ross at burtonini dot com>
16835 * gst/gsterror.c: (_gst_resource_errors_init):
16837 Add GST_RESOURCE_ERROR_NO_SPACE_LEFT (for #333352;
16839 2006-03-03 Jan Schmidt <thaytan@mad.scientist.com>
16842 Add a check and output a g_warning when GStreamer is built
16843 against GLib 2.6 but running against 2.8 or higher, and vice
16844 versa. (Closes: #323542)
16846 2006-03-03 Jan Schmidt <thaytan@mad.scientist.com>
16848 * gst/parse/parse.l:
16849 Commit patch for parse_launch syntax from #331255. Removes
16850 support for quoted strings and mimetypes when writing filtered
16851 caps. See the bug report for more details - I'm pretty sure this
16852 obscure feature is not in use by _anyone_ anywhere.
16854 With this simple change, the size of the gstreamer.so here
16855 drops from 2193KB to 1565KB.
16857 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
16859 * plugins/elements/gsttypefindelement.h:
16860 * plugins/elements/gsttypefindelement.c:
16861 (gst_type_find_element_src_event), (start_typefinding),
16862 (stop_typefinding), (gst_type_find_element_handle_event),
16863 (gst_type_find_element_chain),
16864 (gst_type_find_element_chain_do_typefinding):
16865 Use gst_type_find_helper_for_buffer() for chain-based
16868 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
16870 * plugins/elements/gsttypefindelement.c:
16871 (gst_type_find_element_class_init),
16872 (gst_type_find_element_set_property),
16873 (gst_type_find_element_get_property):
16874 Deprecate "maximum" property (not only was it only taken into
16875 account for typefinding in push-mode anyway, it also was never
16876 actually possible to set it in the first place because the
16877 property was registered with the numeric property ID for the
16878 "minimum" property). Register "maximum" property correctly,
16879 for the sake of future copy'n'pasters. Remove some cruft
16880 from property get/set functions.
16882 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
16884 * plugins/elements/gsttypefindelement.c:
16885 (gst_type_find_element_activate):
16886 Use gst_type_find_helper_get_range() here, so we
16887 can honour the "minimum" property and also emit
16888 the signal with the correct probability of the found caps.
16890 2006-03-02 Tim-Philipp Müller <tim at centricular dot net>
16892 * docs/libs/gstreamer-libs-sections.txt:
16893 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
16894 (helper_find_suggest), (gst_type_find_helper_get_range),
16895 (gst_type_find_helper):
16896 * libs/gst/base/gsttypefindhelper.h:
16897 New API: gst_type_find_helper_get_range() (#333042).
16899 2006-03-02 Michael Smith <msmith@fluendo.com>
16901 * gst/gstregistryxml.c: (load_feature):
16902 Asserting on a failure to read part of the registry is Not Cool.
16903 Just log a warning and return NULL (which is already handled)
16905 2006-02-28 Sebastien Moutte <sebastien@moutte.net>
16907 * win32/common/libgstbase.def:
16908 added export of gst_type_find_helper_for_buffer
16909 * win32/common/libgstbase.def:
16910 added some exports : gst_bin_iterate_elements, gst_iterator_resync,
16911 gst_ghost_pad_get_target
16913 2006-02-28 Wim Taymans <wim@fluendo.com>
16915 * docs/design/draft-klass.txt:
16917 Added Connector to mark elements that are only used to
16918 allow pipeline connections.
16919 Moved Debug to extra feature since most of them are
16920 functionally something else.
16922 2006-02-28 Wim Taymans <wim@fluendo.com>
16924 * docs/design/draft-klass.txt:
16925 Some updates and clarifications.
16927 2006-02-28 Wim Taymans <wim@fluendo.com>
16929 * docs/design/draft-klass.txt:
16930 Proposal for klass field values.
16932 * docs/design/part-streams.txt:
16933 Start of a doc describing stream anatomy.
16935 2006-02-28 Wim Taymans <wim@fluendo.com>
16937 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_handle_message_func):
16938 Help the compiler a bit with type registration.
16939 Use existing forward cod path instead of duplicating it when
16940 handling a message.
16942 * gst/gstbus.c: (gst_bus_get_type):
16943 * gst/gstcaps.c: (gst_caps_get_type), (gst_static_caps_get_type):
16944 * gst/gstchildproxy.c: (gst_child_proxy_get_type):
16945 * gst/gstclock.c: (gst_clock_get_type):
16946 * gst/gstelement.c: (gst_element_get_type),
16947 * gst/gstelementfactory.c: (gst_element_factory_get_type):
16948 * gst/gstindexfactory.c: (gst_index_factory_get_type):
16949 * gst/gstminiobject.c: (gst_mini_object_get_type):
16950 * gst/gstpad.c: (gst_pad_get_type):
16951 * gst/gstsegment.c: (gst_segment_get_type):
16952 * gst/gststructure.c: (gst_structure_get_type):
16953 * gst/gstsystemclock.c: (gst_system_clock_get_type):
16954 * gst/gsttask.c: (gst_task_get_type), (gst_task_join):
16956 Help compiler with type registration.
16958 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
16961 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
16963 * plugins/elements/gsttypefindelement.c:
16964 (gst_type_find_element_handle_event):
16965 When we get an EOS event and have not found a type yet
16966 (most likely because we had not yet accumulated
16967 TYPE_FIND_MIN_SIZE of data yet), try to determine the
16968 type given the data we have so far. Fixes typefinding
16969 for very short streams again, most notably quicktime
16970 redirections as used on Apple's trailer site (#331701).
16972 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
16974 * libs/gst/base/gsttypefindhelper.c: (type_find_factory_rank_cmp),
16975 (gst_type_find_helper):
16976 Try typefinding factories with the highest rank first.
16978 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
16980 * docs/libs/gstreamer-libs-docs.sgml:
16981 * docs/libs/gstreamer-libs-sections.txt:
16982 * libs/gst/base/gsttypefindhelper.c:
16983 Add section for typefind helper and add documentation
16984 for the old and the new function.
16986 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
16988 * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek),
16989 (buf_helper_find_suggest), (type_find_factory_rank_cmp),
16990 (gst_type_find_helper_for_buffer):
16991 * libs/gst/base/gsttypefindhelper.h:
16992 New API: gst_type_find_helper_for_buffer() (#332723).
16994 2006-02-27 Michael Smith <msmith@fluendo.com>
16996 Patch by: Loïc Minier
16999 * docs/Makefile.am:
17000 * docs/slides/Makefile.am:
17001 prevent CVS directories getting disted.
17003 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
17005 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref):
17006 Use the REFCOUNTING category for caps refcounting.
17008 2006-02-26 Tim-Philipp Müller <tim at centricular dot net>
17010 * plugins/elements/gsttypefindelement.c: (stop_typefinding):
17011 This should be 0 not GST_CLOCK_TIME_NONE (see #331701).
17013 2006-02-26 Tim-Philipp Müller <tim at centricular dot net>
17015 * plugins/elements/gsttypefindelement.c:
17016 (gst_type_find_element_activate):
17017 Use gst_pad_check_pull_range() before _activate_pull()
17018 to avoid unnecessary open/close (see #331690).
17020 2006-02-24 Tim-Philipp Müller <tim at centricular dot net>
17023 Docs enhancement: make it crystal clear what the
17024 gst_pad_add_*_probe() callbacks should look like.
17026 2006-02-24 Tim-Philipp Müller <tim at centricular dot net>
17028 * libs/gst/base/gstbasesrc.c:
17029 Document how applications can stop recording from
17030 live sources (see #330996).
17032 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
17034 * tests/check/Makefile.am:
17035 * tests/check/libs/basesrc.c: (eos_event_counter),
17036 (basesrc_eos_events_pull), (basesrc_eos_events_push),
17037 (basesrc_eos_events_push_live_op), (basesrc_eos_events_pull_live_op),
17038 (gst_basesrc_suite), (main):
17039 ... and add some tests for the base source EOS stuff.
17041 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
17043 * tests/check/gst/gstutils.c: (test_buffer_probe_n_times):
17044 Test case originally showed the problem fixed below,
17045 but was then amended. Add checks back at the place
17046 where they used to be.
17048 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
17050 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
17051 (gst_base_src_init), (gst_base_src_loop),
17052 (gst_base_src_activate_push), (gst_base_src_activate_pull),
17053 (gst_base_src_change_state):
17054 * libs/gst/base/gstbasesrc.h:
17055 Don't unconditionally send EOS when going from PAUSED to
17056 READY state, esp. make sure we don't send two EOS events
17057 in some cases (e.g. one when reaching EOS and one when
17058 going from PAUSED to READY). Also, we don't want to send
17059 EOS events when operating in pull mode. However, we do
17060 want to send an EOS event when shutting down a live
17061 source explicitly, for example (fixes #330996).
17063 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
17065 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
17066 Update src->read_position after a seek when not using mmap.
17067 Fixes #332277, patch by: Renchi Raju <renchi gmail com>
17069 2006-02-21 Jan Schmidt <thaytan@mad.scientist.com>
17075 Make things work with --disable-parse as they do with
17076 --disable-load-save - the symbols involved disappear, but the
17077 header is still installed and GST_DISABLE_PARSE is included via
17080 2006-02-20 Julien MOUTTE <julien@moutte.net>
17082 * libs/gst/base/gstbasetransform.c:
17083 (gst_base_transform_change_state): Fix a stupid bug. I was
17084 sure I compiled that.
17086 2006-02-20 Julien MOUTTE <julien@moutte.net>
17088 * gst/gstpad.c: (gst_pad_set_blocked_async):
17089 * gst/gstutils.c: (gst_pad_add_data_probe),
17090 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
17091 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
17092 (gst_pad_remove_buffer_probe): Make those function act on the
17093 ghostpad target when it's a ghostpad. (Closes #331727)
17095 2006-02-20 Julien MOUTTE <julien@moutte.net>
17097 * libs/gst/base/gstbasetransform.c:
17098 (gst_base_transform_change_state): Make basetransform reusable.
17101 2006-02-20 Jan Schmidt <thaytan@mad.scientist.com>
17103 * docs/random/release:
17104 Move the current documentation of how to do a release to the top
17107 * gst/gstbin.c: (gst_bin_class_init),
17108 (gst_bin_handle_message_func):
17109 Allow multiple state-recalculation threads. (Closes #328873)
17111 2006-02-19 Julien MOUTTE <julien@moutte.net>
17113 * gst/gstinfo.h: Add GST_STR_NULL to the second string.
17114 * gst/gstpad.c: (gst_pad_set_event_function),
17115 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
17116 (gst_pad_set_getcaps_function): GST_DEBUG_PAD_NAME evaluates to
17117 2 strings. You can't use the STR_NULL macro on that.
17119 2006-02-19 Sebastien Moutte <sebastien@moutte.net>
17121 * gst/gstpad.c: (gst_pad_set_event_function),
17122 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
17123 (gst_pad_set_getcaps_function)
17124 * gst/parse/grammar.y: (gst_parse_found_pad), (gst_parse_perform_delayed_link)
17125 Fixed NULL pointer used in GST_CAT_DEBUG using GST_STR_NULL macro
17126 So now, we can use --gst-debug-level=5 on Windows
17127 * win32/common/libgstcontroller.def:
17128 Added export of gst_controller_init
17129 * win32/vs6/libgstcontroller.dsp:
17130 Fixed Release post build configuration
17132 2006-02-17 Wim Taymans <wim@fluendo.com>
17134 * tests/check/gst/gstquery.c: (GST_START_TEST):
17135 Added another check.
17137 2006-02-15 Tim-Philipp Müller <tim at centricular dot net>
17139 * plugins/elements/gsttypefindelement.c: (find_peek):
17140 We can do peeks at non-zero offsets, as long as they
17141 fall within the buffer we have.
17143 2006-02-15 Jan Schmidt <thaytan@mad.scientist.com>
17145 * tests/check/Makefile.am:
17146 * tests/check/pipelines/parse-launch.c: (setup_pipeline),
17147 (expected_fail_pipe), (check_pipeline_runs), (GST_START_TEST),
17148 (parse_suite), (main):
17149 Add testsuite for parse launch syntax
17151 2006-02-14 Tim-Philipp Müller <tim at centricular dot net>
17153 * plugins/elements/gsttypefindelement.c:
17154 (gst_type_find_element_chain):
17155 When typefinding is unsuccessful in the chain function, don't
17156 error out immediately. Only error out with NO_CAPS_FOUND if
17157 the amount of data is at least MAX_TYPEFIND_SIZE bytes,
17158 otherwise simply wait for more data so we can try typefinding
17159 again with more data later. Also, don't attempt to typefind
17160 if we have less than MIN_TYPEFIND_SIZE data available. Overall,
17161 this should improve typefinding from network sources where the
17162 size of the first buffer can be somewhat random.
17164 2006-02-14 Wim Taymans <wim@fluendo.com>
17166 * docs/gst/gstreamer-sections.txt:
17167 * gst/gstpadtemplate.c:
17168 * gst/gstpadtemplate.h:
17169 Fix padtemplate docs, fixes #328805.
17171 2006-02-14 Wim Taymans <wim@fluendo.com>
17173 * tools/gst-launch.c: (main):
17174 NO_PREROLL is not an ERROR so don't send confusing messages
17177 2006-02-14 Wim Taymans <wim@fluendo.com>
17179 Patch by: Torsten Schoenfeld
17181 * gst/gstregistry.c: (gst_registry_get_default),
17182 (_gst_registry_cleanup):
17183 Protect default registry with lock and ref/sink it.
17186 2006-02-14 Wim Taymans <wim@fluendo.com>
17189 * gst/gstquery.c: (gst_query_list_add_format),
17190 (gst_query_set_formatsv), (gst_query_parse_formats_length),
17191 (gst_query_parse_formats_nth):
17192 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
17195 2006-02-14 Wim Taymans <wim@fluendo.com>
17197 * docs/gst/gstreamer-sections.txt:
17198 Reworked query docs.
17200 * gst/gstquery.c: (gst_query_new_formats),
17201 (gst_query_list_add_format), (gst_query_set_formats),
17202 (gst_query_set_formatsv), (gst_query_parse_formats_length),
17203 (gst_query_parse_formats_nth):
17205 Flesh out formats query, added some new methods.
17206 Fix part of #324398.
17208 * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite):
17209 Added query creation tests.
17211 2006-02-14 Jan Schmidt <thaytan@mad.scientist.com>
17213 * gst/gstpad.c: (fixate_value):
17214 Add a default fixation for fraction lists.
17216 2006-02-13 Wim Taymans <wim@fluendo.com>
17218 * gst/gsttask.c: (gst_task_init), (gst_task_func),
17219 (gst_task_set_lock), (gst_task_start), (gst_task_pause),
17222 Detect and warn for obvious deadlocks. fixes #320340
17223 Fix error case where lock was not released.
17225 * tests/check/Makefile.am:
17226 * tests/check/gst/gsttask.c: (task_func2), (GST_START_TEST),
17227 (task_func), (gst_element_suite), (main):
17230 2006-02-13 Wim Taymans <wim@fluendo.com>
17232 * docs/gst/gstreamer-sections.txt:
17234 Add new functions to docs.
17236 2006-02-13 Wim Taymans <wim@fluendo.com>
17238 * docs/design/part-TODO.txt:
17239 Updated TODO list, basesrc supports seeking to non-bytes
17242 * docs/design/part-element-sink.txt:
17245 * gst/gstbin.c: (bin_replace_message),
17246 (gst_bin_handle_message_func):
17247 * gst/gstbus.c: (gst_bus_post), (gst_bus_pop):
17248 * gst/gstevent.c: (gst_event_finalize):
17249 * gst/gstpad.c: (gst_pad_event_default_dispatch),
17250 (gst_pad_send_event):
17251 Use shiny new _TYPE_NAME macros.
17253 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
17254 Move debug statement up.
17256 * gst/gstelement.c: (gst_element_set_locked_state):
17257 Add some debugging.
17259 2006-02-13 Tim-Philipp Müller <tim at centricular dot net>
17261 * docs/gst/gstreamer-sections.txt:
17262 * gst/gstmessage.h:
17264 New API: add GST_MESSAGE_TYPE_NAME and GST_QUERY_TYPE_NAME
17265 macros (#330906). Also, document the already existing
17266 GST_QUERY_TYPE macro.
17268 2006-02-13 Wim Taymans <wim@fluendo.com>
17270 * tests/check/gst/gstutils.c: (data_probe), (buffer_probe),
17271 (event_probe), (GST_START_TEST):
17272 Only events up to the pipeline EOS are counted, there are
17273 some more when going to NULL currently which we don't care
17276 2006-02-13 Wim Taymans <wim@fluendo.com>
17278 * gst/gstpad.c: (gst_pad_send_event):
17279 Correctly check flushing and emit probes. fixes #330125
17281 2006-02-10 Andy Wingo <wingo@pobox.com>
17283 * gst/gstbus.c (gst_bus_class_init): Declare our private data
17285 (gst_bus_init): Cache the location of the private data in the
17286 instance structure.
17287 (gst_bus_enable_sync_message_emission)
17288 (gst_bus_disable_sync_message_emission): Implement new public
17290 (gst_bus_post): Emit the sync-message signal if the user asked for
17293 * gst/gstbus.h (GstBus): Use a padding pointer to cache the
17294 location of the bus-private structure.
17295 (gst_bus_enable_sync_message_emission)
17296 (gst_bus_disable_sync_message_emission): API addition
17298 2006-02-10 Jan Schmidt <thaytan@mad.scientist.com>
17300 Patch by: Vincent Torri
17302 * docs/pwg/building-boiler.xml:
17303 PWG patch from #326800
17305 2006-02-09 Tim-Philipp Müller <tim at centricular dot net>
17308 * docs/Makefile.am:
17309 * docs/design/Makefile.am:
17312 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
17317 === release 0.10.3 ===
17319 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
17322 releasing 0.10.3, "Like a virgin"
17324 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
17327 2nd prerelease of 0.10.3
17328 Bump libtool versioning.
17330 2006-02-07 Andy Wingo <wingo@pobox.com>
17332 * libs/gst/base/gstcollectpads.c (gst_collect_pads_chain): Only
17333 update last_stop if we're in TIME format and the timestamp is
17336 * libs/gst/base/gstcollectpads.c (gst_collect_pads_event)
17337 * libs/gst/base/gstbasetransform.c (gst_base_transform_eventfunc):
17338 * libs/gst/base/gstbasesink.c (gst_base_sink_configure_segment):
17339 If we get a new newsegment with a different format, adapt
17342 * gst/gstclock.c (gst_clock_set_calibration): Accept a numerator
17343 of 0. Not a problem, really.
17345 * libs/gst/base/gstbasesink.c (gst_base_sink_chain_unlocked): Only
17348 2006-02-06 Jan Schmidt <thaytan@mad.scientist.com>
17353 2006-02-06 Sebastien Moutte <sebastien@moutte.net>
17356 project files updated to the default vs7 configuration
17357 * win32/common/libgstbase.def:
17358 * win32/common/libgstreamer.def:
17360 removed empty lines,
17361 sorted all exported symbols alphabetically
17362 * win32/common/dirent.c:
17363 * win32/common/dirent.h:
17364 * win32/common/gchar.h:
17365 use windows line end.
17367 2006-02-06 Tim-Philipp Müller <tim at centricular dot net>
17369 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
17370 Send EOS event when stopping.
17372 2006-02-06 Tim-Philipp Müller <tim at centricular dot net>
17375 Tell folks what to do if the plugin-foobar.xml file
17376 hasn't been generated for a newly-added plugin.
17378 2006-02-05 Julien MOUTTE <julien@moutte.net>
17380 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
17381 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
17382 (gst_collect_pads_start), (gst_collect_pads_stop),
17383 (gst_collect_pads_event): Collectpads now holds a reference
17384 to the GstPad that was added. Indeed we don't want to look
17385 at pads that might just go away with no warning...
17387 2006-02-05 Julien MOUTTE <julien@moutte.net>
17389 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
17390 (gst_collect_pads_start), (gst_collect_pads_stop),
17391 (gst_collect_pads_event), (gst_collect_pads_chain):
17392 * libs/gst/base/gstcollectpads.h: Handle flush. Adapted from
17393 Mark Nauwelaerts's patch on bug #328491.
17395 2006-02-04 Tim-Philipp Müller <tim at centricular dot net>
17397 * tests/check/gst/gstutils.c: (test_parse_bin_from_description),
17399 Add some simple tests for gst_parse_bin_from_description() and
17400 gst_bin_find_unconnected_pad() (#329069).
17402 2006-02-04 Tim-Philipp Müller <tim at centricular dot net>
17404 * tools/gst-launch.c: (event_loop), (main):
17405 Catch errors during preroll (#320084).
17407 2006-02-03 Tim-Philipp Müller <tim at centricular dot net>
17409 * plugins/elements/gsttypefindelement.c:
17410 (gst_type_find_element_activate):
17411 Post TYPE_NOT_FOUND error message when typefinding
17412 is unsuccessful in the activate function as well.
17414 2006-02-02 Wim Taymans <wim@fluendo.com>
17416 * docs/design/part-element-sink.txt:
17419 2006-02-02 Wim Taymans <wim@fluendo.com>
17421 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
17422 (gst_base_sink_render_object),
17423 (gst_base_sink_queue_object_unlocked):
17424 Only keep track of prerollable items when we are
17426 Before rendering after preroll, always check if we
17428 Added some more debugging.
17430 2006-02-02 Wim Taymans <wim@fluendo.com>
17432 * gst/gstelement.c: (gst_element_continue_state),
17433 (gst_element_set_state_func), (gst_element_change_state):
17434 Fixed #326576, been running this for quite some time with
17435 no regressions at all.
17437 2006-02-02 Wim Taymans <wim@fluendo.com>
17440 Added more suppressions
17442 2006-02-02 Wim Taymans <wim@fluendo.com>
17444 * docs/design/part-element-sink.txt:
17447 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
17448 (gst_base_sink_finalize), (gst_base_sink_preroll_queue_flush),
17449 (gst_base_sink_configure_segment), (gst_base_sink_commit_state),
17450 (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
17451 (gst_base_sink_do_sync), (gst_base_sink_render_object),
17452 (gst_base_sink_preroll_object),
17453 (gst_base_sink_queue_object_unlocked),
17454 (gst_base_sink_queue_object), (gst_base_sink_event),
17455 (gst_base_sink_chain_unlocked), (gst_base_sink_chain),
17456 (gst_base_sink_loop), (gst_base_sink_activate_pull),
17457 (gst_base_sink_get_position), (gst_base_sink_change_state):
17458 * libs/gst/base/gstbasesink.h:
17459 Totally refactored matching the design doc.
17460 Use two segments, one to clip incomming buffers and another to
17462 Handle queueing correctly, bypass the queue when playing.
17463 Make EOS cancelable.
17464 Handle errors correctly when operating in pull based mode.
17466 * tests/check/elements/fakesink.c: (GST_START_TEST),
17468 Added new check for sinks.
17470 2006-02-02 Wim Taymans <wim@fluendo.com>
17472 * gst/gstsegment.c: (gst_segment_clip):
17473 No reason to refuse to clip when start == -1
17475 2006-02-02 Stefan Kost <ensonic@users.sf.net>
17478 * docs/manual/intro-basics.xml:
17479 * docs/manual/intro-preface.xml:
17480 * docs/manual/manual.xml:
17481 * docs/pwg/advanced-dparams.xml:
17482 * docs/pwg/intro-basics.xml:
17483 * docs/pwg/intro-preface.xml:
17484 * docs/pwg/pwg.xml:
17485 describe dparams (controller) for plugins
17486 unify docs a little more
17488 2006-02-02 Tim-Philipp Müller <tim at centricular dot net>
17490 * docs/gst/gstreamer-sections.txt:
17491 * gst/gstutils.c: (element_find_unconnected_pad),
17492 (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description):
17494 Add new API: gst_parse_bin_from_description() and
17495 gst_bin_find_unconnected_pad() (#329069).
17497 2006-02-01 Stefan Kost <ensonic@users.sf.net>
17499 * docs/manual/README:
17500 uncover a nasty detail of the docs build
17502 2006-01-31 Wim Taymans <wim@fluendo.com>
17504 * gst/gstbin.c: (bin_remove_messages), (bin_query_duration_done):
17505 Don't cache duration messages if we're not going to use or
17508 2006-01-31 Stefan Kost <ensonic@users.sf.net>
17510 * docs/manual/advanced-dparams.xml:
17511 * docs/pwg/advanced-dparams.xml:
17515 * libs/gst/controller/lib.c: (gst_controller_init):
17518 2006-01-31 Thomas Vander Stichele <thomas at apestaart dot org>
17520 * gst/gstelement.c: (gst_element_message_full):
17521 also show file/line/func if no additional debug was given
17523 2006-01-31 Sebastien Moutte <sebastien@moutte.net>
17525 * win32/vs7/grammar.vcproj:
17526 activate copy of autogenerated files for Release mode
17528 2006-01-30 Sebastien Moutte <sebastien@moutte.net>
17530 * win32/common/libgstreamer.def:
17531 export gst_value_compare
17533 2006-01-30 Jan Schmidt <thaytan@mad.scientist.com>
17535 * plugins/elements/Makefile.am:
17536 * plugins/elements/gstelements.c:
17537 * plugins/elements/gstfdsink.c: (_do_init),
17538 (gst_fd_sink_base_init), (gst_fd_sink_class_init),
17539 (gst_fd_sink_init), (gst_fd_sink_dispose), (gst_fd_sink_query),
17540 (gst_fd_sink_render), (gst_fd_sink_check_fd), (gst_fd_sink_start),
17541 (gst_fd_sink_stop), (gst_fd_sink_unlock), (gst_fd_sink_update_fd),
17542 (gst_fd_sink_set_property), (gst_fd_sink_uri_get_type),
17543 (gst_fd_sink_uri_get_protocols), (gst_fd_sink_uri_get_uri),
17544 (gst_fd_sink_uri_set_uri), (gst_fd_sink_uri_handler_init):
17545 * plugins/elements/gstfdsink.h:
17546 Port fdsink to 0.10 (patch by Philippe Rouquier) (Fixes #325490)
17548 2006-01-30 Stefan Kost <ensonic@users.sf.net>
17550 * docs/manual/advanced-dparams.xml:
17551 describe controller
17552 * docs/manual/advanced-position.xml:
17553 * docs/manual/basics-init.xml:
17554 * docs/manual/manual.xml:
17555 * docs/manual/titlepage.xml:
17556 * docs/pwg/pwg.xml:
17557 * docs/pwg/titlepage.xml:
17558 cleanup xml (more to come)
17559 * libs/gst/controller/gstcontroller.c:
17562 2006-01-30 Sebastien Moutte <sebastien@moutte.net>
17564 * win32/vs6/grammar.dsp:
17565 add autogen of gstmarshal.c,h for Release mode
17567 2006-01-30 Wim Taymans <wim@fluendo.com>
17569 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
17570 (gst_base_sink_preroll_queue_empty), (gst_base_sink_commit_state),
17571 (gst_base_sink_handle_object), (gst_base_sink_event),
17572 (gst_base_sink_is_prerolled), (gst_base_sink_wait),
17573 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
17574 (gst_base_sink_handle_buffer), (gst_base_sink_set_flushing),
17575 (gst_base_sink_deactivate), (gst_base_sink_activate),
17576 (gst_base_sink_activate_pull), (gst_base_sink_get_position),
17577 (gst_base_sink_query), (gst_base_sink_change_state):
17578 Basesink cleanups, remove some old code.
17579 Handle the case where a subclass can preroll in the render
17580 method (mostly audiosinks).
17581 Handle more events.
17582 Remove some locks around variables that are now protected
17583 with the PREROLL_LOCK (clock_id, flushing, ..).
17584 Optimize position query some more, do correct locking.
17585 Remove old code to push queue in state change, this is not
17586 needed anymore since preroll blocks on all prerollable items
17588 Almost implemented as described in design doc.
17590 2006-01-30 Wim Taymans <wim@fluendo.com>
17592 * tests/check/gst/gstbin.c: (GST_START_TEST):
17593 Wait for refcount to settle down before checking.
17595 2006-01-30 Wim Taymans <wim@fluendo.com>
17597 * docs/design/part-element-sink.txt:
17598 Pseudo code overview of desired sink behaviour regarding
17601 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
17602 * win32/vs6/grammar.dsp:
17603 fix some bugs in Release mode for autogenerated files
17605 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
17606 * win32/common/libgstbase.def:
17607 * win32/common/libgstreamer.def:
17608 export some new symbols: gst_base_src_set_format,
17609 gst_iterator_next, gst_structure_set_valist
17611 2006-01-29 Julien MOUTTE <julien@moutte.net>
17613 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
17614 Set pad functions unconditionally. Fixes #329105.
17616 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
17618 add vs8 project files created by Sergey Scobich
17620 2006-01-28 Jan Schmidt <thaytan@mad.scientist.com>
17622 * gst/gstutils.c: (gst_element_unlink_pads):
17623 Don't leak pad references.
17625 * tests/check/elements/fakesink.c: (GST_START_TEST):
17626 * tests/check/generic/sinks.c: (GST_START_TEST):
17627 * tests/check/generic/states.c: (GST_START_TEST):
17628 * tests/check/gst/gstbin.c: (GST_START_TEST):
17629 * tests/check/gst/gstcaps.c: (GST_START_TEST):
17630 * tests/check/gst/gstelement.c: (GST_START_TEST):
17631 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
17632 * tests/check/gst/gstiterator.c: (GST_START_TEST):
17633 * tests/check/gst/gstvalue.c: (GST_START_TEST):
17634 Fix a bunch of leaks. Make generic/sinks.c
17635 use a bit less cpu by slowing the buffer rate
17636 between fakesrc and fakesink.
17638 2006-01-27 Stefan Kost <ensonic@users.sf.net>
17640 * gst/gstelement.c: (gst_element_send_event):
17643 * gst/gstiterator.c:
17644 * gst/gstiterator.h:
17645 * gst/gstpad.c: (gst_pad_send_event):
17646 * gst/gststructure.c:
17650 * libs/gst/base/gstadapter.c:
17651 doc fixes, to link to function, just write gst_cool_function(), don't
17654 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
17656 * plugins/elements/gsttee.c: (gst_tee_do_push),
17657 (gst_tee_handle_buffer):
17658 Always prefer an actual return value from a src
17659 pad in place of NOT_LINKED. This means we return
17660 WRONG_STATE when all src pads are WRONG_STATE
17661 instead of NOT_LINKED.
17663 Lock when replacing the last message to prevent
17664 racing with the get_property method.
17668 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
17670 * tests/check/Makefile.am:
17671 * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite),
17673 Add a very simple check that should have caught the memleak I fixed
17674 last night (if not for the slice allocator hiding it)
17676 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
17678 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
17679 (gst_bin_remove_func), (gst_bin_handle_message_func),
17680 (bin_query_duration_fold), (bin_query_generic_fold):
17681 Clean up references to the clock provider when disposed or when
17682 handling a clock-lost message from it.
17684 Unref sinks when performing a query via gst_iterator_fold, as the
17685 gst_bin_iterate_sinks iterator refs each item. (Fixes #323874)
17687 * gst/gstclock.c: (gst_clock_class_init), (gst_clock_dispose),
17688 (gst_clock_set_master):
17689 Drop our reference to the master clock, if any, when we are disposed.
17691 * gst/gsttypefindfactory.c: (gst_type_find_factory_dispose):
17692 Chain up in dispose.
17694 2006-01-26 Wim Taymans <wim@fluendo.com>
17696 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
17697 Add some debugging.
17699 2006-01-26 Julien MOUTTE <julien@moutte.net>
17701 * plugins/elements/gsttee.c: (gst_tee_do_push),
17702 (gst_tee_handle_buffer): Apply patch from #328715. Tee now
17703 handles pad being NOT_LINKED or in WRONG_STATE.
17705 2006-01-26 Stefan Kost <ensonic@users.sf.net>
17710 2006-01-26 Stefan Kost <ensonic@users.sf.net>
17713 remove obsolete entry
17715 2006-01-26 Stefan Kost <ensonic@users.sf.net>
17717 * docs/gst/gstreamer-sections.txt:
17718 * gst/gstbin.c: (bin_element_is_src), (src_iterator_filter),
17719 (gst_bin_iterate_sources), (gst_bin_send_event):
17721 * gst/gstelement.c: (gst_element_send_event):
17723 * gst/gstpad.c: (gst_pad_send_event):
17724 added code for downstream events, reviewed docs in gstevent.c
17726 2006-01-25 Julien MOUTTE <julien@moutte.net>
17728 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
17729 We only query position using the clock in the playing state.
17730 Query peer in the other cases.
17731 * win32/common/config.h: Updates.
17733 2006-01-24 Wim Taymans <wim@fluendo.com>
17735 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
17736 A clock entry that is scheduled for the exact time of the
17737 clock is still in time.
17739 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17740 (gst_base_sink_do_sync):
17741 Add some more debug info.
17743 2006-01-23 Sebastien Moutte <sebastien@moutte.net>
17746 Add new vs7 project files and solution.
17748 2006-01-23 Sebastien Moutte <sebastien@moutte.net>
17751 all files removed as they were out-dated.
17753 2006-01-20 Thomas Vander Stichele <thomas at apestaart dot org>
17755 * docs/random/release:
17757 * gst/gstbin.c: (gst_bin_init):
17758 * gst/gstbus.c: (gst_bus_new):
17760 * gst/gstpipeline.c: (gst_pipeline_init):
17761 use gst_bus_new(), improve logging, fix docs
17762 * win32/common/config.h:
17763 update for cvs build
17765 2006-01-20 Thomas Vander Stichele <thomas at apestaart dot org>
17768 up required version of automake to 1.7
17770 2006-01-20 Sebastien Moutte <sebastien@moutte.net>
17772 * win32/common/libgstreamer.def:
17773 export gst_buffer_is_metadata_writable
17775 2006-01-20 Tim-Philipp Müller <tim at centricular dot net>
17777 * docs/gst/gstreamer-sections.txt:
17779 Add gst_event_replace() (#327001)
17781 2006-01-20 Wim Taymans <wim@fluendo.com>
17783 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
17784 Make it actually compile too..
17786 2006-01-20 Wim Taymans <wim@fluendo.com>
17789 Clarify behaviour of _is_equal() when passing NULL parameters.
17791 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
17792 (gst_pad_set_caps):
17793 Cleanups. Don't unref NULL caps.
17794 When setting the same caps, protect caps of the pad with
17796 Use full functionality of _is_equal() when comparing caps.
17798 2006-01-20 Jan Schmidt <thaytan@mad.scientist.com>
17800 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
17801 Don't loop infinitely if there are no buffers to present. Partially
17802 fixes #327197, but collectpads is just broken for reusing elements
17803 to do multiple encodes atm.
17805 2006-01-20 Jan Schmidt <thaytan@mad.scientist.com>
17807 * tools/gst-inspect.c: (print_element_features):
17808 * tools/gst-xmlinspect.c: (main):
17809 URL_HANDLER is not a plugin feature we can search for in
17812 2006-01-19 Edward Hervey <edward@fluendo.com>
17814 * gst/gstelement.c: (gst_element_pads_activate):
17815 When activating, do src pads first, then sink pads.
17816 When de-activating, do sink pads first, then src pads.
17818 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
17820 * docs/gst/gstreamer-sections.txt:
17821 Add gst_index_add_associationv to the docs
17823 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
17828 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event),
17829 (gst_queue_chain), (gst_queue_push_one), (gst_queue_loop):
17830 Do some refactoring. Doesn't actually change functionality,
17831 but makes landing the DRAIN event easier later.
17833 2006-01-19 Tim-Philipp Müller <tim at centricular dot net>
17835 * docs/pwg/advanced-scheduling.xml:
17836 Update from 0.9.x to 0.10 API and make example a bit
17839 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
17841 * docs/gst/gstreamer-sections.txt:
17842 Add gst_buffer_(is|make)_metadata_writable methods.
17844 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
17846 * docs/design/part-sparsestreams.txt:
17847 Update sparse streams doc, hopefully for greater clarity
17849 2006-01-18 Jan Schmidt <thaytan@mad.scientist.com>
17851 * docs/design/part-events.txt:
17852 Remove mention of FILLER events.
17855 * docs/design/part-sparsestreams.txt:
17856 Write some things about using NEWSEGMENT to keep sparse streams
17859 2006-01-18 Tim-Philipp Müller <tim at centricular dot net>
17861 * gst/gstbin.c: (gst_bin_dispose):
17862 Guard gst_object_unref call against a NULL object (dispose
17863 can theoretically be called multiple times).
17865 2006-01-18 Wim Taymans <wim@fluendo.com>
17867 * gst/gstbin.c: (gst_bin_element_set_state):
17868 * gst/gstclock.c: (gst_clock_id_wait):
17869 Added some more debug info.
17871 * libs/gst/base/gstadapter.c:
17874 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17875 (gst_base_sink_do_sync), (gst_base_sink_chain):
17876 Added some comments.
17878 2006-01-18 Wim Taymans <wim@fluendo.com>
17880 * tests/check/Makefile.am:
17881 * tests/check/elements/fakesink.c: (chain_async_buffer),
17882 (chain_async), (chain_async_return), (GST_START_TEST),
17883 (fakesink_suite), (main):
17884 Added fakesink test that checks prerolling and clipping
17887 * tests/check/gst/gstutils.c: (GST_START_TEST):
17888 Make check run faster so that buildbots don't timeout.
17890 2006-01-18 Wim Taymans <wim@fluendo.com>
17892 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17893 (gst_base_sink_do_sync):
17895 When the sink finishes blocking on the preroll buffer, it can
17896 immediatly render it instead of rendering when the next buffer
17899 2006-01-18 Wim Taymans <wim@fluendo.com>
17901 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_property),
17902 (gst_base_sink_get_property), (gst_base_sink_do_sync),
17903 (gst_base_sink_chain):
17905 GST_ELEMENT_CLOCK and sync are protected with LOCK.
17906 Don't store _last_stop if the buffer is dropped.
17908 2006-01-18 Tim-Philipp Müller <tim at centricular dot net>
17910 * plugins/elements/gsttypefindelement.c:
17911 (gst_type_find_element_class_init):
17912 'have-type' signal needs to be G_SIGNAL_RUN_FIRST, as it is the
17913 object method handler that sets the caps on the pad and we want
17914 that to happen before we emit the signal (fixes e.g. feeding a
17915 plain text file to decodebin).
17917 2006-01-18 Christian Schaller <Christian@fluendo.com>
17919 * gst/gstplugin.c: Add MPL and Proprietary as license options
17921 2006-01-18 Andy Wingo <wingo@pobox.com>
17923 * gst/gstindex.h (gst_index_add_associationv): Add to header. The
17924 symbol was exported before, it appears this was just an oversight.
17926 Patch by: Torsten Schoenfeld <kaffeetisch at gmx.de>
17928 * gst/gstindex.c (gst_index_add_associationv): Changed int in
17929 prototype to gint. OK since this prototype was not in the header.
17931 2006-01-17 Andy Wingo <wingo@pobox.com>
17933 * gst/gstregistry.c (_gst_registry_remove_cache_plugins): Lock the
17934 registry while we remove plugins.
17936 * tools/gst-inspect.c (print_element_info): Don't unref the
17937 factory arg, that should be the responsibility of whatever code
17938 received the ref. Fixes a double-free when called from
17939 print_element_list via gst-inspect-0.10 -a. Fixes #327324.
17940 (main): Unref the factory if we have one.
17941 (print_element_list): No change -- relies on the
17942 plugin_feature_list_free to free the list of features.
17944 2006-01-17 Jan Schmidt <thaytan@mad.scientist.com>
17946 * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
17947 (gst_buffer_make_metadata_writable):
17949 * libs/gst/base/gstbasetransform.c:
17950 (gst_base_transform_prepare_output_buf):
17951 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
17952 * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
17953 Replace gst_buffer_(make|is)_metadata_writable patch now
17954 that the release is out.
17956 2006-01-17 Andy Wingo <wingo@pobox.com>
17958 * gst/gstregistry.c: Reflow design comment. Update so as to speak
17959 in the present tense without reference to versions.
17961 * gst/gstregistry.c (gst_registry_add_plugin)
17962 (gst_registry_remove_plugin, gst_registry_remove_feature)
17963 (gst_registry_find_feature, gst_registry_get_feature_list)
17964 (gst_registry_get_plugin_list, gst_registry_lookup_feature)
17965 (gst_registry_lookup, gst_registry_scan_path)
17966 (_gst_registry_remove_cache_plugins)
17967 (gst_registry_get_feature_list_by_plugin): Add argument
17970 === release 0.10.2 ===
17972 2006-01-16 Thomas Vander Stichele <thomas at apestaart dot org>
17975 releasing 0.10.2, "If man is five"
17977 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
17981 * libs/gst/base/gstbasetransform.c:
17982 (gst_base_transform_prepare_output_buf):
17983 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
17984 * tests/check/gst/gstbuffer.c: (gst_test_suite):
17985 Back out patch until after the release.
17987 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
17989 * gst/gstminiobject.c:
17990 Spelling fix in docs.
17991 * ChangeLog - remove conflict indicator
17993 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
17995 Reviewed By: Andy Wingo
17997 * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
17998 (gst_buffer_make_metadata_writable):
18000 Add gst_buffer_(is|make)_metadata_writable as analogues of
18001 gst_buffer_(is|make)_writable.
18003 * libs/gst/base/gstbasetransform.c:
18004 (gst_base_transform_prepare_output_buf):
18005 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
18006 Use name gst_buffer_(is|make)_metadata_writable functions.
18008 * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
18009 Test gst_buffer_(is|make)_metadata_writable
18013 2006-01-14 Thomas Vander Stichele <thomas at apestaart dot org>
18015 * docs/manual/Makefile.am:
18016 don't do parallel make
18019 * win32/common/config.h.in:
18020 add generations for HOST_CPU and GST_MAJORMINOR
18021 * win32/common/config.h:
18022 commit generated result
18024 2006-01-13 Tim-Philipp Müller <tim at centricular dot net>
18026 * docs/manual/appendix-integration.xml:
18027 Update GNOME integration section to use gst_init_get_option_group()
18028 instead of the old popt stuff (#322911). Also, GNOME applications
18029 should now use gconf*sink and gconf*src instead of the old gconf
18032 2006-01-13 Stefan Kost <ensonic@users.sf.net>
18035 * docs/gst/gstreamer-docs.sgml:
18036 * docs/gst/gstreamer-sections.txt:
18037 * docs/libs/gstreamer-libs-sections.txt:
18038 add new API entries to the docs
18039 * libs/gst/controller/Makefile.am:
18040 * libs/gst/controller/gstcontroller.c:
18041 * libs/gst/controller/gstcontroller.h:
18042 * libs/gst/controller/gstcontrollerprivate.h:
18043 * libs/gst/controller/gsthelper.c:
18044 * libs/gst/controller/gstinterpolation.c:
18045 move private structs to private header
18047 gstreamer-0.7 -> gstreamer-0.10
18048 * tests/check/libs/struct_i386.h:
18049 remove private structs
18051 2006-01-13 Thomas Vander Stichele <thomas at apestaart dot org>
18053 * plugins/indexers/Makefile.am:
18054 Fixes as part of #317048
18056 2006-01-13 Thomas Vander Stichele <thomas at apestaart dot org>
18058 * plugins/indexers/Makefile.am:
18059 fix #316086 - compilation when mmap is missing
18061 2006-01-12 Sebastien Moutte <sebastien@moutte.net>
18063 * libs/gst/base/gstbasesink.c:
18064 *cur = (now - base) * basesink->segment.abs_rate + time; replaced by
18065 *cur = gst_guint64_to_gdouble(now - base) * basesink->segment.abs_rate + time; for vs6
18066 * win32/common/config.h:
18067 added some defines GST_MAJORMINOR and HOST_CPU
18068 * win32/common/libgstbase.def:
18069 * win32/common/libgstreamer.def:
18070 added some exported functions.
18072 2006-01-12 Stefan Kost <ensonic@users.sf.net>
18074 * libs/gst/controller/gstcontroller.c:
18075 (gst_controlled_property_set_interpolation_mode),
18076 (gst_controlled_property_new):
18077 * libs/gst/controller/gstcontroller.h:
18078 * libs/gst/controller/gstinterpolation.c:
18079 (interpolate_none_get_string_value_array):
18080 make G_TYPE_STRING controlable
18082 2006-01-12 Stefan Kost <ensonic@users.sf.net>
18085 * tools/gst-feedback.1.in:
18086 * tools/gst-inspect.1.in:
18087 * tools/gst-launch.1.in:
18088 * tools/gst-md5sum.1.in:
18089 * tools/gst-typefind.1.in:
18090 * tools/gst-xmlinspect.1.in:
18091 * tools/gst-xmllaunch.1.in:
18092 cleanup man-pages, remove reference to gst-register, document env-vars
18094 2006-01-12 Jan Schmidt <thaytan@mad.scientist.com>
18096 * gst/gstbuffer.c: (gst_buffer_span):
18097 gst_buffer_span should copy the timestamp of the first buffer
18098 if they were both originally overlapping subbuffers of the
18099 same parent, using the same logic as the 'slow copy' case.
18101 2006-01-11 Jan Schmidt <thaytan@mad.scientist.com>
18103 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop):
18104 Need to awaken ALL the pads when we pop a buffer, otherwise
18105 collectpads only works when there is 2 input streams.
18107 2006-01-11 Stefan Kost <ensonic@users.sf.net>
18109 * docs/random/ensonic/media-device-daemon.txt:
18112 fix doc example, add clarification
18113 * tools/gst-launch.1.in:
18114 add initial info about GST_PLUGIN_PATH, needs more work
18116 2006-01-11 Tim-Philipp Müller <tim at centricular dot net>
18118 * docs/manual/basics-bins.xml:
18119 * docs/manual/basics-elements.xml:
18120 * docs/manual/intro-basics.xml:
18121 Some more minor docs additions and updates.
18123 2006-01-11 Wim Taymans <wim@fluendo.com>
18125 * docs/manual/basics-bins.xml:
18126 * docs/manual/basics-elements.xml:
18127 Some small fixes as pointed out by Ser-ver on IRC.
18129 2006-01-10 Edward Hervey <edward@fluendo.com>
18131 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
18132 Set the buffer offset/offset_end to GST_CLOCK_TIME_NONE when using
18133 the single-segment mode.
18135 2006-01-10 Brian Cameron <brian dot cameron at sun dot com>
18137 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
18139 * libs/gst/base/gstbasesrc.c: (gst_base_src_init),
18140 (gst_base_src_perform_seek), (gst_base_src_send_event),
18141 (gst_base_src_set_property), (gst_base_src_get_property),
18142 (gst_base_src_loop), (gst_base_src_start),
18143 (gst_base_src_activate_push):
18144 * libs/gst/base/gstbasesrc.h:
18145 Name (private) union; makes Sun's Forte compiler happy (#324900).
18147 2006-01-09 Tim-Philipp Müller <tim at centricular dot net>
18150 gst-register is gone.
18152 2006-01-07 Thomas Vander Stichele <thomas at apestaart dot org>
18154 * gst/gstvalue.c: (_gst_value_initialize):
18155 make the G_TYPE_DATE instantiation work if debug is disabled
18157 2006-01-06 Tim-Philipp Müller <tim at centricular dot net>
18159 * gst/gstmessage.c: (gst_message_parse_tag),
18160 (gst_message_parse_error), (gst_message_parse_warning):
18161 Don't crash when return location for error/warning debug
18162 string is NULL; add fact that return locations can be
18163 NULL to docs where appropriate.
18165 2006-01-05 Wim Taymans <wim@fluendo.com>
18167 * gst/gstplugin.c: (gst_plugin_load_file):
18168 Replace strdup by g_strdup.
18170 2006-01-05 Thomas Vander Stichele <thomas at apestaart dot org>
18172 * docs/pwg/advanced-types.xml:
18175 2006-01-05 Thomas Vander Stichele <thomas at apestaart dot org>
18177 submitted by: Abel Cheung
18181 Added Chinese (traditional) translation
18183 2006-01-04 Wim Taymans <wim@fluendo.com>
18185 * docs/manual/basics-pads.xml:
18186 * docs/plugins/Makefile.am:
18187 * docs/plugins/gstreamer-plugins-docs.sgml:
18188 * docs/plugins/gstreamer-plugins-sections.txt:
18189 * docs/pwg/advanced-clock.xml:
18190 * docs/pwg/advanced-scheduling.xml:
18191 * docs/pwg/advanced-types.xml:
18192 * plugins/elements/gstfdsink.c:
18193 * plugins/elements/gstfdsrc.c:
18194 * plugins/elements/gstfdsrc.h:
18195 * plugins/elements/gstidentity.c: (gst_identity_class_init):
18196 * plugins/elements/gstidentity.h:
18197 * plugins/elements/gstqueue.h:
18198 * plugins/elements/gsttee.c:
18199 * plugins/elements/gsttee.h:
18200 * plugins/elements/gsttypefindelement.c:
18201 (gst_type_find_element_class_init):
18202 * plugins/elements/gsttypefindelement.h:
18203 Small updates to various docs.
18204 Added core plugins to docs.
18206 2006-01-03 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
18209 add a suppression for liboil's uninitialized variable
18211 2006-01-02 James Livingston <jrl at ids dot org dot au>
18213 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
18216 Add prototype for _get_type() function to GST_BOILERPLATE_FULL
18217 macro, so that gcc doesn't complain if the -Wmissing-prototypes
18218 compiler switch is being used (#325429).
18220 2005-12-29 Tim-Philipp Müller <tim at centricular dot net>
18222 * gst/gstbin.c: (gst_bin_query):
18223 Disable duration query caching in bins until it gets
18224 fixed (see #324807).
18226 2005-12-27 Tim-Philipp Müller <tim at centricular dot net>
18228 * tools/gst-inspect.c: (print_element_properties_info):
18229 Handle properties of POINTER and BOXED type.
18231 2005-12-27 Tim-Philipp Müller <tim at centricular dot net>
18233 * gst/gst.c: (init_post):
18234 Init tags stuff and some other things before loading
18235 any static plugins (there may be other static plugins
18236 than just the GStreamer ones, and they may want to
18237 register their own tags or formats or whatever, and
18238 preferably without segfaulting).
18240 * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
18241 Print at least a warning in the debug logs if we drop a
18242 query just because we don't know how to adjust the value
18243 in the particular format.
18245 2005-12-24 David Schleef <ds@schleef.org>
18247 * tools/gstreamer-completion:
18248 Replacement for gst-complete written in sh and sed. Only
18249 completes names of features, but that's 90% of what I want
18250 it for. Properties are not available in registry.xml. (Maybe
18253 === release 0.10.1 ===
18255 2005-12-23 Thomas Vander Stichele <thomas at apestaart dot org>
18258 releasing 0.10.1, "Nollaig chridheil"
18260 2005-12-22 Tim-Philipp Müller <tim at centricular dot net>
18262 * docs/faq/cvs.xml:
18263 Add missing quote, should be make ERROR_CFLAGS="".
18265 2005-12-20 Wim Taymans <wim@fluendo.com>
18267 * docs/design/part-trickmodes.txt:
18268 More documentation on trickmodes.
18270 2005-12-20 Edward Hervey <edward@fluendo.com>
18272 * gst/gstcaps.c: (gst_static_caps_get_type):
18274 API addition: GST_TYPE_STATIC_CAPS
18275 Added gpointer GType for GstStaticCaps so we can wrap them in bindings.
18276 * gst/gstpadtemplate.c: (gst_static_pad_template_get_type):
18277 * gst/gstpadtemplate.h:
18278 API addition: GST_TYPE_STATIC_PAD_TEMPLATE
18279 Added gpointer GType for GstStaticPadTemplate so we can wrap them in
18282 2005-12-18 Wim Taymans <wim@fluendo.com>
18284 * libs/gst/base/gstadapter.c:
18285 * libs/gst/base/gstadapter.h:
18286 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
18287 (gst_base_sink_get_position):
18288 * libs/gst/base/gstbasesink.h:
18289 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
18290 (gst_base_src_default_query), (gst_base_src_default_do_seek),
18291 (gst_base_src_do_seek), (gst_base_src_perform_seek),
18292 (gst_base_src_send_event), (gst_base_src_update_length),
18293 (gst_base_src_get_range), (gst_base_src_loop),
18294 (gst_base_src_start):
18295 * libs/gst/base/gstbasesrc.h:
18296 * libs/gst/base/gstbasetransform.h:
18297 * libs/gst/base/gstcollectpads.h:
18298 * libs/gst/base/gstpushsrc.c:
18299 * libs/gst/base/gstpushsrc.h:
18300 * libs/gst/dataprotocol/dataprotocol.c:
18301 * libs/gst/dataprotocol/dataprotocol.h:
18302 * libs/gst/net/gstnetclientclock.h:
18303 * libs/gst/net/gstnettimeprovider.h:
18304 Documentation updates.
18306 2005-12-18 Tim-Philipp Müller <tim at centricular dot net>
18308 * docs/manual/basics-helloworld.xml:
18309 Remove superfluous closing bracket in helloworld example.
18311 2005-12-17 Tim-Philipp Müller <tim at centricular dot net>
18313 * tools/gst-launch.1.in:
18314 Update gst-launch man page; add a section with useful
18315 environment variables. Fixes #323882.
18317 2005-12-16 Stefan Kost <ensonic@users.sf.net>
18320 * gst/gst_private.h:
18321 change some char* into char[]
18323 2005-12-16 Wim Taymans <wim@fluendo.com>
18325 * gst/gstregistryxml.c: (load_feature):
18327 Don't use g_object_unref on GstObjects so that we avoid
18328 leaks on unsafe glibs.
18330 2005-12-16 Wim Taymans <wim@fluendo.com>
18332 * gst/gstbin.c: (gst_bin_recalc_state):
18335 2005-12-16 Wim Taymans <wim@fluendo.com>
18337 * common/check.mak:
18338 Added make forever target for check.
18340 2005-12-16 Thomas Vander Stichele <thomas at apestaart dot org>
18342 * gst/gst.c: (init_post):
18343 make the registry cache file HOST_CPU-dependent
18345 2005-12-16 Andy Wingo <wingo@pobox.com>
18347 * plugins/elements/gstbufferstore.c
18348 (gst_buffer_store_cleared_func): Pay attention to g_list_append
18351 * tests/check/gst/gstobject.c
18352 (test_fake_object_name_threaded_unique): Pay attention to
18353 g_list_sort return value.
18355 2005-12-16 Tim-Philipp Müller <tim at centricular dot net>
18357 * tools/gst-feedback-m.m:
18358 Update for 0.9/0.10 (fixes #323870).
18360 2005-12-15 Tim-Philipp Müller <tim at centricular dot net>
18362 * gst/gstminiobject.c: (gst_value_mini_object_lcopy):
18363 Fix lcopy for mini objects, the mini object needs to be ref'ed.
18365 * tests/check/gst/gstminiobject.c: (my_foo_init),
18366 (my_foo_get_property), (my_foo_set_property), (my_foo_class_init),
18367 (test_value_collection), (gst_mini_object_suite):
18368 Add test to ensure refcounts end up as expected when passing
18369 GstMiniObjects through g_object_get() and g_object_set().
18371 2005-12-14 Julien MOUTTE <julien@moutte.net>
18373 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
18374 (gst_collect_pads_remove_pad), (gst_collect_pads_is_collected),
18375 (gst_collect_pads_event), (gst_collect_pads_chain): Refactoring
18376 of collectpads. This version removes a lot of races without
18377 touching API/ABI. Yay !
18379 2005-12-14 Jan Schmidt <thaytan@mad.scientist.com>
18381 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_link_prepare):
18382 Don't allow activation of a srcpad in pull_range if it has no
18384 Change some debug statements to be a little clearer
18386 * plugins/elements/gsttypefindelement.c:
18387 (gst_type_find_handle_src_query):
18388 Check that we have a peer before executing queries thereupon.
18390 * tests/examples/metadata/read-metadata.c: (message_loop):
18391 Use gst_bus_pop instead of gst_bus_poll when we just want it to
18392 immediately return us any available message with 0 timeout.
18394 2005-12-12 Michael Smith <msmith@fluendo.com>
18396 * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
18397 Don't unref factories after calling them.
18398 * libs/gst/base/gsttypefindhelper.c: (gst_type_find_helper):
18399 * plugins/elements/gsttypefindelement.c:
18400 (gst_type_find_element_chain):
18401 Free lists of factories after using them. Fixing typefinding memory
18404 2005-12-12 Stefan Kost <ensonic@users.sf.net>
18406 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
18407 (gst_plugin_feature_load):
18408 more meaningful debug output
18410 * tests/Makefile.am:
18411 * tests/old/examples/Makefile.am:
18412 make make distcheck happy again
18414 2005-12-12 Tim-Philipp Müller <tim at centricular dot net>
18416 * plugins/elements/gsttypefindelement.c: (stop_typefinding):
18417 Catch the special case where we are operating chain-based,
18418 but the downstream peer pad has no chain function. Emit a
18419 custom error message in this case instead of letting the
18420 core generate one implying that this is some sort of core
18421 bug. It's not, it just means that whatever got plugged
18422 into the pipeline downstream when we announced the type
18423 can only operate pull-based, while our source can only
18424 operate push-based (e.g. http://foo/bar.mov ! qtdemux ! ...)
18425 Error string has not been marked for translation yet, as
18426 it probably needs some more work first.
18428 (gst_type_find_element_get_best_possibility):
18429 Add helper function to find the best of all available
18430 found possibilities that qualify given the min. threshold.
18432 (gst_type_find_element_handle_event):
18433 Fix the case where we get an EOS while still in TYPEFIND
18434 mode (we want to chose the best of all possible types,
18435 not just the first type that happens to be in our unsorted
18436 list of possible types).
18438 (gst_type_find_element_chain):
18439 Make sure we return GST_FLOW_ERROR when we errored out
18440 in stop_typefinding(); also, don't just find the best of
18441 all found type entries and then use the last examined
18442 type entry, but actually use the best entry.
18444 2005-12-12 Tim-Philipp Müller <tim at centricular dot net>
18446 * tests/examples/typefind/typefind.c: (type_found):
18447 * tests/examples/xml/runxml.c: (xml_loaded):
18448 More gcc4 fixes and a mem leak fix.
18450 2005-12-12 Stefan Kost <ensonic@users.sf.net>
18452 * tests/examples/xml/createxml.c: (object_saved):
18455 2005-12-12 Stefan Kost <ensonic@users.sf.net>
18457 * tests/Makefile.am:
18458 enable the examples even more
18460 2005-12-12 Andy Wingo <wingo@pobox.com>
18462 * libs/gst/net/gstnettimeprovider.c
18463 (gst_net_time_provider_class_init, gst_net_time_provider_init)
18464 (gst_net_time_provider_set_property)
18465 (gst_net_time_provider_get_property):
18466 API addition: Export "active" as a GObject property.
18467 (gst_net_time_provider_thread): Only respond to time queries if
18468 the time provider is active.
18470 * libs/gst/net/gstnettimeprovider.h: Add an "active" boolean to
18471 NetTimeProvider, preserving binary compat.
18473 2005-12-12 Stefan Kost <ensonic@users.sf.net>
18475 * tests/examples/controller/audio-example.c: (main):
18476 * tests/examples/launch/Makefile.am:
18477 convert comments again
18479 2005-12-12 Wim Taymans <wim@fluendo.com>
18481 * libs/gst/base/gstpushsrc.c:
18484 2005-12-12 Wim Taymans <wim@fluendo.com>
18486 * docs/libs/gstreamer-libs-sections.txt:
18487 Added new symbol to docs.
18489 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
18490 (gst_base_src_init), (gst_base_src_set_format),
18491 (gst_base_src_default_query), (gst_base_src_query),
18492 (gst_base_src_default_do_seek), (gst_base_src_do_seek),
18493 (gst_base_src_perform_seek), (gst_base_src_send_event),
18494 (gst_base_src_default_event), (gst_base_src_event_handler),
18495 (gst_base_src_set_property), (gst_base_src_get_property),
18496 (gst_base_src_wait), (gst_base_src_do_sync),
18497 (gst_base_src_update_length), (gst_base_src_get_range),
18498 (gst_base_src_check_get_range), (gst_base_src_loop),
18499 (gst_base_src_default_negotiate), (gst_base_src_start),
18500 (gst_base_src_activate_push), (gst_base_src_activate_pull),
18501 (gst_base_src_change_state):
18502 * libs/gst/base/gstbasesrc.h:
18503 Implement seeking to other formats than _BYTES.
18504 Implement more seeking methods correctly.
18506 Added query vmethod.
18507 Added do_seek vmethod to make life easier for subclasses
18509 API addition: gst_base_src_set_format()
18511 2005-12-12 Stefan Kost <ensonic@users.sf.net>
18513 * tests/examples/Makefile.am:
18516 2005-12-12 Stefan Kost <ensonic@users.sf.net>
18519 * docs/random/ensonic/media-device-daemon.txt:
18520 * tests/examples/controller/.cvsignore:
18521 * tests/examples/controller/Makefile.am:
18522 * tests/examples/controller/audio-example.c: (main):
18523 * tests/examples/helloworld/.cvsignore:
18524 * tests/examples/helloworld/Makefile.am:
18525 * tests/examples/helloworld/helloworld.c: (event_loop), (main):
18526 * tests/examples/launch/.cvsignore:
18527 * tests/examples/launch/Makefile.am:
18528 * tests/examples/launch/mp3parselaunch.c: (event_loop), (main):
18529 * tests/examples/metadata/.cvsignore:
18530 * tests/examples/metadata/Makefile.am:
18531 * tests/examples/metadata/read-metadata.c: (message_loop),
18532 (make_pipeline), (print_tag), (main):
18533 * tests/examples/queue/.cvsignore:
18534 * tests/examples/queue/Makefile.am:
18535 * tests/examples/queue/queue.c: (event_loop), (main):
18536 * tests/examples/typefind/.cvsignore:
18537 * tests/examples/typefind/Makefile.am:
18538 * tests/examples/typefind/typefind.c: (type_found), (event_loop),
18540 * tests/examples/xml/.cvsignore:
18541 * tests/examples/xml/Makefile.am:
18542 * tests/examples/xml/createxml.c: (object_saved), (main):
18543 * tests/examples/xml/runxml.c: (xml_loaded), (event_loop), (main):
18544 * tests/old/examples/Makefile.am:
18545 * tests/old/examples/TODO:
18546 * tests/old/examples/controller/.cvsignore:
18547 * tests/old/examples/controller/Makefile.am:
18548 * tests/old/examples/controller/audio-example.c:
18549 * tests/old/examples/helloworld/.cvsignore:
18550 * tests/old/examples/helloworld/Makefile.am:
18551 * tests/old/examples/helloworld/helloworld.c:
18552 * tests/old/examples/launch/.cvsignore:
18553 * tests/old/examples/launch/Makefile.am:
18554 * tests/old/examples/launch/mp3parselaunch.c:
18555 * tests/old/examples/launch/mp3play:
18556 * tests/old/examples/manual/Makefile.am:
18557 * tests/old/examples/metadata/Makefile.am:
18558 * tests/old/examples/metadata/read-metadata.c:
18559 * tests/old/examples/queue/.cvsignore:
18560 * tests/old/examples/queue/Makefile.am:
18561 * tests/old/examples/queue/queue.c:
18562 * tests/old/examples/typefind/.cvsignore:
18563 * tests/old/examples/typefind/Makefile.am:
18564 * tests/old/examples/typefind/typefind.c:
18565 * tests/old/examples/xml/.cvsignore:
18566 * tests/old/examples/xml/Makefile.am:
18567 * tests/old/examples/xml/createxml.c:
18568 * tests/old/examples/xml/runxml.c:
18569 applied some simple fixing to some examples
18570 re-enabled the working examples
18572 2005-12-12 Wim Taymans <wim@fluendo.com>
18574 * gst/gstsegment.c: (gst_segment_init),
18575 (gst_segment_set_last_stop), (gst_segment_set_seek),
18576 (gst_segment_set_newsegment), (gst_segment_to_stream_time),
18577 (gst_segment_to_running_time):
18578 Added more documentation.
18579 Make sure the last_pos value is updated properly.
18580 Make sure to_stream_time and to_running_time don't
18581 operate on wrong values.
18583 * tests/check/gst/gstsegment.c: (GST_START_TEST):
18586 2005-12-12 Michael Smith <msmith@fluendo.com>
18588 * plugins/elements/gsttypefindelement.c: (free_entry),
18589 (gst_type_find_element_chain):
18590 Now that we're not leaking factories, make sure we keep references
18591 to them while we need them.
18593 2005-12-12 Thomas Vander Stichele <thomas at apestaart dot org>
18595 * tests/check/gst/struct_i386.h:
18596 ifdef out the XML structs
18598 2005-12-12 Thomas Vander Stichele <thomas at apestaart dot org>
18600 * gst/gstvalue.c: (gst_value_transform_double_fraction):
18601 floor is not needed, F is always positive; this obviates the
18602 need for adding -lm when building without libxml
18604 2005-12-12 Wim Taymans <wim@fluendo.com>
18606 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
18607 Take current playback rate into account when reporting
18610 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
18612 * docs/manual/mime-world.fig:
18613 Let's try this again, this time with a file that is
18614 actually in XFig format.
18616 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
18618 * docs/manual/mime-world.fig:
18619 Add audioconvert element to diagram so that it
18620 matches the text and the code (fixes #319526).
18622 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
18624 * docs/pwg/building-chainfn.xml:
18625 * docs/pwg/building-pads.xml:
18626 * docs/pwg/building-state.xml:
18627 * docs/pwg/other-source.xml:
18628 Update state change stuff for 0.10 (fixes #322969).
18630 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
18632 * docs/manual/advanced-dataaccess.xml:
18633 * docs/manual/appendix-checklist.xml:
18634 * docs/manual/appendix-programs.xml:
18635 * docs/manual/basics-pads.xml:
18636 * docs/manual/highlevel-components.xml:
18637 * docs/manual/manual.xml:
18638 Update for 0.10: s/0.9/0.10/; s/audioscale/audiorsample/;
18639 add converters in front of pipelines; remove curly
18640 brackets for threads stuff, they no longer exist; use
18641 GST_TYPE_FRACTION for framerates; update some pieces of
18642 code to 0.10, but there's plenty more to do.
18644 * docs/manual/appendix-porting.xml:
18645 Expand on asynchroneous state changes; s/0.9/0.10/;
18646 mention disappearance of gst_init_get_popt_table()
18649 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
18651 * docs/faq/using.xml:
18652 Spider no longer exists, and neither does gst-launch-ext.
18653 Update examples to use decodebin and playbin and put
18654 converters in front of sinks (fixes #323726).
18656 2005-12-09 Michael Smith <msmith@fluendo.com>
18658 * plugins/elements/gsttypefindelement.c: (find_peek),
18659 (gst_type_find_element_chain):
18660 Fix leaking element factories in typefinding.
18661 Fix problem where we forgot about a probable type on non-seekable
18662 files, and thus later mis-typefound it.
18664 2005-12-09 Michael Smith <msmith@fluendo.com>
18666 * common/m4/gst-makecontext.m4:
18667 * common/m4/gst-mcsc.m4:
18669 * win32/common/config.h:
18670 * win32/common/config.h.in:
18671 Remove makecontext stuff; not used in 0.10 and causes problems on
18672 HPUX according to bug #322441
18674 2005-12-07 Wim Taymans <wim@fluendo.com>
18676 * tests/check/Makefile.am:
18677 * tests/check/libs/libsabi.c: (GST_START_TEST), (gstabi_suite),
18679 * tests/check/libs/struct_i386.h:
18680 Added ABI check for libs
18682 2005-12-07 Wim Taymans <wim@fluendo.com>
18684 * tests/check/Makefile.am:
18685 And add the struct_i386.h to dist.
18687 2005-12-07 Wim Taymans <wim@fluendo.com>
18689 * tests/check/Makefile.am:
18690 * tests/check/gst/.cvsignore:
18691 * tests/check/gst/gstabi.c: (GST_START_TEST), (gstabi_suite),
18693 * tests/check/gst/struct_i386.h:
18694 Added check for ABI compatibility.
18696 2005-12-07 Wim Taymans <wim@fluendo.com>
18698 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
18699 (gst_fake_src_get_times), (gst_fake_src_create):
18700 Fix broken sync option, fixes #323259
18702 2005-12-07 Wim Taymans <wim@fluendo.com>
18707 * gst/gstcaps.c: (gst_caps_is_equal):
18708 Don't assert on NULL <--> X. Fixes #323260
18710 * gst/gstminiobject.c: (gst_mini_object_replace):
18711 If we're doing atomic operations, we might just as well use
18712 the proper way to get an atomic pointer.
18714 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
18715 Clean up debugging.
18717 2005-12-07 Michael Smith <msmith@fluendo.com>
18719 * gst/parse/grammar.y:
18720 Remove handling of { } for threads.
18722 2005-12-06 David Schleef <ds@schleef.org>
18724 * libs/gst/base/gstbasetransform.c: speling fix.
18726 2005-12-06 Thomas Vander Stichele <thomas at apestaart dot org>
18728 * docs/libs/tmpl/gstdataprotocol.sgml:
18729 * docs/random/omega/testing/gstobject.c:
18732 * gst/gstelement.c:
18733 * gst/gstelementfactory.c:
18736 * gst/gstghostpad.c:
18738 * gst/gstpadtemplate.c:
18739 * gst/gstregistryxml.c:
18740 * gst/gsttaglist.c:
18741 * gst/gsttagsetter.c:
18742 * gst/gsttypefind.c:
18744 * libs/gst/base/gstbasesrc.c:
18745 * libs/gst/net/gstnetclientclock.c:
18746 * libs/gst/net/gstnettimeprovider.c:
18747 * plugins/elements/gstfakesrc.c:
18748 * plugins/elements/gstfdsrc.c:
18749 * plugins/elements/gstfilesrc.c:
18750 * plugins/elements/gstidentity.c:
18751 * plugins/elements/gstqueue.c:
18752 * plugins/elements/gsttypefindelement.c:
18753 * plugins/indexers/gstfileindex.c:
18754 * plugins/indexers/gstmemindex.c:
18755 * tests/check/gst/gsttag.c:
18756 * tests/old/examples/cutter/cutter.c:
18757 * tests/old/examples/mixer/mixer.c:
18758 * tests/old/examples/xml/runxml.c: (main):
18759 * tests/old/testsuite/caps/normalisation.c:
18760 * tests/old/testsuite/debug/global.c:
18761 * tests/old/testsuite/parse/parse1.c:
18762 * tools/gst-xmlinspect.c:
18763 * win32/common/dirent.c:
18766 === release 0.10.0 ===
18768 2005-12-05 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
18771 releasing 0.10.0, "Maroilles"
18773 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
18775 submitted by: Funda Wang <fundawang@linux.net.cn>
18779 added Chinese (Traditional) translation
18781 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
18783 * docs/gst/gstreamer-sections.txt:
18784 * docs/libs/tmpl/gstdataprotocol.sgml:
18785 * docs/random/thomasvs/TODO:
18790 2005-12-05 Andy Wingo <wingo@pobox.com>
18792 patch by: Wim Taymans <wim@fluendo.com>
18794 * libs/gst/base/gstbasetransform.c
18795 (gst_base_transform_prepare_output_buf)
18796 (gst_base_transform_buffer_alloc):
18797 * plugins/elements/gstqueue.c (gst_queue_bufferalloc): Call
18798 alloc_buffer_and_set_caps.
18800 * gst/gstpad.c (gst_pad_alloc_buffer): Changed to not call
18801 set_caps on the source pad.
18802 (gst_pad_alloc_buffer_and_set_caps): New function, does what
18803 alloc_buffer used to do. Fixes #322874.
18805 * docs/gst/gstreamer-sections.txt:
18806 * docs/design/part-negotiation.txt:
18807 * docs/pwg/advanced-negotiation.xml: Update for the alloc_buffer
18810 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
18812 patch by: Sebastien Moutte
18815 * win32/common/config.h.in:
18816 * win32/vs6/libgstcontroller.dsp:
18819 2005-12-05 Wim Taymans <wim@fluendo.com>
18821 * gst/gstcaps.c: (gst_caps_is_equal):
18822 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
18823 (gst_fake_src_create):
18824 Back out previous code changes, leave doc updates, file bugs
18827 2005-12-05 Wim Taymans <wim@fluendo.com>
18829 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
18830 (gst_fake_src_get_times), (gst_fake_src_create):
18831 * plugins/elements/gstfakesrc.h:
18832 Fix broken sync code.
18834 2005-12-05 Wim Taymans <wim@fluendo.com>
18836 * gst/gstcaps.c: (gst_caps_is_equal):
18837 Comparing NULL against !NULL yields different caps, not a
18840 2005-12-05 Wim Taymans <wim@fluendo.com>
18842 * gst/gstpipeline.c:
18843 Fix small typo in docs.
18845 2005-12-05 Andy Wingo <wingo@pobox.com>
18847 patch by: Thomas Vander Stichele <thomas at apestaart dot org>
18849 * gst/gst.c (init_post): remove hard-coded 0.9 location for
18850 registries/plugins with a MAJORMINOR one.
18851 (plugin_desc): Rename library from gstcoreleements to
18852 staticelements. Fixes #323222.
18854 2005-12-05 Tim-Philipp Müller <tim at centricular dot net>
18856 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init):
18857 Change debug category to 'collectpads' from 'collect_pads'
18860 2005-12-04 Thomas Vander Stichele <thomas at apestaart dot org>
18862 patch by: Sebastien Moutte
18864 * libs/gst/controller/gstinterpolation.c:
18865 use convert function for uint64/double
18866 * win32/vs6/libgstcontroller.dsp:
18869 2005-12-04 Thomas Vander Stichele <thomas at apestaart dot org>
18871 * gst/gstutils.c: (gst_util_guint64_to_gdouble),
18872 (gst_util_gdouble_to_guint64), (gst_util_uint64_scale_int64):
18874 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
18875 add tests that seem to show that the guint64/gdouble conversions
18878 2005-12-02 Wim Taymans <wim@fluendo.com>
18880 * gst/gstregistry.c: (gst_registry_add_path):
18881 * gst/gstregistry.h:
18882 * gst/gstregistryxml.c:
18885 2005-12-02 Wim Taymans <wim@fluendo.com>
18887 * gst/gstutils.c: (gst_util_uint64_scale_int64),
18888 (gst_util_uint64_scale_int):
18891 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object):
18892 Add debug log line.
18894 * libs/gst/base/gstbasetransform.c: (gst_base_transform_event):
18897 2005-12-02 Thomas Vander Stichele <thomas at apestaart dot org>
18900 * win32/common/config.h:
18901 * win32/vs6/gstreamer.dsw:
18902 * win32/vs6/libgstcoreelements.dsp:
18903 * win32/vs6/libgstelements.dsp:
18904 renamed core elements plugin
18906 2005-12-02 Thomas Vander Stichele <thomas at apestaart dot org>
18908 * tools/gst-run.c: (compare_major_minor), (find_highest_version),
18910 do piece-wise major/minor comparison so 0.9 < 0.10
18911 also allow .exe extensions for tools
18913 2005-12-02 Michael Smith <msmith@fluendo.com>
18916 Escape a % to make gtkdoc happier; bug 322958.
18918 === release 0.9.7 ===
18920 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
18923 releasing 0.9.7, "My Dog Has No Nose"
18925 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
18927 * common/gst-xmlinspect.py:
18929 * docs/libs/tmpl/gstdataprotocol.sgml:
18930 * docs/random/release:
18949 * win32/common/config.h:
18950 * win32/common/config.h.in:
18951 * win32/vs6/gst_inspect.dsp:
18952 * win32/vs6/gst_launch.dsp:
18953 * win32/vs6/libgstbase.dsp:
18954 * win32/vs6/libgstelements.dsp:
18955 * win32/vs6/libgstreamer.dsp:
18956 * win32/vs7/GStreamer.vcproj:
18957 * win32/vs7/gst-inspect.vcproj:
18958 * win32/vs7/gst-launch.vcproj:
18959 * win32/vs7/libgstbase.vcproj:
18960 bump GST_MAJORMINOR to 0.10
18961 reset libtool version
18963 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
18967 Added Bulgarian translation by (Alexander Shopov)
18969 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
18971 * tests/check/gst/gstplugin.c:
18974 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
18976 * common/gst-xmlinspect.py:
18977 * common/gtk-doc-plugins.mak:
18979 * docs/Makefile.am:
18980 * docs/gst/Makefile.am:
18981 * docs/gst/gstreamer-docs.sgml:
18982 * docs/gst/gstreamer-sections.txt:
18983 * docs/gst/gstreamer.types:
18984 * docs/gst/gstreamer.types.in:
18985 * docs/plugins/Makefile.am:
18986 * docs/plugins/gstreamer-plugins-docs.sgml:
18987 * docs/plugins/gstreamer-plugins-sections.txt:
18988 * docs/plugins/gstreamer-plugins.types:
18989 * docs/plugins/inspect.stamp:
18990 * docs/plugins/inspect/plugin-coreelements.xml:
18991 * docs/plugins/inspect/plugin-coreindexers.xml:
18992 * docs/plugins/scanobj-build.stamp:
18993 * gstreamer.spec.in:
18994 * plugins/elements/Makefile.am:
18995 * plugins/elements/gstelements.c:
18996 * plugins/elements/gstfakesink.c:
18997 * plugins/elements/gstfakesrc.c:
18998 * plugins/elements/gstfilesink.c:
18999 * plugins/elements/gstfilesrc.c:
19000 * plugins/elements/gstqueue.c:
19001 * plugins/indexers/Makefile.am:
19002 * plugins/indexers/gstindexers.c:
19003 document core plugins in a separate document just like all the
19005 rename these plugins to something starting with core
19007 2005-12-01 Andy Wingo <wingo@pobox.com>
19009 * gst/gstevent.h (struct _GstEvent): Meant to remove the extra
19010 padding here before, but it missed the commit.
19012 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
19014 * libs/gst/controller/gstinterpolation.c:
19015 whitespace prices have crashed, we should feel free to use some now
19016 use gst_guint64_to_gdouble
19018 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
19020 * libs/gst/controller/gstcontroller.c:
19021 * libs/gst/controller/gsthelper.c:
19022 * libs/gst/controller/gstinterpolation.c:
19023 * libs/gst/controller/lib.c:
19024 wrap config.h include
19026 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
19028 * docs/gst/gstreamer-sections.txt:
19031 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
19033 * plugins/elements/gstelements.c:
19034 * plugins/elements/gstfdsink.c: (gst_fd_sink__base_init),
19035 (gst_fd_sink__class_init), (gst_fd_sink__init),
19036 (gst_fd_sink__chain), (gst_fd_sink__set_property),
19037 (gst_fd_sink__get_property):
19038 * plugins/elements/gstfdsink.h:
19039 * plugins/elements/gstfdsrc.c: (_do_init), (gst_fd_src_base_init),
19040 (gst_fd_src_class_init), (gst_fd_src_init), (gst_fd_src_dispose),
19041 (gst_fd_src_update_fd), (gst_fd_src_start), (gst_fd_src_stop),
19042 (gst_fd_src_unlock), (gst_fd_src_set_property),
19043 (gst_fd_src_get_property), (gst_fd_src_create),
19044 (gst_fd_src_is_seekable), (gst_fd_src_get_size),
19045 (gst_fd_src_uri_get_type), (gst_fd_src_uri_get_protocols),
19046 (gst_fd_src_uri_get_uri), (gst_fd_src_uri_set_uri),
19047 (gst_fd_src_uri_handler_init):
19048 * plugins/elements/gstfdsrc.h:
19049 * plugins/elements/gstqueue.c: (gst_queue_get_type):
19052 2005-11-30 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
19054 * docs/gst/Makefile.am:
19055 * docs/gst/gstreamer.types.in:
19059 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19065 * gst/gstregistry.h:
19066 * tests/benchmarks/complexity.c:
19067 * tests/benchmarks/mass-elements.c:
19068 * tests/check/Makefile.am:
19069 * tools/Makefile.am:
19070 * tools/gst-inspect.c:
19071 * tools/gst-xmlinspect.c:
19072 various fixes to make
19073 --disable-nls --disable-registry --disable-loadsave
19074 --disable-parse --disable-gst-debug
19075 work and get the core .so down to 360444 bytes after stripping
19077 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19082 * docs/random/thomasvs/TODO:
19083 * tests/Makefile.am:
19087 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19089 * win32/GStreamer.vcproj:
19092 * win32/Makefile.inspect:
19093 * win32/Makefile.launch:
19094 * win32/Makefile.register:
19095 * win32/README.txt:
19096 * win32/gst-inspect.vcproj:
19097 * win32/gst-launch.vcproj:
19098 * win32/gst-register.vcproj:
19099 * win32/gstelements.vcproj:
19100 * win32/gstgetbits.def:
19101 * win32/gstgetbits.vcproj:
19102 * win32/gstreamer-dbg.def:
19103 * win32/gstreamer.def:
19104 * win32/libgstbase.def:
19105 * win32/libgstbase.vcproj:
19106 * win32/link_oldruntime.c:
19110 * win32/msvc71.sln:
19111 move even more stuff, win32/ is nice and clean now
19113 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19115 * libs/gst/control/.cvsignore:
19120 * win32/gstbytestream.def:
19121 * win32/gstbytestream.vcproj:
19122 * win32/gstconfig.h:
19123 * win32/gstenumtypes.c:
19124 * win32/gstenumtypes.h:
19125 * win32/gstoptimalscheduler.vcproj:
19126 * win32/gstversion.h:
19128 * win32/testsuite/bins.vcproj:
19129 * win32/testsuite/bytestream.vcproj:
19130 * win32/testsuite/caps.vcproj:
19131 * win32/testsuite/cleanup.vcproj:
19132 * win32/testsuite/clock.vcproj:
19133 * win32/testsuite/debug.vcproj:
19134 * win32/testsuite/dlopen.vcproj:
19135 * win32/testsuite/dynparams.vcproj:
19136 * win32/testsuite/elements.vcproj:
19137 * win32/testsuite/ghostpads.vcproj:
19138 * win32/testsuite/indexers.vcproj:
19139 * win32/testsuite/negotiation.vcproj:
19140 * win32/testsuite/parse.vcproj:
19141 * win32/testsuite/plugin.vcproj:
19142 * win32/testsuite/refcounting.vcproj:
19143 * win32/testsuite/schedulers.vcproj:
19144 * win32/testsuite/states.vcproj:
19145 * win32/testsuite/tags.vcproj:
19146 * win32/testsuite/threads.vcproj:
19147 remove old win32 stuff that isn't maintained and should be
19150 2005-11-30 Andy Wingo <wingo@pobox.com>
19152 * configure.ac (GST_PKG_DEPS): Revert previous patch, makes
19153 loading the gst.interfaces python module bork.
19155 * configure.ac (GST_PKG_DEPS): Use gmodule-no-export-2.0.pc,
19156 available since GLib 2.2. Fixes #318031.
19158 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19161 * check/.cvsignore:
19162 * check/Makefile.am:
19163 * check/elements/.cvsignore:
19164 * check/elements/fakesrc.c:
19165 * check/elements/fdsrc.c:
19166 * check/elements/identity.c:
19167 * check/generic/.cvsignore:
19168 * check/generic/states.c:
19169 * check/gst-libs/.cvsignore:
19170 * check/gst-libs/controller.c:
19171 * check/gst-libs/gdp.c:
19172 * check/gst/.cvsignore:
19173 * check/gst/capslist.h:
19175 * check/gst/gstbin.c:
19176 * check/gst/gstbuffer.c:
19177 * check/gst/gstbus.c:
19178 * check/gst/gstcaps.c:
19179 * check/gst/gstelement.c:
19180 * check/gst/gstevent.c:
19181 * check/gst/gstghostpad.c:
19182 * check/gst/gstiterator.c:
19183 * check/gst/gstmessage.c:
19184 * check/gst/gstminiobject.c:
19185 * check/gst/gstobject.c:
19186 * check/gst/gstpad.c:
19187 * check/gst/gstpipeline.c:
19188 * check/gst/gstplugin.c:
19189 * check/gst/gstsegment.c:
19190 * check/gst/gststructure.c:
19191 * check/gst/gstsystemclock.c:
19192 * check/gst/gsttag.c:
19193 * check/gst/gstutils.c:
19194 * check/gst/gstvalue.c:
19195 * check/net/.cvsignore:
19196 * check/net/gstnetclientclock.c:
19197 * check/net/gstnettimeprovider.c:
19198 * check/pipelines/.cvsignore:
19199 * check/pipelines/cleanup.c:
19200 * check/pipelines/simple_launch_lines.c:
19201 * check/pipelines/stress.c:
19202 * check/states/.cvsignore:
19203 * check/states/sinks.c:
19205 * examples/Makefile.am:
19206 * examples/appreader/.cvsignore:
19207 * examples/appreader/Makefile.am:
19208 * examples/appreader/appreader.c:
19209 * examples/controller/.cvsignore:
19210 * examples/controller/Makefile.am:
19211 * examples/controller/audio-example.c:
19212 * examples/cutter/.cvsignore:
19213 * examples/cutter/Makefile.am:
19214 * examples/cutter/cutter.c:
19215 * examples/cutter/cutter.h:
19216 * examples/events/Makefile.am:
19217 * examples/events/seek.c:
19218 * examples/helloworld/.cvsignore:
19219 * examples/helloworld/Makefile.am:
19220 * examples/helloworld/helloworld.c:
19221 * examples/helloworld2/.cvsignore:
19222 * examples/helloworld2/Makefile.am:
19223 * examples/helloworld2/helloworld2.c:
19224 * examples/launch/.cvsignore:
19225 * examples/launch/Makefile.am:
19226 * examples/launch/mp3parselaunch.c:
19227 * examples/launch/mp3play:
19228 * examples/manual/.cvsignore:
19229 * examples/manual/Makefile.am:
19230 * examples/manual/extract.pl:
19231 * examples/metadata/Makefile.am:
19232 * examples/metadata/read-metadata.c:
19233 * examples/mixer/.cvsignore:
19234 * examples/mixer/Makefile.am:
19235 * examples/mixer/mixer.c:
19236 * examples/mixer/mixer.h:
19237 * examples/pingpong/.cvsignore:
19238 * examples/pingpong/Makefile.am:
19239 * examples/pingpong/pingpong.c:
19240 * examples/plugins/.cvsignore:
19241 * examples/plugins/Makefile.am:
19242 * examples/plugins/example.c:
19243 * examples/plugins/example.h:
19244 * examples/pwg/.cvsignore:
19245 * examples/pwg/Makefile.am:
19246 * examples/pwg/extract.pl:
19247 * examples/queue/.cvsignore:
19248 * examples/queue/Makefile.am:
19249 * examples/queue/queue.c:
19250 * examples/queue2/.cvsignore:
19251 * examples/queue2/Makefile.am:
19252 * examples/queue2/queue2.c:
19253 * examples/queue3/.cvsignore:
19254 * examples/queue3/Makefile.am:
19255 * examples/queue3/queue3.c:
19256 * examples/queue4/.cvsignore:
19257 * examples/queue4/Makefile.am:
19258 * examples/queue4/queue4.c:
19259 * examples/retag/.cvsignore:
19260 * examples/retag/Makefile.am:
19261 * examples/retag/retag.c:
19262 * examples/retag/transcode.c:
19263 * examples/thread/.cvsignore:
19264 * examples/thread/Makefile.am:
19265 * examples/thread/thread.c:
19266 * examples/typefind/.cvsignore:
19267 * examples/typefind/Makefile.am:
19268 * examples/typefind/typefind.c:
19269 * examples/xml/.cvsignore:
19270 * examples/xml/Makefile.am:
19271 * examples/xml/createxml.c:
19272 * examples/xml/runxml.c:
19273 * tests/Makefile.am:
19274 * tests/check/Makefile.am:
19275 * testsuite/.cvsignore:
19276 * testsuite/Makefile.am:
19278 * testsuite/caps/.cvsignore:
19279 * testsuite/caps/Makefile.am:
19280 * testsuite/caps/app_fixate.c:
19281 * testsuite/caps/audioscale.c:
19282 * testsuite/caps/caps.c:
19283 * testsuite/caps/caps.h:
19284 * testsuite/caps/caps_strings:
19285 * testsuite/caps/compatibility.c:
19286 * testsuite/caps/deserialize.c:
19287 * testsuite/caps/enumcaps.c:
19288 * testsuite/caps/eratosthenes.c:
19289 * testsuite/caps/filtercaps.c:
19290 * testsuite/caps/fixed.c:
19291 * testsuite/caps/fraction-convert.c:
19292 * testsuite/caps/fraction-multiply-and-zero.c:
19293 * testsuite/caps/intersect2.c:
19294 * testsuite/caps/intersection.c:
19295 * testsuite/caps/normalisation.c:
19296 * testsuite/caps/random.c:
19297 * testsuite/caps/renegotiate.c:
19298 * testsuite/caps/sets.c:
19299 * testsuite/caps/simplify.c:
19300 * testsuite/caps/string-conversions.c:
19301 * testsuite/caps/structure.c:
19302 * testsuite/caps/subtract.c:
19303 * testsuite/caps/union.c:
19304 * testsuite/debug/.cvsignore:
19305 * testsuite/debug/Makefile.am:
19306 * testsuite/debug/category.c:
19307 * testsuite/debug/commandline.c:
19308 * testsuite/debug/global.c:
19309 * testsuite/debug/output.c:
19310 * testsuite/debug/printf_extension.c:
19311 * testsuite/dlopen/.cvsignore:
19312 * testsuite/dlopen/Makefile.am:
19313 * testsuite/dlopen/dlopen_gst.c:
19314 * testsuite/dlopen/loadgst.c:
19315 * testsuite/elements/.cvsignore:
19316 * testsuite/elements/Makefile.am:
19317 * testsuite/elements/gst-inspect-check.in:
19318 * testsuite/elements/struct_i386.h:
19319 * testsuite/elements/struct_size.c:
19320 * testsuite/indexers/.cvsignore:
19321 * testsuite/indexers/Makefile.am:
19322 * testsuite/indexers/cache1.c:
19323 * testsuite/indexers/indexdump.c:
19324 * testsuite/parse/.cvsignore:
19325 * testsuite/parse/Makefile.am:
19326 * testsuite/parse/parse1.c:
19327 * testsuite/parse/parse2.c:
19328 * testsuite/plugin/.cvsignore:
19329 * testsuite/plugin/Makefile.am:
19330 * testsuite/plugin/README:
19331 * testsuite/plugin/dynamic.c:
19332 * testsuite/plugin/linked.c:
19333 * testsuite/plugin/loading.c:
19334 * testsuite/plugin/registry.c:
19335 * testsuite/plugin/static.c:
19336 * testsuite/plugin/static2.c:
19337 * testsuite/plugin/testplugin.c:
19338 * testsuite/plugin/testplugin2.c:
19339 * testsuite/plugin/testplugin2_s.c:
19340 * testsuite/plugin/testplugin_s.c:
19341 * testsuite/refcounting/.cvsignore:
19342 * testsuite/refcounting/Makefile.am:
19343 * testsuite/refcounting/bin.c:
19344 * testsuite/refcounting/element.c:
19345 * testsuite/refcounting/element_pad.c:
19346 * testsuite/refcounting/mainloop.c:
19347 * testsuite/refcounting/mem.c:
19348 * testsuite/refcounting/mem.h:
19349 * testsuite/refcounting/object.c:
19350 * testsuite/refcounting/pad.c:
19351 * testsuite/refcounting/sched.c:
19352 * testsuite/refcounting/thread.c:
19353 * testsuite/states/.cvsignore:
19354 * testsuite/states/Makefile.am:
19355 * testsuite/states/bin.c:
19356 * testsuite/states/locked.c:
19357 * testsuite/states/parent.c:
19358 * testsuite/threads/.cvsignore:
19359 * testsuite/threads/159566.c:
19360 * testsuite/threads/159852.c:
19361 * testsuite/threads/Makefile.am:
19362 * testsuite/threads/queue.c:
19363 * testsuite/threads/signals.c:
19364 * testsuite/threads/staticrec.c:
19365 * testsuite/threads/thread.c:
19366 * testsuite/threads/threadb.c:
19367 * testsuite/threads/threadc.c:
19368 * testsuite/threads/threadd.c:
19369 * testsuite/threads/threade.c:
19370 * testsuite/threads/threadf.c:
19371 * testsuite/threads/threadg.c:
19372 * testsuite/threads/threadh.c:
19373 * testsuite/threads/threadi.c:
19374 move all of these under tests
19376 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19379 * tests/Makefile.am:
19382 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19384 * docs/gst/gstreamer-sections.txt:
19385 * tests/sched/.cvsignore:
19386 * tests/sched/Makefile.am:
19387 * tests/sched/cases/(fs-fs).xml:
19388 * tests/sched/cases/(fs-i-fs).xml:
19389 * tests/sched/cases/(fs-i-i-fs).xml:
19390 * tests/sched/cases/(fs-i-q[i-fs]).xml:
19391 * tests/sched/dynamic-pipeline.c:
19392 * tests/sched/interrupt1.c:
19393 * tests/sched/interrupt2.c:
19394 * tests/sched/interrupt3.c:
19395 * tests/sched/runtestcases:
19396 * tests/sched/runxml.c:
19397 * tests/sched/sched-stress.c:
19398 * tests/sched/sort.c:
19399 * tests/sched/testcases:
19400 * tests/sched/testcases1.tc:
19401 * tests/seeking/.cvsignore:
19402 * tests/seeking/Makefile.am:
19403 * tests/seeking/seeking1.c:
19404 * tests/threadstate/.cvsignore:
19405 * tests/threadstate/Makefile.am:
19406 * tests/threadstate/test1.c:
19407 * tests/threadstate/test2.c:
19408 * tests/threadstate/threadstate1.c:
19409 * tests/threadstate/threadstate2.c:
19410 * tests/threadstate/threadstate3.c:
19411 * tests/threadstate/threadstate4.c:
19412 * tests/threadstate/threadstate5.c:
19413 remove obsolete tests
19415 * tests/bench-complexity.scm:
19416 * tests/bench-mass_elements.scm:
19417 * tests/complexity.c:
19418 * tests/complexity.gnuplot:
19419 * tests/instantiate/.cvsignore:
19420 * tests/instantiate/Makefile.am:
19421 * tests/instantiate/caps.c:
19422 * tests/mass_elements.c:
19423 * tests/network-clock-utils.scm:
19424 * tests/network-clock.scm:
19426 First pass at cleaning up tests/ dir before moving the rest
19427 Combined with CVS surgery
19429 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19432 queue has moved, update
19434 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19436 * docs/gst/gstreamer-sections.txt:
19437 remove double entries from the docs
19438 * gst/gst_private.h:
19439 * gst/gstinfo.c: (_gst_debug_init):
19440 remove the THREAD debug category
19444 * docs/gst/gstreamer.types:
19445 * plugins/elements/gstqueue.c: (gst_queue_get_type),
19446 (gst_queue_init), (gst_queue_finalize), (gst_queue_change_state):
19447 completely move queue and fix up debugging categories
19449 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19451 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
19452 make initialization portable, using LL is not
19454 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19456 * win32/common/gstconfig.h:
19459 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19461 * win32/common/libgstreamer.def:
19462 rename symbols; sort base section
19464 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19466 * gst/gstclock.c: (do_linear_regression):
19467 remove crack non-portable handrolled DEBUG macro
19469 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19471 * docs/random/release:
19473 * win32/common/gstenumtypes.c: (register_gst_object_flags),
19474 (gst_object_flags_get_type), (register_gst_bin_flags),
19475 (gst_bin_flags_get_type), (register_gst_buffer_flag),
19476 (gst_buffer_flag_get_type), (register_gst_bus_flags),
19477 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
19478 (gst_bus_sync_reply_get_type), (register_gst_caps_flags),
19479 (gst_caps_flags_get_type), (register_gst_clock_return),
19480 (gst_clock_return_get_type), (register_gst_clock_entry_type),
19481 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
19482 (gst_clock_flags_get_type), (register_gst_state),
19483 (gst_state_get_type), (register_gst_state_change_return),
19484 (gst_state_change_return_get_type), (register_gst_state_change),
19485 (gst_state_change_get_type), (register_gst_element_flags),
19486 (gst_element_flags_get_type), (register_gst_core_error),
19487 (gst_core_error_get_type), (register_gst_library_error),
19488 (gst_library_error_get_type), (register_gst_resource_error),
19489 (gst_resource_error_get_type), (register_gst_stream_error),
19490 (gst_stream_error_get_type), (register_gst_event_type_flags),
19491 (gst_event_type_flags_get_type), (register_gst_event_type),
19492 (gst_event_type_get_type), (register_gst_seek_type),
19493 (gst_seek_type_get_type), (register_gst_seek_flags),
19494 (gst_seek_flags_get_type), (register_gst_format),
19495 (gst_format_get_type), (register_gst_index_certainty),
19496 (gst_index_certainty_get_type), (register_gst_index_entry_type),
19497 (gst_index_entry_type_get_type),
19498 (register_gst_index_lookup_method),
19499 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
19500 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
19501 (gst_index_resolver_method_get_type), (register_gst_index_flags),
19502 (gst_index_flags_get_type), (register_gst_debug_level),
19503 (gst_debug_level_get_type), (register_gst_debug_color_flags),
19504 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
19505 (gst_iterator_result_get_type), (register_gst_iterator_item),
19506 (gst_iterator_item_get_type), (register_gst_message_type),
19507 (gst_message_type_get_type), (register_gst_mini_object_flags),
19508 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
19509 (gst_pad_link_return_get_type), (register_gst_flow_return),
19510 (gst_flow_return_get_type), (register_gst_activate_mode),
19511 (gst_activate_mode_get_type), (register_gst_pad_direction),
19512 (gst_pad_direction_get_type), (register_gst_pad_flags),
19513 (gst_pad_flags_get_type), (register_gst_pad_presence),
19514 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
19515 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
19516 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
19517 (gst_plugin_error_get_type), (register_gst_plugin_flags),
19518 (gst_plugin_flags_get_type), (register_gst_rank),
19519 (gst_rank_get_type), (register_gst_query_type),
19520 (gst_query_type_get_type), (register_gst_tag_merge_mode),
19521 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
19522 (gst_tag_flag_get_type), (register_gst_task_state),
19523 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
19524 (gst_alloc_trace_flags_get_type),
19525 (register_gst_type_find_probability),
19526 (gst_type_find_probability_get_type), (register_gst_uri_type),
19527 (gst_uri_type_get_type), (register_gst_parse_error),
19528 (gst_parse_error_get_type):
19529 * win32/common/gstenumtypes.h:
19530 * win32/common/gstversion.h:
19531 update visual studio generated files
19533 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19535 * win32/vs6/libgstbase.dsp:
19536 * win32/vs6/libgstelements.dsp:
19537 update project files for new locations
19539 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19544 reinstate and update
19549 * docs/random/LICENSE:
19552 2005-11-30 Edward Hervey <edward@fluendo.com>
19554 * gst/gsttypefind.c: (gst_type_find_register):
19555 * gst/gsttypefind.h:
19556 * gst/gsttypefindfactory.c: (gst_type_find_factory_init),
19557 (gst_type_find_factory_dispose):
19558 * gst/gsttypefindfactory.h:
19559 Fix memory leak in GstTypeFindFactory.
19561 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
19564 * plugins/elements/Makefile.am:
19565 * plugins/elements/gstelements.c:
19566 * plugins/elements/gstqueue.c:
19567 move queue from core to the elements plugin
19569 2005-11-29 Andy Wingo <wingo@pobox.com>
19571 * libs/gst/base/gstbasetransform.h:
19572 * libs/gst/base/gstbasesrc.h:
19573 * libs/gst/base/gstbasesink.h: en-LARGE the padding.
19575 * gst/gstconfig.h.in (GST_PADDING_LARGE): New define, the number
19576 of pointers by which to pad very extensible base classes (like the
19577 ones in libs/gst/base).
19579 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
19581 * docs/gst/gstreamer-docs.sgml:
19582 * docs/gst/gstreamer-sections.txt:
19583 * docs/libs/gstreamer-libs-docs.sgml:
19584 * docs/libs/gstreamer-libs-sections.txt:
19585 moving documentation from core to lib
19587 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
19589 * check/Makefile.am:
19591 * docs/gst/Makefile.am:
19593 * gst/base/.cvsignore:
19594 * gst/base/Makefile.am:
19596 * gst/base/gstadapter.c:
19597 * gst/base/gstadapter.h:
19598 * gst/base/gstbasesink.c:
19599 * gst/base/gstbasesink.h:
19600 * gst/base/gstbasesrc.c:
19601 * gst/base/gstbasesrc.h:
19602 * gst/base/gstbasetransform.c:
19603 * gst/base/gstbasetransform.h:
19604 * gst/base/gstcollectpads.c:
19605 * gst/base/gstcollectpads.h:
19606 * gst/base/gstpushsrc.c:
19607 * gst/base/gstpushsrc.h:
19608 * gst/base/gsttypefindhelper.c:
19609 * gst/base/gsttypefindhelper.h:
19610 * gst/check/Makefile.am:
19611 * gst/check/gstcheck.c:
19612 * gst/check/gstcheck.h:
19613 * gst/net/Makefile.am:
19614 * gst/net/gstnet.h:
19615 * gst/net/gstnetclientclock.c:
19616 * gst/net/gstnetclientclock.h:
19617 * gst/net/gstnettimepacket.c:
19618 * gst/net/gstnettimepacket.h:
19619 * gst/net/gstnettimeprovider.c:
19620 * gst/net/gstnettimeprovider.h:
19621 * libs/gst/Makefile.am:
19622 * libs/gst/base/Makefile.am:
19623 * libs/gst/base/gstbasetransform.c:
19624 * libs/gst/check/Makefile.am:
19625 * plugins/elements/Makefile.am:
19627 CVS surgery + support to move base, check, and net out of gst
19630 2005-11-29 Andy Wingo <wingo@pobox.com>
19632 * gst/gstevent.h (struct _GstEvent): Only one pointer of padding.
19634 * gst/gststructure.h (struct _GstStructure): Only one pointer of
19637 * gst/gstquery.h (struct _GstQuery): Only one pointer of padding.
19639 * gst/gstpluginfeature.h: Remove a comment in PluginFeature.
19641 * gst/gstplugin.h (struct _GstPluginClass): Add some padding.
19643 * gst/gstobject.h: (struct _GstObject): Only one pointer of
19644 padding; reduces object size by about 30%. We don't expect
19645 anything else to go into gstobject.
19647 * gst/gstminiobject.h (struct _GstMiniObject)
19648 (struct _GstMiniObjectClass): Only one pointer of padding; the
19649 payload is only a pointer and two ints anyway. For the class there
19650 are only two methods as well.
19652 * gst/gstelement.h (struct _GstElementClass): Removed
19653 the state_changed signal callback, it is not used.
19655 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
19657 * docs/gst/gstreamer.types:
19658 fix includes, though they are a little dinky
19660 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
19662 * check/Makefile.am:
19663 look in the right place for elements, a lot more chance of
19666 remove indexers and elements subdirs
19667 * plugins/Makefile.am:
19668 make indexers conditional
19670 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
19674 * plugins/elements/Makefile.am:
19675 * plugins/elements/gstcapsfilter.c:
19676 * plugins/elements/gstfilesink.c:
19677 * plugins/elements/gstfilesrc.c:
19678 * plugins/elements/gstidentity.c:
19679 * plugins/indexers/Makefile.am:
19680 do CVS surgery and related build fixery to move elements
19681 and indexers in a new gstreamer/plugins directory, out of the
19684 2005-11-29 Andy Wingo <wingo@pobox.com>
19686 * check/Makefile.am:
19687 * pkgconfig/gstreamer-net-uninstalled.pc.in:
19688 * pkgconfig/gstreamer-net.pc.in:
19689 * gst/net/Makefile.am: Rename gstnet-tempname to gstnet. Fixes
19692 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
19694 * tools/Makefile.am:
19695 * tools/gst-complete.1.in:
19696 * tools/gst-complete.c:
19697 * tools/gst-compprep.1.in:
19698 * tools/gst-compprep.c:
19699 removing -compprep and -complete
19701 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
19703 * gst/gstevent.c: (gst_event_new_new_segment),
19704 (gst_event_parse_new_segment):
19706 fix #320529 - clean up new_segment API and structure.
19707 Let's hope everyone was using the methods, and not the structure.
19709 2005-11-29 Edward Hervey <edward@fluendo.com>
19711 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
19712 (gst_base_sink_event), (gst_base_sink_do_sync),
19713 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
19714 Properly handle non GST_FORMAT_TIME segment
19715 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
19716 Properly handle non GST_FORMAT_TIME segment
19717 * gst/gstsegment.c:
19718 This function is valid if the accumulator is 0 and the format
19719 is different from the requested format.
19721 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
19723 * docs/gst/gstreamer-sections.txt:
19724 Add gst_query_new_seeking and gst_query_parse_seeking to the
19727 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
19729 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
19730 Treat a pad alloc with new caps the same as if we were not
19731 negotiated, in order to allow a changing upstream output
19732 to produce a new format of data.
19734 2005-11-29 Edward Hervey <edward@fluendo.com>
19736 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
19737 (gst_base_transform_event), (gst_base_transform_eventfunc):
19738 The event virtual method is now properly implemented, with a default
19740 Sub classes should call the parent_class event method. They should
19741 return FALSE if they had a problem handling the given event, or don't
19742 want GstBaseTransform to send that even downstream
19743 * gst/elements/gstidentity.c: (gst_identity_class_init),
19744 (gst_identity_init), (gst_identity_event),
19745 (gst_identity_transform_ip), (gst_identity_set_property),
19746 (gst_identity_get_property):
19747 * gst/elements/gstidentity.h:
19748 Added the single-segment boolean property.
19749 If set to TRUE, it will output a single segment of data, starting from
19750 0, will eat up all incoming newsegment, and modify the timestamp of the
19751 buffers accordingly
19753 2005-11-29 Tim-Philipp Müller <tim at centricular dot net>
19755 * gst/gstghostpad.c: (gst_proxy_pad_get_target):
19756 Don't ref NULL target pad (#322751). Improve docs.
19758 2005-11-29 Michael Smith <msmith@fluendo.com>
19760 * gst/gstregistryxml.c: (load_plugin):
19761 Don't crash if we failed to load a feature from a plugin.
19763 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
19765 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
19767 use more check API and less GLib API
19769 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
19772 don't run checks if we don't have check
19773 * common/check.mak:
19774 remove the registry when running make torture
19775 * docs/gst/gstreamer-sections.txt:
19776 remove second multiply
19777 * gst/gstqueue.c: (gst_queue_loop):
19778 fix a compile warning when disabling debug
19780 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
19783 Hey! Let's print the pad name if the pointer != NULL instead
19784 of when it == NULL :-)
19786 2005-11-28 Wim Taymans <wim@fluendo.com>
19788 * check/gst/gstutils.c: (GST_START_TEST):
19789 Updated check, add some scaling accuracy checking code.
19791 * gst/gstutils.c: (gst_util_div128_64),
19792 (gst_util_uint64_scale_int64), (gst_util_uint64_scale),
19793 (gst_util_uint64_scale_int):
19794 Fix 6 times faster division code. Optimize for common
19795 1/1 and less common X/1 cases.
19797 2005-11-28 Wim Taymans <wim@fluendo.com>
19799 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
19802 * gst/gstclock.c: (gst_clock_finalize), (gst_clock_set_master),
19803 (do_linear_regression), (gst_clock_add_observation):
19805 Release lock when the clock cannot be slaved.
19806 Catch the case where the regression returned an invalid denominator.
19808 * gst/gstutils.c: (gst_util_div128_64_iterate),
19809 (gst_util_div128_64), (gst_util_uint64_scale_int64),
19810 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
19811 Add protentially more performant non-iterative 128/64 divide function
19812 that unfortunatly does not work yet.
19813 Shortcut the trivial 0/X = 0 case.
19814 Remove the warnings on overflow.
19816 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
19818 * gst/gstplugin.c: (gst_plugin_register_func):
19819 everything causing a plugin not to load should be at least a WARNING
19821 2005-11-28 Stefan Kost <ensonic@users.sf.net>
19823 * docs/random/ensonic/dparams.txt:
19824 some TODOs for the next dev cycle
19825 * libs/gst/controller/gstcontroller.c:
19826 (gst_controlled_property_set_interpolation_mode),
19827 (gst_controlled_property_new):
19828 * libs/gst/controller/gstcontroller.h:
19829 use base type to assign acccessor functions
19831 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
19833 * check/Makefile.am:
19834 Oops, that should have been top_srcdir
19836 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
19838 * check/Makefile.am:
19839 * check/elements/fdsrc.c: (GST_START_TEST):
19840 Use a cmdline define to specify the location of a file to use for
19841 testing, to avoid breaking distcheck.
19843 2005-11-28 Andy Wingo <wingo@pobox.com>
19845 * gst/gstpad.c (fixate_value): Use array functions for arrays.
19847 2005-11-28 Edward Hervey <edward@fluendo.com>
19849 * tools/gst-launch.c: (main):
19850 Clarify the output strings, makes it easier to translate.
19853 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
19856 don't try and build net if we don't even have <sys/socket.h>
19858 2005-11-27 Jan Schmidt <thaytan@mad.scientist.com>
19860 * check/Makefile.am:
19861 * check/elements/fdsrc.c: (event_func), (setup_fdsrc),
19862 (cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
19863 Add tests for fdsrc seekability
19865 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
19866 (gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
19867 (gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
19868 (gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
19869 * gst/elements/gstfdsrc.h:
19870 fdsrc should not be a 'live' source.
19871 Implement seeking on seekable fd's.
19873 * gst/gstquery.c: (gst_query_new_seeking),
19874 (gst_query_parse_seeking):
19876 Implement SEEKING query functions:
19877 *_new_seeking and *_parse_seeking
19879 2005-11-27 Stefan Kost <ensonic@users.sf.net>
19881 * gst/gstelement.c: (gst_element_dispose):
19884 * gst/gstiterator.c:
19885 * gst/gststructure.c:
19888 * libs/gst/controller/gstcontroller.c:
19889 (gst_controlled_property_set_interpolation_mode):
19890 * libs/gst/controller/gstcontroller.h:
19891 * libs/gst/controller/gstinterpolation.c:
19892 (interpolate_none_get_enum_value_array):
19893 support controlling enums
19895 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
19898 Improve documentation for gst_value_union().
19901 Change return value for union, intersect and subtract functions
19902 from gint to gboolean.
19904 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
19906 * gst/gstvalue.c: (gst_value_serialize_any_list),
19907 (gst_value_transform_any_list_string),
19908 (gst_value_deserialize_list), (gst_value_deserialize_array),
19909 (gst_value_set_int_range), (gst_value_deserialize_int_range),
19910 (gst_value_set_double_range), (gst_value_deserialize_double_range),
19911 (gst_value_set_fraction_range_full),
19912 (gst_value_deserialize_fraction_range),
19913 (gst_value_deserialize_caps), (gst_value_deserialize_buffer),
19914 (gst_value_deserialize_boolean),
19915 (gst_value_deserialize_int_helper), (gst_value_deserialize_double),
19916 (gst_value_serialize_float), (gst_value_deserialize_float),
19917 (gst_string_wrap), (gst_value_deserialize_string),
19918 (gst_value_deserialize_enum), (gst_value_deserialize_flags),
19919 (gst_value_union_int_range_int_range),
19920 (gst_value_intersect_int_range_int_range),
19921 (gst_value_intersect_double_range_double_range),
19922 (gst_value_create_new_range), (gst_value_subtract_int_range_int),
19923 (gst_value_subtract_int_range_int_range),
19924 (gst_value_subtract_double_double_range),
19925 (gst_value_subtract_double_range_double_range),
19926 (gst_value_deserialize_fraction):
19928 Use gint, gdouble and gchar in our API instead of int, double and
19929 char (and make usage in gstvalue.c more consistent).
19931 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
19933 * check/Makefile.am:
19934 * libs/gst/controller/Makefile.am:
19935 * libs/gst/dataprotocol/Makefile.am:
19936 fix up Makefile.am and remove GST_ENABLE_NEW
19938 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
19942 * gst/base/Makefile.am:
19943 * gst/check/Makefile.am:
19944 * gst/elements/Makefile.am:
19945 * gst/net/Makefile.am:
19946 update LDFLAGS use some more
19948 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
19950 * common/m4/gst-doc.m4:
19953 2005-11-26 Edward Hervey <edward@fluendo.com>
19955 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
19956 This shouldn't issue a g_warning since it returns NULL if it
19957 couldn't find the plugin, and all functions using this behave
19958 properly on a NULL return. Switching to a GST_WARNING.
19960 2005-11-25 Jan Schmidt <thaytan@mad.scientist.com>
19962 * gst/gstbin.c: (gst_bin_handle_message_func):
19963 Don't leak clock messages.
19965 2005-11-25 Wim Taymans <wim@fluendo.com>
19967 * gst/gstutils.c: (gst_util_uint64_scale_int64),
19968 (gst_util_uint64_scale_int):
19969 Optimisations, remove unneeded vars.
19971 2005-11-25 Wim Taymans <wim@fluendo.com>
19973 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
19974 Added more checks for the high precision uint64 cases.
19976 * gst/gstutils.c: (gst_util_uint64_scale_int64),
19977 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
19978 Implement high precision (guint64 * guint64) / guint64.
19980 2005-11-24 Wim Taymans <wim@fluendo.com>
19982 * gst/base/gstbasesrc.c: (gst_base_src_query):
19983 Fix wrong percentage query.
19985 * gst/gstutils.c: (gst_util_uint64_scale),
19986 (gst_util_uint64_scale_int):
19987 Add some more common cases that can be handled
19988 efficiently to _scale.
19990 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
19992 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
19993 (gst_mini_object_suite):
19994 don't use check calls from threads; check probably isn't
19995 threadsafe and using a lock to make it threadsafe would
19996 defeat the purpose of this check
19997 * gst/check/gstcheck.c:
19998 * gst/check/gstcheck.h:
19999 use GST_DEBUG some more
20001 2005-11-24 Wim Taymans <wim@fluendo.com>
20003 * gst/gstutils.c: (gst_util_uint64_scale),
20004 (gst_util_uint64_scale_int):
20005 Chain trivial case to _scale_int.
20007 2005-11-24 Wim Taymans <wim@fluendo.com>
20009 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
20010 Added test for scaling.
20015 * gst/gstutils.c: (gst_util_uint64_scale_int):
20016 Implemented high precision scaling code.
20018 2005-11-24 Stefan Kost <ensonic@users.sf.net>
20021 do not crash on pad==NULL
20023 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
20025 Patch by: Stefan Kost
20027 * common/gtk-doc.mak:
20028 * docs/gst/Makefile.am:
20029 * docs/libs/Makefile.am:
20030 Fix distcheck issues for the libraries docs build
20033 2005-11-24 Michael Smith <msmith@fluendo.com>
20035 * docs/manual/basics-helloworld.xml:
20036 Fix bug #315027: memory leak in example code in docs.
20038 2005-11-24 Michael Smith <msmith@fluendo.com>
20040 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20041 Unlock the PREROLL_LOCK in a failure case.
20043 2005-11-24 Wim Taymans <wim@fluendo.com>
20045 * docs/gst/gstreamer-sections.txt:
20046 * gst/base/gstadapter.h:
20047 * gst/base/gstbasesink.h:
20048 * gst/base/gstbasesrc.h:
20049 * gst/base/gstbasetransform.h:
20050 * gst/base/gstpushsrc.h:
20051 * gst/elements/gstfakesink.h:
20052 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
20053 * gst/elements/gstfakesrc.h:
20054 * gst/elements/gstfilesink.h:
20055 * gst/elements/gstfilesrc.h:
20058 * gst/gstbuffer.c: (_gst_buffer_copy):
20061 * gst/gstchildproxy.c:
20063 * gst/gstelement.c:
20064 * gst/gstelementfactory.c:
20065 * gst/gstelementfactory.h:
20067 * gst/gstghostpad.h:
20069 * gst/gstinterface.h:
20070 * gst/gstminiobject.c:
20071 * gst/gstminiobject.h:
20074 * gst/gstpadtemplate.h:
20075 * gst/gstpipeline.h:
20076 * gst/gstpluginfeature.h:
20079 * gst/gsttaglist.c:
20080 * gst/gsttaglist.h:
20081 * gst/gsttagsetter.c:
20082 * gst/gsttagsetter.h:
20085 * gst/gsttypefind.h:
20088 * gst/net/gstnetclientclock.c:
20089 * gst/net/gstnetclientclock.h:
20090 * gst/net/gstnettimepacket.c:
20091 * gst/net/gstnettimeprovider.c:
20092 * gst/net/gstnettimeprovider.h:
20095 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
20097 * configure.ac: back to HEAD
20099 === release 0.9.6 ===
20101 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
20104 releasing 0.9.6, "Always On Time"
20106 2005-11-23 Wim Taymans <wim@fluendo.com>
20108 * docs/gst/gstreamer-sections.txt:
20109 * gst/glib-compat.c:
20110 * gst/gsttagsetter.c:
20112 * gst/net/gstnetclientclock.c:
20113 * gst/net/gstnettimepacket.h:
20116 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
20118 * docs/faq/using.xml:
20119 * docs/libs/tmpl/gstcontrol.sgml:
20120 * docs/manual/advanced-dparams.xml:
20121 * docs/manual/appendix-checklist.xml:
20122 * docs/manual/basics-elements.xml:
20123 * docs/pwg/other-source.xml:
20124 * docs/random/moving-plugins:
20126 * tools/gst-launch.1.in:
20127 remove mentions of sinesrc
20129 2005-11-23 Michael Smith <msmith@fluendo.com>
20131 * docs/gst/gstreamer-sections.txt:
20132 Update for new API and API changes.
20134 Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
20136 Documentation typo fix.
20137 * gst/net/gstnettimepacket.c:
20138 Documentation fixes for arguments.
20140 2005-11-23 Jan Schmidt <thaytan@mad.scientist.com>
20142 * gst/gststructure.c: (gst_structure_get_fraction),
20143 (gst_structure_parse_value),
20144 (gst_structure_fixate_field_nearest_fraction):
20145 * gst/gststructure.h:
20146 * gst/gstutils.c: (gst_util_uint64_scale_int):
20148 * scripts/update-funcnames:
20150 Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
20151 Make gst_structure_fixate_field_nearest_fraction take a numerator
20152 and denominator argument instead of a GValue
20153 add gst_structure_get_fraction helper function.
20155 2005-11-23 Wim Taymans <wim@fluendo.com>
20157 * docs/design/part-TODO.txt:
20160 * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
20161 * gst/net/gstnetclientclock.h:
20162 Use parent fields for timeout and window_size.
20164 2005-11-23 Andy Wingo <wingo@pobox.com>
20166 * check/net/gstnetclientclock.c (test_functioning): Adjust to
20167 rate_num/rate_denom change.
20169 * gst/net/gstnetclientclock.c
20170 (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
20171 OBJECT_LOCK. Don't call add_observation with the lock.
20173 * gst/gstclock.c (gst_clock_init): Initialize the rate as a
20175 (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
20177 (gst_clock_set_calibration, gst_clock_get_calibration): Change to
20178 deal with rate as a fraction whose numerator and denominator are
20179 GstClockTime values.
20180 (gst_clock_set_master): Only use the OBJECT_LOCK to set the
20181 master; the other fields are protected by the SLAVE_LOCK.
20182 (do_linear_regression): Note that this must be called with the
20184 (gst_clock_add_observation): Take the SLAVE_LOCK, not the
20185 OBJECT_LOCK. Call set_calibration instead of touching the
20186 variables directly.
20187 (gst_clock_set_property, gst_clock_get_property): Protect
20188 master/slave parameters with the SLAVE_LOCK.
20190 * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
20191 rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
20192 note that all of the instance variables that add_observation and
20193 the set_master functions use are protected by that lock and not
20195 (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
20197 * gst/gstclock.c (gst_clock_add_observation): No longer requires
20198 the caller to take the object lock.
20200 2005-11-23 Wim Taymans <wim@fluendo.com>
20202 * gst/gsterror.c: (_gst_core_errors_init):
20204 Add error for clock stuff.
20206 * gst/gstpipeline.c: (gst_pipeline_change_state),
20207 (gst_pipeline_set_clock):
20208 Post clock error when clock cannot be used in a pipeline.
20210 2005-11-23 Stefan Kost <ensonic@users.sf.net>
20212 * docs/gst/gstreamer-sections.txt:
20213 make two symbols from gstinfo private for the docs
20214 * gst/base/gstcollectpads.h:
20216 fix doc typos, update docs
20218 2005-11-22 Wim Taymans <wim@fluendo.com>
20220 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
20221 (gst_base_sink_wait), (gst_base_sink_do_sync),
20222 (gst_base_sink_handle_event):
20223 * gst/base/gstbasesink.h:
20224 No need to store the clock, the parent element class already
20227 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
20228 Updates for clock_set returning a gboolean
20230 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
20231 (gst_clock_id_wait_async), (gst_clock_class_init),
20232 (gst_clock_init), (gst_clock_finalize),
20233 (gst_clock_get_internal_time), (gst_clock_get_time),
20234 (gst_clock_slave_callback), (gst_clock_set_master),
20235 (gst_clock_get_master), (do_linear_regression),
20236 (gst_clock_add_observation), (gst_clock_set_property),
20237 (gst_clock_get_property):
20239 Implement master/slave. When setting a clock as a slave, a
20240 periodic timeout is scheduled to sample master and slave times.
20241 Then the slave clock is recalibrated to match offset and rate
20242 of the master clock.
20243 Update logging a bit.
20244 Add flag so that a clock can state that is cannot be slaved to
20247 * gst/gstelement.c: (gst_element_set_clock):
20248 * gst/gstelement.h:
20249 The set clock returns a gboolean for when an element cannot
20250 deal with the selected clock in the pipeline.
20252 * gst/gstpipeline.c: (gst_pipeline_change_state),
20253 (gst_pipeline_set_clock):
20254 * gst/gstpipeline.h:
20255 Handle the case where the selected clock cannot be set on
20258 * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
20259 (gst_net_client_clock_init), (gst_net_client_clock_finalize),
20260 (gst_net_client_clock_set_property),
20261 (gst_net_client_clock_get_property),
20262 (gst_net_client_clock_observe_times):
20263 * gst/net/gstnetclientclock.h:
20264 Use regression code in GstClock parent, remove duplicated
20267 2005-11-22 Michael Smith <msmith@fluendo.com>
20269 * gst/gstutils.c: (gst_util_clock_time_scale):
20271 * docs/gst/gstreamer-sections.txt:
20272 Rename method to have extra underscore.
20274 2005-11-22 Thomas Vander Stichele <thomas at apestaart dot org>
20276 * gst/elements/Makefile.am:
20277 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
20278 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
20279 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
20280 (gst_fake_src_init), (gst_fake_src_prepare_buffer),
20281 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
20282 * gst/elements/gstfakesrc.h:
20283 * gst/gstqueue.c: (queue_leaky_get_type):
20284 correctly fix GEnumValues so that nick is the short lowercase
20286 * tools/gst-inspect.c: (print_element_properties_info):
20287 also show the nick, since it's useful to use from parse_launch
20291 2005-11-22 Michael Smith <msmith@fluendo.com>
20293 * gst/gstutils.c: (gst_util_clocktime_scale):
20295 * docs/gst/gstreamer-sections.txt:
20296 Add util method for scaling a clocktime by a fraction. Useful
20297 implementation is left as an exercise for the reader.
20299 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
20301 * gst/gstvalue.c: (gst_value_collect_fraction_range):
20302 If needed, allocate storage in the destination value during
20305 2005-11-22 Edward Hervey <edward@fluendo.com>
20307 * docs/gst/gstreamer-sections.txt:
20310 * gst/gsturitype.c:
20311 * gst/gsturitype.h:
20312 * gst/gstutils.c: (gst_util_set_object_arg):
20313 * tools/gst-compprep.c: (main):
20314 * tools/gst-inspect.c: (print_element_properties_info):
20315 Removed GstURI, closes bug #321061
20317 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
20319 * check/gst/gststructure.c: (GST_START_TEST):
20320 * gst/gststructure.c: (gst_structure_parse_value):
20321 Oops, broke automatic string type parsing.
20322 Add a test to catch it in future.
20324 2005-11-22 Andy Wingo <wingo@pobox.com>
20326 * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode)
20327 (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
20328 Actually rename the function implementations. Grr.
20330 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
20332 * check/gst/capslist.h:
20334 * check/gst/gststructure.c: (GST_START_TEST),
20335 (gst_structure_suite):
20336 Test automatic value type detection in gst_structure_from_string.
20337 * gst/gststructure.c: (gst_structure_parse_value):
20338 Add fraction as a type we try and guess automatically in
20339 caps/structure strings.
20341 2005-11-22 Andy Wingo <wingo@pobox.com>
20343 patch by: Torsten Schoenfeld <kaffeetisch gmx de>
20345 * gst/gsttagsetter.h:
20346 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
20347 (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
20348 (gst_tag_setter_add_tag_valist)
20349 (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
20350 _add_values, _add_valist, and _add_valist_values. Since this is an
20351 interface the function suffixes should be more explicit so
20352 language binding don't end up with element.add_valist ->
20353 gst_tag_setter_add_valist, for example. Fixes #322069.
20355 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
20357 * check/gst/gstcaps.c: (GST_START_TEST):
20358 Extend caps string tests to check that a caps to string
20359 conversion is reversible and produces the same caps.
20361 * gst/gststructure.c: (gst_structure_value_get_generic_type):
20362 Output "fraction" as the generic type fraction range, so caps
20363 serialisation and deserialisation works.
20364 * check/gst/capslist.h:
20365 * gst/gstvalue.c: (gst_value_deserialize_fraction):
20366 Support 'MIN' and 'MAX' for deserialising fractions.
20368 2005-11-22 Andy Wingo <wingo@pobox.com>
20370 * gst/gstevent.h (gst_event_new_new_segment)
20371 (gst_event_parse_new_segment, gst_event_new_buffer_size)
20372 (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
20373 Renamed from *_newsegment, *_buffersize, *_notarget.
20375 * scripts/update-funcnames: New script, performs the changes
20378 2005-11-22 Wim Taymans <wim@fluendo.com>
20380 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20381 Make sure the GstFlowReturn is returned.
20383 * gst/gstbus.c: (gst_bus_add_signal_watch_full),
20384 (gst_bus_add_signal_watch):
20386 add gst_bus_add_signal_watch_full.
20388 * gst/gstplugin.c: (gst_plugin_load_file):
20389 Small style cleanup.
20391 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
20393 * check/gst/gstevent.c: (test_event), (GST_START_TEST):
20394 Block the fakesrc srcpad when we send an event, to avoid
20395 contention on the stream_lock causing random test failures.
20397 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
20399 * check/gst/gstvalue.c: (GST_START_TEST):
20400 * gst/gstvalue.c: (gst_value_fraction_subtract):
20403 2005-11-22 Stefan Kost <ensonic@users.sf.net>
20406 include "gstchildproxy.h"
20407 * gst/gstchildproxy.h:
20408 * libs/gst/controller/gstcontroller.h:
20409 use G_GNUC_NULL_TERMINATED
20411 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
20413 * check/gst/capslist.h:
20414 * check/gst/gstcaps.c: (GST_START_TEST):
20415 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
20416 * gst/gststructure.c: (gst_structure_parse_range),
20417 (gst_structure_fixate_field_nearest_fraction):
20418 * gst/gststructure.h:
20419 * gst/gstvalue.c: (gst_value_init_fraction_range),
20420 (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
20421 (gst_value_collect_fraction_range),
20422 (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
20423 (gst_value_set_fraction_range_full),
20424 (gst_value_get_fraction_range_min),
20425 (gst_value_get_fraction_range_max),
20426 (gst_value_serialize_fraction_range),
20427 (gst_value_transform_fraction_range_string),
20428 (gst_value_compare_fraction_range),
20429 (gst_value_deserialize_fraction_range),
20430 (gst_value_intersect_fraction_fraction_range),
20431 (gst_value_intersect_fraction_range_fraction_range),
20432 (gst_value_subtract_fraction_fraction_range),
20433 (gst_value_subtract_fraction_range_fraction),
20434 (gst_value_subtract_fraction_range_fraction_range),
20435 (gst_value_collect_fraction), (gst_value_fraction_multiply),
20436 (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
20437 (gst_value_transform_string_fraction), (_gst_value_initialize):
20439 Implement fraction ranges and extend GstFraction to support
20440 arithmetic subtraction, as well as deserialization from integer
20441 strings such as "100"
20442 Add a testsuite as for int and double range set operations
20444 2005-11-21 Andy Wingo <wingo@pobox.com>
20446 * gst/gsttaglist.h:
20448 * gst/gststructure.h: Add glib-compat.h.
20450 2005-11-21 Wim Taymans <wim@fluendo.com>
20452 * gst/gstbin.c: (gst_bin_change_state_func):
20455 2005-11-21 Wim Taymans <wim@fluendo.com>
20457 * gst/gstsegment.h:
20458 And add a nice define too.
20460 2005-11-21 Wim Taymans <wim@fluendo.com>
20462 * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
20463 (gst_segment_new), (gst_segment_free), (gst_segment_init),
20464 (gst_segment_set_duration), (gst_segment_set_last_stop),
20465 (gst_segment_set_seek), (gst_segment_set_newsegment),
20466 (gst_segment_to_stream_time), (gst_segment_to_running_time),
20467 (gst_segment_clip):
20468 * gst/gstsegment.h:
20469 Make binding friendly.
20471 2005-11-21 Andy Wingo <wingo@pobox.com>
20473 * gst/gsttagsetter.h:
20474 * gst/gsttaglist.h:
20475 * gst/gststructure.h:
20477 * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
20480 * gst/gsterror.c (_gst_core_errors_init):
20481 * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
20484 * gst/Makefile.am (gst_headers): Add glib-compat.h.
20485 (noinst_HEADERS): noinst the -private.
20487 2005-11-21 Michael Smith <msmith@fluendo.com>
20490 * gst/gstregistry.h:
20491 Remove unimplemented declarations for which we can see no sensible
20494 2005-11-21 Andy Wingo <wingo@pobox.com>
20496 * gst/gst.h: Include glib-compat.h.
20498 * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
20500 * gst/glib-compat.c: Include the public and the private header.
20502 * gst/glib-compat-private.h: Copied here from glib-compat.h.
20506 * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
20508 * check/gst/gstevent.c (create_custom_events): Check that
20509 FLUSH_STOP is serialized.
20511 * check/elements/identity.c (event_func):
20512 * check/elements/fakesrc.c (event_func): No stream lock, the core
20515 * gst/base/gstbasetransform.c (gst_base_transform_event): No more
20516 stream lock taking, yay.
20518 * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
20519 ensure that core takes the stream lock.
20521 * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
20524 * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
20525 the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
20526 it already. For the flush start we do take it though so we get the
20527 right preroll state change messages.
20529 * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
20530 the stream lock here, the core does it for us.
20532 * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
20533 GST_STREAM_GET_LOCK.
20534 (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK)
20535 (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL)
20536 (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
20537 (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
20538 (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK)
20539 (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
20541 * gst/gstpad.c: Update for stream lock name change.
20543 * gst/base/gstbasesink.c: Update for preroll lock name change.
20545 2005-11-21 Wim Taymans <wim@fluendo.com>
20547 * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
20548 (gst_clock_get_master):
20550 * gst/gstsystemclock.c: (gst_system_clock_init):
20551 Convert Clock flags to object flags.
20552 Added methods to manage master/slave clocks.
20554 2005-11-21 Wim Taymans <wim@fluendo.com>
20556 * check/gst/gstsegment.c: (GST_START_TEST):
20557 * docs/design/part-TODO.txt:
20558 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20559 (gst_base_sink_event), (gst_base_sink_do_sync),
20560 (gst_base_sink_activate_pull), (gst_base_sink_get_position),
20561 (gst_base_sink_query), (gst_base_sink_change_state):
20562 * gst/base/gstbasesink.h:
20563 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
20564 (gst_base_src_default_newsegment),
20565 (gst_base_src_configure_segment), (gst_base_src_do_seek),
20566 (gst_base_src_get_range), (gst_base_src_loop),
20567 (gst_base_src_change_state):
20568 * gst/base/gstbasesrc.h:
20569 * gst/base/gstbasetransform.c:
20570 (gst_base_transform_prepare_output_buf),
20571 (gst_base_transform_event), (gst_base_transform_change_state):
20572 * gst/base/gstbasetransform.h:
20573 * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
20574 (gst_collect_pads_event):
20575 * gst/base/gstcollectpads.h:
20576 * gst/elements/gstfakesrc.c: (gst_fake_src_init),
20577 (gst_fake_src_create):
20578 * gst/elements/gstfakesrc.h:
20579 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
20580 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
20581 (gst_segment_set_last_stop), (gst_segment_set_seek),
20582 (gst_segment_set_newsegment), (gst_segment_to_stream_time),
20583 (gst_segment_to_running_time), (gst_segment_clip):
20584 * gst/gstsegment.h:
20585 More segment updates, replace code in plugins with segment
20588 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
20590 * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
20591 Don't ignore sscanf results
20593 2005-11-21 Andy Wingo <wingo@pobox.com>
20595 * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
20598 * *.c: Ran scripts/update-macros. Oh yes.
20600 * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
20601 (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
20604 * scripts/update-macros: New script. Run it on your files to
20605 change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
20608 2005-11-21 Stefan Kost <ensonic@users.sf.net>
20610 * docs/gst/Makefile.am:
20611 * docs/gst/gstreamer-docs.sgml:
20612 * docs/gst/gstreamer-sections.txt:
20613 * docs/gst/gstreamer.types:
20615 more docs fixes, add new api to the docs
20617 2005-11-21 Andy Wingo <wingo@pobox.com>
20619 * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
20620 state_broadcast call.
20622 * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
20624 2005-11-21 Julien MOUTTE <julien@moutte.net>
20626 * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
20627 function calls for arrays.
20629 2005-11-21 Stefan Kost <ensonic@users.sf.net>
20631 * docs/random/ensonic/media-device-daemon.txt:
20632 wild idea, can this be done?
20633 * docs/gst/gstreamer-sections.txt:
20638 * gst/gstpluginfeature.c:
20642 doc fixes and additions
20644 2005-11-21 Andy Wingo <wingo@pobox.com>
20646 * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL)
20647 (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND)
20648 (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK)
20649 (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
20650 private to the basesrc implementation.
20652 * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
20653 behalf of event function if necessary. It should no longer be
20654 necessary to take the stream lock in pad's event functions. Fixes
20657 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
20658 * docs/gst/gstreamer-sections.txt:
20659 * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
20660 (gst_structure_fixate_field_nearest_double),
20661 (gst_structure_fixate_field_boolean):
20662 * gst/gststructure.h:
20663 * win32/common/libgstreamer.def:
20664 * win32/gstreamer.def:
20666 Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
20669 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
20671 * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
20672 (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
20673 (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
20674 (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
20675 (gst_fdsrc_uri_handler_init):
20676 * gst/elements/gstfdsrc.h:
20677 Port fd:// URI handler from 0.8 to fdsrc
20679 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
20681 * gst/gstvalue.c: (gst_value_transform_fourcc_string),
20682 (gst_value_serialize_fourcc):
20684 Drop leading '%' from GST_FOURCC_FORMAT, thus making it
20685 consistent with our other format defines (#320324).
20687 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
20689 * gst/gstvalue.c: (gst_value_is_fixed):
20690 Revert previous commit. Value lists are by definition
20691 not fixed, as they are a list of possible values.
20693 2005-11-21 Andy Wingo <wingo@pobox.com>
20695 * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
20696 during the stable series if we need it. Fixes #319178.
20698 * gst/gstevent.c (gst_event_new_filler): Removed.
20700 * check/gst/gstevent.c: Update comment about filler events.
20702 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
20704 * gst/gstvalue.c: (gst_value_is_fixed):
20705 Should handle both value arrays and value lists.
20707 2005-11-21 Andy Wingo <wingo@pobox.com>
20709 patch by: Alessandro Dessina <alessandro nnva org>
20711 * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
20712 functions to access arrays. Fixes #321962.
20714 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
20716 * docs/gst/gstreamer.types:
20717 gst_collectpads_get_type => gst_collect_pads_get_type.
20719 * gst/base/gstbasetransform.c:
20720 Remove unused SIGNAL_HANDOFF enum.
20722 2005-11-21 Andy Wingo <wingo@pobox.com>
20724 * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
20725 the event type (upstream, downstream, serialized). Renamed
20726 GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
20727 (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
20728 CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
20730 * gst/gstevent.c: Update for new CUSTOM event names.
20732 * check/gst/gstevent.c: Update check for new CUSTOM event names.
20735 * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
20738 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
20740 * docs/gst/gstreamer-sections.txt:
20741 * win32/common/libgstbase.def:
20742 * win32/libgstbase.def:
20743 * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
20744 (gst_collect_pads_class_init), (gst_collect_pads_init),
20745 (gst_collect_pads_finalize), (gst_collect_pads_new),
20746 (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
20747 (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
20748 (gst_collect_pads_collect), (gst_collect_pads_collect_range),
20749 (gst_collect_pads_start), (gst_collect_pads_stop),
20750 (gst_collect_pads_peek), (gst_collect_pads_pop),
20751 (gst_collect_pads_available), (gst_collect_pads_read),
20752 (gst_collect_pads_flush), (gst_collect_pads_event),
20753 (gst_collect_pads_chain):
20754 * gst/base/gstcollectpads.h:
20755 Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
20756 unimplemented functions as unimplemented. Add padding to
20757 GstCollectData. (#320766, #320423)
20759 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
20761 * gst/gstmessage.c:
20762 Improve docs for DURATION message (usage of duration parameter)
20765 2005-11-20 Wim Taymans <wim@fluendo.com>
20767 * check/Makefile.am:
20768 * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
20772 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
20773 (gst_segment_set_seek), (gst_segment_set_newsegment),
20774 (gst_segment_to_stream_time), (gst_segment_to_running_time),
20775 (gst_segment_clip):
20776 * gst/gstsegment.h:
20777 Added segment helper structure and methods. Not fully implemented
20779 Added segment check.
20781 2005-11-20 Jan Schmidt <thaytan@mad.scientist.com>
20783 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
20784 Add a deserialisation test for fractions
20785 * examples/metadata/read-metadata.c: (message_loop),
20786 (make_pipeline), (main):
20787 Fix up metadata reading sample.
20788 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
20790 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
20791 Don't try and fixate empty caps
20792 * gst/gst_private.h:
20793 Wrap in G_BEGIN_DECLS/G_END_DECLS
20794 * gst/gstvalue.c: (gst_value_collect_fraction),
20795 (gst_value_set_fraction), (gst_value_get_fraction_denominator),
20796 (gst_value_transform_string_fraction),
20797 (gst_value_compare_fraction):
20798 Add some extra guards to ensure that we don't end up
20799 with an invalid denominator of 0 in a gstfraction and
20800 that fractions always get reduced.
20802 2005-11-20 Wim Taymans <wim@fluendo.com>
20804 * docs/gst/gstreamer-sections.txt:
20806 * gst/gstelement.c:
20815 2005-11-20 Wim Taymans <wim@fluendo.com>
20817 * docs/design/part-TODO.txt:
20819 Make a proper enum of the flag.
20821 2005-11-19 Wim Taymans <wim@fluendo.com>
20823 * docs/design/part-TODO.txt:
20824 * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
20825 (gst_format_to_quark), (gst_format_register):
20827 * gst/gstquery.c: (_gst_query_initialize),
20828 (gst_query_type_get_name), (gst_query_type_to_quark),
20829 (gst_query_type_register):
20831 Add type to quark and type to string conversions.
20833 2005-11-19 Andy Wingo <wingo@pobox.com>
20835 * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
20838 2005-11-19 Wim Taymans <wim@fluendo.com>
20840 * docs/design/part-TODO.txt:
20841 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
20842 (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
20843 (gst_bin_handle_message_func):
20845 Make message handling overridable.
20847 2005-11-19 Andy Wingo <wingo@pobox.com>
20849 * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
20852 * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
20854 (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
20855 is a GstClockTime. Fixes #321710.
20857 * gst/gstclock.h (GstClock): Remove offset property. Add
20858 internal_calibration and external_calibration. Fix padding. Pad
20859 also by GstClockTime so we don't run into problems.
20861 * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
20862 (gst_clock_get_rate_offset): Remove.
20863 (gst_clock_set_time_adjust): Remove. Fixes #321712.
20866 * gst/gstutils.c (g_static_rec_cond_wait)
20867 (g_static_rec_cond_timed_wait): Removed, no longer needed.
20869 * gst/gstbin.c: Remove terrible continue_state prototype.
20871 * gst/gstelement.h (gst_element_continue_state): Make public.
20873 * gst/gstelement.h:
20874 * gst/gstelement.c (gst_element_commit_state): Removed, replaced
20875 by continue_state. Fixes #319389.
20877 * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
20878 Really fixes #168438. However I don't see anywhere where the
20879 filter function is called... stupid GStreamer...
20881 * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
20882 don't have a dispose function, so it won't get called when the
20883 object is unreffed, but oh well!
20885 * gst/gstindex.c (gst_index_set_filter_full): New API function,
20886 allows a destroy function to be set so user_data can be freed.
20888 (gst_index_set_filter): Call gst_index_set_filter_full.
20890 * check/gst/gstvalue.c (test_string): Add test for bug #165650.
20892 * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
20893 string should produce an error, given the lack of a way to
20894 represent NULL strings. Fixes #165650.
20897 * gst/gstvalue.c (gst_value_array_append_value)
20898 (gst_value_array_prepend_value, gst_value_array_get_size)
20899 (gst_value_array_get_value): New API, copied from
20900 gst_value_list_*, only operates on arrays.
20901 (gst_value_list_append_value, gst_value_list_prepend_value)
20902 (gst_value_list_concat, gst_value_list_get_size)
20903 (gst_value_list_get_value): Only operate on lists. Fixes #156633.
20905 * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
20906 init_list, because it works on both.
20907 (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
20908 (gst_value_copy_list_or_array): Renamed from copy_list.
20909 (gst_value_free_list_or_array): Renamed from free_list.
20910 (gst_value_collect_list_or_array): Renamed from collect_list.
20911 (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
20912 (gst_value_list_or_array_peek_pointer): Renamed from
20914 (_gst_value_array_value_table, _gst_value_list_value_table):
20915 Update value table functions.
20916 (gst_value_compare_list_or_array): Renamed from compare_list.
20918 * gsttaglist.h: Whoops, foreach function returns void. Also fix
20921 * gst/gsttaglist.c:
20922 * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
20923 GstTagList*. Fixes #143472.
20925 * gst/gststructure.h: Clarify what the foreach/map functions can
20926 or can't do to their arguments.
20928 2005-11-18 Wim Taymans <wim@fluendo.com>
20930 * gst/gstclock.c: (gst_clock_set_calibration),
20931 (gst_clock_get_calibration):
20933 Calibration can be set with internal time equal to current
20936 2005-11-18 Thomas Vander Stichele <thomas at apestaart dot org>
20942 2005-11-18 Andy Wingo <wingo@pobox.com>
20945 * pkgconfig/gstreamer-net.pc.in:
20946 * pkgconfig/gstreamer-net-uninstalled.pc.in:
20947 * pkgconfig/Makefile.am: Add net pkgconfig files.
20949 2005-11-18 Stefan Kost <ensonic@users.sf.net>
20952 * gst/gstghostpad.c:
20958 2005-11-18 Andy Wingo <wingo@pobox.com>
20960 * gst/net/gstnetclientclock.c: Turn off debugging.
20962 * check/net/gstnetclientclock.c (test_functioning): Assert that the
20963 times connverge somewhat. Can't make a real test.
20965 * gst/net/gstnetclientclock.c (do_linear_regression): Use all
20966 integer arithmetic. Return the minimum of the domain, which can be
20967 set as "internal" for gst_clock_set_calibration.
20968 (gst_net_client_clock_observe_times): Call _set_calibration.
20969 (gst_net_client_clock_new): Call _set_calibration instead of
20972 * check/net/gstnetclientclock.c (test_functioning): Use the right
20976 * gst/gstclock.c (gst_clock_get_calibration)
20977 (gst_clock_set_calibration): New functions, obsolete the ones I
20978 added yesterday. Doh. Precision issues mean we have to extrapolate
20979 from a point in the more recent past than 1970.
20980 (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
20982 (gst_clock_adjust_unlocked): Use the right calibration data.
20984 2005-11-18 Edward Hervey <edward@fluendo.com>
20986 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
20987 Also reset the ->current_* values in READY->PAUSED
20989 2005-11-18 Andy Wingo <wingo@pobox.com>
20991 * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
20992 Whoops, check the right fd. Also add some debugging.
20993 (gst_net_client_clock_observe_times): Adjust for int64 offset.
20994 (do_linear_regression): Add a crapload of debugging. Subtract off
20995 the minimum values from the input series to discard unneeded bits.
20996 Use only int arithmetic. There is still double arithmetic when
20997 calculating the intercept that needs fixing. Return boolean to
20998 indicate success; FALSE would mean the domain or range is too
20999 great. Still needs fixes.
21001 2005-11-18 Wim Taymans <wim@fluendo.com>
21003 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
21004 For the current position in stream time, we need to subtract
21007 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
21008 Release lock before calling the callback function of async
21011 2005-11-18 Andy Wingo <wingo@pobox.com>
21013 * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
21014 Port goes all the way to MAXUINT16.
21016 * gst/net/gstnettimeprovider.c: Make the port range the same as
21017 for the kernel: 0 assigns, otherwise ports are less than
21020 * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
21023 * check/net/gstnetclientclock.c (test_functioning): Add the start
21026 2005-11-18 Wim Taymans <wim@fluendo.com>
21028 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
21029 (gst_bin_remove_func), (bin_bus_handler):
21031 Removing a clock provider from a bin, triggers a clock lost message
21032 so that a new clock will be selected.
21033 Adding a clock to a bin triggers a clock provider message.
21034 Make sure we reselect a clock when we received a clock lost message.
21035 Keep a reference to the element that provided the clock.
21037 2005-11-18 Andy Wingo <wingo@pobox.com>
21039 * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
21040 the clock initially so it produces values around the base time.
21041 (gst_net_client_clock_class_init): Typo fix.
21042 (gst_net_client_clock_thread): Add note on when the socket gets
21045 2005-11-17 Wim Taymans <wim@fluendo.com>
21047 * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
21048 Free remote and local time arrays.
21050 2005-11-17 Wim Taymans <wim@fluendo.com>
21052 * gst/net/gstnetclientclock.c: (do_linear_regression),
21053 (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
21054 Fix compilation, uninitialized vars and a forgotten continue.
21056 2005-11-17 Andy Wingo <wingo@pobox.com>
21058 * check/Makefile.am (check_PROGRAMS):
21059 * check/net/gstnetclientclock.c: Add a most minimal test for the
21060 net client clock. More to come later.
21062 * gst/net/gstnet.h:
21063 * gst/net/Makefile.am: Add netclientclock.
21065 * gst/net/gstnetclientclock.h:
21066 * gst/net/gstnetclientclock.c: New files, implement an untested
21067 GstClock that takes its time from a network time provider.
21068 Implements the algorithm in network-clock.scm.
21070 * tests/network-clock.scm (*window-size*): Rename from
21072 * tests/network-clock.scm (network-time):
21073 * tests/network-clock-utils.scm (q-push): Update callers.
21075 2005-11-17 Wim Taymans <wim@fluendo.com>
21077 * gst/gstbin.c: (gst_bin_provide_clock_func),
21078 (gst_bin_sort_iterator_new):
21079 And unref the child too..
21081 2005-11-17 Wim Taymans <wim@fluendo.com>
21083 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
21084 (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
21085 Refactor the sort iterator so it can be used while holding the
21087 Make clock selection select a clock closest to the source.
21089 2005-11-17 Michael Smith <msmith@fluendo.com>
21091 * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
21092 (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
21094 Anonymous structs are a gcc (and some other compilers) extension, so
21095 don't use them. Since this is only for ABI-compatibility, and our
21096 API/ABI freeze is over in a few days, this whole thing will only
21097 last a few days, so don't bother trying to think up a meaningful
21098 name for the struct.
21100 2005-11-17 Andy Wingo <wingo@pobox.com>
21102 * gst/gstclock.h (GstClock): Add rate and offset properties,
21103 preserving ABI stability. Add rate/offset accessors. Will file bug
21104 for the freeze break.
21106 * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
21107 and offset, trying to keep precision and avoiding
21108 underflow/overflow.
21109 (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
21110 functions. Make gst_clock_set_time_adjust obsolete.
21111 (gst_clock_set_time_adjust): Note that this function is obsolete.
21112 Will file bug soon.
21114 * gst/base/gstbasetransform.h: Make the ABI-stability hack
21115 greppable by using GST_PADDING-1+1.
21117 2005-11-17 Torsten Schoenfeld <kaffeetisch at gmx dot net>
21119 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
21121 * gst/gstmessage.c: (gst_message_parse_clock_lost):
21122 Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
21124 * gst/gstpadtemplate.h:
21125 * gst/gstpluginfeature.h:
21126 Don't use c++ style comments in headers (#321638).
21128 2005-11-16 Andy Wingo <wingo@pobox.com>
21130 * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
21133 * check/net/gstnettimeprovider.c: Check to see that the time
21134 provider actually provides times. Works, yo!
21136 2005-11-16 Wim Taymans <wim@fluendo.com>
21138 * check/Makefile.am:
21141 * check/elements/fakesrc.c: (GST_START_TEST):
21142 Set element to NULL before disposing it.
21144 2005-11-16 Andy Wingo <wingo@pobox.com>
21146 * gst/net/Makefile.am:
21147 * gst/net/gstnet.h:
21148 * gst/net/gstnettimeprovider.c:
21149 * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
21150 provider, include it from gstnet.h, and add it to the build.
21152 * gst/net/gstnettimepacket.h:
21153 * gst/net/gstnettimepacket.c: New files, abstracts out the packet
21154 sending and receiving.
21156 2005-11-16 Wim Taymans <wim@fluendo.com>
21158 * check/Makefile.am:
21159 Enable valgrind check.
21161 * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
21162 (gst_fake_src_alloc_buffer):
21165 2005-11-16 Wim Taymans <wim@fluendo.com>
21167 * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
21168 Call parent finalize too.
21170 2005-11-16 Wim Taymans <wim@fluendo.com>
21172 * check/Makefile.am:
21173 Enable valgrind check that should work fine now.
21175 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
21176 * gst/gstqueue.c: (gst_queue_init):
21177 Fix memleaks in pad allocation.
21179 2005-11-16 Andy Wingo <wingo@pobox.com>
21181 * gst/net/Makefile.am:
21182 * gst/net/gstnet.h: New part of core to hold network elements and
21183 objects. Put in core because it exposes API that applications want
21184 to use. The library is named libgstnet-tempname right now because
21185 of the existing libgstnet in gst-plugins-base. Solution is
21186 probably to rename the one in plugins-base; will file a bug for
21189 * gst/net/gstnettimeprovider.c:
21190 * gst/net/gstnettimeprovider.h: New object to export a GstClock's
21191 get_time call over the network.
21194 * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
21196 * check/Makefile.am:
21197 * check/net/gstnettimeprovider.c: A most minimal test suite. Will
21198 get additions shortly.
21200 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
21202 * gst/gstpad.c: (gst_pad_new_from_static_template):
21204 add gst_pad_new_from_static_template functions
21205 * gst/check/gstcheck.c: (gst_check_setup_src_pad),
21206 (gst_check_setup_sink_pad):
21207 * gst/elements/gsttee.c: (gst_tee_init):
21210 2005-11-16 Wim Taymans <wim@fluendo.com>
21212 * gst/gstpad.c: (gst_pad_pause_task):
21213 Removed warning, it's not really an error either.
21215 2005-11-16 Wim Taymans <wim@fluendo.com>
21217 * gst/base/gstbasetransform.c:
21218 (gst_base_transform_prepare_output_buf),
21219 (gst_base_transform_event):
21220 Check if the caps are NULL, this can happen if the element
21221 is shutting down and the pad caps are set to NULL.
21223 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
21225 * gst/elements/gsttee.c: (gst_tee_init):
21226 fix pad template leak in tee
21228 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
21230 * gst/glib-compat.c: (g_value_dup_gst_object):
21231 * gst/glib-compat.h:
21232 * gst/gstpad.c: (gst_pad_set_property):
21233 use gst_object_ref when setting the pad template; this will
21234 trigger the pad template leaks on GLib 2.6 and the slaves
21236 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
21238 * gst/glib-compat.c: (gst_flags_get_first_value):
21239 * gst/glib-compat.h:
21240 * gst/gstregistryxml.c:
21241 remove functions copied from GLib 2.6
21243 2005-11-16 Michael Smith <msmith@fluendo.com>
21246 Don't link against VALGRIND_LIBS. That was always the wrong thing to
21247 do, but only breaks with newer valgrind versions. We're not a
21248 valgrind tool, we have no link-time dependencies on libcoregrind.
21250 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
21252 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
21254 * gst/gstmessage.h:
21257 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
21259 * gst/base/gstbasesrc.c: (gst_base_src_init):
21260 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
21261 * gst/gstqueue.c: (gst_queue_init):
21262 * gst/gstregistryxml.c: (load_feature):
21263 Revert all these unrefs, they don't even pass make check !
21265 2005-11-15 Johan Dahlin <johan@gnome.org>
21267 * gst/base/gstbasesrc.c: (gst_base_src_init):
21268 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
21269 * gst/gstqueue.c: (gst_queue_init):
21270 Free pad templates, fixes a couple of leaks.
21272 2005-11-15 Daniel Fischer <dan at f3c dot com>
21274 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
21276 * gst/gstpad.c: (gst_pad_get_property):
21277 GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
21278 GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
21281 2005-11-15 Wim Taymans <wim@fluendo.com>
21286 2005-11-15 Andy Wingo <wingo@pobox.com>
21288 * gst/gstelement.c (gst_element_set_base_time): Add debugging.
21290 * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
21291 using GST_CLOCK_TIME_NONE to disable base time management.
21292 (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
21293 time if it was NONE before.
21294 (gst_pipeline_change_state): Only munge the base time if
21295 stream_time != GST_CLOCK_TIME_NONE.
21297 * check/gst/gstpipeline.c (test_base_time): Punt around the
21298 problem of the probe not being called, because that's not the
21299 issue I'm looking at. Add a check that setting stream_time to NONE
21300 disables base time management.
21302 2005-11-15 Wim Taymans <wim@fluendo.com>
21304 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
21305 segment_stop == -1 at startup.
21307 * gst/base/gstbasetransform.c: (gst_base_transform_event),
21308 (gst_base_transform_change_state):
21309 Init segment values at start.
21311 2005-11-15 Wim Taymans <wim@fluendo.com>
21313 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
21314 0 segment values are 0 in any format.
21316 * gst/base/gstbasetransform.c: (gst_base_transform_event):
21317 * gst/base/gstbasetransform.h:
21318 Parse newsegment correctly in basetransform
21320 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
21321 Sync to clock using updated segment values.
21323 2005-11-15 Andy Wingo <wingo@pobox.com>
21325 * check/gst/gstpipeline.c (test_base_time): Add check that the
21326 base time and stream time are reset correctly.
21328 2005-11-15 Wim Taymans <wim@fluendo.com>
21330 * docs/design/part-TODO.txt:
21331 Some more TODO items.
21333 2005-11-15 Andy Wingo <wingo@pobox.com>
21335 * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
21336 error if the user selected "no clock" as the clocking method.
21338 * check/gst/gstpipeline.c (test_base_time): New test for buffer
21339 timestamps with live capture.
21341 * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
21342 is 0 but we are a live source, timestamp the buffers using the
21345 2005-11-14 Stefan Kost <ensonic@users.sf.net>
21347 * docs/gst/gstreamer-sections.txt:
21349 * gst/gstghostpad.c:
21354 2005-11-14 Wim Taymans <wim@fluendo.com>
21357 add suppressions from Wim's Debian machine
21359 2005-11-14 Thomas Vander Stichele <thomas at apestaart dot org>
21362 add suppressions from Andy's AMD64 Ubuntu machine
21364 2005-11-14 Andy Wingo <wingo@pobox.com>
21366 * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
21367 STATE_LOCK not necessary. Fixes #311489.
21369 * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
21372 * gst/gstindex.c (gst_index_add_object): Note in the docs that
21373 this function is not implemented.
21375 2005-11-14 Julien MOUTTE <julien@moutte.net>
21377 * gst/base/gstbasetransform.c:
21378 (gst_base_transform_prepare_output_buf):
21379 Ref the source pad caps while we need them.
21382 2005-11-11 Wim Taymans <wim@fluendo.com>
21384 * docs/gst/gstreamer-sections.txt:
21385 Added some docs for GstCollectData.
21387 * gst/base/gstadapter.c:
21388 Some small code example fix.
21390 * gst/base/gstcollectpads.c:
21391 * gst/base/gstcollectpads.h:
21392 Document some more.
21394 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
21396 * configure.ac: back to HEAD
21398 === release 0.9.5 ===
21400 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
21403 releasing 0.9.5, "Bike Lunch Day"
21405 2005-11-11 Wim Taymans <wim@fluendo.com>
21407 * gst/gstbuffer.c: (_gst_buffer_copy):
21410 * gst/gstcaps.c: (gst_caps_is_equal):
21412 Make _is_equal fast in the trivial cases.
21414 * gst/gstminiobject.c:
21415 * gst/gstminiobject.h:
21416 More docs. Spifify .h file.
21421 2005-11-11 Wim Taymans <wim@fluendo.com>
21423 * gst/base/gstbasetransform.c:
21424 (gst_base_transform_prepare_output_buf),
21425 (gst_base_transform_handle_buffer):
21427 If we're processing a buffer and need to allocate an output
21428 buffer, we cannot accept a format change. If we did get a
21429 format change, we have to alloc a buffer ourselves of the
21432 2005-11-11 Wim Taymans <wim@fluendo.com>
21434 * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
21435 While checking the flag for reentrancy in the gstcaps function
21436 is nice to detect recursive invocations, it also makes it
21437 impossible to call getcaps from multiple threads, which must be
21438 possible. So, checking for recursive calls has to go.
21440 2005-11-11 Michael Smith <msmith@fluendo.com>
21442 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
21443 Don't sync on buffers that fall partially outside our current
21444 segment. Prevents an assertion failure/abort playing some files.
21446 2005-11-10 Andy Wingo <wingo@pobox.com>
21448 * check/gst/gstbin.c (test_message_state_changed_children): Style
21451 * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
21452 gst_bus_poll with the signal watch. Ensures that poll and a signal
21453 watch see the same messages.
21455 * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
21456 a poll and a watch at the same time get the same messages.
21458 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
21460 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
21461 * gst/gstcaps.c: (gst_caps_intersect):
21462 Don't call gst_caps_do_simplify - it doesn't respect order of caps
21463 and it's not needed.
21465 2005-11-10 Wim Taymans <wim@fluendo.com>
21467 * docs/design/part-TODO.txt:
21470 2005-11-10 Wim Taymans <wim@fluendo.com>
21472 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
21473 * gst/base/gstbasesrc.c: (gst_base_src_wait),
21474 (gst_base_src_do_sync), (gst_base_src_get_range):
21475 Implement clock sync in base class.
21477 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
21479 patch by: Tim-Philipp Müller <tim at centricular dot net>
21481 * gst/gststructure.c: (gst_structure_parse_field),
21482 (gst_structure_from_string):
21483 Forward-port a 0.8 patch to handle escaped spaces in structure string,
21484 so that gst_parse_launch() can deal with spaces in filtered link
21485 caps (fixes #164479)
21486 * check/gst/capslist.h:
21487 * check/gst/gststructure.c: (GST_START_TEST):
21488 add unit tests for this change
21490 2005-11-10 Wim Taymans <wim@fluendo.com>
21492 * docs/gst/gstreamer-sections.txt:
21493 * gst/gstelement.c:
21494 * gst/gstelement.h:
21495 Fix docs, move some STATE macros to private.
21497 2005-11-10 Wim Taymans <wim@fluendo.com>
21499 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
21500 Added check for bug #317341
21504 Some more spiffifying.
21506 * gst/gstghostpad.c: (gst_ghost_pad_do_link):
21507 Call peer linkfunction if we are a source pad. Totally fixes
21511 Update docs, source pads should call the peer linkfunction
21512 so they can atomically perform the pad link.
21514 2005-11-09 Wim Taymans <wim@fluendo.com>
21518 Uber-spiffy-spiffify some more.
21520 2005-11-09 Tim-Philipp Müller <tim at centricular dot net>
21522 * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
21523 * gst/elements/gstfilesink.c: (gst_file_sink_init):
21524 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
21525 * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
21526 (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
21527 * gst/gstpad.c: (gst_pad_init):
21528 Use GST_DEBUG_FUNCPTR() more extensively.
21530 2005-11-09 Wim Taymans <wim@fluendo.com>
21532 * gst/gstobject.c: (gst_object_class_init):
21534 Documentation fixes.
21536 2005-11-09 Edward Hervey <edward@fluendo.com>
21538 * gst/gsttypefindfactory.c:
21541 2005-11-09 Edward Hervey <edward@fluendo.com>
21543 * gst/base/gsttypefindhelper.c:
21544 * gst/gsttypefind.c:
21545 * gst/gsttypefind.h:
21548 2005-11-09 Wim Taymans <wim@fluendo.com>
21550 * gst/gstiterator.c:
21557 2005-11-09 Wim Taymans <wim@fluendo.com>
21563 2005-11-09 Wim Taymans <wim@fluendo.com>
21565 * docs/gst/gstreamer-sections.txt:
21566 Moved the message async delivery private lock and cond
21567 to the private section.
21569 * gst/gstmessage.c:
21570 * gst/gstmessage.h:
21573 2005-11-09 Edward Hervey <edward@fluendo.com>
21575 * docs/gst/gstreamer-sections.txt:
21578 Document GstURIHandler
21580 2005-11-09 Wim Taymans <wim@fluendo.com>
21582 * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
21583 (gst_iterator_find_custom):
21584 * gst/gstiterator.h:
21587 2005-11-09 Wim Taymans <wim@fluendo.com>
21590 Document another field.
21592 * gst/gststructure.c:
21593 * gst/gststructure.h:
21596 2005-11-09 Wim Taymans <wim@fluendo.com>
21599 Documented structs.
21601 2005-11-09 Wim Taymans <wim@fluendo.com>
21603 * docs/gst/gstreamer-sections.txt:
21604 Added some new macros.
21611 2005-11-09 Wim Taymans <wim@fluendo.com>
21613 * docs/design/part-TODO.txt:
21614 Some more items for the TODO
21620 2005-11-09 Andy Wingo <wingo@pobox.com>
21622 * gst/base/gstbasesink.c: Add the beginning of docs here -- have
21623 to work on something else now tho...
21625 * gst/base/gstadapter.c: More adapter docs.
21627 * gst/elements/gstfilesink.c (gst_file_sink_start)
21628 (gst_file_sink_stop): New functions, replace the state change
21630 (gst_file_sink_class_init): Hook up the start and stop functions.
21631 (gst_file_sink_base_init): Don't set the state change handler any
21632 more. It was a bit ugly too, being set from here...
21633 (gst_file_sink_get_property, gst_file_sink_set_property):
21635 (gst_file_sink_set_location): More robust check that doesn't call
21636 GST_STATE. Ugggggg.
21638 2005-11-08 Tim-Philipp Müller <tim at centricular dot net>
21640 * gst/base/gstbasetransform.c: (gst_base_transform_event):
21641 Hold STREAM_LOCK while pushing newsegment or tag events as well.
21643 2005-11-08 Wim Taymans <wim@fluendo.com>
21645 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
21646 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
21647 (gst_base_sink_chain), (gst_base_sink_change_state):
21648 * gst/base/gstbasesink.h:
21649 * gst/base/gstbasesrc.h:
21650 * gst/gstelement.h:
21652 Avoid excessive typechecking in macros.
21654 * gst/gstminiobject.c: (gst_mini_object_get_type),
21655 (gst_mini_object_init), (gst_mini_object_new),
21656 (gst_mini_object_free):
21657 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
21658 (gst_object_finalize):
21659 Remove cruft code, optimize alloc_trace.
21661 2005-11-07 Thomas Vander Stichele <thomas at apestaart dot org>
21663 * docs/faq/gst-uninstalled:
21664 fix up PS1 for systems that try to reset it
21666 2005-11-07 Wim Taymans <wim@fluendo.com>
21668 * gst/base/gstbasesrc.c: (gst_base_src_init),
21669 (gst_base_src_get_range):
21670 Set the segment_end to -1 initially. Fixed typefind.
21672 2005-11-07 Tim-Philipp Müller <tim at centricular dot net>
21674 * gst/base/gstadapter.c:
21675 Debug category should be 'adapter', not 'GstAdapter'.
21677 * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
21678 (gst_collectpads_class_init), (gst_collectpads_init),
21679 (gst_collectpads_peek), (gst_collectpads_pop),
21680 (gst_collectpads_event), (gst_collectpads_chain):
21681 Add debug category and some debugging output. Use boilerplate
21682 macros. Remove some extraneous words from docs.
21684 2005-11-05 Andy Wingo <wingo@pobox.com>
21686 * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
21689 2005-11-04 Stefan Kost <ensonic@users.sf.net>
21691 * docs/gst/gstreamer-sections.txt:
21694 * gst/gstminiobject.h:
21699 2005-11-04 Wim Taymans <wim@fluendo.com>
21701 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
21702 Small update to stop at the configured segment_end
21705 2005-11-04 Stefan Kost <ensonic@users.sf.net>
21707 * gst/gstregistry.c:
21708 * gst/gstregistry.h:
21711 2005-11-04 Edward Hervey <edward@fluendo.com>
21713 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
21714 Check if we are doing a segment seek and have arrived at the
21715 end of that segment.
21717 2005-11-04 Wim Taymans <wim@fluendo.com>
21719 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
21720 Don't leak a mutex unlock in case of an error.
21725 2005-11-04 Wim Taymans <wim@fluendo.com>
21727 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
21729 Get the context to wake up only once.
21731 2005-11-03 Wim Taymans <wim@fluendo.com>
21733 * check/states/sinks.c: (GST_START_TEST):
21734 Uncomment fixed check.
21736 * docs/design/part-TODO.txt:
21739 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
21740 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
21741 (gst_base_sink_get_position):
21742 If we are going to PLAYING, post the right pending state
21743 when we post the intermediate paused message.
21745 * gst/gstelement.c: (gst_element_continue_state),
21746 (gst_element_set_state_func), (gst_element_change_state):
21747 Don't post state changes that were between the same state
21748 and were not ASYNC.
21750 2005-11-03 Stefan Kost <ensonic@users.sf.net>
21752 * docs/gst/gstreamer-sections.txt:
21755 * gst/gstminiobject.h:
21758 more docs and doc style fixes
21760 2005-11-03 Stefan Kost <ensonic@users.sf.net>
21762 * docs/gst/gstreamer-sections.txt:
21763 * gst/gstelement.c:
21764 * gst/gstminiobject.c:
21767 2005-11-03 Andy Wingo <wingo@pobox.com>
21769 * check/states/sinks.c (test_livesrc_sink): Add checks that the
21770 state-changed messages actually have the right order and the right
21773 2005-11-03 Wim Taymans <wim@fluendo.com>
21775 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
21776 Added some more checks. Specifically the case where NO_PREROLL
21777 elements are in the pipeline.
21779 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
21780 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
21781 (gst_base_sink_get_position):
21782 Post READY->PAUSED state change messages too.
21783 Fix bug where VOID was posted as pending state...
21785 * gst/gstbin.c: (gst_bin_recalc_state):
21786 use _element_continue_state() to continue the state change.
21788 * gst/gstelement.c: (gst_element_continue_state),
21789 (gst_element_commit_state), (gst_element_set_state_func),
21790 (gst_element_change_state), (gst_element_change_state_func):
21791 Lots of state change cleanups, assign the STATE_RETURN in
21792 a new continue_state() function that also propagates the
21793 last return value from a state change to the app.
21794 Update some debug statements with proper category.
21796 2005-11-03 Wim Taymans <wim@fluendo.com>
21798 * docs/design/part-events.txt:
21799 * docs/design/part-gstpipeline.txt:
21800 * docs/design/part-messages.txt:
21801 * docs/design/part-overview.txt:
21802 * docs/design/part-seeking.txt:
21803 * docs/design/part-states.txt:
21804 * docs/design/part-trickmodes.txt:
21805 * docs/manual/advanced-position.xml:
21806 Small docs updates.
21809 People think !! is ugly, this looks better.
21811 * gst/gstpad.c: (gst_pad_set_blocked_async):
21812 Remove !! since it's fixed elsewhere now.
21814 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
21816 * gst/gstminiobject.h:
21818 Add !! to _FLAG_IS_SET macros to make the result boolean.
21820 2005-11-03 Edward Hervey <edward@fluendo.com>
21822 * gst/gstpad.c: (gst_pad_set_blocked_async):
21823 comparing a flag and a gboolean rarely returns coherent results...
21824 Added two characters (!!) to make that work correctly.
21826 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
21828 * gst/gstbus.c: (gst_bus_class_init):
21831 * gst/gstqueue.c: (gst_queue_loop):
21832 Don't assume a miniobject that isn't a buffer is an
21833 event (it could be that there is a refcounting
21834 problem somewhere and the pointer is stale and
21835 refers to an already destroyed miniobject).
21837 2005-11-03 Julien MOUTTE <julien@moutte.net>
21839 * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
21841 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
21843 * docs/manual/advanced-position.xml:
21844 Update seek example and explanations to current 0.9 API.
21846 * gst/elements/gsttypefindelement.c:
21847 (gst_type_find_element_activate):
21848 Remove FIXME comment now that the found caps
21851 2005-11-03 Thomas Vander Stichele <thomas at apestaart dot org>
21853 * gst/gstregistryxml.c: (load_feature):
21854 Add another GST_STR_NULL instance
21856 2005-11-02 Edward Hervey <edward@fluendo.com>
21858 * gst/gstpad.c: (handle_pad_block):
21859 Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
21861 2005-11-02 Wim Taymans <wim@fluendo.com>
21866 * gst/gstelement.c: (gst_element_commit_state):
21867 Remove unused value.
21869 * gst/gstiterator.c:
21870 Mention that the returned element is reffed in the docs.
21872 2005-11-02 Wim Taymans <wim@fluendo.com>
21874 * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
21875 (gst_pad_push), (gst_pad_push_event):
21876 Unlock blocked pads when they are flushed.
21878 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
21881 * docs/gst/gstreamer-sections.txt:
21884 * gst/gstregistry.c: (gst_registry_scan_path_level):
21885 fix for a nasty little missed situation where an installed plug-in
21886 which was in the cache did not get overridden by an uninstalled one
21887 which was earlier in the plugin path because the newly created plugin
21888 for the uninstalled one (not in the registry) didn't get its
21889 ->registered set to TRUE
21891 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
21893 * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
21894 (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
21895 (gst_collectpads_is_active), (gst_collectpads_collect),
21896 (gst_collectpads_collect_range), (gst_collectpads_start),
21897 (gst_collectpads_stop), (gst_collectpads_peek),
21898 (gst_collectpads_pop), (gst_collectpads_available),
21899 (gst_collectpads_read), (gst_collectpads_flush):
21900 Guard public API with assertions.
21903 Fix docs for gst_pad_set_link_function().
21905 2005-11-02 Johan Dahlin <johan@gnome.org>
21907 * gst/elements/gsttypefindelement.c (gst_type_find_element_activate):
21908 Unref found_caps after we used it.
21910 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
21912 * gst/base/gstcollectpads.c: (gst_collectpads_peek):
21913 Don't try to ref NULL.
21915 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
21917 * win32/common/config.h.in:
21918 provide a GST_FUNCTION that just gives a string for now
21920 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
21922 * win32/common/gstenumtypes.c: (register_gst_object_flags),
21923 (gst_object_flags_get_type), (register_gst_bin_flags),
21924 (gst_bin_flags_get_type), (register_gst_buffer_flag),
21925 (gst_buffer_flag_get_type), (register_gst_bus_flags),
21926 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
21927 (gst_bus_sync_reply_get_type), (register_gst_clock_return),
21928 (gst_clock_return_get_type), (register_gst_clock_entry_type),
21929 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
21930 (gst_clock_flags_get_type), (register_gst_state),
21931 (gst_state_get_type), (register_gst_state_change_return),
21932 (gst_state_change_return_get_type), (register_gst_state_change),
21933 (gst_state_change_get_type), (register_gst_element_flags),
21934 (gst_element_flags_get_type), (register_gst_core_error),
21935 (gst_core_error_get_type), (register_gst_library_error),
21936 (gst_library_error_get_type), (register_gst_resource_error),
21937 (gst_resource_error_get_type), (register_gst_stream_error),
21938 (gst_stream_error_get_type), (register_gst_event_type),
21939 (gst_event_type_get_type), (register_gst_seek_type),
21940 (gst_seek_type_get_type), (register_gst_seek_flags),
21941 (gst_seek_flags_get_type), (register_gst_format),
21942 (gst_format_get_type), (register_gst_index_certainty),
21943 (gst_index_certainty_get_type), (register_gst_index_entry_type),
21944 (gst_index_entry_type_get_type),
21945 (register_gst_index_lookup_method),
21946 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
21947 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
21948 (gst_index_resolver_method_get_type), (register_gst_index_flags),
21949 (gst_index_flags_get_type), (register_gst_debug_level),
21950 (gst_debug_level_get_type), (register_gst_debug_color_flags),
21951 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
21952 (gst_iterator_result_get_type), (register_gst_iterator_item),
21953 (gst_iterator_item_get_type), (register_gst_message_type),
21954 (gst_message_type_get_type), (register_gst_mini_object_flags),
21955 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
21956 (gst_pad_link_return_get_type), (register_gst_flow_return),
21957 (gst_flow_return_get_type), (register_gst_activate_mode),
21958 (gst_activate_mode_get_type), (register_gst_pad_direction),
21959 (gst_pad_direction_get_type), (register_gst_pad_flags),
21960 (gst_pad_flags_get_type), (register_gst_pad_presence),
21961 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
21962 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
21963 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
21964 (gst_plugin_error_get_type), (register_gst_plugin_flags),
21965 (gst_plugin_flags_get_type), (register_gst_rank),
21966 (gst_rank_get_type), (register_gst_query_type),
21967 (gst_query_type_get_type), (register_gst_tag_merge_mode),
21968 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
21969 (gst_tag_flag_get_type), (register_gst_task_state),
21970 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
21971 (gst_alloc_trace_flags_get_type),
21972 (register_gst_type_find_probability),
21973 (gst_type_find_probability_get_type), (register_gst_uri_type),
21974 (gst_uri_type_get_type), (register_gst_parse_error),
21975 (gst_parse_error_get_type):
21976 * win32/common/gstversion.h:
21977 update win32 copies
21979 2005-11-01 Luca Ognibene <luogni@tin.it>
21982 fix docs. popt is dead, long live GOption.
21984 2005-10-31 Wim Taymans <wim@fluendo.com>
21989 2005-10-31 Andy Wingo <wingo@pobox.com>
21993 * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
21995 * gst/gstobject.c (gst_object_dispatch_properties_changed): No
21996 need to serialize property notifications on GLib 2.8. GLib 2.6 has
21997 the possibility of deadlocks here if code calling notify() or
21998 set() has a lock that can be taken in another notify handler (ABBA
21999 with class lock and e.g. python GIL state lock).
22001 2005-10-28 Julien MOUTTE <julien@moutte.net>
22003 * gst/gstbus.c: Doc updates.
22005 2005-10-28 Wim Taymans <wim@fluendo.com>
22007 * docs/design/part-TODO.txt:
22008 * gst/gstiterator.c:
22009 * gst/gstsystemclock.c:
22010 * gst/gstsystemclock.h:
22013 2005-10-28 Edward Hervey <edward@fluendo.com>
22015 * docs/gst/gstreamer-docs.sgml:
22016 * docs/gst/gstreamer-sections.txt:
22017 the GstURIType documentation page is private, it only defines GstURIType
22018 which should be defined in the GstURIHandler page
22020 2005-10-28 Thomas Vander Stichele <thomas at apestaart dot org>
22022 * gst/gstbin.c: (gst_bin_class_init):
22025 Documentation updates.
22027 2005-10-28 Wim Taymans <wim@fluendo.com>
22029 * docs/gst/gstreamer-sections.txt:
22032 Documented the clocks.
22034 2005-10-28 Stefan Kost <ensonic@users.sf.net>
22036 * docs/gst/gstreamer-sections.txt:
22037 move some macros to private sections
22038 * gst/gstminiobject.c:
22039 * gst/gstminiobject.h:
22040 add descriptions provided by ds and some more
22042 mark macro as to be removed
22044 2005-10-28 Wim Taymans <wim@fluendo.com>
22046 * docs/design/part-TODO.txt:
22047 Add an item to TODO.
22049 * gst/gstiterator.c: (gst_iterator_fold),
22050 (gst_iterator_find_custom):
22051 * gst/gstiterator.h:
22054 2005-10-28 Wim Taymans <wim@fluendo.com>
22056 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
22057 (gst_base_transform_init):
22060 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
22061 An EOS event marks the queue as completely filled.
22063 2005-10-27 Wim Taymans <wim@fluendo.com>
22065 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
22066 (gst_base_sink_do_sync), (gst_base_sink_get_position):
22067 Some more debugging.
22069 * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
22070 (gst_base_transform_init), (gst_base_transform_buffer_alloc),
22071 (gst_base_transform_event), (gst_base_transform_getrange),
22072 (gst_base_transform_chain):
22073 * gst/base/gstbasetransform.h:
22075 Protect transform and concurrent buffer alloc with a new lock.
22076 Try not to break ABI/API.
22078 2005-10-27 Wim Taymans <wim@fluendo.com>
22080 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
22081 (gst_base_src_init), (gst_base_src_query),
22082 (gst_base_src_default_newsegment),
22083 (gst_base_src_configure_segment), (gst_base_src_do_seek),
22084 (gst_base_src_send_event), (gst_base_src_event_handler),
22085 (gst_base_src_pad_get_range), (gst_base_src_loop),
22086 (gst_base_src_unlock), (gst_base_src_default_negotiate),
22087 (gst_base_src_start), (gst_base_src_deactivate),
22088 (gst_base_src_activate_push), (gst_base_src_change_state):
22089 Move some stuff around and cleanup things.
22091 2005-10-27 Tim-Philipp Müller <tim at centricular dot net>
22093 * gst/base/gstbasesrc.c: (gst_base_src_query):
22094 Add missing break statements.
22096 2005-10-27 Wim Taymans <wim@fluendo.com>
22098 * check/gst/gstbin.c: (GST_START_TEST):
22099 An extra refcount is taken in basesrc.
22101 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
22102 (gst_base_src_get_range), (gst_base_src_pad_get_range),
22103 (gst_base_src_loop):
22104 Small cleanups, check for flushing after being unlocked from the
22105 LIVE_LOCK. take refcounts correctly (not yet everywhere).
22106 Don't send out EOS when going to READY.
22108 2005-10-27 Wim Taymans <wim@fluendo.com>
22110 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
22111 (gst_base_sink_get_position):
22114 * gst/gstbin.c: (message_check), (bin_replace_message),
22115 (bin_remove_messages), (is_eos), (gst_bin_add_func),
22116 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
22117 (bin_query_duration_init), (bin_query_duration_fold),
22118 (bin_query_duration_done), (bin_query_generic_fold),
22120 * tools/gst-launch.c: (main):
22123 2005-10-26 Stefan Kost <ensonic@users.sf.net>
22125 * examples/controller/audio-example.c: (main):
22126 * examples/queue/queue.c: (event_loop):
22127 * gst/base/gstbasetransform.h:
22128 * gst/gstelement.c: (gst_element_send_event):
22130 * gst/gstpad.c: (gst_pad_send_event):
22133 changing log priority in error situations
22135 2005-10-25 Wim Taymans <wim@fluendo.com>
22137 * gst/gstbin.c: (message_check), (bin_replace_message),
22138 (bin_remove_messages), (is_eos), (gst_bin_add_func),
22139 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
22140 (bin_query_duration_init), (bin_query_duration_fold),
22141 (bin_query_duration_done), (bin_query_generic_fold),
22143 Some doc and debug updates.
22144 Cache previously requested query DURATION for speed. invalidate
22145 cached duration if element posts a DURATION message.
22147 2005-10-25 Wim Taymans <wim@fluendo.com>
22149 * docs/design/part-TODO.txt:
22152 * gst/gstbin.c: (message_check), (bin_replace_message),
22153 (bin_remove_messages), (is_eos), (gst_bin_add_func),
22154 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
22155 (bin_query_duration_init), (bin_query_duration_fold),
22156 (bin_query_duration_done), (bin_query_generic_fold),
22158 Handle SEGMENT_START/DONE messages correctly.
22159 More evolved query algorithm that handles duration queries
22162 * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
22163 (gst_element_get_state_func), (gst_element_abort_state),
22164 (gst_element_commit_state), (gst_element_lost_state):
22165 Some more debugging.
22167 * gst/gstmessage.h:
22170 2005-10-25 Wim Taymans <wim@fluendo.com>
22172 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
22173 Don't use invalid stream_time.
22175 * gst/gstevent.c: (gst_event_new_newsegment):
22176 stream_time in newsegment cannot be undefined.
22178 2005-10-24 Wim Taymans <wim@fluendo.com>
22183 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
22185 Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
22187 2005-10-24 Stefan Kost <ensonic@users.sf.net>
22189 * docs/libs/tmpl/gstdparam.sgml:
22190 * docs/libs/tmpl/gstdplinint.sgml:
22191 * docs/libs/tmpl/gstdpman.sgml:
22192 * docs/libs/tmpl/gstdpsmooth.sgml:
22193 * docs/libs/tmpl/gstunitconvert.sgml:
22196 2005-10-24 Thomas Vander Stichele <thomas at apestaart dot org>
22201 === release 0.9.4 ===
22203 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
22206 releasing 0.9.4, "Tyrannosaurus Rex"
22208 2005-10-23 Tim-Philipp Müller <tim at centricular dot net>
22210 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
22211 (gst_file_sink_get_current_offset):
22212 Use fseeko() and ftello() if available. When falling back on
22213 lseek() to get the current offset, fflush() first to make sure
22214 everything is up-to-date and we get the right offset.
22216 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
22218 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
22219 * gst/base/gstbasesrc.c: (gst_base_src_loop):
22220 * gst/gsterror.c: (_gst_stream_errors_init):
22222 * gst/gstqueue.c: (gst_queue_loop):
22224 remove prematurely added error category and clean up the instances
22226 2005-10-21 Wim Taymans <wim@fluendo.com>
22228 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
22229 (gst_base_sink_get_position), (gst_base_sink_query),
22230 (gst_base_sink_change_state):
22231 Simply set the right flag when going to playing, that's all
22232 we need to do instead of calling a function inside the object
22233 lock (that could take the lock as well and deadlock)
22235 2005-10-21 Wim Taymans <wim@fluendo.com>
22237 * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
22238 (gst_base_src_loop):
22239 Don't warn, the peer element knows what to do best when
22240 the seek failed, it might try something else.
22242 2005-10-21 Wim Taymans <wim@fluendo.com>
22244 * gst/base/gstbasesrc.c: (gst_base_src_init),
22245 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
22248 2005-10-21 Wim Taymans <wim@fluendo.com>
22250 * docs/design/part-segments.txt:
22253 * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
22254 Correctly set caps, even on the subbufer.
22256 2005-10-21 Wim Taymans <wim@fluendo.com>
22258 * docs/gst/gstreamer-docs.sgml:
22259 * docs/gst/gstreamer-sections.txt:
22260 * gst/gstelement.h:
22263 * gst/gstmessage.h:
22266 * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
22270 And 2% more doc coverage.
22272 2005-10-21 Andy Wingo <wingo@pobox.com>
22274 * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
22275 position reporting.
22277 2005-10-20 Wim Taymans <wim@fluendo.com>
22279 * gst/gsterror.c: (gst_error_get_message):
22282 * gst/gststructure.c:
22287 2005-10-20 Wim Taymans <wim@fluendo.com>
22292 Another 1% more coverage.
22294 2005-10-20 Wim Taymans <wim@fluendo.com>
22296 * docs/gst/gstreamer-sections.txt:
22297 * gst/gstelement.c: (gst_element_get_state_func),
22298 (gst_element_abort_state), (gst_element_commit_state),
22299 (gst_element_lost_state):
22301 * gst/gstquery.c: (gst_query_set_position),
22302 (gst_query_parse_position), (gst_query_set_duration),
22303 (gst_query_parse_duration), (gst_query_new_convert):
22305 Yay! 1% more docs coverage.
22307 2005-10-20 Wim Taymans <wim@fluendo.com>
22310 * gst/gstquery.c: (gst_query_set_position),
22311 (gst_query_parse_position), (gst_query_set_duration),
22312 (gst_query_parse_duration), (gst_query_new_convert):
22314 * gst/gstutils.c: (gst_element_query_convert):
22316 Docs and consistency fixes.
22318 2005-10-20 Wim Taymans <wim@fluendo.com>
22324 2005-10-20 Wim Taymans <wim@fluendo.com>
22326 * gst/gstbin.c: (message_check), (bin_replace_message),
22327 (bin_remove_messages), (is_eos), (gst_bin_add_func),
22328 (update_degree), (gst_bin_sort_iterator_next),
22329 (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
22330 Reworked the message handling a bit, cache the messages instead of
22331 only the senders. alows us to do more in the future.
22333 2005-10-20 Wim Taymans <wim@fluendo.com>
22335 * docs/design/part-TODO.txt:
22338 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
22339 (gst_base_sink_query):
22340 Don't use clock time to report position when in EOS.
22342 2005-10-20 Tim-Philipp Müller <tim at centricular dot net>
22344 * tools/gst-inspect.c: (print_interfaces),
22345 (print_element_properties_info), (print_element_info):
22346 Fix interface output with gst-inspect -a; don't print
22347 newlines after double/float properties.
22349 2005-10-20 Wim Taymans <wim@fluendo.com>
22351 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
22352 (gst_base_sink_query):
22353 Speed up current position calculation.
22355 * gst/base/gstbasesrc.c: (gst_base_src_query),
22356 (gst_base_src_default_newsegment):
22357 Correctly set stream position in newsegment.
22359 * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
22360 (update_degree), (gst_bin_sort_iterator_next),
22361 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
22362 * gst/gstmessage.c: (gst_message_new_custom):
22363 Clean up debugging info
22365 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
22366 (gst_queue_loop), (gst_queue_handle_src_query):
22369 2005-10-19 Wim Taymans <wim@fluendo.com>
22371 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
22372 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
22373 Fix query handling again.
22375 2005-10-19 Wim Taymans <wim@fluendo.com>
22377 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
22378 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
22379 * gst/base/gstbasesrc.c: (gst_base_src_query):
22380 * gst/elements/gstfilesink.c: (gst_file_sink_query):
22381 * gst/elements/gsttypefindelement.c:
22382 (gst_type_find_handle_src_query), (find_element_get_length),
22383 (gst_type_find_element_activate):
22386 * gst/gstquery.c: (gst_query_new_position),
22387 (gst_query_set_position), (gst_query_parse_position),
22388 (gst_query_new_duration), (gst_query_set_duration),
22389 (gst_query_parse_duration), (gst_query_set_segment),
22390 (gst_query_parse_segment):
22392 Bundling query position/duration is not a good idea since duration
22393 does not change much and we don't want to recalculate it for every
22394 position query, so they are separated again..
22395 Base value in segment query is not needed.
22397 * gst/gstqueue.c: (gst_queue_handle_src_query):
22398 * gst/gstutils.c: (gst_element_query_position),
22399 (gst_element_query_duration), (gst_pad_query_position),
22400 (gst_pad_query_duration):
22402 Updates for query API change.
22403 Added some docs here and there.
22405 2005-10-19 Thomas Vander Stichele <thomas at apestaart dot org>
22407 * check/gst/gstbin.c: (GST_START_TEST):
22408 * check/gst/gstghostpad.c: (GST_START_TEST):
22409 * check/pipelines/cleanup.c: (GST_START_TEST):
22410 wait on thread to die so we can check refcount correctly
22412 2005-10-18 Wim Taymans <wim@fluendo.com>
22414 * check/pipelines/stress.c: (GST_START_TEST):
22415 Make check a little more time consuming.
22417 2005-10-18 Wim Taymans <wim@fluendo.com>
22419 * check/Makefile.am:
22420 * check/pipelines/stress.c: (GST_START_TEST),
22421 (simple_launch_lines_suite), (main):
22422 Small state change torture test.
22424 * docs/design/part-states.txt:
22425 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
22426 (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
22427 (gst_base_sink_change_state):
22428 Never take state lock from streaming thread, clean up ugly
22429 hacks. Unfortunatly core does not yet support nice ways to
22430 async commit state.
22432 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
22434 Start state recalc if a STATE_DIRTY message is posted, but only
22435 on the toplevel bin.
22437 * gst/gstelement.c: (gst_element_sync_state_with_parent),
22438 (gst_element_get_state_func), (gst_element_abort_state),
22439 (gst_element_commit_state), (gst_element_lost_state),
22440 (gst_element_set_state_func), (gst_element_change_state):
22441 * gst/gstelement.h:
22442 State variables are now protected with the LOCK, the state
22443 lock is only used to serialize _set_state().
22445 2005-10-18 Wim Taymans <wim@fluendo.com>
22447 * check/gst/gstbin.c: (GST_START_TEST):
22448 * check/gst/gstmessage.c: (GST_START_TEST):
22449 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
22450 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
22452 * gst/gstelement.c: (gst_element_abort_state),
22453 (gst_element_commit_state), (gst_element_lost_state):
22454 * gst/gstmessage.c: (gst_message_new_state_changed),
22455 (gst_message_new_state_dirty), (gst_message_new_segment_start),
22456 (gst_message_new_segment_done), (gst_message_new_duration),
22457 (gst_message_parse_state_changed),
22458 (gst_message_parse_segment_start),
22459 (gst_message_parse_segment_done), (gst_message_parse_duration):
22460 * gst/gstmessage.h:
22461 * tools/gst-launch.c: (event_loop):
22462 Seriously, this is better than a previous commit as we only need
22463 to notify the fact that an element changed state in a streaming
22464 thread, marking the state of the parents dirty, hence the
22465 STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
22468 2005-10-18 Wim Taymans <wim@fluendo.com>
22470 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
22471 (gst_bin_recalc_func):
22472 * gst/gstelement.c: (gst_element_set_clock),
22473 (gst_element_abort_state), (gst_element_lost_state):
22474 Cleanups, prepare for state change fixes.
22476 2005-10-18 Wim Taymans <wim@fluendo.com>
22479 * gst/gstelement.c: (gst_element_class_init),
22480 (gst_element_set_state), (gst_element_set_state_func):
22481 * gst/gstelement.h:
22482 Pending ABI changes.
22483 GThreadPool in GstBinClass to monitor async state changes.
22484 state_cookie in GstElement to detect concurrent gst/set state.
22485 set_state is now virtual too in case a very complicated element
22486 has to be constructed.
22488 2005-10-18 Wim Taymans <wim@fluendo.com>
22490 * check/gst/gstbin.c: (GST_START_TEST):
22491 * check/gst/gstmessage.c: (GST_START_TEST):
22492 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
22493 * gst/gstbin.c: (bin_bus_handler):
22494 * gst/gstelement.c: (gst_element_commit_state),
22495 (gst_element_lost_state):
22496 * gst/gstmessage.c: (gst_message_new_state_changed),
22497 (gst_message_new_segment_start), (gst_message_new_segment_done),
22498 (gst_message_new_duration), (gst_message_parse_state_changed),
22499 (gst_message_parse_segment_start),
22500 (gst_message_parse_segment_done), (gst_message_parse_duration):
22501 * gst/gstmessage.h:
22502 * tools/gst-launch.c: (event_loop):
22503 Make messages future proof.
22504 state-change gets a flag if it was a message comming from the
22506 segment-start/stop can also be specified in other formats.
22507 A message to notify an app that a pipeline changed playback
22509 Also fix a GstMessage leak in -launch
22511 2005-10-18 Andy Wingo <wingo@pobox.com>
22513 * gst/gstelement.c (gst_element_dispose): More helpful message.
22515 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
22517 reviewed by: <delete if not using a buddy>
22519 * common/gtk-doc.mak:
22521 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
22523 * gst/gstregistry.c: (gst_registry_scan_path_level):
22524 unref a plug-in we get that was already initialized
22526 2005-10-18 Stefan Kost <ensonic@users.sf.net>
22528 * docs/gst/gstreamer-sections.txt:
22529 * docs/libs/gstreamer-libs-sections.txt:
22530 * gst/gstelement.h:
22531 add new api entries
22532 hide internal macro
22534 2005-10-17 Andy Wingo <wingo@pobox.com>
22536 * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
22539 * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
22541 * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
22543 * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
22544 (gst_element_get_state_func): Better debug message.
22545 (gst_element_commit_state): s/INFO/DEBUG/.
22546 (gst_element_lost_state, gst_element_change_state):
22548 * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
22549 (gst_message_new_custom): s/INFO/LOG/.
22551 2005-10-17 Michael Smith <msmith@fluendo.com>
22553 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
22554 Check if end time is valid using end time, not start time.
22556 2005-10-17 Stefan Kost <ensonic@users.sf.net>
22558 * check/gst-libs/controller.c: (GST_START_TEST),
22559 (gst_controller_suite):
22560 * libs/gst/controller/gstcontroller.c:
22561 (gst_controlled_property_set_interpolation_mode):
22562 * libs/gst/controller/gstcontroller.h:
22563 * libs/gst/controller/gstinterpolation.c:
22564 * testsuite/controller/.cvsignore:
22565 * testsuite/controller/Makefile.am:
22566 * testsuite/controller/interpolator.c:
22567 merge controller testsuites
22569 remove mem-chunk from docs
22571 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
22573 * gst/gstmemchunk.c:
22574 * gst/gstmemchunk.h:
22575 * gst/gsttrashstack.c:
22576 * gst/gsttrashstack.h:
22577 out. get out. you're fired. to the Attic !
22579 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
22581 * gst/gstcaps.c: (gst_caps_intersect):
22582 fix signedness issues in a (hopefully) correct way
22583 * gst/gstelement.c: (gst_element_pads_activate):
22585 * gst/gstobject.c: (gst_object_set_parent):
22588 2005-10-17 Julien MOUTTE <julien@moutte.net>
22590 * gst/gstvalue.h: Fix prototypes.
22592 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
22594 * docs/gst/gstreamer-sections.txt:
22595 * gst/gst.c: (gst_version_string):
22597 * gst/gstversion.h.in:
22598 * win32/common/libgstreamer.def:
22599 add gst_version_string ()
22601 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
22605 * gst/gst.c: (init_post):
22606 * win32/common/config.h.in:
22608 * gst/gstcaps.c: (gst_caps_intersect):
22609 use gint64, the range could be bigger than a guint
22611 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
22614 document potential problem in 2038
22616 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
22618 * gst/gstcaps.c: (gst_caps_intersect):
22619 Fix guint j diving under 0
22621 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
22624 * win32/common/config.h:
22625 * win32/common/config.h.in:
22626 check for process.h, declares getpid() on Windows
22628 include process.h if we have it
22629 * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
22630 * gst/gstmemchunk.h:
22631 fix signedness issues
22632 * win32/common/libgstreamer.def:
22635 2005-10-16 Julien MOUTTE <julien@moutte.net>
22637 * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
22638 fix. Because of unsigned ints, caps intersection was going nuts and
22639 trying to access structures with G_MAXUINT index. That fixes
22640 videotestsrc ! ffmpegcolorspace ! fakesink
22641 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
22644 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
22647 use the gettext macro
22648 * gst/elements/gstelements.c:
22650 * gst/indexers/gstindexers.c:
22651 update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
22652 * win32/common/config.h:
22654 * win32/common/config.h.in:
22655 add the template to generate config.h
22656 * win32/common/gstenumtypes.c:
22657 * win32/common/gstversion.h:
22660 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
22662 * gst/gst.c: (gst_version):
22663 * gst/gstversion.h.in:
22666 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
22669 Oops, add missing closing bracket.
22671 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
22674 use common m4's for argument checking
22676 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
22678 * docs/gst/gstreamer-sections.txt:
22680 Add GST_EVENT_TYPE_NAME() macro.
22682 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
22685 * gst/gstpluginfeature.c:
22687 privatize more symbols
22689 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
22692 add srcdir, builddir includes to GST_ALL_CFLAGS, since
22693 everything that uses GStreamer API should have the includes
22695 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
22697 * docs/gst/gstreamer-sections.txt:
22698 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
22700 give each value a _get_type, removes the DATA exports
22702 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
22706 remove _gst_registry_auto_load, not used anymore
22707 * gst/gstbin.c: (gst_bin_get_type):
22709 * gst/gstelement.c: (gst_element_get_type):
22710 * gst/gstelement.h:
22711 * gst/gstobject.c: (gst_object_get_type):
22713 * gst/gstpad.c: (gst_pad_get_type):
22715 make _get_type functions similar, fixes data export from library
22717 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
22720 correctly make conditionals
22721 * gst/elements/Makefile.am:
22722 * gst/elements/gstelements.c:
22723 fix typo causing fdsrc not to build
22725 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
22727 * testsuite/Makefile.am:
22728 * testsuite/bytestream/.cvsignore:
22729 * testsuite/bytestream/Makefile.am:
22730 * testsuite/bytestream/filepadsink.c:
22731 * testsuite/bytestream/gstbstest.c:
22732 * testsuite/bytestream/test1.c:
22733 * testsuite/bytestream/testfile1:
22734 * testsuite/caps/normalisation.c:
22735 * testsuite/caps/random.c: (main):
22736 * testsuite/cleanup/.cvsignore:
22737 * testsuite/cleanup/Makefile.am:
22738 * testsuite/cleanup/cleanup1.c:
22739 * testsuite/cleanup/cleanup2.c:
22740 * testsuite/cleanup/cleanup3.c:
22741 * testsuite/cleanup/cleanup4.c:
22742 * testsuite/cleanup/cleanup5.c:
22743 * testsuite/controller/interpolator.c:
22744 * testsuite/debug/printf_extension.c: (main):
22745 * testsuite/elements/tee.c:
22746 * testsuite/negotiation/.cvsignore:
22747 * testsuite/negotiation/Makefile.am:
22748 * testsuite/negotiation/pad_link.c:
22749 * testsuite/pad/Makefile.am:
22750 * testsuite/pad/chainnopull.c:
22751 * testsuite/pad/getnopush.c:
22752 * testsuite/pad/link.c:
22753 * testsuite/refcounting/sched.c: (create_pipeline):
22754 * testsuite/registry/Makefile.am:
22755 * testsuite/registry/gst-print-formats.c:
22756 * testsuite/schedulers/.cvsignore:
22757 * testsuite/schedulers/142183-2.c:
22758 * testsuite/schedulers/142183.c:
22759 * testsuite/schedulers/143777-2.c:
22760 * testsuite/schedulers/143777.c:
22761 * testsuite/schedulers/147713.c:
22762 * testsuite/schedulers/147819.c:
22763 * testsuite/schedulers/147894-2.c:
22764 * testsuite/schedulers/147894.c:
22765 * testsuite/schedulers/Makefile.am:
22766 * testsuite/schedulers/group_link.c:
22767 * testsuite/schedulers/queue_link.c:
22768 * testsuite/schedulers/relink.c:
22769 * testsuite/schedulers/unlink.c:
22770 * testsuite/schedulers/unref.c:
22771 * testsuite/schedulers/useless_iteration.c:
22772 * testsuite/states/bin.c:
22773 clean out/remove some stuff from the testsuite directories
22775 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
22778 check for some headers
22779 * gst/elements/Makefile.am:
22780 * gst/elements/gstelements.c:
22781 don't compile fdsrc without sys/socket.h
22782 * gst/indexers/Makefile.am:
22783 * gst/indexers/gstindexers.c: (plugin_init):
22784 don't compile fileindex without mmap
22786 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
22793 * check/Makefile.am:
22794 * docs/gst/Makefile.am:
22795 * examples/helloworld/Makefile.am:
22797 * gst/base/Makefile.am:
22798 * gst/check/Makefile.am:
22799 * gst/elements/Makefile.am:
22800 * gst/indexers/Makefile.am:
22801 * gst/parse/Makefile.am:
22802 * libs/gst/controller/Makefile.am:
22803 * libs/gst/dataprotocol/Makefile.am:
22804 * examples/helloworld/helloworld.c: (event_loop):
22805 compile fixes, though it's not being compiled currently
22807 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
22809 * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
22810 Add some simple tests for the new taglist date API.
22812 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
22814 * gst/elements/gstfakesink.c: (gst_fake_sink_render):
22815 * gst/elements/gstfakesrc.c: (gst_fake_src_create):
22816 Beautify 'last-message' output: print 'none' for buffer timestamps
22817 and durations if none is set; improve alignment with next messages.
22819 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
22821 * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
22822 * gst/gstpluginfeature.h:
22823 * gst/gstregistry.c: (gst_default_registry_check_feature_version):
22824 * gst/gstregistry.h:
22825 * docs/gst/gstreamer-sections.txt:
22826 Add new API to check plugin feature version requirements.
22828 * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
22829 Some basic tests for the above.
22831 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
22833 * gst/gststructure.c: (gst_structure_to_string):
22834 guard against NULL printf - happens when for example
22835 a message structure with GstClock gets serialized
22837 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
22839 * gst/base/gstcollectpads.c: (gst_collectpads_event):
22840 Fix presumable copy'n'pasto.
22842 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
22844 * gst/elements/gstfakesrc.h:
22845 * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
22846 * gst/elements/gsttypefindelement.c:
22847 fix some signedness
22848 * gst/elements/gstfilesink.c: (gst_file_sink_render):
22849 I wonder if this could actually write +2GB files before
22851 2005-10-13 Andy Wingo <wingo@pobox.com>
22853 * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
22854 Fix Timmeke Waymans bug.
22855 (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
22856 string of the proper length to gst_caps_from_string. There's a
22857 potential for, before this fix, that this could cause someone
22858 connecting over the network to cause a segfault if the payload is
22859 not NUL-terminated.
22861 2005-10-13 Stefan Kost <ensonic@users.sf.net>
22863 * docs/design/draft-push-pull.txt:
22864 * docs/design/part-overview.txt:
22865 * docs/random/TODO-pre-0.9:
22866 * docs/random/old/ChangeLog.gstreamer:
22867 * gst/base/gstpushsrc.c:
22871 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
22873 * gst/glib-compat.c: (gst_flags_get_first_value):
22874 * gst/glib-compat.h:
22875 * gst/gstvalue.c: (gst_value_deserialize_int_helper),
22876 (gst_value_compare_double), (gst_value_serialize_flags):
22877 GLib 2.6 g_flags_get_first_value has a bug that triggers an
22880 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
22882 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
22883 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
22885 * tools/gst-launch.c: (event_loop):
22886 print out clock nicely
22888 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
22890 * docs/gst/gstreamer-sections.txt:
22891 * gst/gsttaglist.h:
22892 * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
22893 (gst_tag_list_get_date_index):
22894 Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
22895 GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
22897 2005-10-13 Julien MOUTTE <julien@moutte.net>
22899 * gst/base/gstcollectpads.c: (gst_collectpads_event),
22900 (gst_collectpads_chain):
22901 * gst/base/gstcollectpads.h: Handle newsegment and store informations
22904 2005-10-13 Stefan Kost <ensonic@users.sf.net>
22906 * docs/gst/gstreamer-sections.txt:
22909 * tools/gst-inspect.c: (main):
22910 * tools/gst-launch.c: (main):
22911 * tools/gst-run.c: (main):
22912 * tools/gst-xmlinspect.c: (main):
22913 fix GOption context leaks
22916 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
22920 * win32/common/config.h:
22922 * win32/vs6/grammar.dsp:
22923 * win32/vs6/libgstelements.dsp:
22924 * win32/vs6/libgstreamer.dsp:
22927 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
22929 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
22930 * gst/base/gstbasesrc.c: (gst_base_src_query):
22931 fix more guint64<->gdouble conversions
22933 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
22936 add win32-update target
22937 * win32/common/gstconfig.h:
22938 * win32/common/gstenumtypes.c:
22939 * win32/common/gstenumtypes.h:
22940 * win32/common/gstversion.h:
22941 add files that visual studio can't generate
22943 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
22946 add a win32-update target
22949 2005-10-12 Wim Taymans <wim@fluendo.com>
22951 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
22952 (reset_degree), (gst_bin_dispose), (bin_bus_handler):
22953 * gst/gstelement.c: (gst_element_commit_state),
22954 (gst_element_set_state):
22955 Protect flags with proper lock.
22956 unref provided cached clock in dispose.
22958 2005-10-12 Stefan Kost <ensonic@users.sf.net>
22961 * gst/gstminiobject.h:
22963 * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
22964 removed unused flags from miniobject
22967 2005-10-12 Wim Taymans <wim@fluendo.com>
22969 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
22970 (gst_file_sink_event), (gst_file_sink_render):
22971 Flush before seeking.
22973 2005-10-12 Andy Wingo <wingo@pobox.com>
22975 * gst/gst.c (gst_init_check): Ignore unknown options, as has
22976 always been the case.
22978 2005-10-12 Stefan Kost <ensonic@users.sf.net>
22980 * check/gst/gstbin.c: (GST_START_TEST):
22981 * docs/gst/gstreamer-sections.txt:
22982 * gst/base/gstbasesink.c: (gst_base_sink_init):
22983 * gst/base/gstbasesrc.c: (gst_base_src_init),
22984 (gst_base_src_get_range), (gst_base_src_check_get_range),
22985 (gst_base_src_start), (gst_base_src_stop):
22986 * gst/base/gstbasesrc.h:
22987 * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
22988 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
22989 (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
22993 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
22995 * gst/gstelement.c: (gst_element_is_locked_state),
22996 (gst_element_set_locked_state), (gst_element_commit_state),
22997 (gst_element_set_state):
22998 * gst/gstelement.h:
22999 * gst/gstindex.c: (gst_index_init):
23001 * gst/gstminiobject.h:
23002 * gst/gstobject.c: (gst_object_init), (gst_object_sink),
23003 (gst_object_set_parent):
23005 * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
23006 (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
23008 * gst/gstpadtemplate.h:
23009 * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
23010 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
23011 * gst/gstpipeline.h:
23012 * gst/indexers/gstfileindex.c: (gst_file_index_load),
23013 (gst_file_index_commit):
23014 * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
23015 * testsuite/pad/link.c: (gst_test_src_init),
23016 (gst_test_filter_init), (gst_test_sink_init):
23017 * testsuite/states/locked.c: (main):
23018 renamed GST_FLAGS macros to GST_OBJECT_FLAGS
23019 moved bitshift from macro to enum definition
23021 2005-10-12 Wim Taymans <wim@fluendo.com>
23023 * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
23024 * gst/elements/gstfilesink.c: (gst_file_sink_event),
23025 (gst_file_sink_render):
23026 Some more debugging info.
23028 2005-10-12 Wim Taymans <wim@fluendo.com>
23030 * docs/design/part-states.txt:
23031 * tools/gst-launch.c: (main):
23033 Revert non-intentional change.
23035 2005-10-12 Wim Taymans <wim@fluendo.com>
23037 * check/gst/gstbin.c: (GST_START_TEST):
23038 * check/gst/gstelement.c: (GST_START_TEST):
23039 * check/gst/gstevent.c: (GST_START_TEST), (test_event):
23040 * check/gst/gstghostpad.c: (GST_START_TEST):
23041 * check/gst/gstpipeline.c: (GST_START_TEST):
23042 * check/pipelines/simple_launch_lines.c: (run_pipeline):
23043 * check/states/sinks.c: (GST_START_TEST):
23044 * gst/elements/gsttypefindelement.c: (stop_typefinding):
23045 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
23046 (gst_bin_remove_func), (gst_bin_get_state_func),
23047 (gst_bin_recalc_state), (gst_bin_change_state_func),
23049 * gst/gstelement.c: (gst_element_get_state_func),
23050 (gst_element_get_state), (gst_element_abort_state),
23051 (gst_element_commit_state), (gst_element_set_state),
23052 (gst_element_change_state), (gst_element_change_state_func):
23053 * gst/gstelement.h:
23054 * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
23055 (gst_pipeline_provide_clock_func):
23056 * gst/gstutils.c: (gst_element_link_pads_filtered):
23057 * tools/gst-launch.c: (main):
23058 * tools/gst-typefind.c: (main):
23059 Use GstClockTime in _get_state() instead of GTimeVal.
23060 Remove old code in gstutils.c
23062 2005-10-12 Andy Wingo <wingo@pobox.com>
23064 * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
23067 * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
23068 there is no task. Shouldn't affect any code, as nothing in our
23069 plugins checks this return value.
23070 (gst_pad_stop_task): Also take the stream lock if the pad has no
23071 task. Docs updated.
23073 2005-10-12 Wim Taymans <wim@fluendo.com>
23075 * gst/gstpad.c: (pre_activate), (post_activate),
23076 (gst_pad_activate_pull), (gst_pad_activate_push):
23077 Cleanup activation code. Reset old state if
23080 2005-10-12 Wim Taymans <wim@fluendo.com>
23082 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23083 (gst_base_sink_change_state):
23084 No need to prerol after receiving EOS.
23086 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
23087 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
23088 * gst/elements/gstidentity.c: (gst_identity_event):
23089 Print events more verbosely.
23091 2005-10-12 Wim Taymans <wim@fluendo.com>
23093 * check/Makefile.am:
23094 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
23095 * check/states/sinks2.c:
23096 Moved sinks2 testcode in sinks check.
23098 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
23099 (gst_bin_remove_func), (gst_bin_recalc_state),
23100 (gst_bin_change_state_func), (bin_bus_handler):
23101 Fix potential race condition when _get_state() iterated over an
23102 ASYNC element right before it posted a state completion.
23105 Do proper cast here.
23107 * gst/gstevent.c: (gst_event_new_newsegment),
23108 (gst_event_parse_newsegment):
23109 A playback rate of 0.0 is not allowed.
23111 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
23113 * win32/common/config.h:
23114 * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
23115 (_trewinddir), (_ttelldir), (_tseekdir):
23116 * win32/common/dirent.h:
23117 * win32/common/gtchar.h:
23118 * win32/common/libgstbase.def:
23119 * win32/common/libgstreamer.def:
23120 * win32/vs6/grammar.dsp:
23121 * win32/vs6/gst_inspect.dsp:
23122 * win32/vs6/gst_launch.dsp:
23123 * win32/vs6/gstreamer.dsw:
23124 * win32/vs6/libgstbase.dsp:
23125 * win32/vs6/libgstelements.dsp:
23126 * win32/vs6/libgstreamer.dsp:
23127 Visual Studio 6 project files, and a new common directory.
23130 2005-10-11 Wim Taymans <wim@fluendo.com>
23132 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23133 (gst_base_sink_do_sync), (gst_base_sink_query),
23134 (gst_base_sink_change_state):
23135 * gst/base/gstbasesink.h:
23136 Correctly parse newsegment info.
23138 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
23140 * gst/gst.c: (init_post):
23141 split plugin paths correctly
23143 2005-10-11 Wim Taymans <wim@fluendo.com>
23145 * check/gst/gstevent.c: (GST_START_TEST):
23146 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23147 (gst_base_sink_change_state):
23148 * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
23149 * gst/base/gstbasetransform.c: (gst_base_transform_event):
23150 * gst/elements/gstfilesink.c: (gst_file_sink_event):
23151 * gst/gstevent.c: (gst_event_new_newsegment),
23152 (gst_event_parse_newsegment):
23154 Added extra flag to newsegment for future API freeze.
23155 Updated check and base elements.
23157 2005-10-11 Julien MOUTTE <julien@moutte.net>
23159 * gst/base/gstcollectpads.c: (gst_collectpads_init),
23160 (gst_collectpads_add_pad), (gst_collectpads_pop),
23161 (gst_collectpads_event), (gst_collectpads_chain):
23162 * gst/base/gstcollectpads.h: Handle EOS correctly.
23164 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
23166 * tools/gst-launch.c: (main):
23167 more null protecting
23169 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
23171 * gst/gst-i18n-lib.h:
23172 check for ENABLE_NLS, not GETTEXT_PACKAGE
23173 * gst/gstregistry.c: (gst_registry_add_plugin),
23174 (gst_registry_scan_path_level),
23175 (_gst_registry_remove_cache_plugins):
23176 protect possibly NULL strings
23177 * gst/parse/types.h:
23178 config.h already included before
23179 * tools/gst-inspect.c: (main):
23180 sys/wait.h also doesn�t exist on mingw, so change the ifdef check
23181 check for ENABLE_NLS, not GETTEXT_PACKAGE
23182 * tools/gst-launch.c: (main):
23183 check for ENABLE_NLS, not GETTEXT_PACKAGE
23185 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
23188 if we don't have glib, fail before testing 2.8
23189 * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
23190 fix a leak, should fix plugins-base testsuite
23192 2005-10-11 Andy Wingo <wingo@pobox.com>
23194 * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
23195 take the mode we're going to as an arg. Go head and set the mode
23196 and flushing flags now, so that if the activate function starts a
23197 thread all the flags will be in the right state.
23198 (post_activate): Renamed also. Just handle making sure streaming
23199 finishes for the deactivation case, and setting the deactivated
23201 (gst_pad_set_active): Complain loudly if deactivation fails.
23202 (gst_pad_activate_pull): Adapt to pre/post_activate changes.
23203 (gst_pad_activate_push): Adapt to pre/post_activate changes,
23204 remove the terrible hack.
23206 2005-10-11 Wim Taymans <wim@fluendo.com>
23208 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
23209 (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
23210 (gst_bin_recalc_state), (gst_bin_change_state_func),
23211 (gst_bin_dispose), (bin_bus_handler):
23213 Prepare to make current EOS message queue more generic.
23216 * gst/gstevent.c: (gst_event_new_newsegment),
23217 (gst_event_parse_newsegment):
23219 Rename base to stream_time.
23221 * gst/gstmessage.h:
23224 2005-10-11 Wim Taymans <wim@fluendo.com>
23226 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
23227 (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
23228 (gst_bin_change_state_func), (bin_bus_handler):
23230 Work on proper clock selection.
23232 2005-10-11 Edward Hervey <edward@fluendo.com>
23234 * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list):
23235 * libs/gst/controller/gstcontroller.h:
23236 Added GList* version of _remove_properties() in order to be able to wrap
23239 2005-10-11 Wim Taymans <wim@fluendo.com>
23241 * docs/design/part-states.txt:
23244 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
23245 (gst_bin_change_state_func), (bin_bus_handler):
23246 Doc updates. Don't distribute the same clock over and over again.
23252 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
23253 (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
23254 (gst_pad_send_event):
23256 Make probe emission threadsafe again.
23257 Register quarks and move _get_name() from utils.
23260 * gst/gstpipeline.c: (gst_pipeline_class_init),
23261 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
23262 Only redistribute the clock of it changed.
23264 * gst/gstsystemclock.h:
23269 Moved the _flow_get_name() to GstPad.
23271 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
23273 * check/gst-libs/gdp.c: (GST_START_TEST):
23274 * check/gst/gstcaps.c: (GST_START_TEST):
23275 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
23276 (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
23277 (gst_dp_packet_from_caps):
23278 fix more valgrind warnings before turning up the heat
23280 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
23282 * gst/parse/grammar.y:
23283 some cleanup before the hacking
23285 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
23287 * gst/base/gstbasesrc.c: (gst_base_src_query):
23289 * gst/gstutils.c: (gst_guint64_to_gdouble),
23290 (gst_gdouble_to_guint64), (gst_util_uint64_scale):
23292 externalize, basesrc uses it
23293 obviously the implementation needs testing
23295 2005-10-10 Wim Taymans <wim@fluendo.com>
23297 * tests/sched/Makefile.am:
23298 * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
23299 (make_pipeline3), (make_pipeline4), (print_elem), (main):
23301 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
23303 * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
23304 apparently converting from guint64 to double is not implemented
23307 2005-10-10 Wim Taymans <wim@fluendo.com>
23309 * check/Makefile.am:
23310 * check/generic/states.c: (GST_START_TEST):
23311 * check/gst/gstbin.c: (GST_START_TEST):
23312 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
23313 * check/states/sinks.c: (GST_START_TEST):
23314 * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
23316 Check fixes, use API as stated in design docs, remove hacks.
23318 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23319 (gst_base_sink_change_state):
23320 Catch stopping our task while we're shutting down.
23322 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
23323 (gst_bin_remove_func), (gst_bin_get_state_func),
23324 (gst_bin_recalc_state), (gst_bin_change_state_func),
23327 * gst/gstelement.c: (gst_element_init),
23328 (gst_element_get_state_func), (gst_element_abort_state),
23329 (gst_element_commit_state), (gst_element_lost_state),
23330 (gst_element_set_state), (gst_element_change_state),
23331 (gst_element_change_state_func):
23332 * gst/gstelement.h:
23333 New state change algorithm (see #318116)
23335 * gst/gstpipeline.c: (gst_pipeline_class_init),
23336 (gst_pipeline_init), (gst_pipeline_set_property),
23337 (gst_pipeline_get_property), (do_pipeline_seek),
23338 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
23339 * gst/gstpipeline.h:
23340 Remove crude state change hacks.
23343 Remove crude hacks.
23345 * tools/gst-launch.c: (main):
23346 Fixes for state change. Needs some more work to fully use the
23349 2005-10-10 Andy Wingo <wingo@pobox.com>
23351 * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
23353 * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
23354 this flag, but it's not even in GLib 2.6. Odd. Hack around the
23357 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
23359 * gst/gstiterator.c: (gst_iterator_new):
23360 Fix my previous commit: GTypes passed to gst_iterator_new()
23361 can be fundamental types.
23363 2005-10-10 Wim Taymans <wim@fluendo.com>
23365 * gst/gstelement.c: (gst_element_iterate_pad_list),
23366 (gst_element_iterate_pads), (gst_element_iterate_src_pads),
23367 (gst_element_iterate_sink_pads):
23368 Use src/sink pads lists for the respective iterators instead
23371 2005-10-10 Andy Wingo <wingo@pobox.com>
23373 Merged in popt removal + GOption addition patch from Ronald, bug
23376 * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
23377 GstElement macros around, remove popt-related symbols, add goption
23380 * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
23382 * docs/gst/Makefile.am:
23383 * docs/libs/Makefile.am: No POPT_CFLAGS.
23385 * examples/manual/Makefile.am:
23386 * docs/manual/basics-init.xml: Doc updates with an example.
23388 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
23389 (gst_init), (parse_one_option), (parse_goption_arg):
23390 * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
23391 bit of hand merging and debugging to get the GOption stuff working
23394 * tests/Makefile.am:
23395 * tools/Makefile.am:
23396 * tools/gst-inspect.c: (main):
23397 * tools/gst-launch.c: (main):
23398 * tools/gst-run.c: (main):
23399 * tools/gst-xmlinspect.c: (main): Thanks Ronald!
23401 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
23403 * gst/gstiterator.c: (gst_iterator_new):
23404 Add assertions to make sure passed GType is likely to really
23405 be a GType (as the compiler won't catch it if the size and
23406 GType arguments get mixed up, see #318447).
23408 2005-10-10 Josef Zlomek <josef dot zlomek at xeris dot cz>
23410 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
23412 * gst/gstbin.c: (gst_bin_iterate_sorted):
23413 Pass GType and size arguments to gst_iterator_new() in the right
23414 order (maybe we should make _new() take the GType as first argument
23415 just like _new_list()?) (#318447).
23418 2005-10-10 Wim Taymans <wim@fluendo.com>
23420 * gst/gstelement.c: (gst_element_finalize):
23421 And free the GStaticRecMutex too
23423 2005-10-10 Andy Wingo <wingo@pobox.com>
23425 * gst/gstelement.c (gst_element_init, gst_element_finalize):
23426 Allocate and free the mutex properly.
23428 * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
23430 (GstElement): The state_lock is now recursive. Rebuild your
23431 plugins, suckers. Old macros adapted.
23433 * docs/gst/gstreamer-sections.txt: Doc updates.
23436 * gst/gstutils.c (g_static_rec_cond_timed_wait)
23437 (g_static_rec_cond_wait): Ported from state changes patch, while
23438 we wait on bug #317802 to be solved in a well-distributed GLib.
23440 * gst/gstelement.c (gst_element_change_state_func): Renamed from
23441 gst_element_change_state, variable name changes.
23442 (gst_element_change_state): Split out of gst_element_set_state in
23443 preparation for the state change merge. Doesn't pay attention to
23444 the 'transition' argument.
23445 (gst_element_set_state): Updates, hopefully purely cosmetic.
23446 (gst_element_sync_state_with_parent): MT-safety. Ported from the
23447 state change patch.
23448 (gst_element_get_state_func): Renamed from get_state, cosmetic
23451 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
23453 * gst/elements/gstelements.c:
23454 * win32/GStreamer.vcproj:
23456 * win32/dirent.c: (_tseekdir):
23457 * win32/gst-inspect.vcproj:
23458 * win32/gst-launch.vcproj:
23459 * win32/gstconfig.h:
23460 * win32/gstelements.vcproj:
23461 * win32/gstenumtypes.c: (gst_object_flags_get_type):
23462 * win32/gstreamer.def:
23463 * win32/msvc71.sln:
23464 updates for the win32 build (patch from Sebastien Moutte)
23466 2005-10-10 Andy Wingo <wingo@pobox.com>
23468 * gst/gstbin.c (gst_bin_get_state_func): Renamed from
23469 gst_bin_get_state, cleaned up (but no logic changes).
23470 (bin_element_is_sink): Comment updates.
23471 (sink_iterator_filter): Remove needless cast.
23472 (gst_bin_iterate_sinks): Doc update.
23473 (gst_bin_change_state_func): Renamed from gst_bin_change_state,
23474 cleaned up (but no logic changes).
23476 * check/states/sinks.c (test_src_sink): Cleanups from the state
23478 (test_livesrc_sink): Sync on the state.
23480 * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
23481 the state change patch.
23483 * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
23486 * check/gst/gstbin.c: Merge in some style fixes and additional
23487 checks from Wim's state change patch.
23489 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
23491 * gst/base/gsttypefindhelper.c: (helper_find_peek),
23492 (gst_type_find_helper):
23493 Check whether we have the requested data already in our list of
23494 cached buffers before pulling a new buffer; also make the buffer
23495 list a GSList. Speeds up typefinding by ca. 5-10% altogether.
23497 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
23502 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
23503 don't use long long, it's not portable. Replacing with
23504 gint64 seems to work; let's hope no skeletons fall out of the closet.
23506 2005-10-10 Andy Wingo <wingo@pobox.com>
23508 * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
23510 2005-10-09 Stefan Kost <ensonic@users.sf.net>
23512 * docs/gst/gstreamer-sections.txt:
23517 * gst/gstmessage.c: (gst_message_parse_state_changed):
23520 more docs, fix compilation
23522 2005-10-09 Philippe Khalaf <burger@speedy.org>
23523 * gst/gstmessage.c:
23524 Fixed a few forgotten variables on previous commit
23526 2005-10-09 Tim-Philipp Müller <tim at centricular dot net>
23528 * gst/base/gsttypefindhelper.c: (helper_find_peek):
23529 Fix evil typefind crasher: getrange() might return a short
23530 buffer at the end of a file, but gst_type_find_peek() must
23531 either return the full data as requested or NULL, but
23532 never a short buffer.
23534 2005-10-09 Thomas Vander Stichele <thomas at apestaart dot org>
23536 * gst/gstmessage.c: (gst_message_new_state_changed),
23537 (gst_message_parse_state_changed):
23538 * gst/gstmessage.h:
23539 don't use "new", it's a C++ keyword
23541 2005-10-08 Wim Taymans <wim@fluendo.com>
23543 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
23544 * gst/gstelement.c: (gst_element_post_message):
23545 * gst/gstpipeline.c: (gst_pipeline_change_state):
23546 Small docs and debug updates.
23548 2005-10-08 Stefan Kost <ensonic@users.sf.net>
23550 * docs/gst/gstreamer-sections.txt:
23551 * gst/gstelementfactory.c:
23553 * gst/gsttaglist.c:
23556 2005-10-08 Wim Taymans <wim@fluendo.com>
23558 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
23559 (gst_bin_dispose), (bin_bus_handler):
23560 Fix typos, add comments.
23561 Clear EOS list when going to PAUSED from any direction and do it
23562 in a threadsafe way.
23563 Get base time in a threadsafe way too.
23564 Fix confusing debug in the change_state function.
23565 Various other small cleanups.
23567 * gst/gstelement.c: (gst_element_post_message):
23568 Fix very verbose bus posting code.
23570 * gst/gstpipeline.c: (gst_pipeline_class_init),
23571 (gst_pipeline_set_property), (gst_pipeline_get_property),
23572 (gst_pipeline_change_state):
23573 Small ARG_ -> PROP_ cleanup
23575 2005-10-08 Wim Taymans <wim@fluendo.com>
23577 * gst/gstbin.c: (is_eos), (bin_bus_handler):
23578 Do a less CPU demanding EOS check because we can.
23580 2005-10-08 Wim Taymans <wim@fluendo.com>
23582 * libs/gst/dataprotocol/dataprotocol.c:
23583 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
23584 (gst_dp_packet_from_event):
23585 * libs/gst/dataprotocol/dataprotocol.h:
23586 * libs/gst/dataprotocol/dp-private.h:
23587 It's about time we bump the version number.
23588 Since event types don't fit in the guint8 anymore describing
23589 the payload type, make payload type 16 bits wide.
23591 2005-10-08 Wim Taymans <wim@fluendo.com>
23593 * docs/design/part-TODO.txt:
23594 * docs/design/part-clocks.txt:
23595 * docs/design/part-events.txt:
23596 * docs/design/part-gstbin.txt:
23597 * docs/design/part-gstelement.txt:
23598 * docs/design/part-gstpipeline.txt:
23599 * docs/design/part-live-source.txt:
23600 * docs/design/part-messages.txt:
23601 * docs/design/part-overview.txt:
23602 * docs/design/part-states.txt:
23605 2005-10-08 Wim Taymans <wim@fluendo.com>
23609 Fix event quark registration.
23610 Add some space between events so we can insert them in the
23613 2005-10-08 Wim Taymans <wim@fluendo.com>
23615 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23616 (gst_base_sink_handle_buffer):
23617 Better log message.
23620 * gst/gstelement.h:
23623 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
23624 (gst_queue_set_property), (gst_queue_get_property):
23626 Remove old unused properties.
23628 2005-10-08 Stefan Kost <ensonic@users.sf.net>
23629 * docs/gst/gstreamer-sections.txt:
23630 * gst/gstmessage.c:
23631 * gst/gstmessage.h:
23632 * gst/gstminiobject.c:
23633 * gst/gstminiobject.h:
23637 lots of new docs and doc fixes
23639 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
23641 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
23643 * gst/gstregistry.c: (gst_registry_lookup_locked),
23644 (gst_registry_scan_path_level):
23645 * gst/gstregistryxml.c: (load_plugin):
23646 Only ever load one plugin for a given plugin basename.
23647 This ensures correct overriding of GST_PLUGIN_PATH over
23648 GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
23649 system installed plugins.
23651 2005-10-08 Wim Taymans <wim@fluendo.com>
23653 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23654 (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
23655 Prepare for doing QOS.
23657 2005-10-08 Wim Taymans <wim@fluendo.com>
23659 * check/gst/gstbin.c: (GST_START_TEST):
23660 * check/pipelines/cleanup.c: (GST_START_TEST):
23661 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
23662 Allow new clock message too.
23664 2005-10-08 Wim Taymans <wim@fluendo.com>
23666 * gst/gstmessage.c: (gst_message_new_error),
23667 (gst_message_new_warning), (gst_message_new_tag),
23668 (gst_message_new_state_changed), (gst_message_new_clock_provide),
23669 (gst_message_new_clock_lost), (gst_message_new_new_clock),
23670 (gst_message_new_segment_start), (gst_message_new_segment_done),
23671 (gst_message_parse_state_changed),
23672 (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
23673 (gst_message_parse_new_clock):
23674 * gst/gstmessage.h:
23675 Also carry the clock in question.
23677 2005-10-08 Wim Taymans <wim@fluendo.com>
23679 * gst/gstmessage.c: (gst_message_new_custom),
23680 (gst_message_new_eos), (gst_message_new_error),
23681 (gst_message_new_warning), (gst_message_new_tag),
23682 (gst_message_new_state_changed), (gst_message_new_clock_provide),
23683 (gst_message_new_new_clock), (gst_message_new_segment_start),
23684 (gst_message_new_segment_done), (gst_message_parse_state_changed),
23685 (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
23686 * gst/gstmessage.h:
23688 Added clock related messages.
23690 * gst/gstpipeline.c: (gst_pipeline_change_state):
23691 Post message when the clock changed.
23693 * tools/gst-launch.c: (event_loop):
23696 2005-10-08 Tim-Philipp Müller <tim at centricular dot net>
23698 * tools/gst-inspect.c: (print_element_properties_info):
23699 Can't pass NULL strings to g_print() on windows.
23701 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
23703 * docs/Makefile.am:
23704 * docs/gst/Makefile.am:
23705 * docs/gst/gstreamer-docs.sgml:
23706 * docs/gst/running.xml:
23707 * docs/version.entities.in:
23708 add a chapter on running GStreamer.
23709 document GST_DEBUG and GST_PLUGIN* env vars
23711 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
23716 remove PLUGINS_BUILDDIR stuff
23717 * gst/gst.c: (init_post):
23718 reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
23720 remove, it was condescending and not needed
23722 2005-10-08 Wim Taymans <wim@fluendo.com>
23724 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
23725 (gst_base_sink_handle_object), (gst_base_sink_event),
23726 (gst_base_sink_wait), (gst_base_sink_handle_event),
23727 (gst_base_sink_change_state):
23728 * gst/base/gstbasesink.h:
23729 Repost EOS message while going to PLAYING if still EOS.
23730 Make sure that when receiving a FLUSH_START we don't attempt
23731 to sync on the clock anymore.
23733 2005-10-08 Wim Taymans <wim@fluendo.com>
23735 * tools/gst-launch.c: (event_loop):
23736 Better message printout.
23738 2005-10-08 Wim Taymans <wim@fluendo.com>
23740 * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
23741 (gst_bin_child_proxy_get_children_count):
23742 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
23743 (gst_child_proxy_lookup), (gst_child_proxy_get_property),
23744 (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
23745 (gst_child_proxy_set_valist):
23746 * gst/parse/grammar.y:
23747 Make ChildProxy threadsafe and fix mem leaks.
23749 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
23751 * gst/gst.c: (init_post):
23752 debug the GST_PLUGIN_ env vars
23754 2005-10-08 Wim Taymans <wim@fluendo.com>
23756 * check/gst/gstbin.c: (GST_START_TEST):
23757 * check/gst/gstmessage.c: (GST_START_TEST):
23758 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
23759 * gst/gstelement.c: (gst_element_commit_state),
23760 (gst_element_lost_state):
23761 * gst/gstmessage.c: (gst_message_new_state_changed),
23762 (gst_message_parse_state_changed):
23763 * gst/gstmessage.h:
23764 * tools/gst-launch.c: (event_loop):
23765 Added extra field to STATE_CHANGE message with the pending
23766 state, which will be different from the new state soon.
23768 2005-10-08 Wim Taymans <wim@fluendo.com>
23770 * gst/gstbus.c: (gst_bus_pop):
23772 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
23773 Small cleanups and doc updates.
23775 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
23777 * gst/gst.c: (init_pre):
23778 * gst/gstbin.c: (gst_bin_add_func):
23779 log distributing clocks and base time
23780 * gst/gstregistry.c: (gst_registry_add_plugin),
23781 (gst_registry_scan_path_level), (gst_registry_scan_path):
23782 clean up the debugging output a little
23783 * gst/gstutils.c: (gst_element_state_get_name):
23784 warn about a memleak (I've actually seen this be used, though
23785 it was probably a bug)
23787 2005-10-07 Wim Taymans <wim@fluendo.com>
23789 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
23790 (gst_base_src_init), (gst_base_src_default_newsegment),
23791 (gst_base_src_newsegment), (gst_base_src_do_seek),
23792 (gst_base_src_loop), (gst_base_src_start):
23793 * gst/base/gstbasesrc.h:
23794 Make the newsegment event customizable by subclasses.
23796 2005-10-07 Wim Taymans <wim@fluendo.com>
23798 * gst/gstevent.c: (gst_event_new_buffersize),
23799 (gst_event_parse_buffersize):
23801 New event for future idea.
23803 2005-10-07 Andy Wingo <wingo@pobox.com>
23805 * gst/gstelement.c (gst_element_post_message): Doc update.
23807 * docs/gst/gstreamer-sections.txt: Update.
23809 * gst/gstmessage.c (gst_message_new_application): Made into a
23810 function like honest API calls.
23811 (gst_message_new_element): New message type.
23813 * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
23815 * check/elements/fakesrc.c (test_no_preroll): New check, checks
23816 that setting a live fakesrc to PAUSED returns NO_PREROLL both
23819 * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
23820 NO_PREROLL from gst_element_change_state to fall through.
23822 2005-10-07 Wim Taymans <wim@fluendo.com>
23824 * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
23825 (gst_ghost_pad_do_activate_push):
23826 Activating a ghostpad with no internal pad in push mode
23829 2005-10-07 Thomas Vander Stichele <thomas at apestaart dot org>
23832 there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
23833 Fixes compilation on Windows.
23835 2005-10-07 Michael Smith <msmith@fluendo.com>
23837 * tools/gst-inspect.c:
23838 Print out feature and plugin count at the end when printing out
23841 2005-10-04 Michael Smith <msmith@fluendo.com>
23843 * gst/gsterror.c: (_gst_stream_errors_init):
23844 Add another error string used in a few existing plugins.
23847 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
23848 * tools/gst-inspect.c: (print_element_info):
23849 When a feature disappears from a plugin (and the feature exists in
23850 the cached registry file), things went horribly wrong. This isn't a
23851 complete fix, we should actually be removing the 'missing' features
23852 from the features list when we load the actual plugin. That's not
23855 2005-10-04 Johan Dahlin <johan@gnome.org>
23857 * check/gst/gstiterator.c: (GST_START_TEST):
23858 * gst/gstbin.c: (gst_bin_iterate_elements),
23859 (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
23860 * gst/gstelement.c: (gst_element_iterate_pads):
23861 * gst/gstformat.c: (gst_format_iterate_definitions):
23862 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
23863 (gst_iterator_new_list), (gst_iterator_filter):
23864 * gst/gstiterator.h:
23865 * gst/gstquery.c: (gst_query_type_iterate_definitions):
23866 Add a GType to GstIterator, update callsites and tests.
23868 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
23870 * gst/gstpad.c: (gst_pad_event_default_dispatch):
23871 give events a chance to be handled by event probes when the pad
23874 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
23876 * gst/gstevent.c: (gst_event_type_get_name),
23877 (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
23879 add string representations for event types
23881 2005-10-06 Wim Taymans <wim@fluendo.com>
23883 * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
23884 Don't use NULL pointers.
23886 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
23888 * gst/gst_private.h:
23890 * gst/gstelement.c:
23892 * gst/gstpluginfeature.c:
23893 widen the debug category in output to fit the biggest one we have
23894 add a bus category and use it
23895 play with the colors
23896 fix up some categories
23898 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
23900 * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
23901 add push activation of sink ghost pads.
23902 Andye, please verify
23904 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
23906 * gst/gstutils.c: (gst_element_link_pads):
23907 fix a bug in the case where neither element has a pad
23908 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
23909 add a test for that case
23911 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
23913 * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
23914 emit have-data before checking for peers. This allows
23915 for probe handlers to connect elements. This helps autopluggers.
23916 * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
23918 add six checks, linked/unlinked with no/true/false probe
23920 2005-10-04 Wim Taymans <wim@fluendo.com>
23922 * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
23923 (gst_fake_sink_event), (gst_fake_sink_preroll),
23924 (gst_fake_sink_render), (gst_fake_sink_change_state):
23925 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
23926 (gst_fake_src_get_property), (gst_fake_src_create),
23927 (gst_fake_src_stop):
23928 * gst/elements/gstidentity.c: (gst_identity_stop):
23929 Protect last_message with lock.
23931 2005-10-04 Edward Hervey <edward@fluendo.com>
23934 Added precision in the comments for GST_FORMAT_DEFAULT
23936 2005-10-04 Tim-Philipp Müller <tim at centricular dot net>
23938 * tools/gst-launch.c: (main):
23939 Don't try to run erroneous pipelines.
23941 2005-10-04 Julien MOUTTE <julien@moutte.net>
23943 * gst/gstbus.c: We don't need this header.
23945 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
23948 back to development
23950 === release 0.9.3 ===
23952 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
23956 Releasing 0.9.3, "Unregistered"
23958 2005-10-03 Andy Wingo <wingo@pobox.com>
23960 * gst/gstpad.c (gst_pad_activate_push): There is a race condition
23961 whereby calling a pad's activatepush() function can start a thread
23962 that starts to push or pull before the pad gets the FLUSHING flag
23963 unset. Hack around it by holding the stream lock until the flag is
23964 set. Need to replace this with a proper solution. Together with
23965 the ghost pad fixes, this fixes mp3 playing/tagreading.
23967 * docs/design/part-gstghostpad.txt: Add a note about activation of
23968 proxy pads outside of ghost pads.
23970 * gst/gstghostpad.c: Implement the ghost pad activation design.
23972 2005-10-02 Andy Wingo <wingo@pobox.com>
23974 * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
23975 It is volatile, after all.
23977 * docs/design/part-gstghostpad.txt: Flesh out activation with
23980 * gst/base/gstbasesrc.c (gst_base_src_init): Use
23983 2005-10-02 Tim-Philipp Müller <tim at centricular dot net>
23986 Fix (unused) AM_CONDITIONAL tests.
23988 2005-10-01 Alessandro Decina <alessandro at nnva dot org>
23990 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
23992 * gst/gstutils.c: (gst_pad_query_convert):
23993 Add assertion that makes sure src_val is >=0, just like
23994 gst_query_new_convert() has. (#315895)
23996 2005-09-30 Edward Hervey <edward@fluendo.com>
23998 * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
23999 Let's not iterate pads we're not interested in, it avoids getting
24000 sky-high refcounts on sinkpad.
24002 2005-09-30 Wim Taymans <wim@fluendo.com>
24004 * gst/gstelement.c: (gst_element_set_state),
24005 (gst_element_change_state):
24006 Small tweak, element in ASYNC remains ASYNC.
24008 2005-09-30 Wim Taymans <wim@fluendo.com>
24010 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
24011 Only error is an error.
24013 * gst/gstbin.c: (gst_bin_change_state):
24016 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
24017 Also call pad_block in pad alloc.
24019 * gst/gstutils.c: (gst_flow_get_name):
24022 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
24024 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
24025 (gst_base_src_get_range):
24026 Fix documentation typos. Add some more debug info.
24028 2005-09-29 David Schleef <ds@schleef.org>
24030 * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
24031 more end-user friendly.
24032 * tools/gst-inspect.c: (main): Check if command-line argument is
24033 a file and attempt to load that file as a plugin.
24035 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
24037 * check/gst/gstbin.c:
24038 * check/states/sinks.c:
24039 fix tests for the new warning
24040 * check/gst/gstpipeline.c:
24041 add a test for pipeline and bus interaction
24042 * gst/gstelement.c:
24043 elements should be NULL if they get disposed; add a warning if not
24045 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
24048 for 2.6 refcounting, make debug log more correct by printing
24049 the actual refcounts at the time of swap (Wim)
24051 2005-09-29 Andy Wingo <wingo@pobox.com>
24053 * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
24054 removes signal watches previously added via
24055 gst_bus_add_signal_watch.
24056 (gst_bus_add_signal_watch): Don't return the source id, just store
24057 it on the bus if there wasn't an id already.
24059 * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
24060 add_signal_watch and remove_signal_watch.
24062 2005-09-29 Edward Hervey <edward@fluendo.com>
24064 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
24065 Better if we actually iterate the list :)
24067 2005-09-29 Wim Taymans <wim@fluendo.com>
24069 * check/gst/gstbin.c: (GST_START_TEST):
24070 Change for new bus API.
24072 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
24073 (send_messages), (GST_START_TEST), (gstbus_suite):
24074 Change for new bus signal API.
24076 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
24077 (gst_bus_source_prepare), (gst_bus_source_check),
24078 (gst_bus_create_watch), (gst_bus_add_watch_full),
24079 (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
24080 (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
24082 Remove support for multiple GSources operating on different
24083 message types as it is too complex and unneeded when using
24085 Added support for receiving signals from the bus.
24087 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
24089 * docs/libs/tmpl/gstdataprotocol.sgml:
24090 * docs/manual/advanced-dataaccess.xml:
24091 * gst/elements/gstcapsfilter.c:
24093 rename filter-caps to caps property
24095 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
24097 * gst/gstvalue.c: (gst_value_deserialize_fraction):
24098 More robust fraction string parsing.
24100 * docs/pwg/appendix-porting.xml:
24101 Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
24103 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
24105 * gst/gstcaps.c: (gst_caps_do_simplify):
24106 Thou shalt not free a structure and then continue using it
24107 in the next loop iteration.
24109 * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
24111 Add test case for caps simplification.
24113 2005-09-29 Wim Taymans <wim@fluendo.com>
24115 * check/gst/gstbin.c: (GST_START_TEST):
24118 2005-09-29 Wim Taymans <wim@fluendo.com>
24120 * check/gst/gstbin.c: (GST_START_TEST):
24123 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
24124 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
24125 (find_element), (gst_bin_sort_iterator_next),
24126 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
24127 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
24128 (gst_bin_change_state), (gst_bin_dispose):
24129 A bin does not have a bus, it gets the bus from the parent.
24131 * gst/gstelement.c: (gst_element_requires_clock),
24132 (gst_element_provides_clock), (gst_element_is_indexable),
24133 (gst_element_is_locked_state), (gst_element_change_state),
24134 (gst_element_set_bus_func):
24137 * gst/gstpipeline.c: (gst_pipeline_class_init),
24138 (gst_pipeline_init), (gst_pipeline_provide_clock_func):
24139 The pipeline provides a bus.
24141 2005-09-28 Johan Dahlin <johan@gnome.org>
24143 * gst/gstmessage.c (gst_message_parse_state_changed): Use
24144 gst_structure_get_enum instead of gst_structure_get_int
24146 * gst/gststructure.c (gst_structure_get_enum): Impl.
24148 * gst/gststructure.h (gst_structure_get_enum): Add
24150 * docs/gst/gstreamer-sections.txt: Ditto
24152 * gst/gstmessage.c (gst_message_new_state_changed): Use
24153 GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
24154 which does introspection.
24155 Reviewed by Christian Schaller
24157 2005-09-28 Stefan Kost <ensonic@users.sf.net>
24159 * gst/gstinfo.c: (gst_debug_log_default):
24160 don't do dummy g_strdup()s
24161 * libs/gst/controller/gstcontroller.c:
24162 (on_object_controlled_property_changed),
24163 (gst_controlled_property_new), (gst_controller_new_valist),
24164 (gst_controller_new_list),
24165 (gst_controller_remove_properties_valist), (gst_controller_set),
24166 (gst_controller_get), (gst_controller_sync_values),
24167 (gst_controller_get_value_array), (_gst_controller_class_init),
24168 (gst_controller_get_type):
24169 * libs/gst/controller/gstcontroller.h:
24170 * libs/gst/controller/gstinterpolation.c:
24171 (gst_controlled_property_find_timed_value_node):
24172 convert // to /**/ comments
24174 2005-09-28 Wim Taymans <wim@fluendo.com>
24176 * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
24177 (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
24178 (gst_bus_sync_signal_handler):
24180 Added async-message and sync-message signals to the bus.
24181 Added helper BusFunc to emit signals for all posted messages.
24183 * gst/gstmessage.c: (gst_message_type_get_name),
24184 (gst_message_type_to_quark), (gst_message_get_type):
24185 * gst/gstmessage.h:
24186 Register quarks for message names.
24188 2005-09-28 Stefan Kost <ensonic@users.sf.net>
24190 * docs/libs/gstreamer-libs-sections.txt:
24191 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
24192 (gst_controller_new_list):
24193 * libs/gst/controller/gstcontroller.h:
24194 added another constructor for language bindings
24196 2005-09-28 Thomas Vander Stichele <thomas at apestaart dot org>
24198 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
24202 * gst/gstinfo.c: (_gst_debug_init):
24203 slightly more readable color for refcount debugging
24205 2005-09-28 Wim Taymans <wim@fluendo.com>
24207 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
24208 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
24209 (find_element), (gst_bin_sort_iterator_next),
24210 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
24211 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
24212 (gst_bin_change_state), (gst_bin_dispose):
24213 Small doc fixes. get_clock -> provide_clock.
24215 * gst/gstelement.c: (gst_element_class_init),
24216 (gst_element_provides_clock), (gst_element_provide_clock),
24217 (gst_element_get_clock), (gst_element_commit_state),
24218 (gst_element_lost_state):
24219 * gst/gstelement.h:
24220 Make get/set_clock() symetric. Add provide_clock vmethod since
24221 that is actually what this function does.
24223 * gst/gstpipeline.c: (gst_pipeline_class_init),
24224 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
24225 (gst_pipeline_get_clock):
24226 get_clock -> provide_clock.
24228 2005-09-28 Andy Wingo <wingo@pobox.com>
24230 * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
24231 lieu of real docs...
24233 * gst/elements/gstfdsrc.c: Cleaned up a bit.
24235 2005-09-28 Tim-Philipp Müller <tim at centricular dot net>
24237 * gst/elements/gstcapsfilter.c:
24238 * gst/elements/gstfakesink.c:
24239 * gst/elements/gstfakesrc.c:
24240 * gst/elements/gstfdsink.c:
24241 * gst/elements/gstfdsrc.c:
24242 * gst/elements/gstfilesink.c:
24243 * gst/elements/gstfilesrc.c:
24244 * gst/elements/gstidentity.c:
24245 * gst/elements/gsttee.c:
24246 * gst/elements/gsttypefindelement.c:
24247 Make element details static.
24249 2005-09-28 Wim Taymans <wim@fluendo.com>
24251 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
24252 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
24253 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
24254 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
24255 (gst_bin_change_state), (gst_bin_dispose):
24256 Some documentation updates.
24257 Clean up dispose handlers.
24259 * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
24260 * gst/gstpad.c: (gst_pad_dispose):
24261 Clean up dispose handler.
24263 * gst/gstpipeline.c: (gst_pipeline_change_state):
24264 Removed spurious UNLOCK.
24266 2005-09-27 Stefan Kost <ensonic@users.sf.net>
24268 * docs/gst/gstreamer-sections.txt:
24269 * gst/base/gstbasesrc.h:
24270 * gst/gstelement.h:
24274 * gst/gstpipeline.c:
24275 * gst/gstpipeline.h:
24278 added two new functions to the docs
24279 documents all undocumented GstXXXFlags
24280 completed some incomplete docs
24282 2005-09-27 Thomas Vander Stichele <thomas at apestaart dot org>
24284 * gst/gstbin.c: (gst_bin_dispose):
24285 * gst/gstelement.c: (gst_element_dispose):
24286 remove now useless and leaky resurrection code in dispose
24287 * gst/base/gstbasesrc.c: (gst_base_src_init):
24288 * gst/gstelementfactory.c: (gst_element_factory_create):
24289 * gst/gstobject.c: (gst_object_set_parent):
24292 2005-09-27 Wim Taymans <wim@fluendo.com>
24294 * docs/design/part-TODO.txt:
24297 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
24298 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
24299 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
24300 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
24301 (gst_bin_change_state):
24302 * gst/gstelement.h:
24303 Remove element variable, we keep element info in the iterator now.
24305 2005-09-27 Andy Wingo <wingo@pobox.com>
24307 * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
24310 2005-09-27 Wim Taymans <wim@fluendo.com>
24312 * check/gst/gstbin.c: (GST_START_TEST):
24313 Enable check that works now.
24315 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
24316 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
24317 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
24318 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
24319 (gst_bin_change_state):
24321 Redid the state change algorithm using a topological sort algo.
24322 Handles all cases correctly.
24323 Exposed iterator for state change order.
24325 * gst/gstelement.h:
24326 Temp storage for state changes. Need to get rid of this soon.
24328 2005-09-27 Wim Taymans <wim@fluendo.com>
24330 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
24331 * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
24332 (link_fold_func), (gst_pad_proxy_setcaps):
24333 Leak fixes, the fold functions need to unref the passed object and
24334 _get_parent_*() returns ref to parent.
24336 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
24338 * check/gst/gstbuffer.c: (test_make_writable):
24339 Plug leak in test case and fix 'make check-valgrind'
24341 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
24343 * gst/gstbuffer.c: (gst_subbuffer_init):
24344 Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
24345 works correctly in all circumstances (we could have just copied
24346 the parent buffer's readonly flag, but conceptually it seems
24347 cleaner to mark all subbuffers as read-only). (based on patch
24348 by Alessandro Decina, #314710).
24350 * check/gst/gstbuffer.c: (create_read_only_buffer),
24351 (test_make_writable), (test_subbuffer_make_writable),
24353 Add some tests for gst_buffer_make_writable().
24355 2005-09-27 Wim Taymans <wim@fluendo.com>
24357 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
24358 use gst_object_has_ancestor().
24360 * gst/gstobject.c: (gst_object_has_ancestor):
24362 gst_object_has_ancestor() copied from gstbin.c as it is a
24365 * tests/instantiate/create.c: (create_all_elements):
24366 * tests/lat.c: (handoff_src), (handoff_sink):
24367 * tests/sched/runxml.c: (main):
24368 * tests/seeking/seeking1.c: (main):
24369 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
24371 Fix compilation of some tests.
24373 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
24376 Remove comment. GST_TYPE_G_ERROR is here to stay,
24377 G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
24378 (#316961, #300610).
24380 2005-09-26 Wim Taymans <wim@fluendo.com>
24382 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
24383 Added check that shows error in state change order.
24385 2005-09-26 Wim Taymans <wim@fluendo.com>
24387 * gst/gstbin.c: (gst_bin_change_state):
24388 Make state change function use 3 queues again, we were
24389 adding elements in the wrong order.
24391 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
24394 * gst/gstpad.c: (gst_pad_dispose):
24395 Added some debug info first.
24397 2005-09-26 Tim-Philipp Müller <tim at centricular dot net>
24399 * docs/design/draft-push-pull.txt:
24400 * docs/design/part-events.txt:
24401 * docs/design/part-overview.txt:
24402 * docs/design/part-scheduling.txt:
24403 Replace all _pull_region() with _pull_range()
24405 2005-09-26 Andy Wingo <wingo@pobox.com>
24407 * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
24409 * check/gst-libs/controller.c: Update for controller api change.
24412 * tests/Makefile.am:
24413 * tests/memchunk: Remove memchunk benchmark stuff, this is taken
24414 over by GLib bug 118439.
24416 * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
24417 routines to a function.
24419 * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
24421 * libs/gst/controller/gsthelper.c:
24422 * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
24423 (gst_object_sync_values): Renamed from sink_values. Ugh.
24425 * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
24427 * libs/gst/controller/gstcontroller.c (__gst_controller_key):
24428 Renamed from controller_key, as it is exported.
24430 * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
24432 2005-09-26 Thomas Vander Stichele <thomas at apestaart dot org>
24437 * gst/gstpadtemplate.h:
24440 * gst/gstqueryutils.c:
24441 * gst/gstqueryutils.h:
24442 remove queryutils headers after moving the two used functions
24443 to gstquery. also fixes build problem for gstsiddec
24445 2005-09-26 Michael Smith <msmith@fluendo.com>
24447 * tools/gst-launch.1.in:
24448 Correct documentation in manpage of debug syntax
24450 2005-09-26 Wim Taymans <wim@fluendo.com>
24452 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
24453 (gst_base_src_is_seekable), (gst_base_src_change_state):
24454 Some more debugging info.
24456 2005-09-25 Stefan Kost <ensonic@users.sf.net>
24458 * docs/gst/gstreamer-sections.txt:
24459 * gst/base/gstbasetransform.h:
24463 2005-09-25 Stefan Kost <ensonic@users.sf.net>
24465 * docs/gst/.cvsignore:
24466 * docs/gst/tmpl/.cvsignore:
24467 * docs/gst/tmpl/gstpipeline.sgml:
24468 * docs/gst/tmpl/gstplugin.sgml:
24469 * gst/gstpipeline.c:
24472 inlined the last two docs files
24473 removed the tmpl directory from cvs (no more conflicts here!)
24475 2005-09-25 Stefan Kost <ensonic@users.sf.net>
24477 * docs/gst/gstreamer-sections.txt:
24478 * docs/gst/tmpl/.cvsignore:
24479 * docs/gst/tmpl/gstpad.sgml:
24480 * docs/gst/tmpl/gstpadtemplate.sgml:
24482 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
24483 (gst_pad_finalize), (gst_pad_set_pad_template):
24485 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
24486 (gst_pad_template_class_init), (gst_pad_template_init),
24487 (gst_pad_template_dispose), (name_is_valid),
24488 (gst_static_pad_template_get), (gst_pad_template_new),
24489 (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
24490 (gst_pad_template_pad_created):
24491 * gst/gstpadtemplate.h:
24492 inlined two more docs
24493 factored gstpadtemplate out of gstpad
24495 2005-09-24 Tim-Philipp Müller <tim at centricular dot net>
24497 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
24498 (test_children_state_change_order_semi_sink):
24499 Fix test case: we can't rely on a fixed state change order when
24500 going from READY => PAUSED because the sink might commit its
24501 new state first when the first buffer created by the source
24502 reaches the sink before the source has finished its change state.
24503 (Test case still fails at times, see #316856, comment 5 onwards)
24505 2005-09-24 Wim Taymans <wim@fluendo.com>
24507 * docs/design/part-events.txt:
24508 * docs/design/part-gstbus.txt:
24509 * docs/design/part-gstpipeline.txt:
24510 * docs/design/part-messages.txt:
24511 * docs/design/part-overview.txt:
24512 * docs/design/part-segments.txt:
24516 * gst/gstelement.c:
24519 * gst/gstiterator.c:
24520 Various documentation updates.
24522 2005-09-24 Thomas Vander Stichele <thomas at apestaart dot org>
24525 Well, that's embarassing. Luckily we weren't using
24526 GST_CLOCK_DIFF anywhere.
24528 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
24530 * common/gtk-doc.mak:
24531 don't fail on building XML, FC4 slave shows a bunch of doc
24532 missing bits that I don't get
24534 * gst/gstpipeline.c:
24535 * gst/gststructure.c:
24538 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
24540 * docs/design/part-gstbin.txt:
24541 * docs/design/part-gstbus.txt:
24543 Add blurb about how the bus goes into flushing mode and
24544 drops all messages when its bin goes from READY into NULL
24547 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
24549 * docs/gst/gstreamer-sections.txt:
24550 * gst/gststructure.c: (gst_structure_get_clock_time):
24551 * gst/gststructure.h:
24552 add a method to get a GstClockTime out of a structure
24554 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
24556 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
24557 (test_children_state_change_order_semi_sink), (gst_bin_suite):
24558 Added test to check state change order in bins (can still be made
24559 to fail here under heavy disk load; bails out with 'Push on pad
24560 fakesink:sink0, but it was not activated in push mode').
24562 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
24563 Fix state change order when there is only a semi sink (#316856)
24565 * gst/gstbus.c: (gst_bus_class_init):
24566 Use _class_peek_parent(), not _class_ref(); fix docs to say
24567 'default main context' instead of 'mainloop' where that is
24570 * gst/gstelement.c: (gst_element_commit_state),
24571 (gst_element_set_state):
24572 Fix typos in debug messages
24574 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
24577 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
24578 * gst/gstpluginfeature.c:
24580 various doc updates
24581 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
24582 change an assert into an error until it gets fixed properly
24584 2005-09-23 Stefan Kost <ensonic@users.sf.net>
24586 * docs/gst/gstreamer-sections.txt:
24587 * docs/gst/tmpl/.cvsignore:
24588 * docs/gst/tmpl/gstelement.sgml:
24589 * docs/gst/tmpl/gstinfo.sgml:
24590 * docs/gst/tmpl/gstobject.sgml:
24591 * gst/gstelement.c:
24592 * gst/gstelement.h:
24595 * gst/gstobject.c: (gst_object_class_init):
24597 inlined 3 more biiiig doc files and added some missing docs on the fly
24599 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
24601 * check/gst/.cvsignore:
24602 * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
24603 * gst/gstregistryxml.c: (load_plugin),
24604 (gst_registry_xml_save_plugin):
24605 put back source in registry. add checks for find_plugin.
24606 * testsuite/states/bin.c: (assert_state), (empty_bin),
24607 (test_adding_one_element), (main):
24608 * testsuite/states/locked.c: (main):
24609 some compile/run fixes
24611 2005-09-22 Thomas Vander Stichele <thomas at apestaart dot org>
24613 * check/gst/gstvalue.c: (GST_START_TEST):
24614 fix leaks in the test itself
24616 2005-09-22 Wim Taymans <wim@fluendo.com>
24618 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
24619 (gst_base_sink_send_event), (gst_base_sink_peer_query),
24620 (gst_base_sink_query):
24621 Prepare for more accurate position reporting and query
24624 * gst/gstelement.c: (gst_element_send_event),
24625 (gst_element_set_state):
24628 2005-09-22 Wim Taymans <wim@fluendo.com>
24630 * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
24631 (gst_query_parse_segment):
24633 More documentation.
24634 Add segment query for future use.
24636 2005-09-22 Wim Taymans <wim@fluendo.com>
24638 * gst/gstbin.c: (gst_bin_add_func):
24639 Some more debug info.
24641 * gst/gstelement.c: (gst_element_send_event):
24642 Simplify send_event
24644 * gst/gstelement.h:
24645 Don't know how flags got broken.
24650 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
24652 * check/gst/gstvalue.c: (test_date), (gst_value_suite):
24653 Add simplistic test suite for GST_TYPE_DATE serialisation and
24656 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
24658 * docs/gst/gstreamer-sections.txt:
24659 * gst/gststructure.c: (gst_structure_set_valist),
24660 (gst_structure_get_date):
24661 * gst/gststructure.h:
24662 * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
24663 (gst_date_copy), (gst_value_compare_date),
24664 (gst_value_serialize_date), (gst_value_deserialize_date),
24665 (gst_value_transform_date_string),
24666 (gst_value_transform_string_date), (_gst_value_initialize):
24668 Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
24669 bunch of utility functions along with a hack that checks that
24670 developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
24671 is required. Part of the grand scheme in #170777.
24673 2005-09-22 Andy Wingo <wingo@pobox.com>
24675 * gst/gstconfig.h.in: Psych out gtk-doc.
24677 * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
24679 * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
24681 * tools/gst-inspect.c (print_element_list): Plug some
24682 inconsequential leaks.
24684 * gst/gstregistry.c (gst_registry_get_default): Doc.
24686 * check/gst/gstplugin.c:
24687 * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
24688 * gst/gstelementfactory.c (gst_element_factory_create):
24689 * gst/gstindexfactory.c (gst_index_factory_create): Update for
24692 * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
24693 (gst_plugin_feature_load): Doc, don't eat refs.
24695 * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
24696 (gst_plugin_list_free): Doc.
24697 (gst_plugin_load_file): Doc updates.
24699 * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
24700 accessors returning refcounted objects, return a ref.
24702 * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
24703 accessor for caps. IDEMPOTENCE. Oh yes.
24705 2005-09-21 Francis Labonte <francis_labonte at hotmail dot com>
24707 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
24709 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
24710 (_gst_debug_register_funcptr):
24711 Add mutex to serialise access to the hash table with
24712 the function pointer => function name string mapping;
24713 make that hash table static scope (#316809).
24715 * gst/registries/.cvsignore:
24716 Remove left-over file.
24718 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
24720 * docs/pwg/appendix-porting.xml:
24721 And something about newsegment events and caps-on-buffers to
24722 the porting guide (feel free to improve).
24724 2005-09-21 Andy Wingo <wingo@pobox.com>
24726 * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
24727 data and event probes on the same pad.
24728 (test_buffer_probe_once): Test that removing probes from within
24729 the probe functions works.
24731 2005-09-21 Andy Wingo <wingo@pobox.com>
24733 * check/gst/gstutils.c: New file.
24734 (test_buffer_probe_n_times): A simple buffer probe test. More to
24737 * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
24738 have-data::buffer, not have-data.
24739 (gst_pad_add_event_probe): Likewise for have-data::event.
24740 (gst_pad_add_data_probe): More docs. The part about 'resolving the
24741 peer' isn't quite right yet though.
24742 (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe)
24743 (gst_pad_remove_data_probe): Change to take the guint handler_id
24744 as their arg, not the function+data, which is more glib-like.
24746 * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
24747 the signal emission to indicate if the data is a buffer or an
24749 (gst_pad_get_type): Initialize buffer and event quarks.
24750 (gst_pad_class_init): have-data is now a detailed signal, yes it
24753 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
24755 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
24756 * gst/gstutils.c: (gst_util_set_value_from_string),
24757 (gst_util_set_object_arg):
24758 Don't put functional code in g_return_if_fail() or
24759 g_return_val_if_fail() statements, otherwise things will
24760 break when G_DISABLE_CHECKS is defined during compilation.
24762 2005-09-21 Stefan Kost <ensonic@users.sf.net>
24764 * docs/gst/tmpl/.cvsignore:
24765 * docs/gst/tmpl/gstvalue.sgml:
24768 inlied another one and added some obvious docs
24770 2005-09-21 Wim Taymans <wim@fluendo.com>
24772 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
24773 (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
24774 (gst_fdsrc_unlock), (gst_fdsrc_set_property),
24775 (gst_fdsrc_get_property), (gst_fdsrc_create):
24776 * gst/elements/gstfdsrc.h:
24777 Properly implement fdsrc. Removed signal and timeout,
24778 better implemented somewhere else.
24780 2005-09-21 Stefan Kost <ensonic@users.sf.net>
24782 * docs/gst/tmpl/.cvsignore:
24783 * docs/gst/tmpl/gstimplementsinterface.sgml:
24784 * gst/gstinterface.c:
24787 2005-09-21 Stefan Kost <ensonic@users.sf.net>
24789 * docs/gst/gstreamer-sections.txt:
24790 * docs/gst/tmpl/.cvsignore:
24791 * docs/gst/tmpl/gstenumtypes.sgml:
24792 remove obsolete doc file
24794 2005-09-21 David Schleef <ds@schleef.org>
24796 * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
24797 little beer, fix a little leak.
24799 2005-09-21 Stefan Kost <ensonic@users.sf.net>
24801 * docs/gst/gstreamer-docs.sgml:
24802 * docs/gst/gstreamer-sections.txt:
24803 * docs/gst/tmpl/.cvsignore:
24807 * gst/gstelement.h:
24808 * gst/gstindex.c: (gst_index_class_init):
24810 * gst/gstindexfactory.c: (gst_index_factory_get_type),
24811 (gst_index_factory_class_init), (gst_index_factory_init),
24812 (gst_index_factory_finalize), (gst_index_factory_new),
24813 (gst_index_factory_destroy), (gst_index_factory_find),
24814 (gst_index_factory_create), (gst_index_factory_make):
24815 * gst/gstindexfactory.h:
24816 * gst/gstpluginfeature.c:
24817 * gst/gstpluginfeature.h:
24818 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
24819 more docs inlined, splitted gstindex.{c,h}
24821 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
24823 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
24826 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
24828 * gst/elements/gstfilesink.c: (gst_file_sink_init):
24829 Set sync to FALSE by default.
24831 2005-09-20 Wim Taymans <wim@fluendo.com>
24833 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
24834 (gst_base_sink_init):
24835 Make sync property settable from subclass.
24837 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
24838 (gst_fake_sink_change_state):
24839 Set sync to FALSE by default.
24841 2005-09-20 Wim Taymans <wim@fluendo.com>
24843 * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
24844 * tools/gst-launch.c: (main):
24845 The timeout handler should have lower priority than the source
24846 so we don't timeout before popping a message with 0 timeout.
24847 Dump error messages after failed state change.
24849 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
24851 * tools/gst-inspect.c: (print_element_properties_info):
24854 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
24856 * check/gst/gstevent.c:
24857 * gst/elements/gstfakesink.c:
24858 * gst/elements/gstfakesink.h:
24859 remove the sync property from fakesink.
24860 has the side effect of setting sync TRUE
24861 for fakesink, which is a change. Anyone who knows how
24862 to fix this nicely in a GObject-y way, feel free.
24864 2005-09-20 Stefan Kost <ensonic@users.sf.net>
24866 * docs/gst/gstreamer-docs.sgml:
24867 remove probe refsection
24869 2005-09-20 Stefan Kost <ensonic@users.sf.net>
24871 * check/Makefile.am:
24872 disable valgrinding the controller test again
24873 * docs/gst/gstreamer-sections.txt:
24874 update for api-changes
24876 2005-09-20 Wim Taymans <wim@fluendo.com>
24878 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
24879 (gst_base_sink_set_property), (gst_base_sink_get_property),
24880 (gst_base_sink_do_sync):
24881 * gst/base/gstbasesink.h:
24882 Added sync property to basesink to disable clock sync.
24884 2005-09-20 Andy Wingo <wingo@pobox.com>
24886 * gst/gstelementfactory.c (gst_element_factory_create): Avoid
24887 eating the caller's refcount.
24889 * gst/gstobject.h (GST_OBJECT_REFCOUNT)
24890 (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
24893 * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
24894 * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
24895 of GLib 2.8 public, so we can know which refcount to check in
24898 * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
24899 (gst_object_init): Only set the gst refcount if we're going ahead
24900 with the refcount hack.
24902 2005-09-20 Stefan Kost <ensonic@users.sf.net>
24904 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
24905 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
24906 more leaks plumbed, added more debug-logging
24910 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
24912 * gst/gstmessage.c:
24913 remove include of gstmemchunk.h
24915 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
24917 * gst/gstclock.c: (_gst_clock_id_free):
24918 Commit from the Political Party For More Atomic CVS Commits,
24919 so that people don't waste too much of their day fishing
24920 out obvious leaks out of massive commits.
24921 Oh, and fix a pretty damn obvious leak in the memchunk
24924 2005-09-20 Stefan Kost <ensonic@users.sf.net>
24926 * check/Makefile.am:
24927 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
24928 plug mem-leak, re-add to valgrindable tests
24930 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
24933 unbreak the build for those who have chronic arthritis
24934 and typing "make check" is just too taxing on the hands
24936 2005-09-20 Andy Wingo <wingo@pobox.com>
24938 * gst/gst.h: Re-add marshal to gst.h's include list -- if we
24939 really want it out, you should fix plugins at the same time.
24941 2005-09-19 Stefan Kost <ensonic@users.sf.net>
24944 * docs/gst/gstreamer-sections.txt:
24946 added missing symbols to api docs
24947 disable ref-count hack if we have glib >= 2.8
24949 2005-09-19 David Schleef <ds@schleef.org>
24951 * docs/gst/Makefile.am: Ignore a few more internal headers
24952 * docs/gst/gstreamer-docs.sgml: Remove old sections
24953 * docs/gst/gstreamer-sections.txt: Remove old sections
24954 * docs/gst/tmpl/gstobject.sgml: update
24955 * docs/gst/tmpl/gstplugin.sgml: update
24956 * docs/gst/tmpl/gstpluginfeature.sgml: update
24957 * docs/random/ds/0.9-suggested-changes: update.
24958 * gst/Makefile.am: remove memchunk and trashstack, since they're
24960 * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
24961 * gst/gst.h: don't include some headers
24962 * gst/gstchildproxy.c: add gstmarshal.h
24963 * gst/gstclock.c: Don't use memchunks
24964 * gst/gstminiobject.c: Add some docs
24965 * gst/gstobject.c: remove DESTROYED flag, since it's redundant
24966 * gst/gstobject.h: same
24967 * gst/gstplugin.c: include gstmacros.h
24968 * gst/gstplugin.h: don't include gstmacros.h, since it's private
24969 * gst/gstquery.c: don't use memchunks
24970 * gst/gstregistry.c: rename gst_registry_deinit()
24971 * gst/gstregistry.h: same
24973 2005-09-19 David Schleef <ds@schleef.org>
24975 * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
24976 * docs/libs/gstreamer-libs-sections.txt:
24977 * docs/libs/tmpl/gstgetbits.sgml:
24978 * docs/libs/tmpl/gstputbits.sgml:
24980 2005-09-19 Tim-Philipp Müller <tim at centricular dot net>
24982 * win32/gstenumtypes.c:
24983 * win32/gstenumtypes.h:
24986 2005-09-19 Wim Taymans <wim@fluendo.com>
24988 * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
24989 Automatically PAUSE and RESUME a pipeline when a flushing seek
24992 2005-09-19 Andy Wingo <wingo@pobox.com>
24994 * gst/gstregistry.h: Spacing fixen.
24996 2005-09-19 Wim Taymans <wim@fluendo.com>
24998 * gst/base/gstbasesrc.c: (gst_base_src_change_state):
24999 Handle state change failure more correctly.
25001 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
25003 * check/Makefile.am:
25004 * check/pipelines/cleanup.c: (run_pipeline):
25005 * check/pipelines/simple_launch_lines.c: (run_pipeline),
25007 enable cleanup again after fixing the leak
25009 some more info on docs
25011 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
25013 * check/Makefile.am:
25014 re-enable tests now that leaks are plugged
25016 * check/gst/gstbin.c:
25017 * check/gst/gstpipeline.c:
25018 add some more tests while fixing leaks
25019 * common/check.mak:
25020 make sure binaries are uptodate when valgrinding/gdbing
25022 * gst/gstelementfactory.c:
25023 remove a ref too many, and add a FIXME for when we get
25024 round to disposing of classes
25026 fix the refcounting when loading a plugin from a file and
25027 the code pretends that the pointer is the same even though
25028 of course it can change
25029 * gst/gstpluginfeature.c:
25030 unref plugins marked cached (a bit confusing as a name)
25031 as the docs state should be done
25032 various doc additions to explain refcounting
25033 * gst/gstregistry.c:
25034 * gst/gstregistryxml.c:
25037 2005-09-19 Wim Taymans <wim@fluendo.com>
25039 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
25040 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
25041 (send_messages), (GST_START_TEST), (gstbus_suite):
25042 * check/gst/gstpipeline.c: (GST_START_TEST):
25043 * check/pipelines/cleanup.c: (run_pipeline):
25044 * check/pipelines/simple_launch_lines.c: (run_pipeline),
25046 * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
25047 (gst_bus_source_check), (gst_bus_source_dispatch),
25048 (gst_bus_create_watch), (gst_bus_add_watch_full),
25049 (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
25051 * tools/gst-launch.c: (event_loop):
25052 * tools/gst-md5sum.c: (event_loop):
25053 GstBusHandler -> GstBusFunc, return value has the same meaning as
25054 any other GSource (FALSE == remove source).
25055 _add_watch() and _add_watch_full() now take a MessageType mask to
25056 only handle specific types of messages.
25057 _poll() returns the GstMessage instead of the message type to avoid
25059 _have_pending() takes a MessageType mask now too.
25060 Added testsuite for multiple bus watches.
25061 Fix testsuites and applications for new bus API.
25063 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
25065 * check/Makefile.am:
25066 mark a bunch of the tests as to fix until we fix them
25068 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
25070 * common/check.mak:
25071 use GST_PLUGIN settings for valgrind tests as well, so we're
25072 valgrinding the correct thing
25073 * gst/gst.c: (init_post):
25076 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
25078 * gst/gst.c: (init_post), (gst_deinit):
25079 * gst/gstelementfactory.c: (gst_element_factory_class_init),
25080 (gst_element_factory_finalize), (gst_element_factory_cleanup):
25081 * gst/gstindex.c: (gst_index_factory_class_init),
25082 (gst_index_factory_finalize):
25083 * gst/gstobject.c: (gst_object_dispose):
25084 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
25085 (gst_plugin_load_file), (gst_plugin_desc_free):
25086 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
25087 (gst_plugin_feature_finalize):
25088 * gst/gstregistry.c: (gst_registry_class_init),
25089 (gst_registry_init), (gst_registry_finalize),
25090 (gst_registry_get_default), (gst_registry_deinit):
25091 * gst/gstregistry.h:
25092 * gst/gstregistryxml.c: (load_feature), (load_plugin):
25093 various cleanups and memleak plugging. make valgrind is happy now.
25095 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
25097 * common/check.mak:
25098 add a check-valgrind target
25100 2005-09-18 David Schleef <ds@schleef.org>
25102 * tools/gst-inspect.c: Revert the GOption code.
25104 2005-09-17 David Schleef <ds@schleef.org>
25106 * check/Makefile.am: Fix environment variables.
25107 * check/gst/gstplugin.c: Fix for API changes.
25108 * tools/gst-inspect.c: Fix for API changes.
25109 * tools/gst-xmlinspect.c: Fix for API changes.
25110 * gst/gstelementfactory.c:
25113 * gst/gstpluginfeature.c:
25114 * gst/gstpluginfeature.h:
25115 * gst/gstregistry.c:
25116 * gst/gstregistry.h:
25117 * gst/gstregistryxml.c:
25118 * gst/gsttypefind.c:
25119 * gst/gsttypefindfactory.c:
25120 * gst/indexers/gstfileindex.c:
25121 * gst/indexers/gstmemindex.c:
25122 * gst/schedulers/Makefile.am:
25123 Change registry to keep track of both plugins and features,
25124 removing the feature tracking from plugins themselves.
25126 2005-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
25128 * check/Makefile.am:
25129 * tools/gst-register.1.in:
25130 remove gst-register
25132 2005-09-15 David Schleef <ds@schleef.org>
25134 * check/gst/gstplugin.c:
25135 * gst/gstelementfactory.c:
25137 * gst/gstpluginfeature.c:
25138 * gst/gstregistry.c:
25139 Getting tired of debugging. Disabled all the unreffing of
25140 plugins and features, which fixes the segfaults, but of
25141 course leaks like crazy. At least playbin works.
25143 2005-09-15 David Schleef <ds@schleef.org>
25145 * check/gst/gstplugin.c: (register_check_elements),
25146 (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
25148 * gst/elements/gsttypefindelement.c: Fix refcounting.
25149 * gst/gsttypefind.c:
25150 * gst/gsttypefindfactory.c:
25151 * gst/gsttypefindfactory.h:
25153 2005-09-15 David Schleef <ds@schleef.org>
25155 * gst/gstindex.c: get refcounting correct.
25156 * gst/gstregistry.c: Handle the case where a feature/plugin is
25159 2005-09-15 David Schleef <ds@schleef.org>
25161 * check/Makefile.am:
25162 * check/gst/gstplugin.c: Add test
25163 * gst/gstplugin.c: Fix problems noticed by testsuite
25165 * gst/gstregistry.c:
25166 * gst/gstregistry.h:
25168 2005-09-15 David Schleef <ds@schleef.org>
25170 * gst/gstplugin.c: Implement semi-decent recounting and locking
25171 in plugins and plugin features.
25173 * gst/gstpluginfeature.c:
25174 * gst/gstpluginfeature.h:
25175 * gst/gstregistry.c:
25177 2005-09-15 Michael Smith <msmith@fluendo.com>
25179 * gst/gstregistry.c: (gst_registry_get_feature_list):
25180 Implement this. Makes oggdemux work; decodebin still broken.
25182 2005-09-14 David Schleef <ds@schleef.org>
25184 * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
25186 * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
25187 * gst/check/Makefile.am:
25188 * libs/gst/controller/Makefile.am:
25189 * libs/gst/dataprotocol/Makefile.am:
25191 2005-09-14 David Schleef <ds@schleef.org>
25193 * configure.ac: Remove getbits library. Nothing uses it, and
25194 it should be in something like liboil if someone did want
25196 * libs/gst/Makefile.am:
25197 * libs/gst/getbits/Makefile.am:
25198 * libs/gst/getbits/gbtest.c:
25199 * libs/gst/getbits/getbits.c:
25200 * libs/gst/getbits/getbits.h:
25201 * libs/gst/getbits/gstgetbits_generic.c:
25202 * libs/gst/getbits/gstgetbits_i386.s:
25203 * libs/gst/getbits/gstgetbits_inl.h:
25205 2005-09-14 David Schleef <ds@schleef.org>
25207 * gst/Makefile.am: Dist glib-compat.h
25209 2005-09-14 David Schleef <ds@schleef.org>
25211 * configure.ac: Remove gst/registries, since it's no longer used.
25212 * gst/registries/Makefile.am:
25213 * gst/registries/gstlibxmlregistry.c:
25214 * gst/registries/gstlibxmlregistry.h:
25215 * gst/registries/gstxmlregistry.c:
25216 * gst/registries/gstxmlregistry.h:
25217 * gst/registries/registrytest.c:
25219 2005-09-14 David Schleef <ds@schleef.org>
25221 * gst/glib-compat.h:
25222 * gst/gstregistryxml.c:
25223 Convergence is near. Seriously.
25225 2005-09-14 David Schleef <ds@schleef.org>
25227 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
25228 * gst/glib-compat.h:
25229 Attempt #4 to appease the buildbots.
25231 2005-09-14 David Schleef <ds@schleef.org>
25233 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
25236 2005-09-14 David Schleef <ds@schleef.org>
25238 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
25241 2005-09-14 David Schleef <ds@schleef.org>
25243 * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
25246 2005-09-14 David Schleef <ds@schleef.org>
25248 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
25249 * gst/glib-compat.h: Add some functions that are in newer versions
25250 of glib than we care to require.
25251 * gst/gstregistryxml.c: Use them.
25253 2005-09-14 David Schleef <ds@schleef.org>
25255 * po/POTFILES.in: remove gst-register.c
25257 2005-09-14 David Schleef <ds@schleef.org>
25259 * docs/gst/gstreamer-docs.sgml:
25260 * docs/gst/gstreamer-sections.txt:
25261 * docs/gst/gstreamer.types:
25262 * docs/gst/tmpl/gstelement.sgml:
25263 * docs/gst/tmpl/gstplugin.sgml:
25264 * docs/gst/tmpl/gstpluginfeature.sgml:
25265 Documentation updates for registry changes.
25267 2005-09-14 David Schleef <ds@schleef.org>
25269 * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
25270 because we don't require glib-2.8.
25272 2005-09-14 David Schleef <ds@schleef.org>
25274 * gst/gstregistryxml.c: Added. Essentially moved out of the
25275 registries directory.
25277 2005-09-14 David Schleef <ds@schleef.org>
25279 * check/Makefile.am:
25280 * check/generic/states.c:
25284 * gst/gst_private.h:
25285 * gst/gstelementfactory.c:
25290 * gst/gstpluginfeature.c:
25291 * gst/gstpluginfeature.h:
25292 * gst/gstregistry.c:
25293 * gst/gstregistry.h:
25294 * gst/gstregistrypool.c: remove
25295 * gst/gstregistrypool.h: remove
25296 * gst/gsttypefind.c:
25297 * gst/gsttypefindfactory.c:
25299 * tools/Makefile.am:
25300 * tools/gst-compprep.c:
25301 * tools/gst-inspect.c:
25302 * tools/gst-register.c: remove
25303 * tools/gst-xmlinspect.c:
25304 Registry rewrite. Changes registry from being a file created
25305 by a tool into a simple cache file created automatically by
25306 libgstreamer. Removed gst-register (because it's no longer
25307 needed). Remove registry pools, because we only have one
25308 registry implementation (XML). Fix up other subsystems as
25311 2005-09-13 Michael Smith <msmith@fluendo.com>
25313 * gst/gstconfig.h.in:
25314 Don't Use windows linking attributes for MinGW. Fixes #316157
25316 2005-09-13 Thomas Vander Stichele <thomas at apestaart dot org>
25318 * gst/gstutils.c: (set_state_async_thread_func),
25319 (gst_element_set_state_async):
25320 Apparently people think it's better if this function doesn't
25321 try to set the state to whatever state was asked for on the first
25322 call to this function for any object. Seriously.
25324 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
25326 * check/gst/gstpipeline.c: (GST_START_TEST):
25327 * docs/gst/gstreamer-sections.txt:
25328 * gst/gstutils.c: (set_state_async_thread_func),
25329 (gst_element_set_state_async):
25331 add a "gst_element_set_state_async" method that
25332 sets the state and starts a thread to make sure the state
25333 change completes as best as it can
25335 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
25337 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
25338 codify design+behaviour in testsuite after discussion
25340 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
25342 * docs/gst/tmpl/gstelement.sgml:
25343 * docs/manual/appendix-quotes.xml:
25345 * gst/gstelement.c: (gst_element_set_state):
25348 2005-09-12 Jan Schmidt <thaytan@mad.scientist.com>
25350 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
25351 (gst_base_transform_prepare_output_buf),
25352 (gst_base_transform_handle_buffer):
25353 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
25354 (gst_capsfilter_prepare_buf):
25355 Remove the requirement for sub-classes to call the parent
25356 implementation of prepare_output_buffer with a wrapper function.
25358 * gst/gsttaglist.h:
25359 * gst/gsttagsetter.h:
25360 Fix #define wrapper
25362 2005-09-11 Stefan Kost <ensonic@users.sf.net>
25364 * docs/gst/gstreamer-sections.txt:
25367 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
25369 * docs/gst/gstreamer-sections.txt:
25370 * docs/gst/tmpl/gstelement.sgml:
25371 * docs/gst/tmpl/gstplugin.sgml:
25372 * gst/gstminiobject.c:
25374 docs now stop throwing warnings
25376 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
25378 * docs/gst/gstreamer-sections.txt:
25379 * docs/gst/gstreamer.types:
25380 * docs/gst/tmpl/gstpad.sgml:
25381 * docs/gst/tmpl/gsttypes.sgml:
25382 * gst/base/gstadapter.h:
25383 * gst/base/gstbasesink.h:
25384 * gst/base/gstbasesrc.h:
25390 * gst/gstelement.h:
25392 * gst/gstmessage.h:
25394 * gst/gststructure.c:
25395 * gst/registries/gstlibxmlregistry.h:
25396 various documentation fixes
25398 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
25400 * docs/gst/gstreamer-sections.txt:
25401 * docs/gst/tmpl/gstvalue.sgml:
25402 rearrange gstvalue section
25403 * gst/gstutils.c: (gst_element_state_get_name):
25405 * gst/gstvalue.c: (_gst_value_initialize):
25409 2005-09-10 Jan Schmidt <thaytan@mad.scientist.com>
25411 * check/gst-libs/controller.c:
25412 Header include fix.
25413 * gst/base/gstbasetransform.c:
25414 (gst_base_transform_default_prepare_buf),
25415 (gst_base_transform_handle_buffer):
25416 * gst/base/gstbasetransform.h:
25417 Some more basetransform changes and fixes to enable sub-classes
25418 that modify buffer metadata only.
25419 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
25420 (gst_capsfilter_init), (gst_capsfilter_transform_ip),
25421 (gst_capsfilter_prepare_buf):
25422 If the output pad has fixed allowed caps and input buffers
25423 don't have any, set the fixed caps on outgoing buffers.
25425 2005-09-09 Jan Schmidt <thaytan@mad.scientist.com>
25426 * check/elements/identity.c: (GST_START_TEST):
25427 Make the error a little clearer when the test fails because
25428 identity made a copy of the buffer.
25429 * docs/gst/gstreamer-sections.txt:
25430 New symbols in gstbasetransform.h
25431 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
25432 (gst_base_transform_init), (gst_base_transform_transform_size),
25433 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
25434 (gst_base_transform_default_prepare_buf),
25435 (gst_base_transform_get_unit_size),
25436 (gst_base_transform_buffer_alloc),
25437 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
25438 (gst_base_transform_change_state),
25439 (gst_base_transform_set_passthrough),
25440 (gst_base_transform_set_in_place),
25441 (gst_base_transform_is_in_place):
25442 * gst/base/gstbasetransform.h:
25443 Change BaseTransform to separate in_place operate from same_caps
25444 output. in_place implies that the element can perform the transform
25445 on incoming buffers in-place, even if the caps on the output are
25447 Sub-class elements can now implement special buffer allocation
25448 methods for outgoing buffers if they wish to.
25449 Big documentation addition.
25450 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
25451 * gst/elements/gstelements.c:
25452 Changes for basetransform modifications.
25453 * gst/elements/Makefile.am:
25454 * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
25455 Compile fix. Extra debug output.
25457 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
25459 * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
25461 add tests for valid pad naming
25462 * gst/check/gstcheck.c: (gst_check_log_message_func),
25463 (gst_check_log_critical_func):
25465 remove printing of code, it is fragile when the code contains
25466 % and the line number is enough info
25467 * gst/check/gstcheck.h:
25468 * gst/gstpad.c: (gst_pad_template_new):
25471 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
25474 say what CHECK flags we use
25475 * docs/libs/gstreamer-libs.types:
25476 * libs/gst/controller/Makefile.am:
25477 * libs/gst/controller/gst-controller.c:
25478 * libs/gst/controller/gst-controller.h:
25479 * libs/gst/controller/gst-helper.c:
25480 * libs/gst/controller/gst-interpolation.c:
25481 * libs/gst/controller/gstcontroller.c:
25482 * libs/gst/controller/gsthelper.c:
25483 * libs/gst/controller/gstinterpolation.c:
25484 * tools/gst-inspect.c: (print_plugin_info):
25485 we don't use dashes in header names
25487 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
25489 * check/Makefile.am:
25490 * check/gst/.cvsignore:
25491 * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
25492 (gst_pipeline_suite), (main):
25493 adding a test for pipelines and state changes
25494 * gst/gstutils.c: (get_state_func):
25496 * gstreamer.spec.in:
25499 2005-09-08 Michael Smith <msmith@fluendo.com>
25501 * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
25502 (gst_file_src_map_small_region), (gst_file_src_create_mmap),
25503 (gst_file_src_is_seekable), (gst_file_src_get_size),
25504 (gst_file_src_start):
25505 * gst/elements/gstfilesrc.h:
25506 Various fixes for unseekable, unmmapable, and non-normal files, so
25507 that fallback to read() rather than mmap() works.
25508 * gst/gstevent.c: (gst_event_new_newsegment):
25509 Allow newsegment events with segment_start == segment_end, as will
25510 correctly happen if you use filesrc on a zero-size file, for
25513 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
25515 * gst/gstplugin.c: (gst_plugin_load_file):
25516 Call g_module_close when we don't load the module
25518 * gst/registries/gstlibxmlregistry.c:
25519 (gst_xml_registry_get_property):
25520 Port leak fix from 0.8
25522 2005-09-07 Stefan Kost <ensonic@users.sf.net>
25524 * docs/gst/gstreamer-docs.sgml:
25525 * docs/gst/tmpl/.cvsignore:
25526 * docs/gst/tmpl/gsttrace.sgml:
25527 * docs/gst/tmpl/gsttrashstack.sgml:
25530 * gst/gstelement.h:
25532 * gst/gstmessage.c:
25533 * gst/gstmessage.h:
25536 * gst/gsttaginterface.c:
25537 * gst/gsttaginterface.h:
25538 * gst/gsttaglist.c:
25539 * gst/gsttaglist.h:
25540 * gst/gsttagsetter.c:
25541 * gst/gsttagsetter.h:
25544 * gst/gsttrashstack.c:
25545 renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
25546 inlined docs for gsttrace, gsttrashstack
25548 2005-09-07 Stefan Kost <ensonic@users.sf.net>
25551 * gst/elements/gstbufferstore.h:
25552 * gst/elements/gsttypefindelement.c:
25553 * gst/elements/gsttypefindelement.h:
25555 * gst/gsttypefind.c:
25556 * gst/gsttypefind.h:
25557 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
25558 (gst_type_find_factory_class_init), (gst_type_find_factory_init),
25559 (gst_type_find_factory_dispose),
25560 (gst_type_find_factory_unload_thyself),
25561 (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
25562 (gst_type_find_factory_get_caps),
25563 (gst_type_find_factory_get_extensions),
25564 (gst_type_find_factory_call_function):
25565 * gst/gsttypefindfactory.h:
25566 * gst/registries/gstlibxmlregistry.c:
25567 * gst/registries/gstxmlregistry.c:
25568 splitted gsttypefind into gsttypefind, gsttypefindfactory
25570 2005-09-07 Andy Wingo <wingo@pobox.com>
25572 * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
25573 condition whereby the pad's task function is entered before the
25574 pad_mode variable was set.
25576 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
25578 * gst/gstpad.c: (gst_pad_alloc_buffer):
25579 Catch misbehaving pad_alloc functions that don't
25580 set up caps and do it for them.
25582 2005-09-07 Stefan Kost <ensonic@users.sf.net>
25584 * check/pipelines/simple_launch_lines.c: (run_pipeline):
25585 test for pipe!=NULL
25586 * docs/gst/tmpl/.cvsignore:
25587 * docs/gst/tmpl/gstmemchunk.sgml:
25588 * docs/gst/tmpl/gstparse.sgml:
25589 * docs/gst/tmpl/gsttaglist.sgml:
25590 * docs/gst/tmpl/gsttagsetter.sgml:
25591 * docs/gst/tmpl/gsttypefind.sgml:
25592 * docs/gst/tmpl/gsttypefindfactory.sgml:
25593 * gst/gstmemchunk.c:
25596 * gst/gsttaginterface.c:
25597 * gst/gsttypefind.c:
25598 * gst/gsttypefind.h:
25601 === release 0.9.2 ===
25603 2005-09-06 Thomas Vander Stichele <thomas at apestaart dot org>
25608 releasing 0.9.2, "South"
25610 2005-09-05 Andy Wingo <wingo@pobox.com>
25612 * gst/registries/gstxmlregistry.h:
25613 * gst/registries/gstxmlregistry.c: Um... resurrect...
25615 * gst/registries/gstxmlregistry.h:
25616 * gst/registries/gstxmlregistry.c: and update to newer API.
25617 Incidentally they should be a bit faster now that they don't have
25620 2005-09-05 Andy Wingo <wingo@pobox.com>
25622 * gst/registries/gstxmlregistry.h:
25623 * gst/registries/gstxmlregistry.c: Remove from CVS, they were
25624 replaced by the libxml registry a while back
25626 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
25628 * docs/gst/tmpl/gstplugin.sgml:
25629 * gst/elements/gstelements.c:
25631 * gst/gstplugin.c: (gst_plugin_register_func),
25632 (gst_plugin_desc_copy), (gst_plugin_desc_free),
25633 (gst_plugin_get_source):
25635 * gst/registries/gstlibxmlregistry.c: (load_plugin),
25636 (gst_xml_registry_save_plugin):
25637 * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
25638 (gst_xml_registry_save_plugin):
25639 * tools/gst-inspect.c: (print_plugin_info):
25640 add a "source" plugin description field, to represent the source
25641 module this plugin is a part of. By default GST_PLUGIN_DEFINE
25642 will set it to PACKAGE, which is automake's idea of the name of
25643 the source project.
25645 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
25650 * docs/Makefile.am:
25651 * docs/faq/Makefile.am:
25652 * docs/gst/tmpl/gstelement.sgml:
25653 * docs/gst/tmpl/gsttypes.sgml:
25654 * docs/htmlinstall.mak:
25655 * docs/manual/Makefile.am:
25656 * docs/pwg/Makefile.am:
25657 reorganize doc build a little
25658 split out docbook and gtk-doc stuff
25659 have two separate --enable's and enable them through autogen
25660 but disable by default in configure (to be similar to other
25662 * gstreamer.spec.in:
25663 clean up docs install
25681 translation updates
25683 2005-09-03 Tim-Philipp Müller <tim at centricular dot net>
25685 * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
25688 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
25689 (gst_fake_sink_change_state):
25690 Make state change function thread-safe.
25692 * gst/gstpad.c: (gst_pad_alloc_buffer):
25693 Set offset on generic buffer allocated by fallback.
25695 2005-09-03 Stefan Kost <ensonic@users.sf.net>
25697 * docs/gst/gstreamer-sections.txt:
25698 * docs/gst/tmpl/gstelement.sgml:
25700 * libs/gst/controller/gst-controller.c:
25701 (gst_controlled_property_set_interpolation_mode),
25702 (gst_controlled_property_new),
25703 (gst_controller_find_controlled_property):
25704 run the wingo-magic script against the docs
25706 2005-09-02 Stefan Kost <ensonic@users.sf.net>
25708 * docs/gst/gstreamer-docs.sgml:
25709 * docs/gst/gstreamer-sections.txt:
25710 * docs/gst/tmpl/.cvsignore:
25711 * docs/gst/tmpl/gstelementdetails.sgml:
25712 * docs/gst/tmpl/gstelementfactory.sgml:
25715 * gst/gstelementfactory.c:
25716 * gst/gstelementfactory.h:
25717 merged elementdetails docs into elementfactory docs
25720 2005-09-02 Andy Wingo <wingo@pobox.com>
25722 * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
25723 consider this enum an enum and not a flags.
25725 2005-09-02 Stefan Kost <ensonic@users.sf.net>
25727 * docs/gst/gstreamer-docs.sgml:
25728 * docs/gst/tmpl/.cvsignore:
25729 * docs/gst/tmpl/gstghostpad.sgml:
25730 * docs/gst/tmpl/gstiterator.sgml:
25731 * docs/gst/tmpl/gstmacros.sgml:
25732 * docs/gst/tmpl/gstrealpad.sgml:
25733 * docs/gst/tmpl/gstregistry.sgml:
25734 * docs/gst/tmpl/gstregistrypool.sgml:
25735 * docs/gst/tmpl/gststructure.sgml:
25736 * docs/gst/tmpl/gstsystemclock.sgml:
25737 * docs/gst/tmpl/gsttrace.sgml:
25738 * gst/gstghostpad.c:
25740 * gst/gstmemchunk.c:
25741 * gst/gstmemchunk.h:
25743 * gst/gstregistry.c:
25744 * gst/gstregistrypool.c:
25745 * gst/gststructure.c:
25746 * gst/gstsystemclock.c:
25749 2005-09-02 Andy Wingo <wingo@pobox.com>
25751 * gst/gstelement.h (GstState): Renamed from GstElementState,
25752 changed to be a normal enum instead of flags.
25753 (GstStateChangeReturn): Renamed from GstElementStateReturn, names
25754 munged to be GST_STATE_CHANGE_*.
25755 (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
25756 work with the new state representation.
25757 (GstStateChange): New enumeration of possible state transitions.
25758 Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
25759 (GstElementClass::change_state): Pass the GstStateChange along as
25760 an argument. Helps language bindings, so they don't have to use
25761 tricky lock-needing macros like GST_STATE_CHANGE ().
25763 * scripts/update-states (file): New script. Run it on a file to
25764 update it for state naming and API changes. Updates files in
25767 * All files updated for the new API.
25769 2005-09-02 Thomas Vander Stichele <thomas at apestaart dot org>
25771 * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
25772 * gst/gstutils.c: (gst_util_set_value_from_string),
25773 (gst_util_set_object_arg):
25774 fix a bunch of unchecked return values
25775 * tools/gst-complete.c: (main):
25776 * gstreamer.spec.in:
25779 2005-09-01 Wim Taymans <wim@fluendo.com>
25781 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
25782 (gst_base_sink_event), (gst_base_sink_do_sync),
25783 (gst_base_sink_handle_event):
25784 * gst/base/gstbasesink.h:
25785 Handle newsegments more correctly.
25790 * gst/gstevent.c: (gst_event_new_newsegment):
25791 A newsegment cannot have a start_time of -1
25793 2005-09-01 Tim-Philipp Müller <tim at centricular dot net>
25795 * win32/gstenumtypes.c:
25796 * win32/gstenumtypes.h:
25799 2005-08-31 Stefan Kost <ensonic@users.sf.net>
25801 * libs/gst/controller/gst-controller.c:
25802 (gst_controlled_property_set_interpolation_mode),
25803 (gst_controlled_property_new):
25804 fixed boolean again
25806 2005-08-31 Thomas Vander Stichele <thomas at apestaart dot org>
25808 * docs/faq/gst-uninstalled:
25813 * gst/gstutils.c: (gst_element_link_filtered):
25815 add gst_element_link_filtered
25817 2005-08-31 Stefan Kost <ensonic@users.sf.net>
25819 * docs/gst/gstreamer-docs.sgml:
25820 * docs/gst/gstreamer-sections.txt:
25821 * docs/gst/tmpl/.cvsignore:
25822 * docs/gst/tmpl/gsterror.sgml:
25823 * docs/gst/tmpl/gstfilter.sgml:
25824 * docs/gst/tmpl/gsturihandler.sgml:
25825 * docs/gst/tmpl/gsturitype.sgml:
25826 * docs/gst/tmpl/gstutils.sgml:
25827 * docs/gst/tmpl/gstxml.sgml:
25832 * gst/gsturitype.c:
25835 inlined more docs, fixed double id-ref
25837 2005-08-31 Wim Taymans <wim@fluendo.com>
25839 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
25840 (gst_base_transform_handle_buffer):
25841 Passthrough elements don't need the caps as they don't care.
25843 2005-08-31 Wim Taymans <wim@fluendo.com>
25845 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
25846 (gst_base_transform_handle_buffer), (gst_base_transform_chain):
25847 Don't leak refcounts on buffers.
25849 2005-08-31 Wim Taymans <wim@fluendo.com>
25851 * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
25852 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
25853 (gst_base_transform_chain), (gst_base_transform_change_state):
25854 * gst/base/gstbasetransform.h:
25855 Handle the case where we are not negotiated more gracefully.
25857 2005-08-31 Tim-Philipp Müller <tim at centricular dot net>
25859 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
25860 (gst_file_src_map_region):
25861 Set READONLY flag on mmap'ed buffers, otherwise
25862 gst_buffer_make_writable() won't work properly (#314708).
25864 2005-08-31 Wim Taymans <wim@fluendo.com>
25866 * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
25867 passthrough elements can even do inplace on non writable
25868 buffers (as they don't touch them).
25870 2005-08-31 Stefan Kost <ensonic@users.sf.net>
25872 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
25873 (gst_test_mono_source_set_property),
25874 (gst_test_mono_source_class_init), (GST_START_TEST),
25875 (gst_controller_suite):
25876 more tests (hehe I have the most)
25878 describe popping messages whenusing mulltiple sources
25879 * libs/gst/controller/gst-controller.c:
25880 (gst_controlled_property_set_interpolation_mode),
25881 (gst_controlled_property_new):
25882 * libs/gst/controller/gst-controller.h:
25883 * libs/gst/controller/gst-interpolation.c:
25884 implement boolean properties
25886 2005-08-31 Wim Taymans <wim@fluendo.com>
25888 * gst/gstminiobject.c: (gst_mini_object_ref):
25889 Cannot assert that the refcount has to be positive
25890 since a disposed object can be resurrected.
25892 2005-08-31 Wim Taymans <wim@fluendo.com>
25894 * gst/gstpad.c: (gst_pad_init):
25895 Revert change, need to first fix badly behaving
25898 2005-08-30 Wim Taymans <wim@fluendo.com>
25900 * check/elements/fakesrc.c: (setup_fakesrc):
25901 * check/elements/identity.c: (setup_identity):
25902 Activate pads before using them.
25904 2005-08-30 Wim Taymans <wim@fluendo.com>
25906 * gst/base/gstadapter.c: (gst_adapter_flush):
25907 Flushing out 0 bytes is ok for this function.
25909 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
25910 no newsegment gives a warning and sets the start/stop to
25913 * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
25914 (gst_base_transform_set_passthrough):
25917 * gst/gstminiobject.c: (gst_mini_object_ref):
25918 Check refcount here too.
25920 * gst/gstpad.c: (gst_pad_init):
25921 Pads are initially flushing and refusing data.
25923 * gst/gstutils.c: (gst_element_link_pads_filtered):
25924 When adding a capsfilter element make sure it has the
25925 same state as the parent bin.
25927 2005-08-30 Stefan Kost <ensonic@users.sf.net>
25929 * docs/gst/tmpl/.cvsignore:
25930 * docs/gst/tmpl/gstformat.sgml:
25931 * docs/gst/tmpl/gstversion.sgml:
25935 * gst/gstversion.h.in:
25936 more docs and two more inlined
25938 2005-08-30 Wim Taymans <wim@fluendo.com>
25940 * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
25941 Don't sync to clock.
25943 2005-08-30 Stefan Kost <ensonic@users.sf.net>
25945 * docs/gst/gstreamer-sections.txt:
25946 ultral33t func10ns deserve to appear in the docs actually
25947 * docs/gst/tmpl/.cvsignore:
25948 * docs/gst/tmpl/gstcompat.sgml:
25949 * docs/gst/tmpl/gstconfig.sgml:
25950 * gst/check/gstcheck.c:
25952 * gst/gstconfig.h.in:
25955 2005-08-30 Stefan Kost <ensonic@users.sf.net>
25957 * docs/gst/tmpl/.cvsignore:
25958 * docs/gst/tmpl/gstquery.sgml:
25959 * docs/gst/tmpl/gstutils.sgml:
25962 inlined and extended docs
25964 2005-08-30 Stefan Kost <ensonic@users.sf.net>
25966 * check/gst-libs/controller.c: (GST_START_TEST),
25967 (gst_controller_suite):
25969 * docs/gst/tmpl/gstutils.sgml:
25970 * docs/libs/gstreamer-libs-sections.txt:
25971 * docs/libs/tmpl/gstdataprotocol.sgml:
25973 * examples/controller/audio-example.c: (main):
25974 controller example works now
25977 * tools/gst-inspect.c: (print_element_properties_info):
25978 show param spec flags
25980 2005-08-29 Andy Wingo <wingo@pobox.com>
25982 * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
25984 2005-08-28 Andy Wingo <wingo@pobox.com>
25986 * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
25987 as having two arguments instead of just one. Allows superclasses
25988 to access information on subclasses -- see the terrible for() loop
25989 in gtype.c:g_type_create_instance for the reason why. All callers
25992 2005-08-27 Stefan Kost <ensonic@users.sf.net>
25994 * docs/design/part-messages.txt:
25996 * docs/gst/tmpl/.cvsignore:
25997 * docs/gst/tmpl/gstcaps.sgml:
25998 * docs/gst/tmpl/gstclock.sgml:
26004 * gst/gstmessage.c:
26005 added descriptions for bus and message
26006 inline caps and clock docs
26008 2005-08-27 Stefan Kost <ensonic@users.sf.net>
26010 * gst/gstmessage.c:
26011 * gst/gstmessage.h:
26014 2005-08-27 Stefan Kost <ensonic@users.sf.net>
26016 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
26019 2005-08-26 Andy Wingo <wingo@pobox.com>
26021 * check/pipelines/simple_launch_lines.c (run_pipeline): Check
26022 element_set_state's return val.
26023 (test_2_elements): Add test that's been disabled for months.
26025 * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
26026 can-activate-pull properties.
26028 * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
26029 can-activate-pull properties. Implement is_seekable so fakesrc can
26030 operate in pull mode.
26032 * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
26034 (gst_base_sink_activate, gst_base_sink_activate_pull)
26035 (gst_base_sink_activate_push): Make activation mode choosing work.
26037 (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
26038 is right. Make pull mode work. Post an eos before pausing in pull
26040 (gst_base_sink_change_state): Pay attention to the core's
26041 change_state() return val.
26043 * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
26044 has-getrange properties. Cleanups.
26046 * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
26047 has_getrange and replace with can_activate_pull and
26050 * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
26051 locking comments. Remove has_loop, has_chain and replace with
26052 can_activate_pull and can_activate_push.
26054 2005-08-26 Jan Schmidt <thaytan@mad.scientist.com>
26057 * examples/Makefile.am:
26058 * examples/metadata/Makefile.am:
26059 * examples/metadata/read-metadata.c: (message_loop),
26060 (have_pad_handler), (make_pipeline), (print_tag), (main):
26061 Add metadata reading example that loops over a list of filenames,
26062 dumping any tags found.
26064 * gst/gstbus.c: (gst_bus_dispose):
26065 * gst/gstelement.c: (gst_element_dispose):
26066 Release a few potentially-held references in dispose.
26068 2005-08-26 Stefan Kost <ensonic@users.sf.net>
26070 * docs/gst/tmpl/gstminiobject.sgml:
26071 do *not* add tmpl/*.sgml files to CVS!
26073 2005-08-26 Stefan Kost <ensonic@users.sf.net>
26075 * libs/gst/bytestream/.cvsignore:
26076 * libs/gst/bytestream/Makefile.am:
26077 * libs/gst/bytestream/adapter.c:
26078 * libs/gst/bytestream/adapter.h:
26079 * libs/gst/bytestream/bytestream.c:
26080 * libs/gst/bytestream/bytestream.h:
26081 * libs/gst/bytestream/filepad.c:
26082 * libs/gst/bytestream/filepad.h:
26083 removing obsolete files
26085 2005-08-26 Stefan Kost <ensonic@users.sf.net>
26087 * docs/gst/gstreamer-docs.sgml:
26088 * docs/libs/gstreamer-libs-docs.sgml:
26089 disabed additional index entries again, as this makes docs-gen just
26090 slow and they aren't useful yet
26091 * docs/libs/gstreamer-libs-sections.txt:
26092 little -section.txt cleanup for libs
26094 2005-08-26 Thomas Vander Stichele <thomas at apestaart dot org>
26096 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
26097 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
26098 fix up some debugging
26099 (gst_base_transform_get_unit_size),
26100 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
26101 (gst_base_transform_handle_buffer):
26102 * gst/base/gstbasetransform.h:
26103 handle and store timed NEWSEGMENT events so that subclasses that
26104 calculate time by counting samples have a segment_start time they
26105 need to add to their timestamps - see audioresample
26107 2005-08-26 Stefan Kost <ensonic@users.sf.net>
26110 removed ';' from the end of macro defs
26111 * docs/gst/gstreamer-docs.sgml:
26112 * docs/gst/gstreamer-sections.txt:
26113 * docs/gst/tmpl/.cvsignore:
26115 * gst/gstelement.c: (gst_element_class_init),
26116 (gst_element_set_state), (activate_pads),
26117 (gst_element_save_thyself):
26118 * gst/gstevent.c: (gst_event_new_newsegment):
26120 * gst/gstiterator.c:
26121 * gst/gstiterator.h:
26124 * gst/gstutils.c: (gst_pad_query_convert):
26126 fixed parameter name mismatches between source, header and docs
26127 added some more docs, resolved the last batch of unused elements in
26128 docs (now someone needs to doc them)
26130 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
26132 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
26133 * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
26134 don't walk through the plugins backwards. Where is all this
26135 reversed logic coming from ?
26137 2005-08-25 Wim Taymans <wim@fluendo.com>
26139 * gst/base/gstbasetransform.c: (gst_base_transform_init),
26140 (gst_base_transform_transform_size),
26141 (gst_base_transform_configure_caps),
26142 (gst_base_transform_get_unit_size),
26143 (gst_base_transform_buffer_alloc),
26144 (gst_base_transform_change_state):
26145 * gst/base/gstbasetransform.h:
26146 Cache caps unit_size.
26147 Make sure we cannot negotiate up and downstream at the
26150 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
26152 * gst/gst.c: (init_pre), (init_post):
26153 register the installed plugin path after the env var
26154 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
26155 * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
26156 don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
26157 directories, so the tests can prefer uninstalled over installed
26159 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
26161 * gst/base/gstbasetransform.h:
26166 2005-08-25 Wim Taymans <wim@fluendo.com>
26168 * gst/gstbin.c: (bin_bus_handler):
26169 Be a bit more conservative about the posted message.
26171 * gst/gstbus.c: (gst_bus_post):
26172 Some cleanups, warn wrong return values.
26174 2005-08-25 Jan Schmidt <thaytan@mad.scientist.com>
26176 * check/gst/gstbin.c: (GST_START_TEST):
26177 * gst/gstbin.c: (bin_bus_handler):
26178 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
26179 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
26180 (gst_message_new_warning), (gst_message_new_tag),
26181 (gst_message_new_state_changed), (gst_message_new_segment_start),
26182 (gst_message_new_segment_done), (gst_message_new_custom):
26183 * gst/gstmessage.h:
26184 * tools/gst-launch.c: (event_loop):
26185 * tools/gst-md5sum.c: (event_loop):
26186 Revert unpopular change for GST_MESSAGE_SRC to GObject.
26188 2005-08-25 Wim Taymans <wim@fluendo.com>
26190 * check/generic/states.c: (GST_START_TEST):
26191 Cleanup can be done at the end.
26193 * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
26194 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
26195 (gst_task_get_state), (gst_task_start), (gst_task_pause):
26196 Oh boy.. Thanks for finding this, Thomas.
26198 2005-08-25 Stefan Kost <ensonic@users.sf.net>
26200 * docs/gst/gstreamer.types:
26201 added missing types
26203 2005-08-25 Stefan Kost <ensonic@users.sf.net>
26205 * docs/gst/gstreamer-docs.sgml:
26206 * docs/gst/gstreamer-sections.txt:
26207 * docs/gst/tmpl/.cvsignore:
26209 * gst/gstiterator.c:
26211 * gst/registries/gstxmlregistry.h:
26212 added missing classes and symbols (123 more to go)
26213 removed removed symbols from section file
26214 fixed many doc-comments
26216 2005-08-24 Wim Taymans <wim@fluendo.com>
26218 * check/generic/states.c: (GST_START_TEST):
26219 Make sure all tasks are stopped.
26221 * check/gst/gstbin.c: (GST_START_TEST):
26222 Unref after usage for proper valgrinding.
26224 * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
26225 Really wait for the task to stop before destroying the
26228 * gst/gstqueue.c: (gst_queue_sink_activate_push),
26229 (gst_queue_src_activate_push):
26230 Small cleanups. Don't stop the task when we did not start
26233 * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
26234 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
26235 (gst_task_get_state), (gst_task_start), (gst_task_pause),
26238 Protect the stream lock with the object lock.
26239 Disallow setting the stream lock when running.
26240 Add cleanup_all to wait for the threadpool to finish.
26241 Remove code to autoallocate a mutex if none was provided.
26242 Add _join() to wait for a task to stop.
26243 Protect the thread pool with a global lock.
26245 2005-08-24 Wim Taymans <wim@fluendo.com>
26247 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
26248 (gst_base_sink_get_times), (gst_base_sink_do_sync),
26249 (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
26250 * gst/base/gstbasesink.h:
26251 Handle newsegment events correctly.
26252 Drop buffers out of the segment range.
26254 2005-08-22 Andy Wingo <wingo@pobox.com>
26256 * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
26257 macro, implements an interface and gstimplementsinterface for a
26260 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
26262 * check/Makefile.am:
26263 * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
26264 add a test that does a bunch of state changes on elements
26265 needs some fixing for valgrind
26266 * check/states/sinks.c: (gst_object_suite):
26269 add prototype for gst_caps_is_equal_fixed
26271 * gst/gstregistrypool.c:
26274 2005-08-24 Andy Wingo <wingo@pobox.com>
26276 * gst/gstquery.c (gst_query_new_convert): Spew if we try to
26277 convert a negative value. Doesn't make much sense. Mostly this is
26278 here to force callers to ensure -1 maps to -1.
26280 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
26282 * docs/pwg/advanced-types.xml:
26283 Well done to Michael for catching my deliberate introduction
26284 of this spelling mistake.
26285 * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
26286 * gst/gstelement.h:
26287 Add GST_ELEMENT_UNPARENTING to prevent races so that we can
26288 unlink pads before removing the element from the bin.
26290 2005-08-24 Andy Wingo <wingo@pobox.com>
26292 * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
26293 the same thing as GST_DEBUG=*:4.
26294 (parse_debug_level, parse_debug_category): New helper parsers.
26296 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
26298 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
26299 (gst_base_transform_transform_size), (gst_base_transform_getcaps),
26300 (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
26301 (gst_base_transform_buffer_alloc),
26302 (gst_base_transform_handle_buffer):
26303 use gboolean return values and pointers to size so we can use the
26304 full GST_BUFFER_SIZE range (guint) for buffer sizes
26305 use GstPadDirection for transform_caps
26306 * gst/base/gstbasetransform.h:
26307 rename get_size to get_unit_size since that's what it is
26308 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
26309 use GstPadDirection for transform_caps
26310 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
26312 cleanup and debugging
26314 2005-08-24 Stefan Kost <ensonic@users.sf.net>
26316 * gst/gstelement.c: (gst_element_class_init),
26317 (gst_element_set_state), (activate_pads),
26318 (gst_element_save_thyself):
26319 * tools/gst-compprep.c: (main):
26320 * tools/gst-inspect.c: (print_element_properties_info):
26321 * tools/gst-xmlinspect.c: (print_element_properties):
26322 Fixed long standing mem-leak
26324 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
26326 * check/gst/gstbin.c: (GST_START_TEST):
26327 * gst/gstbin.c: (bin_bus_handler):
26328 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
26329 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
26330 (gst_message_new_warning), (gst_message_new_tag),
26331 (gst_message_new_state_changed), (gst_message_new_segment_start),
26332 (gst_message_new_segment_done), (gst_message_new_custom):
26333 * gst/gstmessage.h:
26334 * tools/gst-launch.c: (event_loop):
26335 * tools/gst-md5sum.c: (event_loop):
26336 Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
26337 that applications can sensibly post custom messages with references
26338 to their own objects.
26340 2005-08-24 Andy Wingo <wingo@pobox.com>
26342 * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
26345 2005-08-24 Wim Taymans <wim@fluendo.com>
26347 * gst/base/gstbasetransform.c: (gst_base_transform_init),
26348 (gst_base_transform_transform_caps),
26349 (gst_base_transform_transform_size),
26350 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
26351 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
26352 (gst_base_transform_handle_buffer):
26353 * gst/base/gstbasetransform.h:
26354 Many fixes and new features added by Thomas. Can now also do
26355 transforms with variable sizes and a custom fixate_caps function.
26357 2005-08-24 Wim Taymans <wim@fluendo.com>
26359 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
26363 Cast to ClockTime before formatting to time.
26368 2005-08-24 Stefan Kost <ensonic@users.sf.net>
26370 * check/gst-libs/controller.c: (GST_START_TEST),
26371 (gst_controller_suite):
26372 * docs/gst/tmpl/gstcaps.sgml:
26373 * docs/gst/tmpl/gstghostpad.sgml:
26374 * docs/gst/tmpl/gstquery.sgml:
26375 * docs/gst/tmpl/gstutils.sgml:
26376 * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
26377 (gst_object_sink_values), (gst_object_get_value_arrays),
26378 (gst_object_get_value_array):
26379 gracefully handle helper method calls to objects that are not beeing
26380 controlled, added test case for that
26382 2005-08-23 Wim Taymans <wim@fluendo.com>
26384 * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
26385 (gst_event_new_newsegment), (gst_event_parse_newsegment),
26386 (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
26387 (gst_event_parse_qos), (gst_event_new_seek),
26388 (gst_event_parse_seek):
26390 Some more debugging output and doc cleanups.
26392 * gst/gstqueue.c: (gst_queue_handle_sink_event):
26393 Fix possible deadlock.
26395 2005-08-23 Stefan Kost <ensonic@users.sf.net>
26397 * docs/gst/gstreamer-docs.sgml:
26398 * docs/gst/gstreamer-sections.txt:
26399 * docs/gst/gstreamer.types:
26400 * docs/gst/tmpl/.cvsignore:
26403 * gst/gstelement.c:
26405 added 100 symbols from gstreamer-unused.txt to the right sections
26406 fixed more broken comments
26407 added GstBus to docs
26409 2005-08-23 Stefan Kost <ensonic@users.sf.net>
26411 * docs/gst/gstreamer-sections.txt:
26412 * docs/gst/tmpl/.cvsignore:
26413 * docs/gst/tmpl/gstbin.sgml:
26414 * docs/gst/tmpl/gstbuffer.sgml:
26415 * gst/base/gstbasesrc.c:
26416 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
26419 * tools/gst-launch.1.in:
26420 inlined more doc comments, added missing comments and fixed comments
26423 2005-08-23 Thomas Vander Stichele <thomas at apestaart dot org>
26425 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
26429 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
26431 * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
26432 * gst/gststructure.h:
26433 add a fixate function for booleans; add a FIXME that these func
26434 names should probably be gst_structure_fixate_*
26436 2005-08-23 Stefan Kost <ensonic@users.sf.net>
26438 * docs/gst/gstreamer-docs.sgml:
26439 * docs/gst/gstreamer-sections.txt:
26441 * gst/gstbin.c: (gst_bin_get_type),
26442 (gst_bin_child_proxy_get_child_by_index),
26443 (gst_bin_child_proxy_get_children_count),
26444 (gst_bin_child_proxy_init):
26445 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
26446 (gst_child_proxy_get_child_by_index),
26447 (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
26448 (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
26449 (gst_child_proxy_get), (gst_child_proxy_set_property),
26450 (gst_child_proxy_set_valist), (gst_child_proxy_set),
26451 (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
26452 (gst_child_proxy_base_init), (gst_child_proxy_get_type):
26453 * gst/gstchildproxy.h:
26454 * gst/parse/grammar.y:
26455 * tools/gst-inspect.c: (print_interfaces),
26456 (print_element_properties_info), (print_element_info):
26457 ported gstchildproxy over from 0.8
26458 ported gst-inspect fixes and enhancements over from 0.8
26460 2005-08-22 Wim Taymans <wim@fluendo.com>
26462 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
26463 (gst_base_transform_handle_buffer):
26464 Also call the transform function if we have ANY caps.
26466 * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
26469 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
26471 * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
26472 Don't pretend to handle seek events if the source is not seekable
26474 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
26476 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
26477 Remove extra parameter to debug output
26479 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
26480 (gst_base_src_do_seek), (gst_base_src_activate_push):
26481 Fix seek event handling.
26483 * gst/gstpipeline.c: (gst_pipeline_change_state):
26484 * gst/gstqueue.c: (gst_queue_handle_sink_event),
26485 (gst_queue_src_activate_push):
26486 Don't start the src pad task on FLUSH_STOP if the pad
26490 2005-08-22 Wim Taymans <wim@fluendo.com>
26492 * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
26493 Added check for gst_static_caps_get() refcounting.
26495 2005-08-22 Wim Taymans <wim@fluendo.com>
26497 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
26498 Make _static_caps_get() refcounting sane.
26500 * gst/gstelement.c: (gst_element_set_state):
26501 Add g_return_val_if_fail() to protect against segfaults.
26503 2005-08-22 Stefan Kost <ensonic@users.sf.net>
26505 * docs/gst/tmpl/gstevent.sgml:
26508 inlined remaining docs, added missing doc comments
26510 2005-08-22 Thomas Vander Stichele <thomas at apestaart dot org>
26512 * check/gst/gstbin.c: (GST_START_TEST):
26513 since we don't know when preroll is done, use refcount range
26515 * gst/check/gstcheck.h:
26516 add macro for checking refcount range
26518 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
26520 * check/Makefile.am:
26521 clean up environment for when registry gets built versus
26522 when actual tests are run; valgrind seems to not report
26523 leaks if GST_PLUGIN_PATH is set to some specific values
26524 * check/gst/gstbin.c: (GST_START_TEST):
26525 add more refcounting checks; maybe this exposes a
26527 * common/check.mak:
26528 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
26529 * gst/check/gstcheck.h:
26530 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
26531 (gst_bin_change_state):
26532 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
26533 add/fix debugging/whitespace
26535 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
26537 * check/gst/gstevent.c: (event_probe), (test_event),
26539 Er, don't call gst_bin_watch_for_state_change you idiot.
26541 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
26543 * check/Makefile.am:
26544 Use CHECK_CFLAGS and CHECK_LIBS
26545 * check/gst/gstevent.c: (event_probe), (test_event),
26548 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
26549 (gst_base_src_start), (gst_base_src_stop),
26550 (gst_base_src_activate_push), (gst_base_src_activate_pull),
26551 (gst_base_src_change_state):
26552 Sprinkle gst_base_src_stop liberally around error paths to fix
26553 problems reusing a source after failed state changes.
26554 * gst/base/gsttypefindhelper.c: (helper_find_peek),
26555 (helper_find_suggest), (gst_type_find_helper):
26556 Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
26558 * docs/gst/tmpl/gstevent.sgml:
26559 Migrate part of the docs from the SGML file. Wait for ensonic to
26560 tell me how I did it wrong ;)
26561 * tools/gst-typefind.c: (main):
26562 Extra robustness to state changes between files.
26564 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
26566 * check/Makefile.am:
26567 don't valgrind the controller test - it's leaking - Stefan, HELP
26568 * gst/check/gstcheck.c: (gst_check_message_error),
26569 (gst_check_chain_func), (gst_check_setup_element),
26570 (gst_check_teardown_element), (gst_check_setup_src_pad),
26571 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
26572 (gst_check_teardown_sink_pad):
26573 * gst/check/gstcheck.h:
26574 add a bunch of methods to set up elements, and src and sink pads
26575 * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
26576 * check/elements/identity.c: (setup_identity), (cleanup_identity),
26579 * gst/gstmessage.c:
26581 whitespace/doc fixes
26583 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
26585 * gst/gstelement.h:
26586 make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
26587 be handled by the application and not always printed as well
26589 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
26591 * check/Makefile.am:
26593 * gst/check/gstcheck.c: (gst_check_message_error):
26594 * gst/check/gstcheck.h:
26595 add a fail_unless_equals_int
26596 add fail_unless for error messages
26598 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
26600 * check/Makefile.am:
26602 * common/Makefile.am:
26603 * common/check.mak:
26605 factor out some of the common stuff so we can use it
26607 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
26609 * check/Makefile.am:
26610 * check/gst/gstiterator.c: (GST_START_TEST):
26611 * check/gst/gstsystemclock.c: (GST_START_TEST),
26612 (gst_systemclock_suite):
26613 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
26615 valgrind more tests
26617 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
26619 * check/elements/.cvsignore:
26620 * check/elements/gstfakesrc.c:
26621 rename to name of element
26622 * check/elements/identity.c: (chain_func), (event_func),
26623 (setup_identity), (cleanup_identity), (GST_START_TEST),
26624 (identity_suite), (main):
26625 add a test for identity
26626 * check/Makefile.am:
26627 * pkgconfig/Makefile.am:
26628 * pkgconfig/gstreamer-check.pc.in:
26629 * pkgconfig/gstreamer-check-uninstalled.pc.in:
26633 move the check stuff to a library that gets installed
26634 * check/gst-libs/controller.c: (GST_START_TEST):
26635 * check/gst-libs/gdp.c:
26636 * check/gst/gst.c: (GST_START_TEST):
26637 * check/gst/gstbin.c:
26638 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
26639 * check/gst/gstbus.c:
26640 * check/gst/gstcaps.c: (GST_START_TEST):
26641 * check/gst/gstelement.c:
26642 * check/gst/gstghostpad.c:
26643 * check/gst/gstiterator.c:
26644 * check/gst/gstmessage.c:
26645 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
26646 * check/gst/gstobject.c:
26647 * check/gst/gstpad.c: (GST_START_TEST):
26648 * check/gst/gststructure.c: (GST_START_TEST):
26649 * check/gst/gstsystemclock.c: (GST_START_TEST),
26650 (gst_systemclock_suite):
26651 * check/gst/gsttag.c: (gst_tag_suite):
26652 * check/gst/gstvalue.c:
26653 * check/pipelines/cleanup.c:
26654 * check/pipelines/simple_launch_lines.c:
26655 * check/states/sinks.c:
26656 change include statement
26658 * docs/gst/gstreamer-sections.txt:
26659 * docs/gst/tmpl/gstpad.sgml:
26660 document more pad stuff
26661 * gst/gstminiobject.c: (gst_mini_object_ref),
26662 (gst_mini_object_unref):
26665 2005-08-19 Stefan Kost <ensonic@users.sf.net>
26667 * docs/gst/tmpl/gst.sgml:
26669 eliminate another tmpl file, fix spelling in the long-description
26671 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
26673 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
26674 (test_event), (timediff), (gstevents_suite):
26675 Should fix build on 64-bit arch's
26677 2005-08-18 Andy Wingo <wingo@pobox.com>
26679 Make sure that when a pipeline goes to PLAYING, that data has
26680 actually hit the sink.
26682 * check/states/sinks.c (test_sink): A sink that doesn't get any
26683 data shouldn't return SUCCESS for going to either PLAYING or
26684 PAUSED. Test also the return values on the way back down.
26686 * gst/gstelement.c (gst_element_set_state): When changing the
26687 state of an element currently changing state asynchronously, go to
26688 lost-state after commiting the pending state. Makes future calls
26689 to get_state continue to return ASYNC.
26691 * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
26692 ASYNC when going to PLAYING if we still don't have preroll, as can
26693 happen with live sources.
26695 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
26697 * docs/pwg/advanced-types.xml:
26698 Hack long paragraph into 2 chunks as a workaround for buggy
26699 jadetex version in sid and breezy that loops infinitely and
26702 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
26704 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
26705 (test_event), (timediff), (gstevents_suite):
26706 Provide more error margin in clock measurements to allow for
26707 g_get_current_time inaccuracies.
26709 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
26711 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
26712 (test_event), (timediff), (gstevents_suite):
26713 Fix error message output so I might be able to tell why the
26714 test works here but fails on the build farm.
26716 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
26718 * check/Makefile.am:
26719 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
26720 (test_event), (timediff), (gstevents_suite), (main):
26723 * docs/design/part-seeking.txt:
26724 Spelling correction
26726 * docs/gst/tmpl/gstevent.sgml:
26727 * docs/gst/tmpl/gstfakesrc.sgml:
26730 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
26731 Treat a buffer-without-newsegment the same as a receiving
26732 a newsegment not in time format, and disable syncing to the clock
26735 * gst/gstbus.c: (gst_bus_set_sync_handler):
26736 Assert if anyone tries to replace the existing sync_handler for bus,
26737 as only the owner should be setting it.
26740 Have a fixed set of custom event enums with events identified by
26741 their structure name (as in 0.8), rather than a free-for-all
26742 allowing collisions between enum values from different plugins.
26744 * gst/gstpad.c: (gst_pad_class_init):
26747 * gst/gstqueue.c: (gst_queue_handle_sink_event):
26748 Handle out-of-band downstream events from the sending thread.
26750 2005-08-17 Andy Wingo <wingo@pobox.com>
26752 * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
26753 play-timeout==0 to mean no timeout at all. In that case, don't
26754 bother with a get_state or a warning, just return directly, even
26757 * gst/base/gstbasetransform.c: Debug changes.
26760 * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
26761 ensure bins post state change messages. A bit of a hack but I can't
26762 think of a way to avoid it.
26764 * check/gst/gstbin.c (test_watch_for_state_change): Added test.
26766 2005-08-16 Andy Wingo <wingo@pobox.com>
26768 * gst/base/gstadapter.h:
26769 * gst/base/gstadapter.c (gst_adapter_take): New function, like
26770 peek() but you own the data. Not terribly efficient atm.
26772 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26774 * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
26775 (gst_element_found_tags):
26777 Add two utility functions for tag handling.
26779 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26781 * docs/manual/advanced-dataaccess.xml:
26782 * docs/manual/basics-helloworld.xml:
26783 Fix docs to use _bin_add() before _link(), which fixes the examples
26784 with recent core versions (reported by Madhan Raj M
26785 <raj_madan@rediffmail.com>, #313199).
26787 2005-08-16 Wim Taymans <wim@fluendo.com>
26789 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
26790 Added subtract checks.
26792 * docs/design/part-events.txt:
26793 Some more docs about newsegment
26795 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
26798 * gst/gstcaps.c: (gst_caps_to_string):
26799 Add comments, cleanups.
26801 * gst/gstelement.c: (gst_element_save_thyself):
26804 * gst/gstvalue.c: (gst_value_collect_int_range),
26805 (gst_string_unwrap), (gst_value_union_int_int_range),
26806 (gst_value_union_int_range_int_range),
26807 (gst_value_intersect_int_int_range),
26808 (gst_value_intersect_int_range_int_range),
26809 (gst_value_intersect_double_double_range),
26810 (gst_value_intersect_double_range_double_range),
26811 (gst_value_intersect_list), (gst_value_subtract_int_int_range),
26812 (gst_value_subtract_int_range_int),
26813 (gst_value_subtract_double_range_double),
26814 (gst_value_subtract_double_range_double_range),
26815 (gst_value_subtract_from_list), (gst_value_subtract_list),
26816 (gst_value_can_compare), (gst_value_compare_fraction):
26817 Cleanups, add comments, remove unneeded asserts.
26819 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
26821 * tools/gst-launch.c: (event_loop):
26822 don't convert NULL structures to strings
26824 2005-08-15 Stefan Kost <ensonic@users.sf.net>
26826 * docs/gst/gstreamer-sections.txt:
26827 made some defines private
26828 * docs/gst/tmpl/gstconfig.sgml:
26829 * docs/gst/tmpl/gstqueue.sgml:
26830 * docs/gst/tmpl/gsttaglist.sgml:
26831 * docs/gst/tmpl/gsttypes.sgml:
26832 * docs/gst/tmpl/gstutils.sgml:
26833 * docs/pwg/appendix-porting.xml:
26834 * gst/base/gstbasesink.h:
26835 * gst/base/gstbasesrc.c:
26836 * gst/base/gstbasesrc.h:
26837 * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
26838 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
26839 * gst/gstelement.c: (gst_element_class_init):
26840 * gst/gstpad.c: (gst_pad_class_init):
26841 * gst/gstqueue.c: (gst_queue_class_init):
26842 * gst/gstxml.c: (gst_xml_class_init):
26843 documented all undocumented signal inline
26844 * libs/gst/controller/gst-controller.h:
26847 2005-08-15 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26849 * docs/pwg/appendix-porting.xml:
26850 Document _set_link_function -> _set_setcaps_function.
26852 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
26854 * check/Makefile.am:
26855 add a .check target for running the check
26856 * check/gst-libs/controller.c: (GST_START_TEST):
26858 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
26859 complete checks for gstbuffer; would be nice if I could get the
26860 gcov stuff to work so I can see if I actually completed gstbuffer.c
26861 * check/gstcheck.h:
26862 add ASSERT_BUFFER_REFCOUNT
26864 2005-08-13 Tim-Philipp Müller <tim at centricular dot net>
26866 * docs/gst/gstreamer-sections.txt:
26867 * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
26869 Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
26870 spew out a warning if a tag that is already registered
26871 is re-registered, unless it is re-registered with a
26872 different type (#308438).
26874 2005-08-12 Tim-Philipp Müller <tim at centricular dot net>
26876 * docs/pwg/appendix-porting.xml:
26877 * docs/pwg/building-state.xml:
26878 Add some paragraphs about state changes in 0.9 to the PWG
26879 and the porting guide, in particular about the new meaning
26880 of GST_STATE_PAUSED and how to write state change functions
26881 with concurrent access by multiple threads in mind.
26883 2005-08-11 Stefan Kost <ensonic@users.sf.net>
26885 * docs/gst/gstreamer-docs.sgml:
26886 * docs/libs/gstreamer-libs-docs.sgml:
26887 added deprecation and since indexes
26888 * libs/gst/controller/gst-controller.c:
26889 * libs/gst/controller/gst-helper.c:
26893 2005-08-11 Wim Taymans <wim@fluendo.com>
26895 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
26896 (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
26897 (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
26898 (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
26899 (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
26900 (gst_ghost_pad_set_target):
26901 Actually implement (re)setting the target on a ghostpad
26902 as described in the docs.
26904 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
26906 * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
26907 Check whether GST_DEBUG_NO_COLOR environment variable is
26908 set and disable coloured debug output if that is the case.
26910 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
26912 * gst/base/gsttypefindhelper.c: (helper_find_peek),
26913 (gst_type_find_helper):
26914 The memory returned by gst_type_find_peek() needs to
26915 stay valid until the end of a typefind function, and
26916 typefind functions may keep results from different
26917 offsets around, so we can't just unref the buffer from
26918 the previous _peek(), but have to save all buffers
26919 returned by _peek() until typefinding is done and only
26922 2005-08-09 Tim-Philipp Müller <tim at centricular dot net>
26924 * docs/gst/gstreamer-sections.txt:
26926 New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
26928 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26930 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
26931 Fix a pretty good memleak.
26933 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
26935 * gst/gstiterator.h:
26936 Fix wrong include and 'make distcheck'.
26938 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26940 * gst/gstbin.c: (bin_bus_handler):
26941 Use gst_element_post_message() instead.
26943 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
26945 * gst/base/gstadapter.h:
26946 * gst/base/gstbasesink.h:
26947 * gst/base/gstbasesrc.h:
26948 * gst/base/gstbasetransform.h:
26949 * gst/base/gstcollectpads.h:
26950 * gst/base/gstpushsrc.h:
26951 * gst/gstiterator.h:
26952 Add padding to our base elements' class and instance structs and
26953 to GstIterator (you will need to rebuild all plugins and apps!)
26955 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26957 * gst/gstbin.c: (bin_bus_handler):
26958 Make default message forwarding from child->bus to bin->bus
26959 threadsafe and make it not emit warnings if the parent has no bus.
26961 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26963 * gst/gstelement.c: (activate_pads):
26964 On paused->ready, set pad->caps to NULL, as is the documented
26965 behaviour in this state change. Fixes playback of series of
26966 media files when visualization is enabled in Totem.
26968 2005-08-07 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26970 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
26971 Allow NULL as filter-caps (which means "any").
26973 2005-08-05 Stefan Kost <ensonic@users.sf.net>
26975 * docs/libs/gstreamer-libs-sections.txt:
26976 * libs/gst/controller/gst-controller.c:
26977 * libs/gst/controller/gst-controller.h:
26978 * libs/gst/controller/gst-helper.c:
26979 adding more entries to the docs and fix small doc-bugs
26981 2005-08-05 Stefan Kost <ensonic@users.sf.net>
26983 * docs/gst/gstreamer-docs.sgml:
26984 * docs/gst/gstreamer-sections.txt:
26985 * docs/gst/gstreamer.types:
26986 * docs/gst/tmpl/gstbasesink.sgml:
26987 * docs/gst/tmpl/gstbasesrc.sgml:
26988 * docs/gst/tmpl/gstbasetransform.sgml:
26989 * docs/gst/tmpl/gstfakesrc.sgml:
26990 * gst/base/gstcollectpads.c:
26991 * gst/base/gstcollectpads.h:
26992 * libs/gst/controller/gst-controller.c:
26993 * libs/gst/controller/gst-controller.h:
26994 * libs/gst/controller/gst-helper.c:
26995 * libs/gst/controller/gst-interpolation.c:
26996 * libs/gst/controller/lib.c:
26997 added long/short desc for controller docs
26998 added collectpads base class docs
26999 added correct includes to base-class docs
27001 2005-08-05 Stefan Kost <ensonic@users.sf.net>
27003 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
27004 (gst_test_mono_source_set_property),
27005 (gst_test_mono_source_class_init), (GST_START_TEST),
27006 (gst_controller_suite):
27007 * docs/gst/gstreamer-docs.sgml:
27008 * docs/gst/gstreamer-sections.txt:
27009 * docs/gst/gstreamer.types:
27010 * docs/libs/gstreamer-libs-docs.sgml:
27011 * docs/libs/gstreamer-libs-sections.txt:
27012 * gst/base/gstadapter.c:
27013 * libs/gst/controller/gst-controller.c:
27014 (gst_controlled_property_new), (gst_controlled_property_free),
27015 (gst_controller_new_valist),
27016 (gst_controller_remove_properties_valist),
27017 (gst_controller_sink_values), (_gst_controller_finalize):
27018 * libs/gst/controller/gst-controller.h:
27019 * libs/gst/controller/gst-helper.c:
27020 (gst_object_control_properties), (gst_object_uncontrol_properties),
27021 (gst_object_get_controller), (gst_object_set_controller),
27022 (gst_object_sink_values), (gst_object_get_value_arrays),
27023 (gst_object_get_value_array):
27024 more tests (and fixes) for the controller
27025 more docs for the controller
27026 integrated companies docs for the adapter
27028 2005-08-05 Thomas Vander Stichele <thomas at apestaart dot org>
27030 * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
27031 (GST_START_TEST), (fakesrc_suite):
27032 add tests for sizetype
27034 2005-08-04 Andy Wingo <wingo@pobox.com>
27036 * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
27037 fixes buffer_alloc proxying among other things.
27039 * gst/base/gstbasetransform.c:
27040 * gst/base/gstbasetransform.h:
27041 Revert patch to gstbasetransform from 7-28 removing
27044 * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
27045 * gst/base/gstbasetransform.c (gst_base_transform_get_size):
27046 Semantics changed, should return not the size of the output buffer
27047 but the byte size of a buffer with a given caps.
27049 * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
27051 (gst_base_transform_configure_caps): Don't set out_size here: (in,
27052 out) are not the pad caps until setcaps finishes.
27053 (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
27054 not-in-place case as well. Deal with changing from in-place to
27055 not-in-place within calling pad_alloc_buffer. Still a bit
27056 concerned about the overhead here...
27058 2005-08-03 Andy Wingo <wingo@pobox.com>
27060 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
27061 fixating is an error.
27063 2005-08-04 Edward Hervey <edward@fluendo.com>
27065 * gst/base/gstadapter.h:
27066 Added gst_adapter_get_type() to the header
27068 2005-08-03 Stefan Kost <ensonic@users.sf.net>
27070 * check/Makefile.am:
27071 * check/gst-libs/controller.c:
27072 * libs/gst/controller/gst-controller.c:
27073 (gst_controller_new_valist):
27074 added check test suite for the controller
27075 * gst/base/gstpushsrc.c:
27078 2005-08-03 Stefan Kost <ensonic@users.sf.net>
27080 * docs/gst/Makefile.am:
27081 * docs/gst/gstreamer-docs.sgml:
27082 * docs/gst/gstreamer-sections.txt:
27083 * docs/gst/gstreamer.types:
27084 * docs/gst/tmpl/gstfakesrc.sgml:
27086 * gst/base/gstbasesink.c:
27087 * gst/base/gstbasesink.h:
27088 * gst/base/gstbasesrc.c:
27089 * gst/base/gstbasesrc.h:
27090 * gst/base/gstbasetransform.c:
27091 * gst/base/gstpushsrc.c:
27092 * gst/base/gstpushsrc.h:
27093 add short/long description docs to base classes
27094 add pushsrc to the docs
27095 remove consolidated doc fragments
27097 2005-08-03 Stefan Kost <ensonic@users.sf.net>
27100 * docs/libs/Makefile.am:
27101 * docs/libs/gstreamer-libs-docs.sgml:
27102 * docs/libs/gstreamer-libs-sections.txt:
27103 * docs/libs/gstreamer-libs.types:
27104 * examples/Makefile.am:
27105 * examples/controller/.cvsignore:
27106 * examples/controller/Makefile.am:
27107 * examples/controller/audio-example.c: (main):
27108 * libs/gst/Makefile.am:
27109 * libs/gst/controller/.cvsignore:
27110 * libs/gst/controller/Makefile.am:
27111 * libs/gst/controller/gst-controller.c:
27112 (on_object_controlled_property_changed), (gst_timed_value_compare),
27113 (gst_timed_value_find),
27114 (gst_controlled_property_set_interpolation_mode),
27115 (gst_controlled_property_new), (gst_controlled_property_free),
27116 (gst_controller_find_controlled_property),
27117 (gst_controller_new_valist), (gst_controller_new),
27118 (gst_controller_remove_properties_valist),
27119 (gst_controller_remove_properties), (gst_controller_set),
27120 (gst_controller_set_from_list), (gst_controller_unset),
27121 (gst_controller_get), (gst_controller_get_all),
27122 (gst_controller_sink_values), (gst_controller_get_value_arrays),
27123 (gst_controller_get_value_array),
27124 (gst_controller_set_interpolation_mode),
27125 (_gst_controller_finalize), (_gst_controller_init),
27126 (_gst_controller_class_init), (gst_controller_get_type):
27127 * libs/gst/controller/gst-controller.h:
27128 * libs/gst/controller/gst-helper.c: (g_object_control_properties),
27129 (g_object_uncontrol_properties), (g_object_get_controller),
27130 (g_object_set_controller), (g_object_sink_values),
27131 (g_object_get_value_arrays), (g_object_get_value_array):
27132 * libs/gst/controller/gst-interpolation.c:
27133 (gst_controlled_property_find_timed_value_node),
27134 (interpolate_none_get), (interpolate_trigger_get),
27135 (interpolate_trigger_get_value_array):
27136 * libs/gst/controller/lib.c: (gst_controller_init):
27137 * pkgconfig/Makefile.am:
27138 * pkgconfig/gstreamer-control-uninstalled.pc.in:
27139 * pkgconfig/gstreamer-control.pc.in:
27140 * testsuite/Makefile.am:
27141 * testsuite/controller/.cvsignore:
27142 * testsuite/controller/Makefile.am:
27143 * testsuite/controller/interpolator.c: (main):
27144 added controller code
27145 removed dparam pc files
27147 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
27148 * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
27149 (gst_collectpads_stop):
27150 Broadcast the condition when shutting down, to make sure we wake all
27151 threads up. Shut down pads on finalize, for safety.
27153 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
27154 * gst/base/gstbasetransform.c: (gst_base_transform_init),
27155 (gst_base_transform_handle_buffer),
27156 (gst_base_transform_change_state):
27157 Handle PAUSED->READY->PAUSED transition after negotiation
27159 * gst/gstmessage.c: (gst_message_init):
27160 Extra piece of debug for new messages.
27162 2005-08-01 Stefan Kost <ensonic@users.sf.net>
27165 * docs/gst/tmpl/gstbasesrc.sgml:
27166 * docs/gst/tmpl/gstelement.sgml:
27167 * docs/gst/tmpl/gstevent.sgml:
27168 * docs/gst/tmpl/gstfakesrc.sgml:
27169 * docs/gst/tmpl/gstformat.sgml:
27170 * docs/gst/tmpl/gstghostpad.sgml:
27171 * docs/gst/tmpl/gstpad.sgml:
27172 * docs/gst/tmpl/gstquery.sgml:
27173 * docs/gst/tmpl/gststructure.sgml:
27174 * docs/gst/tmpl/gsttaglist.sgml:
27175 * docs/gst/tmpl/gstvalue.sgml:
27176 * docs/libs/gstreamer-libs-docs.sgml:
27177 * docs/libs/gstreamer-libs-sections.txt:
27178 * docs/libs/gstreamer-libs.types:
27179 * libs/gst/Makefile.am:
27180 * libs/gst/control/.cvsignore:
27181 * libs/gst/control/Makefile.am:
27182 * libs/gst/control/control.c:
27183 * libs/gst/control/control.h:
27184 * libs/gst/control/dparam.c:
27185 * libs/gst/control/dparam.h:
27186 * libs/gst/control/dparam_smooth.c:
27187 * libs/gst/control/dparam_smooth.h:
27188 * libs/gst/control/dparamcommon.h:
27189 * libs/gst/control/dparammanager.c:
27190 * libs/gst/control/dparammanager.h:
27191 * libs/gst/control/dplinearinterp.c:
27192 * libs/gst/control/dplinearinterp.h:
27193 * libs/gst/control/unitconvert.c:
27194 * libs/gst/control/unitconvert.h:
27195 * testsuite/Makefile.am:
27196 * testsuite/dynparams/.cvsignore:
27197 * testsuite/dynparams/Makefile.am:
27198 * testsuite/dynparams/dparamstest.c:
27199 * tools/Makefile.am:
27200 * tools/gst-inspect.c: (print_element_info), (main):
27201 * tools/gst-xmlinspect.c: (print_element_info), (main):
27202 deactivate and remove dparams (libgstcontrol)
27204 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
27206 * gst/elements/gsttypefindelement.c:
27207 (gst_type_find_element_have_type), (gst_type_find_element_init),
27208 (stop_typefinding), (gst_type_find_element_handle_event),
27209 (gst_type_find_element_chain), (gst_type_find_element_getrange):
27210 * gst/elements/gsttypefindelement.h:
27211 Set caps on all outgoing buffers, not just the first one.
27213 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
27215 * gst/elements/gsttypefindelement.c:
27216 (gst_type_find_element_have_type),
27217 (gst_type_find_element_check_set_buffer_caps),
27218 (gst_type_find_element_init), (stop_typefinding),
27219 (gst_type_find_element_handle_event),
27220 (gst_type_find_element_chain), (gst_type_find_element_getrange):
27221 * gst/elements/gsttypefindelement.h:
27222 Set caps on first outgoing buffer when we've found the type.
27224 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
27226 * docs/gst/gstreamer-docs.sgml:
27227 * docs/gst/gstreamer-sections.txt:
27228 * docs/gst/tmpl/gstscheduler.sgml:
27229 * docs/gst/tmpl/gstschedulerfactory.sgml:
27230 Remove some old cruft from docs.
27232 2005-07-31 Tim-Philipp Müller <tim at centricular dot net>
27235 Fix inline docs for GstPadLinkReturn.
27237 * gst/gststructure.c: (gst_structure_has_name):
27238 * gst/gststructure.h:
27239 * docs/gst/gstreamer-sections.txt:
27240 New API: gst_structure_has_name().
27242 2005-07-30 Tim-Philipp Müller <tim at centricular dot net>
27245 Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
27246 and _LARGEFILE_SOURCE in config.h as required. Do not
27247 export those flags in our .pc files any longer (#142209).
27249 Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
27251 * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
27252 (gst_file_sink_do_seek), (gst_file_sink_event),
27253 (gst_file_sink_get_current_offset), (gst_file_sink_render):
27254 Redo seek/tell calls with large file support in mind; add some
27255 debugging messages; add log message that tells us when large
27256 file support is unavailable or not enabled for some reason.
27258 * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
27259 Add log message that tells us when large file support
27260 is unavailable or not enabled for some reason.
27262 2005-07-29 Wim Taymans <wim@fluendo.com>
27264 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
27265 Added test for removing an element with ghostpad from a bin.
27266 Fixed test as current implementation does the right thing.
27268 * gst/gstghostpad.c: (gst_proxy_pad_class_init),
27269 (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
27270 (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
27271 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
27272 (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
27273 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
27274 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
27275 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
27276 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
27277 (gst_proxy_pad_get_target), (gst_proxy_pad_init),
27278 (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
27279 (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
27280 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
27281 (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
27282 (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
27283 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
27284 * gst/gstghostpad.h:
27285 Clean up ghostpads, remove properties for internal stuff.
27288 Prepare for switching targets, not all use cases work yet.
27290 2005-07-29 Wim Taymans <wim@fluendo.com>
27292 * docs/design/part-gstghostpad.txt:
27295 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
27296 (gst_bin_remove_func):
27297 Unlinking pads while holding the bin LOCK is not a good
27300 * gst/gstpad.c: (gst_pad_class_init),
27301 (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
27302 (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
27303 No prob setting template after creating the pad.
27305 2005-07-29 Jan Schmidt <thaytan@mad.scientist.com>
27307 * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
27308 (gst_bus_peek), (gst_bus_source_dispatch),
27309 (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
27310 (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
27311 gst_bus_poll may be called from other threads. Handle
27312 this nicely by not making poll_data disappear off the
27313 stack once gst_bus_poll returns.
27314 gst_bus_peek now increments the refcount on the returned
27317 2005-07-29 Wim Taymans <wim@fluendo.com>
27319 * docs/design/part-gstghostpad.txt:
27320 Overview of current GhostPad datastructures and use
27321 cases for changing the target.
27323 2005-07-28 Wim Taymans <wim@fluendo.com>
27325 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
27326 Added checks for hierarchy consistency whan adding linked
27329 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
27330 Added check to test element scheduling without bin/pipeline.
27332 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
27333 First add elements to bin, then link.
27335 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
27336 (gst_bin_remove_func):
27337 Unlink pads from elements added/removed from bin to maintain
27338 hierarchy consistency.
27340 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27342 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
27343 (gst_base_transform_handle_buffer):
27344 * gst/base/gstbasetransform.h:
27345 Remove broken delay_configure (fixes renegotiation of software
27346 scaling pipelines); remove some leftover printf()s.
27348 2005-07-28 Wim Taymans <wim@fluendo.com>
27350 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
27351 Added some more tests for wrong hierarchy
27353 * docs/design/part-overview.txt:
27356 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
27359 * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
27360 (gst_element_dispose):
27361 Some more cleanups.
27363 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
27364 (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
27365 (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
27366 (gst_pad_set_caps), (gst_pad_send_event):
27367 Check for correct hierarchy when linking pads. Moving to
27368 strict requirement for ghostpads when linking elements in
27372 Clean ups. Added WRONG_HIERARCHY return value.
27374 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27376 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
27377 Better debug if no transform is possible.
27379 2005-07-27 Wim Taymans <wim@fluendo.com>
27381 * docs/random/wtay/network-transp:
27382 Some old doc I had.
27384 2005-07-27 Wim Taymans <wim@fluendo.com>
27386 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
27387 (gst_dp_event_from_packet):
27388 Fix serialization of seek events.
27390 2005-07-27 Wim Taymans <wim@fluendo.com>
27392 * check/gst-libs/gdp.c: (GST_START_TEST):
27393 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
27394 Fix compilation and fix event serialization.
27396 2005-07-27 Wim Taymans <wim@fluendo.com>
27399 * docs/design/part-TODO.txt:
27400 * docs/design/part-events.txt:
27403 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
27404 (gst_base_sink_event), (gst_base_sink_do_sync),
27405 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
27406 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
27407 (gst_base_src_do_seek), (gst_base_src_event_handler),
27408 (gst_base_src_loop):
27409 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
27410 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
27411 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
27412 (gst_base_transform_event), (gst_base_transform_handle_buffer),
27413 (gst_base_transform_set_passthrough),
27414 (gst_base_transform_is_passthrough):
27415 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
27416 * gst/elements/gstfilesink.c: (gst_file_sink_event):
27422 * gst/gstelement.c: (gst_element_seek):
27423 * gst/gstelement.h:
27424 Update gst_element_seek.
27426 * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
27427 (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
27428 (gst_event_new_flush_start), (gst_event_new_flush_stop),
27429 (gst_event_new_eos), (gst_event_new_newsegment),
27430 (gst_event_parse_newsegment), (gst_event_new_tag),
27431 (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
27432 (gst_event_parse_qos), (gst_event_new_seek),
27433 (gst_event_parse_seek), (gst_event_new_navigation):
27435 Make GstEvent use GstStructure. Add parsing code, make sure the
27436 API is sufficiently generic.
27437 Mark possible directions of events and serialization.
27439 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
27440 (_gst_message_copy), (gst_message_new_segment_start),
27441 (gst_message_new_segment_done), (gst_message_new_custom),
27442 (gst_message_parse_segment_start),
27443 (gst_message_parse_segment_done):
27446 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
27447 (gst_pad_set_caps), (gst_pad_send_event):
27448 Update for new events.
27449 Catch events sent in wrong directions.
27451 * gst/gstqueue.c: (gst_queue_link_src),
27452 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
27453 (gst_queue_handle_src_query):
27458 Remove event code from this file.
27460 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
27461 (gst_dp_event_from_packet):
27464 2005-07-27 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27466 * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
27467 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
27468 (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
27469 Make debugging actually useful.
27471 2005-07-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27473 * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
27474 (gst_pad_fixate_caps):
27475 Implement default fixation once again, so that gst_pad_fixate()
27476 actually does anything at all. This probably needs to be some
27477 sort of a last resort, and use profile-based fixation first, but
27478 since that doesn't exist yet, this is the best we have. Fixes
27479 visualization in Totem.
27481 2005-07-22 Wim Taymans <wim@fluendo.com>
27483 * docs/design/part-events.txt:
27486 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
27487 (gst_base_sink_do_sync), (gst_base_sink_activate_push),
27488 (gst_base_sink_activate_pull):
27489 Some more comments.
27491 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
27492 (gst_fake_src_create):
27493 Fix handoff marshall.
27495 * gst/elements/gstidentity.c: (gst_identity_class_init),
27496 (gst_identity_transform_ip):
27497 We're a real inplace element.
27499 * gst/gstbus.c: (gst_bus_post):
27500 Added some comments.
27502 * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
27503 * tests/muxing/case1.c: (main):
27504 * tests/sched/dynamic-pipeline.c: (main):
27505 * tests/sched/interrupt1.c: (main):
27506 * tests/sched/interrupt2.c: (main):
27507 * tests/sched/interrupt3.c: (main):
27508 * tests/sched/runxml.c: (main):
27509 * tests/sched/sched-stress.c: (main):
27510 * tests/seeking/seeking1.c: (event_received), (main):
27511 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
27513 * tests/threadstate/threadstate3.c: (main):
27514 * tests/threadstate/threadstate4.c: (main):
27515 * tests/threadstate/threadstate5.c: (main):
27518 2005-07-21 Wim Taymans <wim@fluendo.com>
27520 * docs/design/part-seeking.txt:
27521 Some small additions.
27523 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
27524 (gst_base_sink_get_times), (gst_base_sink_do_sync),
27525 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
27526 * gst/base/gstbasesink.h:
27527 discont values are gint64, handle the math correctly.
27529 * gst/base/gstbasesrc.c: (gst_base_src_loop):
27530 Make the basesrc report error if the source pad is not linked.
27532 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
27533 (gst_queue_loop), (gst_queue_handle_src_query),
27534 (gst_queue_src_activate_push):
27535 Make queue collect data even if the srcpad is not linked.
27536 Start pushing out data as soon as it is linked.
27538 * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
27540 Added gst_flow_get_name() to ease error reporting.
27542 2005-07-20 Wim Taymans <wim@fluendo.com>
27544 * gst/gstmessage.c: (gst_message_new_segment_start),
27545 (gst_message_new_segment_done), (gst_message_parse_segment_start),
27546 (gst_message_parse_segment_done):
27547 * gst/gstmessage.h:
27548 Added a bunch of messages for advanced seeking.
27550 * gst/parse/grammar.y:
27551 * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
27552 (gst_dpman_state_changed):
27553 Fix some new-pad -> pad-added signals
27555 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27557 * docs/manual/appendix-porting.xml:
27558 * docs/pwg/appendix-porting.xml:
27559 Document new-pad/state-change signal renames and the FixedList
27562 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27564 * docs/manual/advanced-autoplugging.xml:
27565 * docs/manual/basics-helloworld.xml:
27566 * docs/manual/basics-pads.xml:
27567 * docs/random/ds/0.9-suggested-changes:
27568 * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
27569 * gst/gstelement.h:
27573 * gst/gststructure.c: (gst_structure_value_get_generic_type),
27574 (gst_structure_parse_array), (gst_structure_parse_value):
27575 * gst/gstvalue.c: (gst_type_is_fixed),
27576 (gst_value_list_prepend_value), (gst_value_list_append_value),
27577 (gst_value_list_get_size), (gst_value_list_get_value),
27578 (gst_value_transform_array_string), (gst_value_serialize_array),
27579 (gst_value_deserialize_array), (gst_value_intersect_array),
27580 (gst_value_is_fixed), (_gst_value_initialize):
27582 GstElement::new-pad -> pad-added, GstElement::state-change ->
27583 state-changed, GstValueFixedList -> GstValueArray, add format and
27584 flags as their own arguments in gst_element_seek() (should improve
27585 "bindeability"), remove function generators since they don't work
27586 under a whole bunch of compilers (they were deprecated already
27589 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27591 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
27592 (_gst_debug_register_funcptr):
27594 Fix illegal cast on some platforms (#309253).
27596 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27598 * gst/gstmessage.c: (gst_message_new_custom):
27599 * gst/gstmessage.h:
27600 Add _new_custom, make _new_application a macro to _new_custom.
27602 2005-07-20 Wim Taymans <wim@fluendo.com>
27604 * gst/base/gstbasesrc.c: (gst_base_src_init),
27605 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
27606 * gst/base/gstbasesrc.h:
27607 Add a gboolean to decide when to push out a discont.
27609 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
27610 (gst_queue_loop), (gst_queue_handle_src_query),
27611 (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
27612 (gst_queue_set_property), (gst_queue_get_property):
27615 * tests/threadstate/threadstate1.c: (main):
27616 Make a thread test compile and run... very silly..
27619 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27621 * docs/manual/appendix-porting.xml:
27622 Mention removal of libgstgconf-0.9.la and existence of gconf
27625 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27627 * docs/pwg/advanced-clock.xml:
27628 * docs/pwg/appendix-porting.xml:
27629 * docs/pwg/intro-preface.xml:
27630 * docs/pwg/other-base.xml:
27631 * docs/pwg/other-manager.xml:
27632 * docs/pwg/other-nton.xml:
27633 * docs/pwg/other-ntoone.xml:
27634 * docs/pwg/other-oneton.xml:
27635 * docs/pwg/pwg.xml:
27636 Document base classes, update sections of n-to-1 and 1-to-n (muxer,
27637 demuxer), remove n-to-n (was never written), fix some code examples
27638 and links and update the porting section to include all this.
27640 2005-07-19 Wim Taymans <wim@fluendo.com>
27642 * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
27643 (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
27644 (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
27645 (gst_queue_src_activate_push), (gst_queue_change_state),
27646 (gst_queue_get_property):
27648 Propagate GstFlowReturn more intelligently upstream and output
27649 an ERROR/EOS when streaming stopped due to fatal error.
27651 2005-07-19 Wim Taymans <wim@fluendo.com>
27653 * tools/gst-launch.c: (check_intr), (event_loop), (main):
27654 Don't block forever for the state change to complete, the
27655 pipeline already did with a sensible timeout.
27657 2005-07-19 Wim Taymans <wim@fluendo.com>
27659 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
27660 Make sure we never call the create function is we
27663 2005-07-19 Andy Wingo <wingo@pobox.com>
27665 * gst/parse/parse.l: Attempt to solve bug #172815.
27667 2005-07-19 Wim Taymans <wim@fluendo.com>
27669 * docs/design/part-clocks.txt:
27670 * docs/design/part-events.txt:
27671 * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
27672 Small docs updates.
27673 Only update the seeking values when we are not
27676 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
27678 * gst/base/gstbasesrc.c: (gst_base_src_loop):
27679 Oops, ignore the result of gst_pad_push_event here.
27681 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
27683 * gst/base/gstbasesrc.c: (gst_base_src_loop),
27684 (gst_base_src_activate_push):
27685 Send discont event from the loop function, as pads
27686 aren't activated yet in the activate_push handler.
27688 * gst/gstbin.c: (bin_bus_handler):
27689 Don't leak element name.
27691 2005-07-18 Andy Wingo <wingo@pobox.com>
27693 * configure.ac: Use AS_LIBTOOL_TAGS.
27695 2005-07-18 Wim Taymans <wim@fluendo.com>
27697 * docs/gst/gstreamer.types:
27698 Remove deleted types.
27700 2005-07-18 Wim Taymans <wim@fluendo.com>
27702 * check/elements/gstfakesrc.c: (GST_START_TEST):
27705 * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
27706 (init_popt_callback):
27708 * gst/gst_private.h:
27709 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
27710 (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
27713 * gst/gstconfig.h.in:
27714 * gst/gstelement.c: (gst_element_class_init),
27715 (gst_element_set_base_time), (gst_element_get_base_time),
27716 (iterator_fold_with_resync), (gst_element_change_state),
27717 (gst_element_dispose), (gst_element_get_bus):
27718 * gst/gstelement.h:
27719 * gst/gstelementfactory.h:
27720 * gst/gsterror.c: (_gst_core_errors_init):
27723 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
27725 * gst/gstinfo.c: (_gst_debug_init):
27726 * gst/gstmessage.c: (_gst_message_copy):
27727 * gst/gstmessage.h:
27728 * gst/gstminiobject.h:
27731 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
27732 (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
27735 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
27736 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
27737 (gst_pipeline_get_last_stream_time):
27738 * gst/gstpipeline.h:
27739 * gst/gstpluginfeature.h:
27741 * gst/gstscheduler.c:
27742 * gst/gstscheduler.h:
27743 * gst/gststructure.h:
27744 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
27745 (gst_task_finalize), (gst_task_func), (gst_task_create),
27746 (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
27747 (gst_task_stop), (gst_task_pause):
27749 * gst/gsttypefind.h:
27751 * gst/registries/gstlibxmlregistry.c: (load_feature),
27752 (gst_xml_registry_load), (gst_xml_registry_save_feature):
27753 * gst/registries/gstxmlregistry.c:
27754 (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
27755 * gst/schedulers/threadscheduler.c:
27756 * libs/gst/control/dparammanager.h:
27757 * tools/gst-inspect.c: (print_element_list),
27758 (print_plugin_features), (print_element_features):
27759 * tools/gst-xmlinspect.c: (print_element_list),
27760 (print_plugin_info), (main):
27761 Removed plugable schedulers.
27762 Removed Scheduler/Manager from elements.
27763 Removed gsttypes.h, rearranged includes.
27764 Removed dependency pad<->element, element<>pipeline, and
27765 various others, fix includes.
27766 implement gst_pad_get_parent() with gst_object_get_parent()
27767 Make GstTask sefcontained.
27768 Fix _get_state() on GstBin, it did not return ASYNC with a 0
27770 Fix endless loop in iterator_fold_with_resync.
27773 2005-07-18 Wim Taymans <wim@fluendo.com>
27779 2005-07-18 Wim Taymans <wim@fluendo.com>
27782 No more cothreads.h
27784 2005-07-18 Wim Taymans <wim@fluendo.com>
27788 Let's remove these.
27790 2005-07-18 Wim Taymans <wim@fluendo.com>
27792 * docs/design/part-dynamic.txt:
27793 * docs/design/part-events.txt:
27794 * docs/design/part-seeking.txt:
27795 Some more docs in the works.
27797 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
27798 (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
27799 (gst_base_transform_setcaps), (gst_base_transform_get_size),
27800 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
27801 (gst_base_transform_handle_buffer),
27802 (gst_base_transform_sink_activate_push),
27803 (gst_base_transform_src_activate_pull),
27804 (gst_base_transform_set_passthrough),
27805 (gst_base_transform_is_passthrough):
27808 * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
27811 * gst/gstevent.c: (gst_event_finalize):
27814 * gst/gstutils.c: (gst_element_unlink),
27815 (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
27816 (gst_pad_proxy_setcaps):
27818 Add _get_parent_element() to get a pads parent as an element.
27820 2005-07-18 Wim Taymans <wim@fluendo.com>
27822 * check/gst/gstbin.c: (GST_START_TEST):
27825 2005-07-18 Wim Taymans <wim@fluendo.com>
27827 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
27828 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
27829 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
27830 (gst_base_sink_event), (gst_base_sink_do_sync),
27831 (gst_base_sink_chain), (gst_base_sink_loop),
27832 (gst_base_sink_deactivate), (gst_base_sink_activate_push),
27833 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
27835 Fix logic for returning ASYNC when not prerolled.
27837 2005-07-18 Wim Taymans <wim@fluendo.com>
27839 * gst/gstqueue.c: (gst_queue_handle_sink_event):
27840 Fix nasty refcount bug.
27842 2005-07-16 Philippe Khalaf <burger@speedy.org>
27844 * gst/elements/gstfdsrc.c:
27845 * gst/elements/gstfdsrc.h:
27846 * gst/elements/gstelements.c:
27847 * gst/elements/Makefile.am:
27848 Ported fdsrc to 0.9.
27850 2005-07-16 Wim Taymans <wim@fluendo.com>
27852 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
27853 (gst_base_sink_do_sync):
27856 2005-07-16 Wim Taymans <wim@fluendo.com>
27858 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
27859 (gst_base_sink_event), (gst_base_sink_get_times),
27860 (gst_base_sink_do_sync), (gst_base_sink_change_state):
27861 * gst/base/gstbasesink.h:
27862 Store and use discont values when syncing buffers as described
27865 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
27866 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
27867 (gst_base_src_activate_push):
27868 Push discont event when starting.
27870 * gst/elements/gstidentity.c: (gst_identity_transform):
27873 * gst/gstbin.c: (gst_bin_change_state):
27874 Small cleanups in base_time distribution.
27876 * gst/gstelement.c: (gst_element_set_base_time),
27877 (gst_element_get_base_time), (gst_element_change_state):
27878 * gst/gstelement.h:
27879 Added methods for the base_time of the element.
27882 * gst/gstpipeline.c: (gst_pipeline_send_event),
27883 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
27884 (gst_pipeline_get_last_stream_time):
27885 * gst/gstpipeline.h:
27887 Handle seeking as described in design doc, remove stream_time
27889 Cleanups clock and stream_time selection code. Added accessors
27890 for the stream_time.
27893 2005-07-16 Andy Wingo <wingo@pobox.com>
27895 * gst/gsterror.c (_gst_core_errors_init): Use the magic word
27898 2005-07-16 Wim Taymans <wim@fluendo.com>
27900 * check/gst/gstbin.c: (GST_START_TEST):
27901 Make elements silent as the deep_notify refs the
27902 parent, which might make the test fail.
27904 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
27905 Don't hold the lock for too long.
27907 2005-07-16 Tim-Philipp Müller <tim at centricular dot net>
27909 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
27910 Don't unref the caps we passed to gst_caps_make_writable() after
27911 passing them. gst_caps_make_writable() will do that for us.
27913 2005-07-15 Andy Wingo <wingo@pobox.com>
27915 * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
27918 * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
27919 own marshalling function for the handoff signal. Properly type the
27920 buffer as a buffer. Fixes some warnings. Should do a more general
27922 (gst_identity_class_init): Plug into the right marshaller.
27924 2005-07-15 Wim Taymans <wim@fluendo.com>
27926 * docs/design/part-TODO.txt:
27927 * docs/design/part-clocks.txt:
27928 * docs/design/part-element-sink.txt:
27929 * docs/design/part-events.txt:
27930 * docs/design/part-gstpipeline.txt:
27931 Updated docs, mostly DISCONT related.
27933 2005-07-15 Tim-Philipp Müller <tim at centricular dot net>
27935 * docs/pwg/building-pads.xml:
27936 s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
27938 2005-07-15 Andy Wingo <wingo@pobox.com>
27940 * tools/gst-typefind.c: Update, add copyright block.
27942 * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
27943 Normalize and truncate caps before fixation.
27946 * gst/gstcaps.c (gst_caps_truncate): New function, destructively
27947 discards all but the first structure from its argument.
27949 2005-07-15 Wim Taymans <wim@fluendo.com>
27951 * gst/base/gstbasetransform.c: (gst_base_transform_init),
27952 (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
27953 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
27954 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
27955 (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
27956 (gst_base_transform_chain), (gst_base_transform_change_state),
27957 (gst_base_transform_set_passthrough),
27958 (gst_base_transform_is_passthrough):
27959 * gst/base/gstbasetransform.h:
27960 Make passthrough work using the bufferpools.
27961 Changed API a bit, subclasses have to write into a buffer
27962 provided by the base class.
27963 More debug info in nego functions.
27965 * gst/elements/gstidentity.c: (gst_identity_init),
27966 (gst_identity_transform):
27967 Port to new base class.
27969 2005-07-15 Wim Taymans <wim@fluendo.com>
27971 * gst/gstmessage.c: (gst_message_new_state_changed):
27972 * tools/gst-launch.c: (event_loop), (main):
27973 Totally dump messages in -launch with the -m option.
27974 Fix message name for State messages,
27976 2005-07-14 Wim Taymans <wim@fluendo.com>
27978 * gst/base/gstbasesrc.c: (gst_base_src_loop):
27979 Post error messages on errors.
27981 2005-07-14 Wim Taymans <wim@fluendo.com>
27983 * gst/gstcaps.c: (gst_caps_do_simplify):
27987 Define error for stream stopped.
27989 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
27990 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
27991 Do proper return values.
27993 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
27994 (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
27995 (gst_pad_get_range):
27996 Better return values.
27999 Reorganise return values, add macro to check for fatal errors.
28001 * gst/gstqueue.c: (gst_queue_chain):
28002 Return proper GstFlowReturn values,
28004 2005-07-14 Thomas Vander Stichele <thomas at apestaart dot org>
28006 * docs/gst/gstreamer-sections.txt:
28007 * docs/gst/gstreamer.types:
28008 * docs/gst/tmpl/gst.sgml:
28009 * docs/gst/tmpl/gstbasesink.sgml:
28010 * docs/gst/tmpl/gstbasesrc.sgml:
28011 * docs/gst/tmpl/gstbasetransform.sgml:
28012 * docs/gst/tmpl/gstbin.sgml:
28013 * docs/gst/tmpl/gstbuffer.sgml:
28014 * docs/gst/tmpl/gstcaps.sgml:
28015 * docs/gst/tmpl/gstclock.sgml:
28016 * docs/gst/tmpl/gstcompat.sgml:
28017 * docs/gst/tmpl/gstconfig.sgml:
28018 * docs/gst/tmpl/gstelement.sgml:
28019 * docs/gst/tmpl/gstelementdetails.sgml:
28020 * docs/gst/tmpl/gstelementfactory.sgml:
28021 * docs/gst/tmpl/gstenumtypes.sgml:
28022 * docs/gst/tmpl/gsterror.sgml:
28023 * docs/gst/tmpl/gstevent.sgml:
28024 * docs/gst/tmpl/gstfakesink.sgml:
28025 * docs/gst/tmpl/gstfakesrc.sgml:
28026 * docs/gst/tmpl/gstfilesink.sgml:
28027 * docs/gst/tmpl/gstfilesrc.sgml:
28028 * docs/gst/tmpl/gstfilter.sgml:
28029 * docs/gst/tmpl/gstformat.sgml:
28030 * docs/gst/tmpl/gstghostpad.sgml:
28031 * docs/gst/tmpl/gstimplementsinterface.sgml:
28032 * docs/gst/tmpl/gstindex.sgml:
28033 * docs/gst/tmpl/gstindexfactory.sgml:
28034 * docs/gst/tmpl/gstinfo.sgml:
28035 * docs/gst/tmpl/gstiterator.sgml:
28036 * docs/gst/tmpl/gstmacros.sgml:
28037 * docs/gst/tmpl/gstmemchunk.sgml:
28038 * docs/gst/tmpl/gstminiobject.sgml:
28039 * docs/gst/tmpl/gstobject.sgml:
28040 * docs/gst/tmpl/gstpad.sgml:
28041 * docs/gst/tmpl/gstpadtemplate.sgml:
28042 * docs/gst/tmpl/gstparse.sgml:
28043 * docs/gst/tmpl/gstpipeline.sgml:
28044 * docs/gst/tmpl/gstplugin.sgml:
28045 * docs/gst/tmpl/gstpluginfeature.sgml:
28046 * docs/gst/tmpl/gstquery.sgml:
28047 * docs/gst/tmpl/gstqueue.sgml:
28048 * docs/gst/tmpl/gstregistry.sgml:
28049 * docs/gst/tmpl/gstregistrypool.sgml:
28050 * docs/gst/tmpl/gstscheduler.sgml:
28051 * docs/gst/tmpl/gstschedulerfactory.sgml:
28052 * docs/gst/tmpl/gststructure.sgml:
28053 * docs/gst/tmpl/gstsystemclock.sgml:
28054 * docs/gst/tmpl/gsttaglist.sgml:
28055 * docs/gst/tmpl/gsttagsetter.sgml:
28056 * docs/gst/tmpl/gsttrace.sgml:
28057 * docs/gst/tmpl/gsttrashstack.sgml:
28058 * docs/gst/tmpl/gsttypefind.sgml:
28059 * docs/gst/tmpl/gsttypefindfactory.sgml:
28060 * docs/gst/tmpl/gsttypes.sgml:
28061 * docs/gst/tmpl/gsturihandler.sgml:
28062 * docs/gst/tmpl/gsturitype.sgml:
28063 * docs/gst/tmpl/gstutils.sgml:
28064 * docs/gst/tmpl/gstvalue.sgml:
28065 * docs/gst/tmpl/gstversion.sgml:
28066 * docs/gst/tmpl/gstxml.sgml:
28067 * docs/libs/tmpl/gstcontrol.sgml:
28068 * docs/libs/tmpl/gstdataprotocol.sgml:
28069 * docs/libs/tmpl/gstdparam.sgml:
28070 * docs/libs/tmpl/gstdplinint.sgml:
28071 * docs/libs/tmpl/gstdpman.sgml:
28072 * docs/libs/tmpl/gstdpsmooth.sgml:
28073 * docs/libs/tmpl/gstgetbits.sgml:
28074 * docs/libs/tmpl/gstunitconvert.sgml:
28075 * gst/base/gstpushsrc.c: (gst_push_src_get_type),
28076 (gst_push_src_base_init), (gst_push_src_class_init),
28077 (gst_push_src_init), (gst_push_src_create):
28078 * gst/base/gstpushsrc.h:
28079 * gst/elements/gstelements.c:
28080 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
28081 (gst_fake_sink_base_init), (gst_fake_sink_class_init),
28082 (gst_fake_sink_init), (gst_fake_sink_set_property),
28083 (gst_fake_sink_get_property), (gst_fake_sink_get_times),
28084 (gst_fake_sink_event), (gst_fake_sink_preroll),
28085 (gst_fake_sink_render), (gst_fake_sink_change_state):
28086 * gst/elements/gstfakesink.h:
28087 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
28088 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
28089 (gst_fake_src_base_init), (gst_fake_src_class_init),
28090 (gst_fake_src_init), (gst_fake_src_event_handler),
28091 (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
28092 (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
28093 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
28094 (gst_fake_src_create_buffer), (gst_fake_src_create),
28095 (gst_fake_src_start), (gst_fake_src_stop):
28096 * gst/elements/gstfakesrc.h:
28097 * gst/elements/gstfilesink.c: (_do_init),
28098 (gst_file_sink_base_init), (gst_file_sink_class_init),
28099 (gst_file_sink_init), (gst_file_sink_dispose),
28100 (gst_file_sink_set_location), (gst_file_sink_set_property),
28101 (gst_file_sink_get_property), (gst_file_sink_open_file),
28102 (gst_file_sink_close_file), (gst_file_sink_query),
28103 (gst_file_sink_event), (gst_file_sink_render),
28104 (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
28105 (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
28106 (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
28107 * gst/elements/gstfilesink.h:
28108 * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
28109 (gst_file_src_class_init), (gst_file_src_init),
28110 (gst_file_src_finalize), (gst_file_src_set_location),
28111 (gst_file_src_set_property), (gst_file_src_get_property),
28112 (gst_file_src_map_region), (gst_file_src_map_small_region),
28113 (gst_file_src_create_mmap), (gst_file_src_create_read),
28114 (gst_file_src_create), (gst_file_src_is_seekable),
28115 (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
28116 (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
28117 (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
28118 (gst_file_src_uri_handler_init):
28119 * gst/elements/gstfilesrc.h:
28120 more autistic cleanliness in functions/names/defines
28122 2005-07-13 Andy Wingo <wingo@pobox.com>
28124 * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
28125 source couldn't negotiate.
28127 * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
28131 * gst/gstutils.c (gst_element_link_pads_filtered): New old
28132 function. I am channeling Hades. Put your boots on suckers!!!
28134 2005-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
28136 * testsuite/caps/Makefile.am:
28137 * testsuite/caps/value_compare.c:
28138 * testsuite/caps/value_intersect.c:
28139 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
28140 move two testsuite apps over to the check dir
28142 2005-07-12 Wim Taymans <wim@fluendo.com>
28144 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
28145 Added more debug info in the negotiate process.
28147 * gst/gstmessage.h:
28148 Prepare for segment playback.
28150 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
28156 * tools/gst-launch.c: (main):
28157 NULL pipeline on errors.
28159 2005-07-12 Andy Wingo <wingo@pobox.com>
28161 * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
28162 not it comes from a malloc region. Make sure our copy gets freed.
28164 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
28166 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
28167 * check/gst/gstmessage.c: (GST_START_TEST):
28168 * check/gst/gststructure.c: (GST_START_TEST),
28169 (gst_structure_suite), (main):
28171 * gst/gstelement.c: (gst_element_message_full):
28172 clean up GError and debug string now that they get copied
28173 * gst/gstmessage.c: (gst_message_new_error),
28174 (gst_message_new_warning), (gst_message_parse_error),
28175 (gst_message_parse_warning):
28176 use GST_TYPE_G_ERROR for structure_new, and take copies of
28177 arguments, so that we don't mess up refcounting
28179 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
28181 * check/Makefile.am:
28182 add per-test valgrind targets
28183 * check/gst-libs/gdp.c: (GST_START_TEST),
28184 (gst_data_protocol_suite), (main):
28187 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
28189 * check/Makefile.am:
28190 instate more valgrindable tests
28191 * check/elements/gstfakesrc.c: (chain_func), (event_func),
28192 (GST_START_TEST), (fakesrc_suite):
28193 * check/gst/gstpad.c: (GST_START_TEST):
28194 * check/gst/gststructure.c: (GST_START_TEST):
28196 * docs/gst/tmpl/gstminiobject.sgml:
28197 * gst/gstpad.c: (gst_pad_finalize):
28198 fix the static mutex leak
28200 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
28202 * check/Makefile.am:
28203 add two more tests for valgrinding
28204 * check/gst/gstvalue.c: (GST_START_TEST):
28205 test refcount of deserialized buffer, found a leak
28206 * docs/gst/gstreamer-docs.sgml:
28207 * docs/gst/gstreamer-sections.txt:
28208 * docs/gst/gstreamer.types:
28209 * docs/gst/tmpl/gstminiobject.sgml:
28210 add miniobject to docs
28211 * gst/gstminiobject.c:
28213 * gst/gstvalue.c: (gst_value_deserialize_buffer),
28214 (gst_string_unwrap):
28215 fix a hard-to-find invalid write for one of the tests
28216 fix a leak for deserialized buffers
28218 2005-07-11 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28220 * docs/pwg/advanced-events.xml:
28221 * docs/pwg/advanced-request.xml:
28222 * docs/pwg/advanced-scheduling.xml:
28223 * docs/pwg/appendix-porting.xml:
28224 * docs/pwg/building-boiler.xml:
28225 * docs/pwg/intro-preface.xml:
28226 * docs/pwg/other-ntoone.xml:
28227 Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
28228 of example code and explanation for pad activation, loop() and
28229 getrange() functions and a bit more. Remove old comments pointing
28231 * examples/pwg/Makefile.am:
28232 Add loop/getrange examples.
28234 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
28237 check for valgrind binary + some fixes
28239 valgrind suppressions for the tests
28240 * check/Makefile.am:
28241 add a valgrind: target that valgrinds the unit tests
28242 * check/gst/gst.c: (GST_START_TEST), (gst_suite):
28243 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
28244 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
28245 * check/gst/gstghostpad.c:
28247 * check/gst/gstdata.c:
28249 * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
28250 (thread_unref), (gst_mini_object_suite), (main):
28252 * gst/gst.c: (gst_deinit):
28254 add a method to clean up.
28255 * gst/gstsystemclock.c: (gst_system_clock_dispose),
28256 (gst_system_clock_obtain):
28257 allow for disposing the system clock.
28258 * tools/gst-launch.c: (main):
28261 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
28263 * docs/gst/tmpl/gstbasesrc.sgml:
28264 * docs/gst/tmpl/gstfakesrc.sgml:
28265 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
28266 (gst_base_src_init), (gst_base_src_set_property),
28267 (gst_base_src_get_property), (gst_base_src_get_range),
28268 (gst_base_src_start):
28269 * gst/base/gstbasesrc.h:
28270 add num-buffers property
28271 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
28272 (gst_fakesrc_init), (gst_fakesrc_set_property),
28273 (gst_fakesrc_get_property), (gst_fakesrc_create),
28274 (gst_fakesrc_start):
28275 remove num-buffers property
28277 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
28279 * docs/gst/gstreamer-sections.txt:
28280 * docs/gst/tmpl/gstbasesink.sgml:
28281 * docs/gst/tmpl/gstbasesrc.sgml:
28282 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
28283 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
28284 (gst_base_sink_finalize), (gst_base_sink_set_clock),
28285 (gst_base_sink_set_property), (gst_base_sink_get_property),
28286 (gst_base_sink_handle_object), (gst_base_sink_event),
28287 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
28288 (gst_base_sink_handle_buffer), (gst_base_sink_chain),
28289 (gst_base_sink_loop), (gst_base_sink_deactivate),
28290 (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
28291 (gst_base_sink_change_state):
28292 * gst/base/gstbasesink.h:
28293 * gst/base/gstbasesrc.h:
28294 * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
28295 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
28296 (gst_filesink_init):
28297 more macro splitting
28299 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
28301 * gst/gstelement.c: (gst_element_get_bus):
28303 * tools/gst-launch.c: (check_intr), (event_loop):
28306 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
28308 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
28311 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
28313 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
28314 (gst_base_src_finalize):
28315 add finalize method and clean up properly
28316 * gst/gstpipeline.c: (gst_pipeline_dispose):
28319 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
28321 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
28323 add more things to check
28324 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
28325 * gst/gstelement.c:
28328 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
28330 * check/elements/gstfakesrc.c: (chain_func), (event_func),
28331 (GST_START_TEST), (fakesrc_suite):
28332 * check/gst-libs/gdp.c: (GST_START_TEST):
28333 * check/gst/gst.c: (GST_START_TEST):
28334 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
28335 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
28336 * check/gst/gstbus.c: (GST_START_TEST):
28337 * check/gst/gstcaps.c: (GST_START_TEST):
28338 * check/gst/gstdata.c: (GST_START_TEST):
28339 * check/gst/gstelement.c: (GST_START_TEST):
28340 * check/gst/gstghostpad.c: (GST_START_TEST):
28341 * check/gst/gstiterator.c: (GST_START_TEST):
28342 * check/gst/gstmessage.c: (GST_START_TEST):
28343 * check/gst/gstobject.c: (GST_START_TEST):
28344 * check/gst/gstpad.c: (GST_START_TEST):
28345 * check/gst/gststructure.c: (GST_START_TEST):
28346 * check/gst/gstsystemclock.c: (GST_START_TEST),
28347 (gst_systemclock_suite):
28348 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
28349 * check/gst/gstvalue.c: (GST_START_TEST):
28350 * check/pipelines/cleanup.c: (GST_START_TEST):
28351 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
28352 * check/states/sinks.c: (GST_START_TEST):
28353 * check/gstcheck.c: (gst_check_init):
28354 * check/gstcheck.h:
28355 add debugging category
28356 use GST_START_TEST now, so we add a debug line
28358 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
28360 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
28361 add test for state change message on a bin
28362 * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
28364 * gst/gstbin.c: (gst_bin_init):
28365 * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
28366 * gst/gstelement.c: (gst_element_post_message),
28367 (gst_element_set_state):
28368 * gst/gstelementfactory.c: (gst_element_factory_create):
28369 * gst/gstmessage.c: (gst_message_new):
28370 * gst/gstscheduler.c:
28371 various debugging additions and cleanups
28373 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
28375 * check/Makefile.am:
28376 * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
28378 adding tests for elements
28379 * gst/gstelement.c: (gst_element_dispose):
28381 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
28383 * gst/registries/gstlibxmlregistry.c: (load_feature):
28384 plug more leaks. A simple gst_init() now is leakfree, yay.
28386 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
28388 * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
28389 (gst_xml_registry_load):
28390 plug another memleak
28392 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
28395 use GST_SET_ERROR_CFLAGS
28396 * docs/faq/cvs.xml:
28397 change to ERROR_CFLAGS
28399 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
28402 make GST_ERROR_CFLAGS overridable and re-enable Werror
28403 * docs/faq/cvs.xml:
28404 add a note about error CFLAGS
28405 * docs/gst/tmpl/gstfakesrc.sgml:
28406 * gst/elements/gstfakesrc.c:
28407 comment out some unused code
28408 * gst/gst.c: (split_and_iterate):
28409 * gst/registries/gstlibxmlregistry.c: (load_pad_template),
28413 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
28415 * common/Makefile.am:
28416 * common/gtk-doc.mak:
28417 * docs/gst/Makefile.am:
28418 factor out gtk-doc.mak
28420 2005-07-07 Wim Taymans <wim@fluendo.com>
28422 * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
28423 (gst_thread_scheduler_dispose):
28424 Unlock the STREAM_LOCK completely.
28426 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
28428 * check/Makefile.am:
28429 * check/elements/.cvsignore:
28430 * check/elements/gstfakesrc.c: (chain_func), (event_func),
28431 (START_TEST), (fakesrc_suite), (main):
28432 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
28433 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
28434 (gst_fakesrc_create), (gst_fakesrc_start):
28435 * gst/elements/gstfakesrc.h:
28436 adding a first element test
28438 2005-07-07 Andy Wingo <wingo@pobox.com>
28440 * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
28443 2005-07-07 Wim Taymans <wim@fluendo.com>
28449 2005-07-07 Wim Taymans <wim@fluendo.com>
28451 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
28452 (gst_base_src_default_negotiate), (gst_base_src_negotiate):
28453 Allow subclasses to implement their own negotiation.
28455 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
28457 * docs/design/part-gstbin.txt:
28458 * docs/design/part-gstpipeline.txt:
28459 Update design notes to reflect the movement of
28460 responsibility for bus handling from GstPipeline to
28463 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
28466 Remove unnecessary queue2/3/4 examples.
28468 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
28470 * examples/Makefile.am:
28471 * examples/helloworld/helloworld.c: (event_loop), (main):
28472 * examples/queue/queue.c: (event_loop), (main):
28473 * examples/queue2/queue2.c: (main):
28474 Update a couple of the examples to work again.
28476 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
28477 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
28478 Spelling corrections and extra debug.
28480 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
28481 (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
28482 (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
28484 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
28485 (gst_pipeline_change_state):
28486 * gst/gstpipeline.h:
28487 Move the bus handler for children to the GstBin, and create a
28488 separate bus for receiving messages from children to the one the
28489 bus sends 'upwards' on.
28491 2005-07-06 Wim Taymans <wim@fluendo.com>
28494 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
28495 (gst_base_sink_handle_object), (gst_base_sink_loop),
28496 (gst_base_sink_change_state):
28497 * gst/base/gstbasesink.h:
28498 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
28499 (gst_base_src_init), (gst_base_src_setcaps),
28500 (gst_base_src_getcaps), (gst_base_src_loop),
28501 (gst_base_src_default_negotiate), (gst_base_src_negotiate),
28502 (gst_base_src_start), (gst_base_src_change_state):
28503 * gst/base/gstbasesrc.h:
28504 Make basesrc negotiate.
28505 Handle the case where preroll fails in basesink.
28508 2005-07-06 Wim Taymans <wim@fluendo.com>
28510 * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
28511 Implement the fixate function.
28512 Clean up acceptcaps.
28514 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28516 * docs/pwg/building-filterfactory.xml:
28517 * docs/pwg/pwg.xml:
28518 Remove never-written filter-factory chapter; I'll add the various
28519 base classes to part 4 ("other element types") later on.
28521 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28523 * docs/pwg/advanced-negotiation.xml:
28524 * docs/pwg/building-boiler.xml:
28525 * docs/pwg/building-pads.xml:
28526 * docs/pwg/pwg.xml:
28527 * examples/pwg/Makefile.am:
28528 Add a chapter on caps negotiation, simplify the original code
28529 samples a bit w.r.t. caps negotiation, add link to the advanced
28530 section. Add a bunch of examples showing different use cases of
28531 different types of caps negotiation. Upstream renegotiation isn't
28532 fully documented yet since nobody knows how that works.
28534 2005-07-06 Thomas Vander Stichele <thomas at apestaart dot org>
28536 * check/gst/gstpad.c:
28537 * check/gstcheck.c:
28538 * gst/gstpad.c: (gst_pad_get_internal_links_default):
28539 if pad has no parent, return NULL as list of internal links
28541 2005-07-05 Andy Wingo <wingo@pobox.com>
28543 * gst/elements/gstfilesrc.c:
28544 * gst/elements/gstfakesrc.c:
28545 * gst/base/gstpushsrc.c:
28546 * gst/base/gstbasesrc.h:
28547 * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
28549 2005-07-05 Stefan Kost <ensonic@users.sf.net>
28552 better report generation target (lcov needs a patch)
28554 2005-07-05 Andy Wingo <wingo@pobox.com>
28556 * gst/elements, testsuite: Null if we got it...
28558 2005-07-05 Wim Taymans <wim@fluendo.com>
28561 * libs/gst/dataprotocol/Makefile.am:
28562 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
28563 * libs/gst/dataprotocol/dataprotocol.h:
28564 * pkgconfig/Makefile.am:
28565 * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
28566 * pkgconfig/gstreamer-dataprotocol.pc.in:
28567 Ported dataprotol to 0.9.
28568 Added pkgconfig files.
28570 2005-07-05 Andy Wingo <wingo@pobox.com>
28572 * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
28573 Default to returning TRUE for the case when tranform_caps returns
28574 a fixed caps, like for identity or volume.
28576 * check/gst/gstbus.c (pound_bus_with_messages):
28577 * check/gst/gstmessage.c (START_TEST):
28578 * check/pipelines/simple_launch_lines.c (got_handoff): Application
28579 message API change.
28581 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
28582 logic weaks here: always run transform_caps, trying passthrough
28583 operation only if the original caps intersects with the transform.
28585 * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
28586 source and sink caps.
28588 * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
28589 Intersect the peer caps with the pad template before going into
28591 (gst_base_transform_transform_caps): More debugging.
28593 * gst/gstmessage.h (gst_message_new_application): Take a GstObject
28596 2005-07-04 Edward Hervey <edward@fluendo.com>
28600 (gst_pad_add_*_probe): now returns the signal id for better wrapping
28603 2005-07-04 Andy Wingo <wingo@pobox.com>
28605 * check/gst/gstpad.c: Only set explicit caps on pads.
28607 2005-07-01 Andy Wingo <wingo@pobox.com>
28609 * tests/network-clock.scm: Commentary update.
28611 * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
28612 Didn't really make sense, not implementable with basetransform,
28614 (gst_identity_transform): Unref inbuf via make_writable. Feeble
28615 attempt at implementing the sync property, needs an unlock method.
28617 * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
28618 New func, by default returns the same caps (the identity
28620 (gst_base_transform_getcaps): Uses transform_caps to return
28621 something sensible.
28622 (gst_base_transform_setcaps): Complicated logic to get caps on
28623 both pads, even if they are different, and to call set_caps once
28624 for every time both pads get their caps set.
28625 (gst_base_transform_handle_buffer): Give the ref to the transform
28626 function. Allows in-place modification of the buffer.
28628 * gst/base/gstbasetransform.h (transform_caps): New class method.
28629 Given caps on one side, what can I do on the other.
28630 (set_caps): Take two caps, one for each side of the element.
28633 * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
28634 caps in place. This is safe because we can check the mutability of
28635 the caps, and a good idea because fixate functions are just called
28636 as a matter of last resort. (Not actually implemented.)
28637 (gst_pad_set_caps): If the caps we're setting is actually the same
28638 as the existing pad caps, just update the pointer without calling
28639 setcaps. Assert that caps is either NULL or fixed, as per the
28642 * gst/gstghostpad.c: Update for fixate changes.
28644 2005-07-02 Andy Wingo <wingo@pobox.com>
28647 * gst/gstcaps.h (gst_static_caps_get): Not const return, having
28648 two refcounts makes it immutable, which is enough. Doc more.
28650 2005-07-02 Jan Schmidt <thaytan@mad.scientist.com>
28652 * gst/gstpad.c: (gst_pad_emit_have_data_signal):
28653 Put the mini_object into GValue as a mini_object,
28654 not a gpointer, since that's how we declared
28657 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28659 * examples/pwg/Makefile.am:
28660 Fix buildbot again.
28662 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28664 * docs/pwg/building-testapp.xml:
28666 * examples/pwg/Makefile.am:
28669 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28672 * examples/Makefile.am:
28673 * examples/pwg/Makefile.am:
28674 * examples/pwg/extract.pl:
28675 Enable building the PWG examples.
28676 * docs/pwg/advanced-interfaces.xml:
28677 Add URI interface stub.
28678 * docs/pwg/advanced-types.xml:
28679 * docs/pwg/other-autoplugger.xml:
28680 * docs/pwg/appendix-porting.xml:
28681 * docs/pwg/pwg.xml:
28682 Add porting guide (mostly stubs), remove autoplugging (see ADM).
28683 * docs/pwg/building-boiler.xml:
28684 * docs/pwg/building-chainfn.xml:
28685 * docs/pwg/building-pads.xml:
28686 * docs/pwg/building-props.xml:
28687 * docs/pwg/building-state.xml:
28688 * docs/pwg/building-testapp.xml:
28689 Update the building-*.xml parts for 0.9 changes. All examples
28690 code blocks compile in examples/pwg/*.
28692 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28694 * docs/manual/advanced-autoplugging.xml:
28695 * docs/manual/appendix-checklist.xml:
28696 * docs/manual/appendix-integration.xml:
28697 * docs/manual/highlevel-components.xml:
28698 Fix playbin/decodebin examples, update docs a bit, mention bus
28699 instead of signals in various places, mention kmplayer and
28700 kaffeine since they have a working GStreamer backend in the KDE
28703 2005-06-30 Wim Taymans <wim@fluendo.com>
28706 * docs/design/draft-ghostpads.txt:
28707 * docs/design/draft-push-pull.txt:
28708 * docs/design/draft-query.txt:
28709 * docs/design/part-TODO.txt:
28710 * docs/design/part-query.txt:
28711 Added CHANGES-0.9 doc, updated status of other docs.
28716 2005-06-30 Wim Taymans <wim@fluendo.com>
28718 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
28719 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
28720 (gst_base_sink_change_state):
28721 * gst/base/gstbasesink.h:
28722 Some tweaks, only EOS and a buffer complete a preroll.
28724 2005-06-30 Andy Wingo <wingo@pobox.com>
28726 * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
28727 activate_push down to the internal pad as well.
28729 2005-06-30 Torsten Schoenfeld <kaffeetisch@gmx.de>
28731 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28733 * gst/gsttaginterface.c:
28734 Some documentation fixes (#307394 and #307397).
28736 2005-06-30 Antoine Tremblay <hexa00@gmail.com>
28738 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28740 * gst/gstvalue.c: (gst_value_intersect_list):
28741 Fix memleak (#309125).
28743 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28745 * docs/manual/advanced-dataaccess.xml:
28746 Fix fakesrc example to compile; doesn't work, bug somewhere...?
28747 * docs/manual/basics-pads.xml:
28748 Add reference for filtered caps to above chapter.
28750 2005-06-30 Wim Taymans <wim@fluendo.com>
28752 * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
28753 (gst_bin_change_state):
28755 Lame attempt at making the state change function a bit
28758 2005-06-30 Wim Taymans <wim@fluendo.com>
28760 * docs/design/part-clocks.txt:
28761 * docs/design/part-element-sink.txt:
28762 * docs/design/part-events.txt:
28763 * docs/design/part-preroll.txt:
28764 * docs/design/part-states.txt:
28765 Some more tweeks and additions to the docs.
28767 2005-06-30 Wim Taymans <wim@fluendo.com>
28769 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
28770 (default_have_data), (gst_pad_class_init), (gst_pad_init),
28771 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
28772 (gst_pad_check_pull_range), (gst_pad_get_range),
28773 (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
28775 * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
28776 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
28777 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
28778 (gst_pad_remove_buffer_probe):
28779 Removed atomic operations, use existing LOCK.
28780 Move exception handling out of main code path.
28782 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28784 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
28785 (silly_return_true_function), (gst_pad_class_init),
28786 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
28787 (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
28788 (gst_pad_send_event):
28789 Fix accumulator, add default value by using _emitv() instead
28790 of _emit() for signal emission.
28792 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28794 * docs/manual/advanced-dataaccess.xml:
28795 * examples/manual/Makefile.am:
28797 * gst/gstpad.c: (_gst_do_pass_data_accumulator):
28800 2005-06-29 Tim-Philipp Müller <tim at centricular dot net>
28802 * gst/elements/gstfilesink.c: (gst_filesink_render):
28803 Simplify code so that we don't have to handle short
28804 writes and return GST_FLOW_ERROR if an error occured.
28806 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28808 * docs/gst/gstreamer-docs.sgml:
28809 Remove probes more.
28811 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28813 * docs/gst/gstreamer-sections.txt:
28814 * docs/gst/tmpl/gstpad.sgml:
28815 * docs/gst/tmpl/gstprobe.sgml:
28817 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
28818 (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
28819 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
28820 (gst_pad_push_event), (gst_pad_send_event):
28822 * gst/gstutils.c: (gst_pad_add_data_probe),
28823 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
28824 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
28825 (gst_pad_remove_buffer_probe):
28827 Remove old probes, add new g-signal-based probes and some utility
28830 2005-06-29 Edward Hervey <edward@fluendo.com>
28832 * gst/gstelementfactory.c:
28835 Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
28836 the definition to the header file.
28838 2005-06-29 Andy Wingo <wingo@pobox.com>
28840 * docs/gst/Makefile.am (scan-build.stamp): Totally only check
28841 plugins from the source directory.
28843 2005-06-29 Wim Taymans <wim@fluendo.com>
28845 * docs/gst/tmpl/gstbuffer.sgml:
28846 * docs/gst/tmpl/gstclock.sgml:
28847 Some fixings for blantently wrong text.
28849 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
28851 * check/Makefile.am:
28852 * gst/gst.c: (add_path_func), (init_pre):
28853 * gst/gstregistry.c: (gst_registry_add_path):
28854 add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
28855 only scan the GST_PLUGIN_PATH locations, and not add
28858 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
28860 * docs/gst/gstreamer-sections.txt:
28861 * docs/gst/tmpl/gstbasesrc.sgml:
28862 * gst/gstelement.c:
28863 * gst/gstelement.h:
28868 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28870 * docs/manual/advanced-autoplugging.xml:
28871 Fix autoplugging example.
28873 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28875 * docs/manual/advanced-autoplugging.xml:
28876 * docs/manual/mime-world.fig:
28877 Try to get autoplugging working, fix type detection. Fix text
28878 in hello-world image.
28880 2005-06-29 Wim Taymans <wim@fluendo.com>
28882 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
28883 (gst_base_sink_change_state):
28887 map SIGNAL and BROADCAST to the right function.
28890 Remove redundant braces.
28892 * gst/gstpad.c: (gst_pad_set_caps):
28893 Don't call setcaps function when reseting caps to NULL.
28895 * gst/gstsystemclock.c: (gst_system_clock_dispose),
28896 (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
28897 (gst_system_clock_id_unschedule):
28898 Use BROADCAST as this is what we do.
28900 2005-06-29 Wim Taymans <wim@fluendo.com>
28902 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
28903 We are actually prerolling before commiting the state
28906 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28908 * docs/manual/advanced-clocks.xml:
28909 * docs/manual/advanced-interfaces.xml:
28910 * docs/manual/advanced-metadata.xml:
28911 * docs/manual/advanced-position.xml:
28912 * docs/manual/advanced-schedulers.xml:
28913 * docs/manual/advanced-threads.xml:
28914 * docs/manual/appendix-porting.xml:
28915 * docs/manual/basics-bins.xml:
28916 * docs/manual/basics-bus.xml:
28917 * docs/manual/basics-elements.xml:
28918 * docs/manual/basics-helloworld.xml:
28919 * docs/manual/basics-pads.xml:
28920 * docs/manual/highlevel-components.xml:
28921 * docs/manual/manual.xml:
28922 * docs/manual/thread.fig:
28923 Update (until threads/scheduling) Application Development Manual;
28924 remove GstThread, add GstBus, add simple porting checklist, add
28925 documentation for tag writing, clocks, make all examples until this
28926 part compile and run.
28927 * examples/manual/Makefile.am:
28928 Update from changes to Application Development Manual; add bus
28929 example, remove thread example.
28931 2005-06-28 Wim Taymans <wim@fluendo.com>
28933 * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
28934 (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
28935 (gst_bus_source_dispatch):
28936 Add debugging messages.
28937 Make internal methods static.
28938 Handle the case where the bus is flushed in the handler.
28940 * gst/gstelement.c: (gst_element_get_bus):
28941 Fix refcount in _get_bus();
28943 * gst/gstpipeline.c: (gst_pipeline_change_state),
28944 (gst_pipeline_get_clock_func):
28945 Clock refcounting fixes.
28946 Handle the case where preroll timed out more gracefully.
28948 * gst/gstsystemclock.c: (gst_system_clock_dispose):
28949 Clean up the internal thread in dispose. This is needed
28950 for subclasses that actually get disposed.
28952 * gst/schedulers/threadscheduler.c:
28953 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
28954 (gst_thread_scheduler_dispose):
28955 Free thread pool in dispose.
28957 2005-06-28 Andy Wingo <wingo@pobox.com>
28959 * tests/network-clock-utils.scm (debug, print-event): New utils.
28961 * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
28962 (*packet-loss*): Unified loss probability.
28963 (network-time): Report out-of-band events.
28965 * tests/plot-data: Add support for out-of-band events. Hack it
28966 into this script instead of passing it down the pipe; should fix
28969 2005-06-28 Wim Taymans <wim@fluendo.com>
28971 * docs/gst/gstreamer.types:
28972 * docs/gst/tmpl/gstbasesrc.sgml:
28973 * docs/gst/tmpl/gstpad.sgml:
28976 2005-06-28 Wim Taymans <wim@fluendo.com>
28978 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
28979 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
28980 (gst_proxy_pad_do_fixatecaps):
28981 Correctly proxy the check_pull_range function.
28983 2005-06-28 Andy Wingo <wingo@pobox.com>
28985 * tests/network-clock.scm: Removed need for slib.
28987 2005-06-28 Wim Taymans <wim@fluendo.com>
28989 * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
28990 (gst_basesink_preroll_queue_flush):
28991 * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
28992 * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
28993 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
28994 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
28995 (gst_proxy_pad_set_property):
28998 * gst/gstqueue.c: (gst_queue_init):
28999 The deprecated pad loop function is removed now.
29001 2005-06-28 Andy Wingo <wingo@pobox.com>
29003 * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
29004 New parameters, simulate network packet loss.
29006 * tests/network-clock-utils.scm: Initialize the RNG.
29008 2005-06-28 Wim Taymans <wim@fluendo.com>
29010 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
29011 (gst_basesink_event), (gst_basesink_deactivate):
29012 Flushing the preroll queue always needs to unlock the waiters.
29014 2005-06-28 Edward Hervey <edward@fluendo.com>
29016 * gst/gstpipeline.c: (gst_pipeline_send_event):
29017 Wheen a seek was successful on a pipeline, set the stream_time to the
29018 seek offset in order to have a synchronized stream_time.
29020 2005-06-28 Wim Taymans <wim@fluendo.com>
29022 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
29023 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
29024 (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
29025 (gst_proxy_pad_do_fixatecaps):
29026 Call wrapper function instead of just calling the function
29027 pointers. This takes care of any locking and whatmore.
29029 2005-06-28 Wim Taymans <wim@fluendo.com>
29031 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
29032 (gst_pad_pull_range):
29034 CONNECTED -> LINKED.
29036 2005-06-28 Andy Wingo <wingo@pobox.com>
29038 * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
29039 source-munging commit!!!
29041 * gst/gstobject.c (gst_object_unref, gst_object_ref)
29042 (gst_object_sink): Take gpointer arguments, not GstObject --
29043 avoids casts. Like GLib.
29045 * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
29048 2005-06-27 Andy Wingo <wingo@pobox.com>
29050 * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
29053 * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
29054 returns a sorted copy of the trace list.
29055 (gst_alloc_trace_print_live): New API, only prints traces with
29056 live objects. Sort the list.
29057 (gst_alloc_trace_print_all): Sort the list.
29058 (gst_alloc_trace_print): Align columns.
29060 * gst/elements/gstttypefindelement.c:
29061 * gst/elements/gsttee.c:
29062 * gst/base/gstbasesrc.c:
29063 * gst/base/gstbasesink.c:
29064 * gst/base/gstbasetransform.c:
29065 * gst/gstqueue.c: Adapt for pad activation changes.
29067 * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
29069 (gst_pipeline_dispose): Drop ref on sched.
29071 * gst/gstpad.c (gst_pad_init): Set the default activate func.
29072 (gst_pad_activate_default): Push mode by default.
29073 (pre_activate_switch, post_activate_switch): New stubs, things to
29074 do before and after switching activation modes on pads.
29075 (gst_pad_set_active): Take a boolean and not a mode, dispatch to
29076 the pad's activate function to choose which mode to activate.
29077 Shortcut on deactivation and call the right function directly.
29078 (gst_pad_activate_pull): New API, (de)activates a pad in pull
29080 (gst_pad_activate_push): New API, same for push mode.
29081 (gst_pad_set_activate_function)
29082 (gst_pad_set_activatepull_function)
29083 (gst_pad_set_activatepush_function): Setters for new API.
29085 * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
29086 Trace all miniobjects.
29087 (gst_mini_object_make_writable): Unref the arg if we copy, like
29088 gst_caps_make_writable.
29090 * gst/gstmessage.c (_gst_message_initialize): No trace init.
29092 * gst/gstghostpad.c (gst_proxy_pad_do_activate)
29093 (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
29094 Adapt for new pad API.
29096 * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
29098 * gst/gstelement.h:
29099 * gst/gstelement.c (gst_element_iterate_src_pads)
29100 (gst_element_iterate_sink_pads): New API functions.
29102 * gst/gstelement.c (iterator_fold_with_resync): New utility,
29103 should fold into gstiterator.c in some form.
29104 (gst_element_pads_activate): Simplified via use of fold and
29105 delegation of decisions to gstpad->activate.
29107 * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
29110 * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
29111 class once in init, like gstmessage. Didn't run into this issue
29112 but it seems correct. Don't initialize a trace, gstminiobject does
29115 * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
29116 test, runs fakesrc ! fakesink, stopping on ::handoff via a message
29118 (assert_live_count): New util function, uses alloc traces to check
29121 * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
29122 To be modified when unlink drops the internal pad.
29124 2005-06-27 Wim Taymans <wim@fluendo.com>
29126 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
29127 (gst_bin_change_state):
29128 Cleanup the get_state() function a little, make sure it
29129 iterates the same set of elements.
29130 Added stub iterate_state_order().
29132 2005-06-27 Thomas Vander Stichele <thomas at apestaart dot org>
29134 * docs/gst/gstreamer-docs.sgml:
29135 * docs/gst/gstreamer-sections.txt:
29136 * docs/gst/gstreamer.types:
29137 * docs/gst/tmpl/gstbasesink.sgml:
29138 * docs/gst/tmpl/gstbasesrc.sgml:
29139 * docs/gst/tmpl/gstbasetransform.sgml:
29140 * docs/gst/tmpl/gstelement.sgml:
29141 * docs/gst/tmpl/gstiterator.sgml:
29142 * gst/base/gstbasesrc.c:
29143 * gst/base/gstbasesrc.h:
29144 * gst/base/gstbasetransform.h:
29145 * gst/gstelement.c:
29146 * gst/gstiterator.h:
29147 adding basetransform and iterator docs
29149 2005-06-27 Andy Wingo <wingo@pobox.com>
29151 * docs/design/part-activation.txt: Notes on how activation should
29152 work -- not quite implemented yet.
29154 2005-06-25 Wim Taymans <wim@fluendo.com>
29156 * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
29157 At least get the chain function correct, needs more
29160 2005-06-25 Wim Taymans <wim@fluendo.com>
29162 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
29163 (gst_basesink_handle_object), (gst_basesink_event),
29164 (gst_basesink_do_sync), (gst_basesink_handle_event),
29165 (gst_basesink_change_state):
29167 Right, two problems here: ghostpads don't take locks and
29168 glib _rec_mutex_lock_full() with depth==0 still locks.
29169 Catch illegal locking and g_warn them.
29171 2005-06-25 Wim Taymans <wim@fluendo.com>
29173 * check/states/sinks.c: (START_TEST), (gst_object_suite):
29174 Have to check for completion now...
29176 2005-06-25 Wim Taymans <wim@fluendo.com>
29178 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
29179 (gst_basesink_handle_object), (gst_basesink_event),
29180 (gst_basesink_do_sync), (gst_basesink_handle_event),
29181 (gst_basesink_change_state):
29183 Unlock STREAM_LOCK whatever the recursion was.
29185 2005-06-25 Wim Taymans <wim@fluendo.com>
29187 * gst/base/gstbasesink.c: (gst_basesink_set_property),
29188 (gst_basesink_preroll_queue_empty),
29189 (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
29190 (gst_basesink_event), (gst_basesink_do_sync),
29191 (gst_basesink_handle_event), (gst_basesink_handle_buffer),
29192 (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
29193 (gst_basesink_change_state):
29194 Reworked the base sink, handle event and buffer serialisation
29195 correctly and removed possible deadlock.
29196 Handle EOS correctly.
29198 2005-06-25 Wim Taymans <wim@fluendo.com>
29200 * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
29201 (gst_pipeline_change_state):
29202 * tools/gst-launch.c: (check_intr), (event_loop), (main):
29203 Allow elements to post EOS in the state change function.
29204 Fix up -launch, make it exit the poll loop when the
29205 pipeline actually changed state.
29206 Fix up warning parsing in -launch.
29208 2005-06-25 Wim Taymans <wim@fluendo.com>
29210 * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
29211 (gst_tee_sink_activate):
29212 Core takes STREAM_LOCK for us now.
29214 2005-06-25 Wim Taymans <wim@fluendo.com>
29216 * gst/gstelement.c: (gst_element_get_state_func),
29217 (gst_element_set_state):
29218 * gst/gstelement.h:
29219 * gst/gstmessage.c: (gst_message_parse_error),
29220 (gst_message_parse_warning):
29221 Keep track of current target state while performing a state
29222 change so that subclasses can do something interesting.
29223 Fix parsing of warning/error messages when GError is NULL.
29225 2005-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
29227 * docs/gst/Makefile.am:
29228 * docs/gst/gstreamer-docs.sgml:
29229 * docs/gst/gstreamer-sections.txt:
29230 * docs/gst/gstreamer.types:
29231 * docs/gst/tmpl/gstbasesink.sgml:
29232 * docs/gst/tmpl/gstbasesrc.sgml:
29233 * docs/gst/tmpl/gstbin.sgml:
29234 * docs/gst/tmpl/gstcompat.sgml:
29235 * docs/gst/tmpl/gstfakesink.sgml:
29236 * docs/gst/tmpl/gstfakesrc.sgml:
29237 * docs/gst/tmpl/gstfilesink.sgml:
29238 * docs/gst/tmpl/gstfilesrc.sgml:
29239 * docs/gst/tmpl/gstindex.sgml:
29240 * docs/manual/appendix-quotes.xml:
29241 * gst/base/gstbasesrc.h:
29242 * gst/elements/gstfakesrc.h:
29243 * gst/gstmessage.h:
29244 start pulling in base classes and elements in our docs
29246 2005-06-24 Stefan Kost <ensonic@users.sf.net>
29248 * docs/gst/Makefile.am:
29249 * docs/libs/Makefile.am:
29250 fixed make distcheck with gtk-doc 1.3
29252 2005-06-23 Wim Taymans <wim@fluendo.com>
29254 * gst/gstelement.c: (gst_element_get_state_func),
29255 (gst_element_set_state), (gst_element_change_state):
29256 When the state did not change, also report NO_PREROLL
29259 2005-06-23 Wim Taymans <wim@fluendo.com>
29261 * gst/gstpad.c: (gst_pad_event_default):
29262 * gst/gstqueue.c: (gst_queue_loop):
29263 No unsafe task pausing please.
29265 2005-06-23 Wim Taymans <wim@fluendo.com>
29267 * gst/schedulers/threadscheduler.c:
29268 (gst_thread_scheduler_task_start),
29269 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
29270 Ref the task before pushing it on the threadpool. This
29271 makes sure that we have a ref when the threadfunction is
29274 2005-06-23 Andy Wingo <wingo@pobox.com>
29276 * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
29277 offset is greater than the file's size.
29279 * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK)
29280 (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
29281 * gst/gstobject.c (gst_object_class_init): Make the class lock
29282 recursive. Wim won't let me drop deep_notify. Decodebin works
29283 again, whoopdy doo.
29285 * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
29286 internal pad, and hacks accordingly. Doesn't do it on the target
29287 pad because we change its caps. Probably catches all cases of
29289 (gst_ghost_pad_set_property): Connect to notify::caps as
29292 * tests/network-clock.scm (plot-simulation): Pipe data to the
29293 elite python skript.
29295 * tests/network-clock-utils.scm (define-parameter): New macro,
29296 defines a parameter that can be set via the command line.
29297 (set-parameter!, parse-parameter-arguments): Command line args
29300 * tests/plot-data: Simple matplotlib-based plotter, takes input on
29303 2005-06-23 Jan Schmidt <thaytan@mad.scientist.com>
29305 * gst/elements/gsttypefindelement.c:
29306 (gst_type_find_element_handle_event):
29307 Don't restart typefinding on a discont.
29308 * gst/gstelement.c: (gst_element_set_state):
29309 Debug spelling fix.
29310 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
29311 Allow changing mode of an active pad.
29312 Debug output fixes.
29313 * gst/registries/gstlibxmlregistry.c: (load_feature):
29314 Don't cast a static pad template to a normal pad template.
29316 2005-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
29318 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
29319 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
29320 remove gst_strtoll completely, since it didn't actually do
29321 anything more than what g_ascii_strtoull already does.
29322 check for range errors when deserializing
29323 do a cast for the unsigned cases; but further fixing needs
29324 a decision on what the interpretation of "(int)" and
29325 deserialization should be for values that fall outside the
29326 type's boundaries (ie, refuse, or interpret as casting)
29328 2005-06-23 Wim Taymans <wim@fluendo.com>
29330 * check/Makefile.am:
29331 * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
29332 * docs/design/part-live-source.txt:
29333 * docs/design/part-states.txt:
29334 * gst/base/gstbasesrc.c: (gst_basesrc_init),
29335 (gst_basesrc_set_live), (gst_basesrc_is_live),
29336 (gst_basesrc_get_range), (gst_basesrc_activate),
29337 (gst_basesrc_change_state):
29338 * gst/base/gstbasesrc.h:
29339 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
29340 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
29341 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
29342 * gst/gstelement.c: (gst_element_get_state_func),
29343 (gst_element_set_state):
29344 * gst/gstelement.h:
29346 * tools/gst-launch.c: (event_loop), (main):
29347 Added support for live sources and other elements that
29349 Updated design docs, added live-source design doc.
29350 Implemented live source functionality in basesrc
29351 Fix error condition in _bin_get_state()
29352 Implement live source handling in -launch.
29353 Added check for live sources.
29354 Fixed case in GstBin where elements were changed state
29358 2005-06-23 Andy Wingo <wingo@pobox.com>
29360 * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
29361 borken refcounting.
29363 * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
29364 gst_caps_replace takes care of this for us.
29366 * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
29367 gst_pad_set_caps on the target, not just its setcaps() function.
29369 * tests/network-clock.scm:
29370 * tests/network-clock-utils.scm: A network clock simulator.
29371 Something of an algorithmic testbed before doing something in C.
29373 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
29375 * check/Makefile.am:
29376 * check/gst/capslist.h:
29377 copy over from 0.8, and add two with bitmasks specified with
29379 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
29380 add test to parse everything from capslist.h
29381 * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
29383 add test for structure deserialization
29384 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
29385 add tests for deserialization of strings to int types
29386 * gst/gststructure.c: (gst_structure_nth_field_name):
29387 * gst/gststructure.h:
29388 add a way to get the name of a field referenced by index
29389 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
29390 instead of checking if the resulting long long lies between
29391 min and max, we check if the long long would fit into
29392 a number of bytes for the final type.
29393 This fixes cases where a string represents 2^32 - 1, which
29394 when cast to int would be the (valid) -1, but is bigger than
29397 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
29399 * gst/parse/grammar.y:
29400 add a log line for type deserialization
29402 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
29404 * check/gst/gstvalue.c: (START_TEST):
29405 * gst/gstvalue.c: (gst_value_deserialize):
29406 return long long, not int, so gint64 deserialization actually
29407 works. Is there any flag that makes the compiler check this ?
29410 2005-06-22 Wim Taymans <wim@fluendo.com>
29413 Added convenience macros for setting buffers in GValue.
29415 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
29417 * check/gst/.cvsignore:
29418 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
29419 add a test deserializing int64, and comment part out because
29422 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
29424 * check/Makefile.am:
29425 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
29426 * testsuite/Makefile.am:
29427 * testsuite/caps/Makefile.am:
29428 * testsuite/caps/value_serialize.c:
29429 * testsuite/test_gst_init.c:
29430 move a value_serialize test over
29432 2005-06-20 Wim Taymans <wim@fluendo.com>
29437 * gst/gstvalue.c: (gst_value_compare_buffer),
29438 (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
29439 (gst_value_compare_flags), (gst_value_serialize_flags),
29440 (gst_value_deserialize_flags), (_gst_value_initialize):
29441 Fix serialisation of buffers, they are not boxed types anymore
29443 2005-06-20 Wim Taymans <wim@fluendo.com>
29445 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
29446 Testcase to show error in buffer-on-caps serialisation.
29448 2005-06-20 Andy Wingo <wingo@pobox.com>
29450 * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
29451 will be adding to later.
29453 * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
29454 if its socks fill with rocks.
29455 (gst_system_clock_obtain): Set the name on object construction.
29456 Avoid double-checked locking.
29458 2005-06-20 Tim-Philipp Müller <tim at centricular dot net>
29460 * gst/gsturi.c: (gst_element_make_from_uri):
29461 Fix potential endless loop.
29463 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
29465 * check/Makefile.am:
29467 * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
29469 move over from testsuite dir and clean up
29472 * testsuite/Makefile.am:
29473 * testsuite/tags/.cvsignore:
29474 * testsuite/tags/Makefile.am:
29475 * testsuite/tags/merge.c:
29476 remove testsuite/tags
29478 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
29480 * docs/gst/gstreamer-sections.txt:
29481 * docs/gst/tmpl/gstenumtypes.sgml:
29482 * win32/gstenumtypes.c:
29483 clean up documentation build a little
29485 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
29487 * check/gstcheck.h:
29488 add macros for checking refcounts on objects and caps
29489 * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
29490 add some more unit tests
29491 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
29492 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
29493 fix leaked refcounts (I hope :)) so unittest works
29497 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
29499 * configure.ac: back to HEAD
29501 === release 0.9.1 ===
29503 2005-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
29509 2005-06-17 Andy Wingo <wingo@pobox.com>
29511 * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
29512 assert; it's always possible that the pad gets deactivated in
29513 between the checks in gstpad.c and the implementation. Rely on
29514 finish_preroll() to return a FLUSHING or similar instead of on the
29517 * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
29518 clock and post an EOS message if we come out of finish_preroll in
29521 2005-06-16 David Schleef <ds@schleef.org>
29523 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
29524 (gst_capsfilter_set_property): Allow NULL as possible value
29525 for filter_caps property, indicating GST_CAPS_ANY.
29527 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
29529 * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
29531 * gst/schedulers/Makefile.am:
29533 * gstreamer.spec.in:
29536 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
29538 * gstreamer.spec.in:
29541 2005-06-08 Andy Wingo <wingo@pobox.com>
29543 * gst/gstutils.c: RPAD fixes all around.
29544 (gst_element_link_pads): Refcounting fixes.
29546 * tools/gst-inspect.c:
29547 * tools/gst-xmlinspect.c:
29549 * gst/base/gsttypefindhelper.c:
29550 * gst/base/gstbasesink.c:
29551 * gst/gstqueue.c: RPAD fixes.
29553 * gst/gstghostpad.h:
29554 * gst/gstghostpad.c: New ghost pad implementation as full proxy
29555 pads. The tricky thing is they provide both source and sink
29556 interfaces, since they proxy the internal pad for the external
29557 pad, and vice versa. Implement with lower-level ProxyPad objects,
29558 with the interior proxy pad as a child of the exterior ghost pad.
29559 Should write a doc on this.
29561 * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
29562 (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
29565 * gst/gstpad.c: Big changes. No more stub base GstPad, now all
29566 pads are real pads. No ghost pads in this file. Not documenting
29567 the myriad s/RPAD/PAD/ and REALIZE fixes.
29568 (gst_pad_class_init): Add properties for "direction" and
29569 "template". Both are construct-only, so they can't change during
29570 the life of the pad. Fixes properly deriving from GstPad.
29571 (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
29572 derived objects, just set properties when creating the objects via
29574 (gst_pad_get_parent): Implement as a function, return NULL if the
29575 parent is not an element.
29576 (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
29577 (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
29579 * gst/gstobject.c (gst_object_class_init): Make name a construct
29580 property. Don't set it in the object init.
29582 * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
29583 with UNKNOWN direction.
29584 (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
29585 with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
29586 (gst_element_remove_pad): Remove ghost-pad special cases.
29587 (gst_element_pads_activate): Remove rpad cruft.
29589 * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
29590 catch the pad's-parent-not-an-element case.
29592 * gst/gst.h: Include gstghostpad.h.
29594 * gst/gst.c (init_post): No more real, ghost pads.
29596 * gst/Makefile.am: Add gstghostpad.[ch].
29598 * check/Makefile.am:
29599 * check/gst/gstbin.c:
29600 * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
29601 into a bin creates ghost pads, and that the refcounts are right.
29602 Partly moved from gstbin.c.
29604 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
29606 * check/gst-libs/.cvsignore:
29607 * check/gst/.cvsignore:
29608 * check/pipelines/.cvsignore:
29610 * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
29611 (START_TEST), (cleanup_suite), (main):
29612 add some tests related to cleanup after running pipelines
29614 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
29616 * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
29617 add a testsuite for GstBuffer
29619 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
29621 * gst/gstminiobject.h:
29622 add defines for accessing the refcount
29624 2005-06-03 Stefan Kost <ensonic@users.sf.net>
29626 * Makefile.am: added support for html unit test coverage reports
29628 2005-06-03 Jan Schmidt <thaytan@mad.scientist.com>
29630 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
29631 Free existing caps if the capsfilter changes. Add a FIXME about
29632 setting those caps on the pads.
29634 * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
29635 Before adding a ghost pad to a parent bin, check that there isn't
29636 already one for the element on the bin. Prevents infinite recursion
29637 when using decodebin in parse pipelines. Andy says he'll rewrite the
29638 way this works anyway, so ignore the hack.
29640 2005-06-02 Andy Wingo <wingo@pobox.com>
29642 * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
29643 file size, pass it on to the type find helper.
29645 * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
29646 segment_start and segment_end properly according to the seek
29647 method. Segment_end is still a bit flaky because offset can be
29648 negative for CUR and END cases, but it takes -1 as an "unset"
29651 2005-06-02 Wim Taymans <wim@fluendo.com>
29653 * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
29654 (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
29655 (gst_basesink_activate):
29656 * gst/base/gstbasesink.h:
29657 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
29658 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
29659 (gst_pad_query), (gst_pad_start_task):
29661 * gst/gstqueue.c: (gst_queue_bufferalloc),
29662 (gst_queue_handle_sink_event), (gst_queue_chain):
29663 Bufferalloc: return GstFlowReturn to more accuratly report
29664 why allocation failed.
29666 2005-06-02 Wim Taymans <wim@fluendo.com>
29668 * gst/gstpipeline.c: (gst_pipeline_send_event):
29669 Take snapshot of state without blocking.
29671 2005-06-02 Wim Taymans <wim@fluendo.com>
29673 * docs/design/part-TODO.txt:
29674 * docs/design/part-caps.txt:
29675 * docs/design/part-clocks.txt:
29676 * docs/design/part-negotiation.txt:
29677 * docs/design/part-preroll.txt:
29680 2005-05-30 Wim Taymans <wim@fluendo.com>
29682 * gst/elements/gstidentity.c: (gst_identity_event),
29683 (gst_identity_transform), (gst_identity_get_property):
29684 Protect last_message property as it is accessed from
29687 2005-05-30 Wim Taymans <wim@fluendo.com>
29689 * gst/gstelement.c: (gst_element_init),
29690 (gst_element_pads_activate), (gst_element_change_state):
29691 Slicker pad activation code.
29693 2005-05-30 Wim Taymans <wim@fluendo.com>
29696 * gst/gstelement.h:
29697 * gst/gstelementfactory.h:
29699 Move elementfactory methods to separate .h file.
29701 2005-05-30 Wim Taymans <wim@fluendo.com>
29703 * docs/design/part-overview.txt:
29704 * gst/gstsystemclock.h:
29705 Small typo fixes, doc updates.
29707 2005-05-30 Wim Taymans <wim@fluendo.com>
29709 * gst/gst.c: (gst_init_get_popt_table), (init_post),
29710 (init_popt_callback):
29711 Remove cpu-opt flag.
29713 2005-05-30 Wim Taymans <wim@fluendo.com>
29715 * gst/gstbuffer.c: (gst_subbuffer_finalize),
29716 (gst_buffer_create_sub), (gst_buffer_is_span_fast):
29718 Avoid typechecking in places where not needed.
29719 Added accessor for malloc_data.
29721 2005-05-30 Wim Taymans <wim@fluendo.com>
29723 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
29724 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
29725 (gst_pad_configure_sink), (gst_pad_configure_src),
29726 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
29727 (gst_pad_start_task):
29728 Propagate errors from _set_caps() in configure_src/sink
29729 functions instead of returning TRUE.
29730 FLUSH events can travel up and downstream
29733 2005-05-30 Wim Taymans <wim@fluendo.com>
29735 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
29736 (gst_basesink_activate):
29737 Handle EOS in preroll.
29739 2005-05-30 Wim Taymans <wim@fluendo.com>
29741 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
29742 (gst_queue_loop), (gst_queue_handle_src_event):
29743 Remove old pieces of code
29744 Flushing the queue in an upstream event is a very bad idea.
29746 2005-05-26 Andy Wingo <wingo@pobox.com>
29748 * gst/gstminiobject.c (gst_value_mini_object_collect): Use
29749 gst_value_set_mini_object so as to add a ref on the object (which
29750 will be removed when the value is unset).
29752 * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
29753 arg type in ::handoff.
29755 * gst/gstelement.c (gst_element_change_state): Also deactivate
29756 pads in READY->NULL, just in case the element didn't make it to
29757 PAUSED. Wingo tested, Wim approved.
29759 2005-05-26 Wim Taymans <wim@fluendo.com>
29761 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
29762 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
29763 (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
29764 A flushing pad cannot be used to alloc_buffer from.
29766 2005-05-26 Wim Taymans <wim@fluendo.com>
29768 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
29769 (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
29770 (gst_bus_source_dispatch), (gst_bus_source_finalize),
29771 (gst_bus_create_watch), (gst_bus_add_watch_full):
29773 Implement a real GSource and use g_main_context_wakeup() to
29774 signal new messages instead of the socketpair.
29776 2005-05-25 Wim Taymans <wim@fluendo.com>
29778 * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
29779 (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
29780 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
29781 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
29782 (gst_pad_send_event), (gst_pad_start_task):
29783 * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
29784 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
29785 (gst_queue_sink_activate), (gst_queue_src_activate),
29786 (gst_queue_change_state):
29788 Fix state changes for non sinks. We now change sinks, then elements
29789 with unconnected srcpads, then the rest.
29790 More efficient queue unlocking in flush and state changes.
29791 Set the pad activate mode even if it does not have an activate
29794 2005-05-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29796 * gst/base/gstbasesrc.c: (gst_basesrc_activate):
29797 Don't go in pull mode for non-seekable sources.
29798 * gst/elements/gsttypefindelement.h:
29799 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
29800 (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
29801 (free_entry), (stop_typefinding),
29802 (gst_type_find_element_handle_event), (find_peek),
29803 (gst_type_find_element_chain), (do_pull_typefind),
29804 (gst_type_find_element_change_state):
29805 Allow typefinding (w/o seeking) in push-mode, simplified version
29806 of what was in 0.8.
29807 * gst/gstutils.c: (gst_buffer_join):
29809 gst_buffer_join() from 0.8.
29811 2005-05-25 Wim Taymans <wim@fluendo.com>
29813 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
29814 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
29815 (gst_pad_send_event), (gst_pad_start_task):
29816 Disable attempt at mode switching until it is figured out.
29818 2005-05-25 Wim Taymans <wim@fluendo.com>
29820 * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
29821 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
29822 (gst_basesink_finish_preroll), (gst_basesink_chain),
29823 (gst_basesink_loop), (gst_basesink_activate),
29824 (gst_basesink_change_state):
29825 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
29826 (gst_basesrc_get_range), (gst_basesrc_loop),
29827 (gst_basesrc_activate):
29828 * gst/elements/gsttee.c: (gst_tee_sink_activate):
29829 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
29830 (gst_real_pad_init), (gst_real_pad_set_property),
29831 (gst_real_pad_get_property), (gst_pad_set_active),
29832 (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
29833 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
29834 (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
29835 (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
29836 (gst_pad_event_default_dispatch), (gst_pad_event_default),
29837 (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
29838 (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
29839 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
29840 (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
29841 (gst_pad_stop_task):
29843 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
29844 (gst_queue_loop), (gst_queue_src_activate):
29845 * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
29846 (gst_task_get_state):
29848 * gst/schedulers/threadscheduler.c:
29849 (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
29850 Implement gst_pad_pause/start/stop_task(), take STREAM lock
29852 Remove ACTIVE pad flag, use FLUSHING everywhere
29853 Added _pad_chain(), _pad_get_range() to call chain/getrange
29855 Add locks around IS_FLUSHING when reading.
29856 Take STREAM lock in chain(), get_range() functions so plugins
29857 don't need to take it anymore.
29861 2005-05-25 Wim Taymans <wim@fluendo.com>
29863 * tools/gst-launch.c: (event_loop):
29864 Unref message after using its contents instead of
29867 2005-05-24 Wim Taymans <wim@fluendo.com>
29869 * docs/design/draft-ghostpads.txt:
29870 * docs/design/draft-push-pull.txt:
29871 * docs/design/draft-query.txt:
29872 * docs/design/part-overview.txt:
29873 Docs updates, added general overview doc.
29875 2005-05-21 David Schleef <ds@schleef.org>
29877 * docs/gst/tmpl/old/GstBin.sgml:
29878 * docs/gst/tmpl/old/GstBuffer.sgml:
29879 * docs/gst/tmpl/old/GstCaps.sgml:
29880 * docs/gst/tmpl/old/GstClock.sgml:
29881 * docs/gst/tmpl/old/GstCompat.sgml:
29882 * docs/gst/tmpl/old/GstData.sgml:
29883 * docs/gst/tmpl/old/GstElement.sgml:
29884 * docs/gst/tmpl/old/GstEvent.sgml:
29885 * docs/gst/tmpl/old/GstIndex.sgml:
29886 * docs/gst/tmpl/old/GstStructure.sgml:
29887 * docs/gst/tmpl/old/GstTag.sgml:
29888 * docs/gst/tmpl/old/cothreads.sgml:
29889 * docs/gst/tmpl/old/cothreads_compat.sgml:
29890 * docs/gst/tmpl/old/gettext.sgml:
29891 * docs/gst/tmpl/old/gobject2gtk.sgml:
29892 * docs/gst/tmpl/old/grammar.tab.sgml:
29893 * docs/gst/tmpl/old/gst-i18n-app.sgml:
29894 * docs/gst/tmpl/old/gst-i18n-lib.sgml:
29895 * docs/gst/tmpl/old/gst_private.sgml:
29896 * docs/gst/tmpl/old/gstaggregator.sgml:
29897 * docs/gst/tmpl/old/gstarch.sgml:
29898 * docs/gst/tmpl/old/gstatomic_impl.sgml:
29899 * docs/gst/tmpl/old/gstbufferstore.sgml:
29900 * docs/gst/tmpl/old/gstdata_private.sgml:
29901 * docs/gst/tmpl/old/gstdisksink.sgml:
29902 * docs/gst/tmpl/old/gstdisksrc.sgml:
29903 * docs/gst/tmpl/old/gstelementfactory.sgml:
29904 * docs/gst/tmpl/old/gstextratypes.sgml:
29905 * docs/gst/tmpl/old/gstfakesink.sgml:
29906 * docs/gst/tmpl/old/gstfakesrc.sgml:
29907 * docs/gst/tmpl/old/gstfdsink.sgml:
29908 * docs/gst/tmpl/old/gstfdsrc.sgml:
29909 * docs/gst/tmpl/old/gstfilesink.sgml:
29910 * docs/gst/tmpl/old/gstfilesrc.sgml:
29911 * docs/gst/tmpl/old/gsthttpsrc.sgml:
29912 * docs/gst/tmpl/old/gstidentity.sgml:
29913 * docs/gst/tmpl/old/gstindexfactory.sgml:
29914 * docs/gst/tmpl/old/gstmarshal.sgml:
29915 * docs/gst/tmpl/old/gstmd5sink.sgml:
29916 * docs/gst/tmpl/old/gstmultidisksrc.sgml:
29917 * docs/gst/tmpl/old/gstmultifilesrc.sgml:
29918 * docs/gst/tmpl/old/gstpadtemplate.sgml:
29919 * docs/gst/tmpl/old/gstpipefilter.sgml:
29920 * docs/gst/tmpl/old/gstschedulerfactory.sgml:
29921 * docs/gst/tmpl/old/gstsearchfuncs.sgml:
29922 * docs/gst/tmpl/old/gstshaper.sgml:
29923 * docs/gst/tmpl/old/gstspider.sgml:
29924 * docs/gst/tmpl/old/gstspideridentity.sgml:
29925 * docs/gst/tmpl/old/gststatistics.sgml:
29926 * docs/gst/tmpl/old/gsttee.sgml:
29927 * docs/gst/tmpl/old/gsttimecache.sgml:
29928 * docs/gst/tmpl/old/gsttypefindfactory.sgml:
29929 * docs/gst/tmpl/old/gstxmlregistry.sgml:
29930 * docs/gst/tmpl/old/gthread-cothreads.sgml:
29931 * docs/gst/tmpl/old/types.sgml:
29932 I didn't intend to add these or check them in.
29934 2005-05-19 David Schleef <ds@schleef.org>
29936 * configure.ac: Use -no-common everywhere. In a sane world, it
29937 would be the default in libtool, because without it, you can't
29938 build DLLs on Windows.
29939 * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
29940 * docs/gst/gstreamer-sections.txt:
29941 * docs/gst/tmpl/gstcpu.sgml:
29942 * docs/gst/tmpl/gstdata.sgml:
29943 * docs/gst/tmpl/gstthread.sgml:
29945 2005-05-19 David Schleef <ds@schleef.org>
29947 * gst/gstminiobject.c: (gst_value_set_mini_object),
29948 (gst_value_take_mini_object), (gst_value_get_mini_object):
29949 * gst/gstminiobject.h: Add GValue set/get functions.
29951 2005-05-19 Wim Taymans <wim@fluendo.com>
29953 * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
29954 (gst_subbuffer_class_init), (gst_subbuffer_finalize),
29955 (gst_subbuffer_init), (gst_buffer_is_span_fast):
29957 * gst/gstbus.c: (gst_bus_post):
29958 * gst/gstelement.c: (gst_element_get_random_pad):
29959 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
29960 Make subbufer unref the parent in finalize.
29961 some more debugging info.
29964 2005-05-19 Wim Taymans <wim@fluendo.com>
29966 * gst/base/gstbasesink.c: (gst_basesink_class_init),
29967 (gst_basesink_init), (gst_basesink_finalize),
29968 (gst_basesink_activate), (gst_basesink_change_state):
29969 Don't free preroll queue too early.
29971 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29975 Hi, I'm outdated. Please shoot me.
29977 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29979 * gst/gstpipeline.c: (gst_pipeline_send_event):
29980 Do not access variables after they have been deleted.
29982 2005-05-19 Wim Taymans <wim@fluendo.com>
29984 * tools/gst-inspect.c: (print_plugin_features):
29985 A plugin feature does unfortunatly not use the
29988 2005-05-18 Wim Taymans <wim@fluendo.com>
29990 * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
29991 Port _span() functions to new subbuffers.
29993 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29995 * gst/gstbin.c: (gst_bin_add_func):
29996 Fix clock settery in bins when adding kids after the clock has
29999 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
30001 * gst/elements/gstidentity.c: (gst_identity_class_init):
30002 Workaround until signals support GstMiniObject.
30004 2005-05-18 Jan Schmidt <thaytan@mad.scientist.com>
30007 Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
30009 2005-05-18 Wim Taymans <wim@fluendo.com>
30011 * gst/base/Makefile.am:
30012 * gst/base/gstadapter.c: (gst_adapter_base_init),
30013 (gst_adapter_class_init), (gst_adapter_init),
30014 (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
30015 (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
30016 (gst_adapter_flush), (gst_adapter_available),
30017 (gst_adapter_available_fast):
30018 * gst/base/gstadapter.h:
30019 Ported and added adapter to the base classes.
30021 2005-05-17 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
30024 * gst/gstmessage.c:
30025 Make sure the class is reffed/unreffed once before threads can be
30026 used. Fixes #304551.
30028 2005-05-17 Wim Taymans <wim@fluendo.com>
30030 * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
30031 (gst_basesink_chain_unlocked), (gst_basesink_activate):
30032 * gst/gstminiobject.c: (gst_mini_object_get_type),
30033 (gst_mini_object_free):
30034 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
30035 (gst_pad_push), (gst_pad_push_event):
30036 * gst/gstqueue.c: (gst_queue_change_state):
30037 Don't queue buffers in basesink when we are flushing.
30038 Unref buffer when flushing in basesink.
30039 Flush queue when going to READY
30040 Unref buffer when _push() returns an error.
30041 Don't free MiniObject instance when refcount is incremented
30042 in _finalize() so that we can recover objects.
30044 2005-05-17 Thomas Vander Stichele <thomas at apestaart dot org>
30046 * docs/manual/advanced-schedulers.xml:
30047 * docs/manual/appendix-checklist.xml:
30048 * docs/pwg/advanced-clock.xml:
30049 * docs/pwg/advanced-interfaces.xml:
30050 * docs/pwg/advanced-request.xml:
30051 * docs/pwg/advanced-types.xml:
30052 * docs/pwg/intro-preface.xml:
30053 * examples/plugins/example.c: (gst_example_get_type),
30054 (gst_example_class_init), (gst_example_chain),
30055 (gst_example_set_property), (gst_example_get_property),
30056 (gst_example_change_state), (plugin_init):
30057 * examples/plugins/example.h:
30060 2005-05-17 Wim Taymans <wim@fluendo.com>
30062 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
30063 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
30064 * gst/gstqueue.c: (gst_queue_change_state):
30065 Clear queue when going to READY.
30066 Remove IN_SETCAPS flag too.
30068 2005-05-17 Tim-Philipp Müller <tim at centricular dot net>
30070 * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
30071 Remove implicit cast from gboolean to GstElementStateReturn;
30072 make sure we still return failure in paused => ready case if
30073 the parent class fails to change state and our own stop
30076 2005-05-17 Wim Taymans <wim@fluendo.com>
30078 * tools/gst-launch.c: (event_loop):
30079 Message was unreffed too soon.
30081 2005-05-16 Andy Wingo <wingo@pobox.com>
30083 * gst/gstbin.c (sink_iterator_filter): Err... um...
30085 * check/gst/gstbin.c (test_ghost_pads): New test for the
30086 ghosting-if-elements-not-in-same-bin behavior.
30088 2005-05-16 David Schleef <ds@schleef.org>
30090 * gst/gstminiobject.c: Use g_atomic_int_get() instead of
30091 accessing refcount directly.
30093 2005-05-15 David Schleef <ds@schleef.org>
30095 * check/Makefile.am: remove GstData checks
30096 * check/gst-libs/gdp.c: (START_TEST): fix for API changes
30097 * gst/Makefile.am: add miniobject, remove data
30098 * gst/gst.h: add miniobject, remove data
30099 * gst/gstdata.c: remove
30100 * gst/gstdata.h: remove
30101 * gst/gstdata_private.h: remove
30102 * gst/gsttypes.h: remove GstEvent and GstMessage
30103 * gst/gstelement.c: (gst_element_post_message): fix for API changes
30104 * gst/gstmarshal.list: change BOXED -> OBJECT
30106 Implement GstMiniObject.
30107 * gst/gstminiobject.c:
30108 * gst/gstminiobject.h:
30110 Modify to be subclasses of GstMiniObject.
30111 * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
30112 (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
30113 (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
30114 (gst_subbuffer_get_type), (gst_subbuffer_init),
30115 (gst_buffer_create_sub), (gst_buffer_is_span_fast),
30118 * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
30119 (gst_event_class_init), (gst_event_init), (gst_event_finalize),
30120 (_gst_event_copy), (gst_event_new):
30122 * gst/gstmessage.c: (_gst_message_initialize),
30123 (gst_message_get_type), (gst_message_class_init),
30124 (gst_message_init), (gst_message_finalize), (_gst_message_copy),
30125 (gst_message_new), (gst_message_new_error),
30126 (gst_message_new_warning), (gst_message_new_tag),
30127 (gst_message_new_state_changed), (gst_message_new_application):
30128 * gst/gstmessage.h:
30129 * gst/gstprobe.c: (gst_probe_perform),
30130 (gst_probe_dispatcher_dispatch):
30132 * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
30133 (gst_query_class_init), (gst_query_finalize), (gst_query_init),
30134 (_gst_query_copy), (gst_query_new):
30136 Update elements for GstData -> GstMiniObject changes
30138 * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
30139 (gst_queue_chain), (gst_queue_loop):
30140 * gst/elements/gstbufferstore.c:
30141 (gst_buffer_store_add_buffer_func),
30142 (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
30143 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
30144 (gst_fakesink_render):
30145 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
30146 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
30147 (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
30148 (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
30149 (gst_filesrc_create_read):
30150 * gst/elements/gstidentity.c: (gst_identity_class_init):
30151 * gst/elements/gsttypefindelement.c:
30152 (gst_type_find_element_src_event), (free_entry_buffers),
30153 (gst_type_find_element_handle_event):
30154 * libs/gst/dataprotocol/dataprotocol.c:
30155 (gst_dp_header_from_buffer):
30156 * libs/gst/dataprotocol/dataprotocol.h:
30157 * libs/gst/dataprotocol/dp-private.h:
30159 2005-05-15 David Schleef <ds@schleef.org>
30161 * gst/elements/gstelements.c: Don't include headers that were
30164 2005-05-15 David Schleef <ds@schleef.org>
30166 * gst/elements/Makefile.am: Remove some elements that don't
30167 need to be in the core (or even exist at all).
30168 * gst/elements/gstaggregator.c:
30169 * gst/elements/gstaggregator.h:
30170 * gst/elements/gstmd5sink.c:
30171 * gst/elements/gstmd5sink.h:
30172 * gst/elements/gstmultifilesrc.c:
30173 * gst/elements/gstmultifilesrc.h:
30174 * gst/elements/gstpipefilter.c:
30175 * gst/elements/gstpipefilter.h:
30176 * gst/elements/gstshaper.c:
30177 * gst/elements/gstshaper.h:
30178 * gst/elements/gststatistics.c:
30179 * gst/elements/gststatistics.h:
30180 * po/POTFILES.in: Remove above files.
30182 2005-05-14 Andy Wingo <wingo@pobox.com>
30184 * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
30185 so as to get the refs right.
30186 (sink_iterator_filter): New function, wraps bin_element_is_sink,
30187 unreffing objects that don't pass the filter.
30189 * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
30190 gst_element_set_bus.
30191 (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
30192 normal cases, this will destroy the bus.
30194 * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
30197 * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
30200 2005-05-13 Andy Wingo <wingo@pobox.com>
30202 * gst/gstutils.c (gst_element_link_pads): Instead of calling
30203 gst_pad_link, call pad_link_maybe_ghosting,
30204 (pad_link_maybe_ghosting): Links pads, making sure that the
30205 elements being linked are in the same bin.
30206 (find_common_root, object_has_ancestor, ghost_up, remove_pad):
30207 Helpers for pad_link_maybe_ghosting.
30209 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
30212 Require GLib >= 2.4.0 (for the g_atomic_* funcs)
30214 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
30216 * docs/design/part-element-source.txt:
30219 2005-05-12 Wim Taymans <wim@fluendo.com>
30221 * gst/base/gstbasesink.c: (gst_basesink_init),
30222 (gst_basesink_activate):
30223 * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
30224 (gst_basesrc_is_seekable):
30225 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
30226 (bin_element_is_sink), (gst_bin_change_state):
30227 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
30228 * gst/gstelement.h:
30229 Identify sinks by their flag to avoid overly complicated
30231 Do state changes even for elements not reachable from the
30233 BaseSink is a sink now :)
30234 Some more debugging info in the basesrc.
30237 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
30239 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
30240 Implement _query on a bin, similar to _send_event.
30242 2005-05-12 Tim-Philipp Müller <tim at centricular dot net>
30244 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
30245 Discont event offset format should be GST_FORMAT_BYTES,
30246 not GST_FORMAT_TIME.
30248 2005-05-12 Wim Taymans <wim@fluendo.com>
30250 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
30251 Same fix as Ronald's but without the signal.
30253 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
30255 * gst/gstutils.c: (gst_element_query_position):
30256 No, an element is not a pad.
30258 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
30260 * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
30261 (gst_bin_get_state):
30262 If a child is removed from a bin while we remove the child from
30263 the bin and while we're retrieving its state, signal this to the
30264 get_state function so we abort the wait (instead of waiting for
30265 a timeout) and can immediately re-iterate over all other elements.
30267 2005-05-12 Wim Taymans <wim@fluendo.com>
30269 * gst/base/Makefile.am:
30270 * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
30271 (gst_basesrc_start):
30272 * gst/base/gstbasesrc.h:
30273 * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
30274 (gst_pushsrc_base_init), (gst_pushsrc_class_init),
30275 (gst_pushsrc_init), (gst_pushsrc_create):
30276 * gst/base/gstpushsrc.h:
30277 Added is_seekable to BaseSrc
30278 Added simple PushSrc.
30280 2005-05-11 Wim Taymans <wim@fluendo.com>
30282 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
30283 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
30284 (gst_element_link_pads), (gst_element_query_position),
30285 (gst_element_query_convert), (intersect_caps_func),
30286 (gst_pad_query_position), (gst_pad_query_convert):
30287 Fix refcounting in utils function.
30288 No point in trying to activate a pad when it's added, it could
30289 be added from the state change function and then we deadlock, the
30290 element has to decide what to do.
30292 2005-05-10 Andy Wingo <wingo@pobox.com>
30294 * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
30295 *all* the arguments.
30297 * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
30298 stream lock if it's a FLUSH_DONE; normal flushes don't get the
30299 lock (according to the docs -- if this is wrong change the docs).
30301 * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
30302 flush messages in the NULL state.
30304 * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
30305 message immediately and return.
30306 (gst_bus_set_flushing): New function. If a bus is flushing, it
30307 flushes out any queued messages and immediately unrefs new
30308 messages. This is so when an element goes to NULL, all of the
30309 unhandled messages coming from it can be freed, and their
30310 references to the element dropped. In other words: message source
30311 ref considered harmful :P
30313 * gst/gstbin.c (gst_bin_change_state): Unref peer element when
30314 we're finished with it.
30316 * gst/gstmessage.c (gst_message_new_state_changed):
30318 2005-05-10 Wim Taymans <wim@fluendo.com>
30320 * gst/gstvalue.c: (gst_value_compare_flags),
30321 (gst_value_serialize_flags), (gst_value_deserialize_flags),
30322 (_gst_value_initialize):
30323 Added flags serialize/deserialize/compare code.
30325 2005-05-09 Andy Wingo <wingo@pobox.com>
30327 * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
30328 Intersect the peer's caps with our caps.
30330 2005-05-09 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
30332 * gst/base/gsttypefindhelper.c: (helper_find_peek):
30333 * gst/elements/gsttypefindelement.c: (find_peek):
30334 Handle negative offsets better. Fixes decodebin.
30336 2005-05-09 Wim Taymans <wim@fluendo.com>
30338 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
30339 (gst_base_transform_event):
30340 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
30341 Implement accept_caps.
30342 Fix silly lock/unlock mismatch in base class.
30344 2005-05-09 Wim Taymans <wim@fluendo.com>
30346 * docs/design/draft-push-pull.txt:
30347 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
30348 * gst/elements/gstfilesink.c: (gst_filesink_init),
30349 (gst_filesink_query):
30350 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
30351 (gst_type_find_handle_src_query), (find_element_get_length):
30352 * gst/gstelement.c: (gst_element_seek), (gst_element_query):
30353 * gst/gstelement.h:
30354 * gst/gstmessage.c:
30355 * gst/gstmessage.h:
30356 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
30357 (gst_real_pad_get_caps_unlocked),
30358 (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
30359 (gst_pad_event_default_dispatch), (gst_pad_event_default),
30360 (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
30361 (gst_real_pad_dispose), (gst_real_pad_finalize),
30362 (gst_pad_load_and_link), (gst_pad_save_thyself),
30363 (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
30364 (gst_pad_check_pull_range), (gst_pad_pull_range),
30365 (gst_pad_template_get_type), (gst_pad_template_class_init),
30366 (gst_pad_template_init), (gst_pad_template_dispose),
30367 (name_is_valid), (gst_static_pad_template_get),
30368 (gst_pad_template_new), (gst_static_pad_template_get_caps),
30369 (gst_pad_template_get_caps), (gst_pad_set_element_private),
30370 (gst_pad_get_element_private), (gst_pad_start_task),
30371 (gst_pad_pause_task), (gst_pad_stop_task),
30372 (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
30373 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
30374 (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
30375 (gst_ghost_pad_new):
30377 * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
30378 (gst_query_new_position), (gst_query_set_position),
30379 (gst_query_parse_position), (gst_query_new_convert),
30380 (gst_query_set_convert), (gst_query_parse_convert):
30382 * gst/gstqueryutils.c:
30383 * gst/gstqueryutils.h:
30384 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
30385 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
30386 (gst_queue_handle_src_query):
30387 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
30388 (gst_element_query_position), (gst_element_query_convert),
30389 (intersect_caps_func), (gst_pad_query_position),
30390 (gst_pad_query_convert):
30392 * tools/gst-inspect.c: (print_pad_info):
30393 * tools/gst-xmlinspect.c: (print_element_info):
30394 Remove old query functions. Ported old code.
30395 Added position/convert helper functions to gstutils.
30396 Reordered gstpad.c code, grouping relevant things.
30397 Remove gst_message_new(), always need to speficy a specific
30401 2005-05-09 Andy Wingo <wingo@pobox.com>
30403 * gst/gstiterator.h: Add some includes.
30405 * gst/gstqueryutils.h: Include more headers.
30408 * gst/gstpad.c (gst_pad_query_position): New routine, replaces
30409 some uses of gst_pad_query.
30411 * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
30412 NULL out parameters.
30413 (gst_query_new_position): New proc, allocates a new position
30416 * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
30417 gstqueryutils.c to the build.
30419 * gst/gststructure.c (gst_structure_set_valist): Implement with
30420 the generic G_VALUE_COLLECT.
30422 2005-05-08 Edward Hervey <bilboed@bilboed.com>
30424 * gst/Makefile.am: (gst_headers):
30425 Added gstqueryutils.h to the list of headers to install, that was
30426 a 'nachty' move wingo :)
30428 2005-05-06 Andy Wingo <wingo@pobox.com>
30431 * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
30432 GstData, init a memchunk.
30433 (standard_definitions): Add a few query types, deprecate a few.
30434 (gst_query_get_type): New proc.
30435 (_gst_query_copy, _gst_query_free, gst_query_new): GstData
30437 (gst_query_new_application, gst_query_get_structure): New public
30440 * docs/design/draft-query.txt: Removed LINKS from the query types,
30441 because all the rest can be dispatched to other pads -- seemed
30442 ugly to have a query that couldn't be dispatched. internal_links
30443 is fine as a pad method.
30445 * gst/gstpad.h: Add query2 as a pad method, add the new functions
30446 in gstpad.c, but maintain binary compatibility for the moment.
30447 Will fix before 0.9 is out.
30449 * gst/gstqueryutils.c:
30450 * gst/gstqueryutils.h: New files, implement 3 methods for each
30451 query type: parse_query, parse_response, and set. Probably need an
30454 * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
30456 * gst/elements/gstfilesink.c (gst_filesink_query2):
30457 * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
30458 query_types, and formats methods.
30460 * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
30461 (gst_pad_set_query2_function): New functions.
30462 (gst_real_pad_init): Set query2_default as the default query2
30463 function. Basically just dispatches to internally linked pads.
30467 * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
30468 without using the atomic operations. Only one thread can possibly
30469 be accessing the data at this point. Changed so as to avoid
30470 gst_atomic operations.
30472 2005-05-06 Wim Taymans <wim@fluendo.com>
30474 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
30475 Also set caps if we use the fallback buffer alloc.
30477 2005-05-06 Tim-Philipp Müller <tim at centricular dot net>
30479 * docs/gst/Makefile.am:
30480 * docs/gst/gstreamer-docs.sgml:
30481 * docs/gst/gstreamer-sections.txt:
30482 * docs/gst/tmpl/gstatomic.sgml:
30483 * docs/gst/tmpl/gstmemchunk.sgml:
30484 * testsuite/elements/struct_i386.h:
30485 * win32/GStreamer.vcproj:
30487 Purge GstAtomic stuff from docs and win32 makefiles as well
30489 2005-05-06 Wim Taymans <wim@fluendo.com>
30491 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
30492 * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
30493 * gst/gstpad.c: (gst_pad_peer_get_caps):
30494 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
30495 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
30496 (gst_queue_src_activate), (gst_queue_change_state):
30498 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
30499 (intersect_caps_func):
30500 Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
30501 Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
30502 Some fixes for the peer_get_caps() change.
30504 2005-05-06 Wim Taymans <wim@fluendo.com>
30506 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
30507 (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
30508 (gst_basesink_activate):
30509 Actually do something with error codes returned from the push
30512 2005-05-06 Wim Taymans <wim@fluendo.com>
30514 * docs/design/part-element-sink.txt:
30515 * docs/design/part-element-source.txt:
30516 * gst/base/gstbasesink.c: (gst_basesink_class_init),
30517 (gst_basesink_event), (gst_basesink_activate):
30518 * gst/base/gstbasesink.h:
30519 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
30520 (gst_basesrc_activate):
30521 * gst/base/gstbasesrc.h:
30522 * gst/gstelement.c: (gst_element_pads_activate):
30523 Some more documentation.
30524 Fixed scheduling decision in _pads_activate().
30526 2005-05-05 Andy Wingo <wingo@pobox.com>
30528 * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
30531 2005-05-05 Wim Taymans <wim@fluendo.com>
30533 * gst/base/Makefile.am:
30534 * gst/base/gstbasesink.h:
30535 * gst/base/gstbasesrc.c: (gst_basesrc_init),
30536 (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
30537 * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
30538 (gst_collectpads_class_init), (gst_collectpads_init),
30539 (gst_collectpads_finalize), (gst_collectpads_new),
30540 (gst_collectpads_set_function), (gst_collectpads_add_pad),
30541 (find_pad), (gst_collectpads_remove_pad),
30542 (gst_collectpads_is_active), (gst_collectpads_collect),
30543 (gst_collectpads_collect_range), (gst_collectpads_start),
30544 (gst_collectpads_stop), (gst_collectpads_peek),
30545 (gst_collectpads_pop), (gst_collectpads_available),
30546 (gst_collectpads_read), (gst_collectpads_flush),
30547 (gst_collectpads_chain):
30548 * gst/base/gstcollectpads.h:
30549 * gst/elements/Makefile.am:
30550 * gst/elements/gstelements.c:
30551 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
30552 (gst_fakesink_get_times), (gst_fakesink_event),
30553 (gst_fakesink_preroll), (gst_fakesink_render):
30554 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
30555 (gst_filesink_init), (gst_filesink_set_location),
30556 (gst_filesink_open_file), (gst_filesink_close_file),
30557 (gst_filesink_pad_query), (gst_filesink_event),
30558 (gst_filesink_render), (gst_filesink_change_state):
30559 * gst/elements/gstfilesink.h:
30560 Added object to help in making collect pad based elements.
30562 Make event function in sink baseclass return gboolean.
30564 2005-05-05 Wim Taymans <wim@fluendo.com>
30566 * gst/gstbin.c: (gst_bin_send_event), (compare_name),
30567 (gst_bin_get_by_name):
30569 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
30570 (gst_clock_finalize):
30571 * gst/gstdata.c: (gst_data_replace):
30573 * gst/gstelement.c: (gst_element_request_pad),
30574 (gst_element_pads_activate):
30575 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
30576 (gst_object_unref):
30577 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
30578 (gst_pad_set_checkgetrange_function),
30579 (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
30580 (gst_pad_check_pull_range), (gst_pad_pull_range),
30581 (gst_static_pad_template_get_caps), (gst_pad_start_task),
30582 (gst_pad_pause_task), (gst_pad_stop_task):
30583 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
30584 (gst_element_request_pad), (gst_pad_proxy_getcaps):
30585 Fix name lookup in GstBin.
30586 Added _data_replace() function and _buffer_replace()
30587 Use finalize method to clean up clock.
30588 Fix refcounting on request pads.
30589 Fix pad schedule mode error.
30590 Some more object refcounting debug info,
30593 2005-05-04 Andy Wingo <wingo@pobox.com>
30595 * check/Makefile.am:
30596 * docs/gst/tmpl/gstatomic.sgml:
30597 * docs/gst/tmpl/gstplugin.sgml:
30598 * gst/base/gstbasesink.c: (gst_basesink_activate):
30599 * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
30600 (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
30601 (gst_basesrc_query), (gst_basesrc_set_property),
30602 (gst_basesrc_get_property), (gst_basesrc_check_get_range),
30603 (gst_basesrc_activate):
30604 * gst/base/gstbasesrc.h:
30605 * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
30606 (gst_base_transform_src_activate):
30607 * gst/elements/gstelements.c:
30608 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
30609 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
30610 * gst/elements/gsttee.c: (gst_tee_sink_activate):
30611 * gst/elements/gsttypefindelement.c: (find_element_get_length),
30612 (gst_type_find_element_checkgetrange),
30613 (gst_type_find_element_activate):
30614 * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
30615 * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
30616 (gst_caps_load_thyself):
30617 * gst/gstelement.c: (gst_element_pads_activate),
30618 (gst_element_save_thyself), (gst_element_restore_thyself):
30619 * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
30620 (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
30622 * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
30623 (gst_xml_parse_file), (gst_xml_parse_memory),
30624 (gst_xml_get_element), (gst_xml_make_element):
30625 * gst/indexers/gstfileindex.c: (gst_file_index_load),
30626 (_file_index_id_save_xml), (gst_file_index_commit):
30627 * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
30628 (read_enum), (load_pad_template), (load_feature), (load_plugin),
30630 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
30631 (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
30632 * tools/gst-complete.c: (main):
30633 * tools/gst-compprep.c: (main):
30634 * tools/gst-inspect.c: (print_element_properties_info):
30635 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
30636 * tools/gst-xmlinspect.c: (print_element_properties):
30639 2005-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
30641 * gst/gstplugin.c: (gst_plugin_check_module),
30642 (gst_plugin_check_file), (gst_plugin_load_file):
30643 apply patch from #172526 to make register work on MacOSX
30645 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
30647 * docs/gst/tmpl/gstconfig.sgml:
30648 * gst/gstconfig.h.in:
30649 move documentation for some symbols. Add doc for GST_PTR_FORMAT
30650 * testsuite/debug/printf_extension.c: (main):
30651 Do not use GST_PTR_FORMAT on pointers to types with
30652 sizeof < sizeof(gpointer). Fixes test on 64-bit
30653 * testsuite/elements/property.h:
30654 use correct printf format
30656 2005-05-02 Wim Taymans <wim@fluendo.com>
30658 * docs/design/draft-push-pull.txt:
30659 * docs/design/draft-query.txt:
30660 * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
30661 (gst_basesrc_start):
30662 Added draft for new query API.
30663 Added draft for better selecting scheduling methods.
30664 Make basesrc ignore length if the subclass does not support
30667 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
30670 possible fixes for automake-1.5 - _LIBADD is reserved
30672 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
30674 * docs/faq/Makefile.am:
30675 * docs/manual/Makefile.am:
30676 * docs/manuals.mak:
30677 * docs/pwg/Makefile.am:
30679 possible fixes for automake-1.5
30681 2005-04-28 Wim Taymans <wim@fluendo.com>
30683 * gst/base/gstbasesink.c: (gst_basesink_base_init),
30684 (gst_basesink_pad_getcaps), (gst_basesink_init),
30685 (gst_basesink_do_sync):
30686 * gst/gstclock.c: (gst_clock_entry_new):
30687 * gst/gstevent.c: (gst_event_discont_get_value):
30688 * gst/gstpipeline.c: (pipeline_bus_handler),
30689 (gst_pipeline_change_state):
30690 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
30691 Better debugging of clocking info.
30692 Allow NULL values when getting discont values.
30694 2005-04-27 Wim Taymans <wim@fluendo.com>
30696 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
30697 * check/gst/gstpad.c: (gst_pad_suite):
30698 Increase timeout for checks.
30700 2005-04-27 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
30702 * check/Makefile.am:
30703 fix the broken rule for cleanup. Apparently this rule is
30704 only needed on FC2, so maybe this warrants further autotool
30707 2005-04-26 Wim Taymans <wim@fluendo.com>
30709 * gst/gsttrashstack.h:
30710 Ooohh. a nasty one! After having a failed pop() from the stack,
30711 it's possible that the stack is empty. In that case, don't
30712 follow the NULL pointer.
30714 2005-04-25 Wim Taymans <wim@fluendo.com>
30716 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
30717 (gst_pad_set_checkgetrange_function),
30718 (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
30719 (gst_pad_check_pull_range), (gst_pad_pull_range),
30720 (gst_static_pad_template_get_caps), (gst_pad_start_task),
30721 (gst_pad_pause_task), (gst_pad_stop_task):
30722 * gst/gstplugin.c: (gst_plugin_load):
30724 Remove gst_library_load as it does more harm than good with
30725 the new g_module flags.
30726 Revert bogus caps template check in pad linking, pad caps
30727 are important when linking not the template, which is more
30728 general than the current caps.
30730 2005-04-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
30732 * gst/autoplug/.cvsignore:
30733 * gst/autoplug/Makefile.am:
30734 * gst/autoplug/gstsearchfuncs.c:
30735 * gst/autoplug/gstsearchfuncs.h:
30736 * gst/autoplug/gstspider.c:
30737 * gst/autoplug/gstspider.h:
30738 * gst/autoplug/gstspideridentity.c:
30739 * gst/autoplug/gstspideridentity.h:
30740 * gst/autoplug/spidertest.c:
30743 2005-04-25 Wim Taymans <wim@fluendo.com>
30745 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
30746 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
30747 (gst_pad_pull_range), (gst_static_pad_template_get_caps),
30748 (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
30750 Added stubs for unimplemented functions.
30752 2005-04-24 David Schleef <ds@schleef.org>
30754 * gst/gstpad.h: Disable some unimplemented functions. Wim,
30757 2005-04-24 David Schleef <ds@schleef.org>
30759 Convert everything from GstAtomicInt to g_atomic_int_*, and
30764 * gst/gstatomic_impl.h:
30772 * gst/gstdata_private.h:
30776 * gst/gstmessage.c:
30779 * gst/gststructure.c:
30780 * gst/gststructure.h:
30781 * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
30784 2005-04-24 David Schleef <ds@schleef.org>
30786 * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
30787 make the regressions tests work. Remove some code that is no
30789 * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
30790 Disable warning for pads without templates.
30792 2005-04-24 David Schleef <ds@schleef.org>
30794 * gst/gstpad.c: Remove handling of filtered caps. Fix/merge
30795 functions that handle filtered links.
30796 * gst/gstpad.h: Remove 'appfilter' field and prototypes of
30798 * gst/gstutils.c: Fix/remove utility functions that handle
30801 * gst/gstvalue.c: Add serialization/deserialization of caps
30802 * gst/parse/grammar.y: Ignore filtered caps when linking. This
30803 requires fixing so that the filter caps notation creates
30804 a capsfilter element and sets the filter_caps property. I
30805 think everyone probably wants to keep the shorthand notation.
30806 * docs/gst/tmpl/gstelement.sgml: updates for API changes.
30807 * docs/gst/tmpl/gstpad.sgml:
30809 * gst/elements/gstelements.c: Register capsfilter element.
30810 * gst/Makefile.am: fix spacing
30811 * docs/random/ds/0.9-suggested-changes: random
30813 2005-04-23 David Schleef <ds@schleef.org>
30815 * gst/elements/Makefile.am:
30816 * gst/elements/gstcapsfilter.c: New element that acts like an
30817 identity, but filters caps. Will eventually replace filtered
30818 caps in pad linking.
30819 * gst/gstutils.c: (gst_element_create_all_pads): New function
30820 to create all the ALWAYS pads that are registered with an
30821 element class. This functionality should eventually be
30822 merged in with GstElement initialization.
30824 * testsuite/trigger/README: part of trigger test code that should
30825 have been checked in a long time ago.
30827 2005-04-23 David Schleef <ds@schleef.org>
30829 * gst/Makefile.am: Remove as-libtool stuff. It's likely not
30830 needed with new versions of libtool (nobody will confirm this),
30831 and hard to carry around.
30832 * gst/autoplug/Makefile.am:
30833 * gst/base/Makefile.am:
30834 * gst/elements/Makefile.am:
30835 * gst/indexers/Makefile.am:
30836 * gst/schedulers/Makefile.am:
30837 * libs/gst/bytestream/Makefile.am:
30838 * libs/gst/control/Makefile.am:
30839 * libs/gst/dataprotocol/Makefile.am:
30840 * libs/gst/getbits/Makefile.am:
30842 2005-04-21 Wim Taymans <wim@fluendo.com>
30844 * docs/design/draft-push-pull.txt:
30845 * docs/design/part-MT-refcounting.txt:
30846 * docs/design/part-TODO.txt:
30847 * docs/design/part-caps.txt:
30848 * docs/design/part-events.txt:
30849 * docs/design/part-gstbus.txt:
30850 * docs/design/part-gstpipeline.txt:
30851 * docs/design/part-messages.txt:
30852 * docs/design/part-push-pull.txt:
30853 * docs/design/part-query.txt:
30856 2005-04-21 Wim Taymans <wim@fluendo.com>
30858 * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
30859 (gst_message_new), (gst_message_new_error),
30860 (gst_message_new_warning), (gst_message_new_tag),
30861 (gst_message_new_state_changed), (gst_message_new_application),
30862 (gst_message_get_structure):
30863 * gst/gstmessage.h:
30864 * gst/gststructure.c: (gst_structure_set_parent_refcount),
30865 (gst_structure_copy_conditional):
30866 Use parent refcount in GstMessage to ensure GstStructure
30868 Cleaned up headers a bit.
30871 2005-04-20 Wim Taymans <wim@fluendo.com>
30873 * gst/base/gstbasesink.c: (gst_basesink_base_init),
30874 (gst_basesink_pad_getcaps), (gst_basesink_init),
30875 (gst_basesink_chain_unlocked):
30876 * gst/base/gsttypefindhelper.c: (helper_find_suggest),
30877 (gst_type_find_helper):
30878 * gst/elements/gsttypefindelement.c:
30879 (gst_type_find_element_have_type), (gst_type_find_element_init),
30880 (stop_typefinding), (gst_type_find_element_handle_event),
30881 (find_suggest), (gst_type_find_element_chain),
30882 (gst_type_find_element_checkgetrange),
30883 (gst_type_find_element_getrange), (do_typefind),
30884 (gst_type_find_element_activate):
30885 * gst/gstbuffer.c: (_gst_buffer_sub_free),
30886 (gst_buffer_default_free), (gst_buffer_default_copy),
30887 (gst_buffer_set_caps):
30888 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
30889 (gst_caps_replace):
30890 * gst/gstmessage.c: (gst_message_new),
30891 (gst_message_new_state_changed):
30892 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
30893 (gst_pad_set_checkgetrange_function),
30894 (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
30895 (gst_pad_set_caps), (gst_pad_check_pull_range),
30896 (gst_pad_pull_range), (gst_static_pad_template_get_caps):
30898 * gst/gsttypefind.c: (gst_type_find_register):
30899 Make gst_caps_replace() work like other _replace() functions.
30900 Use _caps_replace() where possible.
30901 Make sure _message_new() initialises its field.
30902 Add gst_static_pad_template_get_caps()
30905 2005-04-18 Andy Wingo <wingo@pobox.com>
30907 * gst/gstelement.c (gst_element_pads_activate): Check pull_range
30908 on the peer, not the pad. I think that was a typo. Pass an extra
30909 arg to see if random access is possible. Activate the pads as
30910 PULL_RANGE if possible.
30912 * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
30914 * gst/base/gstbasesrc.c (gst_basesrc_set_property)
30915 (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
30918 2005-04-14 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
30920 * docs/faq/using.xml:
30921 Add note on gstreamer-properties (#154996).
30923 2005-04-13 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
30925 * docs/random/bbb/optional-properties:
30926 Some analysis on optional properties.
30928 2005-04-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
30930 * docs/gst/tmpl/gstelementfactory.sgml:
30931 * gst/gstelement.h:
30932 * gst/gstelementfactory.c: (gst_element_factory_init),
30933 (gst_element_factory_cleanup), (gst_element_register),
30934 (__gst_element_factory_add_static_pad_template),
30935 (gst_element_factory_get_static_pad_templates),
30936 (gst_element_factory_can_src_caps),
30937 (gst_element_factory_can_sink_caps):
30938 * gst/registries/Makefile.am:
30939 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
30940 (gst_xml_registry_class_init), (gst_xml_registry_init),
30941 (gst_xml_registry_new), (gst_xml_registry_set_property),
30942 (gst_xml_registry_get_property), (get_time), (make_dir),
30943 (gst_xml_registry_get_perms_func),
30944 (plugin_times_older_than_recurse), (plugin_times_older_than),
30945 (gst_xml_registry_open_func), (gst_xml_registry_load_func),
30946 (gst_xml_registry_save_func), (gst_xml_registry_close_func),
30947 (add_to_char_array), (read_string), (read_uint), (read_enum),
30948 (load_pad_template), (load_feature), (load_plugin), (load_paths),
30949 (gst_xml_registry_load), (gst_xml_registry_load_plugin),
30950 (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
30951 (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
30952 (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
30953 (gst_xml_registry_rebuild):
30954 * gst/registries/gstlibxmlregistry.h:
30955 * tools/gst-compprep.c: (main):
30956 * tools/gst-inspect.c: (print_pad_templates_info):
30957 * tools/gst-xmlinspect.c: (print_element_info):
30958 Use libxml2 for registry parsing, use staticpadtemplates in
30959 elementfactories. Makes gst_init() +/- 10x faster.
30961 2005-04-12 Wim Taymans <wim@fluendo.com>
30963 * gst/base/Makefile.am:
30964 * gst/base/gstbasesink.c: (gst_basesink_base_init),
30965 (gst_basesink_pad_getcaps), (gst_basesink_init),
30966 (gst_basesink_event), (gst_basesink_change_state):
30967 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
30968 (gst_basesrc_init), (gst_basesrc_query),
30969 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
30970 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
30971 (gst_basesrc_check_get_range), (gst_basesrc_loop),
30972 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
30973 (gst_basesrc_stop), (gst_basesrc_activate),
30974 (gst_basesrc_change_state):
30975 * gst/base/gsttypefindhelper.c: (helper_find_peek),
30976 (helper_find_suggest), (gst_type_find_helper):
30977 * gst/base/gsttypefindhelper.h:
30978 * gst/elements/Makefile.am:
30979 * gst/elements/gstelements.c:
30980 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
30981 (gst_fakesink_get_times), (gst_fakesink_event),
30982 (gst_fakesink_preroll), (gst_fakesink_render):
30983 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
30984 (gst_fakesrc_init), (gst_fakesrc_event_handler),
30985 (gst_fakesrc_get_property), (gst_fakesrc_create),
30986 (gst_fakesrc_start), (gst_fakesrc_stop):
30987 * gst/elements/gstfakesrc.h:
30988 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
30989 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
30990 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
30991 (gst_filesrc_create_read), (gst_filesrc_create),
30992 (gst_filesrc_is_seekable), (gst_filesrc_get_size),
30993 (gst_filesrc_start):
30994 * gst/elements/gsttypefindelement.c:
30995 (gst_type_find_element_have_type), (gst_type_find_element_init),
30996 (start_typefinding), (stop_typefinding), (push_buffer_store),
30997 (gst_type_find_element_handle_event),
30998 (gst_type_find_element_chain),
30999 (gst_type_find_element_checkgetrange),
31000 (gst_type_find_element_getrange), (do_typefind),
31001 (gst_type_find_element_activate),
31002 (gst_type_find_element_change_state):
31003 * gst/elements/gsttypefindelement.h:
31004 * gst/gstpipeline.c: (pipeline_bus_handler):
31005 Added typefind helper.
31006 Small preroll fix in the base sink.
31007 Disable typefind code in basesrc.
31008 Crude port of typefindelement.
31012 2005-04-11 Wim Taymans <wim@fluendo.com>
31014 * check/gst/gstbus.c: (gstbus_suite):
31015 * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
31016 * check/gstcheck.h:
31017 Fix up the timeout so that the test does not fail.
31019 2005-04-06 Wim Taymans <wim@fluendo.com>
31022 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
31023 (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
31024 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
31025 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
31026 (gst_basesrc_check_get_range), (gst_basesrc_loop),
31027 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
31028 (gst_basesrc_stop), (gst_basesrc_activate),
31029 (gst_basesrc_change_state), (basesrc_find_peek),
31030 (basesrc_find_suggest), (gst_basesrc_type_find):
31031 * gst/base/gstbasesrc.h:
31032 * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
31033 (gst_filesrc_class_init), (gst_filesrc_init),
31034 (gst_filesrc_finalize), (gst_filesrc_set_location),
31035 (gst_filesrc_set_property), (gst_filesrc_get_property),
31036 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
31037 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
31038 (gst_filesrc_create_read), (gst_filesrc_create),
31039 (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
31040 * gst/elements/gstfilesrc.h:
31041 * gst/gstelement.c: (gst_element_get_state_func),
31042 (gst_element_lost_state), (gst_element_pads_activate):
31043 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
31044 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
31045 (gst_pad_pull_range):
31047 More work on the generic source base class, implement seeking,
31049 Make filesrc extend the base source class.
31050 Added gst_pad_set_checkgetrange_function to GstPad.
31052 2005-04-06 Andy Wingo <wingo@pobox.com>
31054 * pkgconfig/gstreamer-base.pc.in:
31055 * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
31057 * pkgconfig/Makefile.am:
31058 * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
31060 2005-04-04 Wim Taymans <wim@fluendo.com>
31062 * gst/base/Makefile.am:
31064 * gst/base/gstbasesink.c: (gst_basesink_base_init),
31065 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
31066 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
31067 (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
31068 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
31069 (gst_basesrc_base_init), (gst_basesrc_class_init),
31070 (gst_basesrc_init), (gst_basesrc_get_formats),
31071 (gst_basesrc_get_query_types), (gst_basesrc_query),
31072 (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
31073 (gst_basesrc_set_property), (gst_basesrc_get_property),
31074 (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
31075 (gst_basesrc_loop), (gst_basesrc_activate),
31076 (gst_basesrc_change_state):
31077 * gst/base/gstbasesrc.h:
31078 * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
31079 (gst_fakesrc_class_init), (gst_fakesrc_init),
31080 (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
31081 (gst_fakesrc_get_property), (gst_fakesrc_create):
31082 * gst/elements/gstfakesrc.h:
31083 * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
31084 (gst_filesrc_open_file), (gst_filesrc_loop),
31085 (gst_filesrc_activate), (filesrc_find_peek),
31086 (gst_filesrc_type_find):
31087 Made base source class, make fakesrc extend it.
31088 Add comments to basesink class.
31089 Some filesrc cleanup.
31091 2005-03-31 David Schleef <ds@schleef.org>
31093 * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
31094 Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
31095 expected to link against libgstreamer.
31096 * gst/base/Makefile.am: link against libgstreamer
31097 * gst/elements/Makefile.am: same
31099 2005-03-31 Andy Wingo <wingo@pobox.com>
31101 * tests/instantiate/Makefile.am:
31102 * tests/instantiate/caps.c: Add test to test speed of caps copy
31105 * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
31106 GMemChunk to be fair.
31108 * gst/gsttrashstack.h: Remove warning about using the fallback
31109 trash stack implementation, it's still faster than malloc.
31111 2005-03-30 Andy Wingo <wingo@pobox.com>
31113 * tests/complexity.c: Add a copyright.
31115 2005-03-31 Wim Taymans <wim@fluendo.com>
31117 * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
31118 (gst_base_transform_class_init), (gst_base_transform_init),
31119 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
31120 (gst_base_transform_get_property),
31121 (gst_base_transform_sink_activate),
31122 (gst_base_transform_src_activate),
31123 (gst_base_transform_change_state):
31124 * gst/base/gstbasetransform.h:
31125 * gst/elements/gstidentity.c: (gst_identity_class_init),
31126 (gst_identity_event), (gst_identity_check_perfect),
31127 (gst_identity_transform), (gst_identity_start),
31128 (gst_identity_stop):
31129 Added start/stop methods to transform base class so subclasses
31130 don't need to deal with state changes even.
31132 2005-03-31 Wim Taymans <wim@fluendo.com>
31134 * gst/gstevent.c: (gst_event_new_discontinuous_valist),
31135 (gst_event_new_discontinuous), (gst_event_discont_get_value):
31137 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
31138 (gst_pad_pull_range):
31139 Added rate to the discont event to prepare for variable speed
31140 and reverse playback.
31142 2005-03-29 David Schleef <ds@schleef.org>
31145 * testsuite/trigger/Makefile.am:
31146 * testsuite/trigger/trigger.c: A little example program to show
31147 how trigger-based elements can work.
31149 2005-03-29 Wim Taymans <wim@fluendo.com>
31151 * gst/base/Makefile.am:
31153 * gst/base/gstbasesink.c: (gst_basesink_get_type),
31154 (gst_basesink_base_init), (gst_basesink_class_init),
31155 (gst_basesink_pad_getcaps), (gst_basesink_init),
31156 (gst_basesink_activate), (gst_basesink_change_state):
31157 * gst/base/gstbasesink.h:
31158 * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
31159 (gst_base_transform_base_init), (gst_base_transform_finalize),
31160 (gst_base_transform_class_init), (gst_base_transform_init),
31161 (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
31162 (gst_base_transform_event), (gst_base_transform_getrange),
31163 (gst_base_transform_chain), (gst_base_transform_handle_buffer),
31164 (gst_base_transform_set_property),
31165 (gst_base_transform_get_property),
31166 (gst_base_transform_sink_activate),
31167 (gst_base_transform_src_activate),
31168 (gst_base_transform_change_state):
31169 * gst/base/gstbasetransform.h:
31170 * gst/elements/gstidentity.c: (gst_identity_finalize),
31171 (gst_identity_class_init), (gst_identity_init),
31172 (gst_identity_event), (gst_identity_check_perfect),
31173 (gst_identity_transform), (gst_identity_set_property),
31174 (gst_identity_get_property), (gst_identity_change_state):
31175 * gst/elements/gstidentity.h:
31176 * gst/gstelement.c: (gst_element_get_state_func),
31177 (gst_element_lost_state), (gst_element_pads_activate):
31178 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
31179 (gst_pad_check_pull_range), (gst_pad_pull_range):
31181 Simplify pad activation.
31182 Added function to check if pull_range can be performed.
31183 Error out when pulling inactive or flushing pads.
31184 Removed const from refcounted types as it does not make sense.
31185 Simplify pad templates in basesink
31186 Added base class for simple 1-to-1 transforms.
31187 Make identity subclass the base transform.
31189 2005-03-29 Andy Wingo <wingo@pobox.com>
31191 * docs/libs/gstreamer-libs-overrides.txt:
31192 * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
31193 really don't understand what's going on, but like whatever. I want
31196 * docs/gst/Makefile.am:
31197 * docs/libs/Makefile.am: Dist the overrides files.
31199 * check/Makefile.am (clean-local): Remove .libs directories.
31201 * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
31202 elements to EXTRA_DIST, so po/ files are happy.
31204 * po/POTFILES.in: Er, remove it here.
31206 * po/POTFILES: Remove gstspider.c.
31208 * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
31210 * docs/libs/gstreamer-libs-docs.sgml:
31211 * docs/libs/gstreamer-libs-sections.txt: Remove the section on
31214 * tests/complexity.c (main): Set the length of the preroll queue
31215 on the sinks to prevent a lockup.
31217 * libs/gst/dataprotocol/Makefile.am:
31218 * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
31219 the same as the one in check/gst-libs/gdp.c.
31221 * po/, docs/gst/: Commit automatic changes to docs and po files.
31223 * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
31224 the versioned libgstbase.
31226 * check/Makefile.am: Depend on an unversioned gst-register, seems
31227 to make autoconf happier.
31229 * gst/base/Makefile.am: Make libgstbase a versioned lib.
31231 2005-03-28 Wim Taymans <wim@fluendo.com>
31234 * docs/design/part-gstelement.txt:
31235 * docs/design/part-negotiation.txt:
31236 * docs/design/part-preroll.txt:
31237 * docs/design/part-scheduling.txt:
31238 * docs/design/part-states.txt:
31240 * gst/base/Makefile.am:
31242 * gst/base/gstbasesink.c: (gst_basesink_get_template),
31243 (gst_basesink_base_init), (gst_basesink_class_init),
31244 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
31245 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
31246 (gst_basesink_set_pad_functions),
31247 (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
31248 (gst_basesink_set_property), (gst_basesink_get_property),
31249 (gst_base_sink_get_template), (gst_base_sink_get_caps),
31250 (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
31251 (gst_basesink_preroll_queue_push),
31252 (gst_basesink_preroll_queue_empty),
31253 (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
31254 (gst_basesink_event), (gst_basesink_get_times),
31255 (gst_basesink_do_sync), (gst_basesink_handle_buffer),
31256 (gst_basesink_chain_unlocked), (gst_basesink_chain),
31257 (gst_basesink_loop), (gst_basesink_activate),
31258 (gst_basesink_change_state):
31259 * gst/base/gstbasesink.h:
31260 * gst/elements/Makefile.am:
31261 * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
31262 (gst_fakesink_class_init), (gst_fakesink_init),
31263 (gst_fakesink_set_property), (gst_fakesink_get_property),
31264 (gst_fakesink_get_times), (gst_fakesink_event),
31265 (gst_fakesink_preroll), (gst_fakesink_render),
31266 (gst_fakesink_change_state):
31267 * gst/elements/gstfakesink.h:
31268 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
31269 (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
31270 * gst/gstelement.c: (gst_element_add_pad),
31271 (gst_element_get_state_func), (gst_element_abort_state),
31272 (gst_element_commit_state), (gst_element_lost_state),
31273 (gst_element_set_state), (gst_element_pads_activate):
31274 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
31275 * gst/gstpipeline.c: (gst_pipeline_send_event),
31276 (gst_pipeline_change_state):
31277 Added state change code.
31278 Added/updated docs.
31279 Added sink base class, make fakesink extend the base class.
31280 Small cleanups in GstPipeline.
31282 2005-03-26 David Schleef <ds@schleef.org>
31284 * gst/Makefile.am: remove gstcpu.[ch]. The gst_cpu functionality
31285 is broken and should be implemented in a different library.
31286 * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
31287 * gst/gst.h: remove gstcpu.h
31288 * gst/gstcpu.c: remove
31289 * gst/gstcpu.h: remove
31290 * gst/Makefile.am.future: Remove this file. It's ancient.
31292 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
31294 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
31295 (gst_bin_send_event):
31296 Add default event/set_manager handlers. The set_manager handler
31297 takes care that the manager is distributed over kids that were
31298 already in the bin before the manager was set. The event handler
31299 is a utility virtual function that sends the event over all sinks,
31300 so that gst_element_send_event (bin, event); has the expected
31302 * gst/gstpad.c: (gst_pad_event_default):
31303 Re-install default event handling for discontinuities, so that
31304 seeking works without requiring hacks in applications or extra
31306 * gst/gstpipeline.c: (gst_pipeline_class_init),
31307 (gst_pipeline_send_event):
31308 Half hack, half utility: set a pipeline to PAUSED for seek events,
31309 since that is the only way we can guarantee a/v sync. Means that
31310 you can do gst_element_seek (pipeline, method, pos); on a pipeline
31311 and it "just works".
31313 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
31315 * gst/gstpipeline.c: (gst_pipeline_use_clock):
31316 Lock/unlock mismatch.
31318 2005-03-25 Thomas Vander Stichele <thomas at apestaart dot org>
31320 * docs/faq/gst-uninstalled:
31321 add gst-plugins-base
31322 * docs/gst/Makefile.am:
31323 don't error out until docs are fixed
31324 * docs/gst/gstreamer.types:
31327 2005-03-22 Wim Taymans <wim@fluendo.com>
31329 * check/Makefile.am:
31330 * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
31331 * gst/gststructure.c: (gst_structure_set_valist),
31332 (gst_structure_copy_conditional):
31333 Activated more tests.
31334 Added message test.
31335 Added G_TYPE_POINTER to GstStructure.
31338 2005-03-22 Wim Taymans <wim@fluendo.com>
31340 * docs/design/part-TODO.txt:
31341 * docs/design/part-events.txt:
31342 * docs/design/part-gstbin.txt:
31343 * docs/design/part-gstbus.txt:
31344 * docs/design/part-gstpipeline.txt:
31345 * docs/design/part-messages.txt:
31347 * gst/gstmessage.c:
31350 2005-03-21 Wim Taymans <wim@fluendo.com>
31352 * gst/gstbus.c: (gst_bus_post):
31353 Fix copy-and-paste error.
31355 2005-03-21 Wim Taymans <wim@fluendo.com>
31357 * check/Makefile.am:
31359 * gst/elements/Makefile.am:
31360 * gst/elements/gstelements.c:
31361 * gst/elements/gstfakesink.c: (gst_fakesink_init),
31362 (gst_fakesink_event), (gst_fakesink_chain):
31363 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
31364 (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
31365 (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
31366 (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
31367 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
31368 (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
31369 (gst_fakesrc_loop), (gst_fakesrc_activate),
31370 (gst_fakesrc_change_state):
31371 * gst/elements/gstfakesrc.h:
31372 * gst/elements/gstfilesrc.c: (gst_filesrc_init),
31373 (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
31374 (gst_filesrc_open_file), (gst_filesrc_loop),
31375 (gst_filesrc_activate), (gst_filesrc_change_state),
31376 (filesrc_find_peek), (filesrc_find_suggest),
31377 (gst_filesrc_type_find):
31378 * gst/elements/gstidentity.c: (gst_identity_finalize),
31379 (gst_identity_class_init), (gst_identity_init),
31380 (gst_identity_proxy_getcaps), (identity_queue_push),
31381 (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
31382 (gst_identity_getrange), (gst_identity_chain),
31383 (gst_identity_sink_loop), (gst_identity_src_loop),
31384 (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
31385 (gst_identity_set_property), (gst_identity_get_property),
31386 (gst_identity_change_state):
31387 * gst/elements/gstidentity.h:
31388 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
31389 (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
31390 (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
31391 (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
31392 (gst_tee_sink_activate):
31393 * gst/elements/gsttee.h:
31394 * gst/gst.c: (gst_register_core_elements), (init_post):
31396 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
31397 (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
31398 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
31399 (gst_bin_change_state):
31401 * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
31402 (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
31403 (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
31404 (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
31405 (gst_bus_set_sync_handler), (gst_bus_create_watch),
31406 (bus_watch_callback), (bus_watch_destroy),
31407 (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
31408 (poll_timeout), (gst_bus_poll):
31412 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
31413 (gst_element_post_message), (gst_element_message_full),
31414 (gst_element_get_state_func), (gst_element_get_state),
31415 (gst_element_abort_state), (gst_element_commit_state),
31416 (gst_element_lost_state), (gst_element_set_state),
31417 (gst_element_pads_activate), (gst_element_change_state),
31418 (gst_element_dispose), (gst_element_set_manager_func),
31419 (gst_element_set_bus_func), (gst_element_set_scheduler_func),
31420 (gst_element_set_manager), (gst_element_get_manager),
31421 (gst_element_set_bus), (gst_element_get_bus),
31422 (gst_element_set_scheduler), (gst_element_get_scheduler):
31423 * gst/gstelement.h:
31424 * gst/gstevent.c: (gst_event_new_segment_seek),
31425 (gst_event_new_flush):
31427 * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
31428 (_gst_message_free), (gst_message_get_type), (gst_message_new),
31429 (gst_message_new_eos), (gst_message_new_error),
31430 (gst_message_new_warning), (gst_message_new_tag),
31431 (gst_message_new_state_changed), (gst_message_new_application),
31432 (gst_message_get_structure), (gst_message_parse_tag),
31433 (gst_message_parse_state_changed), (gst_message_parse_error),
31434 (gst_message_parse_warning):
31435 * gst/gstmessage.h:
31436 * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
31437 (gst_real_pad_set_property), (gst_pad_set_active),
31438 (gst_pad_is_active), (gst_pad_set_blocked_async),
31439 (gst_pad_set_blocked), (gst_pad_is_blocked),
31440 (gst_pad_set_activate_function), (gst_pad_set_loop_function),
31441 (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
31442 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
31443 (gst_pad_unlink), (gst_pad_link_prepare_filtered),
31444 (gst_pad_link_filtered), (gst_pad_relink_filtered),
31445 (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
31446 (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
31447 (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
31448 (gst_pad_set_caps), (gst_pad_configure_sink),
31449 (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
31450 (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
31451 (gst_real_pad_dispose), (gst_real_pad_finalize),
31452 (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
31453 (gst_pad_event_default_dispatch), (gst_pad_event_default),
31454 (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
31456 * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
31457 (pipeline_bus_handler), (gst_pipeline_change_state),
31458 (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
31459 * gst/gstpipeline.h:
31461 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
31462 (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
31463 (gst_queue_link_src), (gst_queue_bufferalloc),
31464 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
31465 (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
31466 (gst_queue_loop), (gst_queue_handle_src_event),
31467 (gst_queue_handle_src_query), (gst_queue_src_activate),
31468 (gst_queue_change_state):
31470 * gst/gstscheduler.c: (gst_scheduler_init),
31471 (gst_scheduler_dispose), (gst_scheduler_create_task),
31472 (gst_scheduler_factory_create):
31473 * gst/gstscheduler.h:
31474 * gst/gststructure.c: (gst_structure_get_type),
31475 (gst_structure_copy_conditional):
31476 * gst/gststructure.h:
31477 * gst/gsttaginterface.h:
31478 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
31479 (gst_task_init), (gst_task_dispose), (gst_task_create),
31480 (gst_task_get_state), (gst_task_start), (gst_task_stop),
31486 * gst/schedulers/Makefile.am:
31487 * gst/schedulers/cothreads_compat.h:
31488 * gst/schedulers/entryscheduler.c:
31489 * gst/schedulers/faircothreads.c:
31490 * gst/schedulers/faircothreads.h:
31491 * gst/schedulers/fairscheduler.c:
31492 * gst/schedulers/gstbasicscheduler.c:
31493 * gst/schedulers/gstoptimalscheduler.c:
31494 * gst/schedulers/gthread-cothreads.h:
31495 * gst/schedulers/threadscheduler.c:
31496 (gst_thread_scheduler_task_get_type),
31497 (gst_thread_scheduler_task_class_init),
31498 (gst_thread_scheduler_task_init),
31499 (gst_thread_scheduler_task_start),
31500 (gst_thread_scheduler_task_stop),
31501 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
31502 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
31503 (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
31504 (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
31506 * libs/gst/Makefile.am:
31507 * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
31508 * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
31509 (gst_file_pad_parent_set):
31510 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
31511 (gst_dp_event_from_packet):
31512 * tests/complexity.c: (main):
31513 * tests/mass_elements.c: (main):
31514 * testsuite/states/locked.c: (message_received), (main):
31515 * testsuite/states/parent.c: (main):
31516 * tools/gst-inspect.c: (print_element_flag_info),
31517 (print_implementation_info), (print_pad_info):
31518 * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
31520 * tools/gst-md5sum.c: (event_loop), (main):
31521 * tools/gst-typefind.c: (main):
31522 * tools/gst-xmlinspect.c: (print_element_info):
31524 Added GstBus for mainloop integration.
31525 Added GstMessage for sending notifications on the bus.
31526 Added GstTask as an abstraction for pipeline entry points.
31528 Removed Schedulers.
31529 Simplified GstQueue for multithreaded core.
31530 Made _link threadsafe, removed old capsnego.
31531 Added STREAM_LOCK and PREROLL_LOCK in GstPad.
31532 Added pad blocking functions.
31533 Reworked scheduling functions in GstPad to prepare for
31534 scheduling updates soon.
31535 Moved events out of data stream.
31536 Simplified GstEvent types.
31537 Added return values to push/pull.
31538 Removed clocking from GstElement.
31539 Added prototypes for state change function for next merge.
31540 Removed iterate from bins and state change management.
31541 Fixed some elements, disabled others for now.
31542 Fixed -inspect and -launch.
31543 Added check for GstBus.
31545 2005-03-10 Wim Taymans <wim@fluendo.com>
31547 * docs/design/part-MT-refcounting.txt:
31548 * docs/design/part-clocks.txt:
31549 * docs/design/part-gstelement.txt:
31550 * docs/design/part-gstobject.txt:
31551 * docs/design/part-standards.txt:
31552 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
31553 (gst_bin_remove_func), (gst_bin_remove):
31557 * testsuite/clock/clock1.c: (main):
31558 * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
31560 * testsuite/dlopen/loadgst.c: (do_test):
31561 * testsuite/refcounting/bin.c: (add_remove_test1),
31562 (add_remove_test2), (main):
31563 * testsuite/refcounting/element.c: (main):
31564 * testsuite/refcounting/element_pad.c: (main):
31565 * testsuite/refcounting/pad.c: (main):
31566 * tools/gst-launch.c: (sigint_handler_sighandler):
31567 * tools/gst-typefind.c: (main):
31569 Added doc about clock.
31570 removed gst_bin_iterate_recurse_up(), marked methods
31572 Fix more testsuites.
31574 2005-03-09 Wim Taymans <wim@fluendo.com>
31576 * gst/gstpad.c: (gst_pad_get_direction),
31577 (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
31578 (gst_pad_collect_valist):
31579 * testsuite/bins/interface.c: (main):
31580 * testsuite/caps/audioscale.c: (test_caps):
31581 * testsuite/caps/caps.c: (test1), (test2), (test3):
31582 * testsuite/caps/deserialize.c: (main):
31583 * testsuite/caps/enumcaps.c: (main):
31584 * testsuite/caps/filtercaps.c: (main):
31585 * testsuite/caps/intersect2.c: (main):
31586 * testsuite/caps/random.c: (main):
31587 * testsuite/caps/renegotiate.c: (my_fixate), (main):
31588 * testsuite/caps/sets.c: (check_caps):
31589 * testsuite/caps/simplify.c: (check_caps), (main):
31590 * testsuite/caps/subtract.c: (check_caps):
31591 Fix _pad_get_direction wrt ghostpads.
31592 Fix caps testsuite.
31594 2005-03-09 Wim Taymans <wim@fluendo.com>
31596 * check/Makefile.am:
31597 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
31598 * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
31599 (ok_callback), (error_callback), (gst_systemclock_suite), (main):
31600 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
31601 (gst_bin_set_clock_func), (gst_bin_get_clock_func),
31602 (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
31603 (gst_bin_remove), (gst_bin_iterate_recurse_up),
31604 (bin_element_is_sink), (gst_bin_iterate_sinks),
31605 (gst_bin_iterate_all_by_interface):
31607 * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
31608 (gst_element_change_state), (gst_element_dispose),
31609 (gst_element_finalize), (gst_element_set_loop_function):
31610 * gst/gstelement.h:
31611 * gst/gstiterator.c: (find_custom_fold_func):
31612 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
31613 (gst_pad_collectv), (gst_pad_collect_valist),
31614 (gst_pad_template_new):
31615 * gst/gstpipeline.c: (gst_pipeline_class_init),
31616 (gst_pipeline_dispose), (gst_pipeline_set_property),
31617 (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
31618 (gst_pipeline_get_clock), (gst_pipeline_use_clock),
31619 (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
31621 * gst/schedulers/entryscheduler.c:
31622 * gst/schedulers/gstbasicscheduler.c:
31623 (gst_basic_scheduler_cothreaded_chain),
31624 (gst_basic_scheduler_chain_add_element):
31625 * testsuite/bins/interface.c: (main):
31627 Added GstSystemClock test.
31628 Implemented clock distribution code in GstBin.
31629 Implemented iterate sinks method for future use.
31630 Rearranged gstelement.h
31631 Fix GstIterator comparison bug.
31632 Moved some code to GstPipeline, mostly clocking related.
31634 2005-03-09 Wim Taymans <wim@fluendo.com>
31637 * gst/gst_private.h:
31638 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
31639 (gst_bin_remove_func), (gst_bin_remove),
31640 (gst_bin_get_by_name_recurse_up):
31641 * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
31642 (gst_clock_id_compare_func), (gst_clock_id_wait),
31643 (gst_clock_id_wait_async), (gst_clock_init),
31644 (gst_clock_adjust_unlocked), (gst_clock_get_time):
31645 * gst/gstelement.h:
31646 * gst/gstinfo.c: (_gst_debug_init):
31648 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
31649 (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
31651 Bump version number, we're now 0.9.0
31652 Add future debugging category.
31653 Fix NULL _unref() in _get_by_name_recurse_up
31654 Rearrange gstpad.h.
31657 2005-03-08 Wim Taymans <wim@fluendo.com>
31659 * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
31660 * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
31661 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
31662 * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
31663 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
31664 * gst/elements/gstfilesink.c: (gst_filesink_class_init):
31665 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
31666 * gst/elements/gstidentity.c: (gst_identity_class_init):
31667 * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
31668 * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
31669 * gst/elements/gstshaper.c: (gst_shaper_class_init):
31670 * gst/elements/gststatistics.c: (gst_statistics_class_init):
31671 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
31673 * gst/gstelement.c: (gst_element_class_init),
31674 (gst_element_base_class_init), (gst_element_init),
31675 (gst_element_get_random_pad), (gst_element_wait_state_change),
31676 (gst_element_change_state), (gst_element_dispose),
31677 (gst_element_finalize), (gst_element_set_loop_function):
31678 * gst/gstelement.h:
31679 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
31680 * gst/gstthread.c: (gst_thread_class_init),
31681 (gst_thread_release_children_locks), (gst_thread_change_state):
31682 * gst/schedulers/gstbasicscheduler.c:
31683 (gst_basic_scheduler_loopfunc_wrapper),
31684 (gst_basic_scheduler_chain_wrapper),
31685 (gst_basic_scheduler_src_wrapper),
31686 (gst_basic_scheduler_remove_element):
31687 * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
31688 Remove threadsafe properties. Fix elements because GObject
31689 complains when installing a property before declaring a
31690 set/get_property handler.
31691 Rearrange gstelement.h file, use STATE macros for state locks.
31692 Free mutexes in the finalize method instead of dispose.
31694 2005-03-08 Wim Taymans <wim@fluendo.com>
31696 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
31697 * gst/gstthread.c: (gst_thread_release_children_locks):
31698 Added parentage check.
31699 Fix build og GstThread again.
31701 2005-03-08 Wim Taymans <wim@fluendo.com>
31703 * docs/design/part-MT-refcounting.txt:
31704 * docs/design/part-conventions.txt:
31705 * docs/design/part-gstobject.txt:
31706 * docs/design/part-relations.txt:
31707 * docs/design/part-standards.txt:
31708 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
31709 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
31710 (gst_bin_get_by_name), (gst_bin_get_by_interface),
31711 (gst_bin_iterate_all_by_interface):
31714 * gst/gstelement.c: (gst_element_class_init),
31715 (gst_element_change_state), (gst_element_set_loop_function):
31716 * gst/gstelement.h:
31717 * gst/gstiterator.c:
31718 * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
31719 (gst_object_unref), (gst_object_sink), (gst_object_dispose),
31720 (gst_object_dispatch_properties_changed), (gst_object_set_name),
31721 (gst_object_set_parent), (gst_object_unparent),
31722 (gst_object_check_uniqueness):
31724 Docs updates, clean up some headers.
31726 2005-03-07 Wim Taymans <wim@fluendo.com>
31728 * check/.cvsignore:
31729 * check/Makefile.am:
31730 * check/gst-libs/.cvsignore:
31731 * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
31732 * check/gst/.cvsignore:
31733 * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
31734 (START_TEST), (gstbus_suite), (main):
31735 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
31736 * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
31737 (gst_data_suite), (main):
31738 * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
31739 (add_fold_func), (gstiterator_suite), (main):
31740 * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
31741 (thread_name_object), (thread_name_object_default),
31742 (gst_object_name_compare), (gst_object_suite), (main):
31743 * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
31744 (gst_pad_suite), (main):
31745 * check/gstcheck.c: (gst_check_log_message_func),
31746 (gst_check_log_critical_func), (gst_check_init):
31747 * check/gstcheck.h:
31748 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
31749 (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
31752 2005-03-07 Wim Taymans <wim@fluendo.com>
31754 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
31755 (gst_list_iterator_next), (gst_list_iterator_resync),
31756 (gst_list_iterator_free), (gst_iterator_new_list),
31757 (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
31758 (gst_iterator_free), (gst_iterator_push), (filter_next),
31759 (filter_resync), (filter_uninit), (filter_free),
31760 (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
31761 (gst_iterator_foreach), (find_custom_fold_func),
31762 (gst_iterator_find_custom):
31763 * gst/gstiterator.h:
31764 Added missing files.
31766 2005-03-07 Wim Taymans <wim@fluendo.com>
31770 * docs/design/part-MT-refcounting.txt:
31771 * docs/design/part-conventions.txt:
31772 * docs/design/part-gstobject.txt:
31773 * docs/design/part-relations.txt:
31774 * examples/mixer/mixer.c: (main):
31775 * examples/thread/thread.c: (eos), (main):
31777 * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
31778 * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
31779 (gst_spider_plug_from_srcpad):
31780 * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
31781 (gst_spider_identity_change_state),
31782 (gst_spider_identity_sink_loop_type_finding):
31783 * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
31784 * gst/elements/gstidentity.c: (gst_identity_init):
31785 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
31786 (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
31787 * gst/elements/gsttypefindelement.c: (free_entry):
31790 * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
31791 (gst_bin_set_clock_func), (gst_bin_auto_clock),
31792 (gst_bin_set_index), (gst_bin_set_element_sched),
31793 (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
31794 (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
31795 (gst_bin_iterate_elements), (iterate_child_recurse),
31796 (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
31797 (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
31798 (compare_interface), (gst_bin_get_by_interface),
31799 (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
31801 * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
31802 (gst_buffer_default_free), (gst_buffer_default_copy),
31803 (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
31804 (gst_buffer_create_sub):
31806 * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
31807 (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
31808 (gst_caps_unref), (gst_static_caps_get),
31809 (gst_caps_remove_and_get_structure), (gst_caps_append),
31810 (gst_caps_append_structure), (gst_caps_remove_structure),
31811 (gst_caps_copy_nth), (gst_caps_set_simple),
31812 (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
31813 (gst_structure_is_equal_foreach), (gst_caps_is_subset),
31814 (gst_caps_structure_intersect_field), (gst_caps_intersect),
31815 (gst_caps_structure_subtract_field), (gst_caps_subtract),
31816 (gst_caps_normalize_foreach), (gst_caps_compare_structures),
31817 (gst_caps_structure_figure_out_union),
31818 (gst_caps_switch_structures), (gst_caps_do_simplify),
31819 (gst_caps_replace), (gst_caps_from_string),
31820 (gst_caps_copy_conditional):
31822 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
31823 (_gst_clock_id_free), (gst_clock_id_unref),
31824 (gst_clock_id_compare_func), (gst_clock_id_wait),
31825 (gst_clock_id_wait_async), (gst_clock_class_init),
31826 (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
31827 (gst_clock_get_time), (gst_clock_set_time_adjust),
31828 (gst_clock_set_property), (gst_clock_get_property):
31831 * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
31832 * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
31834 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
31835 (gst_element_requires_clock), (gst_element_provides_clock),
31836 (gst_element_set_clock), (gst_element_clock_wait),
31837 (gst_element_wait), (gst_element_set_time_delay),
31838 (gst_element_is_indexable), (gst_element_add_pad),
31839 (gst_element_add_ghost_pad), (gst_element_remove_pad),
31840 (pad_compare_name), (gst_element_get_static_pad),
31841 (gst_element_request_pad), (gst_element_get_request_pad),
31842 (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
31843 (gst_element_class_get_pad_template_list),
31844 (gst_element_class_get_pad_template), (gst_element_error_func),
31845 (gst_element_get_random_pad), (gst_element_get_event_masks),
31846 (gst_element_send_event), (gst_element_seek),
31847 (gst_element_get_query_types), (gst_element_query),
31848 (gst_element_get_formats), (gst_element_convert),
31849 (gst_element_is_locked_state), (gst_element_set_locked_state),
31850 (gst_element_sync_state_with_parent), (gst_element_change_state),
31851 (gst_element_finalize), (gst_element_yield),
31852 (gst_element_interrupt), (gst_element_set_scheduler),
31853 (gst_element_get_scheduler), (gst_element_set_loop_function):
31854 * gst/gstelement.h:
31856 * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
31857 (gst_format_get_by_nick), (gst_format_get_details),
31858 (gst_format_iterate_definitions):
31860 * gst/gstindex.c: (gst_index_gtype_resolver):
31863 * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
31864 (gst_mem_chunk_free):
31865 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
31866 (gst_object_ref), (gst_object_unref), (gst_object_sink),
31867 (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
31868 (gst_object_dispatch_properties_changed),
31869 (gst_object_set_name_default), (gst_object_set_name),
31870 (gst_object_get_name), (gst_object_set_name_prefix),
31871 (gst_object_get_name_prefix), (gst_object_set_parent),
31872 (gst_object_get_parent), (gst_object_unparent),
31873 (gst_object_check_uniqueness), (gst_object_save_thyself),
31874 (gst_object_restore_thyself), (gst_object_real_restore_thyself),
31875 (gst_object_set_property), (gst_object_get_property),
31876 (gst_object_get_path_string):
31878 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
31879 (gst_real_pad_init), (gst_real_pad_get_property),
31880 (gst_pad_custom_new), (gst_pad_get_direction),
31881 (gst_pad_set_active), (gst_pad_is_active),
31882 (gst_pad_set_event_function), (gst_pad_is_linked),
31883 (gst_pad_link_free), (gst_pad_link_intersect),
31884 (gst_pad_link_fixate), (gst_pad_set_caps),
31885 (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
31886 (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
31887 (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
31888 (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
31889 (gst_pad_get_caps), (gst_pad_peer_get_caps),
31890 (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
31891 (gst_pad_realize), (gst_pad_get_allowed_caps),
31892 (gst_real_pad_dispose), (gst_real_pad_finalize),
31893 (gst_pad_collectv), (gst_pad_collect_valist),
31894 (gst_pad_template_dispose), (gst_pad_template_new),
31895 (gst_pad_get_internal_links):
31897 * gst/gstpipeline.c: (gst_pipeline_dispose),
31898 (gst_pipeline_change_state):
31899 * gst/gstpipeline.h:
31901 * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
31902 (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
31903 * gst/gstpluginfeature.h:
31904 * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
31905 * gst/gstquery.c: (_gst_query_type_initialize),
31906 (gst_query_type_register), (gst_query_type_get_by_nick),
31907 (gst_query_type_get_details), (gst_query_type_iterate_definitions):
31909 * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
31910 * gst/gstscheduler.c: (gst_scheduler_add_element),
31911 (gst_scheduler_factory_create):
31912 * gst/gststructure.c: (gst_structure_set_parent_refcount),
31913 (gst_structure_free), (gst_structure_set_name),
31914 (gst_structure_id_set_value), (gst_structure_set_value),
31915 (gst_structure_set_valist), (gst_structure_remove_field),
31916 (gst_structure_remove_fields),
31917 (gst_structure_remove_fields_valist),
31918 (gst_structure_remove_all_fields), (gst_structure_foreach),
31919 (gst_structure_map_in_place),
31920 (gst_caps_structure_fixate_field_nearest_int),
31921 (gst_caps_structure_fixate_field_nearest_double):
31922 * gst/gststructure.h:
31923 * gst/gstsystemclock.c: (gst_system_clock_class_init),
31924 (gst_system_clock_init), (gst_system_clock_dispose),
31925 (gst_system_clock_async_thread),
31926 (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
31927 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
31928 * gst/gstsystemclock.h:
31929 * gst/gsttag.c: (gst_tag_list_add_value_internal),
31930 (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
31931 * gst/gsttaginterface.c:
31932 * gst/gstthread.c: (gst_thread_dispose),
31933 (gst_thread_release_children_locks), (gst_thread_change_state),
31934 (gst_thread_main_loop):
31935 * gst/gsttrashstack.h:
31936 * gst/gsttypefind.c: (gst_type_find_factory_dispose):
31938 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
31939 (gst_element_request_pad), (gst_element_get_pad_from_template),
31940 (gst_element_request_compatible_pad),
31941 (gst_element_get_compatible_pad_filtered),
31942 (gst_element_get_compatible_pad), (gst_element_state_get_name),
31943 (gst_element_link_pads_filtered), (gst_element_link_filtered),
31944 (gst_element_link_many), (gst_element_link),
31945 (gst_element_link_pads), (gst_element_unlink_pads),
31946 (gst_element_unlink_many), (gst_element_unlink),
31947 (gst_pad_can_link_filtered), (gst_pad_can_link),
31948 (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
31949 (gst_object_default_error), (gst_bin_add_many),
31950 (gst_bin_remove_many), (gst_element_populate_std_props),
31951 (gst_element_class_install_std_props), (gst_buffer_merge),
31952 (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
31953 (link_fold_func), (gst_pad_proxy_setcaps):
31955 * gst/gstvalue.c: (gst_value_deserialize_string):
31956 * gst/parse/grammar.y:
31957 * gst/schedulers/gstbasicscheduler.c:
31958 (gst_basic_scheduler_cothreaded_chain),
31959 (gst_basic_scheduler_chain_recursive_add),
31960 (gst_basic_scheduler_pad_link):
31961 * gst/schedulers/gstoptimalscheduler.c:
31962 (get_group_schedule_function),
31963 (gst_opt_scheduler_state_transition),
31964 (gst_opt_scheduler_add_element), (element_get_reachables_func):
31965 * libs/gst/bytestream/bytestream.c:
31966 * libs/gst/dataprotocol/dataprotocol.c:
31967 (gst_dp_header_from_buffer):
31970 * tests/threadstate/threadstate2.c: (eos):
31971 * tools/gst-compprep.c: (main):
31972 * tools/gst-inspect.c: (print_field), (print_element_flag_info),
31973 (print_pad_info), (print_children_info):
31974 * tools/gst-launch.c: (idle_func), (main):
31975 * tools/gst-md5sum.c: (idle_func), (main):
31976 * tools/gst-xmlinspect.c: (print_element_info):
31977 First THREADED backport attempt, focusing on adding locks and
31978 making sure the API is threadsafe. Needs more work. More docs
31981 2005-02-24 Andy Wingo <wingo@pobox.com>
31983 * tests/bench-complexity.scm:
31984 * tests/complexity.gnuplot: New files, good for running complexity
31987 * tests/Makefile.am:
31988 * tests/complexity.c: New test, sets up N elements, at each level
31989 teeing into M streams per element. Eeeenteresting.
31991 * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
31992 benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
31993 running bench-mass_elements.scm.
31995 * tests/bench-mass_elements.scm: New script, runs mass_elements
31996 for various numbers of identities, outputting the results to a
31997 file. Requires guile 1.6. Just for testing.
31999 2005-02-23 Thomas Vander Stichele <thomas at apestaart dot org>
32001 * gst/schedulers/fairscheduler.c:
32002 compile with debug disabled
32004 2005-02-22 Thomas Vander Stichele <thomas at apestaart dot org>
32007 hunting season on 0.9 is now OPEN