1 2008-11-12 Sebastian Dröge <sebastian.droege@collabora.co.uk>
3 * gst/gstregistrybinary.c: (gst_registry_binary_write_chunk),
4 (gst_registry_binary_initialize_magic),
5 (gst_registry_binary_write_cache),
6 (gst_registry_binary_check_magic):
7 * gst/gstregistrybinary.h:
8 Don't write and check a CRC for the binary registry file. It's
9 guaranteed that the registry is completely written (it's first written
10 to a temporary file and then moved) and if the registry was corrupted
11 by some hardware failure we would have bigger problems.
13 Bump binary registry version to 0.10.21.1 for this as it's an
14 incompatible change and to ensure that the registry gets rebuild
15 after the update.
17 This saves some milliseconds for reading/writing the registry.
18 Fixes bug #560399.
20 2008-11-11 Wim Taymans <wim.taymans@collabora.co.uk>
22 * docs/random/wtay/poll-timeout:
23 Some pseudo code for how we could implement clock timeouts with GstPoll.
25 2008-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
27 * plugins/elements/gstfilesink.c:
28 Update Author string to match others.
30 2008-11-06 Wim Taymans <wim.taymans@collabora.co.uk>
32 * gst/gstvalue.c: (gst_type_is_fixed), (gst_value_is_fixed):
33 Reorganize some more, be more conservative with the GST_TYPE_ARRAY not
34 being fixed and inline the trivial check.
36 2008-11-06 Wim Taymans <wim.taymans@collabora.co.uk>
38 * gst/gstcaps.c: (gst_caps_copy), (_gst_caps_free),
39 (gst_caps_merge_structure), (gst_caps_get_structure),
40 (gst_caps_copy_nth), (gst_caps_set_simple),
41 (gst_caps_set_simple_valist), (gst_caps_is_fixed),
42 (gst_caps_is_equal_fixed), (gst_caps_intersect),
43 (gst_caps_subtract), (gst_caps_normalize), (gst_caps_do_simplify),
44 (gst_caps_to_string):
45 Callgrind micro optimisations.
46 Avoid array bounds checks and force inline of trivial function.
48 * gst/gstobject.c: (gst_object_set_name_default):
49 -1 is equivalent to letting glib to the strlen but then there is more
50 room for optimisations and it's not our fault.
52 * gst/gststructure.c: (gst_structure_id_empty_new_with_size):
53 no need to clear the array, we're cool.
55 * gst/gstvalue.c: (gst_type_is_fixed), (gst_value_is_fixed):
56 The most common _is_fixed() check is done on fundamental glib base
57 types so we check this first instead of doing a huge amount of
58 useless GST_TYPE_ARRAY calls.
60 2008-11-06 Wim Taymans <wim.taymans@collabora.co.uk>
62 * gst/gstevent.h:
63 Add a SKIP seek flag for use with advanced trickmodes.
64 API: GstSeekFlags::GST_SEEK_FLAG_SKIP
66 2008-11-05 Wim Taymans <wim.taymans@collabora.co.uk>
68 * gst/gststructure.c: (gst_structure_id_empty_new_with_size):
69 No need to memset, we can clear the value ourselves.
71 * gst/gstvalue.c: (gst_type_is_fixed),
72 (gst_value_get_compare_func):
73 Some optimisations from a few callgrind sessions:
74 When checking if a type is fixed, check for trivial fundamental types
75 first before checking types for which we need to get the type followed
76 by the heavy duty type checks, this reduces the amount of
77 g_type_fundamental() calls a lot.
78 When getting the compare function, first check for our registered types.
79 If that fails, do the heavy duty g_type_is_a() checks, reduces the
80 amount of g_type_is_a() considerably.
82 2008-11-05 Wim Taymans <wim.taymans@collabora.co.uk>
84 * docs/design/part-TODO.txt:
85 Mumble something about removing GstXML.
87 2008-11-04 Wim Taymans <wim.taymans@collabora.co.uk>
89 * gst/gstbin.c: (gst_bin_handle_message_func):
90 Get the seqnum before we dispose the message.
92 2008-11-04 Wim Taymans <wim.taymans@collabora.co.uk>
94 * docs/design/part-TODO.txt:
95 Refer to the framestepping document.
97 2008-11-04 Wim Taymans <wim.taymans@collabora.co.uk>
99 * gst/gstbin.c: (bin_handle_async_start),
100 (gst_bin_handle_message_func), (gst_bin_query):
101 * libs/gst/base/gstbasesink.c: (gst_base_sink_render_object),
102 (gst_base_sink_event), (gst_base_sink_change_state):
103 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
104 (gst_base_src_loop), (gst_base_src_change_state):
105 Copy seqnums from events to messages so that they can all be related
106 back to eachother.
108 2008-11-04 Wim Taymans <wim.taymans@collabora.co.uk>
110 * tools/gst-launch.c: (event_loop):
111 Print the message seqnums.
113 2008-11-04 Andy Wingo <wingo@pobox.com>
115 * gst/gstutils.c (gst_util_seqnum_next): Refactor for clarity.
117 2008-11-04 Andy Wingo <wingo@pobox.com>
119 Add sequence numbers to events and messages. See #559250.
121 * gst/gstutils.c (gst_util_seqnum_next, gst_util_seqnum_compare):
122 API: New functions.
124 * gst/gstevent.h:
125 * gst/gstevent.c (_gst_event_copy, gst_event_new): Initialize new
126 events with a new sequence number, and copy it when copying.
127 (gst_event_get_seqnum, gst_event_set_seqnum): API: Accessors for
128 an event's sequence number.
130 * gst/gstmessage.h:
131 * gst/gstmessage.c (_gst_message_copy, gst_message_new_custom):
132 (gst_event_get_seqnum, gst_event_set_seqnum): API: As with events,
133 so with messages.
135 * docs/gst/gstreamer-sections.txt: Add new functions to the docs.
137 2008-11-04 Wim Taymans <wim.taymans@collabora.co.uk>
139 * docs/manual/advanced-position.xml:
140 * docs/manual/basics-bins.xml:
141 * docs/manual/basics-bus.xml:
142 * docs/manual/basics-pads.xml:
143 * docs/manual/intro-gstreamer.xml:
144 * docs/manual/intro-preface.xml:
145 Some Application Development Manual fixes thanks to
146 Andrew Feren. Fixes #558459.
148 2008-11-03 Stefan Kost <ensonic@users.sf.net>
150 * gst/gstregistrybinary.c:
151 Don't bother with the GTimer if we don't output the results.
153 2008-11-03 Wim Taymans <wim.taymans@collabora.co.uk>
155 Patch by: David Schleef <ds@schleef.org>
157 * libs/gst/net/Makefile.am:
158 Add WIN32_LIBS to libgstnet LIBADD. Fixes #557300.
160 2008-10-31 Stefan Kost <ensonic@users.sf.net>
162 * gst/gstregistrybinary.c:
163 Oh my, studip, stupid me. Remove double stat() call.
165 2008-10-31 Stefan Kost <ensonic@users.sf.net>
167 * gst/gstpreset.c:
168 Use g_unlink instead of unlink.
170 * gst/gststructure.c:
171 Use glib type.
173 * gst/gstutils.c:
174 Add a FIXME:.
176 * gst/gsttaglist.c:
177 * gst/gsttypefind.c:
178 * gst/gstvalue.c:
179 Formatting & whitespaces.
181 2008-10-31 Stefan Kost <ensonic@users.sf.net>
183 * plugins/elements/gstidentity.c:
184 Doc typo. Use return value of parent_class->event.
186 * plugins/elements/gsttypefindelement.c:
187 Chain up at the end for consistency.
189 2008-10-30 Stefan Kost <ensonic@users.sf.net>
191 * docs/Makefile.am:
192 * docs/gst/gstreamer-docs.sgml:
193 * docs/gst/gstreamer-sections.txt:
194 * docs/gst/running.xml:
195 * docs/libs/gstreamer-libs-docs.sgml:
196 Change to xinclude based build - its faster and easier to maintain.
198 2008-10-30 Stefan Kost <ensonic@users.sf.net>
200 * gst/gstregistrybinary.c:
201 * gst/gstregistryxml.c:
202 Use g_unlink() as none of these are directories.
204 2008-10-29 Wim Taymans <wim.taymans@collabora.co.uk>
206 * gst/gstpipeline.c: (gst_pipeline_provide_clock_func):
207 Some more comments.
209 2008-10-27 Wim Taymans <wim.taymans@collabora.co.uk>
211 * libs/gst/base/gstbasetransform.c:
212 (gst_base_transform_find_transform), (gst_base_transform_getrange):
213 If we have a fixate function, call it even if we already have fixed caps
214 because the subclass might add some caps. Makes audioconvert add a
215 default channel layout.
217 2008-10-24 Wim Taymans <wim.taymans@collabora.co.uk>
219 * libs/gst/base/gstbasetransform.c:
220 (gst_base_transform_prepare_output_buffer),
221 (gst_base_transform_getrange):
222 Clear the output buffer variable.
223 Cleanups to the error path in the getrange function.
224 Fixes #557649.
226 2008-10-23 Sebastian Dröge <slomo@circular-chaos.org>
228 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
229 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
230 Use gst_buffer_try_new_and_alloc() and handle errors instead of
231 using gst_buffer_new_and_alloc() which aborts if the buffer couldn't
232 be allocated.
234 2008-10-23 Wim Taymans <wim.taymans@collabora.co.uk>
236 * gst/gstsegment.c: (gst_segment_set_newsegment_full):
237 Set the last_stop to a more meaningful position when configuring the
238 segment. ie. the start/stop of the segment or clipped against the
239 updated segment boundaries.
241 * tests/check/gst/gstsegment.c: (GST_START_TEST):
242 Add some unit tests for the last_stop.
244 2008-10-23 Sebastian Dröge <sebastian.droege@collabora.co.uk>
246 * libs/gst/base/gstbytereader.c:
247 Use GST_(READ|WRITE)_(FLOAT|DOUBLE)_(LE|BE) instead of our own
248 copies of them.
250 2008-10-23 Sebastian Dröge <sebastian.droege@collabora.co.uk>
252 * docs/gst/gstreamer-sections.txt:
253 * gst/gstutils.h:
254 API: Move float endianness conversion macros from libgstfloatcast
255 to core as it's useful in general, even in core. Fixes bug #555196.
256 This adds GDOUBLE_FROM_BE, GDOUBLE_FROM_LE, GDOUBLE_TO_BE,
257 GDOUBLE_TO_LE, GDOUBLE_SWAP_LE_BE, GFLOAT_FROM_BE, GFLOAT_FROM_LE,
258 GFLOAT_TO_BE, GFLOAT_TO_LE, GFLOAT_SWAP_LE_BE.
260 Also add GST_READ_ and GST_WRITE_ macros for floats and doubles:
261 GST_READ_FLOAT_LE, GST_READ_FLOAT_BE, GST_READ_DOUBLE_LE,
262 GST_READ_DOUBLE_BE, GST_WRITE_FLOAT_LE, GST_WRITE_FLOAT_BE,
263 GST_WRITE_DOUBLE_LE, GST_WRITE_DOUBLE_BE.
265 2008-10-22 Sebastian Dröge <slomo@circular-chaos.org>
267 * docs/libs/gstreamer-libs-sections.txt:
268 * libs/gst/base/gstbytereader.c: (gst_byte_reader_get_data),
269 (gst_byte_reader_peek_data):
270 * libs/gst/base/gstbytereader.h:
271 * win32/common/libgstbase.def:
272 API: Add gst_byte_reader_get_data and gst_byte_reader_peek_data
273 to get a pointer to the data at the current position and have
274 a guaranteed size.
276 2008-10-22 Jan Schmidt <jan.schmidt@sun.com>
278 * configure.ac:
279 Fix a bug in the output of the configure script summary
280 when --gst-disable-registry is supplied
282 2008-10-22 Jan Schmidt <jan.schmidt@sun.com>
284 * libs/gst/base/gstbitreader.c:
285 * libs/gst/base/gstbytereader.c:
286 Fix the names of 2 functions in the docs strings.
288 2008-10-21 Wim Taymans <wim.taymans@collabora.co.uk>
290 * libs/gst/base/gstbasetransform.c:
291 (gst_base_transform_prepare_output_buffer),
292 (gst_base_transform_buffer_alloc), (gst_base_transform_suggest):
293 Protect sink_alloc caps with the sinkpad lock to avoid nasty caps
294 refcount problems as seen in banshee and maybe also in farsight2.
295 Remove atomic int now that we need to take the lock anyways.
297 2008-10-20 Wim Taymans <wim.taymans@collabora.co.uk>
299 * libs/gst/base/gstbasesink.c: (gst_base_sink_default_do_seek),
300 (gst_base_sink_default_prepare_seek_segment),
301 (gst_base_sink_perform_seek), (gst_base_sink_get_position_last),
302 (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
303 (gst_base_sink_query):
304 Implement more seeking in pull mode.
305 Use pad convert functions to convert position to the requested format.
306 Fix position/duration reporting in pull mode.
307 Implement position and duration reporting in other formats than time.
309 * libs/gst/base/gstbasesink.h:
310 Add member to keep track of when the segment is playing.
312 2008-10-20 Wim Taymans <wim.taymans@collabora.co.uk>
314 * gst/gstpad.c: (gst_pad_configure_src):
315 When we use gst_pad_alloc_buffer() without wanting to set the caps we
316 also don't need to check if the caps are compatible because the caller
317 presumably is going to perform its own custom checks. Fixes some cases
318 where basetransform elements would error out when it was not needed.
320 2008-10-20 Wim Taymans <wim.taymans@collabora.co.uk>
322 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
323 Update comment.
325 * libs/gst/base/gstbasetransform.c:
326 (gst_base_transform_handle_buffer),
327 (gst_base_transform_reconfigure):
328 Add some debug info.
330 * win32/common/libgstbase.def:
331 Add new method.
333 2008-10-19 Stefan Kost <ensonic@users.sf.net>
335 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_do_seek);
336 Remove duplicated assignment and log a message in failure case.
338 2008-10-19 Tim-Philipp Müller <tim.muller at collabora co uk>
340 Patch by: Dig Ge <dig.ge.cn at gmail com>
342 * tests/examples/helloworld/helloworld.c: (main):
343 Fix copy'n'paste bug in hello world example (#556900).
345 2008-10-17 Wim Taymans <wim.taymans@collabora.co.uk>
347 * libs/gst/base/gstbasesink.c: (gst_base_sink_pad_activate_pull),
348 (gst_base_sink_query):
349 Query the total number of bytes when activating the pad in pull mode.
350 Implement duration query in pull mode by using the installed pad convert
351 function to convert from bytes to the requested format.
353 2008-10-16 Wim Taymans <wim.taymans@collabora.co.uk>
355 * docs/libs/gstreamer-libs-sections.txt:
356 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_preroll),
357 (gst_base_sink_flush_start), (gst_base_sink_flush_stop),
358 (gst_base_sink_event), (gst_base_sink_perform_seek),
359 (gst_base_sink_loop), (gst_base_sink_pad_activate_pull),
360 (gst_base_sink_send_event), (gst_base_sink_change_state):
361 * libs/gst/base/gstbasesink.h:
362 Add method to commit the state in subclasses.
363 Refactor the flush_start and flush_stop code because we need it for
364 flushing while seeking too.
365 Implement the beginnings of seeking in pull mode.
366 Use the segment last_stop field for the pulling offset.
367 Fix the pause method in pull mode.
368 Configure the segment to BYTES for pull mode.
369 API: GstBaseSink::gst_base_sink_do_preroll()
371 2008-10-16 Wim Taymans <wim.taymans@collabora.co.uk>
373 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
374 Update some docs.
376 2008-10-14 Tim-Philipp Müller <tim.muller at collabora co uk>
378 * gst/gstquark.c: (_priv_gst_quarks_initialize):
379 Fix printf format warning.
381 2008-10-14 Sebastian Dröge <slomo@circular-chaos.org>
383 * plugins/elements/gsttee.c: (gst_tee_handle_buffer):
384 Fix flow aggregation of tee. Error out immediately for all flow returns
385 except OK and NOT_LINKED, return NOT_LINKED if all pads are not linked
386 and return OK if at least one pad is linked.
388 Before we errored out on "fatal" flow returns (i.e. not for WRONG_STATE)
389 and otherwise returned the flow return of the last pad, which is wrong.
391 * tests/check/elements/tee.c: (_fake_chain), (_fake_chain_error),
392 (GST_START_TEST), (tee_suite):
393 Add unit tests for the flow aggregation.
395 2008-10-13 Wim Taymans <wim.taymans@collabora.co.uk>
397 * docs/design/part-TODO.txt:
398 Remove item from the todo list because it was fixed with the latency
399 state change rewrites.
401 * docs/design/part-seeking.txt:
402 * docs/design/part-segments.txt:
403 Update some docs.
405 * gst/gstevent.c: (gst_event_new_new_segment_full),
406 (gst_event_parse_new_segment_full), (gst_event_new_buffer_size),
407 (gst_event_parse_buffer_size), (gst_event_new_qos),
408 (gst_event_parse_qos), (gst_event_new_seek),
409 (gst_event_parse_seek), (gst_event_new_latency),
410 (gst_event_parse_latency):
411 Use quarks to construct and parse events.
413 * gst/gstquark.c: (_priv_gst_quarks_initialize):
414 * gst/gstquark.h:
415 Add some more quarks to the table.
416 Emit a warning when the quark tables are not in sync.
418 * tests/check/gst/gstbus.c: (GST_START_TEST):
419 Add an assert.
421 2008-10-13 Stefan Kost <ensonic@users.sf.net>
423 * plugins/elements/Makefile.am:
424 * plugins/indexers/Makefile.am:
425 Don't install static libs for plugins. Fixes #550851 for core.
427 2008-10-13 Wim Taymans <wim.taymans@collabora.co.uk>
429 * gst/gstbus.c: (gst_bus_source_finalize),
430 (gst_bus_add_watch_full_unlocked), (gst_bus_add_watch_full),
431 (gst_bus_enable_sync_message_emission),
432 (gst_bus_disable_sync_message_emission),
433 (gst_bus_add_signal_watch_full), (gst_bus_remove_signal_watch):
434 Fix deadlock, g_source_get_id() cannot be called in finalize.
435 Keep track of the watch source by keeping a pointer to the source object
436 instead.
437 Use the bus lock to protect access to the pointer to the current
438 watch source.
440 2008-10-13 Sebastian Dröge <sebastian.droege@collabora.co.uk>
442 Base on Patch by: Olivier Crete <tester at tester dot ca>
444 * gst/gstbus.c: (gst_bus_source_finalize),
445 (gst_bus_add_watch_full), (gst_bus_add_signal_watch_full):
446 Only allow one bus watch to be set at a time. This is necessary
447 because the dispatcher pops the message from the bus and the second
448 watcher will then get NULL or the next message (and the first won't
449 get this next message then, etc). If more than one "watcher" is
450 required signal watches should be used. Fixes bug #526044.
452 2008-10-12 Jan Schmidt <jan.schmidt@sun.com>
454 * tools/gst-launch.c:
455 Change the printing of the 'buffering...' output to avoid putting
456 a \r in a translateable string (flagged by the TP).
458 2008-10-10 Sebastian Dröge <sebastian.droege@collabora.co.uk>
460 * gst/gstxml.c:
461 Clarify that the save_thyself() and restore_thyself() virtual
462 functions of GstObject need to be overriden, not
463 gst_object_(save|restore)_thyself() which is impossible.
464 Fixes bug #555700.
466 2008-10-10 Wim Taymans <wim.taymans@collabora.co.uk>
468 * gst/gstpad.c: (gst_pad_get_range), (gst_pad_pull_range):
469 Revert a patch from 21 months ago that broke caps negotiation in pull
470 mode. Basically, having a buffer pass over a pad will trigger the
471 setcaps function when caps change, just like in push mode.
473 2008-10-10 Wim Taymans <wim.taymans@collabora.co.uk>
475 * docs/design/part-negotiation.txt:
476 Update the docs some more.
478 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek):
479 If we pull a buffer with non-trivial caps, suggest those caps with the
480 max probability.
482 2008-10-10 Edward Hervey <edward.hervey@collabora.co.uk>
484 * docs/design/part-TODO.txt:
485 Add another limitation of pad-blocking with segment seeks not pushing
486 EOS events.
488 2008-10-10 Jan Schmidt <jan.schmidt@sun.com>
490 * win32/common/libgstbase.def:
491 * win32/common/libgstreamer.def:
492 Add new symbols to the win32 defs files
494 2008-10-10 Wim Taymans <wim.taymans@collabora.co.uk>
496 * gst/gstbin.c: (gst_bin_remove_func), (update_degree),
497 (gst_bin_handle_message_func):
498 The message src can be NULL, don't try to print the object names in that
499 case.
501 * libs/gst/base/gstbasesink.c: (gst_base_sink_pad_activate):
502 Add some more debug info.
504 * tests/check/pipelines/simple-launch-lines.c: (run_pipeline),
505 (GST_START_TEST):
506 Add some debug.
507 Fix the test, pull based sinks go ASYNC to PAUSED, just like other
508 scheduling modes.
510 2008-10-10 Wim Taymans <wim.taymans@collabora.co.uk>
512 * docs/design/part-negotiation.txt:
513 Small doc update.
515 * docs/libs/gstreamer-libs-sections.txt:
516 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
517 (gst_base_sink_pad_getcaps), (gst_base_sink_pad_setcaps),
518 (gst_base_sink_init), (gst_base_sink_set_blocksize),
519 (gst_base_sink_get_blocksize), (gst_base_sink_set_property),
520 (gst_base_sink_get_property), (gst_base_sink_needs_preroll),
521 (gst_base_sink_loop), (gst_base_sink_pad_activate),
522 (gst_base_sink_negotiate_pull), (gst_base_sink_pad_activate_pull),
523 (gst_base_sink_change_state):
524 * libs/gst/base/gstbasesink.h:
525 Add blocksize property and methods to control the amount of data
526 to pull.
527 Negotiate first before activating upstream in pull mode so that they can
528 negotiate themselves.
529 When we operate in pull mode, we only accept the caps that we
530 negotiated.
531 Make the sink go ASYNC to PAUSED, like all other sinks.
532 API: GstBaseSink::gst_base_sink_set_blocksize()
533 API: GstBaseSink::gst_base_sink_get_blocksize()
534 API: GstBaseSink::blocksize
536 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
537 (gst_base_src_set_live), (gst_base_src_is_live),
538 (gst_base_src_set_format), (gst_base_src_query_latency),
539 (gst_base_src_set_blocksize), (gst_base_src_get_blocksize),
540 (gst_base_src_set_do_timestamp), (gst_base_src_get_do_timestamp),
541 (gst_base_src_set_property), (gst_base_src_get_property):
542 * libs/gst/base/gstbasesrc.h:
543 Add typechecking in public API functions.
544 Add methods to control the blocksize in subclasses.
545 API: GstBaseSrc::gst_base_src_set_blocksize()
546 API: GstBaseSrc::gst_base_src_get_blocksize()
548 2008-10-10 Edward Hervey <edward.hervey@collabora.co.uk>
550 * tests/check/gst/gstutils.c: (probe_do_nothing), (data_probe),
551 (buffer_probe), (event_probe), (GST_START_TEST):
552 We now see 3 events go through our pad, since basesink now sends
553 upstream latency events.
555 2008-10-08 Wim Taymans <wim.taymans@collabora.co.uk>
557 * gst/gstpipeline.c: (gst_pipeline_change_state):
558 Release the object lock before trying to flush the bus.
560 2008-10-08 Wim Taymans <wim.taymans@collabora.co.uk>
562 * libs/gst/base/gstbasesink.c: (gst_base_sink_send_event):
563 Forward LATENCY events upstreams so that elements know about the total
564 pipeline latency. Fixes #555307.
566 2008-10-08 Jan Schmidt <jan.schmidt@sun.com>
568 * plugins/elements/gstqueue.c:
569 Allow through queries when we don't know how
570 to adjust them (not TIME or BYTES), as otherwise it's
571 not possible to query the current position in order
572 to seek in other formats at all.
574 2008-10-08 Andy Wingo <wingo@pobox.com>
576 * docs/gst/gstreamer-sections.txt: Placate doc pendants.
578 2008-10-08 Wim Taymans <wim.taymans@collabora.co.uk>
580 * gst/gstghostpad.c:
581 * gst/gstghostpad.h:
582 Unbreak -good build, private is a reserved c++ keyword.
584 2008-10-08 Andy Wingo <wingo@pobox.com>
586 * gst/gstghostpad.h (GST_GHOST_PAD_CAST):
587 * gst/gstghostpad.c (GST_GHOST_PAD_CAST): Fix unintended API
588 removal: re-add GST_GHOST_PAD_CAST to the header.
590 * gst/gstghostpad.h (GstProxyPad, GstProxyPadClass, GstGhostPad)
591 (GstGhostPadClass): Publically expose these structures so as to
592 allow easy subclassing from C. Hide the member data behind a
593 private opaque data pointer.
595 * gst/gstghostpad.c: Adapt to store instance data in the type
596 instance's private data region, not in the public struct.
598 2008-10-08 Andy Wingo <wingo@pobox.com>
600 * gst/gstghostpad.c (gst_ghost_pad_construct): If we got a
601 template via g_object_get(), be sure to unref it.
603 * gst/gstbuffer.h (GST_BUFFER_FREE_FUNC): Fix incorrect doc.
605 2008-10-08 Sebastian Dröge <sebastian.droege@collabora.co.uk>
607 * gst/gstregistrybinary.c: (gst_registry_binary_write_cache):
608 If we can't get a cache file don't try to save something to it.
609 Dereferencing NULL pointers usually isn't a good idea.
611 2008-10-07 Jan Schmidt - Sun Microsystems <jan.schmidt@sun.com>
613 * tests/check/Makefile.am:
614 * tests/check/gst/gstabi.c:
615 * tests/check/gst/struct_sparc.h:
616 * tests/check/libs/libsabi.c:
617 * tests/check/libs/struct_sparc.h:
618 Add Sparc ABI checks
620 * tests/check/gst/gstvalue.c: (GST_START_TEST):
621 Cast signed integer to unsigned to avoid a compiler warning.
623 2008-10-07 Sebastian Dröge <sebastian.droege@collabora.co.uk>
625 * libs/gst/base/gstbytereader.c: (gst_byte_reader_get_uint24_le),
626 (gst_byte_reader_get_uint24_be), (gst_byte_reader_get_int24_le),
627 (gst_byte_reader_get_int24_be), (gst_byte_reader_peek_uint24_le),
628 (gst_byte_reader_peek_uint24_be), (gst_byte_reader_peek_int24_le),
629 (gst_byte_reader_peek_int24_be):
630 Use new GST_READ_UINT24_(LE|BE) macros.
632 2008-10-07 Sebastian Dröge <sebastian.droege@collabora.co.uk>
634 * docs/gst/gstreamer-sections.txt:
635 * gst/gstutils.h:
636 Always use the unaligned variants of GST_READ_UINT* and GST_WRITE_UINT*
637 as it's too easy to break the ISO C strict aliasing rules with simple
638 casts to the corresponding type and this would introduce hard to debug
639 bugs. Fixes bug #545714.
641 API: Add GST_READ_UINT24_(LE|BE) and GST_WRITE_UINT24_(LE|BE).
643 2008-10-07 Tim-Philipp Müller <tim.muller at collabora co uk>
645 * gst/gstbuffer.h: (GST_BUFFER_FREE_FUNC):
646 * gst/gstghostpad.c: (gst_ghost_pad_construct):
647 Add 'Since' bits to gtk-doc chunks for new API.
649 2008-10-06 Thijs Vermeir <thijsvermeir@gmail.com>
651 * docs/gst/gstreamer-sections.txt:
652 Fix documentation
654 2008-10-06 Andy Wingo <wingo@pobox.com>
656 * gst/gstbuffer.h (GST_BUFFER_FREE_FUNC): New API, a free function
657 that will be called on the malloc_data to free it. Basically a way
658 to avoid subclassing when all you need is a different free
659 function, i.e. free() instead of g_free().
661 * gst/gstbuffer.c (gst_buffer_finalize): Free malloc_data via
662 calling the free function.
663 (gst_buffer_init): Initialize the free function to g_free.
665 2008-10-06 Andy Wingo <wingo@pobox.com>
667 * gst/gstghostpad.h:
668 * gst/gstghostpad.c (gst_ghost_pad_construct): New function,
669 finishes the initialization of ghost pad. Useful for language
670 bindings and subclassers of GstGhostPad. Fixes #539108.
671 (gst_ghost_pad_new_full): Use the new constructor.
673 2008-10-06 Wim Taymans <wim.taymans@collabora.co.uk>
675 Base on Patch by: Olivier Crete <tester at tester dot ca>
677 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
678 (gst_bin_remove_func), (update_degree),
679 (gst_bin_sort_iterator_new), (gst_bin_handle_message_func):
680 Keep track of pads that are being linked/unlinked and resync the state
681 changes.
683 * gst/gstpad.c: (gst_pad_get_direction),
684 (gst_pad_set_chain_function), (gst_pad_set_getrange_function),
685 (gst_pad_set_checkgetrange_function), (gst_pad_unlink),
686 (gst_pad_link_prepare), (gst_pad_link),
687 (gst_pad_event_default_dispatch), (gst_pad_chain), (gst_pad_push),
688 (gst_pad_check_pull_range), (gst_pad_get_range),
689 (gst_pad_pull_range):
690 Some code cleanups, use macros to check pad direction.
691 Don't need to take the lock on the pad direction.
692 Post structure change when pads are linked/unlinked.
693 Change some checks into _return_if_fail().
695 * tests/check/gst/gstbin.c:
696 (test_link_structure_change_state_changed_sync_cb),
697 (GST_START_TEST), (gst_bin_suite):
698 Add testcase for pad link/unlinke resync during a state change.
699 Fixes #510354.
701 2008-10-06 Wim Taymans <wim.taymans@collabora.co.uk>
703 * docs/gst/gstreamer-sections.txt:
704 * gst/gstmessage.c: (gst_message_new_structure_change),
705 (gst_message_parse_structure_change):
706 * gst/gstmessage.h:
707 Implement STRUCTURE_CHANGED messages. These messages will be used to
708 signal the parent bin of link/unlink operations that could require a
709 resync when doing a state change. See ##510354.
710 API: gst_message_new_structure_change()
711 API: gst_message_parse_structure_change()
713 2008-10-06 Wim Taymans <wim.taymans@collabora.co.uk>
715 * gst/gstquark.c:
716 * gst/gstquark.h:
717 Add some more quarks for new message. See #510354.
719 2008-10-06 Sebastian Dröge <sebastian.droege@collabora.co.uk>
721 * docs/libs/gstreamer-libs-docs.sgml:
722 * docs/libs/gstreamer-libs-sections.txt:
723 * libs/gst/base/Makefile.am:
724 * libs/gst/base/gstbitreader.c: (gst_bit_reader_new),
725 (gst_bit_reader_new_from_buffer), (gst_bit_reader_free),
726 (gst_bit_reader_init), (gst_bit_reader_init_from_buffer),
727 (gst_bit_reader_set_pos), (gst_bit_reader_get_pos),
728 (gst_bit_reader_get_remaining), (gst_bit_reader_skip),
729 (gst_bit_reader_skip_to_byte):
730 * libs/gst/base/gstbitreader.h:
731 * libs/gst/base/gstbytereader.c: (GDOUBLE_SWAP_LE_BE),
732 (GFLOAT_SWAP_LE_BE), (gst_byte_reader_new),
733 (gst_byte_reader_new_from_buffer), (gst_byte_reader_free),
734 (gst_byte_reader_init), (gst_byte_reader_init_from_buffer),
735 (gst_byte_reader_set_pos), (gst_byte_reader_get_pos),
736 (gst_byte_reader_get_remaining), (gst_byte_reader_skip),
737 (gst_byte_reader_get_uint8), (gst_byte_reader_get_int8),
738 (gst_byte_reader_peek_uint8), (gst_byte_reader_peek_int8),
739 (gst_byte_reader_get_uint24_le), (gst_byte_reader_get_uint24_be),
740 (gst_byte_reader_get_int24_le), (gst_byte_reader_get_int24_be),
741 (gst_byte_reader_peek_uint24_le), (gst_byte_reader_peek_uint24_be),
742 (gst_byte_reader_peek_int24_le), (gst_byte_reader_peek_int24_be):
743 * libs/gst/base/gstbytereader.h:
744 * tests/check/Makefile.am:
745 * tests/check/libs/bitreader.c: (GST_START_TEST),
746 (gst_bit_reader_suite):
747 * tests/check/libs/bytereader.c: (GST_START_TEST),
748 (gst_byte_reader_suite):
749 API: Add bit reader and byte reader classes, including documentation
750 and an extensive unit test suite. Fixes bug #553554.
752 2008-10-06 Wim Taymans <wim.taymans@collabora.co.uk>
754 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position),
755 (gst_base_sink_query):
756 Improve position reporting while flushing and other intermediate state
757 changes. Fixes #553874.
759 2008-10-06 Wim Taymans <wim.taymans@collabora.co.uk>
761 Patch by: Antoine Tremblay <hexa00 at gmail dot com>
763 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
764 Original patch by : Simon Descaries
765 Fix small refount leak in caps compatibility check.
766 Fixes #551676.
768 2008-10-06 Stefan Kost <ensonic@users.sf.net>
770 * docs/pwg/advanced-request.xml:
771 Fix 0.8 api usage in example. Fixes #554561
773 * docs/pwg/appendix-porting.xml:
774 Change 0.9 to 0.10 here.
776 2008-10-06 Stefan Kost <ensonic@users.sf.net>
778 * docs/manual/basics-data.xml:
779 Change "event-event interaction" to "element-element interaction".
780 Fixes #552448. Also fix sample code for seeking and do more 0.8->0.10
781 updates.
783 2008-10-05 Jan Schmidt <jan.schmidt@sun.com>
785 * configure.ac:
786 Back to development -> 0.10.21.1
788 === release 0.10.21 ===
790 2008-10-02 Jan Schmidt <jan.schmidt@sun.com>
792 * configure.ac:
793 releasing 0.10.21, "Take These Things From Me"
795 2008-09-28 Jan Schmidt <jan.schmidt@sun.com>
797 * configure.ac:
798 0.10.20.4 pre-release
800 2008-09-28 Jan Schmidt <jan.schmidt@sun.com>
802 * libs/gst/base/gstbasetransform.c:
803 * plugins/elements/gstcapsfilter.c:
804 * tests/check/Makefile.am:
805 * tests/check/elements/.cvsignore:
806 * tests/check/elements/capsfilter.c:
807 Fix assertion in basetransform when the subclass chooses not to
808 allocate a buffer in prepare_buffer(), and make capsfilter error out
809 cleanly if requested to apply caps that don't completely specify the
810 buffer. Fixes #551509
812 2008-09-24 Wim Taymans <wim.taymans@collabora.co.uk>
814 * libs/gst/base/gstbasetransform.c:
815 (gst_base_transform_prepare_output_buffer):
816 Take new caps ref because our old one might have been gone when the
817 subclass performs a gst_pad_set_caps() on the srcpad. See #548764.
819 2008-09-15 Stefan Kost <ensonic@users.sf.net>
821 * configure.ac:
822 Do not probe availability of check unit test library when cross
823 compiling, as test would not work anyway. Also cleanup verbose output
824 of the check test. Fixes #551952.
826 2008-09-14 Wim Taymans <wim.taymans@collabora.co.uk>
828 Based on patch by: Antoine Tremblay <hexa00 at gmail dot com>
830 * gst/gstelement.c: (gst_element_sync_state_with_parent):
831 Avoid leaking the parent ref when we fail changing the state of the
832 element using gst_element_sync_state_with_parent(). Fixes #551978.
834 2008-09-11 Tim-Philipp Müller <tim.muller at collabora co uk>
836 * docs/manual/intro-motivation.xml::
837 Remove some bits that no longer apply, update others (#551642).
839 2008-09-10 Jan Schmidt <jan.schmidt@sun.com>
841 * configure.ac:
842 0.10.20.2 pre-release
844 * po/LINGUAS:
845 * po/id.po:
846 * po/pt_BR.po:
848 New translations.
850 2008-09-09 Tim-Philipp Müller <tim.muller at collabora co uk>
852 * win32/common/config.h.in:
853 Add GST_DATADIR, hard-code cpu to x86.
855 * win32/common/libgstreamer.def:
856 Spaces to tabs.
858 2008-09-03 Tim-Philipp Müller <tim.muller at collabora co uk>
860 * gst/gsttaglist.h:
861 Fix Since: markers for new geo tags.
863 2008-09-02 Stefan Kost <ensonic@users.sf.net>
865 * gst/gsttaglist.h:
866 Fix actual tag name define after renaming from altitude to elevation.
868 2008-09-01 Wim Taymans <wim.taymans@collabora.co.uk>
870 * gst/gstpad.c: (add_unref_pad_to_list),
871 (gst_pad_get_internal_links_default):
872 Add fallback when calling the deprecated function on an element that
873 implements the new internal_link handler.
875 2008-09-01 Stefan Kost <ensonic@users.sf.net>
877 * docs/gst/gstreamer-sections.txt:
878 * gst/gsttaglist.c:
879 * gst/gsttaglist.h:
880 Add new tags for geo location and clarify purpose of existing location
881 tag. Fixes #481169
883 2008-09-01 Wim Taymans <wim.taymans@collabora.co.uk>
885 Patch by: Olivier Crete <tester at tester dot ca>
887 * gst/gstpad.c: (gst_pad_iterate_internal_links_default),
888 (gst_pad_event_default_dispatch), (gst_pad_dispatcher):
889 Use thread-safe internal links iterator. Fixes #549504.
891 2008-09-01 Wim Taymans <wim.taymans@collabora.co.uk>
893 Based on patch by: Olivier Crete <tester at tester dot ca>
895 * docs/gst/gstreamer-sections.txt:
896 * win32/common/libgstreamer.def:
897 * gst/gstpad.c: (gst_pad_init),
898 (gst_pad_set_iterate_internal_links_function),
899 (int_link_iter_data_free), (iterate_pad),
900 (gst_pad_iterate_internal_links_default),
901 (gst_pad_iterate_internal_links), (gst_pad_get_internal_links):
902 * gst/gstpad.h:
903 Add threadsafe replacement functions for getting internal links of an
904 element. Deprecate the old internal links functions.
905 API:GstPad::gst_pad_set_iterate_internal_links_function()
906 API:GstPad::GstPadIterIntLinkFunction
907 API:GstPad::gst_pad_iterate_internal_links()
908 API:GstPad::gst_pad_iterate_internal_links_default()
910 * gst/gstghostpad.c: (gst_proxy_pad_do_iterate_internal_links),
911 (gst_proxy_pad_init):
912 Implement threadsafe internal links.
914 * tests/check/elements/tee.c: (GST_START_TEST), (tee_suite):
915 Unit test for internal links on tee. See #549504.
917 2008-08-30 Edward Hervey <edward.hervey@collabora.co.uk>
919 * tests/check/Makefile.am:
920 libs/transform1 test requires libs/test_transform.c
922 2008-08-30 Edward Hervey <edward.hervey@collabora.co.uk>
924 * gst/gstpad.c: (gst_pad_get_internal_links_default):
925 Die evil deadlock, die !
927 2008-08-30 Edward Hervey <edward.hervey@collabora.co.uk>
929 * gst/gstutils.c: (gst_element_get_compatible_pad):
930 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
931 * tests/check/gst/gstpad.c: (name_is_valid), (GST_START_TEST):
932 Fix all leaks due to the bug in gst_pad_template_new() by which it does
933 not steal the refcount of the given caps as stated.
935 REVERT THIS COMMIT ONCE FIXED !
936 REVERT THIS COMMIT ONCE FIXED !
937 REVERT THIS COMMIT ONCE FIXED !
938 REVERT THIS COMMIT ONCE FIXED !
939 REVERT THIS COMMIT ONCE FIXED !
940 REVERT THIS COMMIT ONCE FIXED !
942 2008-08-29 Wim Taymans <wim.taymans@collabora.co.uk>
944 * gst/gstiterator.c:
945 * gst/gstiterator.h:
946 After 3 years it's about time to revise the documentation of the
947 iterator objects.
949 2008-08-29 Wim Taymans <wim.taymans@collabora.co.uk>
951 * gst/gstpad.c: (gst_pad_get_internal_links_default):
952 Make the internal links function less thread-unsafe and add some
953 comments, dunno why.
955 2008-08-29 Tim-Philipp Müller <tim.muller at collabora co uk>
957 * gst/gst_private.h:
958 Include gstinfo.h even if GST_DISABLE_GST_DEBUG is defined. Fixes
959 build with --disable-gst-debug.
961 2008-08-28 David Schleef <ds@schleef.org>
963 * gst/gstpadtemplate.c: Revert last change, since it breaks
964 a few plugins, ffmpeg, alaw, and mulaw. Code is correct,
965 but shouldn't be enabled until we've released fixed versions
966 of -good and -ffmpeg.
968 2008-08-28 Stefan Kost <ensonic@users.sf.net>
970 * gst/gstobject.c:
971 Put the gst_object_get_name() back in.
973 2008-08-28 Stefan Kost <ensonic@users.sf.net>
975 * gst/gstpadtemplate.c:
976 The old behaviour was that gst_pad_template_new() takes ownership of
977 the caps. As we now call g_object_new() which calls g_object_set() and
978 which copies the caps, we have to unref them to not leak them. Fixes
979 make valgrid for me.
981 2008-08-28 Stefan Kost <ensonic@users.sf.net>
983 * gst/gsturi.c:
984 Don't segfault on input like "tel:+1-123-555-1234".
986 2008-08-27 Stefan Kost <ensonic@users.sf.net>
988 * gst/gstobject.c:
989 Due to popular request also include ObjectType in
990 gst_object_get_path_string(). Makes gst-launch -v bit more useful.
992 2008-08-26 David Schleef <ds@schleef.org>
994 * gst/gstutils.c: Remove check in gst_pad_query_convert() that
995 src_val must be positive, because that's not a requirement.
996 This causes problems with converting negative granulepos
997 values for Dirac.
998 * gst/gstquery.c: Same, gst_query_new_convert().
1000 2008-08-25 Wim Taymans <wim.taymans@collabora.co.uk>
1002 * gst/gstclock.c: (gst_clock_add_observation):
1003 Add some more debugging to the clock slaving code.
1005 * win32/common/libgstbase.def:
1006 Add new basetransform method.
1008 2008-08-25 Wim Taymans <wim.taymans@collabora.co.uk>
1010 * gst/gstbin.c: (gst_bin_element_set_state):
1011 Take the (recursive) state lock between getting the locked state of an
1012 element and changing the element state. This allows the application to
1013 lock an element's state and then change its state without races.
1015 2008-08-25 Wim Taymans <wim.taymans@collabora.co.uk>
1017 * gst/gstbin.c: (gst_bin_element_set_state):
1018 When an element is in the locked state we still want to update the
1019 base_time of the element.
1021 2008-08-21 Wim Taymans <wim.taymans@collabora.co.uk>
1023 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
1024 Use the result from gst_pad_set_caps() instead of assuming the element
1025 always accepted the caps computed by the default negotiate function.
1027 2008-08-20 Wim Taymans <wim.taymans@collabora.co.uk>
1029 * docs/libs/gstreamer-libs-sections.txt:
1030 * libs/gst/base/gstbasetransform.c:
1031 (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
1032 (gst_base_transform_chain), (gst_base_transform_suggest),
1033 (gst_base_transform_reconfigure):
1034 * libs/gst/base/gstbasetransform.h:
1035 Implement method for reconfiguring basetransform.
1036 API: GstBaseTransform::gst_base_transform_reconfigure()
1038 2008-08-20 Stefan Kost <ensonic@users.sf.net>
1040 patch by: Murray Cumming <murrayc@murrayc.com>
1042 * gst/gstutils.c:
1043 Mention that this is just like gst_buffer_merge() but with extra
1044 unreffing for C coders. Advise language bindings not to wrap it.
1045 Fixes Bug #533856.
1047 Also fix file comment.
1049 2008-08-20 Stefan Kost <ensonic@users.sf.net>
1051 reviewed by: Wim Taymans <wim.taymans@collabora.co.uk>
1053 * plugins/elements/gstfakesink.c:
1054 * plugins/elements/gstfakesrc.c:
1055 Call super::event() when not handling it. Fixes #544855.
1057 2008-08-19 Michael Smith <msmith@songbirdnest.com>
1059 Patch by: Alessandro Decina <alessandro@nnva.org>
1060 * plugins/elements/gstfilesrc.c:
1061 Use 64 bit variants of stat functions on win32, to enable support
1062 of large files there.
1063 Fixes #547277.
1065 2008-08-19 Wim Taymans <wim.taymans@collabora.co.uk>
1067 * libs/gst/base/gstbasesink.c: (gst_base_sink_render_object),
1068 (gst_base_sink_event), (gst_base_sink_chain_unlocked),
1069 (gst_base_sink_negotiate_pull), (gst_base_sink_pad_activate_pull),
1070 (gst_base_sink_get_position), (gst_base_sink_change_state):
1071 Improve position reporting in the flushing state.
1072 Also report the position when we are not yet prerolled but we
1073 have a newsegment event. Fixes #543444.
1074 Improve the pull-based negotiation code.
1076 * tests/check/elements/fakesink.c: (GST_START_TEST),
1077 (fakesink_suite):
1078 Add testcase for position reporting while flushing in PAUSED and
1079 PLAYING.
1081 * tests/check/generic/sinks.c: (GST_START_TEST):
1082 Update unit-test, we can now query the position as soon as we receive a
1083 NEWSEGMENT event.
1085 2008-08-19 Wim Taymans <wim.taymans@collabora.co.uk>
1087 Based on patch by: Jason Zhao <e3423c at motorola dot com>
1089 * libs/gst/base/gstbasesink.c: (gst_base_sink_render_object):
1090 When the subclass event handler releases the PREROLL_LOCK, we could be
1091 in the flushing state and we have to ignore the event. Fixes #548394.
1093 2008-08-18 Tim-Philipp Müller <tim.muller at collabora co uk>
1095 * tools/gst-launch.1.in:
1096 Document GST_REGISTRY_UPDATE environment variable.
1098 2008-08-18 Wim Taymans <wim.taymans@collabora.co.uk>
1100 * libs/gst/base/gstbasetransform.c:
1101 (gst_base_transform_prepare_output_buffer):
1102 If the element is configured in passthrough mode but the
1103 prepare_output_buffer gave us a new output buffer, discard that buffer
1104 and reuse the input buffer.
1106 2008-08-15 Wim Taymans <wim.taymans@collabora.co.uk>
1108 Patch by: Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
1110 * plugins/elements/gsttee.c: (gst_tee_finalize), (gst_tee_init),
1111 (gst_tee_request_new_pad), (gst_tee_release_pad),
1112 (gst_tee_find_buffer_alloc), (gst_tee_buffer_alloc):
1113 * plugins/elements/gsttee.h:
1114 Protect pad_alloc with a new lock so that we can be sure that nothing is
1115 performing a pad_alloc when removing the pad. Fixes #547835.
1117 * tests/check/elements/tee.c: (buffer_alloc_harness_setup),
1118 (buffer_alloc_harness_teardown), (app_thread_func),
1119 (final_sinkpad_bufferalloc), (GST_START_TEST), (tee_suite):
1120 Added testcase for shutdown race.
1122 2008-08-14 Thijs Vermeir <thijsvermeir@gmail.com>
1124 * gst/gstpad.h:
1125 Add doc
1127 2008-08-14 Wim Taymans <wim.taymans@collabora.co.uk>
1129 * libs/gst/base/gstbasetransform.c:
1130 (gst_base_transform_prepare_output_buffer),
1131 (gst_base_transform_buffer_alloc):
1132 Go over the buffer_alloc function again and make sure we always end up
1133 allocating a buffer.
1134 Add some more docs.
1135 Avoid doing pad alloc when we have a pending suggestion because we
1136 cannot yet deal with changing caps in that case. Fixes #547728
1138 2008-08-14 Stefan Kost <ensonic@users.sf.net>
1140 patch by: Luc Pionchon <luc.pionchon@nokia.com>
1142 * docs/manual/advanced-clocks.xml:
1143 * docs/manual/clocks.png:
1144 * docs/manual/diagrams-clocks.svg:
1145 Add one more image showing different times together with a describing
1146 paragraph. Fixes #547729.
1148 2008-08-14 Wim Taymans <wim.taymans@collabora.co.uk>
1150 * win32/common/libgstbase.def:
1151 Add new method.
1153 2008-08-14 Wim Taymans <wim.taymans@collabora.co.uk>
1155 * libs/gst/base/gstbasetransform.c:
1156 (gst_base_transform_transform_caps),
1157 (gst_base_transform_prepare_output_buffer),
1158 (gst_base_transform_buffer_alloc), (gst_base_transform_suggest):
1159 Don't overwrite the outsize when calculating the expected size of a new
1160 buffer because we still need it in case we cannot process the new
1161 buffer.
1162 When converting the size of the new buffer to an upstream size, actually
1163 use the expected size of the buffer, not some other random value.
1164 Use an atomic int to signal that a new upstream caps suggestion is
1165 available.
1166 When we can convert the current buffer to a new format, check if the
1167 buffer size is of the expected size and allocate a new buffer of the
1168 expected size when this is not the case. Fixes #546883.
1170 * tests/check/libs/transform1.c: (GST_START_TEST):
1171 remove ifdeffed code from the unit test.
1173 2008-08-12 Stefan Kost <ensonic@users.sf.net>
1175 * pkgconfig/gstreamer-uninstalled.pc.in:
1176 * pkgconfig/gstreamer.pc.in:
1177 Remove -lgstcontrol-0.10 which never worked anyway as the lib is
1178 called gstcontroller-0.10.
1180 2008-08-12 Stefan Kost <ensonic@users.sf.net>
1182 * gst/gstchildproxy.h:
1183 * gst/gstpreset.h:
1184 Remove double interface from doc-string.
1186 2008-08-12 Stefan Kost <ensonic@users.sf.net>
1188 * libs/gst/base/gstbasesrc.c:
1189 * libs/gst/base/gstbasetransform.c:
1190 Fix headings in docs and gtk-doc warnings.
1192 2008-08-11 Michael Smith <msmith@songbirdnest.com>
1194 * gst/gstregistrybinary.c:
1195 Don't use g_mkstmp() on win32, it's unsafe if glib is using a different
1196 libc.
1197 Fixes #544776.
1199 2008-08-11 Edward Hervey <edward.hervey@collabora.co.uk>
1201 * libs/gst/base/gstbasetransform.c:
1202 (gst_base_transform_buffer_alloc):
1203 Fix a "may be used unitialized" warning.
1205 2008-08-11 Stefan Kost <ensonic@users.sf.net>
1207 * docs/gst/gstreamer-sections.txt:
1208 * gst/gstpreset.h:
1209 Document preset-iface vmethods.
1211 2008-08-11 Stefan Kost <ensonic@users.sf.net>
1213 * docs/manual/advanced-interfaces.xml:
1214 Turn thoughts about HAL into a note-tag. Remove mentioning that is
1215 only used to discover devices.
1217 2008-08-07 Tim-Philipp Müller <tim.muller at collabora co uk>
1219 Patch by: Frederic Crozat <fcrozat@mandriva.org>
1221 * gst/gst.c: (init_pre):
1222 Make sure gettext returns translations in UTF-8 encoding rather
1223 than in the current locale encoding (#546822).
1225 2008-08-07 Wim Taymans <wim.taymans@collabora.co.uk>
1227 * gst/gstcaps.c: (gst_caps_structure_is_subset_field):
1228 Fix subset test.
1230 * tests/check/gst/gstcaps.c: (GST_START_TEST):
1231 Improve unit test subset tests and add a testcase for the subset failure
1232 cases.
1234 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
1235 Improve subtraction unit test.
1237 2008-08-07 Stefan Kost <ensonic@users.sf.net>
1239 * plugins/elements/gsttee.c:
1240 Unlock, instead of locking again.
1242 2008-08-05 Wim Taymans <wim.taymans@collabora.co.uk>
1244 * gst/gstpad.h:
1245 Clarify the docs a bit more.
1247 2008-08-05 Stefan Kost <ensonic@users.sf.net>
1249 * tests/examples/metadata/read-metadata.c:
1250 Don't leak old taglist.
1252 2008-08-05 Wim Taymans <wim.taymans@collabora.co.uk>
1254 Patch by: Olivier Crete <tester at tester dot ca>
1256 * gst/gststructure.c:
1257 (gst_structure_fixate_field_nearest_fraction):
1258 Avoid overflows in fixation code when dealing with MAXINT values, which
1259 v4l2src seems to do.
1260 Fixes #546328.
1262 * tests/check/gst/gststructure.c: (GST_START_TEST):
1263 Make a unit test to check the fix.
1265 2008-08-05 Wim Taymans <wim.taymans@collabora.co.uk>
1267 * plugins/elements/gstcapsfilter.c: (copy_func),
1268 (gst_capsfilter_set_property):
1269 Use new caps suggestion feature of basetransform to request a caps
1270 negotiation upstream.
1272 2008-08-05 Wim Taymans <wim.taymans@collabora.co.uk>
1274 * docs/libs/gstreamer-libs-sections.txt:
1275 Add new function:
1276 API: GstBaseTransform::gst_base_transform_suggest()
1278 * libs/gst/base/gstbasetransform.c: (gst_base_transform_finalize),
1279 (gst_base_transform_init), (gst_base_transform_transform_caps),
1280 (gst_base_transform_transform_size),
1281 (gst_base_transform_configure_caps),
1282 (gst_base_transform_can_transform),
1283 (gst_base_transform_find_transform), (gst_base_transform_setcaps),
1284 (gst_base_transform_prepare_output_buffer),
1285 (gst_base_transform_buffer_alloc),
1286 (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
1287 (gst_base_transform_chain), (gst_base_transform_activate),
1288 (gst_base_transform_set_passthrough),
1289 (gst_base_transform_is_passthrough),
1290 (gst_base_transform_set_in_place),
1291 (gst_base_transform_is_in_place), (gst_base_transform_update_qos),
1292 (gst_base_transform_set_qos_enabled),
1293 (gst_base_transform_is_qos_enabled),
1294 (gst_base_transform_set_gap_aware), (gst_base_transform_suggest),
1295 (gst_base_transform_reconfigure):
1296 * libs/gst/base/gstbasetransform.h:
1297 Rewrite of basetransform to perform negotiation outside of the
1298 buffer_alloc functions. Fixes #545853.
1300 * tests/check/libs/transform1.c: (GST_START_TEST),
1301 (buffer_alloc_ct2):
1302 Update unit test.
1304 2008-08-05 Stefan Kost <ensonic@users.sf.net>
1306 * tests/check/gst/gstpreset.c:
1307 Only run preset tests when $HOME is writable. Preliminary fix for
1308 #545433.
1310 2008-08-04 Wim Taymans <wim.taymans@collabora.co.uk>
1312 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
1313 (gst_bin_change_state_func), (bin_handle_async_done),
1314 (gst_bin_handle_message_func):
1315 Fix race for bins that simulate ASYNC state changes by inserting
1316 ASYNC_START and ASYNC_DONE messages in their bus. We need to check for
1317 pending ASYNC messages even when the bin does not have ASYNC children.
1318 We note detect this behaviour because we will receive an ASYNC message
1319 that is originating from the bin itself.
1320 Fixes races with decodebin2 state changes.
1322 * tests/check/gst/gstbin.c: (GST_START_TEST):
1323 Add some more debug.
1325 2008-08-04 Tim-Philipp Müller <tim.muller at collabora co uk>
1327 * gst/gsttaglist.c: (_gst_tag_initialize):
1328 Fix typo.
1330 2008-08-04 Stefan Kost <ensonic@users.sf.net>
1332 * gst/gsttaglist.c:
1333 Argh. actually save the text before committing. Now adds
1334 gst_tag_merge_strings_with_comma() to gst_tag_register().
1336 2008-08-04 Stefan Kost <ensonic@users.sf.net>
1338 * gst/gsttaglist.c:
1339 * gst/gsttaglist.h:
1340 Do as tim pointed out and actually register the new tag. Also improve
1341 te docs and use gst_tag_merge_strings_with_comma() method to allow
1342 retriving all keywords merged in one list.
1344 2008-08-01 Stefan Kost <ensonic@users.sf.net>
1346 * configure.ac:
1347 * docs/gst/gstreamer.types:
1348 Revert 'accidential' change of the configure option removal. We still
1349 need to generate the types file in configure --disable-load-save.
1351 2008-08-01 Stefan Kost <ensonic@users.sf.net>
1353 * docs/gst/gstreamer-sections.txt:
1354 * gst/gsttaglist.h:
1355 Add new taglist item GST_TAG_KEYWORDS, needed for #520694 .
1357 2008-08-01 Tim-Philipp Müller <tim.muller at collabora co uk>
1359 * gst/gstpadtemplate.c:
1360 (gst_pad_template_class_init), (gst_static_pad_template_get),
1361 (gst_pad_template_new), (gst_pad_template_pad_created),
1362 (gst_pad_template_set_property), (gst_pad_template_get_property):
1363 Add "name-template", "direction", "presence" and "caps" properties,
1364 so that gst_pad_template_new() is just a thin wrapper around
1365 g_object_new(), which is better for bindings. (Fixes: #539772)
1367 2008-07-31 Michael Smith <msmith@songbirdnest.com>
1369 * gst/gsturi.c:
1370 Be more liberal in what URIs we accept.
1371 Do not unescape bits of the URI for no apparent reason before passing to
1372 the element. Fixes #545352.
1374 2008-07-31 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1376 Patch by: Robert Schwebel <r.schwebel@pengutronix.de>
1378 * gst/gst.c:
1379 Include gstconfig.h as macros from it are used. Fixes bug #545607.
1381 2008-07-31 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1383 * configure.ac:
1384 * docs/gst/gstreamer-sections.txt:
1385 * docs/gst/gstreamer.types:
1386 * docs/gst/gstreamer.types.in:
1387 * gst/Makefile.am:
1388 * gst/gst.c:
1389 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func):
1390 * gst/gstconfig.h.in:
1391 * gst/gstelement.c: (gst_element_get_index):
1392 * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
1393 (gst_registry_binary_load_feature),
1394 (gst_registry_binary_read_cache):
1395 * gst/gstregistryxml.c: (load_feature),
1396 (gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
1397 * plugins/Makefile.am:
1398 * tools/gst-indent:
1399 * tools/gst-inspect.c: (print_index_info), (print_element_list),
1400 (print_plugin_features), (print_element_features):
1401 * tools/gst-xmlinspect.c: (print_event_masks),
1402 (print_element_info):
1403 * win32/common/gstconfig.h:
1404 Remove GST_DISABLE_(ENUMTYPES|INDEX|URI) everywhere.
1406 Disabling the indexers and URI handler code will only reduce the
1407 required amount of memory by a very small amount but on the other hand
1408 requires much more maintaince work. Apart from that many places of
1409 code are broken when disabling them.
1411 Disabling the enum types doesn't reduce the required amount of memory
1412 by more than a few bytes and makes it hard to fix bugs like #539772,
1413 i.e. use the enums as GObject properties.
1415 2008-07-31 Wim Taymans <wim.taymans@collabora.co.uk>
1417 * docs/design/part-TODO.txt:
1418 Add some thoughts and problems with upstream renegotiation.
1420 2008-07-31 Wim Taymans <wim.taymans@collabora.co.uk>
1422 * gst/gstpad.c: (gst_pad_acceptcaps_default),
1423 (gst_pad_configure_src), (gst_pad_alloc_buffer_full):
1424 Remove silly redundant debug.
1425 Add some more debug info.
1426 Clarify the docs regarding new caps received from pad_alloc.
1428 2008-07-31 Wim Taymans <wim.taymans@collabora.co.uk>
1430 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_set_property),
1431 (gst_capsfilter_get_property), (gst_capsfilter_transform_caps):
1432 Make setting the caps more threadsafe.
1434 2008-07-31 Wim Taymans <wim.taymans@collabora.co.uk>
1436 * docs/design/part-element-transform.txt:
1437 Update docs.
1439 2008-07-31 Wim Taymans <wim.taymans@collabora.co.uk>
1441 * plugins/elements/gstqueue.c: (gst_queue_init),
1442 (gst_queue_acceptcaps):
1443 Add and use a custom acceptcaps function instead of falling back to the
1444 potentially less optimized default implementation.
1446 2008-07-29 Tim-Philipp Müller <tim.muller at collabora co uk>
1448 * gst/gstpad.c: (gst_pad_alloc_buffer_full):
1449 Only sanity-check the buffer size if requested_caps == buffer_caps
1450 (ie. don't take pad caps into account, they're not relevant here)
1452 2008-07-29 Stefan Kost <ensonic@users.sf.net>
1454 * plugins/elements/gsttee.c:
1455 * plugins/elements/gsttee.h:
1456 Reverting as not everything is clear yet. Needs some general design
1457 work.
1459 2008-07-29 Stefan Kost <ensonic@users.sf.net>
1461 * ChangeLog:
1462 ChangeLog surgery for tee commit.
1464 2008-07-29 Stefan Kost <ensonic@users.sf.net>
1466 * docs/gst/gstreamer-sections.txt:
1467 Cleanup section-file.
1469 2008-07-29 Stefan Kost <ensonic@users.sf.net>
1471 * plugins/elements/gsttee.c:
1472 * plugins/elements/gsttee.h:
1473 Relay tag events in tee. Fixes parts of #474016.
1474 Downgrades 3 reoccurring debugs to log.
1476 2008-07-28 Michael Smith <msmith@songbirdnest.com>
1478 * configure.ac:
1479 * libs/gst/Makefile.am:
1480 Build the net library if we have winsock2.
1482 2008-07-26 Stefan Kost <ensonic@users.sf.net>
1484 patch by: Luc Pionchon <luc.pionchon@nokia.com>
1486 * docs/manual/advanced-threads.xml:
1487 * docs/manual/diagrams-pipelines.svg:
1488 * docs/manual/hello-world.png:
1489 * docs/manual/linked-elements.png:
1490 * docs/manual/mime-world.png:
1491 * docs/manual/queue.png:
1492 * docs/manual/thread-buffering.png:
1493 * docs/manual/thread-synchronizing.png:
1494 Replace one diagram with two separate ones and updates others.
1495 Fixes #542401.
1497 2008-07-25 Thijs Vermeir <thijsvermeir@gmail.com>
1499 * gst/gstelement.h:
1500 Fix link in documentation.
1502 2008-07-24 Thijs Vermeir <thijsvermeir@gmail.com>
1504 * gst/gstmessage.c:
1505 Fix confusing documentation.
1507 2008-07-24 Thijs Vermeir <thijsvermeir@gmail.com>
1509 * libs/gst/base/gstbasesrc.h:
1510 revert the changes to the header file for the ABI.
1512 2008-07-24 Thijs Vermeir <thijsvermeir@gmail.com>
1514 * libs/gst/base/gstbasesrc.c:
1515 * libs/gst/base/gstbasesrc.h:
1516 Don't cache the seekable status.
1517 Fixes bug #544174
1519 2008-07-24 Rene Stadler <mail@renestadler.de>
1521 * docs/manual/advanced-autoplugging.xml: Add fakesink to example
1522 code to close the pipeline graph. This prevents the program from
1523 printing internal data flow errors.
1525 2008-07-23 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1527 * docs/manual/basics-bus.xml:
1528 Correct typo. Fixes bug #544320.
1530 2008-07-22 Michael Smith <msmith@songbirdnest.com>
1532 * configure.ac:
1533 Remove AC_ISC_POSIX macro; it's broken on some platforms and not needed.
1534 Add check (taken from -base) for winsock, adds WIN32_LIBS
1535 * gst/Makefile.am:
1536 Add WIN32_LIBS to LIBADD for libgstreamer. Needed now that gstpoll uses
1537 winsock.
1538 Define GST_EXPORTS when building libgstreamer (only used on win32)
1539 * gst/gst_private.h:
1540 * gst/gstinfo.h:
1541 Use GST_EXPORT instead of locally-defined (and incorrect IMPORT_SYMBOL)
1542 for symbols that we need to export in both these files.
1543 * gst/gstpoll.c:
1544 Include gst_private.h higher up to avoid some compile problems on win32.
1546 2008-07-22 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1548 * gst/gstvalue.c:
1549 Fix typos.
1551 2008-07-22 Thijs Vermeir <thijsvermeir@gmail.com>
1553 * gst/gstcaps.c:
1554 Previous commit was wrong NULL caps does not exist
1555 and indicate an error, so also add a FIXME to
1556 gst_caps_is_equal where NULL caps are accepted.
1558 2008-07-22 Thijs Vermeir <thijsvermeir@gmail.com>
1560 * gst/gstcaps.c:
1561 Allow passing of NULL to gst_caps_union
1563 2008-07-21 Thijs Vermeir <thijsvermeir@gmail.com>
1565 * gst/gstghostpad.c:
1566 Add in doc that gst_ghost_pad_set_target can accept
1567 NULL to clear target
1569 2008-07-15 Michael Smith <msmith@songbirdnest.com>
1571 * gst/gstplugin.c:
1572 * gst/gstregistry.c:
1573 GstRegistryPool doesn't exist; don't refer to it in docs.
1574 Don't refer to functions that don't exist in docs, it's
1575 unhelpful.
1577 2008-07-12 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1579 * gst/gst.c:
1580 Fix scanning of paths given via --gst-plugin-path. Fixes bug #542175.
1582 2008-07-12 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1584 Patch by: Tristan Matthews <le dot businessman at gmail dot com>
1586 * docs/pwg/building-testapp.xml:
1587 Don't use an undeclared variable in the example program.
1588 Fixes bug #542573.
1590 2008-07-12 Stefan Kost <ensonic@users.sf.net>
1592 * gst/gstdebugutils.c:
1593 Squeeze ghost-pad links and remove <> from classname labels to save
1594 more horizontal space.
1596 2008-07-11 Stefan Kost <ensonic@users.sf.net>
1598 * gst/gstdebugutils.c:
1599 Give request and sometimes pads a different shpe style. Condense the
1600 graphs a little more.
1602 2008-07-09 Michael Smith <msmith@songbirdnest.com>
1604 * configure.ac:
1605 Don't require flex and bison if the parser is disabled.
1607 2008-07-08 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1609 * libs/gst/controller/gstinterpolationcontrolsource.c:
1610 (_list_find_sorted_custom):
1611 Don't use declarations after statements.
1613 2008-07-08 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1615 * gst/gstchildproxy.c: (gst_child_proxy_base_init):
1616 Add FIXMEs for 0.11 to use GST_TYPE_OBJECT in the signature
1617 of the the child-added / -removed signals as GstChildProxy
1618 only supports GstObjects.
1620 2008-07-07 Thijs Vermeir <thijsvermeir@gmail.com>
1622 * gst/gstdebugutils.c:
1623 Fix memleak
1625 2008-07-06 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1627 Patch by: Alessandro Decina <alessandro at nnva dot org>
1629 * gst/gstpoll.c:
1630 Fix "ignored return value" compiler warning with newer glibc.
1632 2008-07-05 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1634 * gst/gstchildproxy.c:
1635 Fix copy&paste error in gst_child_proxy_removed() documentation.
1637 2008-07-02 Tim-Philipp Müller <tim.muller at collabora co uk>
1639 * gst/gstplugin.c: (CHECK_PLUGIN_DESC_FIELD), (gst_plugin_load_file):
1640 Print error debug message if plugin description fields that should
1641 be set are NULL.
1643 * gst/gstregistrybinary.c: (gst_registry_binary_save_const_string):
1644 Don't crash if the string to serialise is NULL (it really should
1645 not be, but apparently this used to work with the xml registry ...).
1647 2008-07-02 Thijs Vermeir <thijsvermeir@gmail.com>
1649 * tools/gst-plot-timeline.py:
1650 Fix parsing of log messages
1652 2008-07-01 Tim-Philipp Müller <tim.muller at collabora co uk>
1654 * win32/common/libgstbase.def::
1655 Sort alphabetically so make check-exports doesn't barf.
1657 2008-07-01 Stefan Kost <ensonic@users.sf.net>
1659 * gst/gstevent.c:
1660 Use gst_format_get_name() to improve debug output.
1662 * gst/gstpreset.c:
1663 Remove #ifdef'ed code. Add TODO comment.
1665 * gst/gstsegment.c:
1666 Add debug output to ease spotting format != segment.format assertions.
1668 2008-06-30 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1670 * tests/check/libs/gdp.c: (gst_dp_suite):
1671 Also enable the GDP unit test again on PPC now that the bug
1672 is fixed.
1674 2008-06-30 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1676 * libs/gst/dataprotocol/dataprotocol.c:
1677 Don't write to the same region of memory as a uint64 and uint16
1678 as this breaks strict aliasing rules and apparantly breaks on PPC
1679 and s390. Thanks to Sjoerd Simons for analysing. Fixes bug #348114.
1681 2008-06-29 Stefan Kost <ensonic@users.sf.net>
1683 * libs/gst/controller/gstinterpolationcontrolsource.c:
1684 Optimize list handling. Use own find function. Exploit that fact that
1685 the list is sorted. Also pass back the node before, so that we can
1686 insert quickly. Have a fast path for append.
1688 2008-06-29 Stefan Kost <ensonic@users.sf.net>
1690 * docs/design/draft-framestep.txt:
1691 * docs/design/part-negotiation.txt:
1692 Fix two typos.
1694 2008-06-27 Stefan Kost <ensonic@users.sf.net>
1696 * configure.ac:
1697 Show configuration sumary after configure run. Based on patch by
1698 Luc Pionchon <luc.pionchon@nokia.com>. Fixes: #540134
1700 2008-06-27 Stefan Kost <ensonic@users.sf.net>
1702 patch by: Luc Pionchon <luc.pionchon@nokia.com>
1704 * docs/manual/advanced-autoplugging.xml:
1705 * docs/manual/advanced-threads.xml:
1706 * docs/manual/basics-bins.xml:
1707 * docs/manual/basics-elements.xml:
1708 * docs/manual/basics-helloworld.xml:
1709 * docs/manual/basics-pads.xml:
1710 Add scale factor for pdf output.
1712 * docs/manual/intro-basics.xml:
1713 Switched sections "pads" and "bins" and added a pipeline diagram.
1715 * docs/manual/intro-gstreamer.xml:
1716 Added more info on gstreamer.
1718 * docs/manual/intro-motivation.xml:
1719 Commented out the whole section "current problem", which sounds
1720 historical and somehow osolete; it could be turned in a positive
1721 way and reused to improve the design principles.
1723 * docs/manual/intro-preface.xml:
1724 - Update URLs to library.gnome.org.
1725 - Do not mention GTK+ in preliminary reading (irrelevant).
1726 - Mention Plugin Writer's Manual and further reading only in the
1727 previous section.
1728 - Added a list of most relevant GObject/glib topics.
1730 * docs/manual/Makefile.am:
1731 * docs/manual/bin-element-ghost.fig:
1732 * docs/manual/bin-element-ghost.png:
1733 * docs/manual/bin-element-noghost.fig:
1734 * docs/manual/bin-element-noghost.png:
1735 * docs/manual/bin-element.fig:
1736 * docs/manual/bin-element.png:
1737 * docs/manual/filter-element-multi.fig:
1738 * docs/manual/filter-element-multi.png:
1739 * docs/manual/filter-element.fig:
1740 * docs/manual/filter-element.png:
1741 * docs/manual/gstreamer-overview.png:
1742 * docs/manual/hello-world.fig:
1743 * docs/manual/hello-world.png:
1744 * docs/manual/linked-elements.fig:
1745 * docs/manual/linked-elements.png:
1746 * docs/manual/mime-world.fig:
1747 * docs/manual/mime-world.png:
1748 * docs/manual/queue.fig:
1749 * docs/manual/queue.png:
1750 * docs/manual/simple-player.png:
1751 * docs/manual/sink-element.fig:
1752 * docs/manual/sink-element.png:
1753 * docs/manual/src-element.fig:
1754 * docs/manual/src-element.png:
1755 * docs/manual/diagrams-general.svg:
1756 * docs/manual/diagrams-pipelines.svg:
1757 Removed .fig, added .png counterpart.
1759 Fixes: #539137
1761 2008-06-26 Thijs Vermeir <thijsvermeir@gmail.com>
1763 * plugins/elements/gstmultiqueue.c:
1764 * plugins/elements/gstmultiqueue.h:
1765 revert extra-size-buffers stuff, caused some race conditions
1766 and extra-size-buffers is not used anymore. Docs needs some updates
1768 2008-06-26 Tim-Philipp Müller <tim.muller at collabora co uk>
1770 * win32/common/config.h:
1771 * win32/common/gstenumtypes.c:
1772 * win32/common/gstenumtypes.h:
1773 * win32/common/gstversion.h:
1774 Update win32 files.
1776 2008-06-26 Tim-Philipp Müller <tim.muller at collabora co uk>
1778 * gst/gstdebugutils.h: (GstDebugGraphDetails),
1779 (GST_DEBUG_BIN_TO_DOT_FILE):
1780 Add missing Since' markers to gtk-doc blurbs.
1782 2008-06-26 Wim Taymans <wim.taymans@collabora.co.uk>
1784 * tests/check/libs/transform1.c: (buffer_alloc_pt1),
1785 (set_caps_pt1), (GST_START_TEST), (set_caps_pt2), (transform_ip_1),
1786 (set_caps_1), (set_caps_ct1), (transform_ct1),
1787 (transform_caps_ct1), (transform_size_ct1), (buffer_alloc_ct1),
1788 (set_caps_ct2), (transform_ct2), (transform_caps_ct2),
1789 (transform_size_ct2), (buffer_alloc_ct2):
1790 Add some more tests with switching caps in buffer_alloc.
1792 2008-06-25 Wim Taymans <wim.taymans@collabora.co.uk>
1794 * tests/check/libs/test_transform.c: (gst_test_trans_base_init),
1795 (gst_test_trans_class_init), (result_sink_chain),
1796 (result_buffer_alloc), (gst_test_trans_new), (gst_test_trans_free),
1797 (gst_test_trans_push), (gst_test_trans_pop):
1798 * tests/check/libs/transform1.c: (buffer_alloc_pt1),
1799 (set_caps_pt1), (GST_START_TEST), (set_caps_pt2), (transform_ip_1),
1800 (set_caps_1), (set_caps_ct1), (transform_ct1),
1801 (transform_caps_ct1), (transform_size_ct1), (buffer_alloc_ct1),
1802 (set_caps_ct2), (transform_ct2), (transform_caps_ct2),
1803 (transform_size_ct2), (buffer_alloc_ct2),
1804 (gst_basetransform_suite):
1805 More tests, prepare for tests with switching caps in buffer_alloc.
1807 2008-06-25 Thijs Vermeir <thijsvermeir@gmail.com>
1809 * plugins/elements/gstmultiqueue.c:
1810 * plugins/elements/gstmultiqueue.h:
1811 Fix dead-lock in underrun_cb
1813 2008-06-25 Wim Taymans <wim.taymans@collabora.co.uk>
1815 * docs/design/part-states.txt:
1816 Fix device open/close docs.
1818 2008-06-25 Stefan Kost <ensonic@users.sf.net>
1820 * ChangeLog:
1821 Mention bugnumber for last commit.
1823 2008-06-25 Stefan Kost <ensonic@users.sf.net>
1825 patch by: Luc Pionchon <luc.pionchon@nokia.com>
1827 * docs/manual/manual.xml:
1828 - Reorganised the previous "introduction" bundle into Foreword,
1829 Introduction, and About GStreamer. The two first are <preface>
1830 docbook elements. The later is the first part of the book.
1831 - added intro-gstreamer.xml (content partially from
1832 intro-preface.xml)
1833 - moved appendix-win32.xml into appendix-integration.xml
1835 * docs/manual/intro-preface.xml: gstreamer section moved...
1836 * docs/manual/intro-gstreamer.xml: ...here. new file.
1838 * docs/manual/appendix-win32.xml: removed file. Content moved...
1839 * docs/manual/appendix-integration.xml: ...here.
1841 * docs/manual/highlevel-components.xml: section about GstEditor moved...
1842 * docs/manual/appendix-checklist.xml: ...here.
1844 Fixes: 538764
1846 2008-06-25 Stefan Kost <ensonic@users.sf.net>
1848 patch by: Luc Pionchon <luc.pionchon@nokia.com>
1850 * docs/manual/basics-helloworld.xml:
1851 * docs/manual/hello-world.fig:
1852 - Explicitely include glib.h.
1853 - Do not use global variables.
1854 - Use g_printerr() instead of g_print().
1855 - Minor formating/renaming to increase readibility.
1856 - Renamed new_pad() to on_pad_added()
1857 - Improved explenatory comments.
1858 - renamed ogg parser to ogg demuxer
1859 - Use "autoaudiosink" instead of "alsasink".
1860 Fixes: #538619
1862 2008-06-25 Stefan Kost <ensonic@users.sf.net>
1864 * ChangeLog:
1865 Remove cvs conflict marker.
1867 2008-06-25 Stefan Kost <ensonic@users.sf.net>
1869 * docs/README:
1870 Document that for plgin-docs we extraxt he short-desc from the element
1871 details.
1873 * docs/design/part-states.txt:
1874 Tell that devices should be closed in PAUSED -> READY.
1876 * docs/manual/README:
1877 Document how tests in the manual are handled.
1879 * docs/manuals.mak:
1880 Typo in comment.
1882 2008-06-25 Wim Taymans <wim.taymans@collabora.co.uk>
1884 * gst/gstbin.c: (bin_query_latency_fold):
1885 Only care about latency min and max when the sink is actually a live
1886 sink.
1888 2008-06-25 Wim Taymans <wim.taymans@collabora.co.uk>
1890 * docs/design/part-block.txt:
1891 Fix typo.
1893 * docs/design/part-element-transform.txt:
1894 Add notes about why transform needs to know input/output sizes.
1895 Add some issues that need to be solved.
1896 Add some more use cases.
1898 * tests/check/libs/test_transform.c: (gst_test_trans_base_init),
1899 (gst_test_trans_class_init), (result_sink_chain),
1900 (result_buffer_alloc), (gst_test_trans_new), (gst_test_trans_free),
1901 (gst_test_trans_push), (gst_test_trans_pop):
1902 * tests/check/libs/transform1.c: (buffer_alloc_pt1),
1903 (set_caps_pt1), (GST_START_TEST), (set_caps_pt2), (transform_ip_1),
1904 (set_caps_1), (set_caps_ct1), (transform_ct1),
1905 (transform_caps_ct1), (transform_size_ct1), (buffer_alloc_ct1),
1906 (gst_basetransform_suite):
1907 Add suport for different pad templates and buffer-alloc.
1908 Add more checks for caps and buffer-alloc.
1909 Add checks for proxy buffer alloc.
1910 Add unit test for copy transform.
1912 2008-06-24 Tim-Philipp Müller <tim.muller at collabora co uk>
1914 Patch by: Luc Pionchon <luc.pionchon@nokia.com>
1916 * docs/manual/appendix-integration.xml:
1917 * docs/manual/appendix-licensing.xml:
1918 * docs/manual/basics-elements.xml:
1919 * docs/manual/basics-helloworld.xml:
1920 * docs/manual/basics-pads.xml:
1921 * docs/manual/highlevel-components.xml:
1922 * docs/manual/highlevel-xml.xml:
1923 * docs/manual/intro-basics.xml:
1924 * docs/manual/intro-preface.xml:
1925 Typo and formatting fixes (#538594).
1927 2008-06-24 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1929 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
1930 Fix some memory leaks and uses of object instances that we don't
1931 actually own.
1933 2008-06-22 Thijs Vermeir <thijsvermeir@gmail.com>
1935 * plugins/elements/gstmultiqueue.c:
1936 Add functionality to extra-size-buffers property.
1938 2008-06-22 Thijs Vermeir <thijsvermeir@gmail.com>
1940 * plugins/elements/gstmultiqueue.c:
1941 Don't update the cur_time on GST_CLOCK_TIME_NONE (#537804) and don't
1942 activate the pads if they are added in STATE_NULL.
1944 2008-06-21 Thijs Vermeir <thijsvermeir@gmail.com>
1946 * docs/libs/gstreamer-libs-sections.txt:
1947 Add new API to doc
1948 * libs/gst/check/gstcheck.c:
1949 * libs/gst/check/gstcheck.h:
1950 API: gst_check_teardown_pad_by_name
1952 2008-06-21 Thijs Vermeir <thijsvermeir@gmail.com>
1954 * libs/gst/check/gstcheck.c:
1955 * libs/gst/check/gstcheck.h:
1956 Also setup request pads and allow setup pads by name (#537812)
1957 API: gst_check_setup_src_pad_by_name
1958 API: gst_check_setup_sink_pad_by_name
1960 2008-06-20 Thomas Vander Stichele <thomas at apestaart dot org>
1962 * tests/check/gst/gstbuffer.c:
1963 * tests/check/pipelines/parse-launch.c:
1964 Use HAVE_VALGRIND_H some more.
1966 2008-06-20 Thomas Vander Stichele <thomas at apestaart dot org>
1968 * scripts/cvs-update.sh:
1969 Pass arguments to make.
1970 Run autoregen.sh if Makefile is not there.
1972 2008-06-20 Thomas Vander Stichele <thomas at apestaart dot org>
1974 * configure.ac:
1975 * gst/gstinfo.c:
1976 Don't assume that <valgrind/valgrind.h> exists just because
1977 the binary is there.
1979 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
1981 * tests/check/Makefile.am:
1982 * tests/check/libs/test_transform.c: (gst_test_trans_base_init),
1983 (gst_test_trans_class_init), (gst_test_trans_init),
1984 (gst_test_trans_set_data), (result_sink_chain),
1985 (gst_test_trans_new), (gst_test_trans_free), (gst_test_trans_push),
1986 (gst_test_trans_pop):
1987 * tests/check/libs/transform1.c: (GST_START_TEST),
1988 (transform_ip_1), (set_caps_1), (gst_basetransform_suite):
1989 Add some test basetransform element and the beginnings of various
1990 unit tests for it.
1992 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
1994 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek):
1995 Increase code readability.
1996 Don't try to compare buffer offsets when ther are invalid.
1998 2008-06-20 Tim-Philipp Müller <tim.muller at collabora co uk>
2000 * docs/design/Makefile.am:
2001 Dist some more design docs.
2003 * docs/random/moving-plugins:
2004 Small addition: good plugins mustn't have functional code
2005 within assertion macros.
2007 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
2009 * docs/design/draft-framestep.txt:
2010 Some ideas about a framestep API
2012 * docs/design/part-element-transform.txt:
2013 Start design and use cases for basetransform in order to get it
2014 fixed soon.
2016 2008-06-20 Tim-Philipp Müller <tim.muller at collabora co uk>
2018 * gst/gsttaglist.h:
2019 In GST_TAG_ATTACHEMENT docs, mention that the file name needs to
2020 be in UTF-8 encoding.
2022 2008-06-20 Tim-Philipp Müller <tim.muller at collabora co uk>
2024 * gst/gstbus.c:
2025 Make it known that gst_bus_poll() is pure evil (fixes #538810).
2027 2008-06-20 Stefan Kost <ensonic@users.sf.net>
2029 * plugins/elements/gstcapsfilter.c:
2030 * plugins/elements/gstfakesink.c:
2031 * plugins/elements/gstfakesrc.c:
2032 * plugins/elements/gstfdsink.c:
2033 * plugins/elements/gstfdsrc.c:
2034 * plugins/elements/gstfilesink.c:
2035 * plugins/elements/gstfilesrc.c:
2036 * plugins/elements/gstidentity.c:
2037 * plugins/elements/gstmultiqueue.c:
2038 * plugins/elements/gstqueue.c:
2039 * plugins/elements/gsttee.c:
2040 * plugins/elements/gsttypefindelement.c:
2041 Remove short_description. Add basic docs for gsttypefindelement.
2042 Simplify markup for fakesrc/fdsrc.
2044 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
2046 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
2047 Added Since doc.
2049 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
2051 Patch by: Joel Larsson <tilljoel at gmail dot com>
2053 * docs/plugins/gstreamer-plugins.args:
2054 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
2055 (gst_fd_src_init), (gst_fd_src_update_fd),
2056 (gst_fd_src_set_property), (gst_fd_src_get_property),
2057 (gst_fd_src_create):
2058 * plugins/elements/gstfdsrc.h:
2059 Add timeout property like udpsrc. Fixes #538628.
2060 Add some more docs and example pipelines.
2062 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
2064 * docs/libs/gstreamer-libs-sections.txt:
2065 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
2066 (gst_base_sink_query_latency), (gst_base_sink_set_render_delay),
2067 (gst_base_sink_get_render_delay), (gst_base_sink_wait_eos),
2068 (gst_base_sink_do_sync):
2069 * libs/gst/base/gstbasesink.h:
2070 * win32/common/libgstbase.def:
2071 Add method to allow sinks to specify additional delay between the sync
2072 times and the actual rendering of the data.
2073 API: gst_base_sink_set_render_delay()
2074 API: gst_base_sink_get_render_delay()
2076 2008-06-20 Jan Schmidt <jan.schmidt@sun.com>
2078 * configure.ac:
2079 Bump version number back to dev -> 0.10.20.1
2081 2008-06-20 Sebastian Dröge <slomo@circular-chaos.org>
2083 * docs/gst/gstreamer-sections.txt:
2084 * gst/gsttaglist.c: (_gst_tag_initialize):
2085 * gst/gsttaglist.h:
2086 API: Add GST_TAG_ATTACHMENT for generic file attachments to streams.
2087 Fixes bug #538568.
2089 2008-06-20 Stefan Kost <ensonic@users.sf.net>
2091 * libs/gst/controller/gstcontroller.c:
2092 Revert one change, that make ret value possible uninitialized.
2094 2008-06-20 Stefan Kost <ensonic@users.sf.net>
2096 * libs/gst/controller/gstcontroller.c:
2097 Use freeze/thaw notify to sync notify emission a bit (its also more
2098 efficient). Move debug output to LOG (is called a lot in a loop).
2099 Always unset g_values if the have been initialized.
2101 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
2103 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
2104 (gst_base_sink_wait_eos), (gst_base_sink_event):
2105 If we have not seen a buffer before EOS, use the segment values to
2106 report the current position instead of invalid positions.
2108 2008-06-20 Stefan Kost <ensonic@users.sf.net>
2110 * docs/plugins/tmpl/.cvsignore:
2111 * tests/check/gst/.cvsignore:
2112 Ignore more.
2114 2008-06-20 Stefan Kost <ensonic@users.sf.net>
2116 * libs/gst/controller/gstinterpolation.c:
2117 * libs/gst/controller/gstinterpolationcontrolsource.c:
2118 * tests/check/libs/controller.c:
2119 Rewrite handling of default values. Fix overflow with unsigned types
2120 in linear interpolation. Remove now obsolete _first_value() function.
2121 Add more tests. Fixes #538201.
2123 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
2125 * libs/gst/base/gstbasetransform.c:
2126 (gst_base_transform_class_init), (gst_base_transform_init),
2127 (gst_base_transform_transform_caps),
2128 (gst_base_transform_prepare_output_buffer):
2129 Add debug info.
2130 When a buffer is writable, its metadata is also writable so we don't
2131 need to subbuffer (which then makes the buffer not-writable anymore).
2133 === release 0.10.20 ===
2135 2008-06-18 Jan Schmidt <jan.schmidt@sun.com>
2137 * configure.ac:
2138 releasing 0.10.20, "You Crazy Diamond"
2140 2008-06-11 Jan Schmidt <jan.schmidt@sun.com>
2142 * configure.ac:
2143 0.10.19.3 pre-release
2145 2008-06-11 Jan Schmidt <jan.schmidt@sun.com>
2147 * configure.ac:
2148 * gst/gstpreset.c:
2149 Rename DATADIR to GST_DATADIR to avoid build problems
2150 on win32. Patch By: David Schleef <ds@schleef.org>
2151 Fixes: #536857
2153 2008-06-05 Sebastian Dröge <slomo@circular-chaos.org>
2155 * configure.ac:
2156 Explicitely link with -ldl if dladdr() is found there. Before it was
2157 implicitely linked by the gmodule pkgconfig file but in glib 2.17.0
2158 -ldl has moved from Libs to Libs.private. Fixes bug #536744.
2160 2008-06-05 Tim-Philipp Müller <tim.muller at collabora co uk>
2162 * gst/gsterror.c: (_gst_stream_errors_init):
2163 Fix typo (spotted by Fabricio Godoy, #536723).
2165 2008-06-05 Jan Schmidt <jan.schmidt@sun.com>
2167 * configure.ac:
2168 0.10.19.2 pre-release
2170 2008-06-04 Wim Taymans <wim.taymans@collabora.co.uk>
2172 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_async_enabled),
2173 (gst_base_sink_set_ts_offset), (gst_base_sink_perform_qos):
2174 Add some debug.
2175 Make sure we don't generate invalid QoS messages.
2177 2008-06-04 Wim Taymans <wim.taymans@collabora.co.uk>
2179 * gst/gstevent.c: (gst_event_new_qos):
2180 Add some assert and docs for invalid input to the qos function.
2182 2008-05-30 Wim Taymans <wim.taymans@collabora.co.uk>
2184 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
2185 (gst_base_sink_get_position):
2186 The reported position must always be smaller than the last seen
2187 timestamps (or timestamp + duration for reverse).
2189 2008-05-30 Sebastian Dröge <slomo@circular-chaos.org>
2191 Patch by: Rob Bradford <rob at robster dot org dot uk>
2193 * gst/gstregistry.c: (gst_registry_scan_path_level):
2194 Don't recurse into .debug directories as some distros install
2195 the debugging symbols next to the plugins in .debug directories
2196 and dlopen() crashes on them sometimes. Fixes bug #508070.
2198 Add FIXME for 0.11 to not recurse into directories at all because
2199 it's very inconsistent to the behaviour of other PATH environment
2200 variables.
2202 2008-05-29 Wim Taymans <wim.taymans@collabora.co.uk>
2204 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
2205 (gst_base_sink_get_position_last), (gst_base_sink_get_position):
2206 Fix position query range checks in reverse playback.
2208 2008-05-29 Sebastian Dröge <slomo@circular-chaos.org>
2210 * gst/gstelement.c:
2211 * gst/gstelement.h:
2212 Deprecated gst_element_get_pad() as it can't be used sanely. It's not
2213 clear of the reference to the resulting pad must be released later
2214 or not, resulting in possible leaks. Fixes bug #533865.
2216 2008-05-28 Wim Taymans <wim.taymans@collabora.co.uk>
2218 Patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
2220 * gst/gstelementfactory.c:
2221 Small doc fix. Fixes #535285.
2223 2008-05-28 Wim Taymans <wim.taymans@collabora.co.uk>
2225 Based on patch by: Bjarne Rosengren <bjarne at axis dot com>
2227 * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event),
2228 (gst_base_src_get_range), (gst_base_src_pad_get_range),
2229 (gst_base_src_loop), (gst_base_src_set_flushing),
2230 (gst_base_src_change_state):
2231 Make sending an EOS event to the basesrc non-blocking even if the
2232 implementation does blocking waits in the create function. This is done
2233 by unlocking the create function when EOS is sent.
2234 Fixes #535218.
2236 2008-05-28 Sebastian Dröge <slomo@circular-chaos.org>
2238 * tools/gst-inspect.c: (print_element_properties_info):
2239 If possible print the element type of GValueArray properties.
2241 2008-05-28 Sebastian Dröge <slomo@circular-chaos.org>
2243 * gst/gstiterator.c:
2244 Remove an unused field from the private GstListIterator struct.
2246 2008-05-27 Stefan Kost <ensonic@users.sf.net>
2248 * libs/gst/controller/gstcontroller.c:
2249 Add parameter guards.
2251 2008-05-27 Stefan Kost <ensonic@users.sf.net>
2253 * tests/check/gst/gstpipeline.c:
2254 Revert test change and add comment why it should not work.
2256 2008-05-27 Stefan Kost <ensonic@users.sf.net>
2258 * tests/check/gst/gstpipeline.c:
2259 Extending the test a little to verify that we also get the NULL state-
2260 change message.
2262 2008-05-27 Tim-Philipp Müller <tim.muller at collabora co uk>
2264 * gst/gstpreset.c: (gst_preset_default_get_meta),
2265 (gst_preset_get_preset_names), (gst_preset_get_property_names),
2266 (gst_preset_load_preset), (gst_preset_save_preset),
2267 (gst_preset_rename_preset), (gst_preset_delete_preset),
2268 (gst_preset_set_meta):
2269 Add Since: markers to docs blurbs.
2271 * win32/common/libgstreamer.def:
2272 Add recently-added API.
2274 2008-05-27 Wim Taymans <wim.taymans@collabora.co.uk>
2276 Patch by: Stefan Kost <ensonic@users.sf.net>
2278 * configure.ac:
2279 Add DATADIR for storing presets.
2281 * docs/gst/gstreamer-docs.sgml:
2282 * docs/gst/gstreamer-sections.txt:
2283 * docs/gst/gstreamer.types.in:
2284 Add GstPreset to docs.
2286 * gst/Makefile.am:
2287 * gst/gst.h:
2288 * gst/gstpreset.c: (preset_get_paths), (preset_skip_property),
2289 (preset_open_and_parse_header), (preset_parse_version),
2290 (preset_merge), (preset_get_keyfile),
2291 (gst_preset_default_get_preset_names),
2292 (gst_preset_default_get_property_names),
2293 (gst_preset_default_load_preset),
2294 (gst_preset_default_save_presets_file),
2295 (gst_preset_default_save_preset),
2296 (gst_preset_default_rename_preset),
2297 (gst_preset_default_delete_preset), (gst_preset_default_set_meta),
2298 (gst_preset_default_get_meta), (gst_preset_default_randomize),
2299 (gst_preset_default_reset), (gst_preset_get_preset_names),
2300 (gst_preset_get_property_names), (gst_preset_load_preset),
2301 (gst_preset_save_preset), (gst_preset_rename_preset),
2302 (gst_preset_delete_preset), (gst_preset_set_meta),
2303 (gst_preset_get_meta), (gst_preset_class_init),
2304 (gst_preset_base_init), (gst_preset_get_type):
2305 * gst/gstpreset.h:
2306 Add GstPreset to core. Fixes #396779
2308 * tests/check/Makefile.am:
2309 * tests/check/gst/gstpreset.c: (gst_preset_test_get_property),
2310 (gst_preset_test_set_property), (gst_preset_test_class_init),
2311 (gst_preset_test_base_init), (gst_preset_test_get_type),
2312 (gst_preset_test_plugin_init), (GST_START_TEST),
2313 (remove_preset_file), (test_setup), (test_teardown),
2314 (gst_preset_suite):
2315 Add GstPreset unit tests.
2317 2008-05-27 Wim Taymans <wim.taymans@collabora.co.uk>
2319 * gst/gstpad.c: (gst_pad_event_default_dispatch):
2320 The default event function on a sinkpad should return TRUE when
2321 there are no internal links but should collect the return values from
2322 the internal links otherwise.
2324 2008-05-27 Wim Taymans <wim.taymans@collabora.co.uk>
2326 * plugins/elements/gsttypefindelement.c:
2327 (gst_type_find_element_src_event),
2328 (gst_type_find_element_handle_event):
2329 Use faster and safer _pad_push_event().
2331 2008-05-27 Tim-Philipp Müller <tim.muller at collabora co uk>
2333 * docs/gst/gstreamer-sections.txt:
2334 * gst/gstutils.c: (element_find_unlinked_pad),
2335 (gst_bin_find_unlinked_pad), (gst_bin_find_unconnected_pad),
2336 * gst/gstutils.h:
2337 API: add gst_bin_find_unlinked_pad()
2338 API: deprecate gst_bin_find_unconnected_pad() (#401456)
2340 2008-05-26 Peter Kjellerstedt <pkj@axis.com>
2342 * gst/gstclock.c:
2343 * gst/gstclock.h:
2344 * gst/gsttask.c:
2345 * gst/gsttask.h:
2346 Fixed a bunch of typos.
2348 2008-05-25 Tim-Philipp Müller <tim.muller at collabora co uk>
2350 * gst/gstpad.h:
2351 * gst/gstutils.c: (gst_element_unlink), (element_find_unlinked_pad),
2352 (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description),
2353 (gst_parse_bin_from_description_full):
2354 * gst/gstutils.h:
2355 'unconnected pad' -> 'unlinked pad' for consistency (#401456).
2357 2008-05-25 Tim-Philipp Müller <tim.muller at collabora co uk>
2359 * docs/pwg/advanced-tagging.xml:
2360 Small docs update, can't be bothered to rewrite the nonsensical
2361 examples right now.
2363 2008-05-25 Tim-Philipp Müller <tim.muller at collabora co uk>
2365 * gst/gstevent.h:
2366 Clarify docs for GST_SEEK_TYPE_CUR (#534505).
2368 2008-05-25 Tim-Philipp Müller <tim.muller at collabora co uk>
2370 * gst/parse/grammar.y:
2371 Remove unneeded casts.
2373 2008-05-25 Tim-Philipp Müller <tim.muller at collabora co uk>
2375 * gst/parse/grammar.y:
2376 * tests/check/pipelines/parse-launch.c:
2377 Get all missing elements from a parse launch string if possible
2378 (ie. if the FATAL_ERRORS flag has been specified). Fixes #528178.
2380 2008-05-24 Tim-Philipp Müller <tim.muller at collabora co uk>
2382 * tests/check/Makefile.am:
2383 * tests/check/pipelines/parse-launch.c:
2384 Add some unit tests for the new gst_parse_launch*_full() API.
2385 (Exposes a previously-existing memory leak in the error code
2386 path, so adding to VALGRIND_TO_FIX for now).
2388 2008-05-24 Tim-Philipp Müller <tim.muller at collabora co uk>
2390 * docs/gst/gstreamer-sections.txt:
2391 * gst/gst.c: (init_post):
2392 * gst/gst_private.h: (_GstParseContext):
2393 * gst/gstparse.c: (gst_parse_error_quark), (gst_parse_context_new),
2394 (gst_parse_context_free), (gst_parse_context_get_missing_elements),
2395 (gst_parse_launchv), (gst_parse_launchv_full), (gst_parse_launch),
2396 (gst_parse_launch_full):
2397 * gst/gstparse.h: (GST_PARSE_FLAG_NONE), (GST_PARSE_FLAG_FATAL_ERRORS),
2398 (GstParseFlags), (GstParseContext):
2399 * gst/gstutils.c: (gst_parse_bin_from_description),
2400 (gst_parse_bin_from_description_full):
2401 * gst/gstutils.h:
2402 * gst/parse/grammar.y:
2403 * gst/parse/types.h:
2404 * win32/common/libgstreamer.def:
2405 Add new gst_parse_*_full API (#528178):
2406 API: gst_parse_launch_full()
2407 API: gst_parse_launchv_full()
2408 API: gst_parse_bin_from_description_full()
2409 API: gst_parse_context_new()
2410 API: gst_parse_context_free()
2411 API: gst_parse_context_get_missing_elements()
2413 2008-05-23 Stefan Kost <ensonic@users.sf.net>
2415 patch by: Suresh Kumar P <sureshkumar.pp@gmail.com>
2417 * docs/faq/gst-uninstalled:
2418 Also support ffmpeg in gst-uninstalled.
2420 2008-05-22 Sebastian Dröge <slomo@circular-chaos.org>
2422 * configure.ac:
2423 After discussion on IRC use the binary registry as default
2424 but allow to disable it with --disable-binary-registry.
2426 * win32/common/libgstreamer.def:
2427 Add the two new symbols for the binary registry.
2429 2008-05-22 Tim-Philipp Müller <tim.muller at collabora co uk>
2431 * gst/gstparse.c: (_gst_parse_escape), (gst_parse_launchv):
2432 * gst/gstutils.c: (gst_parse_bin_from_description):
2433 * gst/parse/grammar.y: (graph):
2434 More guards against bad input; typo fix; some minor clean-ups.
2436 2008-05-22 Sebastian Dröge <slomo@circular-chaos.org>
2438 Patch by: Sjoerd Simons <sjoerd at luon dot net>
2440 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
2441 If nothing else can be used, use the last buffer's start time as
2442 the segment's last stop. Fixes bug #534258.
2444 2008-05-21 Tim-Philipp Müller <tim.muller at collabora co uk>
2446 * gst/gstpad.c: (gst_pad_alloc_buffer_full):
2447 Move size sanity check to the right place: downstream may return
2448 a buffer with a smaller size if the buffer caps are different than
2449 the requested ones, as may happen when doing reverse negotiation.
2451 2008-05-21 Wim Taymans <wim.taymans@collabora.co.uk>
2453 * plugins/elements/gstfilesink.c: (gst_file_sink_set_location),
2454 (gst_file_sink_render):
2455 * plugins/elements/gstfilesrc.c: (gst_file_src_set_location),
2456 (gst_file_src_start):
2457 Small cleanups. Add note adbout g_fopen() on windows and why we don't
2458 use it yet.
2460 2008-05-21 Wim Taymans <wim.taymans@collabora.co.uk>
2462 * gst/gstpad.c: (gst_pad_load_and_link):
2463 * gst/gstutils.c: (gst_element_link_pads),
2464 (gst_element_unlink_pads):
2465 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
2466 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
2467 (gst_check_teardown_sink_pad),
2468 (gst_check_element_push_buffer_list):
2469 * tests/check/elements/fakesink.c: (GST_START_TEST):
2470 * tests/check/elements/filesink.c:
2471 * tests/check/elements/filesrc.c: (GST_START_TEST):
2472 * tests/check/elements/multiqueue.c: (setup_multiqueue),
2473 (mq_sinkpad_to_srcpad):
2474 * tests/check/elements/tee.c: (GST_START_TEST):
2475 * tests/check/generic/sinks.c: (GST_START_TEST):
2476 * tests/check/gst/gstbin.c: (GST_START_TEST):
2477 * tests/check/gst/gstevent.c: (GST_START_TEST):
2478 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
2479 * tests/check/gst/gstpipeline.c: (GST_START_TEST):
2480 * tests/check/gst/gstquery.c: (GST_START_TEST):
2481 * tests/check/gst/gstutils.c: (GST_START_TEST):
2482 * tests/check/libs/basesrc.c: (GST_START_TEST):
2483 * tests/check/pipelines/parse-launch.c: (run_delayed_test),
2484 (gst_parse_test_element_change_state):
2485 Don't use gst_element_get_pad().
2487 2008-05-21 Felipe Contreras <felipe.contreras@gmail.com>
2489 * docs/Makefile.am:
2490 Fix installing plugin documentation when gtk-doc is disabled.
2492 2008-05-21 Wim Taymans <wim.taymans@collabora.co.uk>
2494 * docs/manual/advanced-autoplugging.xml:
2495 * docs/manual/basics-helloworld.xml:
2496 * docs/manual/basics-pads.xml:
2497 * docs/manual/highlevel-components.xml:
2498 Avoid using a bad function in the example code.
2500 2008-05-21 Wim Taymans <wim.taymans@collabora.co.uk>
2502 * gst/gstclock.c: (gst_clock_set_calibration):
2503 Fix debug of the new clock rate.
2505 2008-05-21 Sebastian Dröge <slomo@circular-chaos.org>
2507 * win32/common/libgstbase.def:
2508 Add gst_base_sink_wait_clock() to the exported symbols.
2510 2008-05-20 Sebastian Dröge <slomo@circular-chaos.org>
2512 Patch by: Tim-Philipp Müller <tim.muller at collabora co uk>
2514 * libs/gst/base/gstbasetransform.c:
2515 (gst_base_transform_sink_event):
2516 Unref events that the GstBaseTransform::event vfunc didn't want to
2517 have forwarded by the base class. Closes a leak in identity.
2518 Fixes bug #446763.
2520 2008-05-19 Wim Taymans <wim.taymans@collabora.co.uk>
2522 * docs/libs/gstreamer-libs-sections.txt:
2523 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock):
2524 * libs/gst/base/gstbasesink.h:
2525 Expose a method that was previously used internally to synchronize
2526 against the clock because it can be useful for subclasses too.
2527 API: GstBaseSink::gst_base_sink_wait_clock()
2529 2008-05-19 Tim-Philipp Müller <tim.muller at collabora co uk>
2531 * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
2532 Add sanity check to make sure we don't get smaller buffers
2533 than requested (and fallback to normal buffer alloc if we do).
2535 2008-05-19 Wim Taymans <wim.taymans@collabora.co.uk>
2537 * libs/gst/base/gstbasesink.c: (gst_base_sink_adjust_time),
2538 (gst_base_sink_wait_clock), (gst_base_sink_wait_eos),
2539 (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked):
2540 Refactor adjusting the running_time with latency and offset into a
2541 separate method.
2542 When doing clipping, we still want to use the subclass get_times method,
2543 just in case the DURATION or TIMESTAMP are not set.
2545 2008-05-19 Tim-Philipp Müller <tim.muller at collabora co uk>
2547 * docs/gst/gstreamer-sections.txt:
2548 * gst/gsttypefind.c: (gst_type_find_suggest_simple):
2549 * gst/gsttypefind.h:
2550 * win32/common/libgstreamer.def:
2551 API: add gst_type_find_suggest_simple(), #533740.
2553 2008-05-19 Tim-Philipp Müller <tim.muller at collabora co uk>
2555 * libs/gst/base/gstbasesrc.c: (gst_base_src_start):
2556 Use right error code when typefinding fails, so we can use
2557 the default (translated) error messages.
2559 2008-05-19 Wim Taymans <wim.taymans@collabora.co.uk>
2561 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range),
2562 (gst_base_src_start):
2563 When the subclass did not set caps on outgoing buffers, configure the
2564 caps we negotiated on the source pad.
2565 When the typefind helper does not find caps, error out properly instead
2566 of doing things with NULL caps.
2568 2008-05-18 Tim-Philipp Müller <tim.muller at collabora co uk>
2570 * gst/gsttypefind.h:
2571 Tabs to spaces, oh yes!
2573 2008-05-18 Tim-Philipp Müller <tim.muller at collabora co uk>
2575 * tests/check/gst/gstcaps.c: (test_intersect2), (gst_caps_suite):
2576 Add David's and Benjamin's tests for array intersection to the
2577 unit test suite (#147931).
2579 2008-05-18 Tim-Philipp Müller <tim.muller at collabora co uk>
2581 * gst/gstevent.c:
2582 Document that gst_event_new_tag() and gst_event_new_navigation()
2583 take ownership of the taglist/structure passed to them. (#533635).
2585 2008-05-17 Jan Schmidt <jan.schmidt@sun.com>
2587 * docs/Makefile.am:
2588 Don't descend into the plugins dir if plugin docs building
2589 is disabled.
2591 * docs/README:
2592 Add a note about the new type:GTypeName syntax for the plugin
2593 documentation .types file.
2595 2008-05-17 Sebastian Dröge <slomo@circular-chaos.org>
2597 * gst/gstmessage.c: (gst_message_new_error),
2598 (gst_message_new_warning), (gst_message_new_info):
2599 * gst/gstmessage.h:
2600 Mark the debug string parameters as const. Fixes bug #533490.
2602 2008-05-16 Sebastian Dröge <slomo@circular-chaos.org>
2604 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek):
2605 Sort buffer cache list by end offsets. This makes sure that we don't
2606 stop to search for a cached buffer that contains the requested data
2607 too early.
2608 Also read a minimum of 4k bytes instead of 512 bytes as this is a bit
2609 more efficient. Fixes bug #459862.
2611 2008-05-14 Stefan Kost <ensonic@users.sf.net>
2613 * gst/gstinfo.c:
2614 Explain why we copy the list.
2616 * gst/gstpipeline.c:
2617 Improve docs.
2619 * gst/gstutils.c:
2620 Add one debug-log statement to help tracing probelms with linking pads.
2622 2008-05-12 Stefan Kost <ensonic@users.sf.net>
2624 * tests/check/gst/gstinfo.c:
2625 Add a test for removing the default log handler. Seems to fail under
2626 windows.
2628 2008-05-14 Wim Taymans <wim.taymans@collabora.co.uk>
2630 * gst/gstpad.c: (gst_pad_peer_accept_caps):
2631 Release pad lock before calling out to avoid a possible deadlock.
2633 2008-05-14 Wim Taymans <wim.taymans@collabora.co.uk>
2635 * gst/parse/grammar.y:
2636 Remove unneeded value unset.
2638 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
2639 Add unit test for de/serialization of caps.
2641 2008-05-13 Sebastian Dröge <slomo@circular-chaos.org>
2643 * plugins/elements/gstfakesink.c:
2644 (marshal_VOID__MINIOBJECT_OBJECT), (gst_fake_sink_class_init):
2645 * plugins/elements/gstfakesrc.c: (marshal_VOID__MINIOBJECT_OBJECT),
2646 (gst_fake_src_class_init):
2647 Use custom marshalers that take GstMiniObject as first parameter.
2648 Using OBJECT as parameter while a GstMiniObject is given will lead
2649 to assertions if built with G_ENABLE_DEBUG. Fixes bug #525532.
2651 2008-05-13 Sebastian Dröge <slomo@circular-chaos.org>
2653 * plugins/elements/gsttypefindelement.c:
2654 (gst_type_find_element_handle_event),
2655 (gst_type_find_element_send_cached_events),
2656 (gst_type_find_element_change_state):
2657 Clean up on FLUSH_STOP and not FLUSH_START. Forward both events
2658 immediately.
2660 2008-05-13 Sebastian Dröge <slomo@circular-chaos.org>
2662 * plugins/elements/gsttypefindelement.c:
2663 (gst_type_find_handle_src_query), (stop_typefinding),
2664 (gst_type_find_element_handle_event),
2665 (gst_type_find_element_send_cached_events),
2666 (gst_type_find_element_change_state):
2667 Forward FLUSH_START events immediately and clean up instead of
2668 caching them.
2670 2008-05-13 Sebastian Dröge <slomo@circular-chaos.org>
2672 Patch by: Sjoerd Simons <sjoerd at luon dot net>
2674 * libs/gst/base/gstbasetransform.c:
2675 (gst_base_transform_buffer_alloc):
2676 Check the caps of the buffer returned by gst_pad_alloc_buffer() and
2677 fall back to default negotiation in the chain function if the caps
2678 are different from what was requested. Fixes bug #526768.
2680 2008-05-09 Tim-Philipp Müller <tim.muller at collabora co uk>
2682 * gst/gstsegment.c:
2683 * tests/check/gst/gstsegment.c:
2684 No, let's not use g_slice_{dup|copy} here, since they only exist
2685 since GLib 2.14 and we still depend only on >= 2.12. Also add
2686 unit test for gst_segment_copy().
2688 2008-05-09 Tim-Philipp Müller <tim.muller at collabora co uk>
2690 * gst/gstutils.h: (GST_BOILERPLATE_FULL):
2691 Try to fix 'dereferencing type-punned pointer will break strict
2692 aliasing rules' warnings with C++ compilers and GLib >= 2.14.0: GLib
2693 changed the default GType typedef from gulong to gsize at some point,
2694 but kept GType typedef'ed to gulong for C++ for ABI reasons; the
2695 g_once_* functions all take a gsize * though, so work around the type
2696 mismatch for C++ by doing everything in gsize and casting to GType
2697 later.
2699 2008-05-09 Jan Schmidt <jan.schmidt@sun.com>
2701 * plugins/elements/gstmultiqueue.c:
2702 Add documentation for the signals to push our core plugin docs
2703 coverage back up to 100%.
2705 2008-05-08 Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
2707 * gst/gstinfo.h (GST_FUNCTION):
2708 Reverted GST_FUNCTION to the old version as we don't want the
2709 full signature in C++ code. Also added support for MSVC.
2711 2008-05-08 Sebastian Dröge <slomo@circular-chaos.org>
2713 * gst/gstutils.h:
2714 Intern the type name string, similar to what G_DEFINE_TYPE does.
2716 2008-05-08 Sebastian Dröge <slomo@circular-chaos.org>
2718 * gst/gstutils.h:
2719 Make GST_BOILERPLATE thread-safe if building with GLib 2.14 or newer.
2721 2008-05-08 Sebastian Dröge <slomo@circular-chaos.org>
2723 Based on a patch by: Sjoerd Simons <sjoerd at luon dot net>
2725 * libs/gst/base/gstbasetransform.c:
2726 (gst_base_transform_buffer_alloc):
2727 Don't passthrough buffer allocation too easily if the caps change.
2728 This breaks when working in passthrough mode and upstream changes
2729 it's caps. Fixes bug #526768.
2731 2008-05-07 Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
2733 * gst/gstinfo.c (gst_debug_log_valist):
2734 Improved the __FILE__ part of debug output for MSVC.
2736 2008-05-07 Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
2738 * libs/gst/base/gstbasesrc.c (gst_base_src_default_query):
2739 Declaration after statement fix for compilers like MSVC.
2741 2008-05-07 Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
2743 * win32/common/config.h.in:
2744 Don't define GST_FUNCTION, if GLib supports MSVC we'd much rather
2745 use the real thing than having "???" unconditionally.
2747 2008-05-07 Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
2749 * gst/gstinfo.h (GST_FUNCTION):
2750 Made GST_FUNCTION an alias for G_STRFUNC to avoid duplication.
2752 2008-05-07 Wim Taymans <wim.taymans@collabora.co.uk>
2754 * libs/gst/base/gstadapter.c: (gst_adapter_available_fast):
2755 Small code cleanup.
2757 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
2758 (gst_base_sink_set_flushing):
2759 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
2760 Fix some comments.
2762 2008-05-07 Wim Taymans <wim.taymans@collabora.co.uk>
2764 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
2765 (gst_fake_src_init), (gst_fake_src_set_property),
2766 (gst_fake_src_get_property), (gst_fake_src_start):
2767 * plugins/elements/gstfakesrc.h:
2768 Added format property to control the format of the newsegment events.
2769 API: GstFakeSrc:format
2771 2008-05-06 Sebastian Dröge <slomo@circular-chaos.org>
2773 * win32/common/libgstreamer.def:
2774 Add gst_pad_has_name() to the exported symbols.
2776 2008-05-06 Sebastian Dröge <slomo@circular-chaos.org>
2778 * gst/gstpad.c: (gst_pad_alloc_buffer_full):
2779 * libs/gst/base/gstbasetransform.c:
2780 (gst_base_transform_prepare_output_buffer):
2781 Don't allow negative sizes when allocating new buffers.
2782 Fixes bug #461253.
2784 2008-05-05 Tim-Philipp Müller <tim.muller at collabora co uk>
2786 Patch by: Sjoerd Simons <sjoerd at luon net>
2788 * gst/gstbus.c: (gst_bus_source_dispatch):
2789 Don't print a warning if the queue is empty when we try to pop
2790 here. That could happen if another thread or callback set the
2791 bus to flushing between the source's check/prepare and the
2792 dispatch being called (#531538).
2794 2008-05-05 Tim-Philipp Müller <tim.muller at collabora co uk>
2796 * plugins/elements/gstmultiqueue.c:
2797 Small docs fix.
2799 2008-05-05 Sebastian Dröge <slomo@circular-chaos.org>
2801 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
2802 Add unit test for deserializing uint64s and check some really large
2803 numbers in the int64 test.
2805 2008-05-04 Sebastian Dröge <slomo@circular-chaos.org>
2807 * tools/gst-inspect.c: (n_print), (print_hierarchy),
2808 (print_interfaces), (print_element_properties_info),
2809 (print_signal_info):
2810 Use "%s" as format string instead of printing strings directly.
2812 2008-05-04 Sebastian Dröge <slomo@circular-chaos.org>
2814 * gst/gstclock.c: (gst_clock_set_calibration):
2815 Make some checks actually useful.
2817 * gst/gstregistrybinary.c: (gst_registry_binary_load_plugin):
2818 Remove some unused code. Unsigned integers tend to be >= 0.
2820 2008-05-03 Tim-Philipp Müller <tim.muller at collabora co uk>
2822 * gst/gstminiobject.c: (gst_value_get_mini_object):
2823 Fix 'Since:' version in gst_value_dup_mini_object() docs blurb: this
2824 function was not in the unscheduled 0.10.19 release.
2826 2008-05-03 Tim-Philipp Müller <tim.muller at collabora co uk>
2828 * gst/gstregistry.c: (gst_registry_scan_path_level):
2829 Only print one log message per non-plugin file.
2831 2008-05-03 Tim-Philipp Müller <tim.muller at collabora co uk>
2833 * gst/gstinfo.c: (gst_debug_log_default):
2834 Fix alignment of debug log columns on 64-bit.
2836 2008-05-03 Tim-Philipp Müller <tim.muller at collabora co uk>
2838 * docs/libs/Makefile.am:
2839 * docs/libs/gstreamer-libs-sections.txt:
2840 Ignore private controller headers for docs.
2842 2008-05-03 Sebastian Dröge <slomo@circular-chaos.org>
2844 * libs/gst/controller/gstcontrollerprivate.h:
2845 * libs/gst/controller/gsthelper.c:
2846 * libs/gst/controller/gstinterpolation.c:
2847 * libs/gst/controller/gstinterpolationcontrolsource.c:
2848 (gst_interpolation_control_source_set_interpolation_mode):
2849 * libs/gst/controller/gstinterpolationcontrolsourceprivate.h:
2850 * libs/gst/controller/lib.c:
2851 Move some private declarations into private headers.
2853 2008-05-02 Sebastian Dröge <slomo@circular-chaos.org>
2855 * gst/gstdebugutils.c: (debug_dump_element_pad):
2856 Remove some code that is unused after Stefan's refactoring and uses
2857 uninitialized variables now, resulting in a compiler warning.
2859 2008-05-01 Tim-Philipp Müller <tim.muller at collabora co uk>
2861 * gst/gstregistry.c: (gst_registry_scan_path_level):
2862 Run g_str_has_suffix() only on the file name, not the
2863 entire file path.
2865 2008-04-30 Tim-Philipp Müller <tim.muller at collabora co uk>
2867 * plugins/elements/gstqueue.c: (gst_queue_leak_downstream):
2868 Since we're not called only from the chain function any longer,
2869 we can't assume that there's always data in the queue, so move
2870 the is_full check to the beginning of the loop (otherwise we'd
2871 hit the assert when changing the limit properties while the
2872 queue is empty or not running yet).
2873 Also, only set a discont if items were actually removed from
2874 the queue.
2876 * tests/check/elements/queue.c: (test_leaky_downstream):
2877 Test case for the above.
2879 2008-04-30 Wim Taymans <wim.taymans@collabora.co.uk>
2881 Patch by: Jonas Holmberg <jonas dot holmberg at axis dot com>
2883 * plugins/elements/gstqueue.c: (gst_queue_leak_downstream),
2884 (gst_queue_chain), (queue_capacity_change),
2885 (gst_queue_set_property):
2886 When changing thr max capacity of a leaky queue, immediatly drop buffers
2887 instead of waiting for a push on the sinkpad. Fixes #530637.
2889 2008-04-30 Stefan Kost <ensonic@users.sf.net>
2891 * gst/gstdebugutils.c:
2892 Refactor code and fix handling of ghostpads and their proxypads.
2894 2008-04-29 Wim Taymans <wim.taymans@collabora.co.uk>
2896 * docs/gst/gstreamer-sections.txt:
2897 * gst/gstevent.c: (gst_event_has_name):
2898 * gst/gstevent.h:
2899 * tests/check/gst/gstevent.c: (GST_START_TEST):
2900 Add method to conveniently check the name of a custom event with
2901 gst_event_has_name().
2902 Reformat the event docs so that related methods are put together instead
2903 of the default alphabetical sort.
2904 Update unit test with new method.
2905 API: GstEvent::gst_event_has_name()
2907 2008-04-28 Michael Smith <msmith@songbirdnest.com>
2909 * libs/gst/check/Makefile.am:
2910 Don't add an explicit link to libgstreamer-0.10.la; it's already
2911 included in GST_OBJ_LIBS.
2913 2008-04-28 Sebastian Dröge <slomo@circular-chaos.org>
2915 * gst/gst.c:
2916 Register GstClock type from a type-safe context. Fixes bug #530317.
2918 2008-04-25 Michael Smith <msmith@songbirdnest.com>
2920 Patch by Edward Hervey <edward.hervey@collabora.co.uk>
2921 * tools/gst-run.c:
2922 Include <unistd.h> conditionally on HAVE_UNISTD_H as elsewhere.
2924 2008-04-25 Wim Taymans <wim.taymans@collabora.co.uk>
2926 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
2927 (gst_bin_dispose):
2928 Use the GLib stuff to create a private structure.
2929 Add some locking around some dispose methods to make them a little
2930 safer, see #529723. Patch by: Antoine Tremblay <hexa00 at gmail dot com>
2932 2008-04-25 Stefan Kost <ensonic@users.sf.net>
2934 * libs/gst/base/gstbasesink.h:
2935 * libs/gst/base/gstbasesrc.h:
2936 * libs/gst/base/gstbasetransform.h:
2937 * libs/gst/base/gstcollectpads.h:
2938 Fix doc typos and unify caps a bit.
2940 2008-04-25 Stefan Kost <ensonic@users.sf.net>
2942 * tools/gst-launch.1.in:
2943 Forgot to also add the envvar docs here.
2945 2008-04-25 Tim-Philipp Müller <tim at centricular dot net>
2947 * gst/gst.c: (init_post), (gst_deinit):
2948 * tests/check/gst/gstpipeline.c: (GST_START_TEST), (pipeline_thread),
2949 (test_concurrent_create), (gst_pipeline_suite):
2950 Ref some more classes in gst_init() to work around thread-safety
2951 issues in pre-2.16 GLibs, and add basic unit test.
2953 2008-04-25 Wim Taymans <wim.taymans@collabora.co.uk>
2955 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
2956 (gst_base_sink_send_event):
2957 Rearrange the latency query code. We always want to do the upstream
2958 query, even if we are not live so that the upstream elements can get the
2959 latency results too. If we fail doing the query and we are live, we
2960 return TRUE afterwards.
2962 2008-04-24 Stefan Kost <ensonic@users.sf.net>
2964 patch by: Jason Zhao <e3423c@motorola.com>
2966 * docs/gst/running.xml:
2967 * gst/gst.c:
2968 Enable/disable scan_and_update_registry() based on commandline switch
2969 or environment variable. Fixes #520468.
2971 * ChangeLog:
2972 Fix typo in my previous commit.
2974 2008-04-24 Stefan Kost <ensonic@users.sf.net>
2976 * gst/gstregistrybinary.c:
2977 Add a warning if we hit unhandled factories when saving.
2978 More debug logging detail, but move to LOG category.
2980 2008-04-24 Stefan Kost <ensonic@users.sf.net>
2982 * gst/gstregistry.c:
2983 Tell the *truth* when improving the documentation.
2985 2008-04-23 Sebastian Dröge <slomo@circular-chaos.org>
2987 * gst/gstelementfactory.c: (gst_element_factory_make):
2988 Unref the factory after it was used the last time, not before.
2990 * gst/gstindexfactory.c: (gst_index_factory_make):
2991 Improve debugging a bit and don't leak a ref to the index factory with
2992 each call.
2994 2008-04-23 Stefan Kost <ensonic@users.sf.net>
2996 * gst/gstregistry.c:
2997 Improve the documentation.
2999 2008-04-23 Stefan Kost <ensonic@users.sf.net>
3001 * gst/gstsegment.c:
3002 The glib macro seems to be borked. Use g_slice_copy directly and cast
3003 in the hope that this fixes the warning on 64bit.
3005 2008-04-23 Stefan Kost <ensonic@users.sf.net>
3007 * gst/gstsegment.c:
3008 Document the new function. Use g_slice_dup() (no need for
3009 gst_segment_init()).
3011 2008-04-23 Stefan Kost <ensonic@users.sf.net>
3013 * docs/gst/gstreamer-sections.txt:
3014 Move GParamSepc macros to standart section.
3016 * gst/gstbin.c:
3017 Dn't document _get_type - its in private section in docs anyway and
3018 this doc-blob was incomplete.
3020 * gst/gstclock.h:
3021 Fix wrong symbol names in docs.
3023 * gst/gstmacros.h:
3024 Add once doc sentence.
3026 * tests/check/gst/.cvsignore:
3027 Ignore more.
3029 2008-04-21 Stefan Kost <ensonic@users.sf.net>
3031 * docs/gst/Makefile.am:
3032 And remove those libs here.
3034 2008-04-21 Tim-Philipp Müller <tim at centricular dot net>
3036 * docs/libs/Makefile.am:
3037 Fix docs build again by adding libgstnet-0.10.so to SCANOBJ_DEPS.
3039 2008-04-21 Wim Taymans <wim.taymans@collabora.co.uk>
3041 Patch by: Olivier Crete <tester at tester dot ca>
3043 * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
3044 Add the min-threshold to the min latency if possible. Fixes #529148.
3046 2008-04-21 Stefan Kost <ensonic@users.sf.net>
3048 * docs/gst/gstreamer.types.in:
3049 Stupid editor, I removed that line as it should go in yet.
3051 2008-04-21 Stefan Kost <ensonic@users.sf.net>
3053 * docs/gst/gstreamer.types.in:
3054 * docs/libs/gstreamer-libs.types:
3055 Remove library types fro core docs and have them in libs docs.
3056 Reformat and cleanup. Add comment for miniobject types.
3058 2008-04-20 Tim-Philipp Müller <tim at centricular dot net>
3060 * gst/gsturi.c: (gst_uri_get_protocol):
3061 Fix leak: g_strdown operates on the string in place, while
3062 g_ascii_strdown() returns a newly-allocated string.
3064 2008-04-20 Sebastian Dröge <slomo@circular-chaos.org>
3066 * tools/gst-inspect.c: (print_uri_handler_info),
3067 (print_element_info):
3068 Print the URI protocols and the URI type supported by the element.
3070 2008-04-19 Sebastian Dröge <slomo@circular-chaos.org>
3072 * gst/gsttaglist.c: (gst_tag_merge_strings_with_comma):
3073 Use g_value_take_string() instead of the deprecated
3074 g_value_set_string_take_ownership().
3076 2008-04-19 Sebastian Dröge <slomo@circular-chaos.org>
3078 * gst/gstregistrybinary.c: (_gst_crc32):
3079 Return the old CRC instead of 0 if we give a NULL buffer
3080 or a buffer with a length of 0.
3082 2008-04-19 Sebastian Dröge <slomo@circular-chaos.org>
3084 * gst/gsturi.c: (gst_uri_protocol_check_internal),
3085 (gst_uri_get_protocol), (gst_uri_has_protocol),
3086 (gst_uri_construct), (gst_uri_handler_set_uri):
3087 A valid URI scheme can also include '+', '-' and '.' additional
3088 to alphanumeric characters as per RFC 3986 Section 3.1.
3090 Handle URI schemes case insensitive in all places and convert
3091 to lower-case when constructing an URI or setting an URI with
3092 the GstURIHandler interface. Fixes bug #528868.
3093 All elements can still assume (as before) that they will
3094 get passed URIs with a lower-case URI scheme by the GstURIHandler
3095 interface.
3097 2008-04-17 Tim-Philipp Müller <tim at centricular dot net>
3099 * gst/gstcaps.c: (gst_static_caps_get):
3100 * gst/gstclock.c: (gst_clock_entry_new):
3101 Don't use g_atomic_set_int where it's not needed.
3103 2008-04-17 Wim Taymans <wim.taymans@collabora.co.uk>
3105 * gst/gstvalue.c: (gst_value_deserialize_caps):
3106 * gst/parse/grammar.y:
3107 Fix 2 caps leaks.
3109 2008-04-17 Sebastian Dröge <slomo@circular-chaos.org>
3111 * gst/gstutils.c: (gst_atomic_int_set):
3112 Use g_atomic_int_set() here too instead of assignment +
3113 g_atomic_int_get().
3115 2008-04-17 Sebastian Dröge <slomo@circular-chaos.org>
3117 * gst/gstutils.c:
3118 * gst/gstutils.h:
3119 API: Deprecate gst_atomic_int_set(), g_atomic_int_set() should be used
3120 now that we depend on new enough GLib.
3122 * gst/gstcaps.c: (gst_static_caps_get):
3123 * gst/gstclock.c: (gst_clock_entry_new):
3124 * gst/gstinfo.c: (_gst_debug_init), (gst_debug_set_colored),
3125 (gst_debug_set_default_threshold), (_gst_debug_category_new),
3126 (gst_debug_category_set_threshold):
3127 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
3128 (gst_base_sink_set_qos_enabled):
3129 * libs/gst/net/gstnettimeprovider.c:
3130 (gst_net_time_provider_set_property):
3131 Use g_atomic_int_set() instead of gst_atomic_int_set().
3133 2008-04-16 Stefan Kost <ensonic@users.sf.net>
3135 * gst/gstquery.c:
3136 Also use G_GINT64_CONSTANT for the queries.
3138 2008-04-16 Stefan Kost <ensonic@users.sf.net>
3140 * gst/gstmessage.c:
3141 Use G_GINT64_CONSTANT in varargs function.
3143 2008-04-16 Sebastian Dröge <slomo@circular-chaos.org>
3145 * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic):
3146 Initialize the registry magic with zeroes.
3148 2008-04-16 Sebastian Dröge <slomo@circular-chaos.org>
3150 * gst/gstregistrybinary.c: (_gst_crc32),
3151 (gst_registry_binary_write),
3152 (gst_registry_binary_initialize_magic),
3153 (gst_registry_binary_write_cache),
3154 (gst_registry_binary_check_magic),
3155 (gst_registry_binary_read_cache):
3156 * gst/gstregistrybinary.h:
3157 Add crc32 checksum to the binary registry file and check this before
3158 accepting a registry file.
3160 Also free the data list when writing to the registry file fails.
3162 2008-04-16 Sebastian Dröge <slomo@circular-chaos.org>
3164 * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
3165 (gst_registry_binary_load_feature),
3166 (gst_registry_binary_load_plugin):
3167 If an element supports the Uri interface, returns a valid pointer
3168 to the supported URI protocols but this pointer contains nothing
3169 don't try to save that as it will corrupt the registry.
3171 Don't unref the plugin if we added it to the registry already but
3172 fail to load a feature as gst_registry_add_plugin() takes ownership
3173 of the plugin.
3175 Improve debugging a bit.
3177 2008-04-16 Stefan Kost <ensonic@users.sf.net>
3179 * gst/gsttaglist.h:
3180 Clarify some tag item docs after discussion on irc.
3182 2008-04-15 Stefan Kost <ensonic@users.sf.net>
3184 * docs/gst/gstreamer-docs.sgml:
3185 Remove commented out plugins (they have their own docs). Update
3186 comments.
3188 2008-04-15 Stefan Kost <ensonic@users.sf.net>
3190 * docs/gst/gstreamer-docs.sgml:
3191 * docs/gst/gstreamer-sections.txt:
3192 * gst/gstparamspecs.c:
3193 * gst/gstparamspecs.h:
3194 Add GST_PARAM_CONTROLLABLE and GST_PARAM_USER_SHIFT. Move paramspec
3195 docs to own section.
3197 * gst/gstvalue.c:
3198 This now only documents GValue.
3200 * docs/libs/gstreamer-libs-sections.txt:
3201 * libs/gst/controller/gstcontroller.h:
3202 Remove GST_PARAM_CONTROLLABLE.
3204 2008-04-15 Stefan Kost <ensonic@users.sf.net>
3206 * docs/README:
3207 Correct file path. Tell about how to use -overrides.txt.
3208 * docs/design/draft-tagreading.txt:
3209 Small design update.
3211 2008-04-14 Sebastian Dröge <slomo@circular-chaos.org>
3213 * gst/gstregistrybinary.c: (gst_registry_binary_load_feature),
3214 (gst_registry_binary_load_plugin):
3215 Fix a typo in a debug message and revert change from yesterday as
3216 gst_registry_add_plugin() will only fail if something is really wrong
3217 already and we can't survive it anyway.
3219 2008-04-14 Tim-Philipp Müller <tim at centricular dot net>
3221 * gst/gst.c: (init_post), (gst_deinit):
3222 Pre-register GstGError GType from a thread-safe context
3223 (fixes #527967); unref enum type classes in deinit.
3225 2008-04-13 Tim-Philipp Müller <tim at centricular dot net>
3227 Patch by: Rene Stadler <mail at renestadler de>
3229 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
3230 Merging an empty list with another list in KEEP_ALL mode should
3231 yield an empty list as result and not the second list (#512578).
3233 * tests/check/gst/gsttagsetter.c:
3234 Add unit test for tag merge modes and the aforementioned bug.
3236 2008-04-13 Tim-Philipp Müller <tim at centricular dot net>
3238 Patch by: Rene Stadler <mail at renestadler de>
3240 * gst/gsttaglist.h:
3241 Fix description to match the order in the table (#512577).
3243 2008-04-13 Tim-Philipp Müller <tim at centricular dot net>
3245 Patch by: Kwang Yul Seo <kwangyul.seo gmail com>
3247 * libs/gst/net/gstnettimepacket.h:
3248 * docs/libs/gstreamer-libs-sections.txt:
3249 Define socklen_t as int if it's not defined yet. Fixes compilation
3250 with MSVC6 and other versions where socklen_t is not defined in
3251 the windows headers (#518022).
3253 2008-04-13 Sebastian Dröge <slomo@circular-chaos.org>
3255 * gst/gstregistrybinary.c: (gst_registry_binary_load_plugin):
3256 If gst_registry_add_plugin() fails our reference to the plugin is
3257 invalid so don't try to use it anymore and instead error out.
3259 2008-04-12 Tim-Philipp Müller <tim at centricular dot net>
3261 * tools/gst-xmlinspect.c: (print_element_info), (main):
3262 De-cruft a bit. If no argument is specified, print all elements in
3263 XML syntax rather than a freestyle list of elements like gst-inspect.
3264 Also, don't print XML header chunk unless we actually have something
3265 to print (ie. don't print it before an error message); print error
3266 message to stderr not stdout. Remove support for printing plugin
3267 info (it would just output something freestyle along the lines of
3268 gst-inspect so far), which fixes #514507. Also add license header.
3270 2008-04-11 Julien Moutte <julien@fluendo.com>
3272 Mac OS X love...
3273 * configure.ac: Merge platform specific defines, introduce a new
3274 define on OS X to remember that forking when updating registry is
3275 unsafe.
3276 * docs/faq/gst-uninstalled: Updated to include gst-libs in the bad
3277 module.
3278 * gst/gst.c: Don't fork when updating registry if GST_HAVE_UNSAFE_FORK
3279 is defined.
3280 * gst/gstregistry.c: (gst_registry_scan_path_level): Fixed a bogus
3281 condition that leads to absolutely no plugins being registered on
3282 OS X.
3284 2008-04-10 Tim-Philipp Müller <tim at centricular dot net>
3286 Based on patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
3288 * gst/gstutils.c: (gst_pad_add_data_probe),
3289 (gst_pad_add_data_probe_full), (gst_pad_add_event_probe),
3290 (gst_pad_add_event_probe_full), (gst_pad_add_buffer_probe),
3291 (gst_pad_add_buffer_probe_full):
3292 * gst/gstutils.h:
3293 * docs/gst/gstreamer-sections.txt:
3294 * win32/common/libgstreamer.def:
3295 Add gst_pad_add_*_probe_full() functions with a notify callback that
3296 lets the caller free the data it passes to the probe functions. This
3297 is useful for bindings such as gst-python or gstreamermm (#526814).
3298 API: gst_pad_add_data_probe_full
3299 API: gst_pad_add_buffer_probe_full
3300 API: gst_pad_add_event_probe_full
3302 * tests/check/gst/gstutils.c:
3303 Add minimal unit test to make sure freeing the data actually works
3304 as expected.
3306 * tests/benchmarks/.cvsignore:
3307 Random cvsignore addendum.
3309 2008-04-10 Tim-Philipp Müller <tim at centricular dot net>
3311 * gst/gstdebugutils.h: (GST_DEBUG_BIN_TO_DOT_FILE_WITH_TS),
3312 (GST_DEBUG_BIN_TO_DOT_FILE):
3313 Mention GstDebugGraphDetails enum type in doc blurb so we get a link
3314 to it in the docs (since these are macros the types of the arguments
3315 won't be shown in the docs otherwise).
3317 2008-04-10 Stefan Kost <ensonic@users.sf.net>
3319 * gst/gstpad.c:
3320 Do not abort on out of memory for pad_alloc_buffer.
3322 2008-04-10 Stefan Kost <ensonic@users.sf.net>
3324 * libs/gst/check/gstcheck.c:
3325 Remove blank line between symbol name ad parameters to fix gtkdoc
3326 warning.
3328 2008-04-09 Tim-Philipp Müller <tim at centricular dot net>
3330 Patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
3332 * docs/gst/gstreamer-sections.txt:
3333 * gst/gstsegment.c:
3334 * gst/gstsegment.h:
3335 * win32/common/libgstreamer.def:
3336 Expose gst_segment_copy() to make things easier for the c++ bindings.
3337 Fixes #518932.
3338 API: gst_segment_copy()
3340 2008-04-09 Tim-Philipp Müller <tim at centricular dot net>
3342 * gst/gst.c: (gst_init_get_option_group), (init_post):
3343 Fix const position; ref GType classes for enum types to work
3344 around thread-safety issues in GLib versions < 2.16.
3346 2008-04-09 Wim Taymans <wim.taymans@collabora.co.uk>
3348 * docs/design/part-buffering.txt:
3349 Fix some typos and set the estimated total for push mode to -1.
3351 * gst/gstquery.c: (gst_query_new_buffering):
3352 Set buffering-left to 0 as we're not buffering by default.
3354 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
3355 Implement BUFFERING query.
3357 2008-04-09 Tim-Philipp Müller <tim at centricular dot net>
3359 Based on patch by: Milosz Derezynski <internalerror gmail com>
3361 * gst/gsterror.c: (_gst_stream_errors_init):
3362 * gst/gsterror.h:
3363 Add two new error codes for encrypted content. Fixes #524659.
3364 API: GST_STREAM_ERROR_DECRYPT
3365 API: GST_STREAM_ERROR_DECRYPT_NOKEY
3367 2008-04-09 Tim-Philipp Müller <tim at centricular dot net>
3369 * gst/gstquery.h:
3370 Fix typo.
3372 * win32/common/libgstreamer.def:
3373 Add new functions.
3375 2008-04-09 Sebastian Dröge <slomo@circular-chaos.org>
3377 * plugins/elements/gstidentity.c: (gst_identity_event),
3378 (gst_identity_start):
3379 Fix imperfect timestamp/offset checks when we get another NEWSEGMENT
3380 event after processing some data. Fixes bug #526042.
3382 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
3384 * docs/gst/gstreamer-sections.txt:
3385 * gst/gstquery.c: (gst_query_parse_latency),
3386 (gst_query_set_buffering_percent),
3387 (gst_query_parse_buffering_percent),
3388 (gst_query_set_buffering_range), (gst_query_parse_buffering_range):
3389 * gst/gstquery.h:
3390 Rename _avail -> _range
3391 API: gst_query_set_buffering_range
3392 API: gst_query_parse_buffering_range
3394 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
3396 * docs/design/part-buffering.txt:
3397 * gst/gstquark.c:
3398 * gst/gstquark.h:
3399 * gst/gstquery.c: (gst_query_parse_latency),
3400 (gst_query_new_buffering), (gst_query_set_buffering_percent),
3401 (gst_query_parse_buffering_percent):
3402 * gst/gstquery.h:
3403 Add busy field and quark for the buffering query so that the app can
3404 only use the query to see if buffering is in progress.
3406 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
3408 * docs/gst/gstreamer-sections.txt:
3409 * gst/gstmessage.c: (gst_message_set_buffering_stats),
3410 (gst_message_parse_buffering_stats):
3411 * gst/gstmessage.h:
3412 * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
3413 (gst_query_parse_latency), (gst_query_new_buffering),
3414 (gst_query_set_buffering_percent),
3415 (gst_query_parse_buffering_percent),
3416 (gst_query_set_buffering_stats), (gst_query_parse_buffering_stats),
3417 (gst_query_set_buffering_avail), (gst_query_parse_buffering_avail):
3418 * gst/gstquery.h:
3419 Reorder the message docs and headers for clarity.
3420 Add aditional buffering stats API for messages.
3421 Add buffering query.
3422 Convert some leftover queries to use GstQuark.
3423 API: gst_message_set_buffering_stats
3424 API: gst_message_parse_buffering_stats
3425 API: GST_QUERY_BUFFERING
3426 API: GstBufferingMode
3427 API: gst_query_new_buffering
3428 API: gst_query_set_buffering_percent
3429 API: gst_query_parse_buffering_percent
3430 API: gst_query_set_buffering_stats
3431 API: gst_query_parse_buffering_stats
3433 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
3435 * gst/gstmessage.c: (gst_message_new_error),
3436 (gst_message_new_warning), (gst_message_new_info),
3437 (gst_message_new_buffering), (gst_message_new_state_changed),
3438 (gst_message_new_clock_provide), (gst_message_new_clock_lost),
3439 (gst_message_new_new_clock), (gst_message_new_segment_start),
3440 (gst_message_new_segment_done), (gst_message_new_duration),
3441 (gst_message_new_async_start), (gst_message_parse_buffering),
3442 (gst_message_parse_state_changed),
3443 (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
3444 (gst_message_parse_new_clock), (gst_message_parse_error),
3445 (gst_message_parse_warning), (gst_message_parse_info),
3446 (gst_message_parse_segment_start),
3447 (gst_message_parse_segment_done), (gst_message_parse_duration),
3448 (gst_message_parse_async_start):
3449 Use GstQuark for messages.
3451 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
3453 * gst/gstquark.c: (_priv_gst_quarks_initialize):
3454 * gst/gstquark.h:
3455 Add some more quarks needed for messages and queries.
3457 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
3459 * docs/design/part-buffering.txt:
3460 Remove the "none" buffering mode, STREAM is a good default.
3461 Move estimated-time to the avail query, that's when it will be needed.
3462 Other small typo fixes and updates.
3464 2008-04-07 Tim-Philipp Müller <tim at centricular dot net>
3466 * gst/gstindex.c: (gst_index_resolver_get_type):
3467 Don't put descriptions into the nick field of a GEnumValue: it's not
3468 meant for that and some language bindings rely on the nick field to
3469 construct constants and the like. Fixes #526705.
3471 2008-04-07 Tim-Philipp Müller <tim at centricular dot net>
3473 * NEWS:
3474 * RELEASE:
3475 * gstreamer.doap:
3476 Merge other changes from 0.10.19 release branch.
3478 2008-04-06 Sebastian Dröge <slomo@circular-chaos.org>
3480 Patch by: Damien Lespiau <damien dot lespiau at gmail dot com>
3482 * configure.ac:
3483 Actually build dlls when cross-compiling with mingw32.
3484 Fixes bug #526247.
3486 2008-04-05 Sebastian Dröge <slomo@circular-chaos.org>
3488 Patch by: Damien Lespiau <damien dot lespiau at gmail dot com>
3490 * gst/gstpoll.c:
3491 Fix compilation of GstPoll with mingw32. Fixes bug #526236.
3493 2008-04-04 Wim Taymans <wim.taymans@collabora.co.uk>
3495 * docs/design/draft-latency.txt:
3496 Fix typo.
3498 * docs/design/part-buffering.txt:
3499 Update design docs with more buffering ideas.
3501 2008-04-03 Tim-Philipp Müller <tim at centricular dot net>
3503 * configure.ac:
3504 Bump version to 0.10.19.1 after the unscheduled 0.10.19 release.
3506 2008-04-03 Stefan Kost <ensonic@users.sf.net>
3508 * configure.ac:
3509 Revert part that belongs to the preset patch.
3511 2008-04-03 Stefan Kost <ensonic@users.sf.net>
3513 * configure.ac:
3514 Add qoutes to the define. Fixes # 525961.
3516 2008-04-03 Sebastian Dröge <slomo@circular-chaos.org>
3518 * plugins/indexers/gstfileindex.c: (_file_index_id_free),
3519 (gst_file_index_load), (gst_file_index_add_id),
3520 (gst_file_index_get_assoc_entry):
3521 * plugins/indexers/gstmemindex.c: (gst_mem_index_free_format),
3522 (gst_mem_index_free_id), (gst_mem_index_add_id),
3523 (gst_mem_index_index_format):
3524 Use GSlice when possible.
3526 2008-04-02 Sebastian Dröge <slomo@circular-chaos.org>
3528 * libs/gst/controller/gstinterpolationcontrolsource.c:
3529 (gst_control_point_free),
3530 (gst_interpolation_control_source_set_internal):
3531 Use GSlice for allocating the control points.
3533 2008-04-02 Wim Taymans <wim.taymans@collabora.co.uk>
3535 * plugins/elements/gsttypefindelement.c:
3536 (gst_type_find_element_class_init),
3537 (gst_type_find_element_set_property),
3538 (gst_type_find_element_get_property),
3539 (gst_type_find_element_activate):
3540 * plugins/elements/gsttypefindelement.h:
3541 Cleanup properties.
3542 Fix pad leak when peer query fails.
3543 We can still typefind when the peer returns -1.
3544 Add property to force caps and bypass typefinding. This will be used in
3545 uridecodebin.
3546 API::force-caps
3548 2008-04-01 Sebastian Dröge <slomo@circular-chaos.org>
3550 * configure.ac:
3551 Require GLib 2.12.
3553 * gst/glib-compat-private.h:
3554 * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free):
3555 * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
3556 Unconditionally use GSlice for allocation.
3558 * gst/gstpoll.c: (gst_poll_new), (gst_poll_free):
3559 * gst/gstsegment.c: (gst_segment_new), (gst_segment_free):
3560 * gst/gststructure.c: (gst_structure_id_empty_new_with_size),
3561 (gst_structure_free):
3562 Use GSlice for allocation.
3564 2008-04-01 Sebastian Dröge <slomo@circular-chaos.org>
3566 * gst/parse/Makefile.am:
3567 * gst/parse/grammar.tab.pre.c:
3568 * gst/parse/grammar.tab.pre.h:
3569 * gst/parse/lex._gst_parse_yy.pre.c:
3570 Require a new enough flex and bison and remove the parser hacks to use
3571 a pre-regenerated version.
3573 2008-04-01 Julien Moutte <julien@fluendo.com>
3575 patch by: Jason Zhao <E3423C@motorola.com>
3577 * configure.ac: Add a configure switch to disable option parsing
3578 in gst_init.
3579 Fixes #522882.
3581 2008-03-31 Stefan Kost <ensonic@users.sf.net>
3583 * configure.ac:
3584 * gst/gstregistry.c:
3585 MacOS has plugins under .so or under .dylib. Add detection for MacOS
3586 and handle this case.
3588 * gst/gst.c:
3589 Add a comment here describing, why we stat each plugin and not try to
3590 be smart.
3592 2008-03-31 Sebastian Dröge <slomo@circular-chaos.org>
3594 * libs/gst/base/gstbasetransform.c:
3595 (gst_base_transform_prepare_output_buffer):
3596 Also unset the GAP flag on buffers if we're working inplace but
3597 the element is not GAP-aware.
3599 Mark a comment as FIXME 0.11.
3601 2008-03-31 Stefan Kost <ensonic@users.sf.net>
3603 * gst/gst.c:
3604 Fix type in log message and add one to ease seeing how long registry
3605 cache verification takes.
3607 * gst/gstregistry.c:
3608 Only test plugin filenames against G_MODULE_SUFFIX.
3610 2008-03-31 Stefan Kost <ensonic@users.sf.net>
3612 * gst/gstdebugutils.c:
3613 Improve handling ghost/proxy pads.
3615 2008-03-27 Stefan Kost <ensonic@users.sf.net>
3617 * docs/gst/gstreamer-sections.txt:
3618 * gst/gstpad.c:
3619 * gst/gstpad.h:
3620 Expose macro to docs and fix link to it.
3622 2008-03-27 Michael Smith <msmith@fluendo.com>
3624 * libs/gst/dataprotocol/dataprotocol.c:
3625 (gst_dp_packet_from_event_1_0):
3626 When calculating GDP body CRC, use the correct pointer.
3627 Fixes part of #522401.
3629 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
3631 Patch by: Mark Nauwelaerts <manauw at skynet be>
3633 * plugins/elements/gstidentity.c: (gst_identity_class_init),
3634 (gst_identity_init), (gst_identity_prepare_output_buffer):
3635 Identity is not always a passthrough element, it can modify the buffer
3636 timestamps when it has a datarate and operates in single-segment mode.
3637 We therefore make it an in_place filter with a custom buffer prepare
3638 function that conditionally makes the input buffer metadata writable
3639 when needed. Fixes #523985.
3641 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
3643 Patch by: Mark Nauwelaerts <manauw at skynet be>
3645 * gst/gstclock.h:
3646 * libs/gst/base/gstbasesrc.h:
3647 * libs/gst/base/gstbasetransform.c:
3648 * libs/gst/check/gstcheck.c:
3649 Small documentation fixes. Fixes #523978.
3651 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
3653 * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
3654 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
3655 Also retry our poll_wait when we get EAGAIN. Fixes #524041.
3657 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
3659 * plugins/elements/gstmultiqueue.c: (single_queue_overrun_cb),
3660 (single_queue_underrun_cb):
3661 When trying to make room in the queue, bump the max allowed buffers
3662 bigger than the current amount of buffers in the queue. this fixes some
3663 nasty deadlocks in multiqueue when dynamically changing the limits of
3664 the queue.
3666 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
3668 Patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
3670 * gst/gstcaps.c: (gst_caps_set_simple),
3671 (gst_caps_set_simple_valist), (gst_caps_intersect):
3672 * gst/gstcaps.h:
3673 Constify the field gchar * params in set_simple and friends.
3674 Fixes #522326.
3676 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
3678 * gst/gstvalue.c: (gst_value_transform_object_string):
3679 Transform a GstObject to a more meaningfull string that includes the
3680 object type in addition to its name.
3682 2008-03-23 Stefan Kost <ensonic@users.sf.net>
3684 * ChangeLog:
3685 ChangeLog surgery to add bugnumber to commit.
3687 2008-03-23 Rene Stadler <mail@renestadler.de>
3689 * libs/gst/base/gstbasetransform.c:
3690 (gst_base_transform_set_gap_aware): Fix confusing documentation.
3692 2008-03-23 Sebastian Dröge <slomo@circular-chaos.org>
3694 * gst/gstregistrybinary.c: (gst_registry_binary_write):
3695 Rename constant everywhere and don't forget one occurence.
3697 2008-03-23 Sebastian Dröge <slomo@circular-chaos.org>
3699 * gst/gstregistrybinary.c: (gst_registry_binary_write):
3700 Align memory to the pointer size even if the architecture allows
3701 unaligned memory access. Unaligned memory access usually comes with
3702 performance penality.
3704 2008-03-23 Sebastian Dröge <slomo@circular-chaos.org>
3706 * gst/gstregistrybinary.c: (gst_registry_binary_write),
3707 (gst_registry_binary_check_magic),
3708 (gst_registry_binary_load_pad_template),
3709 (gst_registry_binary_load_feature),
3710 (gst_registry_binary_load_plugin):
3711 Align memory to the pointer size instead of always 32 bit. Fixes
3712 unaligned memory accesses on ia64 and friends.
3714 * gst/gstregistrybinary.h:
3715 Bump binary registry format version for this as it changes the
3716 format on those architectures that don't have unaligned access
3717 and 64 bit pointers.
3719 2008-03-22 Sebastian Dröge <slomo@circular-chaos.org>
3721 * docs/pwg/advanced-dparams.xml:
3722 * docs/pwg/building-props.xml:
3723 * docs/pwg/other-source.xml:
3724 * gst/glib-compat.h:
3725 * gst/gstbin.c: (gst_bin_class_init):
3726 * gst/gstclock.c: (gst_clock_class_init):
3727 * gst/gstindex.c: (gst_index_class_init):
3728 * gst/gstobject.c: (gst_object_class_init):
3729 * gst/gstpad.c: (gst_pad_class_init):
3730 * gst/gstpipeline.c: (gst_pipeline_class_init):
3731 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
3732 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
3733 * libs/gst/base/gstbasetransform.c:
3734 (gst_base_transform_class_init):
3735 * libs/gst/base/gstdataqueue.c: (gst_data_queue_class_init):
3736 * libs/gst/check/gstcheck.c: (_gst_check_fault_handler_restore),
3737 (_gst_check_fault_handler_sighandler),
3738 (_gst_check_fault_handler_setup), (gst_check_init):
3739 * libs/gst/controller/gstcontroller.c:
3740 (_gst_controller_class_init):
3741 * libs/gst/controller/gstlfocontrolsource.c:
3742 (gst_lfo_control_source_class_init):
3743 * libs/gst/net/gstnetclientclock.c:
3744 (gst_net_client_clock_class_init):
3745 * libs/gst/net/gstnettimeprovider.c:
3746 (gst_net_time_provider_class_init):
3747 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
3748 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
3749 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
3750 * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
3751 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
3752 * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
3753 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
3754 * plugins/elements/gstidentity.c: (gst_identity_class_init):
3755 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_class_init):
3756 * plugins/elements/gstqueue.c: (gst_queue_class_init):
3757 * plugins/elements/gsttee.c: (gst_tee_class_init):
3758 * plugins/elements/gsttypefindelement.c:
3759 (gst_type_find_element_class_init):
3760 * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
3761 Define G_PARAM_STATIC_STRINGS if it's undefined (GLib < 2.13.0) and
3762 use it everywhere for GParamSpecs that use static strings (i.e. all).
3763 This gives us less memory usage, fewer allocations and thus less
3764 memory defragmentation. Fixes bug #523806.
3766 2008-03-22 Sebastian Dröge <slomo@circular-chaos.org>
3768 * gst/gstminiobject.c: (gst_value_dup_mini_object),
3769 (gst_param_spec_mini_object):
3770 * gst/gstminiobject.h:
3771 * win32/common/libgstreamer.def:
3772 * docs/gst/gstreamer-sections.txt:
3773 API: Add GST_IS_PARAM_SPEC_MINI_OBJECT, GST_PARAM_SPEC_MINI_OBJECT
3774 GST_TYPE_PARAM_MINI_OBJECT and gst_value_dup_mini_object. Also move
3775 GstParamSpecMiniObject into a public header for this.
3777 This make GstMiniObject a bit more consistent with GObject and makes
3778 it possible to extend the param specs.
3780 gst_value_dup_mini_object is mainly useful for set_property methods.
3782 Fixes bug #523798.
3784 * tools/gst-inspect.c: (print_element_properties_info):
3785 Print something useful for GstMiniObject properties and not just
3786 "unknown type".
3788 2008-03-21 Sebastian Dröge <slomo@circular-chaos.org>
3790 * docs/gst/gstreamer-sections.txt:
3791 * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic),
3792 (gst_registry_binary_check_magic):
3793 * gst/gstregistrybinary.h:
3794 Call the version GST_MAGIC_BINARY_VERSION_STR to be more consistent
3795 and add it to the (private part) of the docs to fix the build.
3797 2008-03-21 Sebastian Dröge <slomo@circular-chaos.org>
3799 * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic),
3800 (gst_registry_binary_check_magic),
3801 (gst_registry_binary_read_cache):
3802 * gst/gstregistrybinary.h:
3803 Don't use GST_MAJORMINOR for the binary registry version. Instead
3804 hardcode a value that must be changed whenever the format changes
3805 in an incompatible way.
3806 Also don't GST_ERROR when there is a version mismatch, just
3807 regenerate the registry silently.
3809 2008-03-21 Jan Schmidt <jan.schmidt@sun.com>
3811 * configure.ac:
3812 Back to development - 0.10.18.1
3814 === release 0.10.18 ===
3816 2008-03-20 Jan Schmidt <jan.schmidt@sun.com>
3818 * configure.ac:
3819 releasing 0.10.18, "So far away"
3821 2008-03-18 Jan Schmidt <jan.schmidt@sun.com>
3823 * configure.ac:
3824 * win32/common/config.h:
3825 0.10.17.4 pre-release
3827 2008-03-18 Wim Taymans <wim.taymans@collabora.co.uk>
3829 Patch by: Ole André Vadla Ravnås
3830 <ole dot andre dot ravnas at tandberg dot com>
3832 * docs/gst/gstreamer-sections.txt:
3833 * gst/gstpoll.c: (gst_poll_winsock_error_to_errno),
3834 (gst_poll_update_winsock_event_mask),
3835 (gst_poll_prepare_winsock_active_sets),
3836 (gst_poll_collect_winsock_events), (gst_poll_new), (gst_poll_free),
3837 (gst_poll_add_fd_unlocked), (gst_poll_fd_ctl_write),
3838 (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_ignored),
3839 (gst_poll_fd_has_error), (gst_poll_fd_can_read_unlocked),
3840 (gst_poll_check_ctrl_commands), (gst_poll_wait):
3841 * gst/gstpoll.h:
3842 * win32/common/libgstreamer.def:
3843 Add new function gst_poll_fd_ignored() for improved Windows
3844 compatibility.
3845 Various minor fixes and cleanups. See #520808.
3847 2008-03-17 Tim-Philipp Müller <tim at centricular dot net>
3849 * gst/gstindex.c: (gst_index_entry_free):
3850 * gst/gstindex.h:
3851 Don't free key strings which we don't own. Fixes crash in
3852 gst_index_entry_free() (#522741).
3854 * tests/check/Makefile.am:
3855 * tests/check/gst/.cvsignore:
3856 * tests/check/gst/gstindex.c: (test_index_entries),
3857 (gst_index_suite), (gst_index):
3858 Add unit test for the above.
3860 2008-03-11 Sebastian Dröge <slomo@circular-chaos.org>
3862 * win32/common/libgstreamer.def:
3863 Remove symbols that were removed recently. Fixes bug #521740.
3865 2008-03-11 Jan Schmidt <jan.schmidt@sun.com>
3867 * configure.ac:
3868 * win32/common/config.h:
3869 0.10.17.3 pre-release
3871 2008-03-07 Wim Taymans <wim.taymans@collabora.co.uk>
3873 Patch by: Ole André Vadla Ravnås
3874 <ole dot andre dot ravnas at tandberg dot com>
3876 * docs/gst/gstreamer-sections.txt:
3877 * gst/gstpoll.c: (find_index), (gst_poll_free_winsock_event),
3878 (gst_poll_update_winsock_event_mask), (gst_poll_new),
3879 (gst_poll_free), (gst_poll_fd_init), (gst_poll_add_fd_unlocked),
3880 (gst_poll_remove_fd), (gst_poll_fd_ctl_write),
3881 (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_has_closed),
3882 (gst_poll_fd_has_error), (gst_poll_fd_can_read_unlocked),
3883 (gst_poll_fd_can_write), (gst_poll_wait),
3884 (gst_poll_set_controllable), (gst_poll_restart),
3885 (gst_poll_set_flushing):
3886 * gst/gstpoll.h:
3887 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_new):
3888 * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_start),
3889 (gst_net_time_provider_new):
3890 * plugins/elements/gstfdsink.c: (gst_fd_sink_start):
3891 * plugins/elements/gstfdsrc.c: (gst_fd_src_start):
3892 * tests/benchmarks/gstpollstress.c: (main):
3893 * tests/check/gst/gstpoll.c: (GST_START_TEST), (gst_poll_suite):
3894 Remove GstPollMode from the API, it does not make sense to let the
3895 application control this.
3896 Add support for Win32.
3897 Fix the testsuite. Fixes #520671.
3899 2008-03-07 Sebastian Dröge <slomo@circular-chaos.org>
3901 Patch by: Ole André Vadla Ravnås
3902 <ole dot andre dot ravnas at tandberg dot com>
3904 * gst/gstregistrybinary.c:
3905 Include io.h for write() and close() when building with MSVC. Fixes
3906 bug #520877.
3908 2008-03-07 Stefan Kost <ensonic@users.sf.net>
3910 * configure.ac:
3911 * gst/gst_private.h:
3912 * gst/gstconfig.h.in:
3913 * gst/gstregistry.h:
3914 * gst/gstregistrybinary.c:
3915 * win32/common/gstconfig.h:
3916 Move registry backend API to private headers where we can. Add
3917 fixme-0.11 comments for the others. Add stubs for the xml backend when
3918 using the binary to ensure they functions exists (they should not be
3919 used though). Fixes #520756.
3921 2008-03-04 Jan Schmidt <jan.schmidt@sun.com>
3923 * configure.ac:
3924 * win32/common/config.h:
3925 0.10.17.2 prelease
3927 2008-03-03 Edward Hervey <edward.hervey@collabora.co.uk>
3929 * gst/gstregistrybinary.c: (gst_registry_binary_write),
3930 (gst_registry_binary_read_cache):
3931 * gst/gstregistryxml.c: (gst_registry_save):
3932 * gst/gsturi.c: (unescape_string), (gst_uri_has_protocol):
3933 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file):
3934 * plugins/elements/gstfilesrc.c: (gst_file_src_map_region),
3935 (gst_file_src_map_small_region), (gst_file_src_create_mmap):
3936 Switch to using portabl gsize/gssize instead of size_t/ssize_t
3937 Fixes #520152
3939 2008-03-03 Edward Hervey <edward.hervey@collabora.co.uk>
3941 * gst/gstminiobject.c:
3942 Import gst_private.h before any other header that might include other
3943 glib headers. This fixes the build on windows using native compilers.
3945 2008-03-03 Tim-Philipp Müller <tim at centricular dot net>
3947 * win32/common/gstconfig.h:
3948 Add here too, just for completeness.
3950 2008-03-03 Tim-Philipp Müller <tim at centricular dot net>
3952 * configure.ac:
3953 * gst/gstconfig.h.in:
3954 * gst/gstregistry.h:
3955 Fix broken use of config.h-defined preprocessor directive in a public
3956 header file. Add a corresponding define to gstconfig.h, since we can't
3957 really remove those function declarations from the header file now
3958 (or can we? and why are they there in the first place?).
3960 2008-03-03 Andy Wingo <wingo@pobox.com>
3962 * tests/check/gst/gststructure.c (GST_START_TEST): Add a check for
3963 the new warning.
3965 * gst/gststructure.c (gst_structure_from_string): Warn if
3966 structure_from_string didn't consume the whole string, but the
3967 caller did not provide an end pointer.
3969 2008-03-01 Tim-Philipp Müller <tim at centricular dot net>
3971 Patch by: Fabrizio Gennari <fabrizio.ge at tiscali it>
3973 * gst/gstregistryxml.c: (read_string), (load_feature):
3974 Strings allocated by libxml2 should be freed with xmlFree(), not
3975 with g_free(). Fixes issues on windows in certain contexts (#519698).
3977 2008-02-29 Tim-Philipp Müller <tim at centricular dot net>
3979 * gst/gstinterface.c: (gst_element_implements_interface):
3980 Don't crash if the element supports the interface queried, but does
3981 not implement GstImplementsInterface. Fixes #519584.
3983 * tests/check/Makefile.am:
3984 * tests/check/gst/.cvsignore:
3985 * tests/check/gst/gstinterface.c:
3986 Add unit test for the above.
3988 2008-02-29 Wim Taymans <wim.taymans@collabora.co.uk>
3990 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
3991 Small doc update.
3993 2008-02-29 Wim Taymans <wim.taymans@collabora.co.uk>
3995 * gst/gstsegment.c: (gst_segment_set_seek),
3996 (gst_segment_to_stream_time):
3997 Improve some comment.
3998 Update variables where it makes more sense.
4000 2008-02-29 Rene Stadler <mail@renestadler.de>
4002 * gst/gsturi.c: (gst_uri_handler_get_protocols):
4003 Use the get_protocols_full vfunc if get_protocols is NULL. Fixes
4004 URIHandlers implemented using language bindings.
4006 2008-02-29 Sebastian Dröge <slomo@circular-chaos.org>
4008 * gst/gstelementfactory.h:
4009 * tests/check/elements/fakesink.c:
4010 * tests/check/elements/fakesrc.c: (setup_fakesrc):
4011 * tests/check/elements/fdsrc.c: (setup_fdsrc):
4012 * tests/check/elements/filesink.c: (setup_filesink):
4013 * tests/check/elements/filesrc.c: (setup_filesrc):
4014 * tests/check/elements/identity.c: (setup_identity):
4015 * tests/check/elements/tee.c:
4016 * tests/check/generic/sinks.c:
4017 * tests/check/generic/states.c: (setup), (teardown):
4018 * tests/check/gst/gst.c:
4019 * tests/check/gst/gstabi.c:
4020 * tests/check/gst/gstbin.c:
4021 * tests/check/gst/gstbus.c: (pull_messages):
4022 * tests/check/gst/gstcaps.c:
4023 * tests/check/gst/gstelement.c:
4024 * tests/check/gst/gstevent.c:
4025 * tests/check/gst/gstghostpad.c:
4026 * tests/check/gst/gstiterator.c:
4027 * tests/check/gst/gstmessage.c:
4028 * tests/check/gst/gstminiobject.c: (my_foo_init):
4029 * tests/check/gst/gstobject.c: (thread_name_object),
4030 (gst_object_suite):
4031 * tests/check/gst/gstpad.c:
4032 * tests/check/gst/gstplugin.c:
4033 * tests/check/gst/gstpoll.c:
4034 * tests/check/gst/gstquery.c:
4035 * tests/check/gst/gstsegment.c:
4036 * tests/check/gst/gststructure.c:
4037 * tests/check/gst/gstsystemclock.c:
4038 * tests/check/gst/gsttask.c:
4039 * tests/check/gst/gstutils.c:
4040 * tests/check/gst/gstvalue.c:
4041 * tests/check/gst/struct_hppa.h:
4042 * tests/check/gst/struct_i386.h:
4043 * tests/check/gst/struct_ppc32.h:
4044 * tests/check/gst/struct_ppc64.h:
4045 * tests/check/gst/struct_x86_64.h:
4046 * tests/check/libs/adapter.c: (create_and_fill_adapter):
4047 * tests/check/libs/basesrc.c:
4048 * tests/check/libs/controller.c: (GST_START_TEST):
4049 * tests/check/libs/gdp.c:
4050 * tests/check/libs/gstnetclientclock.c:
4051 * tests/check/libs/gstnettimeprovider.c:
4052 * tests/check/libs/libsabi.c:
4053 * tests/check/libs/struct_hppa.h:
4054 * tests/check/libs/struct_i386.h:
4055 * tests/check/libs/struct_ppc32.h:
4056 * tests/check/libs/struct_ppc64.h:
4057 * tests/check/libs/struct_x86_64.h:
4058 * tests/check/pipelines/cleanup.c:
4059 * tests/check/pipelines/simple-launch-lines.c:
4060 * tests/check/pipelines/stress.c:
4061 And correct even more valid sparse warnings.
4063 * win32/common/libgstreamer.def:
4064 Add gst_poll_fd_init to the list of symbols.
4066 2008-02-29 Sebastian Dröge <slomo@circular-chaos.org>
4068 * gst/gstconfig.h.in:
4069 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_read_buffer):
4070 * libs/gst/check/gstcheck.c: (gst_check_log_message_func),
4071 (gst_check_log_critical_func), (gst_check_drop_buffers),
4072 (gst_check_element_push_buffer_list):
4073 * libs/gst/controller/gstcontroller.c: (gst_controller_get),
4074 (gst_controller_get_type):
4075 * libs/gst/controller/gsthelper.c: (gst_object_control_properties),
4076 (gst_object_get_controller), (gst_object_get_control_source):
4077 * libs/gst/controller/gstinterpolationcontrolsource.c:
4078 (gst_interpolation_control_source_new):
4079 * libs/gst/controller/gstlfocontrolsource.c:
4080 (gst_lfo_control_source_new):
4081 * libs/gst/dataprotocol/dataprotocol.c:
4082 (gst_dp_event_from_packet_0_2):
4083 * plugins/elements/gstfdsrc.c:
4084 * plugins/elements/gstmultiqueue.c:
4085 * plugins/elements/gsttee.c:
4086 * plugins/elements/gsttypefindelement.c:
4087 * plugins/indexers/gstfileindex.c: (_file_index_id_save_xml),
4088 (gst_file_index_add_association):
4089 * plugins/indexers/gstmemindex.c:
4090 * tests/benchmarks/gstpollstress.c: (mess_some_more):
4091 * tests/check/elements/queue.c: (setup_queue):
4092 * tests/check/gst/gstpipeline.c:
4093 * tests/check/libs/collectpads.c: (setup), (teardown),
4094 (gst_collect_pads_suite):
4095 * tests/examples/adapter/adapter_test.c:
4096 * tests/examples/metadata/read-metadata.c: (make_pipeline):
4097 * tests/examples/xml/createxml.c:
4098 * tests/examples/xml/runxml.c:
4099 * tools/gst-inspect.c:
4100 * tools/gst-run.c:
4101 Correct all relevant warnings found by the sparse semantic code
4102 analyzer. This include marking several symbols static, using
4103 NULL instead of 0 for pointers, not using variable sized arrays
4104 on the stack, moving variable declarations to the beginning of
4105 a block and using "foo (void)" instead of "foo ()" for declarations.
4107 2008-02-29 Sebastian Dröge <slomo@circular-chaos.org>
4109 * plugins/elements/gstfdsink.c: (gst_fd_sink_update_fd):
4110 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
4111 Don't reset GstPollFDs, this is not necessary at all.
4113 * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
4114 (delayed_restart), (delayed_control):
4115 Use GST_POLL_FD_INIT.
4117 2008-02-29 Wim Taymans <wim.taymans@collabora.co.uk>
4119 * gst/gstpoll.c: (gst_poll_fd_init):
4120 * gst/gstpoll.h:
4121 Added Since tags.
4123 * plugins/elements/gstfdsink.c: (gst_fd_sink_update_fd):
4124 Use some more init macros.
4126 2008-02-29 Wim Taymans <wim.taymans@collabora.co.uk>
4128 * plugins/elements/gstfdsink.c: (gst_fd_sink_start):
4129 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
4130 Use init macros and functions.
4132 2008-02-29 Wim Taymans <wim.taymans@collabora.co.uk>
4134 * docs/gst/gstreamer-sections.txt:
4135 * gst/gstpoll.c: (gst_poll_fd_init):
4136 * gst/gstpoll.h:
4137 Add INIT macro and _init method for initializing the GstPollFD.
4139 2008-02-28 Sebastian Dröge <slomo@circular-chaos.org>
4141 * plugins/elements/gstfdsink.c: (gst_fd_sink_start),
4142 (gst_fd_sink_update_fd):
4143 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
4144 * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
4145 (delayed_restart), (delayed_control):
4146 Initialize some uninitialized variables as spotted by valgrind.
4148 2008-02-28 Wim Taymans <wim.taymans@collabora.co.uk>
4150 * tests/benchmarks/Makefile.am:
4151 * tests/benchmarks/gstpollstress.c: (mess_some_more), (run_test),
4152 (main):
4153 Add poll stress test.
4155 2008-02-28 Wim Taymans <wim.taymans@collabora.co.uk>
4157 Patch by: Peter Kjellerstedt <pkj at axis dot com>
4159 * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
4160 (gst_fd_sink_start), (gst_fd_sink_stop), (gst_fd_sink_unlock),
4161 (gst_fd_sink_unlock_stop), (gst_fd_sink_update_fd):
4162 * plugins/elements/gstfdsink.h:
4163 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
4164 (gst_fd_src_start), (gst_fd_src_stop), (gst_fd_src_unlock),
4165 (gst_fd_src_unlock_stop), (gst_fd_src_create),
4166 (gst_fd_src_uri_set_uri):
4167 * plugins/elements/gstfdsrc.h:
4168 Port to GstPoll. See #505417.
4170 2008-02-27 Jan Schmidt <jan.schmidt@sun.com>
4172 * win32/common/libgstreamer.def:
4173 Add new gst_poll_ symbols to win32 defs.
4175 2008-02-27 Wim Taymans <wim.taymans@collabora.co.uk>
4177 * docs/libs/gstreamer-libs-sections.txt:
4178 * libs/gst/net/gstnetclientclock.c:
4179 (gst_net_client_clock_class_init), (gst_net_client_clock_init),
4180 (gst_net_client_clock_finalize), (gst_net_client_clock_do_select),
4181 (gst_net_client_clock_thread), (gst_net_client_clock_start),
4182 (gst_net_client_clock_stop), (gst_net_client_clock_new):
4183 * libs/gst/net/gstnetclientclock.h:
4184 * libs/gst/net/gstnettimeprovider.c:
4185 (gst_net_time_provider_class_init), (gst_net_time_provider_init),
4186 (gst_net_time_provider_finalize), (gst_net_time_provider_thread),
4187 (gst_net_time_provider_start), (gst_net_time_provider_stop),
4188 (gst_net_time_provider_new):
4189 * libs/gst/net/gstnettimeprovider.h:
4190 Use a private stuct to not break ABI.
4192 2008-02-27 Wim Taymans <wim.taymans@collabora.co.uk>
4194 Patch by: Peter Kjellerstedt <pkj at axis dot com>
4196 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_init),
4197 (gst_net_client_clock_finalize), (gst_net_client_clock_do_select),
4198 (gst_net_client_clock_thread), (gst_net_client_clock_start),
4199 (gst_net_client_clock_stop), (gst_net_client_clock_new):
4200 * libs/gst/net/gstnetclientclock.h:
4201 * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_init),
4202 (gst_net_time_provider_finalize), (gst_net_time_provider_thread),
4203 (gst_net_time_provider_start), (gst_net_time_provider_stop),
4204 (gst_net_time_provider_new):
4205 * libs/gst/net/gstnettimeprovider.h:
4206 Massive code removal and cleanups because of GstPoll.
4207 Fixes #505417.
4209 2008-02-27 Wim Taymans <wim.taymans@collabora.co.uk>
4211 * configure.ac:
4212 Add checks for poll, ppoll and pselect.
4214 * docs/gst/gstreamer-docs.sgml:
4215 * docs/gst/gstreamer-sections.txt:
4216 Add docs for GstPoll.
4218 * gst/Makefile.am:
4219 * gst/gst.h:
4220 * gst/gstpoll.c: (find_index), (selectable_fds),
4221 (pollable_timeout), (choose_mode), (pollfd_to_fd_set),
4222 (fd_set_to_pollfd), (gst_poll_new), (gst_poll_free),
4223 (gst_poll_set_mode), (gst_poll_get_mode),
4224 (gst_poll_add_fd_unlocked), (gst_poll_add_fd),
4225 (gst_poll_remove_fd), (gst_poll_fd_ctl_write),
4226 (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_ctl_read),
4227 (gst_poll_fd_has_closed), (gst_poll_fd_has_error),
4228 (gst_poll_fd_can_read_unlocked), (gst_poll_fd_can_read),
4229 (gst_poll_fd_can_write), (gst_poll_wait),
4230 (gst_poll_set_controllable), (gst_poll_restart),
4231 (gst_poll_set_flushing):
4232 * gst/gstpoll.h:
4233 Add generic poll abstraction. We ideally don't want to have this in core
4234 here but in glib intead...
4235 This code will be used in various network elements and ultimately for
4236 the nanosecond precision monotonic clock (that's why it's here in core).
4237 It'll allow us to implement cancelable socket operations for windows too.
4239 * tests/check/Makefile.am:
4240 * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
4241 (delayed_stop), (delayed_restart), (delayed_flush),
4242 (delayed_control), (gst_poll_suite):
4243 Add GstPoll unit test.
4245 2008-02-25 Tim-Philipp Müller <tim at centricular dot net>
4247 * gst/gstfilter.c:
4248 Improve documentation of gst_filter_run(). Fixes #518627.
4250 2008-02-23 Tim-Philipp Müller <tim at centricular dot net>
4252 * docs/README:
4253 Add a few lines about the new 'check-inspected-versions' target.
4255 2008-02-21 Stefan Kost <ensonic@users.sf.net>
4257 * tests/check/gst/gstevent.c:
4258 Add qos to the event test. Rename tcase/tsuite; is not only about
4259 custom events.
4261 2008-02-21 Stefan Kost <ensonic@users.sf.net>
4263 * plugins/elements/gstqueue.c:
4264 Ensure that buffer metadata is writeable, before modifying. Spotted by
4265 Mike.
4267 2008-02-20 Stefan Kost <ensonic@users.sf.net>
4269 * plugins/elements/gstqueue.c:
4270 * plugins/elements/gstqueue.h:
4271 When dropping buffers in leaky modes, mark next buffers we sent as
4272 DISCONT.
4274 2008-02-20 Tim-Philipp Müller <tim at centricular dot net>
4276 * plugins/elements/gstfilesrc.c: (gst_file_src_map_region):
4277 Also, if mmap() fails that would be a READ error, not OPEN_READ.
4279 2008-02-20 Tim-Philipp Müller <tim at centricular dot net>
4281 * plugins/elements/Makefile.am:
4282 * plugins/elements/gstbufferstore.c:
4283 * plugins/elements/gstbufferstore.h:
4284 * plugins/elements/gsttypefindelement.h:
4285 Remove GstBufferStore, no idea why we were still building it.
4286 It's not used anywhere and superseded by GstAdapter.
4288 * plugins/elements/gstfilesrc.c: (gst_file_src_map_region),
4289 (gst_file_src_create_mmap):
4290 * plugins/indexers/gstfileindex.c: (gst_file_index_add_association):
4291 Printf format fixes for 64-bit integers.
4293 2008-02-19 Sebastian Dröge <slomo@circular-chaos.org>
4295 * configure.ac:
4296 Don't set GST_CACHE_DIR and allow to set it by a configure parameter.
4297 We're not in 0.8 times anymore.
4299 2008-02-19 Jan Schmidt <Jan.Schmidt@sun.com>
4301 * libs/gst/check/gstcheck.c: (gst_check_drop_buffers),
4302 (gst_check_element_push_buffer_list):
4303 * libs/gst/check/gstcheck.h:
4304 Make the declaration in the header for
4305 gst_check_element_push_buffer_list match the implementation.
4307 Fix up spelling, grammar and wording of the documentation in a few
4308 places, and add the Since keyword to new API functions.
4309 Use g_list_delete_link instead of g_list_remove in
4310 gst_check_drop_buffers, since it's immeasurably more efficient.
4312 * tests/check/elements/fakesrc.c: (GST_START_TEST):
4313 Use new gst_check_drop_buffers function where appropriate.
4315 * win32/common/libgstbase.def:
4316 * win32/common/libgstreamer.def:
4317 Add new symbols gst_collect_pads_take_buffer,
4318 gst_collect_pads_read_buffer, gst_index_set_resolver_full to the
4319 exports
4321 Changelog surgery to add API keyword to new gst_check API.
4323 2008-02-19 Sebastian Dröge <slomo@circular-chaos.org>
4325 * gst/parse/lex._gst_parse_yy.pre.c: (yy_get_next_buffer),
4326 (_gst_parse_yyensure_buffer_stack), (_gst_parse_yylex_init_extra):
4327 Update pre-generated flex files with flex 2.3.34.
4329 2008-02-19 Sebastian Dröge <slomo@circular-chaos.org>
4331 * gst/gstminiobject.c:
4332 Add FIXME for 0.11 to make GstMiniObjectClass::copy() a bit more
4333 friendly to subclasses and not require them to know all internals
4334 of their parent class.
4336 2008-02-15 Stefan Kost <ensonic@users.sf.net>
4338 * docs/libs/gstreamer-libs-sections.txt:
4339 * libs/gst/base/gstcollectpads.c:
4340 * libs/gst/base/gstcollectpads.h:
4341 Add sub-buffer functions to collectpads. Fixes #516187.
4342 API: gst_collect_pads_take_buffer(), gst_collect_pads_read_buffer()
4344 2008-02-15 Stefan Kost <ensonic@users.sf.net>
4346 * gst/gstbuffer.c:
4347 Copy selected buffer-flags when creating subbuffers.
4348 Fixes #516395.
4350 2008-02-12 Sebastian Dröge <slomo@circular-chaos.org>
4352 * gst/gstbuffer.c: (gst_buffer_class_init), (gst_buffer_finalize):
4353 * gst/gstevent.c: (gst_event_class_init), (gst_event_finalize):
4354 * gst/gstmessage.c: (gst_message_class_init),
4355 (gst_message_finalize):
4356 * gst/gstquery.c: (gst_query_class_init), (gst_query_finalize):
4357 * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_class_init),
4358 (gst_mmap_buffer_finalize):
4359 Properly chain up finalize functions to the parent class.
4361 2008-02-11 Wim Taymans <wim.taymans@collabora.co.uk>
4363 Patch by: Siavash Safi <siavash dot safi at gmail dot com>
4365 * gst/gstindex.c: (gst_index_finalize), (gst_index_set_resolver),
4366 (gst_index_set_resolver_full):
4367 * gst/gstindex.h:
4368 Add new function with option to dispose of user_data in resolver.
4369 Actually call the dispose function when finalizing the object and not
4370 just when changing the resolver/filter.
4371 API: GstIndex::gst_index_set_resolver_full()
4373 * docs/gst/gstreamer-sections.txt:
4374 Add new function to docs. Fixes #515469.
4376 2008-02-11 Sebastian Dröge <slomo@circular-chaos.org>
4378 * gst/gstindex.c: (gst_index_finalize):
4379 Chain up finalize to the parent class. Fixes leaking the GstObject
4380 name and other things.
4382 2008-02-08 Jan Schmidt <jan.schmidt@sun.com>
4384 * configure.ac:
4385 Make DISABLE_DEPRECATED defined *only* during CVS, not during
4386 pre-releases or releases.
4388 * docs/faq/gst-uninstalled:
4389 Add gst-plugins-gl
4391 * docs/random/release:
4392 Change one of the steps - we only upload core & base to Gnome FTP
4394 2008-02-06 Stefan Kost <ensonic@users.sf.net>
4396 * gst/gstconfig.h.in:
4397 Add 'id' for example.
4399 * gst/gstpad.c:
4400 * gst/gstutils.c:
4401 * plugins/elements/gstfdsink.c:
4402 Link to signals. Doc and comment fixes.
4404 2008-02-05 Tim-Philipp Müller <tim at centricular dot net>
4406 * gst/gstpad.h: (GST_PAD_LINK_SUCCESSFUL):
4407 * gst/gstpluginfeature.h: (GstPluginFeatureClass):
4408 Some minor docs fixes: fix typo, mention that GST_FLOW_RESEND is
4409 unused and unimplemented; finally, it is plugin features, not
4410 plugins, that have ranks.
4412 2008-02-05 Stefan Kost <ensonic@users.sf.net>
4414 * gst/gstpluginfeature.h:
4415 Clarify GstRank range docs.
4417 2008-02-05 David Schleef <ds@schleef.org>
4419 * gst/gst.c: Add a separate gst_deinitialized that prevents
4420 gst_init() from being called after gst_deinit(). Fixes #509559
4422 2008-02-05 Sebastian Dröge <slomo@circular-chaos.org>
4424 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_base_init),
4425 (gst_bin_class_init):
4426 * gst/gstelement.c: (gst_element_base_class_init),
4427 (gst_element_class_add_pad_template):
4428 * gst/gstpadtemplate.c: (gst_pad_template_init):
4429 * gst/gstpipeline.c: (gst_pipeline_get_type),
4430 (gst_pipeline_base_init), (gst_pipeline_class_init):
4431 * libs/gst/base/gstbasesink.c:
4432 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type),
4433 (gst_base_src_base_init), (gst_base_src_class_init):
4434 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init),
4435 (gst_capsfilter_class_init):
4436 * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init),
4437 (gst_fake_sink_class_init):
4438 * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init),
4439 (gst_fake_src_class_init):
4440 * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init),
4441 (gst_fd_sink_class_init):
4442 * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init),
4443 (gst_fd_src_class_init):
4444 * plugins/elements/gstfilesink.c: (gst_file_sink_base_init),
4445 (gst_file_sink_class_init):
4446 * plugins/elements/gstfilesrc.c: (gst_file_src_base_init),
4447 (gst_file_src_class_init):
4448 * plugins/elements/gstidentity.c: (gst_identity_base_init),
4449 (gst_identity_class_init):
4450 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
4451 (gst_multi_queue_class_init):
4452 * plugins/elements/gstqueue.c: (gst_queue_base_init),
4453 (gst_queue_class_init):
4454 * plugins/elements/gsttee.c: (gst_tee_base_init),
4455 (gst_tee_class_init):
4456 * plugins/elements/gsttypefindelement.c:
4457 (gst_type_find_element_base_init),
4458 (gst_type_find_element_class_init):
4459 * tests/check/gst/gstelement.c: (gst_element_suite):
4460 Revert previous changes to the behaviour of GstPadTemplates, etc
4461 and the possiblity to call them in class_init as it breaks too
4462 many elements. Reopens bug #491501.
4464 Should be applied again for 0.11, thus added a few FIXME 0.11 at
4465 several places.
4467 2008-02-05 Stefan Kost <ensonic@users.sf.net>
4469 * tools/gst-launch.c:
4470 Dump one graph per pipeline state-change and state change name
4471 (if GST_DEBUG_DUMP_DOT_DIR is set).
4473 2008-02-04 Thijs Vermeir <thijsvermeir@gmail.com>
4475 * gst/gstpad.c:
4476 * tests/check/gst/gstpad.c:
4477 Be sure that we have a new copy of the caps and not
4478 reffed caps from a template
4480 2008-02-03 Sebastian Dröge <slomo@circular-chaos.org>
4482 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
4483 * gst/gstpipeline.c: (gst_pipeline_get_type),
4484 (gst_pipeline_class_init):
4485 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
4486 (gst_base_sink_class_init):
4487 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type),
4488 (gst_base_src_class_init):
4489 * libs/gst/base/gstbasetransform.c: (gst_base_transform_get_type),
4490 (gst_base_transform_class_init):
4491 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
4492 (gst_collect_pads_class_init):
4493 * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type):
4494 * libs/gst/net/gstnettimeprovider.c:
4495 (gst_net_time_provider_base_init),
4496 (gst_net_time_provider_class_init):
4497 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init),
4498 (gst_capsfilter_class_init):
4499 * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init),
4500 (gst_fake_sink_class_init):
4501 * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init),
4502 (gst_fake_src_class_init):
4503 * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init),
4504 (gst_fd_sink_class_init):
4505 * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init),
4506 (gst_fd_src_class_init):
4507 * plugins/elements/gstfilesink.c: (gst_file_sink_base_init),
4508 (gst_file_sink_class_init):
4509 * plugins/elements/gstfilesrc.c: (gst_file_src_base_init),
4510 (gst_file_src_class_init):
4511 * plugins/elements/gstidentity.c: (gst_identity_base_init),
4512 (gst_identity_class_init):
4513 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
4514 (gst_multi_queue_class_init):
4515 * plugins/elements/gstqueue.c: (gst_queue_base_init),
4516 (gst_queue_class_init):
4517 * plugins/elements/gsttee.c: (gst_tee_base_init),
4518 (gst_tee_class_init):
4519 * plugins/elements/gsttypefindelement.c:
4520 (gst_type_find_element_base_init),
4521 (gst_type_find_element_class_init):
4522 Don't use base_init where not absolutely necessary. For example it's
4523 not necessary anymore for adding pad templates or setting element
4524 details.
4526 Leave empty base_init functions in several places as GST_BOILERPLATE
4527 still defines and uses them.
4529 2008-02-03 Sebastian Dröge <slomo@circular-chaos.org>
4531 * gst/gstelement.c: (gst_element_base_class_init),
4532 (gst_element_class_add_pad_template):
4533 * gst/gstpadtemplate.c:
4534 Make it possible (and recommended) to set element details and add
4535 pad templates in the class_init functions by copying the details/pad
4536 templates in GstElement's base_init.
4538 Also make it possible to replace existing pad templates by adding
4539 a new one with the same name. This was done in a hackish fashion
4540 in same elements before already.
4542 Don't reference pad templates that are added a second time. A
4543 new pad template has a refcount of one and is not floating anymore
4544 and to be owned by the element's class. Make this more explicit by
4545 mentioning it in the docs of gst_element_class_add_pad_template().
4547 These changes are backwards compatible. Fixes bug #491501.
4549 * tests/check/gst/gstelement.c:
4550 Add unit test for setting element details, adding pad templates and
4551 replacing them in a subclass.
4553 2008-02-02 Sebastian Dröge <slomo@circular-chaos.org>
4555 * tools/gst-inspect.c: (print_interfaces),
4556 (print_element_properties_info), (print_pad_info),
4557 (print_signal_info), (print_element_info):
4558 Fix a few memory leaks.
4560 2008-02-01 Thijs Vermeir <thijsvermeir@gmail.com>
4562 * docs/libs/gstreamer-libs-sections.txt:
4563 * libs/gst/check/gstcheck.c:
4564 * libs/gst/check/gstcheck.h:
4565 Add more functions for unit testing: gst_check_drop_buffers,
4566 gst_check_caps_equal, gst_check_element_push_buffer_list,
4567 gst_check_element_push_buffer
4568 API: gst_check_drop_buffers
4569 API: gst_check_caps_equal
4570 API: gst_check_element_push_buffer_list
4571 API: gst_check_element_push_buffer
4573 2008-02-01 Julien Moutte <julien@fluendo.com>
4575 * docs/gst/gstreamer-sections.txt: Add GST_CHECK_VERSION to the docs
4576 * gst/gstindex.c: (gst_index_class_init), (gst_index_free_writer),
4577 (gst_index_finalize), (gst_index_entry_free),
4578 (gst_index_add_association): Fix memory leaks.
4579 * gst/gstversion.h.in: Add GST_CHECK_VERSION macro.
4580 * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init),
4581 (gst_mem_index_free_format), (gst_mem_index_free_id),
4582 (gst_mem_index_finalize): Fix memory leaks.
4583 * win32/common/config.h: Updated to CVS HEAD.
4585 2008-02-01 Stefan Kost <ensonic@users.sf.net>
4587 * docs/README:
4588 Some more details about how the plugin docs works.
4590 * docs/plugins/gstreamer-plugins-sections.txt:
4591 Whitespace cleanup.
4593 2008-02-01 Stefan Kost <ensonic@users.sf.net>
4595 * gst/parse/grammar.tab.pre.c:
4596 * gst/parse/grammar.tab.pre.h:
4597 * gst/parse/grammar.y:
4598 * gst/parse/lex._gst_parse_yy.pre.c:
4599 Add delayed set-property. This allows to set properties on dynamicaly
4600 created objects (pads in videomxer). Fixes #509391.
4602 2008-02-01 Thijs Vermeir <thijsvermeir@gmail.com>
4604 * gst/gstutils.c:
4605 Check if caps are not NULL (fix bug #510194)
4607 2008-02-01 Wim Taymans <wim.taymans@collabora.co.uk>
4609 * libs/gst/base/gstbasesink.c: (gst_base_sink_loop),
4610 (gst_base_sink_get_position_paused):
4611 Add fixme regarding EOS in pull mode.
4612 Fix position reporting in PAUSED for negative rates.
4614 2008-02-01 Wim Taymans <wim.taymans@collabora.co.uk>
4616 * gst/gstminiobject.c: (gst_mini_object_replace):
4617 When replacing a miniobject, do a quick equality check first so that we
4618 can avoid a ref/unref pair.
4620 2008-02-01 Wim Taymans <wim.taymans@collabora.co.uk>
4622 * docs/design/part-synchronisation.txt:
4623 Update some docs.
4625 * docs/plugins/Makefile.am:
4626 * docs/plugins/gstreamer-plugins-docs.sgml:
4627 * docs/plugins/gstreamer-plugins-sections.txt:
4628 * plugins/elements/gstmultiqueue.c:
4629 Add multiqueue to the docs.
4631 2008-01-30 Jan Schmidt <jan.schmidt@sun.com>
4633 * configure.ac:
4634 Back to CVS
4636 === release 0.10.17 ===
4638 2008-01-30 Jan Schmidt <jan.schmidt@sun.com>
4640 * configure.ac:
4641 releasing 0.10.17, "Due Negligence"
4643 2008-01-30 Jan Schmidt <jan.schmidt@sun.com>
4645 * gst/gstutils.c:
4646 Revert caps != NULL check temporarily for 0.10.17 release.
4648 2008-01-30 Thijs Vermeir <thijsvermeir@gmail.com>
4650 * gst/gstutils.c:
4651 Check if caps are not NULL (fix bug #510194)
4653 2008-01-30 Jan Schmidt <jan.schmidt@sun.com>
4655 * gst/gstutils.c:
4656 Fix compilation on systems that have posix timers but no
4657 monotonic clock.
4658 Fixes: #512715
4659 Patch By: Cygwin Ports maintainer <yselkowitz at users dot sourceforge
4660 dot net>
4662 2008-01-30 Jan Schmidt <jan.schmidt@sun.com>
4664 * tools/gst-inspect.c:
4665 Revert previous commit in preparation for an impromptu 0.10.17 release
4667 2008-01-29 Sebastian Dröge <slomo@circular-chaos.org>
4669 * tools/gst-inspect.c: (print_interfaces),
4670 (print_element_properties_info), (print_pad_info),
4671 (print_signal_info), (print_element_info):
4672 Fix a few memory leaks.
4674 2008-01-28 Jan Schmidt <jan.schmidt@sun.com>
4676 * configure.ac:
4677 Back to CVS
4679 === release 0.10.16 ===
4681 2008-01-28 Jan Schmidt <thaytan@noraisin.net>
4683 * configure.ac:
4684 releasing 0.10.16, "Special Dispensation"
4686 2008-01-24 Tim-Philipp Müller <tim at centricular dot net>
4688 * configure.ac:
4689 Use AC_TRY_COMPILE instead of AC_TRY_RUN to check for
4690 _POSIX_TIMER, _POSIX_MONOTONIC_CLOCK, etc. Makes configure
4691 not fail when trying to crosscompile on OpenEmbedded (#511750).
4693 2008-01-20 Sebastian Dröge <slomo@circular-chaos.org>
4695 * docs/manuals.mak:
4696 Use $(MAKE) instead of make to fix the build if GNU make is
4697 called different. Fixes bug #510747.
4699 2008-01-20 Tim-Philipp Müller <tim at centricular dot net>
4701 * gst/gstplugin.c: (_gst_plugin_initialize):
4702 Fix old-style static plugins via GST_PLUGIN_DEFINE_STATIC
4703 again, which I broke two commits ago when changing the API
4704 of gst_plugin_register_static(): the g_list_foreach() in
4705 _gst_plugin_register_static still assumed the old function
4706 signature and would therefore fail (re-fixes #510187).
4708 * gst/gstplugin.c: (_num_static_plugins), (_static_plugins),
4709 (_gst_plugin_register_static), (gst_plugin_register_static):
4710 Revert the (technically correct) change to call g_thread_init() from
4711 the pre-main() constructor. This will break programs which call
4712 g_thread_init() without an if (!g_thread_supported()) guard in their
4713 main function. We could just blame it on GLib or the application, but
4714 it's probably best to just avoid this altogether and simply not use
4715 any GLib functions here and use plain old malloc() with a simple
4716 array to store the plugins to register later when gst_init() is
4717 finally called (re-fixes #510187).
4719 * tests/check/gst/gstplugin.c: (GST_GNUC_CONSTRUCTOR_DEFINED),
4720 (GST_GNUC_CONSTRUCTOR_DEFINED), (plugin_init_counter),
4721 (plugin1_init), (plugin2_init), (plugin3_init), (GST_START_TEST),
4722 (GST_START_TEST), (gst_plugin_suite):
4723 Dumb unit test to make sure the old GST_PLUGIN_DEFINE_STATIC still
4724 works.
4726 2008-01-17 Tim-Philipp Müller <tim at centricular dot net>
4728 * gst/gstplugin.h: (GST_PLUGIN_DEFINE_STATIC):
4729 Remove deprecation guards around GST_PLUGIN_DEFINE_STATIC.
4730 This makes gtk-doc complain, but results in slightly better
4731 compiler errors. The old _gst_plugin_register_static() is
4732 still guarded, so there'll be a compiler warning about that
4733 instead. Fixes #510187 too.
4735 2008-01-17 Tim-Philipp Müller <tim at centricular dot net>
4737 * gst/gst.c: (init_post):
4738 * gst/gstplugin.c: (_gst_plugin_register_static),
4739 (gst_plugin_register_static), (_gst_plugin_initialize):
4740 * gst/gstplugin.h: (GstPluginFilter):
4741 Change API of gst_plugin_register_static() to not take
4742 a GstPluginDesc, but rather just take all the arguments
4743 in a GstPluginDesc directly. This is more intuitive and
4744 avoids certain mistakes when porting code from
4745 GST_PLUGIN_DEFINE_STATIC to gst_plugin_register_static().
4746 Fixes #510187.
4748 * tests/check/gst/gstplugin.c:
4749 Fix up for changed API.
4751 2008-01-17 Thomas Vander Stichele <thomas at apestaart dot org>
4753 * docs/faq/legal.xml:
4754 Update FAQ, Totem actually has an exception these days.
4756 2008-01-14 Jan Schmidt <jan.schmidt@sun.com>
4758 * win32/common/libgstreamer.def:
4759 Add new API declarations
4761 2008-01-14 Stefan Kost <ensonic@users.sf.net>
4763 * gst/gstminiobject.c:
4764 Spelling fixes for the API docs.
4766 2008-01-14 Stefan Kost <ensonic@users.sf.net>
4768 * libs/gst/base/gstbasetransform.c:
4769 Fix long property description for QoS.
4771 2008-01-12 Jan Schmidt <Jan.Schmidt@sun.com>
4773 * gst/gst.c:
4774 _gst_trace_on is already provided by gsttrace.h, no need to declare
4775 it ourselves.
4777 * docs/libs/gstreamer-libs-sections.txt:
4778 Add 'buffers', 'check_cond' and 'check_mutex' from libgstcheck
4779 and remove strange tcase_add_test which is outputting a warning.
4781 * libs/gst/check/gstcheck.c:
4782 * libs/gst/check/gstcheck.h:
4783 Properly declare 'buffers', 'check_cond', 'check_mutex' extern
4784 and define them in gstcheck.c instead of having every .c file whcih
4785 includes gstcheck.h be defining its own copy and relying on symbol
4786 interposing to marry them all, which doesn't work on Solaris.
4788 * tests/check/elements/identity.c: (GST_START_TEST):
4789 Don't define 'buffers' locally, it comes from libgstcheck.
4791 * tests/check/generic/sinks.c: (send_buffer):
4792 Fix type of variable (GstFlowReturn, not GstStateChangeReturn)
4794 * tests/check/gst/gststructure.c: (GST_START_TEST):
4795 * tests/check/gst/gstsystemclock.c: (GST_START_TEST):
4796 * tests/check/gst/gstutils.c: (GST_START_TEST):
4797 * tests/check/gst/gstvalue.c: (GST_START_TEST):
4798 Add a bunch of casts to make various constants fit the types
4799 they're being assigned to.
4801 2008-01-10 Stefan Kost <ensonic@users.sf.net>
4803 * gst/gstchildproxy.c:
4804 Improve docs and add some ideas for making this more general-purpose.
4806 2008-01-10 Tim-Philipp Müller <tim at centricular dot net>
4808 * gst/gst_private.h: (GST_CAT_TYPES):
4809 Add GST_CAT_TYPES, for consistency, and so that the other
4810 debug categories don't make fun of it. Spotted by Saur on IRC.
4812 2008-01-10 Sebastian Dröge <slomo@circular-chaos.org>
4814 * gst/parse/Makefile.am:
4815 Move types.h from EXTRA_DIST to noinst_HEADERS.
4817 2008-01-10 Sebastian Dröge <slomo@circular-chaos.org>
4819 * autogen.sh:
4820 Add -Wno-portability to the automake parameters to stop warnings
4821 about GNU make extensions being used. We require GNU make in almost
4822 every Makefile anyway.
4824 * configure.ac:
4825 Use AM_PROG_CC_C_O as a compiler that accepts both -c and -o
4826 at the same time is required for per target flags.
4828 2008-01-09 Tim-Philipp Müller <tim at centricular dot net>
4830 * gst/gstmacros.h:
4831 Include glib/gmacros.h for G_BEGIN_DECLS. Check if
4832 __GNUC__ is defined before using it.
4834 2008-01-09 Tim-Philipp Müller <tim at centricular dot net>
4836 * docs/gst/gstreamer-sections.txt:
4837 * gst/gst.c: (init_post):
4838 * gst/gstplugin.c: (_gst_plugin_register_static),
4839 (gst_plugin_register_static), (_gst_plugin_initialize),
4840 (gst_plugin_register_func):
4841 * gst/gstplugin.h: (GST_PLUGIN_DEFINE_STATIC):
4842 API: add gst_plugin_register_static() and deprecate
4843 GST_PLUGIN_DEFINE_STATIC, since it's not portable
4844 (#498924).
4845 Also, in _gst_plugin_register_static(), make sure to call
4846 g_thread_init() before calling GLib functions such as
4847 g_list_append() if we're not initialised yet, since that
4848 may lead to random crashes with older GSlice/GLib versions.
4850 * tests/check/gst/gstplugin.c:
4851 Adapt unit test to above changes.
4853 2008-01-09 Tim-Philipp Müller <tim at centricular dot net>
4855 * gst/gst_private.h: (STRUCTURE_ESTIMATED_STRING_LEN):
4856 * gst/gstcaps.c: (gst_caps_to_string):
4857 * gst/gststructure.c: (GST_ASCII_IS_STRING),
4858 (priv_gst_structure_append_to_gstring), (gst_structure_to_string):
4859 Yet another gratuitous GString micro-optimisation: add a (private)
4860 function that serialises a structure appending to an existing
4861 GString, so that when we serialise caps we don't need to alloc+free
4862 a throwaway GString for each structure (each of which also entailing
4863 multiple reallocs on the way); also use g_string_sized_new() in
4864 various places with an approximate string length to avoid reallocs
4865 within GString. See #500143.
4867 2008-01-09 Tim-Philipp Müller <tim at centricular dot net>
4869 * gst/gststructure.c: (gst_structure_id_set_value):
4870 Always check UTF-8 conformance of structure strings and not only
4871 if the debugging system is enabled; reasoning: the behaviour of
4872 the actual code shouldn't really change depending on whether the
4873 debugging system is enabled or not (#508291).
4875 2008-01-09 Stefan Kost <ensonic@users.sf.net>
4877 * Makefile.am:
4878 Remove old coverage target in favour of "make lcov".
4880 2008-01-09 Wim Taymans <wim.taymans@collabora.co.uk>
4882 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
4883 (gst_base_src_loop):
4884 The start segment for reverse playback goes from start to last_stop.
4886 2008-01-09 Wim Taymans <wim.taymans@collabora.co.uk>
4888 Patch by: Peter Kjellerstedt <pkj axis com>
4890 * gst/gstclock.h:
4891 Cast the results from the timeval/spec_to_time macros to what the
4892 docs say it casts to, a GstClockTime. fixes #508175.
4894 2008-01-09 Wim Taymans <wim.taymans@collabora.co.uk>
4896 * gst/gstbuffer.c:
4897 Update some comments.
4899 * tools/gst-inspect.c: (print_element_properties_info):
4900 Improve printing of flags.
4902 2008-01-08 Tim-Philipp Müller <tim at centricular dot net>
4904 * libs/gst/base/gstbasetransform.c:
4905 (gst_base_transform_transform_size):
4906 Print element name with g_warning() if there's a problem
4907 with the unit size.
4909 2008-01-07 David Schleef <ds@schleef.org>
4911 Patch by: Damien Lespiau <damien.lespiau@gmail.com>
4913 * libs/gst/controller/gstcontroller.h:
4914 * libs/gst/controller/gstcontrolsource.h:
4915 * libs/gst/controller/gstinterpolationcontrolsource.h:
4916 * libs/gst/controller/gstlfocontrolsource.h:
4917 * libs/gst/dataprotocol/dataprotocol.h:
4918 Fix empty prototypes. Fixes bug #507957.
4920 2008-01-07 David Schleef <ds@schleef.org>
4922 * docs/faq/dependencies.xml: Fix typo.
4924 2008-01-07 Wim Taymans <wim.taymans@collabora.co.uk>
4926 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_do_seek),
4927 (gst_base_src_loop):
4928 Don't update the last_stop position in do_seek, that's the position we
4929 did a seek to.
4930 Read backwards when we have a negative rate.
4932 * tests/check/elements/filesrc.c: (event_func), (wait_eos),
4933 (setup_filesrc), (cleanup_filesrc), (GST_START_TEST),
4934 (filesrc_suite):
4935 Add check for reverse reading.
4937 2008-01-07 Tim-Philipp Müller <tim at centricular dot net>
4939 Patch by: Alexis Ballier <aballier at gentoo org>
4941 * tests/check/gst/gstabi.c:
4942 * tests/check/gst/struct_ppc64.h:
4943 * tests/check/libs/libsabi.c:
4944 * tests/check/libs/struct_ppc64.h:
4945 Decide which header to include based on the userland ABI target
4946 and not the kernel/cpu. Fix up structure sizes of ppc64 header
4947 for 64-bit userland (#503590). Might need something similar for
4948 x86 too.
4950 2008-01-05 Tim-Philipp Müller <tim at centricular dot net>
4952 * gst/gstdebugutils.c: (_gst_debug_bin_to_dot_file):
4953 Log the reason why fopen fails in addition to the fact that it failed.
4955 2008-01-04 Sebastian Dröge <slomo@circular-chaos.org>
4957 * gst/parse/parse.l:
4958 Use "%option never-interactive" to prevent useless calls to isatty()
4959 on every input when parsing. Also use "%option noinput" to not define
4960 the static input/yyinput functions which we don't use anyway. This
4961 removes a compiler warning with gcc 4.3 and saves some bytes in the
4962 library.
4964 * gst/parse/lex._gst_parse_yy.pre.c:
4965 Regenerated for the above change.
4967 2008-01-04 Wim Taymans <wim.taymans@collabora.co.uk>
4969 * gst/gstpad.c: (fixate_value):
4970 Don't crash when trying to fixate and empty list.
4971 Fixes #506643.
4973 2008-01-03 Sebastian Dröge <slomo@circular-chaos.org>
4975 * docs/faq/gst-uninstalled:
4976 Clarify the comments to make the usage of this script and what it
4977 does easier to understand.
4979 2008-01-01 Thijs Vermeir <thijsvermeir@gmail.com>
4981 * tools/gst-plot-timeline.py:
4982 Add more options to gst-plot-timeline
4984 2007-12-31 Wim Taymans <wim.taymans@collabora.co.uk>
4986 * docs/design/part-synchronisation.txt:
4987 Some more info on how the stream_time in GstBaseSink is done.
4989 2007-12-30 Tim-Philipp Müller <tim at centricular dot net>
4991 * tests/check/generic/sinks.c: (gst_sinks_suite):
4992 Put back the tcase_set_timeout(), apparently it's needed after
4993 all; fix it up in a way that makes things work with valgrind too.
4995 2007-12-30 Thijs Vermeir <thijsvermeir@gmail.com>
4997 * gst/gstdebugutils.c:
4998 Add warning when failed to open file for writing.
5000 2007-12-28 Tim-Philipp Müller <tim at centricular dot net>
5002 Based on patch by: Laurent Glayal <spglegle yahoo fr>
5004 * gst/gstvalue.c: (gst_value_is_fixed):
5005 Optimisation: bail out of the loop as early as possible (#500143).
5007 2007-12-28 Tim-Philipp Müller <tim at centricular dot net>
5009 * gst/gstcaps.c: (gst_caps_to_string):
5010 * gst/gstinfo.c: (gst_debug_construct_term_color):
5011 * gst/gstparse.c: (gst_parse_launchv):
5012 * gst/gstutils.c: (gst_util_dump_mem):
5013 * gst/gstvalue.c: (gst_value_serialize_any_list),
5014 (gst_value_transform_any_list_string):
5015 Bunch of gratuitous nano-optimisations.
5017 2007-12-28 Tim-Philipp Müller <tim at centricular dot net>
5019 * tests/check/generic/sinks.c: (async_done_func),
5020 (async_done_eos_func):
5021 Fix leak in unit test (bus sync handler must unref the message
5022 if it returns GST_BUS_DROP). Don't fiddle with the default test
5023 timeout, this is smaller than the current preconfigured value
5024 via CK_DEFAULT_TIMEOUT, and also breaks things with valgrind
5025 because it overrides the value specified in CK_DEFAULT_TIMEOUT.
5027 2007-12-24 Wim Taymans <wim.taymans@collabora.co.uk>
5029 Based on Patch by: Laurent Glayal <spglegle at yahoo dot fr>
5031 * configure.ac:
5032 Check for stdio_ext.h for the filesink changes.
5034 * plugins/elements/gstfilesink.c: (buffer_mode_get_type),
5035 (gst_file_sink_class_init), (gst_file_sink_init),
5036 (gst_file_sink_dispose), (gst_file_sink_set_property),
5037 (gst_file_sink_get_property), (gst_file_sink_open_file),
5038 (gst_file_sink_close_file):
5039 * plugins/elements/gstfilesink.h:
5040 Add two properties to control the buffering mode and size.
5041 API: GstFileSink::buffer-mode
5042 API: GstFileSink::buffer-size
5043 Fixes #500150.
5045 2007-12-24 Wim Taymans <wim.taymans@collabora.co.uk>
5047 * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked):
5048 Add some more docs to explain why a FIXME was wrongly added.
5050 2007-12-22 Sebastian Dröge <slomo@circular-chaos.org>
5052 * gst/gstobject.c:
5053 Fix typo in the gst_object_{ref,unref} documentation.
5055 2007-12-21 Tim-Philipp Müller <tim at centricular dot net>
5057 * tests/check/libs/controller.c:
5058 * tests/check/libs/typefindhelper.c:
5059 * tests/check/pipelines/parse-launch.c:
5060 Don't use GST_PLUGIN_DEFINE_STATIC, it is not portable and is
5061 going to be deprecated (see #498924).
5063 2007-12-21 Tim-Philipp Müller <tim at centricular dot net>
5065 * gst/gsttypefind.c: (gst_type_find_register):
5066 Make gst_type_find_register work for static typefind functions,
5067 ie. allow passing plugin == NULL (prerequisite for #498924).
5069 * gst/gstelementfactory.c: (gst_element_register):
5070 Small docs addition.
5072 2007-12-21 Wim Taymans <wim.taymans@collabora.co.uk>
5074 * gst/gstpad.c: (gst_pad_dispose):
5075 Really unlink the peer pad instead of setting the peer pointer to NULL
5076 when we dispose the pad.
5077 This correctly calls the unlink functions and makes sure that the peer
5078 does not have a handle to invalid memory. See #504671.
5080 * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
5081 Add testsuite for above case.
5083 2007-12-20 Tim-Philipp Müller <tim at centricular dot net>
5085 Patch by: Peter Kjellerstedt <pkj axis com>
5087 * libs/gst/check/gstcheck.h:
5088 Fix detection of the check version we're compiling against (would
5089 otherwise break if check goes v0.10.0); correctly report the
5090 name of the failed test again in case of failure, instead of
5091 just 'tf' (fixes #504499).
5093 2007-12-19 Wim Taymans <wim.taymans@collabora.co.uk>
5095 * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event),
5096 (gst_base_src_get_range), (gst_base_src_pad_get_range),
5097 (gst_base_src_loop), (gst_base_src_set_flushing),
5098 (gst_base_src_change_state):
5099 Allow sending EOS to the source to make it send out an EOS event from
5100 the streaming thread.
5101 Update docs and deprecate the old NULL/READY shutdown method.
5103 * tests/check/libs/basesrc.c: (GST_START_TEST),
5104 (gst_basesrc_suite):
5105 Add unit test for controlled shutdown.
5107 2007-12-19 Wim Taymans <wim.taymans@collabora.co.uk>
5109 * docs/design/part-synchronisation.txt:
5110 Small updates.
5112 * gst/gstsegment.c: (gst_segment_set_seek),
5113 (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
5114 (gst_segment_to_running_time):
5115 The seek format can be different from the segment format when the start
5116 and stop values are not to be updated, when we only do a rate change for
5117 example.
5119 * tests/check/gst/gstsegment.c: (GST_START_TEST),
5120 (gst_segment_suite):
5121 Add a testcase for the rate-only seeks, checking that the format is
5122 correctly ignored when start and stop are not updated.
5124 2007-12-18 Sebastian Dröge <slomo@circular-chaos.org>
5126 Patch by: Matthias Bolte <photon at mail dot upb dot de>
5128 * win32/vs8/grammar.vcproj:
5129 * win32/vs8/libgstcontroller.vcproj:
5130 * win32/vs8/libgstreamer.vcproj:
5131 Fix compilation with VS8 and include some missing files.
5133 2007-12-18 Tim-Philipp Müller <tim at centricular dot net>
5135 * gst/gsttaglist.c:
5136 Small docs addition: mention that the strings returned by
5137 gst_tag_list_get_string*() are in UTF-8 encoding.
5139 2007-12-17 Tim-Philipp Müller <tim at centricular dot net>
5141 * Makefile.am:
5142 The check-exports stuff moved to common/win32.mak, so include that.
5144 2007-12-17 Wim Taymans <wim.taymans@collabora.co.uk>
5146 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
5147 (gst_base_src_perform_seek), (gst_base_src_get_range),
5148 (gst_base_src_set_playing), (gst_base_src_change_state):
5149 Make _wait_playing() not check any variables so that we can call this
5150 function from subclasses. Move the checks elsewhere similar to
5151 _wait_preroll() in basesink.
5152 Add some debugging.
5153 Only signal the LIVE cond when we are going back to PLAYING.
5155 2007-12-16 Tim-Philipp Müller <tim at centricular dot net>
5157 * gst/gstregistrybinary.c: (gst_registry_binary_write_cache):
5158 Use g_remove() and g_rename(). Check result of g_rename(), and
5159 don't leak the open file descriptor if we error out when writing.
5161 * gst/gstregistryxml.c: (load_plugin), (gst_registry_xml_write_cache):
5162 Must check the return value of close() after writing out the new
5163 registry file. Sometimes write problems such as out-of-diskspace
5164 are only reported when the file is closed and not already during
5165 the write. This may have caused partial/broken registry files in
5166 some rare circumstances. Should fix #503675.
5168 2007-12-16 Edward Hervey <edward.hervey@collabora.co.uk>
5170 * docs/gst/.cvsignore:
5171 * docs/libs/.cvsignore:
5172 * docs/plugins/.cvsignore:
5173 Ignore files generated by new common/* modifications
5175 2007-12-15 Stefan Kost <ensonic@users.sf.net>
5177 * win32/common/libgstbase.def:
5178 Yes, you can also have a <TAB> if you want.
5180 2007-12-15 Stefan Kost <ensonic@users.sf.net>
5182 * win32/common/libgstbase.def:
5183 Add new basetransform API to win export file.
5185 2007-12-15 Stefan Kost <ensonic@users.sf.net>
5187 * tests/check/gst/gstbin.c:
5188 Adjust the test to the refcount change two days ago.
5190 2007-12-14 David Schleef <ds@schleef.org>
5192 * docs/faq/getting.xml: Fix typo.
5194 2007-12-14 Sebastian Dröge <slomo@circular-chaos.org>
5196 * docs/libs/gstreamer-libs-sections.txt:
5197 * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
5198 (gst_base_transform_prepare_output_buffer),
5199 (gst_base_transform_set_gap_aware):
5200 * libs/gst/base/gstbasetransform.h:
5201 API: Add gst_base_transform_set_gap_aware() to control whether
5202 the element correctly handles GST_BUFFER_FLAG_GAP or shouldn't
5203 get buffers with this flag at all. Fixes #503231.
5205 2007-12-13 Stefan Kost <ensonic@users.sf.net>
5207 * libs/gst/base/gstbasesink.c:
5208 * libs/gst/base/gstbasesrc.c:
5209 * libs/gst/base/gstbasetransform.c:
5210 Replace gst_pad_get_parent by GST_OBJECT_PARENT inside streaming
5211 thread. Correct log message in gstbasesrc.c.
5213 2007-12-13 Tim-Philipp Müller <tim at centricular dot net>
5215 * gst/gstutils.c: (element_find_unconnected_pad):
5216 Fix possible compiler warning (#503417).
5218 2007-12-13 Tim-Philipp Müller <tim at centricular dot net>
5220 * gst/gstobject.c: (gst_object_dispatch_properties_changed):
5221 Don't use GST_CAT_EVENT here for logging, it makes no sense.
5223 2007-12-13 Sebastian Dröge <slomo@circular-chaos.org>
5225 * tools/gst-inspect.c: (print_element_properties_info):
5226 Add support for GstFraction properties.
5228 2007-12-12 Tim-Philipp Müller <tim at centricular dot net>
5230 * Makefile.am:
5231 Add check-exports target and run it as part of 'make check'
5232 (see #499140 and #493983).
5234 * gst/gst_private.h:
5235 * gst/gstelementfactory.h:
5236 * gst/gstghostpad.c: (gst_proxy_pad_class_init):
5237 * gst/gstinfo.c: (_priv_gst_in_valgrind), (_gst_debug_init),
5238 (_priv_gst_in_valgrind):
5239 * gst/gstinfo.h: (GstLogFunction):
5240 * gst/gsttypefind.c: (type_find_debug), (GST_CAT_DEFAULT),
5241 (gst_type_find_register):
5242 * gst/gsttypefindfactory.c: (type_find_debug), (GST_CAT_DEFAULT),
5243 (gst_type_find_factory_get_type):
5244 * libs/gst/controller/gstcontroller.c: (GST_CAT_DEFAULT),
5245 (GST_CAT_DEFAULT), (parent_class), (priv_gst_controller_key),
5246 (gst_controller_new_valist), (gst_controller_new_list),
5247 (_gst_controller_dispose), (_gst_controller_class_init):
5248 * libs/gst/controller/gstcontrolsource.c: (GST_CAT_DEFAULT):
5249 * libs/gst/controller/gsthelper.c: (GST_CAT_DEFAULT),
5250 (GST_CAT_DEFAULT), (gst_object_uncontrol_properties),
5251 (gst_object_get_controller), (gst_object_set_controller),
5252 (gst_object_suggest_next_sync), (gst_object_sync_values),
5253 (gst_object_set_control_source), (gst_object_get_control_source),
5254 (gst_object_get_value_arrays), (gst_object_get_value_array),
5255 (gst_object_get_control_rate), (gst_object_set_control_rate):
5256 * libs/gst/controller/gstinterpolation.c: (GST_CAT_DEFAULT):
5257 * libs/gst/controller/lib.c: (GST_CAT_DEFAULT):
5258 Make some functions that should be static static; rename some
5259 private symbols so that they don't get exported; add some FIXME
5260 comments so we can move accidentally exported functions into
5261 our private section in 0.11.
5263 * win32/common/libgstreamer.def:
5264 Add gst_utils_get_timestamp().
5266 2007-12-12 Stefan Kost <ensonic@users.sf.net>
5268 * gst/gstvalue.c:
5269 * gst/gstvalue.h:
5270 Add more missing "Since:" tags to docs.
5272 2007-12-12 Stefan Kost <ensonic@users.sf.net>
5274 * gst/gstutils.c:
5275 Add mising "Since:" to docs.
5277 2007-12-11 Stefan Kost <ensonic@users.sf.net>
5279 * gst/gstplugin.c:
5280 Include "glib-compat-private.h" to fix the build on system with
5281 glib < 2.10. Fixes #503131.
5283 2007-12-11 Stefan Kost <ensonic@users.sf.net>
5285 * gst/gstutils.c:
5286 * gst/gstutils.h:
5287 Actually its not PURE as it gets the time from elsewhere.
5289 2007-12-11 Stefan Kost <ensonic@users.sf.net>
5291 * docs/gst/gstreamer-sections.txt:
5292 * gst/gstclock.h:
5293 * gst/gstdebugutils.c:
5294 * gst/gstinfo.c:
5295 * gst/gstutils.c:
5296 * gst/gstutils.h:
5297 * libs/gst/base/gstbasesink.c:
5298 * tools/gst-launch.c:
5299 Change GST_GET_TIMESTAMP into gst_util_get_timestamp and replace all
5300 uses as we don't have HAVE_POSIX_TIMERS in public headers.
5301 Thanks Tim for spotting.
5302 API: gst_util_get_timestamp
5304 2007-12-09 Sebastian Dröge <slomo@circular-chaos.org>
5306 * configure.ac:
5307 Don't define GST_DISABLE_DEPRECATED for releases. Fixes #498181.
5309 2007-12-08 Tim-Philipp Müller <tim at centricular dot net>
5311 * gst/gststructure.c: (gst_structure_validate_name),
5312 (gst_structure_new_valist), (gst_structure_parse_value),
5313 (gst_structure_from_string):
5314 Don't crash in _from_string() if the structure name is not valid
5315 (fixes #501560). Allow structure names to start with a number
5316 again (this apparently broke the ubuntu codec installer).
5318 * tests/check/gst/gststructure.c: (GST_START_TEST), (GST_START_TEST),
5319 (GST_START_TEST):
5320 Add unit test for the crash; update unit tests for new behaviour.
5322 2007-12-03 Wim Taymans <wim.taymans@gmail.com>
5324 * gst/gstutils.c:
5325 Clarify gst_element_get_compatible_pad() documentation.
5326 Fixes #500919.
5328 2007-12-02 Sebastian Dröge <slomo@circular-chaos.org>
5330 * tests/check/Makefile.am:
5331 Don't forget to dist {gst,libs}/struct_hppa.h.
5333 2007-11-28 Stefan Kost <ensonic@users.sf.net>
5335 * libs/gst/base/gstbasesink.c:
5336 Use new API to get elapsed time.
5338 2007-11-28 Stefan Kost <ensonic@users.sf.net>
5340 * gst/gstdebugutils.c:
5341 * gst/gstinfo.c:
5342 Fix wrong order of args in GST_CLOCK_DIFF() usage.
5344 * tools/gst-launch.c:
5345 Use new API to get elapsed time.
5347 2007-11-28 Stefan Kost <ensonic@users.sf.net>
5349 * docs/gst/gstreamer-sections.txt:
5350 * gst/gstclock.h:
5351 * gst/gstdebugutils.c:
5352 * gst/gstinfo.c:
5353 Rename new API + ChangeLog surgery to remove old name from last entry..
5355 2007-11-28 Stefan Kost <ensonic@users.sf.net>
5357 * docs/gst/gstreamer-sections.txt:
5358 * gst/gstclock.h:
5359 * gst/gstdebugutils.c:
5360 * gst/gstinfo.c:
5361 Now hide the different clock stuff behind a macro.
5363 2007-11-28 Stefan Kost <ensonic@users.sf.net>
5365 * configure.ac:
5366 * gst/gstdebugutils.c:
5367 * gst/gstinfo.c:
5368 Apply the posix-timer check from #361155. Conditionally use the posix
5369 timer for logging. This gives better timestamp precission, less
5370 overhead and no ntp jitter.
5372 2007-11-28 Sebastian Dröge <slomo@circular-chaos.org>
5374 * gst/gstminiobject.c: (gst_mini_object_get_type),
5375 (gst_mini_object_class_init), (gst_mini_object_copy_default),
5376 (gst_mini_object_finalize), (gst_mini_object_copy),
5377 (gst_mini_object_is_writable), (gst_mini_object_make_writable),
5378 (gst_mini_object_replace), (param_mini_object_validate),
5379 (gst_param_spec_mini_object_get_type):
5380 Some cleanup and checking against invalid function parameters.
5382 2007-11-28 Wim Taymans <wim.taymans@gmail.com>
5384 * docs/gst/gstreamer-sections.txt:
5385 * gst/gstclock.h:
5386 * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
5387 (gst_systemclock_suite):
5388 Start merging in the easy bits of #361155, the monotonic clock patch.
5389 This one adds a few handy macros with docs and a testsuite.
5391 2007-11-27 Wim Taymans <wim.taymans@gmail.com>
5393 * plugins/elements/gstfilesink.c: (gst_file_sink_event):
5394 Be a bit smarter when seeking, like, don't try to do a seek when it's
5395 not needed. This avoids errors when the file is not seekable.
5396 Fixes #499771.
5398 2007-11-26 Stefan Kost <ensonic@users.sf.net>
5400 * docs/gst/gstreamer-docs.sgml:
5401 * docs/gst/gstreamer-sections.txt:
5402 * docs/gst/gstreamer.types.in:
5403 * gst/Makefile.am:
5404 * gst/gst.h:
5405 * gst/gstpreset.c:
5406 * gst/gstpreset.h:
5407 * plugins/elements/gstqueue.c:
5408 Due to popular request remove preset interface again. :-(.
5410 2007-11-22 Stefan Kost <ensonic@users.sf.net>
5412 * tools/gst-inspect.c:
5413 Print 'default value' for enums and flags too.
5415 2007-11-22 Stefan Kost <ensonic@users.sf.net>
5417 * docs/random/ensonic/profiling.txt:
5418 More ideas.
5420 * gst/gstbin.c:
5421 Fix typo and give better log output.
5423 * gst/gstdebugutils.c:
5424 * gst/gstdebugutils.h:
5425 More ideas, make graphs a bit smaller and fix param name in macro.
5427 2007-11-22 Stefan Kost <ensonic@users.sf.net>
5429 * gst/gstpreset.c:
5430 Try harder to use the return value from fgets().
5432 2007-11-21 Stefan Kost <ensonic@users.sf.net>
5434 * gst/gstpreset.c:
5435 For theses two fgets we handle the error below.
5437 2007-11-21 Wim Taymans <wim.taymans@gmail.com>
5439 * libs/gst/base/gstbasesink.c: (gst_base_sink_send_event):
5440 Only send upstream events upstream. Fixes #498746.
5442 2007-11-21 Wim Taymans <wim.taymans@gmail.com>
5444 Patch by: Laurent Glayal <spglegle at yahoo dot fr>
5446 * plugins/elements/gstidentity.c: (gst_identity_class_init),
5447 (gst_identity_init), (gst_identity_transform_ip),
5448 (gst_identity_set_property), (gst_identity_get_property):
5449 * plugins/elements/gstidentity.h:
5450 Add property to disable handoff signal emission. Fixes #498694.
5451 API: GstIdentity::signal-handoffs
5453 2007-11-21 Julien Moutte <julien@fluendo.com>
5455 * docs/faq/gst-uninstalled: Yet another missing library for the
5456 uninstalled script (fft)
5458 2007-11-21 Jan Schmidt <jan.schmidt@sun.com>
5460 * docs/faq/developing.xml:
5461 Add a question about how to submit new translations.
5463 * docs/random/release:
5464 Update the contact email address for the Translation Project
5466 * plugins/elements/gstfdsrc.c:
5467 The parent_class for fdsrc is pushsrc, not GstElement.
5469 2007-11-20 Stefan Kost <ensonic@users.sf.net>
5471 * gst/gstpreset.c:
5472 Plug a leak and fix saving.
5474 2007-11-20 Sebastian Dröge <slomo@circular-chaos.org>
5476 * docs/gst/gstreamer-sections.txt:
5477 Add new gst_preset__get_property_names() function to the docs
5478 to fix the build.
5480 2007-11-20 Stefan Kost <ensonic@users.sf.net>
5482 * gst/gstpreset.c:
5483 * gst/gstpreset.h:
5484 Change _get_preset_names API to return a strv with copies. Add
5485 _get_property_names to allow implementations to filter and provide
5486 good default implementation.
5488 2007-11-20 Julien MOUTTE <julien@moutte.net>
5490 * docs/faq/gst-uninstalled: Add another library to the uninstalled
5491 script (sdp).
5493 2007-11-19 Stefan Kost <ensonic@users.sf.net>
5495 * gst/gstpreset.c:
5496 More cleanups, docs, and TODOs from comments that now slowly come in.
5498 2007-11-19 Julien MOUTTE <julien@moutte.net>
5500 * docs/faq/gst-uninstalled: Add new base libraries in the LD
5501 search path.
5503 2007-11-19 Stefan Kost <ensonic@users.sf.net>
5505 * gst/gstpreset.c:
5506 Fix bogus warning and make the property type specific code more
5507 similar.
5509 2007-11-19 Julien MOUTTE <julien@moutte.net>
5511 * gst/gstpreset.c: (gst_preset_default_create_preset): Make
5512 it build on OS X.
5514 2007-11-19 Wim Taymans <wim.taymans@gmail.com>
5516 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
5517 (gst_bin_add_func), (gst_bin_remove_func),
5518 (gst_bin_change_state_func), (gst_bin_continue_func):
5519 Change email, cleanups add some more debug and comments.
5520 Also set bus and clock on new elements when the pipeline was in error.
5522 2007-11-18 Stefan Kost <ensonic@users.sf.net>
5524 * gst/gstbin.c:
5525 * gst/gstdebugutils.c:
5526 Fix build with --disable-gst-debug. Fixes #497859.
5527 Spotted by Sameer Naik.
5529 2007-11-17 Stefan Kost <ensonic@users.sf.net>
5531 * gst/gstevent.c:
5532 Little documentation improvment.
5534 * gst/gstpreset.c:
5535 More TODO cleanups. Remove c++ comments.
5537 * libs/gst/controller/gstcontroller.c:
5538 Add TODO and use quark from static string.
5540 * tests/check/gst/gstmessage.c:
5541 * tests/check/gst/gststructure.c:
5542 Use quark from static string.
5544 2007-11-17 Stefan Kost <ensonic@users.sf.net>
5546 * gst/gstpreset.c:
5547 Add some comments and TODOs.
5549 * gst/gstpreset.h:
5550 Add padding for future changes.
5552 * plugins/elements/gstqueue.c:
5553 Implement the iface.
5555 2007-11-17 Stefan Kost <ensonic@users.sf.net>
5557 * docs/gst/gstreamer-docs.sgml:
5558 * docs/gst/gstreamer-sections.txt:
5559 * docs/gst/gstreamer.types.in:
5560 * gst/Makefile.am:
5561 * gst/gst.h:
5562 * gst/gstpreset.c:
5563 * gst/gstpreset.h:
5564 Add the preset interface (Fixes #396779). Do some doc cleanups along.
5566 2007-11-16 Jan Schmidt <jan.schmidt@sun.com>
5568 * configure.ac:
5570 Back to CVS
5572 === release 0.10.15 ===
5574 2007-11-15 Jan Schmidt <jan.schmidt@sun.com>
5576 * configure.ac:
5577 releasing 0.10.15, "October"
5579 2007-11-14 Jan Schmidt <jan.schmidt@sun.com>
5581 * win32/vs6/libgstreamer.dsp:
5582 Convert line endings back to DOS.
5584 2007-11-13 Stefan Kost <ensonic@users.sf.net>
5586 * docs/design/draft-tagreading.txt:
5587 * docs/random/ensonic/profiling.txt:
5588 Update fast tagreading draft and performance profiling ideas.
5590 2007-11-09 Wim Taymans <wim.taymans@gmail.com>
5592 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_last_buffer):
5593 Don't hold the object lock when unreffing a buffer because it could
5594 cause a deadlock when the finalize function wants to grab the object
5595 lock too. Fixes #495133.
5597 2007-11-09 Wim Taymans <wim.taymans@gmail.com>
5599 * gst/gstsegment.c: (gst_segment_set_newsegment_full),
5600 (gst_segment_to_stream_time), (gst_segment_to_running_time):
5601 Also accumulate time correctly when doing reverse playback. Fixes
5602 #488201,
5603 When converting to running and stream time, use default values for
5604 start/stop/time/accum when comparing different formats. Fixes #494245.
5606 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
5607 Do running/stream time in TIME format.
5609 * tests/check/gst/gstsegment.c: (GST_START_TEST),
5610 (gst_segment_suite):
5611 2 new unit tests for segment accumulation.
5613 2007-11-07 Tim-Philipp Müller <tim at centricular dot net>
5615 * gst/gst.c: (init_pre):
5616 * gst/gstdebugutils.c: (priv_gst_dump_dot_dir), (debug_dump_element),
5617 (_gst_debug_bin_to_dot_file):
5618 Move getenv() back into gst_init, so everyone can live happily
5619 ever after. Make sure the symbol isn't exported though.
5621 2007-11-06 Tim-Philipp Müller <tim at centricular dot net>
5623 Patch by: Sebastien Moutte <sebastien moutte net>
5625 * win32/common/gstenumtypes.c:
5626 * win32/common/gstenumtypes.h:
5627 Update enum types.
5629 * win32/vs6/libgstreamer.dsp:
5630 Update vs6 project files (#494343).
5632 2007-11-06 Wim Taymans <wim.taymans@gmail.com>
5634 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query),
5635 (gst_base_src_perform_seek), (gst_base_src_default_event),
5636 (gst_base_src_set_flushing), (gst_base_src_activate_push),
5637 (gst_base_src_activate_pull):
5638 Unify flushing code, remove some old unlock code that is no longer used.
5639 Take the streaming lock when seeking to avoid races. Fixes #492729.
5640 Added some more comments.
5642 2007-11-06 Tim-Philipp Müller <tim at centricular dot net>
5644 * gst/gst.c: (_gst_disable_segtrap):
5645 Make _gst_disable_segtrap static, it's only used in gstplugin.c and
5646 we can use gst_segtrap_is_enabled() there now that we have that API.
5647 Move _gst_debug_dump_dot_dir into gstdebugutils.c, there's no reason
5648 to do the getenv here (and export the variable).
5650 * gst/gstdebugutils.c: (debug_dump_element),
5651 (_gst_debug_bin_to_dot_file), (_gst_debug_bin_to_dot_file_with_ts):
5652 Don't use VLAs which is a C99ism and throws off MSVC (#493983).
5654 * gst/gstinfo.c: (_priv_gst_info_start_time), (_gst_debug_init),
5655 (gst_debug_log_default):
5656 Rename _gst_info_start_time to priv_gst_info_start_time so it
5657 doesn't get exported (was never in any header).
5659 * gst/gstplugin.c: (_gst_plugin_fault_handler_setup),
5660 (gst_plugin_loading_mutex):
5661 Make static mutex gst_plugin_loading_mutex really static (was never
5662 in any header), and use gst_segtrap_is_enabled() instead of
5663 _gst_disable_segtrap.
5665 * gst/gsttrace.c: (_gst_trace_default):
5666 Make local _gst_trace_default static (was never in any header).
5668 2007-11-06 Tim-Philipp Müller <tim at centricular dot net>
5670 Patch by: Ole André Vadla Ravnås <ole.andre.ravnas@tandberg.com>
5672 * win32/common/libgstbase.def:
5673 * win32/common/libgstcontroller.def:
5674 * win32/common/libgstdataprotocol.def:
5675 * win32/common/libgstnet.def:
5676 * win32/common/libgstreamer.def:
5677 Add more missing symbols, remove some duplicates, and sort
5678 as the 'sort' command sorts it (partially fixes #493983).
5680 2007-11-06 Wim Taymans <wim.taymans@gmail.com>
5682 * gst/gstelement.c: (gst_element_set_state_func):
5683 Only change the state cookie if a different state was set on the
5684 element. See #492729.
5686 2007-11-06 Tim-Philipp Müller <tim at centricular dot net>
5688 * gst/gstvalue.c:
5689 Remove unused and uninitialised type variables that were still
5690 exported for some reason (they were never in any header files
5691 though).
5693 2007-11-06 Wim Taymans <wim.taymans@gmail.com>
5695 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
5696 (gst_base_sink_do_sync), (gst_base_sink_preroll_object),
5697 (gst_base_sink_event), (gst_base_sink_get_position_last),
5698 (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
5699 (gst_base_sink_change_state):
5700 Don't try to report a 0 position when we don't know, return -1 and FALSE
5701 instead. This mostly happens when we are prerolling.
5702 Make sure we can report the right position before we post the ASYNC_DONE
5703 message so that a message handler can query position without races.
5705 * tests/check/generic/sinks.c: (send_eos), (GST_START_TEST),
5706 (async_done_handoff), (async_done_func), (send_buffer),
5707 (async_done_eos_func), (gst_sinks_suite):
5708 Add two tests for the above.
5710 2007-11-06 Wim Taymans <wim.taymans@gmail.com>
5712 * MAINTAINERS:
5713 Update with new email address.
5715 * docs/design/part-TODO.txt:
5716 Add some more info about future pad-block and negotiation changes.
5718 * docs/design/part-buffering.txt:
5719 Add some ideas about buffering reporting.
5721 2007-11-06 Jan Schmidt <jan.schmidt@sun.com>
5723 * tests/check/gst/gstobject.c:
5724 Disable silly racy test that always fails on this combination of CPU
5725 and kernel.
5727 2007-11-03 Tim-Philipp Müller <tim at centricular dot net>
5729 Patch by: Murray Cumming <murrayc@murrayc.com>
5731 * gst/gstobject.c:
5732 Corrected the registration of the parent-set and parent-unset
5733 signals: The parameter is a GstObject, not a GObject (#493134).
5735 2007-11-02 Tim-Philipp Müller <tim at centricular dot net>
5737 * gst/gst_private.h:
5738 * gst/gstbuffer.h:
5739 * gst/gstevent.h:
5740 * gst/gstformat.h:
5741 * gst/gstmessage.h:
5742 * gst/gstplugin.h:
5743 * gst/gstquery.h:
5744 * gst/gsttaglist.h:
5745 * gst/gstvalue.h:
5746 Move declaration of private _gst_foo_initialize() functions into
5747 our private header file where they should have been all along.
5749 2007-11-02 Tim-Philipp Müller <tim at centricular dot net>
5751 * docs/plugins/gstreamer-plugins-sections.txt:
5752 * gst/gstdebugutils.h:
5753 * gst/gstxml.h:
5754 * plugins/elements/gstqueue.c:
5755 gtk-doc fixes; trailing-comma-in-enum fix.
5757 2007-11-02 Tim-Philipp Müller <tim at centricular dot net>
5759 * gst/gst.c: (gst_deinit):
5760 Clean up on deinit (not the external ones though, doesn't seem to be
5761 needed for some reason).
5763 2007-11-01 Tim-Philipp Müller <tim at centricular dot net>
5765 * gst/gstinfo.h: (GST_DEBUG_CATEGORY_EXTERN):
5766 Remove __declspec(dllimport) for MSVC that was copied over into core
5767 from a plugin, obviously without ever having been tested (note the
5768 single underscore in _declspec in the initial commit), and that doesn't
5769 really make sense. See #492077.
5771 2007-11-01 Tim-Philipp Müller <tim at centricular dot net>
5773 * gst/gst.c: (init_post):
5774 * gst/gstevent.c: (_gst_event_initialize):
5775 * gst/gstquery.c: (_gst_query_initialize):
5776 * libs/gst/dataprotocol/dataprotocol.c (gst_dp_init):
5777 g_type_class_ref() other types as well, see #349410 and #64764.
5779 * gst/gstbuffer.c: (_gst_buffer_initialize):
5780 * gst/gstmessage.c: (_gst_message_initialize):
5781 Simplify existing g_type_class_ref().
5783 2007-11-01 Tim-Philipp Müller <tim at centricular dot net>
5785 * gst/gstformat.c: (_gst_format_initialize):
5786 g_type_class_ref() our GstFormat type to make sure we avoid the
5787 thread-unsafe bits of the GObject/GType system, ie. bug #349410 and
5788 bug #64764. Should fix intermittent tee unit test failures (#474823).
5790 2007-11-01 Tim-Philipp Müller <tim at centricular dot net>
5792 * tests/check/elements/tee.c: (test_num_buffers):
5793 Simplify, simplify, simplify - or not. Rewrite unit test
5794 not to use gst_parse_launch(); allow N sub-streams. Increasing
5795 the number of sub-streams seems to reproduce #474823 more easily.
5797 2007-10-31 Tim-Philipp Müller <tim at centricular dot net>
5799 Patch by: Ole André Vadla Ravnås <ole.andre.ravnas@tandberg.com>
5801 * gst/gsttrace.c:
5802 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_new):
5803 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
5804 * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_new):
5805 Fix a couple of missing includes for MSVC2005 and a C99 issue. Also,
5806 starting with 2.14.0, GLib won't provide a pipe() macro any longer,
5807 so use _pipe() directly (#492077).
5809 * win32/common/dirent.c: (_treaddir):
5810 Add a couple of casts to make it build without warnings with MSVC.
5812 * win32/common/libgstreamer.def:
5813 Add some more symbols that need to be exported.
5815 2007-10-31 Tim-Philipp Müller <tim at centricular dot net>
5817 * tests/examples/metadata/read-metadata.c: (message_loop):
5818 Use _KEEP as merge mode rather than _KEEP_ALL, so tags
5819 arriving in a second or third tag message are added to
5820 the tag list as well.
5822 2007-10-31 Stefan Kost <ensonic@users.sf.net>
5824 * libs/gst/base/gstbasesrc.c:
5825 Its "Since:" and not "@Since:". And remove an superflous cast.
5827 2007-10-30 Wim Taymans <wim.taymans@gmail.com>
5829 * docs/libs/gstreamer-libs-sections.txt:
5830 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
5831 (gst_base_sink_get_last_buffer), (gst_base_sink_set_last_buffer),
5832 (gst_base_sink_get_property), (gst_base_sink_render_object),
5833 (gst_base_sink_preroll_object),
5834 (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
5835 (gst_base_sink_change_state):
5836 * libs/gst/base/gstbasesink.h:
5837 Add a new last-buffer property that contains the last buffer used in
5838 basesink for preroll or rendering. useful for making snapshots.
5839 API: gst_base_sink_get_last_buffer()
5840 API: GstBaseSink::last-buffer
5842 2007-10-29 Stefan Kost <ensonic@users.sf.net>
5844 * docs/gst/running.xml:
5845 * gst/gst.c:
5846 * gst/gstdebugutils.c:
5847 * gst/gstdebugutils.h:
5848 * tools/gst-launch.c:
5849 Improve bin graph dumping, by using the envvar to specify a path.
5850 Rename the envvar to GST_DEBUG_DUMP_DOT_DIR.
5852 2007-10-29 Tim-Philipp Müller <tim at centricular dot net>
5854 * plugins/elements/gsttypefindelement.c:
5855 (gst_type_find_element_handle_event),
5856 (gst_type_find_element_activate):
5857 Post special error message if we can't determine the type of a stream
5858 because it's empty.
5860 2007-10-29 Stefan Kost <ensonic@users.sf.net>
5862 * docs/gst/running.xml:
5863 * gst/gstdebugutils.c:
5864 Document new env-var. Add one log-line after dumpng a graph.
5866 2007-10-26 Tim-Philipp Müller <tim at centricular dot net>
5868 * configure.ac:
5869 Ugly hack to put the (recently removed and non-portable, apparently)
5870 -Wl,--export-dynamic back into libgstcheck's LDFLAGS when we're using
5871 GNU ld, because without that 'make check' fails miserably on my debian
5872 stable box. Someone with more knowledge of linker intricacies and
5873 portability issues than me fix this properly please.
5875 2007-10-25 Wim Taymans <wim.taymans@gmail.com>
5877 * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
5878 Reset last seen position after flushing so that we don't report the old
5879 position anymore.
5881 2007-10-25 Jan Schmidt <Jan.Schmidt@sun.com>
5883 * gst/gstelementfactory.c: (gst_element_register):
5884 * gst/gsturi.h:
5885 Patch from Alessandro Decina adding get_type_full and
5886 get_protocols_full private vfuncs to the URIHandler interface
5887 to allow bindings to support creating URI handlers.
5888 Partially fixes: #339279
5889 API: GstURIHandlerInterface::get_type_full
5890 API: GstURIHandlerInterface::get_protocols_full
5892 2007-10-25 Jan Schmidt <Jan.Schmidt@sun.com>
5894 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
5895 (gst_multi_queue_request_new_pad), (gst_single_queue_flush),
5896 (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push):
5897 Make it so that pads are considered linked until a buffer is pushed
5898 and discovered otherwise. This avoids problems with decodebin2 hanging
5899 after a seek in the filesrc ! decodebin2 name=d ! fakesink d. ! fakesink
5900 case.
5902 Make sure we lock the multiqueue when updating the max-size properties.
5904 Fix a crash on Solaris in a debug statement in get_request_pad that
5905 passes a NULL string to GST_DEBUG.
5907 * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
5908 (run_output_order_test):
5909 Fix the test to allow the first buffer on not-linked pads to come out
5910 of sequence while multiqueue discovers that they are not-linked.
5912 2007-10-25 Jan Schmidt <Jan.Schmidt@sun.com>
5914 * configure.ac:
5915 * libs/gst/check/Makefile.am:
5916 Use a custom export symbol regex for libgstcheck, as it needs
5917 to export symbols that don't match the standard GStreamer gst_*
5918 pattern, and --export-dynamic is not portable (only works on
5919 GNU ld)
5921 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
5922 (gst_check_setup_sink_pad):
5923 Make sure to pass a message parameter to the fail_* macros.
5925 * tests/check/gst/gstinfo.c: (GST_START_TEST):
5926 Fix some compiler warnings.
5928 2007-10-25 Tim-Philipp Müller <tim at centricular dot net>
5930 * tests/check/gst/gststructure.c: (test_to_string):
5931 Disable test that checks that white spaces are not allowed
5932 in structure names or field names, since we need to
5933 support that for now for backwards compatibility reasons.
5935 2007-10-24 Tim-Philipp Müller <tim at centricular dot net>
5937 * docs/gst/gstreamer-sections.txt:
5938 * gst/gsttaglist.c:
5939 * gst/gsttaglist.h:
5940 API: add GST_TAG_ARTIST_SORTNAME
5941 API: add GST_TAG_ALBUM_SORTNAME
5942 API: add GST_TAG_TITLE_SORTNAME
5943 Add tag variants for sorting (#414539).
5945 2007-10-24 Tim-Philipp Müller <tim at centricular dot net>
5947 * gst/gststructure.c:
5948 Also allow white space for names so we don't break
5949 backwards compatibility.
5951 2007-10-22 Wim Taymans <wim.taymans@gmail.com>
5953 * docs/design/part-TODO.txt:
5954 * docs/design/part-segments.txt:
5955 * docs/design/part-streams.txt:
5956 Small updates.
5958 2007-10-22 Edgard Lima <edgard.lima@indt.org.br>
5960 * docs/gst/gstreamer-sections.txt:
5961 Fixed documentation from my previous commit (added new API add
5962 gst_value_set_structure(), add gst_value_get_structure() and
5963 GST_VALUE_HOLDS_STRUCTURE).
5965 2007-10-22 Stefan Kost <ensonic@users.sf.net>
5967 * gst/gstdebugutils.c:
5968 Reflow code to fix uninitialized variable warning.
5970 2007-10-22 Edgard Lima <edgard.lima@indt.org.br>
5972 * gst/gstcaps.c: (gst_caps_to_string),
5973 (gst_caps_from_string_inplace):
5974 * gst/gststructure.c: (gst_structure_get_abbrs),
5975 (gst_structure_to_string), (gst_structure_from_string):
5976 * gst/gstvalue.c: (gst_value_set_structure),
5977 (gst_value_get_structure), (gst_value_serialize_structure),
5978 (gst_value_deserialize_structure), (_gst_value_initialize):
5979 * gst/gstvalue.h:
5980 * tests/check/gst/gststructure.c: (GST_START_TEST),
5981 (gst_structure_suite):
5982 * tests/check/gst/gstvalue.c: (GST_START_TEST):
5983 Added GstStructure to gst_value_table and its related functions.
5984 Changed gst_structure_to_string to print ';' in the end.
5985 Changed gst_caps_to_string to not print ';' beteween its
5986 fields (structures) anymore and remove the lastes ';' from latest
5987 structure. Now it is possible to have nested structures.
5988 In addition, backward compatibilty is assured by accepting '\0' as
5989 end delimiter. Fixes: #487969.
5990 API: add gst_value_set_structure()
5991 API: add gst_value_get_structure()
5992 API: add GST_VALUE_HOLDS_STRUCTURE
5994 2007-10-19 Tim-Philipp Müller <tim at centricular dot net>
5996 * gst/gstbus.c:
5997 When no GSource callback has been set up, tell developer
5998 to use a function that actually exists.
6000 2007-10-17 Stefan Kost <ensonic@users.sf.net>
6002 * docs/gst/gstreamer-sections.txt:
6003 * gst/Makefile.am:
6004 * gst/gst.c:
6005 * gst/gst.h:
6006 * gst/gstdebugutils.c:
6007 * gst/gstdebugutils.h:
6008 * gst/gstinfo.c:
6009 * gst/gstinfo.h:
6010 * tools/gst-launch.c:
6011 Allow dumping pipelines as dot graphs. Fixes #456573.
6013 2007-10-16 Tim-Philipp Müller <tim at centricular dot net>
6015 * gst/gststructure.c:
6016 Allow '+' as well, it can be part of media or mime types
6017 such as image/svg+xml.
6019 2007-10-16 Tim-Philipp Müller <tim at centricular dot net>
6021 * docs/gst/gstreamer-sections.txt:
6022 * gst/gstbus.c:
6023 * gst/gstbus.h:
6024 API: add gst_bus_pop_filtered
6025 API: add gst_bus_timed_pop_filtered
6026 Two new functions for waiting for specific message types on the
6027 bus for a specified amount of time without iterating any main
6028 loops or main contexts.
6030 * tests/check/gst/gstbus.c:
6031 Some tests for the new functions.
6033 2007-10-16 Tim-Philipp Müller <tim at centricular dot net>
6035 * docs/libs/gstreamer-libs-sections.txt:
6036 Make gtk-doc ignore stuff it should ignore.
6038 2007-10-16 Tim-Philipp Müller <tim at centricular dot net>
6040 * libs/gst/check/gstcheck.c:
6041 * libs/gst/check/gstcheck.h:
6042 Allow runtime selection of unit tests to run via the GST_CHECKS
6043 environment variable (test case function names, comma-separated).
6045 2007-10-16 Stefan Kost <ensonic@users.sf.net>
6047 * gst/gststructure.c:
6048 * tests/check/gst/gststructure.c:
6049 Revert serialisation change and constrain structure-names after
6050 consensus on irc. Update api documentation to reflect the change.
6052 2007-10-16 Stefan Kost <ensonic@users.sf.net>
6054 * gst/gststructure.c:
6055 Improve serialization and fix tests.
6057 * tests/check/gst/gststructure.c:
6058 Add another test that covers why I actually did the previous structure
6059 change.
6061 2007-10-15 Wim Taymans <wim.taymans@gmail.com>
6063 * tools/gst-inspect.c: (print_element_info):
6064 Don't crash when inspecting an element.
6066 2007-10-15 Tim-Philipp Müller <tim at centricular dot net>
6068 * tests/check/gst/gststructure.c:
6069 Add unit test for escaping of structure name when serialising
6070 and deserialising to/from strings.
6072 2007-10-15 Wim Taymans <wim.taymans@gmail.com>
6074 * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
6075 (gst_single_queue_new):
6076 * plugins/elements/gstqueue.c: (gst_queue_init),
6077 (gst_queue_push_one):
6078 Fix queue negotiation. If acceptcaps unconditionally returns TRUE,
6079 upstream is tricked into thinking it can suggest a format downstream
6080 while downstream does not support that format. The real problem is that
6081 core calls acceptcaps when pushing a buffer with new caps, for which we
6082 do a little workaround by setting the caps on the srcpad ourselves
6083 before pushing the buffer (until this is figured out). Fixes #486758.
6085 2007-10-15 Stefan Kost <ensonic@users.sf.net>
6087 * gst/gststructure.c:
6088 * gst/gstvalue.c:
6089 Add some more comments and debug output. Quote structure name to fix
6090 deserialisation of some strings.
6092 2007-10-15 Stefan Kost <ensonic@users.sf.net>
6094 * gst/gstbuffer.h:
6095 Define GST_BUFFER_FLAG_GAP more strictly to enable optimizations based
6096 on it. Fix docs for GST_BUFFER_MALLOCDATA and GstBuffer.malloc_data.
6098 2007-10-15 Stefan Kost <ensonic@users.sf.net>
6100 * tools/gst-inspect.c:
6101 Save approx. 400 1 byte allocs when printing. Use API to acces element
6102 details.
6104 * tools/gst-run.c:
6105 Avoid a strdup.
6107 * tools/gst-xmlinspect.c:
6108 Use API to acces element details.
6110 2007-10-15 Stefan Kost <ensonic@users.sf.net>
6112 * gst/gstinfo.c:
6113 Fix some spelling errors.
6115 2007-10-14 Wim Taymans <wim.taymans@gmail.com>
6117 * gst/gstbin.c: (bin_handle_async_done):
6118 Correctly set the next state if all of our async children commited their
6119 state. This makes sure we can actually cancel the state change in
6120 progress. Fixes a regression in Rhythmbox when seeking.
6122 2007-10-13 Tim-Philipp Müller <tim at centricular dot net>
6124 * gst/gstbin.c:
6125 Don't shadow local variable.
6127 * gst/gstinfo.c:
6128 Don't shadow global function name.
6130 2007-10-13 Tim-Philipp Müller <tim at centricular dot net>
6132 * gst/gstelementfactory.c:
6133 * gst/gstpluginfeature.c:
6134 * gst/gstpluginfeature.h:
6135 * gst/gstregistrybinary.c:
6136 * gst/gstregistryxml.c:
6137 * gst/gsttypefind.c:
6138 Use already-interned string for the private GstPluginFeature
6139 plugin_name field.
6141 2007-10-10 Tim-Philipp Müller <tim at centricular dot net>
6143 * docs/libs/gstreamer-libs-sections.txt:
6144 Add new API to docs; fixes the build.
6146 2007-10-10 Wim Taymans <wim.taymans@gmail.com>
6148 Patch inspired by: Benoit Fouet <benoit dot fouet at purplelabs dot com>
6150 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_eos),
6151 (gst_base_sink_event):
6152 * libs/gst/base/gstbasesink.h:
6153 Add function to wait for EOS, subclasses can use this to correctly wait
6154 for devices to drain before performing the EOS logic. Fixes #485343.
6155 API: gst_base_sink_wait_eos()
6157 2007-10-10 Tim-Philipp Müller <tim at centricular dot net>
6159 * gst/gstplugin.h:
6160 Cast description string constants in GST_PLUGIN_DEFINE macros
6161 to a (gchar*) to make C++ code using these macros compile
6162 without warning with g++-4.2 (see #462737). Even if slightly
6163 ugly, this seems preferable to putting the description strings
6164 into the GLib quark table or making the structure member a
6165 const gchar * and doing casts in core code that allocs and
6166 frees these strings, or requiring a cast in the C++ code.
6168 2007-10-09 Tim-Philipp Müller <tim at centricular dot net>
6170 * gst/gstinfo.h:
6171 Use __FUNCTION__ instead of __PRETTY_FUNCTION__, it's silly
6172 to print the entire class/function signature into the log
6173 file for C++ code. This only affects C++ code, for C code
6174 everything remains the same.
6176 2007-10-09 Wim Taymans <wim.taymans@gmail.com>
6178 * gst/gstbin.c: (remove_from_queue):
6179 Work around a problem with pipelines containing (semi)loops until a
6180 proper, more complicated solution is ready. See #475455.
6182 2007-10-09 Tim-Philipp Müller <tim at centricular dot net>
6184 * gst/gstplugin.c:
6185 * gst/gstplugin.h:
6186 * gst/gstregistrybinary.c:
6187 * gst/gstregistryxml.c:
6188 Put more strings into the GLib quark table. No need to keep
6189 a hundred-something copies of identical version strings,
6190 license strings, package name strings and package origin
6191 strings around.
6193 2007-10-09 Tim-Philipp Müller <tim at centricular dot net>
6195 * docs/manual/advanced-dataaccess.xml:
6196 Don't imply that it's okay to unconditionally change
6197 buffer data or buffer metadata in a pad probe callback,
6198 and a bunch of other comments. Fixes #430031.
6200 2007-10-08 Tim-Philipp Müller <tim at centricular dot net>
6202 * win32/common/gstenumtypes.c:
6203 * win32/common/gstenumtypes.h:
6204 * win32/common/gstversion.h:
6205 Update generated files.
6207 2007-10-08 Tim-Philipp Müller <tim at centricular dot net>
6209 * docs/manual/advanced-autoplugging.xml:
6210 Prefix section with broken code with a warning (see #342432).
6212 2007-10-08 Tim-Philipp Müller <tim at centricular dot net>
6214 * docs/manual/appendix-integration.xml:
6215 * docs/manual/basics-init.xml:
6216 Call g_thread_init() before g_option_context_new() to
6217 avoid warnings. Spotted by Ritesh Khadgaray. Fixes #484225.
6219 2007-10-08 Wim Taymans <wim.taymans@gmail.com>
6221 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
6222 (gst_base_sink_queue_object_unlocked),
6223 (gst_base_sink_queue_object), (gst_base_sink_event),
6224 (gst_base_sink_needs_preroll), (gst_base_sink_chain_unlocked):
6225 When we received EOS and are waiting for when to post the EOS message,
6226 our state is prerolled and we should not return ASYNC.
6227 Reorganize some code paths to implement this behavior.
6229 * tests/check/generic/sinks.c: (send_eos), (GST_START_TEST),
6230 (gst_sinks_suite):
6231 Add unit test to verify above EOS fix.
6233 2007-10-08 Wim Taymans <wim.taymans@gmail.com>
6235 * plugins/elements/gsttypefindelement.c:
6236 (gst_type_find_element_have_type), (gst_type_find_element_init),
6237 (gst_type_find_element_setcaps), (gst_type_find_element_chain):
6238 Move detecting the input caps of the sinkpad to the setcaps function.
6239 This allows us to update the output caps when we receive new input caps
6240 instead of always using the first detected caps.
6242 2007-10-08 Wim Taymans <wim.taymans@gmail.com>
6244 * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
6245 (gst_base_sink_get_position):
6246 Don't try to preroll non-async elements after a flush.
6247 Subtract latency form clock times when reporting position.
6249 2007-10-05 Wim Taymans <wim.taymans@gmail.com>
6251 * gst/gstpad.c: (gst_pad_pause_task):
6252 * gst/gstutils.c:
6253 Small comment and documentation update.
6255 2007-10-05 Wim Taymans <wim.taymans@gmail.com>
6257 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
6258 (gst_base_src_set_live), (gst_base_src_is_live),
6259 (gst_base_src_query_latency), (gst_base_src_perform_seek),
6260 (gst_base_src_default_event), (gst_base_src_wait),
6261 (gst_base_src_do_sync), (gst_base_src_get_range),
6262 (gst_base_src_pad_get_range), (gst_base_src_loop),
6263 (gst_base_src_unlock), (gst_base_src_unlock_stop),
6264 (gst_base_src_set_flushing), (gst_base_src_set_playing),
6265 (gst_base_src_activate_push), (gst_base_src_activate_pull),
6266 (gst_base_src_change_state):
6267 Rework the locking of basesrc in a similar fashion to basesink. We
6268 basically have one lock (LIVE_LOCK) protecting the dataflow. This allows
6269 us to handle live sources and semi live ones much better.
6270 Simplify flushing.
6271 Fix unlocking when seeking, shutting down and pausing in live sources.
6273 2007-10-05 Wim Taymans <wim.taymans@gmail.com>
6275 * tests/check/pipelines/simple-launch-lines.c: (run_pipeline):
6276 Fix compilation again.
6278 2007-10-03 Stefan Kost <ensonic@users.sf.net>
6280 * gst/gstelement.c:
6281 Use meaningful categories for the logs to clean the default one.
6283 2007-10-03 Stefan Kost <ensonic@users.sf.net>
6285 * tests/check/pipelines/cleanup.c:
6286 Print message name and not just number.
6288 2007-10-03 Stefan Kost <ensonic@users.sf.net>
6290 * docs/design/draft-tagreading.txt:
6291 Add some more thoughts.
6293 2007-10-03 Stefan Kost <ensonic@users.sf.net>
6295 * tests/check/pipelines/simple-launch-lines.c:
6296 Print message name and not just number.
6298 2007-10-03 Stefan Kost <ensonic@users.sf.net>
6300 * libs/gst/base/gsttypefindhelper.c:
6301 Speedup typefinding. This is work in progress (see #459862).
6303 2007-10-03 Stefan Kost <ensonic@users.sf.net>
6305 * gst/gstplugin.c:
6306 Fix docs that mention 'plugin_desc' instead of 'gst_plugin_desc'.
6307 Spotted by Josep Torra Valles <josep@fluendo.com>.
6309 2007-10-03 Tim-Philipp Müller <tim at centricular dot net>
6311 * gst/gstclock.h:
6312 Fix up broken GST_CLOCK_FLAGS macro and GstClock docs. The flags
6313 field has moved to GstObject.
6315 2007-10-02 Wim Taymans <wim.taymans@gmail.com>
6317 * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync),
6318 (gst_base_src_get_range), (gst_base_src_change_state):
6319 Call unlock for live sources so that they can't get stuck in _create and
6320 produce a buffer before they are set back to PLAYING.
6322 2007-10-02 Edward Hervey <bilboed@bilboed.com>
6324 * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
6325 (gst_queue_locked_dequeue):
6326 Comment the segment-related code... in the PROPER function.
6327 See #482147 and my commit from yesterday.
6329 2007-10-01 Wim Taymans <wim.taymans@gmail.com>
6331 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
6332 Also initialize the counter that calculates the first timestamp on a
6333 buffer correctly for non-live sources.
6335 2007-10-01 Edward Hervey <bilboed@bilboed.com>
6337 * plugins/elements/gstqueue.c: (gst_queue_locked_dequeue):
6338 Disable code that's breaking the current-time-level reporting.
6339 See #482147
6341 2007-09-30 Sebastian Dröge <slomo@circular-chaos.org>
6343 * docs/gst/gstreamer-sections.txt:
6344 Add M_PI and IMPORT_SYMBOL to the private part of the GstInfo section
6345 as they shouldn't show up. Fixes the docs build.
6347 2007-09-29 Sebastien Moutte <sebastien@moutte.net>
6349 * gst/gstinfo.h:
6350 Add an explicit variable importation needed on VS6 (only for MSC_VER)
6351 Define M_PI which is used in files which are including gstinfo.h.
6352 VS6 includes doesn't define it.
6353 * win32/common/libgstbase.def:
6354 * win32/common/libgstcontroller.def:
6355 * win32/common/libgstreamer.def:
6356 Add new exported functions and variables.
6357 * win32/vs6/libgstcontroller.dsp:
6358 * win32/vs6/libgstreamer.dsp:
6359 Update the list of files to build.
6361 2007-09-28 Wim Taymans <wim.taymans@gmail.com>
6363 Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
6365 * plugins/elements/gstqueue.c: (update_time_level), (apply_buffer),
6366 (gst_queue_locked_dequeue), (gst_queue_handle_sink_event),
6367 (gst_queue_chain), (gst_queue_loop), (gst_queue_src_activate_push):
6368 Improve debugging. Fixes #480858.
6370 2007-09-28 Wim Taymans <wim.taymans@gmail.com>
6372 Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
6374 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
6375 First patch of code cleanups, use the macros and right arguments in the
6376 macros to signal and lock the queue. See #480858.
6378 2007-09-26 Wim Taymans <wim.taymans@gmail.com>
6380 * gst/gstbus.c: (poll_func):
6381 Improve debugging when dealing with _poll().
6383 2007-09-26 Tim-Philipp Müller <tim at centricular dot net>
6385 * gst/gstregistryxml.c:
6386 Fix memory leak I introduced a few days ago.
6388 2007-09-26 Michael Smith <msmith@fluendo.com>
6390 * gst/gstbuffer.c: (gst_buffer_finalize):
6391 Make it once again possible to free GstBuffers in the default
6392 build.
6393 The poisoning scribbles on parts of the miniobject we need in
6394 order to free it.
6395 Fixes #480341
6397 2007-09-25 Tim-Philipp Müller <tim at centricular dot net>
6399 * docs/gst/gstreamer-sections.txt:
6400 * gst/gsttaglist.c:
6401 * gst/gsttaglist.h:
6402 API: add GST_TAG_COMPOSER, fixes #459809.
6404 2007-09-24 Sebastian Dröge <slomo@circular-chaos.org>
6406 * gst/gstplugin.c:
6407 * gst/gstplugin.h:
6408 Add the 3-clause BSD license and the MIT/X11 license to the license
6409 list. Fixes #479784.
6411 2007-09-24 Tim-Philipp Müller <tim at centricular dot net>
6413 * docs/faq/getting.xml:
6414 Add Q+A about different GStreamer versions (#364056).
6416 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
6418 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
6419 (gst_base_sink_event), (gst_base_sink_change_state):
6420 Return correct gboolean from query function.
6422 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
6424 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
6425 (gst_base_sink_event), (gst_base_sink_query),
6426 (gst_base_sink_change_state):
6427 Simplify latency query.
6428 When not synchronizing, we can report latency without querying the peer
6429 element.
6431 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
6433 * gst/gstobject.h:
6434 * gst/gstvalue.c:
6435 Fix small typos in the docs.
6437 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
6439 * docs/design/draft-latency.txt:
6440 * docs/design/draft-push-pull.txt:
6441 * docs/design/draft-tagreading.txt:
6442 * docs/design/part-MT-refcounting.txt:
6443 * docs/design/part-activation.txt:
6444 * docs/design/part-block.txt:
6445 * docs/design/part-element-source.txt:
6446 * docs/design/part-events.txt:
6447 * docs/design/part-gstbin.txt:
6448 * docs/design/part-gstelement.txt:
6449 * docs/design/part-gstobject.txt:
6450 * docs/design/part-gstpipeline.txt:
6451 * docs/design/part-messages.txt:
6452 * docs/design/part-preroll.txt:
6453 * docs/design/part-push-pull.txt:
6454 * docs/design/part-qos.txt:
6455 * docs/design/part-query.txt:
6456 * docs/design/part-scheduling.txt:
6457 * docs/design/part-seeking.txt:
6458 * docs/design/part-segments.txt:
6459 * docs/design/part-states.txt:
6460 Documentation updates and typo fixes.
6462 2007-09-23 Tim-Philipp Müller <tim at centricular dot net>
6464 * plugins/elements/gstfakesink.c:
6465 Add some debug text to error message to indicate that
6466 we errored out on request.
6468 * tools/gst-launch.c:
6469 When the state change to PLAYING fails, check for an
6470 error message on the bus and print it.
6472 2007-09-22 Thomas Vander Stichele <thomas at apestaart dot org>
6474 translated by: Jorge González González <aloriel@gmail.com>
6476 * po/LINGUAS:
6477 * po/es.po:
6478 Added Spanish translation.
6480 2007-09-21 Wim Taymans <wim.taymans@gmail.com>
6482 * plugins/elements/gstqueue.c: (gst_queue_push_one):
6483 Fix printf arguments.
6485 2007-09-20 Stefan Kost <ensonic@users.sf.net>
6487 * tests/check/generic/states.c:
6488 Improved state change unit test.
6490 2007-09-20 Stefan Kost <ensonic@users.sf.net>
6492 * gst/gstbin.h:
6493 Move priv to the right place.
6495 * gst/gstsystemclock.c:
6496 Add FIXME: and improve log.
6498 * tests/check/Makefile.am:
6499 * tests/examples/manual/Makefile.am:
6500 Work with all types of registries.
6502 2007-09-19 Wim Taymans <wim.taymans@gmail.com>
6504 * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
6505 Don't unref the event after pushing it. Fixes #478401.
6507 2007-09-19 Stefan Kost <ensonic@users.sf.net>
6509 * .cvsignore:
6510 * tests/examples/manual/.cvsignore:
6511 Ignore registries in any format.
6513 2007-09-19 Tim-Philipp Müller <tim at centricular dot net>
6515 * gst/glib-compat-private.h:
6516 Add compatibility macro for g_intern_string() for
6517 GLib-2.8 (any reason we can't just bump the
6518 requirement to at least 2.10?)
6520 * gst/gstpadtemplate.h:
6521 * gst/gstelementfactory.c:
6522 * gst/gstregistryxml.c:
6523 * gst/gstregistrybinary.c:
6524 Make GstStaticPadTemplate's templ_name field a const gchar * and fix
6525 up the internal code accordingly. This shouldn't be a problem, since
6526 there is no reason external code could ever assume the string in such
6527 a structure is dynamically allocated unless it did that itself; the
6528 use of g_strdup() is private to element factories. The new code also
6529 saves some memory by putting pad template name strings into the GLib
6530 quark table instead of allocating them dynamically.
6531 Declaring this field constant fixes warnings with g++-4.2 when using
6532 the GST_STATIC_PAD_TEMPLATE macro in c++ code (#478092).
6534 2007-09-19 Stefan Kost <ensonic@users.sf.net>
6536 * gst/gstelementfactory.c:
6537 Release static caps. Fixes #475723.
6539 2007-09-18 Tim-Philipp Müller <tim at centricular dot net>
6541 * gst/gstinfo.c:
6542 * gst/gstinfo.h:
6543 Make some internal API take const gchar * instead of just
6544 gchar * to avoid compiler warnings with g++-4.2.2 when
6545 passing string constants (partially fixes #478092).
6547 2007-09-17 Wim Taymans <wim.taymans@gmail.com>
6549 * gst/gstbin.c: (bin_query_latency_fold), (gst_bin_query):
6550 A latency query fails when one of the sinks fail.
6552 * gst/gstelement.c: (gst_element_set_base_time):
6553 Improve debugging.
6555 2007-09-17 Jan Schmidt - Sun Microsystems <jan.schmidt@sun.com>
6557 * gst/gstbin.c: (gst_bin_continue_func):
6558 * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
6559 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad_full):
6560 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_loop):
6562 Fix minor compilation warnings shown with Forte.
6564 2007-09-17 Wim Taymans <wim.taymans@gmail.com>
6566 * plugins/elements/gstqueue.c: (apply_buffer),
6567 (gst_queue_locked_enqueue), (gst_queue_locked_dequeue):
6568 Measure queue level based on the diff between head and tail timestamps
6569 even when pushing the first buffer.
6571 2007-09-14 Wim Taymans <wim.taymans@gmail.com>
6573 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
6574 (gst_base_sink_event), (gst_base_sink_change_state):
6575 Sinks that don't preroll can always be queried for the latency.
6576 Don't post ASYNC start when we are not async.
6578 2007-09-14 Wim Taymans <wim.taymans@gmail.com>
6580 * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
6581 (gst_queue_handle_sink_event), (gst_queue_chain),
6582 (gst_queue_push_one), (gst_queue_handle_src_query),
6583 (gst_queue_sink_activate_push), (gst_queue_src_activate_push):
6584 * plugins/elements/gstqueue.h:
6585 When downstream returns UNEXPECTED from pushing a buffer, don't try to
6586 push more buffers but allow pushing of EOS and NEWSEGMENT.
6587 Add some more debug info here and there. Fixes #476514.
6589 2007-09-14 Wim Taymans <wim.taymans@gmail.com>
6591 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
6592 (gst_base_sink_preroll_queue_flush), (gst_base_sink_commit_state),
6593 (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
6594 (gst_base_sink_set_flushing), (gst_base_sink_query),
6595 (gst_base_sink_change_state):
6596 Latency query is allowed after we are prerolled. Introduce a new flag
6597 for this and stop abusing other variables.
6599 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
6601 * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
6602 Push OOB events downstream when we get them in send_event. This allows
6603 the application to insert events in the pipeline.
6604 Add some more comments.
6606 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
6608 * gst/gstbin.c: (gst_bin_class_init), (clear_queue),
6609 (do_bin_latency), (gst_bin_change_state_func):
6610 * gst/gstpipeline.c: (gst_pipeline_change_state):
6611 Move latency query from GstPipeline to GstBin so that we can also
6612 use it when async-handling is enabled on bins.
6614 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
6616 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
6617 (gst_base_src_do_sync), (gst_base_src_change_state):
6618 Update docs.
6619 Clean up the timestamping and syncing code for pseudo live sources.
6621 2007-09-13 Tim-Philipp Müller <tim at centricular dot net>
6623 Patch by: Steve Fink <sphink gmail com>
6625 * docs/manual/appendix-checklist.xml:
6626 Mention less -R switch in the section about debug output (#474055).
6628 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
6630 * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
6631 Queue can latency to the pipeline up to the configured max size in time.
6632 Report this fact in the latency query.
6634 2007-09-13 Sebastian Dröge <slomo@circular-chaos.org>
6636 Patch by: Sebastien Moutte <sebastien at moutte dot net>
6638 * libs/gst/controller/gstinterpolation.c:
6639 * libs/gst/controller/gstlfocontrolsource.c:
6640 Use gst_guint64_to_gdouble() when converting from a uint64 or
6641 GstClockTime to double to fix the build on win32. Fixes #474371.
6643 2007-09-13 Sebastian Dröge <slomo@circular-chaos.org>
6645 * gst/gstbuffer.c: (gst_buffer_finalize):
6646 Implement poisoning for GstBuffer if --enable-poisoning is specified.
6647 When finalizing a buffer the complete struct is filled with 0xff,
6648 thus making a use of the buffer after the final unref impossible.
6650 2007-09-13 Sebastian Dröge <slomo@circular-chaos.org>
6652 * tests/check/libs/controller.c: (GST_START_TEST):
6653 Use fail_unless_equals_int(a, b) instead of
6654 fail_unless_equals (a == b) to get better output on failures.
6656 2007-09-12 Tim-Philipp Müller <tim at centricular dot net>
6658 * tests/check/gst/gsturi.c:
6659 Also check for the other file URI variant on win32.
6661 2007-09-12 Tim-Philipp Müller <tim at centricular dot net>
6663 * gst/gsturi.c: (gst_uri_get_location):
6664 If there's no hostname, we want to return 'c:/foo/bar.txt'
6665 and not '/c:/foo/bar.txt' on Windows. Fixes #469402.
6667 * tests/check/gst/gsturi.c:
6668 Unit test for the above and a few more things.
6670 2007-09-11 Wim Taymans <wim.taymans@gmail.com>
6672 * docs/design/part-live-source.txt:
6673 Add docs on how live sources should timestamp.
6675 * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
6676 Add some more debug info.
6677 For subclasses that are live and like to sync, add aditional startup
6678 latency to sync time and timestamps so that we timstamp according to the
6679 design doc.
6681 2007-09-11 Tim-Philipp Müller <tim at centricular dot net>
6683 * gst/gstbuffer.c:
6684 Also do a g_type_class_ref() for the subbuffer type in
6685 the init function.
6687 2007-09-11 Wim Taymans <wim.taymans@gmail.com>
6689 * docs/gst/gstreamer-sections.txt:
6690 * gst/gstpad.c: (gst_pad_peer_query):
6691 * gst/gstpad.h:
6692 Add function to perform a query on the peer of a pad.
6693 API: gst_pad_peer_query()
6695 2007-09-11 Stefan Kost <ensonic@users.sf.net>
6697 * tests/check/gst/gstsystemclock.c:
6698 Cleanup the test a little (use gst-logging and not g_message). Improve
6699 test to check if a wait reached the target.
6701 2007-09-11 Tim-Philipp Müller <tim at centricular dot net>
6703 * docs/libs/gstreamer-libs-sections.txt:
6704 Add new API to docs and fix the build.
6706 2007-09-10 Wim Taymans <wim.taymans@gmail.com>
6708 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
6709 (gst_base_src_init), (gst_base_src_set_do_timestamp),
6710 (gst_base_src_get_do_timestamp), (gst_base_src_set_property),
6711 (gst_base_src_get_property), (gst_base_src_do_sync):
6712 * libs/gst/base/gstbasesrc.h:
6713 Add property to make the basesrc timestamp buffers based on the current
6714 running time.
6715 API: GstBaseSrc::do-timestamp
6716 API: gst_base_src_set_do_timestamp()
6717 API: gst_base_src_get_do_timestamp()
6719 2007-09-08 Tim-Philipp Müller <tim at centricular dot net>
6721 * docs/random/release:
6722 Really make sure translations are up-to-date before
6723 a release (#465010).
6725 2007-09-07 Sebastian Dröge <slomo@circular-chaos.org>
6727 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
6728 Always destroy the timer, also in error cases.
6730 2007-09-05 Wim Taymans <wim.taymans@gmail.com>
6732 * docs/manual/highlevel-xml.xml:
6733 Fix XML example code. Fixes #472714.
6735 2007-09-05 Wim Taymans <wim.taymans@gmail.com>
6737 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
6738 (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
6739 (gst_base_sink_query):
6740 Protect eos and have_preroll with the OBJECT lock so we don't need to
6741 take the PREROLL lock when querying the latency. Fixes #473846.
6743 2007-09-05 Stefan Kost <ensonic@users.sf.net>
6745 * gst/gstelement.c:
6746 Give some log-messages a category.
6748 2007-09-04 Wim Taymans <wim.taymans@gmail.com>
6750 * gst/gststructure.c:
6751 (gst_structure_fixate_field_nearest_fraction):
6752 Fix fraction list fixation code. Take the fraction with the smallest
6753 difference with the target instead of the first one in the list.
6755 * tests/check/gst/gststructure.c: (GST_START_TEST),
6756 (gst_structure_suite):
6757 Added test to verify correct fraction list fixation behaviour.
6759 2007-09-02 Tim-Philipp Müller <tim at centricular dot net>
6761 * win32/common/libgstreamer.def:
6762 Export gst_bus_add_signal_watch too.
6764 2007-08-30 Wim Taymans <wim.taymans@gmail.com>
6766 * docs/libs/gstreamer-libs-sections.txt:
6767 Add new methods to docs.
6769 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
6770 (gst_base_sink_init), (gst_base_sink_set_ts_offset),
6771 (gst_base_sink_get_ts_offset), (gst_base_sink_set_property),
6772 (gst_base_sink_get_property), (gst_base_sink_wait_clock):
6773 * libs/gst/base/gstbasesink.h:
6774 Add ts-offset property to fine-tune the synchronisation.
6775 API: GstBaseSink::ts-offset property
6776 API: gst_base_sink_set_ts_offset()
6777 API: gst_base_sink_get_ts_offset()
6779 2007-08-29 Wim Taymans <wim.taymans@gmail.com>
6781 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
6782 (gst_base_sink_init), (gst_base_sink_set_sync),
6783 (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
6784 (gst_base_sink_get_max_lateness), (gst_base_sink_set_qos_enabled),
6785 (gst_base_sink_is_qos_enabled), (gst_base_sink_set_async_enabled),
6786 (gst_base_sink_is_async_enabled), (gst_base_sink_set_property),
6787 (gst_base_sink_get_property), (gst_base_sink_change_state):
6788 * libs/gst/base/gstbasesink.h:
6789 Add async property to instruct the sink never to inform the parent about
6790 ASYNC state changes, update docs.
6791 Check argument with g_return_* for the public functions.
6792 API: GstBaseSink::async property
6793 API: gst_base_sink_set_async_enabled()
6794 API: gst_base_sink_is_async_enabled()
6796 2007-08-28 Wim Taymans <wim.taymans@gmail.com>
6798 * libs/gst/base/gstbasesink.c: (gst_base_sink_loop):
6799 Improve debugging.
6801 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
6802 (gst_base_src_default_query), (gst_base_src_wait),
6803 (gst_base_src_do_sync), (gst_base_src_change_state):
6804 Rearrange some code so that we can add support for measuring the
6805 startup latency.
6807 2007-08-27 Stefan Kost <ensonic@users.sf.net>
6809 * docs/random/ensonic/dynlink.txt:
6810 More thoughs on this.
6812 * plugins/elements/gstcapsfilter.c:
6813 Add bugzilla ticket number to FIXME comment.
6815 2007-08-24 Wim Taymans <wim.taymans@gmail.com>
6817 * docs/design/part-TODO.txt:
6818 * docs/design/part-block.txt:
6819 Update some docs.
6821 2007-08-24 Jan Schmidt <thaytan@mad.scientist.com>
6823 * gst/Makefile.am:
6824 Revert patch which uses $(gst_headers) instead of $^ because it
6825 breaks make dist.
6827 2007-08-24 Jan Schmidt <thaytan@mad.scientist.com>
6829 * tests/check/gst/gstbin.c: (GST_START_TEST):
6830 Fix leaks in the new unit test.
6832 2007-08-23 Tim-Philipp Müller <tim at centricular dot net>
6834 * gst/gst.c:
6835 Don't use GST_INFO before the debug system is actually initialised
6836 (shouldn't do any harm, but won't print anything either, so we can
6837 just as well remove it).
6839 * gst/gstinfo.h:
6840 GST_CAT_LEVEL_LOG_valist(), which is our inline helper function for
6841 compilers that don't support variadic macros (such as MSVC), should
6842 check for debug_level <= __gst_debug_min as well, since that's the
6843 function called from all the level-specific GST_CAT_*_LOG_OBJECT()
6844 inline helper functions. Should improve performance a bit, but also
6845 makes sure uses of GST_INFO et.al are ignored if the debugging
6846 system isn't initialised yet (instead of printing an assertion
6847 failure).
6849 2007-08-23 Stefan Kost <ensonic@users.sf.net>
6851 patch by: David Nečas <yeti@physics.muni.cz>
6853 * gst/Makefile.am:
6854 Replace some non portable makefile constructs.
6856 2007-08-21 Stefan Kost <ensonic@users.sf.net>
6858 * common/gtk-doc-plugins.mak:
6859 Grrrrr. Don't remove the types file on make clean.
6861 2007-08-20 Wim Taymans <wim.taymans@gmail.com>
6863 * tools/gst-launch.1.in:
6864 Add colorspace to example pipeline. Fixes #458274.
6866 2007-08-20 Tim-Philipp Müller <tim at centricular dot net>
6868 * docs/random/release:
6869 The release manager should run 'make download-po' before making a
6870 release to make sure translations are up-to-date.
6872 * po/LINGUAS:
6873 * po/be.po:
6874 * po/pl.po:
6875 * po/rw.po:
6876 Add some new translations.
6878 2007-08-17 Wim Taymans <wim.taymans@gmail.com>
6880 * tools/gst-launch.c: (event_loop), (main):
6881 Don´t try to do any state management when a live pipeline posts
6882 buffering messages.
6883 Also make the buffering string translatable.
6885 2007-08-16 Wim Taymans <wim.taymans@gmail.com>
6887 * gst/gstbin.c: (is_eos), (gst_bin_add_func),
6888 (bin_handle_async_start), (gst_bin_handle_message_func):
6889 Improve debugging.
6890 When adding elements, insert messages into the bus of the newly added
6891 element and make sure the element is the source of the message. This
6892 allows the parent bin to intercept the message and do the
6893 right thing. It also avoids us posting ASYNC_START and CLOCK_PROVIDE
6894 messages to the app (which is not allowed).
6895 Update some docs.
6897 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
6898 Fix testsuite so that is does not work around messages that should not
6899 have been posted in the first place.
6901 2007-08-16 Wim Taymans <wim.taymans@gmail.com>
6903 * gst/gstbin.c: (add_to_queue), (remove_from_queue), (clear_queue),
6904 (update_degree), (gst_bin_sort_iterator_next):
6905 Fix annoying bug in the sorted iterator where a sink that is not really
6906 a sink (when it has downstream links) screwed up the iterator.
6908 * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
6909 Unit test to verify the fix.
6911 2007-08-16 Wim Taymans <wim.taymans@gmail.com>
6913 * gst/gstmessage.h:
6914 Add some more docs for the messages.
6916 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
6917 (gst_base_sink_query):
6918 Add some more debugging.
6920 * tools/gst-launch.c: (event_loop):
6921 When interrupting, don't try to set pipeline to PAUSED twice.
6923 2007-08-14 Wim Taymans <wim.taymans@gmail.com>
6926 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_element_set_state),
6927 (bin_handle_async_start), (gst_bin_handle_message_func):
6928 Move ASYNC_START message posting to where it belongs, similar to
6929 async_done.
6930 Don't post ASYNC_START when we are in error.
6931 Post ASYNC_START when we added an async element to a bin.
6933 2007-08-14 Julien MOUTTE <julien@moutte.net>
6935 * gst/gstindex.c: (gst_index_add_association): Fix index entry
6936 generation from vargs. Fixes #466595.
6938 2007-08-14 Wim Taymans <wim.taymans@gmail.com>
6940 * gst/gstbin.c: (gst_bin_element_set_state):
6941 Always change the state of a NO_PREROLL element even if it has ASYNC
6942 elements inside (in case of a bin).
6944 * tests/check/generic/sinks.c: (GST_START_TEST), (gst_sinks_suite):
6945 Unit test for this case.
6947 2007-08-13 Stefan Kost <ensonic@users.sf.net>
6949 * libs/gst/check/gstbufferstraw.c:
6950 * libs/gst/check/gstcheck.h:
6951 * libs/gst/controller/gstcontroller.c:
6952 * libs/gst/controller/gstcontrolsource.h:
6953 * libs/gst/controller/gstlfocontrolsource.h:
6954 * plugins/elements/gstcapsfilter.h:
6955 * plugins/elements/gstfdsink.h:
6956 * plugins/elements/gstfdsrc.h:
6957 Add more missing docs.
6959 2007-08-12 Wim Taymans <wim.taymans@gmail.com>
6961 * gst/gststructure.c:
6962 Add Since tag to docs.
6964 2007-08-12 Wim Taymans <wim.taymans@gmail.com>
6966 * docs/gst/gstreamer-sections.txt:
6967 * gst/gststructure.c: (gst_structure_get_uint):
6968 * gst/gststructure.h:
6969 Add function to get uint from a structure.
6970 API: gst_structure_get_uint()
6972 2007-08-12 Wim Taymans <wim.taymans@gmail.com>
6974 * gst/gstcaps.c: (gst_caps_set_simple_valist),
6975 (gst_caps_intersect):
6976 Fix proper check for simple caps.
6978 2007-08-10 Stefan Kost <ensonic@users.sf.net>
6980 * docs/gst/Makefile.am:
6981 * docs/libs/Makefile.am:
6982 Remove cruft and do some cleanups.
6984 * docs/gst/gstreamer-docs.sgml:
6985 * docs/libs/gstreamer-libs-docs.sgml:
6986 Prepare for comming gtkdoc features (rebase against online docs).
6988 2007-08-10 Michael Smith <msmith@fluendo.com>
6990 * docs/gst/gstreamer-sections.txt:
6991 Add gst_registry_add_path to docs.
6993 2007-08-10 Michael Smith <msmith@fluendo.com>
6995 * gst/gstregistry.h:
6996 Add gst_registry_add_path, which was missing from this header.
6998 2007-08-10 Tim-Philipp Müller <tim at centricular dot net>
7000 * libs/gst/controller/gstlfocontrolsource.c:
7001 Printf format fix.
7003 2007-08-09 Philippe Kalaf <philippe.kalaf@collabora.co.uk>
7005 * libs/gst/base/gstbasesink.c:
7006 Don't send an async_start message during downwards state change if
7007 target state is less than READY
7009 2007-08-09 Thomas Vander Stichele <thomas at apestaart dot org>
7011 translated by: Gabor Kelemen <kelemeng@gnome.hu>
7013 * po/LINGUAS:
7014 * po/hu.po:
7015 Added Hungarian translation.
7017 2007-08-09 Thomas Vander Stichele <thomas at apestaart dot org>
7019 * po/fi.po:
7020 * po/it.po:
7021 * po/nl.po:
7022 * po/sv.po:
7023 * po/uk.po:
7024 Updated translations.
7026 2007-08-07 Jan Schmidt <thaytan@mad.scientist.com>
7028 * libs/gst/controller/Makefile.am:
7029 Dist gstlfocontrolsourceprivate.h
7031 2007-08-07 Jan Schmidt <thaytan@mad.scientist.com>
7033 * docs/libs/gstreamer-libs.types:
7034 Don't register the enum type gst_lfo_waveform_get_type() in the
7035 .types file - only GObject derived types belong.
7037 2007-08-07 Wim Taymans <wim.taymans@gmail.com>
7039 Patch by: <arenevier at fdn dot fr>
7041 * gst/gstbuffer.h:
7042 Remove comma from last element in enum to avoid compile errors when
7043 using -pendantic. Fixes #464366.
7045 2007-08-07 Wim Taymans <wim.taymans@gmail.com>
7047 * docs/design/part-TODO.txt:
7048 Add some more TODO items
7050 * gst/gstbin.c: (find_message), (gst_bin_change_state_func):
7051 Improve debugging.
7053 * gst/gstcaps.c: (gst_caps_intersect):
7054 Optimize trivial intersection case between identical caps pointers.
7056 * gst/gstelement.c: (gst_element_continue_state),
7057 (gst_element_set_state_func):
7058 * gst/gstpad.c:
7059 Fix spelling and grammar mistakes.
7061 2007-08-05 Stefan Kost <ensonic@users.sf.net>
7063 * po/POTFILES.in:
7064 * po/POTFILES.skip:
7065 Update POTFILES. Fixes #461599.
7067 2007-08-03 Sebastian Dröge <slomo@circular-chaos.org>
7069 * gst/gst.c:
7070 Fix confusing typo in debug output.
7072 2007-08-03 Sebastian Dröge <slomo@circular-chaos.org>
7074 reviewed by: Stefan Kost <ensonic@users.sf.net>
7076 * libs/gst/controller/Makefile.am:
7077 * libs/gst/controller/gstlfocontrolsource.c: (_calculate_pos),
7078 (gst_lfo_waveform_get_type), (gst_lfo_control_source_reset),
7079 (gst_lfo_control_source_new),
7080 (gst_lfo_control_source_set_waveform),
7081 (gst_lfo_control_source_bind), (gst_lfo_control_source_init),
7082 (gst_lfo_control_source_finalize),
7083 (gst_lfo_control_source_dispose),
7084 (gst_lfo_control_source_set_property),
7085 (gst_lfo_control_source_get_property),
7086 (gst_lfo_control_source_class_init):
7087 * libs/gst/controller/gstlfocontrolsource.h:
7088 * libs/gst/controller/gstlfocontrolsourceprivate.h:
7089 API: Add GstLFOControlSource, a control source that gives values
7090 for specific timestamps based on several periodic waveforms.
7091 Fixes #459717.
7093 * tests/check/libs/controller.c: (GST_START_TEST),
7094 (gst_controller_suite):
7095 * docs/libs/gstreamer-libs-docs.sgml:
7096 * docs/libs/gstreamer-libs-sections.txt:
7097 * docs/libs/gstreamer-libs.types:
7098 Add documentation and unit tests for GstLFOControlSource.
7100 2007-08-03 Jan Schmidt <thaytan@mad.scientist.com>
7102 * configure.ac:
7103 Back to CVS
7105 === release 0.10.14 ===
7107 2007-08-03 Jan Schmidt <thaytan@mad.scientist.com>
7109 * configure.ac:
7110 releasing 0.10.14, "Breathing Vacuum"
7112 2007-08-02 Tim-Philipp Müller <tim at centricular dot net>
7114 * gst/gstelement.c: (gst_element_class_set_details_simple):
7115 * gst/gstelement.h:
7116 Make strings passed to gst_element_class_set_details_simple()
7117 constant, as they should be (#462752).
7119 2007-08-02 Wim Taymans <wim.taymans@gmail.com>
7121 * gst/gstbin.c: (gst_bin_change_state_func),
7122 (bin_handle_async_done), (gst_bin_handle_message_func):
7123 Don't forget about the fact that some element went ASYNC even after a
7124 resync. This makes us post the ASYNC_DONE message correctly.
7125 Fixes #462558.
7127 2007-07-31 Jan Schmidt <thaytan@mad.scientist.com>
7129 * gst/gstregistry.c: (gst_registry_add_feature):
7130 When replacing an existing feature in the registry, make sure to
7131 continue holding a reference until we've replaced the name string
7132 within our feature hash table. Make sure to use g_hash_table_replace
7133 instead of g_hash_table_insert to ensure the new name string is used
7134 as a key instead of the old one that we're about to free.
7135 Fixes: #462085
7137 2007-07-31 Jan Schmidt <thaytan@mad.scientist.com>
7139 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
7140 (gst_plugin_feature_set_name):
7141 Revert patch from #459466 until after the release and we can work
7142 out exactly what the problem is (if any).
7144 2007-07-26 Tim-Philipp Müller <tim at centricular dot net>
7146 * docs/gst/gstreamer-sections.txt:
7147 * gst/gsttaglist.c:
7148 * gst/gsttaglist.h:
7149 API: add GST_TAG_LICENSE_URI and GST_TAG_COPYRIGHT_URI (#451939).
7151 2007-07-26 Jan Schmidt <thaytan@mad.scientist.com>
7153 * docs/libs/Makefile.am:
7154 Include our build-prefix libs and includes before the generic ones to
7155 avoid linking against the installed libs when we want the build-tree
7156 ones.
7158 2007-07-26 Tim-Philipp Müller <tim at centricular dot net>
7160 Patch by: Steve Fink <sphink gmail com>
7162 * docs/pwg/building-testapp.xml:
7163 Mention that GST_PLUGIN_PATH or --gst-plugin-path might be needed
7164 if people try to build or install the example from the plugin
7165 template against a GStreamer from package using the configure
7166 defaults.
7168 2007-07-25 Tim-Philipp Müller <tim at centricular dot net>
7170 Patch by: Steve Fink <sphink gmail com>
7172 * tools/gst-inspect.1.in:
7173 Document --print-all and --print-plugin-auto-install-info command
7174 line options in man page.
7176 2007-07-25 Wim Taymans <wim.taymans@gmail.com>
7178 * docs/gst/gstreamer-sections.txt:
7179 Add docs for new api function.
7181 2007-07-25 Wim Taymans <wim.taymans@gmail.com>
7183 * gst/gstelementfactory.c: (gst_element_factory_has_interface):
7184 * gst/gstelementfactory.h:
7185 API: gst_element_factory_has_interface()
7186 Added method to check if an element factory implements a named
7187 interface.
7189 2007-07-25 Stefan Kost <ensonic@users.sf.net>
7191 * configure.ac:
7192 * docs/gst/gstreamer.types.in:
7193 Another conditional doc check.
7195 * gst/gstmessage.c:
7196 * gst/gstparamspecs.h:
7197 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
7198 * gst/gstvalue.c:
7199 * gst/gstxml.h:
7200 API-doc fixes.
7202 2007-07-24 Stefan Kost <ensonic@users.sf.net>
7204 * gst/gstregistrybinary.c: (gst_registry_binary_check_magic),
7205 (gst_registry_binary_load_feature),
7206 (gst_registry_binary_load_plugin),
7207 (gst_registry_binary_read_cache):
7208 Print error just once and with additional info.
7210 2007-07-24 Stefan Kost <ensonic@users.sf.net>
7212 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
7213 (helper_find_suggest), (helper_find_get_length),
7214 (gst_type_find_helper_get_range), (buf_helper_find_suggest),
7215 (gst_type_find_helper_for_buffer):
7216 Cleanup the typefindhelper code and add private doc comments.
7218 2007-07-24 Edward Hervey <bilboed@bilboed.com>
7220 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
7221 (gst_capsfilter_transform_size), (gst_capsfilter_prepare_buf):
7222 Fix capsfilter for cases where the caps set on capsfilter will provide
7223 additional information.
7224 Fixes #449197
7226 2007-07-24 Stefan Kost <ensonic@users.sf.net>
7228 * gst/gsttypefindfactory.c:
7229 Fix docs that recommened wrong function to use.
7231 2007-07-23 Stefan Kost <ensonic@users.sf.net>
7233 * tools/gst-inspect.c: (print_plugin_features):
7234 Also give media-type for typefinders in element output.
7236 2007-07-23 Stefan Kost <ensonic@users.sf.net>
7238 * gst/gstregistry.c: (gst_registry_init), (gst_registry_finalize),
7239 (gst_registry_remove_features_for_plugin_unlocked),
7240 (gst_registry_add_feature), (gst_registry_remove_feature),
7241 (gst_registry_lookup_feature_locked):
7242 * gst/gstregistry.h:
7243 Speed up gst_registry_lookup_feature_locked() by using a hashmap.
7244 Fixes #459501.
7246 2007-07-23 Stefan Kost <ensonic@users.sf.net>
7248 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
7249 (gst_plugin_feature_set_name):
7250 Avoid double memory usage for pluginfeature names. Fixes #459466.
7252 2007-07-22 Tim-Philipp Müller <tim at centricular dot net>
7254 * gst/gstpad.h:
7255 Small addition to GST_FLOW_IS_FATAL() docs: mention that elements
7256 driving the pipeline may need to explicitly check for NOT_LINKED as
7257 well, since IS_FATAL doesn't cover that.
7259 2007-07-22 Tim-Philipp Müller <tim at centricular dot net>
7261 * docs/pwg/advanced-types.xml:
7262 Fix typo and duplicate entry in video formats list.
7264 2007-07-22 Sebastian Dröge <slomo@circular-chaos.org>
7266 * libs/gst/controller/gstinterpolation.c:
7267 Also round to the nearest int when using cubic interpolation.
7269 2007-07-19 Jan Schmidt <thaytan@noraisin.net>
7271 * libs/gst/controller/gstinterpolation.c:
7272 When linearly interpolating integer types, round to the nearest int
7273 by adding 0.5. Don't do it for float/double types.
7274 Fixes the failing controller test on my machine, which is somehow
7275 rounding differently than on the buildbots.
7277 2007-07-20 Stefan Kost <ensonic@users.sf.net>
7279 * tools/gst-plot-timeline.py:
7280 Better log parsing (categories can have -). Adjust text vs. lines, so
7281 that they span the same y-range.
7283 2007-07-20 Stefan Kost <ensonic@users.sf.net>
7285 * docs/random/ensonic/audiobaseclasses.txt:
7286 * docs/random/ensonic/dynlink.txt:
7287 * docs/random/ensonic/profiling.txt:
7288 Save my thoughts.
7290 * docs/random/moving-plugins:
7291 Add note to use g_assert type macros.
7293 2007-07-20 Stefan Kost <ensonic@users.sf.net>
7295 * configure.ac:
7296 * libs/gst/check/Makefile.am:
7297 Add libm check as we use in for plugins.
7299 2007-07-18 Jan Schmidt <thaytan@noraisin.net>
7301 * gst/gstbin.c: (gst_bin_continue_func):
7302 Check that the state_cookie hasn't changed since the continue_func
7303 was scheduled. Avoids problems where the state changes back to
7304 something it shouldn't be because it was changed in the meantime.
7306 2007-07-17 Stefan Kost <ensonic@users.sf.net>
7308 * gst/gstregistrybinary.c: (gst_registry_binary_save_const_string),
7309 (gst_registry_binary_save_string),
7310 (gst_registry_binary_save_pad_template),
7311 (gst_registry_binary_save_feature),
7312 (gst_registry_binary_save_plugin),
7313 (gst_registry_binary_load_feature),
7314 (gst_registry_binary_load_plugin),
7315 (gst_registry_binary_read_cache):
7316 Fix memory leak. Be less verbose in the log.
7318 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
7320 * tests/check/elements/.cvsignore:
7321 Add file to cvsignore as commanded.
7323 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
7325 * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
7326 (mq_dummypad_event), (run_output_order_test):
7327 Use a GStaticMutex to protect all cases where libcheck
7328 fail_if/fail_unless macros might be called from multiple threads
7329 simultaneously to avoid errors like:
7330 "check_pack.c:107: :-1081725400:Bad message type arg"
7332 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
7334 * tests/check/pipelines/stress.c: (GST_START_TEST):
7335 Make sure we set the pipeline back to the NULL state before
7336 dropping our final reference.
7338 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
7340 * tests/check/elements/tee.c: (GST_START_TEST):
7341 Make the tee stress-test a little less stressful so it doesn't just
7342 time out on slow-machines, and remove a small race when it's starting
7343 up by adding a get_state() call.
7345 2007-07-16 Stefan Kost <ensonic@users.sf.net>
7347 * gst/gst.c:
7348 Avoid reading registry twice on startup. Fixes #457322.
7350 2007-07-13 Jan Schmidt <thaytan@mad.scientist.com>
7352 * pkgconfig/gstreamer-check-uninstalled.pc.in:
7353 * pkgconfig/gstreamer-check.pc.in:
7354 Substitute the CFLAGS for libcheck into our .pc file too so that
7355 dependent modules will pick it up properly if libcheck is installed
7356 into some other prefix.
7358 2007-07-13 Jan Schmidt <thaytan@mad.scientist.com>
7360 * configure.ac:
7361 Revert the pkg-config check for libcheck, since it pulls in the
7362 wrong non-PIC libcheck.a on Ubuntu and probably Fedora too. We need
7363 a proper solution, either from the check project, or something else.
7365 2007-07-12 Stefan Kost <ensonic@users.sf.net>
7367 * configure.ac:
7368 Use pkg-config to locate check.
7370 2007-07-10 Stefan Kost <ensonic@users.sf.net>
7372 * gst/gsttaglist.c:
7373 Fix doc syntax.
7375 * gst/gstutils.c:
7376 * gst/gstutils.h:
7377 Add deprecation guards.
7379 * libs/gst/base/gstcollectpads.h:
7380 Don't document object (this is implicitly private).
7382 2007-07-08 Tim-Philipp Müller <tim at centricular dot net>
7384 * gst/gststructure.c: (gst_structure_parse_value):
7385 When deserialising foo=bar without a type cast, check if it's a
7386 boolean before falling back to a string type, otherwise things like
7387 audiotestsrc ! audio/x-raw-int,signed=true ! fakesink won't work,
7388 because the filtercaps end up having a signed=(string)true field,
7389 which causes problems later when intersection caps.
7391 * tests/check/gst/gststructure.c: (GST_START_TEST):
7392 Add a unit test for this.
7394 2007-07-06 Sebastian Dröge <slomo@circular-chaos.org>
7396 Reviewed by: Stefan Kost <ensonic@users.sf.net>
7398 * libs/gst/controller/Makefile.am:
7399 * libs/gst/controller/gstcontroller.c:
7400 (gst_controlled_property_add_interpolation_control_source),
7401 (gst_controlled_property_new), (gst_controlled_property_free),
7402 (gst_controller_find_controlled_property),
7403 (gst_controller_new_valist), (gst_controller_new_list),
7404 (gst_controller_new), (gst_controller_remove_properties_valist),
7405 (gst_controller_remove_properties_list),
7406 (gst_controller_remove_properties),
7407 (gst_controller_set_property_disabled),
7408 (gst_controller_set_disabled), (gst_controller_set_control_source),
7409 (gst_controller_get_control_source), (gst_controller_get),
7410 (gst_controller_sync_values), (gst_controller_get_value_array),
7411 (_gst_controller_dispose), (gst_controller_get_type),
7412 (gst_controlled_property_set_interpolation_mode),
7413 (gst_controller_set), (gst_controller_set_from_list),
7414 (gst_controller_unset), (gst_controller_unset_all),
7415 (gst_controller_get_all), (gst_controller_set_interpolation_mode):
7416 * libs/gst/controller/gstcontroller.h:
7417 * libs/gst/controller/gstcontrollerprivate.h:
7418 * libs/gst/controller/gstcontrolsource.c:
7419 (gst_control_source_class_init), (gst_control_source_init),
7420 (gst_control_source_get_value),
7421 (gst_control_source_get_value_array), (gst_control_source_bind):
7422 * libs/gst/controller/gstcontrolsource.h:
7423 * libs/gst/controller/gsthelper.c: (gst_object_set_control_source),
7424 (gst_object_get_control_source):
7425 * libs/gst/controller/gstinterpolation.c:
7426 (gst_interpolation_control_source_find_control_point_node),
7427 (gst_interpolation_control_source_get_first_value),
7428 (_interpolate_none_get), (interpolate_none_get),
7429 (interpolate_none_get_boolean_value_array),
7430 (interpolate_none_get_enum_value_array),
7431 (interpolate_none_get_string_value_array),
7432 (_interpolate_trigger_get), (interpolate_trigger_get),
7433 (interpolate_trigger_get_boolean_value_array),
7434 (interpolate_trigger_get_enum_value_array),
7435 (interpolate_trigger_get_string_value_array):
7436 * libs/gst/controller/gstinterpolationcontrolsource.c:
7437 (gst_control_point_free), (gst_interpolation_control_source_reset),
7438 (gst_interpolation_control_source_new),
7439 (gst_interpolation_control_source_set_interpolation_mode),
7440 (gst_interpolation_control_source_bind),
7441 (gst_control_point_compare), (gst_control_point_find),
7442 (gst_interpolation_control_source_set_internal),
7443 (gst_interpolation_control_source_set),
7444 (gst_interpolation_control_source_set_from_list),
7445 (gst_interpolation_control_source_unset),
7446 (gst_interpolation_control_source_unset_all),
7447 (gst_interpolation_control_source_get_all),
7448 (gst_interpolation_control_source_get_count),
7449 (gst_interpolation_control_source_init),
7450 (gst_interpolation_control_source_finalize),
7451 (gst_interpolation_control_source_dispose),
7452 (gst_interpolation_control_source_class_init):
7453 * libs/gst/controller/gstinterpolationcontrolsource.h:
7454 * libs/gst/controller/gstinterpolationcontrolsourceprivate.h:
7455 API: Refactor GstController into the core controller which can take
7456 a GstControlSource for providing actual values for timestamps.
7457 Implement a interpolation control source and use this for backward
7458 compatibility, deprecate a bunch of functions that are now handled
7459 by GstControlSource or GstInterpolationControlSource.
7460 Make it possible to disable the controller completely or only for
7461 specific properties. Fixes #450711.
7462 * docs/libs/gstreamer-libs-docs.sgml:
7463 * docs/libs/gstreamer-libs-sections.txt:
7464 * docs/libs/gstreamer-libs.types:
7465 Add new functions and classes to the docs.
7466 * tests/check/libs/controller.c: (GST_START_TEST),
7467 (gst_controller_suite):
7468 * tests/examples/controller/audio-example.c: (main):
7469 Port unit test and example to the new API and add some new
7470 unit tests.
7472 2007-07-05 Wim Taymans <wim.taymans@gmail.com>
7474 Patch by: Mark Nauwelaerts <manauw at skynet be>
7476 * plugins/elements/gstmultiqueue.c:
7477 (gst_multi_queue_get_internal_links), (apply_buffer),
7478 (single_queue_overrun_cb), (gst_single_queue_new):
7479 Implement non-default GstPadIntLinkFunction for multiqueue pads so that
7480 the pipeline layout can be tracked correctly. Fixes #453732.
7482 2007-07-05 Stefan Kost <ensonic@users.sf.net>
7484 * docs/gst/Makefile.am:
7485 * docs/libs/Makefile.am:
7486 * docs/plugins/Makefile.am:
7487 Simplify --extra-dir as gtkdoc scans recursively.
7489 2007-07-03 Wim Taymans <wim.taymans@gmail.com>
7491 * tools/gst-launch.c: (main):
7492 When we got an error, there is no point in waiting for preroll when
7493 shutting down.
7495 2007-07-03 Wim Taymans <wim.taymans@gmail.com>
7497 * plugins/elements/gsttee.c: (gst_tee_base_init),
7498 (gst_tee_request_new_pad), (gst_tee_release_pad),
7499 (gst_tee_find_buffer_alloc), (gst_tee_buffer_alloc),
7500 (gst_tee_do_push), (clear_pads), (gst_tee_handle_buffer),
7501 (gst_tee_chain):
7502 Be a lot smarter when deciding what srcpad to use for proxying
7503 the buffer_alloc. Also handle pad added/removed when doing so.
7504 Fixes #357959.
7505 Keep track of what pads we already pushed on in case we have pads
7506 added/removed while pushing. Fixes #374639
7508 * tests/check/Makefile.am:
7509 * tests/check/elements/tee.c: (handoff), (GST_START_TEST),
7510 (tee_suite):
7511 Added unit test for pad resync.
7513 2007-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
7515 * po/nl.po:
7516 * po/sv.po:
7517 Updated translations.
7519 2007-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
7521 translation by: Tommi Vainikainen <Tommi.Vainikainen@iki.fi>
7523 * po/LINGUAS:
7524 * po/fi.po:
7525 Added new Finnish translation.
7527 2007-06-28 Wim Taymans <wim@fluendo.com>
7529 * plugins/elements/gstmultiqueue.c: (apply_buffer),
7530 (single_queue_overrun_cb):
7531 When figuring out when a queue is filled, use our internal time estimate
7532 based on segments, just like check_full does.
7534 2007-06-27 Stefan Kost <ensonic@users.sf.net>
7536 * gst/gstminiobject.c: (gst_mini_object_get_type):
7537 Remove 3 do-nothing methods.
7539 2007-06-27 Wim Taymans <wim@fluendo.com>
7541 Patch by: Tim Angus <tim at ngus dot net>
7543 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
7544 (gst_capsfilter_set_property):
7545 Take a reference instead of a copy when setting "caps".
7546 Fix documentation to clarify this behaviour. Fixes #449414.
7548 2007-06-27 Stefan Kost <ensonic@users.sf.net>
7550 * gst/gstindexfactory.c: (gst_index_factory_get_type):
7551 * gst/gstplugin.c: (gst_plugin_init):
7552 * gst/gstpluginfeature.c: (gst_plugin_feature_init):
7553 * gst/gstquery.c: (gst_query_get_type):
7554 * gst/gstregistry.c: (gst_registry_init):
7555 * gst/gsturi.c: (gst_uri_handler_base_init):
7556 Remove empty instance_init() functions to save relocs and lessen the
7557 noise. Remove some of the function prototypes that are doubled by
7558 G_DEFINE_TYPE.
7560 2007-06-27 Wim Taymans <wim@fluendo.com>
7562 Patch by: Étienne Noreau-Hébert <etienne at deepunder dot org>
7564 * gst/gstghostpad.c: (gst_proxy_pad_save_thyself):
7565 Add peer and direction in the XML serialisation of ghostpads.
7566 Fixes #449226.
7568 2007-06-26 Stefan Kost <ensonic@users.sf.net>
7570 * configure.ac:
7571 Preserve useful information, thanks Tim.
7573 2007-06-26 Jan Schmidt <thaytan@noraisin.net>
7575 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
7576 (gst_single_queue_flush), (apply_segment), (apply_buffer),
7577 (gst_single_queue_push_one), (gst_multi_queue_loop),
7578 (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
7579 (gst_multi_queue_src_activate_push), (wake_up_next_non_linked),
7580 (compute_high_id), (gst_single_queue_new):
7581 * plugins/elements/gstmultiqueue.h:
7582 Take the multiqueue lock when updating the fill level so we don't get
7583 confused.
7585 After applying a buffer or event on the src pad segment, make sure to
7586 call gst_data_queue_limits_changed() to get the data queue to unblock
7587 and check the filled state again.
7589 Rework the not-linked pad handling so the logic is that not-linked
7590 pads can push as fast as they like, but only so they never get
7591 ahead of any linked pads.
7593 * tests/check/elements/multiqueue.c: (mq_sinkpad_to_srcpad),
7594 (mq_dummypad_getcaps), (mq_dummypad_chain), (mq_dummypad_event),
7595 (run_output_order_test), (GST_START_TEST), (multiqueue_suite):
7597 Add a test to check that not-linked pads always stay behind
7598 linked pads.
7600 Fixes: #430682
7602 2007-06-26 Jan Schmidt <thaytan@mad.scientist.com>
7604 * docs/random/release:
7605 Some updates to the release procedure.
7607 2007-06-26 Stefan Kost <ensonic@users.sf.net>
7609 * gst/gstelementfactory.c: (__gst_element_details_clear):
7610 Microoptimization that saves stunning 80 bytes.
7612 2007-06-25 Stefan Kost <ensonic@users.sf.net>
7614 * docs/plugins/gstreamer-plugins.args:
7615 * docs/plugins/inspect/plugin-coreelements.xml:
7616 * docs/plugins/inspect/plugin-coreindexers.xml:
7617 Update docs with caps info.
7619 2007-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
7621 * po/it.po:
7622 Updated Italian translation.
7624 2007-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
7626 * ChangeLog:
7627 * po/vi.po:
7628 Update Vietnamese translations.
7630 2007-06-21 Tim-Philipp Müller <tim at centricular dot net>
7632 * libs/gst/base/gstbasesink.c:
7633 Remove unused signal enum.
7635 2007-06-21 Jan Schmidt <thaytan@mad.scientist.com>
7637 * docs/gst/gstreamer-sections.txt:
7638 * gst/gstelement.c:
7639 * gst/gstutils.c: (gst_type_register_static_full):
7640 Beef up and include the docs for gst_type_register_static_full and
7641 gst_element_class_set_details_simple and add the API keyword
7642 in the ChangeLog.
7644 2007-06-21 Jan Schmidt <thaytan@mad.scientist.com>
7646 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
7647 (update_time_level), (gst_single_queue_push_one),
7648 (gst_multi_queue_chain), (gst_multi_queue_sink_event),
7649 (single_queue_overrun_cb), (single_queue_underrun_cb),
7650 (single_queue_check_full):
7651 Fix setting max-* properties after adding queues.
7652 Use IS_FILLED for checking visible items.
7653 Signal overrun if multiple queues overrun.
7654 Add extra debug output.
7655 Patch by: Wim Taymans <wim@fluendo.com>
7657 2007-06-21 Stefan Kost <ensonic@users.sf.net>
7659 * gst/gstelement.c: (gst_element_class_set_details_simple):
7660 * gst/gstelement.h:
7661 * gst/gstutils.c: (gst_type_register_static_full):
7662 * gst/gstutils.h:
7663 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init):
7664 * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init):
7665 * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init):
7666 * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init):
7667 * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init):
7668 * plugins/elements/gstfilesink.c: (gst_file_sink_base_init):
7669 * plugins/elements/gstfilesrc.c: (gst_file_src_base_init):
7670 * plugins/elements/gstidentity.c: (gst_identity_base_init):
7671 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init):
7672 * plugins/elements/gstqueue.c: (gst_queue_base_init),
7673 (apply_buffer), (gst_queue_chain):
7674 * plugins/elements/gsttee.c: (gst_tee_base_init):
7675 * plugins/elements/gsttypefindelement.c:
7676 (gst_type_find_element_base_init),
7677 (gst_type_find_element_class_init):
7678 Saving relocations for GTypeInfo and GstElementDetails. Fixes #437457.
7679 API: add gst_type_register_static_full
7680 API: add gst_element_class_set_details_simple
7682 2007-06-21 Tim-Philipp Müller <tim at centricular dot net>
7684 * docs/pwg/advanced-types.xml:
7685 Fix typo in iana.org URI.
7687 2007-06-19 Andy Wingo <wingo@pobox.com>
7689 * tests/check/pipelines/simple-launch-lines.c
7690 (test_state_change_returns): Enable pull-mode tests now that
7691 basesink has been fixed.
7693 * libs/gst/base/gstbasesink.c (gst_base_sink_needs_preroll):
7694 Changed from gst_base_sink_is_prerolled, reversing the sense of
7695 the return value. Returns FALSE also if the sink is in pull mode,
7696 in which case it needs no preroll.
7697 (gst_base_sink_query, gst_base_sink_change_state): Update for
7698 needs_preroll change.
7699 (gst_base_sink_change_state): Add a case for READY_TO_PAUSED after
7700 chaining up, in which we return SUCCESS directly if we activated
7701 in pull mode instead of ASYNC. Involves countering an async_start
7702 message sent before chaining up; not sure if this is correct, in
7703 an ideal world we only send async-start when activating in push
7704 mode.
7706 * tests/check/pipelines/simple-launch-lines.c
7707 (test_state_change_returns): New test, partially disabled until
7708 basesink is fixed.
7710 2007-06-19 Wim Taymans <wim@fluendo.com>
7712 * plugins/elements/gstmultiqueue.c: (apply_buffer),
7713 (gst_multi_queue_sink_event):
7714 Fix event leak.
7716 2007-06-19 Wim Taymans <wim@fluendo.com>
7718 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
7719 (gst_bin_change_state_func), (bin_push_state_continue),
7720 (bin_handle_async_start), (bin_handle_async_done),
7721 (gst_bin_handle_message_func):
7722 Move the common code for posting state-change messages into
7723 one function.
7724 Broadcast the state signal after we posted the messages.
7725 Mark the bin as busy when it's doing a state-change.
7726 Make sure async-start/done messages don't interfere with the bin's
7727 state when it's busy.
7728 After the state change, let the bin check which elements completed the
7729 state change while it was busy so that it can update its state.
7731 2007-06-19 Jan Schmidt <thaytan@mad.scientist.com>
7733 * docs/random/release:
7734 Add a note about updating the doap file to the release checklist
7736 2007-06-18 Wim Taymans <wim@fluendo.com>
7738 * plugins/elements/gstmultiqueue.c: (apply_buffer),
7739 (gst_single_queue_push_one), (gst_multi_queue_chain),
7740 (gst_multi_queue_sink_event):
7741 Make sure we don't reference the buffer/event after we have given away
7742 ownership in the queue.
7744 2007-06-18 Wim Taymans <wim@fluendo.com>
7746 * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
7747 (gst_multi_queue_chain), (gst_multi_queue_sink_event):
7748 Update queue state _after_ adding the item in the queue because else we
7749 could end up being full without the element added yet.
7751 2007-06-18 Wim Taymans <wim@fluendo.com>
7753 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
7754 (gst_bin_remove_func), (gst_bin_get_state_func),
7755 (gst_bin_element_set_state), (gst_bin_continue_func),
7756 (bin_push_state_continue), (bin_handle_async_start),
7757 (bin_handle_async_done), (gst_bin_handle_message_func):
7758 * gst/gstbin.h:
7759 Immediatly commit the toplevel bin state when receiving an async-done
7760 message. This enables us to avoid spawning a thread to commit the state
7761 in some common cases and it also avoids some races.
7762 Avoid spawning a state thread when adding/removing async elements to a
7763 toplevel bin. Instead we immediatly update the bin state.
7764 Get rid of iterating all the children when getting the state in the bin
7765 because it is now always up-to-date.
7766 Fix bug where locked elements would always return _SUCCESS even it they
7767 returned NO_PREROLL before being locked.
7768 Fix the order of the state_change, async-start/done messages that was
7769 sometimes incorrect.
7770 Mark the state_dirty field as deprecated, we don't need it anymore as we
7771 are always up-to-date.
7773 * gst/gstelement.c: (gst_element_get_state_func),
7774 (gst_element_continue_state):
7775 Small debug inprovements.
7776 Return the previous element state return when nothing is pending instead
7777 of blindly returning SUCCESS.
7779 * tests/check/generic/sinks.c: (GST_START_TEST), (pad_blocked_cb),
7780 (gst_sinks_suite):
7781 Add a whole bunch of new testcases.
7783 2007-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
7785 * po/uk.po:
7786 * po/vi.po:
7787 Update translations.
7789 2007-06-15 Jan Schmidt <thaytan@mad.scientist.com>
7791 * gst/gstpad.c:
7792 Fix typo in the docs.
7794 2007-06-15 Wim Taymans <wim@fluendo.com>
7796 * docs/libs/gstreamer-libs-sections.txt:
7797 Add docs for new methods.
7799 2007-06-15 Wim Taymans <wim@fluendo.com>
7801 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_item_destroy),
7802 (gst_multi_queue_item_new):
7803 Don't use GSlice because we don't depend on >= 2.10 yet.
7805 2007-06-15 Wim Taymans <wim@fluendo.com>
7807 * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
7808 (update_time_level), (apply_segment), (apply_buffer),
7809 (gst_single_queue_push_one), (gst_multi_queue_item_new),
7810 (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push),
7811 (gst_multi_queue_sink_event), (single_queue_overrun_cb),
7812 (single_queue_underrun_cb), (single_queue_check_full):
7813 Remove debug printf.
7815 2007-06-15 Wim Taymans <wim@fluendo.com>
7817 * libs/gst/base/gstdataqueue.c: (gst_data_queue_cleanup),
7818 (gst_data_queue_finalize), (gst_data_queue_locked_is_empty),
7819 (gst_data_queue_set_flushing), (gst_data_queue_push),
7820 (gst_data_queue_pop), (gst_data_queue_drop_head),
7821 (gst_data_queue_limits_changed), (gst_data_queue_get_level):
7822 * libs/gst/base/gstdataqueue.h:
7823 Various cleanups.
7824 Added methods to get the current levels and to inform the queue that the
7825 'full' limits changed.
7827 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
7828 (gst_multi_queue_finalize), (gst_multi_queue_set_property),
7829 (gst_single_queue_flush), (update_time_level), (apply_segment),
7830 (apply_buffer), (gst_single_queue_push_one),
7831 (gst_multi_queue_item_steal_object),
7832 (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
7833 (gst_multi_queue_loop), (gst_multi_queue_chain),
7834 (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
7835 (gst_multi_queue_getcaps), (gst_multi_queue_src_activate_push),
7836 (gst_multi_queue_src_query), (single_queue_overrun_cb),
7837 (single_queue_underrun_cb), (single_queue_check_full),
7838 (gst_single_queue_new):
7839 Keep track of time in the queue by measuring the difference between
7840 running_time on input and output. This gives more accurate results and
7841 can compensate for segments correctly.
7842 Make a queue by default only 5 buffers deep. We will now increase the
7843 buffer size depending on the filledness of the other queues.
7844 Factor out commong flush code.
7845 Make sure we don't add additional refcounts to buffers when we can avoid
7846 it.
7847 Propagate GstFlowReturn differently.
7848 Use GSlice for intermediate GstMultiQueueItems.
7849 Keep track of EOS.
7850 Resize queues on over and underruns based on filled level of other
7851 queues.
7852 When checking if the queue is filled, prefer to measure in time if we
7853 can and fall back to bytes when no time is known.
7855 * plugins/elements/gstqueue.c:
7856 Fix return value.
7858 2007-06-15 Wim Taymans <wim@fluendo.com>
7860 * libs/gst/base/gstbasetransform.c:
7861 (gst_base_transform_sink_event):
7862 Work around the brokenness of the event vmethod in basetransform. Prefer
7863 to return TRUE when the subclass returned FALSE (meaning don't forward
7864 the event).
7866 * libs/gst/base/gstbasetransform.h:
7867 Clarify the docs.
7869 2007-06-15 Wim Taymans <wim@fluendo.com>
7871 * gst/gstpad.c: (gst_pad_push_event), (gst_pad_send_event):
7872 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
7873 (gst_base_src_default_query), (gst_base_src_get_range),
7874 (gst_base_src_start):
7875 * tests/check/pipelines/parse-launch.c: (setup_pipeline):
7876 Improve debugging.
7878 2007-06-15 Stefan Kost <ensonic@users.sf.net>
7880 * docs/pwg/advanced-types.xml:
7881 Added more formats to caps table.
7883 2007-06-15 Stefan Kost <ensonic@users.sf.net>
7885 * tools/gst-launch.c: (main):
7886 Remove crufy code. GOption does not need this workaround.
7888 2007-06-14 Stefan Kost <ensonic@users.sf.net>
7890 * libs/gst/controller/gstcontroller.c:
7891 (gst_controlled_property_set_interpolation_mode):
7892 Fix wrong getter for enums in controller.
7894 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
7896 * libs/gst/check/gstcheck.c: (gst_check_init):
7897 Intercept criticals and warnings in the Gst-Phonon log domain, so
7898 ASSERT_CRITICAL() etc. can be used in gst-phonon's unit tests as
7899 well.
7901 2007-06-14 Edward Hervey <edward@fluendo.com>
7903 * gst/gstparamspecs.c: (_gst_param_fraction_validate):
7904 Since this file doesn't include "gst.h" it will not go through the
7905 macros that disable GST_LOG if debugging was disabled.
7907 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
7909 * libs/gst/check/Makefile.am:
7910 * libs/gst/check/gstcheck.h:
7911 * pkgconfig/gstreamer-check-uninstalled.pc.in:
7912 * pkgconfig/gstreamer-check.pc.in:
7913 Ugly 'fix' for the controller unit test on the p5 bot: in
7914 fail_unless_equals_float() check whether the values are 'almost
7915 equal' by allowing a small absolute error, which should be good
7916 enough for our use cases (normal numbers and values close to 0).
7917 Proper fixage left to floating point arithmetic aficionados.
7919 2007-06-14 Stefan Kost <ensonic@users.sf.net>
7921 * libs/gst/base/gstbasesink.c: (gst_base_sink_reset_qos),
7922 (gst_base_sink_render_object), (gst_base_sink_get_position):
7923 Add two breaks thats where missing.
7925 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
7927 * docs/libs/gstreamer-libs-sections.txt:
7928 * libs/gst/check/gstcheck.h:
7929 API: add fail_unless_equals_float() and assert_equals_float().
7930 Add documentation for some of the macros.
7932 * tests/check/libs/controller.c: (GST_START_TEST):
7933 Use newly-added asserts.
7935 2007-06-14 Stefan Kost <ensonic@users.sf.net>
7937 * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_push):
7938 Show the caps change in the log to help spotting the case of not
7939 exactly matching caps.
7941 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
7943 * docs/pwg/building-boiler.xml:
7944 Fix typos, spotted by Thijs Vermeir (#447190).
7946 2007-06-13 Jan Schmidt <thaytan@mad.scientist.com>
7948 * docs/plugins/tmpl/.cvsignore:
7949 Ignore file to keep the buildbots happy
7951 2007-06-13 Jan Schmidt <thaytan@mad.scientist.com>
7953 * docs/plugins/Makefile.am:
7954 * docs/plugins/gstreamer-plugins-docs.sgml:
7955 * docs/plugins/gstreamer-plugins-sections.txt:
7956 Pull fdsink into the docs too.
7958 2007-06-11 Sebastian Dröge <slomo@circular-chaos.org>
7960 * libs/gst/controller/gstinterpolation.c:
7961 Actually use the new functions with min/max checks for the trigger and
7962 none interpolation modes for get() and get_value_array() instead of
7963 just the latter.
7965 2007-06-10 Sebastian Dröge <slomo@circular-chaos.org>
7967 * libs/gst/controller/gstcontroller.c:
7968 (gst_controlled_property_free):
7969 Unset the minimum and maximum GValues when freeing the corresponding
7970 GstControllerProperty struct.
7972 2007-06-09 Sebastian Dröge <slomo@circular-chaos.org>
7974 * libs/gst/controller/gstcontroller.c:
7975 (gst_controlled_property_new):
7976 * libs/gst/controller/gstcontrollerprivate.h:
7977 * libs/gst/controller/gstinterpolation.c:
7978 (gst_controlled_property_find_control_point_node),
7979 (interpolate_none_get), (interpolate_none_get_enum_value_array),
7980 (interpolate_none_get_string_value_array),
7981 (interpolate_trigger_get),
7982 (interpolate_trigger_get_enum_value_array),
7983 (interpolate_trigger_get_string_value_array):
7984 Protect against values larger or smaller than the minimum or maximum
7985 allowed value for the property when using values that can be compared.
7987 Optimize trigger interpolator a bit by taking the last requested value
7988 into account instead of always looping through the complete list.
7990 Fix coding style a bit, everywhere else we use "return foo" instead
7991 of "return (foo)".
7993 * tests/check/libs/controller.c: (GST_START_TEST),
7994 (gst_controller_suite):
7995 Add unit test for the protection against too large or too small
7996 values.
7998 2007-06-08 Sebastian Dröge <slomo@circular-chaos.org>
8000 * docs/random/slomo/controller.txt:
8001 Add some thoughts about the future of the controller.
8003 2007-06-08 Wim Taymans <wim@fluendo.com>
8005 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
8006 Don't overflow in retimestamping code.
8008 2007-06-07 Sebastien Moutte <sebastien@moutte.net>
8010 * libs/gst/controller/gstinterpolation.c: (DEFINE_CUBIC_GET):
8011 Use gst_util_guint64_to_gdouble for conversions.
8012 * win32/common/libgstreamer.def:
8013 Add new exported functions.
8015 2007-06-07 Tim-Philipp Müller <tim at centricular dot net>
8017 * gst/gstutils.c:
8018 Small docs addition.
8020 2007-06-07 Stefan Kost <ensonic@users.sf.net>
8022 * README:
8023 Remove that test line again.
8025 2007-06-07 Stefan Kost <ensonic@users.sf.net>
8027 * README:
8028 Test commit mail sending.
8030 2007-06-07 Stefan Kost <ensonic@users.sf.net>
8032 * configure.ac:
8033 Fix typo and test commit mail sending.
8035 2007-06-07 Stefan Kost <ensonic@users.sf.net>
8037 * tests/examples/controller/audio-example.c:
8038 Improve comment and test commit mail sending.
8040 2007-06-07 Wim Taymans <wim@fluendo.com>
8042 * gst/gstbin.c: (find_message), (bin_replace_message), (is_eos),
8043 (gst_bin_remove_func), (gst_bin_element_set_state),
8044 (bin_handle_async_start), (bin_handle_async_done),
8045 (gst_bin_handle_message_func):
8046 Add helper function to find messages.
8047 Generate the async-done messages together with the state change
8048 messages.
8049 Small cleanups in handling toplevel bins.
8051 2007-06-06 Tim-Philipp Müller <tim at centricular dot net>
8053 * libs/gst/base/gstdataqueue.c:
8054 * libs/gst/base/gstdataqueue.h:
8055 * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
8056 (gst_multi_queue_item_new), (gst_multi_queue_chain),
8057 (gst_multi_queue_sink_event):
8058 * tests/check/elements/multiqueue.c: (multiqueue_suite):
8059 Fix multiqueue leaking buffers and events when downstream or the
8060 queue are flushing. Make refcounting assumptions explicit and
8061 document them (shouldn't break existing code that uses it other than
8062 maybe leak miniobjects, but that already happens anyway). Add unit
8063 test for the most common flushing case. Fixes #423700.
8065 2007-06-06 Sebastian Dröge <slomo@circular-chaos.org>
8067 * libs/gst/controller/gstcontroller.c:
8068 Clarify docs: The get_all, get_value_array(s) functions
8069 don't modify the GObject properties.
8071 2007-06-06 Sebastian Dröge <slomo@circular-chaos.org>
8073 * libs/gst/controller/gstcontroller.c:
8074 (gst_controlled_property_set_interpolation_mode),
8075 (gst_controlled_property_prepend_default),
8076 (gst_controlled_property_new), (gst_controller_set_unlocked),
8077 (gst_controller_set), (gst_controller_set_from_list),
8078 (gst_controller_unset), (gst_controller_unset_all):
8079 * libs/gst/controller/gstcontrollerprivate.h:
8080 * libs/gst/controller/gstinterpolation.c:
8081 Factor out the 'set' logic into gst_controller_set_unlocked for the
8082 gst_controller_set and gst_controller_set_from_list functions.
8084 To make life of the interpolators easier always add a control point
8085 at timestamp zero with the default value.
8087 In the linear interpolator make things more obvious by better variable
8088 naming (slope).
8090 Implement cubic interpolation mode (by using a natural cubic spline)
8091 and map the quadratic interpolation mode to this too (as quadratic
8092 doesn't make much sense, see discussion on the list).
8094 * tests/check/libs/controller.c: (GST_START_TEST),
8095 (gst_controller_suite):
8096 Add unit test for the cubic interpolation mode and check everywhere
8097 if the interpolation mode could be set as expected.
8099 2007-06-06 Tim-Philipp Müller <tim at centricular dot net>
8101 * gst/gstparamspecs.c: (gst_param_spec_fraction_get_type):
8102 Don't use GLib-2.10 functions, we still depend on
8103 GLib-how-old-is-it-again-2.8.
8105 2007-06-06 Tim-Philipp Müller <tim at centricular dot net>
8107 * docs/gst/gstreamer-sections.txt:
8108 * gst/Makefile.am:
8109 * gst/gst.c:
8110 * gst/gst.h:
8111 * gst/gstparamspecs.c: (_gst_param_fraction_init),
8112 (_gst_param_fraction_set_default), (_gst_param_fraction_validate),
8113 (_gst_param_fraction_values_cmp),
8114 (gst_param_spec_fraction_get_type), (gst_param_spec_fraction):
8115 * gst/gstparamspecs.h:
8116 * gst/gstvalue.c:
8117 * tests/check/Makefile.am:
8118 * tests/check/gst/.cvsignore:
8119 * tests/check/gst/gstparamspecs.c: (gst_dummy_obj_base_init),
8120 (gst_dummy_obj_class_init), (gst_dummy_obj_init),
8121 (gst_dummy_obj_set_property), (gst_dummy_obj_get_property),
8122 (GST_START_TEST), (gst_param_spec_suite):
8123 API: add GstParamSpecFraction, so elements can have fraction
8124 properties without lots of painful string parsing (#444648).
8126 2007-06-05 Wim Taymans <wim@fluendo.com>
8128 * gst/gstobject.c: (gst_object_class_init):
8129 Fix signal signature.
8131 * gst/gstsegment.c:
8132 Add small clarification in the api docs.
8134 * plugins/elements/gstfilesrc.c: (gst_file_src_set_location):
8135 States are protected with object lock.
8137 2007-06-05 Jan Schmidt <thaytan@mad.scientist.com>
8139 * AUTHORS:
8140 I should probably be listed as an author by now.
8142 * docs/random/release:
8143 Update the release doc
8145 2007-06-05 Tim-Philipp Müller <tim at centricular dot net>
8147 * gst/gstvalue.c:
8148 Make docs for gst_value_compare() mention return enums that
8149 actually exist.
8151 2007-06-05 Jan Schmidt <thaytan@mad.scientist.com>
8153 * configure.ac:
8154 Back to CVS
8156 === release 0.10.13 ===
8158 2007-06-05 Jan Schmidt <thaytan@mad.scientist.com>
8160 * configure.ac:
8161 releasing 0.10.13, "With or without you"
8163 2007-05-25 Wim Taymans <wim@fluendo.com>
8165 * gst/gstbin.c: (bin_handle_async_done):
8166 Make sure that the child bin stops after completing the async state
8167 change so that the parent can continue the state change to PLAYING.
8168 Fixes #441159.
8170 2007-05-25 Wim Taymans <wim@fluendo.com>
8172 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
8173 (unref_data), (gst_collect_pads_remove_pad),
8174 (gst_collect_pads_check_pads):
8175 Use additional refcounting to avoid crashes when dynamically adding and
8176 removing pads. Fixes #420206.
8178 2007-05-24 Wim Taymans <wim@fluendo.com>
8180 * tools/gst-launch.c: (event_loop):
8181 When buffering goes from a two digit to a single digit number, make sure
8182 to remove the old second digit by writing a blank over it.
8184 2007-05-24 Tim-Philipp Müller <tim at centricular dot net>
8186 * libs/gst/base/gstdataqueue.c:
8187 Eliminate tabs and trailing comma in enum list; fix some typos.
8189 2007-05-24 Wim Taymans <wim@fluendo.com>
8191 * tests/check/gst/gstbin.c: (GST_START_TEST):
8192 Allow refcount of 3 and 4 because some state thread might still be busy
8193 with it.
8195 2007-05-24 Tim-Philipp Müller <tim at centricular dot net>
8197 * plugins/elements/Makefile.am:
8198 * plugins/elements/gstmultiqueue.h:
8199 * plugins/elements/gstqueue.h:
8200 These are not installed headers, no need for padding.
8202 2007-05-24 Wim Taymans <wim@fluendo.com>
8204 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
8205 (gst_bin_continue_func):
8206 Enable latency for next release.
8207 Restore STATE_LOCK around recalc_state that was left out during the
8208 rewrite and could result in racy behaviour when _get_state and
8209 recalc_state are run concurrently. See #440463.
8211 2007-05-23 Wim Taymans <wim@fluendo.com>
8213 * tests/check/gst/gstsystemclock.c: (store_callback),
8214 (GST_START_TEST):
8215 Improve test_async_order to also work when both timers are already
8216 expired when we get scheduled to check it.
8218 2007-05-22 Tim-Philipp Müller <tim at centricular dot net>
8220 * gst/gstbin.c: (gst_bin_init), (gst_bin_dispose),
8221 (gst_bin_set_property), (gst_bin_get_property),
8222 (gst_bin_remove_func), (gst_bin_handle_message_func):
8223 * gst/gstbin.h:
8224 'private' is a c++ keyword, let's not use that in header files,
8225 otherwise c++ compilers will throw a tantrum.
8227 2007-05-22 Tim-Philipp Müller <tim at centricular dot net>
8229 * plugins/elements/gstelements.c:
8230 * plugins/elements/gstfilesink.c: (gst_file_sink_do_seek),
8231 (gst_file_sink_get_current_offset):
8232 * plugins/indexers/gstindexers.c: (plugin_init):
8233 Use #ifdef for HAVE_XYZ for consistency.
8235 * tests/check/Makefile.am:
8236 * tests/check/elements/.cvsignore:
8237 * tests/check/elements/filesink.c: (setup_filesink),
8238 (cleanup_filesink), (GST_START_TEST), (filesink_suite):
8239 Add some unit tests for filesink.
8241 2007-05-22 Tim-Philipp Müller <tim at centricular dot net>
8243 Patch by: Mark Nauwelaerts <manauw at skynet be>
8245 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
8246 (gst_file_sink_query), (gst_file_sink_do_seek),
8247 (gst_file_sink_get_current_offset), (gst_file_sink_render):
8248 * plugins/elements/gstfilesink.h:
8249 Fix position reporting; rename data_written member to current_pos to
8250 reflect its real meaning (fixes #412648).
8252 2007-05-22 Edward Hervey <edward@fluendo.com>
8254 * docs/gst/gstreamer-sections.txt:
8255 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
8256 (gst_bin_dispose), (gst_bin_set_property), (gst_bin_get_property),
8257 (gst_bin_remove_func), (gst_bin_handle_message_func):
8258 * gst/gstbin.h:
8259 Add a property for bins that handle the state change of their childs.
8260 Fixes #435880
8262 2007-05-22 Sebastian Dröge <slomo@circular-chaos.org>
8264 * libs/gst/controller/gstinterpolation.c:
8265 Use an array of the correct type when using _get_value_array with
8266 linear interpolation.
8268 2007-05-22 Stefan Kost <ensonic@users.sf.net>
8270 * gst/gstelement.c (gst_element_requires_clock,
8271 gst_element_provides_clock, gst_element_request_pad,
8272 gst_element_class_set_details, gst_element_class_set_details_simple,
8273 gst_element_default_send_event, gst_element_abort_state,
8274 gst_element_continue_state, gst_element_set_state,
8275 gst_element_set_state_func, iterator_activate_fold_with_resync):
8276 * gst/gstpad.c (gst_pad_activate_pull, gst_pad_set_getcaps_function,
8277 gst_pad_fixate_caps, gst_pad_configure_sink, gst_pad_configure_src,
8278 gst_pad_query, gst_pad_save_thyself, handle_pad_block, gst_pad_push,
8279 gst_pad_get_range, gst_pad_pull_range):
8280 * gst/gstpad.h (GST_PAD_LINK_SUCCESSFUL, GST_FLOW_CUSTOM_SUCCESS,
8281 GST_FLOW_NOT_SUPPORTED, GST_FLOW_IS_FATAL, GstPadActivateFunction,
8282 GstPadActivateModeFunction, GstPadChainFunction,
8283 GstPadGetCapsFunction, GstPadAcceptCapsFunction,
8284 GstPadFixateCapsFunction, GstPadTemplate):
8285 * gst/gstpipeline.c (gst_pipeline_change_state,
8286 gst_pipeline_set_new_stream_time, gst_pipeline_use_clock,
8287 gst_pipeline_set_clock, gst_pipeline_auto_clock,
8288 gst_pipeline_get_delay):
8289 Whitespace and docs fixes.
8291 2007-05-21 Sebastian Dröge <slomo@circular-chaos.org>
8293 * libs/gst/controller/gstinterpolation.c:
8294 (interpolate_trigger_get_enum_value_array),
8295 (interpolate_trigger_get_string_value_array):
8296 Add support for retrieving value arrays when using the trigger
8297 interpolation mode.
8299 2007-05-21 Sebastian Dröge <slomo@circular-chaos.org>
8301 * libs/gst/controller/gstcontroller.c:
8302 (gst_controller_get_value_array):
8303 * libs/gst/controller/gstcontroller.h:
8304 Clarify the docs of gst_controller_get_value_array(): The array where
8305 the values should be written to must be allocated as there seems to be
8306 no way to get the size of a random GType. This doesn't change any
8307 behaviour. Also fix some typos all over the place and remove an unused,
8308 commented function that is not necessary as g_object_set() could be
8309 used instead.
8310 * tests/check/libs/controller.c: (GST_START_TEST),
8311 (gst_controller_suite):
8312 Add unit test for gst_controller_get_value_array().
8314 2007-05-21 Jan Schmidt <thaytan@mad.scientist.com>
8316 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
8318 Disable part of the gst_buffer_try_new_and_alloc test, because
8319 it can happily succeed on 64-bit systems where there's more address
8320 space available.
8322 2007-05-21 Sebastian Dröge <slomo@circular-chaos.org>
8324 * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
8325 Add unit test for the improved caps checking from bug #421543.
8327 2007-05-21 Wim Taymans <wim@fluendo.com>
8329 * docs/design/part-synchronisation.txt:
8330 Small addition.
8332 * gst/gstbin.c: (gst_bin_query):
8333 * plugins/elements/gstqueue.c: (apply_segment):
8334 Improve debugging.
8336 * gst/gstmessage.h:
8337 Improve docs.
8339 2007-05-21 Wim Taymans <wim@fluendo.com>
8341 * gst/gstpad.c: (gst_pad_get_caps_unlocked),
8342 (gst_pad_acceptcaps_default), (gst_pad_configure_sink),
8343 (gst_pad_configure_src):
8344 Added simple version of improved caps checking. It was previously
8345 assumed that a setcaps function would check the validity of the caps but
8346 people prefer us to check caps against the template automatically.
8347 Fixes #421543.
8349 2007-05-21 Wim Taymans <wim@fluendo.com>
8351 * libs/gst/base/gstbasetransform.h:
8352 Fix macro for locking/unlocking the transform lock.
8354 2007-05-19 Tim-Philipp Müller <tim at centricular dot net>
8356 * docs/plugins/tmpl/.cvsignore:
8357 Ignore more.
8359 2007-05-18 Edward Hervey <edward@fluendo.com>
8361 * plugins/elements/gstqueue.c: (gst_queue_loop):
8362 Hello, I am Mr Taymans' personal debugger. Today I will introduce a fix
8363 for the subtle art of warning a potentially blocking thread that it
8364 should check the source pad return value, and relay the information
8365 upstream.
8367 2007-05-18 Edward Hervey <edward@fluendo.com>
8369 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
8370 Release the queue lock !
8372 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
8374 * docs/libs/gstreamer-libs-sections.txt:
8375 Add the two new controller functions to the appropiate places.
8377 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
8379 reviewed by: Stefan Kost <ensonic@users.sf.net>
8381 * libs/gst/controller/gstcontroller.c:
8382 (gst_controller_suggest_next_sync), (gst_controller_sync_values),
8383 (_gst_controller_get_property), (_gst_controller_set_property),
8384 (_gst_controller_init), (_gst_controller_class_init):
8385 * libs/gst/controller/gstcontroller.h:
8386 * libs/gst/controller/gsthelper.c: (gst_object_suggest_next_sync),
8387 (gst_object_get_control_rate), (gst_object_set_control_rate):
8388 API: gst_controller_suggest_next_sync(), gst_object_suggest_next_sync()
8389 Add API that provides sync suggestion timestamps for elements that
8390 call gst_object_sync_values() from which those elements can subdivide
8391 their processing loop to get the best results for the controlled
8392 properties. For now it just suggests last_sync + control_rate as
8393 new timestamp but this will be improved in the future.
8395 While doing that change the control-rate property to a GstClockTime
8396 from guint and change it's meaning from samples to nanoseconds as
8397 the GstController doesn't know anything about sampling rate. Strictly
8398 speaking this breaks ABI but as the control-rate property didn't do
8399 anything in the past and as such couldn't be used this should be no
8400 problem.
8402 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
8404 reviewed by: Stefan Kost <ensonic@users.sf.net>
8406 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
8407 (gst_controller_unset_all):
8408 * libs/gst/controller/gstcontrollerprivate.h:
8409 * libs/gst/controller/gstinterpolation.c:
8410 (gst_controlled_property_find_control_point_node):
8411 Save last synced value from the list to continue searching from there
8412 in future syncs. This speeds everything up a bit.
8414 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
8416 reviewed by: Stefan Kost <ensonic@users.sf.net>
8418 * libs/gst/controller/gstcontroller.c: (gst_control_point_compare),
8419 (gst_control_point_find), (gst_controlled_property_new),
8420 (gst_control_point_free), (gst_controlled_property_free),
8421 (gst_controller_set), (gst_controller_set_from_list),
8422 (gst_controller_unset), (gst_controller_unset_all),
8423 (gst_controller_sync_values):
8424 * libs/gst/controller/gstcontroller.h:
8425 * libs/gst/controller/gstcontrollerprivate.h:
8426 * libs/gst/controller/gstinterpolation.c:
8427 (gst_controlled_property_find_control_point_node),
8428 (interpolate_none_get), (interpolate_trigger_get):
8429 Add a new private GstControlPoint struct which "inherits" from
8430 GstTimedValue to allow different interpolators to store internal
8431 values next to each control point. From the outside everything is
8432 still a GstControlPoint so we don't loose binary compatibility.
8433 Also fixup all the GValue handling to not leak GValues or list nodes.
8434 * tests/check/libs/controller.c: (GST_START_TEST):
8435 Free the list nodes and GValues in the controller_misc test.
8437 2007-05-17 Edward Hervey <edward@fluendo.com>
8439 * gst/gstsegment.c:
8440 Small doc fix.
8442 2007-05-16 Tim-Philipp Müller <tim at centricular dot net>
8444 * gst/gstplugin.c: (gst_plugin_load_file):
8445 If we fail to load a plugin because of unresolved symbols or missing
8446 libraries and spew a warning to stderr, we may just as well mention
8447 which plugin it was that failed to load.
8449 2007-05-13 David Schleef <ds@schleef.org>
8451 * docs/Makefile.am: the gtk-doc makefile snippet correctly
8452 handles the case when ENABLE_GTK_DOC is false, and installs
8453 the prebuilt documentation. So gtk-doc subdirs are
8454 unconditionally enabled. Fixes: #349099.
8456 2007-05-13 David Schleef <ds@schleef.org>
8458 * gst/gstutils.h: Reword some documentation.
8460 2007-05-12 David Schleef <ds@schleef.org>
8462 * gst/gstplugin.c: gst_plugin_register_func() doesn't actually
8463 do anything with the passed "module" parameter, so remove it.
8464 Allows removal of additional vestigal code.
8466 2007-05-12 David Schleef <ds@schleef.org>
8468 * gst/gstplugin.c:
8469 Using sigaction should depend on HAVE_SIGACTION, not HAVE_WIN32.
8470 Switch to using g_stat() because it's more portable.
8472 2007-05-12 David Schleef <ds@schleef.org>
8474 * gst/gst.c:
8475 Add GST_DISABLE_OPTION_PARSING, in order to disable option
8476 parsing for embedded systems.
8477 * gst/gstelementfactory.c:
8478 Allow gst_element_register() to be called with plugin==NULL.
8479 Did nobody notice that static elements were broken?
8481 2007-05-12 Wim Taymans <wim@fluendo.com>
8483 * tools/gst-launch.c: (event_loop):
8484 Give more interesting info when buffering starts and stops.
8485 Fix case where buffering starts but we fail to update the buffering flag
8486 because the target state is not PLAYING.
8488 2007-05-12 Wim Taymans <wim@fluendo.com>
8490 * plugins/elements/gstqueue.c: (gst_queue_init),
8491 (gst_queue_finalize), (update_time_level), (apply_segment),
8492 (apply_buffer), (gst_queue_locked_flush),
8493 (gst_queue_locked_enqueue), (gst_queue_locked_dequeue),
8494 (gst_queue_handle_sink_event), (gst_queue_chain),
8495 (gst_queue_push_one), (gst_queue_loop):
8496 * plugins/elements/gstqueue.h:
8497 Refactor an cleanup queue a bit.
8498 Do better time level calculations that also work when the srcpad is not
8499 yet running.
8500 Remove some unneeded debug lines.
8502 * tests/check/elements/queue.c: (GST_START_TEST), (queue_suite):
8503 Added testcase for time level measurement.
8504 Try to make some stuff more racefree.
8506 2007-05-11 Tim-Philipp Müller <tim at centricular dot net>
8508 * gst/gsturi.c: (gst_element_make_from_uri):
8509 Don't leak plugin feature.
8511 * tests/check/Makefile.am:
8512 * tests/check/gst/.cvsignore:
8513 * tests/check/gst/gsturi.c: (GST_START_TEST), (gst_uri_suite):
8514 Add brain-dead unit test.
8516 2007-05-11 Tim-Philipp Müller <tim at centricular dot net>
8518 Patch by: Jeroen Wouters <woutersj at gmail com>
8520 * gst/gsturi.c: (gst_uri_get_protocol), (search_by_entry):
8521 Treat protocol strings in a case-insensitive way (#437563).
8523 2007-05-11 Michael Smith <msmith@fluendo.com>
8525 * gst/gstplugin.c: (gst_plugin_load_file):
8526 * gst/gstregistry.c: (gst_registry_scan_path_level):
8527 Don't print a g_warning for any failure to load a shared object.
8528 Instead, push this down into gstplugin.c, and warn _only_ if we
8529 failed to open the module (i.e. failure to link).
8530 Avoids warnings on normal, working, non-plugin .so files.
8532 2007-05-11 Stefan Kost <ensonic@users.sf.net>
8534 * gst/gstplugin.c (gst_plugin_load_file):
8535 * gst/gstregistry.c (GST_CAT_DEFAULT,
8536 gst_registry_lookup_feature_locked, gst_registry_scan_path_level):
8537 Print a g_warning if there was an error when loading a plugins during
8538 registry scan. The shuld help beginners starting with gst-plugin
8539 template.
8541 2007-05-10 Wim Taymans <wim@fluendo.com>
8543 * plugins/elements/gstqueue.c: (gst_queue_class_init),
8544 (update_time_level), (gst_queue_locked_flush),
8545 (gst_queue_handle_sink_event), (gst_queue_chain),
8546 (gst_queue_push_one), (gst_queue_loop):
8547 * plugins/elements/gstqueue.h:
8548 Be smarter when calculating the current amount of data in the queue by
8549 measuring the difference between start and end timestamps (in running
8550 time) inside the queue. Fixes #432876.
8551 API: GstQueue::pushing to notify elements that we are pushing data again
8552 since the running signal is rather broken for this purpose.
8554 2007-05-10 Stefan Kost <ensonic@users.sf.net>
8556 * plugins/elements/gstqueue.c (_do_init, gst_queue_signals,
8557 gst_queue_base_init, gst_queue_init):
8558 use GST_BOILERPLATE
8560 2007-05-09 Sebastien Moutte <sebastien@moutte.net>
8562 * win32/common/libgstreamer.def:
8563 Add new exported functions.
8564 * win32/vs6/grammar.dsp:
8565 Use grammar pre-generated files.
8567 2007-05-09 Tim-Philipp Müller <tim at centricular dot net>
8569 Based on patch by: Peter Kjellerstedt <pkj at axis com>
8571 * gst/Makefile.am:
8572 * gst/gstparse.c: (gst_parse_launchv), (gst_parse_launch):
8573 * gst/gstparse.h:
8574 * gst/gstutils.c: (gst_parse_bin_from_description):
8575 * gst/gstutils.h:
8576 Maintain API and ABI when --disable-parse is used. Now that
8577 we have an appropriate error code, we can just return NULL and the
8578 appropriate error when gst_parse_launch() is used despite it having
8579 been disabled (#342564).
8581 * tests/check/Makefile.am:
8582 * tests/check/pipelines/.cvsignore:
8583 * tests/check/pipelines/parse-disabled.c:
8584 Make sure these functions exist and return NULL plus a GError when
8585 --disable-parse is used.
8587 2007-05-09 Tim-Philipp Müller <tim at centricular dot net>
8589 * tests/benchmarks/complexity.c: (main):
8590 * tests/benchmarks/mass-elements.c: (main):
8591 Set a good example and don't leak messages.
8593 2007-05-06 Stefan Kost <ensonic@users.sf.net>
8595 * docs/gst/Makefile.am:
8596 * docs/libs/Makefile.am:
8597 Correct fixxrefs options.
8599 * docs/plugins/Makefile.am:
8600 * docs/plugins/gstreamer-plugins-docs.sgml:
8601 * docs/plugins/gstreamer-plugins-sections.txt:
8602 * plugins/elements/Makefile.am:
8603 * plugins/elements/gstcapsfilter.c (gst_capsfilter_details):
8604 * plugins/elements/gstcapsfilter.h (__GST_CAPSFILTER_H__,
8605 GST_TYPE_CAPSFILTER, GST_CAPSFILTER, GST_CAPSFILTER_CLASS,
8606 GST_IS_CAPSFILTER, GST_IS_CAPSFILTER_CLASS, GstCapsFilter,
8607 GstCapsFilterClass, _GstCapsFilter, trans, filter_caps,
8608 _GstCapsFilterClass, trans_class):
8609 * plugins/elements/gstelements.c (name, rank, type, _elements):
8610 * plugins/elements/gstidentity.c
8611 (gst_identity_check_imperfect_timestamp,
8612 gst_identity_check_imperfect_offset):
8613 Document capsfilter and add doc-blurb to identity.
8615 2007-05-04 Tim-Philipp Müller <tim at centricular dot net>
8617 * libs/gst/controller/gstcontroller.c:
8618 (gst_controlled_property_set_interpolation_mode):
8619 * libs/gst/controller/gstinterpolation.c:
8620 Don't crash if someone tries to set an interpolation mode that
8621 is invalid or that isn't supported yet. Fixes #422295.
8623 * tests/check/libs/controller.c: (GST_START_TEST),
8624 (gst_controller_suite):
8625 Add a test case for the above.
8627 2007-05-03 Edward Hervey <edward@fluendo.com>
8629 * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
8630 Properly set the last_stop position on GstSegment. This will only happen
8631 if there is a buffer to push out.
8633 2007-05-03 Wim Taymans <wim@fluendo.com>
8635 * libs/gst/base/gstbasetransform.c:
8636 (gst_base_transform_buffer_alloc):
8637 always_in_place does not mean that the sink and source caps are the
8638 same! Make sure we don't blindly proxy the buffer_alloc in this case.
8640 2007-05-03 Wim Taymans <wim@fluendo.com>
8642 * docs/libs/gstreamer-libs-sections.txt:
8643 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
8644 (gst_base_src_default_query), (gst_base_src_get_range):
8645 * libs/gst/base/gstbasesrc.h:
8646 API: gst_base_src_query_latency(). Added method so that subclasses can
8647 easily get the latency values of the base source class.
8649 2007-05-02 Zaheer Abbas Merali <<zaheerabbas at merali dot org>>
8651 * tools/gst-inspect.c (print_implementation_info):
8652 Remove 0.8 cruft.
8654 2007-05-02 Tim-Philipp Müller <tim at centricular dot net>
8656 * tools/Makefile.am:
8657 * tools/gst-launch.1.in:
8658 Don't create a customised man page based on the host architecture,
8659 describe the default registry path generically. That way the man
8660 page is the same for all architectures and packagers have one
8661 multilib issue less to deal with. Fixes #434926.
8663 2007-05-02 Wim Taymans <wim@fluendo.com>
8665 * gst/gstpad.c:
8666 Fix documentation as spotted by rg on IRC.
8668 2007-04-29 Stefan Kost <ensonic@users.sf.net>
8670 * gst/gstutils.c:
8671 Improve docs for gst_element_{link,unlink}.
8673 2007-04-28 Tim-Philipp Müller <tim at centricular dot net>
8675 * docs/design/part-events.txt:
8676 * docs/design/part-overview.txt:
8677 * gst/gstevent.c:
8678 * gst/gsturi.c:
8679 * gst/gsturi.h:
8680 * libs/gst/base/gstbasesink.c:
8681 Typo fixes; minor docs addition.
8683 2007-04-27 Sebastian Dröge <slomo@circular-chaos.org>
8685 * docs/gst/gstreamer-sections.txt:
8686 * gst/gsturi.c: (get_element_factories_from_uri_protocol),
8687 (gst_uri_protocol_is_supported), (gst_element_make_from_uri):
8688 * gst/gsturi.h:
8689 API: Add gst_uri_protocol_is_supported(), which checks if a sink
8690 or src that supports a given URI protocol exists.
8692 2007-04-27 Sebastian Dröge <slomo@circular-chaos.org>
8694 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
8695 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
8696 Set the location to NULL if "file://" is set as URI. Otherwise
8697 some random previous URI would still be set if "file://" is
8698 set on an already used filesink/filesrc.
8700 2007-04-27 Sebastian Dröge <slomo@circular-chaos.org>
8702 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
8703 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
8704 Special case the "file://" URI as as this is used by some
8705 applications to test with gst_element_make_from_uri if there's
8706 an element that supports the URI protocol.
8707 Also move the g_path_is_absolute() check for the location part
8708 of the URI to also check this for "file://localhost/bla" URIs.
8710 2007-04-26 Tim-Philipp Müller <tim at centricular dot net>
8712 * docs/gst/gstreamer-sections.txt:
8713 * gst/gstbuffer.c: (gst_buffer_try_new_and_alloc):
8714 * gst/gstbuffer.h:
8715 * tests/check/gst/gstbuffer.c: (GST_START_TEST),
8716 (gst_buffer_suite):
8717 API: add gst_buffer_try_new_and_alloc() plus unit test (#431940).
8719 2007-04-26 Stefan Kost <ensonic@users.sf.net>
8721 * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
8722 (gst_registry_binary_load_pad_template),
8723 (gst_registry_binary_load_plugin),
8724 (gst_registry_binary_read_cache):
8725 * gst/gstregistrybinary.h:
8726 Implement no-mmap alternative for registry reading. Do code cleanups.
8727 Add more comments about avoiding strdups for all text data. Comments
8728 welcome.
8730 2007-04-25 Stefan Kost <ensonic@users.sf.net>
8732 * gst/gstregistrybinary.h (GstBinaryPluginElement,
8733 GstBinaryPluginFeature, _GstBinaryElementFactory, plugin_feature,
8734 GstBinaryElementFactory, _GstBinaryTypeFindFactory, plugin_feature):
8735 Comment structs and reformat to fix the build (that stuff should go
8736 into a priv. header).
8738 2007-04-25 Stefan Kost <ensonic@users.sf.net>
8740 * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
8741 (gst_registry_binary_load_feature):
8742 * gst/gstregistrybinary.h:
8743 Refactor so that we can implement multiple features. Add support for
8744 TypeFindFactory features.
8746 2007-04-24 Stefan Kost <ensonic@users.sf.net>
8748 Patch by: Peter Kjellerstedt <Peter.Kjellerstedt@axis.com>
8750 * configure.ac:
8751 Fix AM_CONDITIONAL(GST_DISABLE_GST_DEBUG,...) and update comment.
8753 2007-04-23 Stefan Kost <ensonic@users.sf.net>
8755 * gst/gstbin.c: (gst_bin_element_set_state),
8756 (iterator_activate_fold_with_resync), (gst_bin_continue_func),
8757 (bin_handle_async_done), (gst_bin_handle_message_func):
8758 Fix build with --gst-disable-gst-debug
8760 2007-04-21 Tim-Philipp Müller <tim at centricular dot net>
8762 * libs/gst/base/gstbasetransform.c: (gst_base_transform_activate):
8763 Make sure streaming has finished before calling the ::stop() vfunc,
8764 since that vfunc might clear state which is being used in the
8765 streaming thread. This fixes a race that caused crashes in
8766 audioresample when shutting down a pipeline (#420106).
8768 2007-04-20 Stefan Kost <ensonic@users.sf.net>
8770 * docs/gst/gstreamer-sections.txt:
8771 That was one byte missing.
8773 2007-04-20 Stefan Kost <ensonic@users.sf.net>
8775 * configure.ac:
8776 * docs/gst/gstreamer-sections.txt:
8777 * gst/Makefile.am:
8778 * gst/gstconfig.h.in:
8779 * gst/gstobject.c: (gst_object_class_init),
8780 (gst_signal_object_class_init):
8781 * gst/gstobject.h:
8782 2nd attempt to have a xml-less build as a joined effort of #413123
8783 and #421480.
8785 2007-04-20 Stefan Kost <ensonic@users.sf.net>
8787 * docs/design/draft-tagreading.txt:
8788 Added open issues/thoughts to draft.
8790 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
8792 * gst/parse/grammar.tab.pre.c:
8793 * gst/parse/grammar.tab.pre.h:
8794 * gst/parse/lex._gst_parse_yy.pre.c:
8795 Update the prebuild parser sources.
8797 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
8799 * gst/parse/Makefile.am:
8800 And now fix the building of the flex sources. Now everything should
8801 work as expected.
8803 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
8805 * gst/parse/Makefile.am:
8806 Now hopefully fix the build failures by setting proper rule
8807 dependencies and moving instead of copying.
8809 2007-04-19 Stefan Kost <ensonic@users.sf.net>
8811 * tests/benchmarks/complexity.gnuplot:
8812 * tests/benchmarks/complexity.scm:
8813 * tests/benchmarks/mass-elements.gnuplot:
8814 * tests/benchmarks/mass-elements.scm:
8815 Total licensification.
8817 2007-04-19 Stefan Kost <ensonic@users.sf.net>
8819 * gst/parse/Makefile.am:
8820 Fix the build by correcting the rule that gave wrong files to flex.
8822 2007-04-19 Stefan Kost <ensonic@users.sf.net>
8824 * tests/benchmarks/complexity.c:
8825 * tests/benchmarks/mass-elements.c:
8826 Change licence to LGPL as granted by Benjamin and Andy.
8828 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
8830 * gst/parse/Makefile.am:
8831 Add correct grammar.tab.h dependency if compiling without new enough
8832 flex. Fixes #431150.
8834 2007-04-18 Sebastian Dröge <slomo@circular-chaos.org>
8836 * gst/parse/Makefile.am:
8837 Fix typo and use outdated sources if the flex/bison sources are newer
8838 than the pregenerated ones but flex is too old. Print a warning in
8839 that case. This should fix the build on the build bot.
8841 2007-04-18 Sebastian Dröge <slomo@circular-chaos.org>
8843 Patch by: Marc-Andre Lureau <marcandre dot lureau at gmail dot com>
8844 * gst/parse/Makefile.am:
8845 * gst/parse/grammar.y:
8846 * gst/parse/parse.l:
8847 Make the parser reentrant and recursively callable. This requires flex
8848 >= 2.5.31, for older versions pregenerated sources are used as we
8849 can't bump the build dependency. Finally fixes #349180.
8851 * gst/gstparse.c: (gst_parse_launch):
8852 Drop the HAVE_MT_SAVE_FLEX #ifdefs as we always use a new enough flex
8853 now anyway.
8855 * docs/gst/Makefile.am:
8856 * docs/gst/Makefile.am:
8857 * gst/parse/grammar.tab.pre.c: (__gst_parse_strdup),
8858 (__gst_parse_strfree), (__gst_parse_link_new),
8859 (__gst_parse_link_free), (__gst_parse_chain_new),
8860 (__gst_parse_chain_free), (SET_ERROR), (YYPRINTF),
8861 (gst_parse_element_set), (gst_parse_free_link),
8862 (gst_parse_found_pad), (gst_parse_perform_delayed_link),
8863 (gst_parse_perform_link), (yytnamerr), (yysyntax_error), (yyerror),
8864 (_gst_parse_launch):
8865 * gst/parse/grammar.tab.pre.h:
8866 * gst/parse/lex._gst_parse_yy.pre.c: (PRINT), (yy_get_next_buffer),
8867 (yy_get_previous_state), (yy_try_NUL_trans), (input),
8868 (_gst_parse_yyrestart), (_gst_parse_yy_switch_to_buffer),
8869 (_gst_parse_yy_load_buffer_state), (_gst_parse_yy_create_buffer),
8870 (_gst_parse_yy_delete_buffer), (_gst_parse_yy_init_buffer),
8871 (_gst_parse_yy_flush_buffer), (_gst_parse_yypush_buffer_state),
8872 (_gst_parse_yypop_buffer_state),
8873 (_gst_parse_yyensure_buffer_stack), (_gst_parse_yy_scan_buffer),
8874 (_gst_parse_yy_scan_string), (_gst_parse_yy_scan_bytes),
8875 (yy_fatal_error), (_gst_parse_yyget_extra),
8876 (_gst_parse_yyget_lineno), (_gst_parse_yyget_column),
8877 (_gst_parse_yyget_in), (_gst_parse_yyget_out),
8878 (_gst_parse_yyget_leng), (_gst_parse_yyget_text),
8879 (_gst_parse_yyset_extra), (_gst_parse_yyset_lineno),
8880 (_gst_parse_yyset_column), (_gst_parse_yyset_in),
8881 (_gst_parse_yyset_out), (_gst_parse_yyget_debug),
8882 (_gst_parse_yyset_debug), (_gst_parse_yyget_lval),
8883 (_gst_parse_yyset_lval), (_gst_parse_yylex_init),
8884 (yy_init_globals), (_gst_parse_yylex_destroy), (yy_flex_strncpy),
8885 (yy_flex_strlen), (_gst_parse_yyalloc), (_gst_parse_yyrealloc),
8886 (_gst_parse_yyfree):
8887 If the installed flex version is too old use pre-generated parser
8888 sources. These pre-generated parser sources are always updated when
8889 the actual flex/bison sources change but require everybody who wants
8890 to change something in the parser to have flex >= 2.5.31 installed.
8892 2007-04-18 Stefan Kost <ensonic@users.sf.net>
8894 * common/m4/gst-gettext.m4:
8895 * gst/gst-i18n-lib.h:
8896 Make --disable-nls to work
8898 2007-04-17 Wim Taymans <wim@fluendo.com>
8900 * gst/gstconfig.h.in:
8901 Revert previous change that broke the build.
8903 2007-04-17 Stefan Kost <ensonic@users.sf.net>
8905 * configure.ac:
8906 * gst/Makefile.am:
8907 * gst/gstconfig.h.in:
8908 Drop libxml2 dependency when building with
8909 --enable-binary-registry --disable-loadsave
8911 2007-04-16 Tim-Philipp Müller <tim at centricular dot net>
8913 * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
8914 (gst_registry_binary_read_cache):
8915 * gst/gstregistrybinary.h:
8916 Remove unnecessary <sys/mman.h> include which broke the win32 build
8917 with MingW; move includes from header file to .c file, even if the
8918 header file isn't installed; use g_strerror() where UTF-8 strings
8919 are expected, such as in GST_DEBUG messages.
8921 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
8923 * docs/libs/gstreamer-libs-sections.txt:
8924 Remove bogus addition for API I didn't end up keeping.
8926 * libs/gst/base/gstbasesrc.h:
8927 Mention Since: 0.10.13 in the documentation.
8929 Add the API keyword to the previous ChangeLog entry.
8931 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
8933 * docs/libs/gstreamer-libs-sections.txt:
8934 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
8935 (gst_base_src_default_prepare_seek_segment),
8936 (gst_base_src_prepare_seek_segment), (gst_base_src_perform_seek):
8937 * libs/gst/base/gstbasesrc.h:
8938 Allow basesrc derived classes to execute seeks in other formats
8939 by providing a prepare_seek_segment vmethod. Sub-classes can choose
8940 to prepare the GstSegment in any format that their perform_seek method
8941 will be able to understand. The default implementation provides the
8942 old behaviour of attempting to convert the seek offsets to the
8943 configured native format.
8945 API: basesrc::prepare_seek_segment vmethod.
8947 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
8949 * gst/gstelement.c: (gst_element_get_state_func):
8950 Don't output the same debug statement twice.
8952 * libs/gst/base/gstadapter.c: (gst_adapter_try_to_merge_up),
8953 (gst_adapter_peek), (gst_adapter_take_buffer):
8954 Optimise the case where we have buffers at the head of the queue that
8955 can be joined quickly (because they're contiguous sub-buffers) by
8956 merging them together rather than copying data out into new memory.
8958 * gst/parse/grammar.y:
8959 * tests/check/pipelines/parse-launch.c:
8960 Fix a leak in an error path for parse_launch, and add a check
8961 for it to the testsuite.
8963 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
8965 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
8966 Don't deadlock when releasing a pad - gst_pad_set_active may try
8967 and take the multiqueue lock too.
8969 2007-04-12 Tim-Philipp Müller <tim at centricular dot net>
8971 * gst/gsterror.c: (_gst_core_errors_init):
8972 * gst/gsterror.h:
8973 API: add GST_CORE_ERROR_DISABLED (#392804).
8975 2007-04-12 Thomas Vander Stichele <thomas at apestaart dot org>
8977 * docs/faq/gst-uninstalled:
8978 don't get empty paths on the PATH variables
8979 * gst/gstpad.c (gst_pad_is_active, gst_pad_set_blocked_async):
8980 Don't format for the uncommon terminal width of 84 characters.
8982 2007-04-06 Wim Taymans <wim@fluendo.com>
8984 * gst/gstpipeline.c: (reset_stream_time),
8985 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time):
8986 Only try to select a different pipeline clock when we went back to
8987 PAUSED and not when we merely got flushed.
8989 2007-04-05 Michael Smith <msmith@fluendo.com>
8991 * tools/gst-launch.1.in:
8992 fractions are better supported in gstreamer than ractions, so
8993 suggest using those.
8995 2007-04-05 Thomas Vander Stichele <thomas at apestaart dot org>
8997 Submitted by: Mogens Jaeger <mogens@jaeger.tf>
8999 * po/LINGUAS:
9000 * po/da.po:
9001 Added Danish translation.
9003 2007-04-05 Wim Taymans <wim@fluendo.com>
9005 * libs/gst/base/gstbasesink.c:
9006 (gst_base_sink_queue_object_unlocked), (gst_base_sink_event):
9007 Fix leak caused when refusing newsegment after EOS.
9009 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
9010 (gst_fake_sink_init), (gst_fake_sink_set_property),
9011 (gst_fake_sink_get_property), (gst_fake_sink_preroll),
9012 (gst_fake_sink_render), (gst_fake_sink_change_state):
9013 * plugins/elements/gstfakesink.h:
9014 Add num-buffers property to make the element generate EOS after a
9015 configurable amount of buffers.
9016 API: fakesink::num-buffers property.
9018 * tests/check/elements/fakesink.c: (GST_START_TEST),
9019 (fakesink_suite):
9020 Fix GstBus leak in test.
9021 Test for fakesink num-buffers.
9023 2007-04-05 Wim Taymans <wim@fluendo.com>
9025 * libs/gst/base/gstbasesink.c:
9026 (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
9027 (gst_base_sink_change_state):
9028 Don't accept anything after an EOS, return UNEXPECTED instead.
9030 * tests/check/elements/fakesink.c: (GST_START_TEST),
9031 (fakesink_suite):
9032 Unit test for new EOS behaviour.
9034 2007-04-05 Wim Taymans <wim@fluendo.com>
9036 * gst/gstelement.c: (gst_element_get_request_pad):
9037 Make padtemplates also work when they don't contain %s or %d.
9039 2007-04-05 Wim Taymans <wim@fluendo.com>
9041 * docs/gst/gstreamer-sections.txt:
9042 * gst/gstclock.c: (gst_clock_adjust_unlocked),
9043 (gst_clock_unadjust_unlocked), (gst_clock_set_calibration):
9044 * gst/gstclock.h:
9045 Improve _adjust_unlocked() so that it overflows less.
9046 Add gst_clock_unadjust_unlocked to convert from external time to
9047 internal time based on calibration.
9048 Add some more debug.
9049 API: GstClock::gst_clock_unadjust_unlocked()
9051 2007-04-03 Wim Taymans <wim@fluendo.com>
9053 Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
9055 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
9056 Deactivate pads and free GstSingleQueue with gst_single_queue_free()
9057 when releasing sink pad. Fixes #425400.
9059 2007-04-02 Stefan Kost <ensonic@users.sf.net>
9061 * docs/random/ensonic/dynlink.txt:
9062 More work on proposal for new core api.
9064 * docs/libs/gstreamer-libs-sections.txt:
9065 * libs/gst/base/gstbasetransform.h:
9066 API: GST_BASE_TRANSFORM_LOCK/UNLOCK added
9068 * libs/gst/controller/gstcontroller.c:
9069 (on_object_controlled_property_changed),
9070 (gst_controller_sync_values),
9071 (gst_controller_set_interpolation_mode):
9072 * libs/gst/controller/gstcontroller.h:
9073 Less verbose logging add docs for unimplemented parts and correctly
9074 return when using unavailable parts.
9076 2007-03-29 Jan Schmidt <thaytan@mad.scientist.com>
9078 * gst/gstclock.c: (gst_clock_set_master), (do_linear_regression):
9079 Move all the debug to the CLOCK category, and associate it with
9080 the clock object.
9082 2007-03-29 Jan Schmidt <thaytan@mad.scientist.com>
9084 * libs/gst/base/gstadapter.c: (gst_adapter_take_buffer):
9085 Make take_buffer a bit quicker by removing redundant checks
9086 caused by calling gst_adapter_take.
9088 2007-03-28 Tim-Philipp Müller <tim at centricular dot net>
9090 * plugins/elements/gstmultiqueue.c: (gst_single_queue_free):
9091 Don't leak GCond.
9093 * tests/check/Makefile.am:
9094 * tests/check/elements/.cvsignore:
9095 * tests/check/elements/multiqueue.c: (setup_multiqueue),
9096 (GST_START_TEST), (multiqueue_suite):
9097 Add some dead simple unit tests for the 'multiqueue' element
9098 (some bits don't work yet and are disabled for now).
9100 2007-03-28 Tim-Philipp Müller <tim at centricular dot net>
9102 * gst/gstelement.c: (gst_element_get_request_pad),
9103 (gst_element_class_get_request_pad_template):
9104 Make gst_element_get_request_pad() create request pads only for
9105 request pad templates and not for, say, sometimes pad templates.
9107 2007-03-28 Stefan Kost <ensonic@users.sf.net>
9109 * docs/design/draft-klass.txt:
9110 Add example that needs more thinking.
9112 * docs/design/draft-missing-plugins.txt:
9113 More thoughts about wrapper plugins.
9115 * docs/random/ensonic/embedded.txt:
9116 * docs/random/ensonic/profiling.txt:
9117 More design work.
9119 2007-03-25 Wim Taymans <wim@fluendo.com>
9121 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range),
9122 (gst_base_src_loop):
9123 Only push the segment events in the PLAYING state for live sources.
9125 2007-03-23 Jan Schmidt <thaytan@mad.scientist.com>
9127 * gst/gstpipeline.c: (gst_pipeline_change_state):
9128 Modify the clock distribution path in PAUSED->PLAYING so that we
9129 never attempt to choose a new clock unless we're actually leaving
9130 the PAUSED state for the first time. This prevents choosing a
9131 different clock when the state_change gets called for a 2nd time due
9132 to some element doing an async state change.
9134 2007-03-22 Sebastian Dröge <slomo@circular-chaos.org>
9136 * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_configure_sink),
9137 (gst_pad_configure_src), (gst_pad_alloc_buffer_full),
9138 (gst_pad_chain_unchecked), (gst_pad_push):
9139 Revert last commit. This needs some more thoughts.
9141 2007-03-22 Sebastian Dröge <slomo@circular-chaos.org>
9143 * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_alloc_buffer_full),
9144 (gst_pad_chain_unchecked), (gst_pad_push):
9145 Check in set_caps if the caps are compatible with the pad and remove
9146 two functions that are redundant now. Fixes #421543.
9148 2007-03-22 Wim Taymans <wim@fluendo.com>
9150 * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
9151 (mixed_thread), (mixed_async_cb), (gst_systemclock_suite):
9152 Unref some more to make valgrind happy.
9154 2007-03-22 Wim Taymans <wim@fluendo.com>
9156 * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked),
9157 (gst_system_clock_id_wait_jitter),
9158 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
9159 Fix anoying regression that survived a few releases. When adding an
9160 async entry while blocking on a sync entry, the sync entry will unblock
9161 but still be busy, so it should continue to wait instead of returning
9162 _BUSY to the app.
9163 Add some comments here and there.
9165 * tests/check/gst/gstsystemclock.c: (mixed_thread),
9166 (mixed_async_cb), (GST_START_TEST), (gst_systemclock_suite):
9167 Add testcase for this.
9169 2007-03-22 Wim Taymans <wim@fluendo.com>
9171 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
9172 Handle errors from the clock sync better, only UNSCHEDULED indicates a
9173 WRONG_STATE and can silently pause the task. All other cases should
9174 error out.
9176 2007-03-22 Wim Taymans <wim@fluendo.com>
9178 Patch by: Ville Syrjala <syrjala at sci dot fi>
9180 * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_send_event):
9181 Fix possible deadlock if pad eventfunc is not specified. Fixes #421177.
9182 Improve debugging.
9184 2007-03-21 Michael Smith <msmith@fluendo.com>
9186 * docs/pwg/advanced-types.xml:
9187 Fix some errors in the typefinding docs pointed out on irc.
9189 2007-03-21 Jan Schmidt <thaytan@mad.scientist.com>
9191 * libs/gst/base/gstbasesrc.c:
9192 Clarify FIXME comment in the face of having added unlock_stop()
9194 2007-03-21 Wim Taymans <wim@fluendo.com>
9196 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_element_set_state):
9197 Prepare for release where we warn against possible app breakage in the
9198 case of live pipelines along with an env var to enable/disable live
9199 preroll mode (GST_COMPAT=[no-]live-preroll).
9201 2007-03-20 Zaheer Abbas Merali <zaheerabbas at merali dot org>
9203 * plugins/elements/gstidentity.c (gst_identity_check_imperfect_offset):
9204 So we should use correct constants for checking for None offset.
9206 2007-03-20 Wim Taymans <wim@fluendo.com>
9208 * docs/design/part-block.txt:
9209 Mention the fact that the newly switched element should be set to at
9210 least PAUSED.
9212 2007-03-20 Wim Taymans <wim@fluendo.com>
9214 * gst/gst.c:
9215 Fix compilation with registry disabled as spotted by Saur.
9217 2007-03-20 Wim Taymans <wim@fluendo.com>
9219 Patch by: Olivier Crete <tester at tester dot ca>
9221 * gst/gstelement.c: (gst_element_sync_state_with_parent):
9222 Look at the pending state too when syncing the element state to the
9223 parent. Fixes #420133.
9225 2007-03-19 Jan Schmidt <thaytan@mad.scientist.com>
9227 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
9228 (gst_base_sink_change_state):
9229 * libs/gst/base/gstbasesink.h:
9230 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
9231 (gst_base_src_default_event), (gst_base_src_unlock_stop),
9232 (gst_base_src_deactivate):
9233 * libs/gst/base/gstbasesrc.h:
9234 Add ::unlock_stop to basesrc and basesink. This allows an opportunity
9235 for sub-classes to correctly clear any state they set trying to
9236 unlock, such as clearing out unlock commands from a command fd.
9237 API: basesrc::unlock_stop
9238 API: basesink::unlock_stop
9240 * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init),
9241 (gst_fd_sink_render), (gst_fd_sink_unlock),
9242 (gst_fd_sink_unlock_stop):
9243 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
9244 (gst_fd_src_init), (gst_fd_src_unlock), (gst_fd_src_unlock_stop),
9245 (gst_fd_src_create), (gst_fd_src_get_size), (gst_fd_src_do_seek):
9247 Implement unlock_stop in fdsrc and fdsink.
9248 Implement seeking in fdsrc when a seekable fd is passed, as in
9249 gst-launch-0.10 fdsrc ! ... ! xvimagesink < /path/to/file
9251 2007-03-19 Wim Taymans <wim@fluendo.com>
9253 Patch by: Evan Nemerson <evan at coeus dash group dot com>
9255 * gst/gstelement.c: (gst_element_class_init):
9256 Fix pad-added and pad-removed signal signatures so that the pad type is
9257 stated as GST_TYPE_PAD instead of G_TYPE_OBJECT. Fixes #419851.
9259 2007-03-19 Wim Taymans <wim@fluendo.com>
9261 * docs/gst/gstreamer-sections.txt:
9262 Add new element field and method.
9264 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
9265 (bin_remove_messages), (gst_bin_add_func), (gst_bin_remove_func),
9266 (gst_bin_recalc_state), (gst_bin_get_state_func),
9267 (gst_bin_element_set_state), (gst_bin_change_state_func),
9268 (gst_bin_continue_func), (bin_bus_handler),
9269 (bin_push_state_continue), (bin_handle_async_start),
9270 (bin_handle_async_done), (gst_bin_handle_message_func):
9271 Make async state changes a bit smarter by using new ASYNC_START and
9272 ASYNC_DONE messages. This reduces the number of times we run the state
9273 recalculation thread.
9274 Don't change state of element with a pending ASYNC_START message.
9275 Deprecate STATE_DIRTY messages.
9277 * gst/gstelement.c: (gst_element_init), (gst_element_send_event),
9278 (gst_element_get_state_func), (gst_element_continue_state),
9279 (gst_element_lost_state), (gst_element_set_state_func),
9280 (gst_element_change_state):
9281 * gst/gstelement.h:
9282 Keep the state that was last set by the app in a new element field.
9283 Don't allow state changes when handling an element event.
9284 Post ASYNC_START and ASYNC_DONE messages.
9285 Change lost_state so that we go to PAUSED and wait for the parent to set
9286 us to PLAYING again (so latency calculation can be performed)
9287 Export gst_element_change_state() method so that subclasses can use it.
9288 API: gst_element_change_state()
9289 API: GST_STATE_TARGET
9291 * gst/gstpipeline.c: (gst_pipeline_class_init),
9292 (reset_stream_time), (gst_pipeline_change_state),
9293 (gst_pipeline_handle_message), (gst_pipeline_set_new_stream_time):
9294 Using the new ASYNC_START message we can reset the base_time when
9295 needed. This can then be used to implement base_time redistribution in
9296 flushing seeks so that we can remove the explicit seek handling.
9297 Perform latency query and configuration when going to PLAYING.
9299 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
9300 (gst_base_sink_query), (gst_base_sink_change_state):
9301 Post new ASYNC_START/ASYNC_DONE messages.
9303 * tests/check/generic/sinks.c: (GST_START_TEST):
9304 Fix test because the bin will not set the async element to PLAYING right
9305 away.
9307 * tests/check/gst/gstbin.c: (pop_async_done), (GST_START_TEST):
9308 Make the message check a little stronger.
9309 Handle ASYNC messages.
9311 * tests/check/pipelines/cleanup.c: (GST_START_TEST):
9312 * tests/check/pipelines/simple-launch-lines.c: (GST_START_TEST):
9313 Expect ASYNC_DONE messages.
9315 2007-03-19 Wim Taymans <wim@fluendo.com>
9317 * docs/gst/gstreamer-sections.txt:
9318 * gst/gstmessage.c: (gst_message_new_async_start),
9319 (gst_message_new_async_done), (gst_message_parse_info),
9320 (gst_message_parse_async_start):
9321 * gst/gstmessage.h:
9322 Add ASYNC_START and ASYNC_DONE messages to prepare for latency
9323 support.
9325 2007-03-15 Tim-Philipp Müller <tim at centricular dot net>
9327 * tools/gst-inspect.c:
9328 (print_plugin_automatic_install_info_codecs):
9329 Now that we don't check for the 'Codec' keyword any longer in the
9330 klass, we shouldn't spew a warning if the klass isn't a decoder or
9331 encoder (since it might be a Source/Network, for example).
9333 2007-03-14 Tim-Philipp Müller <tim at centricular dot net>
9335 * tools/gst-inspect.c:
9336 (print_plugin_automatic_install_info_codecs):
9337 Don't require decoder/demuxer/depayloader elements or
9338 encoder/muxer/paylader elements to have 'Codec' as part of their
9339 factory class string when introspecting a plugin's capabilities.
9340 draft-klass.txt mentions that it might be removed in future, and
9341 flump3dec doesn't have it as part of its class string, so chances
9342 are others might also not have it.
9344 2007-03-14 Thomas Vander Stichele <thomas at apestaart dot org>
9346 * po/af.po:
9347 * po/az.po:
9348 * po/bg.po:
9349 * po/ca.po:
9350 * po/cs.po:
9351 * po/de.po:
9352 * po/en_GB.po:
9353 * po/fr.po:
9354 * po/it.po:
9355 * po/nb.po:
9356 * po/nl.po:
9357 * po/ru.po:
9358 * po/sq.po:
9359 * po/sr.po:
9360 * po/sv.po:
9361 * po/tr.po:
9362 * po/uk.po:
9363 * po/vi.po:
9364 * po/zh_CN.po:
9365 * po/zh_TW.po:
9366 Update translations from translation project
9368 2007-03-14 Stefan Kost <ensonic@users.sf.net>
9370 * gst/gstchildproxy.c: (gst_child_proxy_get_property),
9371 (gst_child_proxy_set_property):
9372 Invert precondition check to be alike the ones in the mimiced gobject
9373 api.
9375 2007-03-13 Stefan Kost <ensonic@users.sf.net>
9377 * docs/design/draft-tagreading.txt:
9378 * docs/random/ensonic/audiobaseclasses.txt:
9379 Do some Architect work.
9381 * gst/gstobject.c: (gst_object_set_name):
9382 Add a WARNING.
9384 * gst/gstpad.c:
9385 Add docs that point from gst_pad_get_range to gst_pad_pull_range
9387 2007-03-12 Jan Schmidt <thaytan@mad.scientist.com>
9389 * gst/gstsystemclock.c: (gst_system_clock_init),
9390 (gst_system_clock_start_async), (gst_system_clock_id_wait_async):
9391 Defer starting the async system clock thread until the first async
9392 wait is scheduled. Fixes #414986.
9394 2007-03-12 Tim-Philipp Müller <tim at centricular dot net>
9396 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_finalize),
9397 (gst_single_queue_free):
9398 Fix small leak (free GstSingleQueue structure too, not only contents).
9400 2007-03-10 Sebastien Moutte <sebastien@moutte.net>
9402 * gst/gstbin.c:(gst_bin_add):
9403 Use GST_STR_NULL to prevent NULL pointer to be passed to GST_CAT_DEBUG.
9404 * win32/common/libgstbase.def:
9405 * win32/common/libgstreamer.def:
9406 Add new exported functions.
9408 2007-03-09 Wim Taymans <wim@fluendo.com>
9410 * docs/plugins/gstreamer-plugins-sections.txt:
9411 Fix GstTee docs.
9413 2007-03-09 Wim Taymans <wim@fluendo.com>
9415 * docs/gst/gstreamer-sections.txt:
9416 * gst/gstbuffer.c: (gst_buffer_copy_metadata), (_gst_buffer_copy):
9417 * gst/gstbuffer.h:
9418 Add metadata copy functions. Fixes #393099.
9419 API: gst_buffer_copy_metadata()
9421 * gst/gstutils.c: (gst_buffer_stamp):
9422 * libs/gst/base/gstbasetransform.c:
9423 (gst_base_transform_prepare_output_buffer):
9424 Use new metadata copy functions.
9426 2007-03-09 Thomas Vander Stichele <thomas at apestaart dot org>
9428 * plugins/elements/gstidentity.c: (gst_identity_class_init),
9429 (gst_identity_init), (gst_identity_check_perfect),
9430 (gst_identity_check_imperfect_timestamp),
9431 (gst_identity_check_imperfect_offset), (gst_identity_transform_ip),
9432 (gst_identity_set_property), (gst_identity_get_property):
9433 * plugins/elements/gstidentity.h:
9434 Separate out check-imperfect-timestamp and check-imperfect-offset.
9435 Put back check-perfect as it was to keep compatibility.
9437 2007-03-09 Jan Schmidt <thaytan@mad.scientist.com>
9439 * gst/gstelement.c: (gst_element_dispose):
9440 There's no need to warn if VOID_PENDING is not NONE here, as
9441 long as the state is NULL it's ok, and that's checked immediately
9442 above.
9444 2007-03-08 Zaheer Abbas Merali <zaheerabbas at merali dot org>
9446 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
9447 Fix check for perfect stream to ignore buffers with -1
9448 offsets/offset ends when checking data contiguity.
9450 2007-03-08 Wim Taymans <wim@fluendo.com>
9452 * tools/gst-launch.c: (event_loop):
9453 Print INFO messages.
9455 2007-03-08 Wim Taymans <wim@fluendo.com>
9457 * libs/gst/base/gstbasetransform.c:
9458 (gst_base_transform_sink_eventfunc),
9459 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
9460 (gst_base_transform_activate):
9461 * libs/gst/base/gstbasetransform.h:
9462 Add support for dropping buffers with custom GstFlowReturn.
9463 Set DISCONT flags on outgoing buffers based on QoS, incomming DISCONT
9464 buffers or dropped buffers.
9466 * docs/libs/gstreamer-libs-sections.txt:
9467 docs for new custom return code.
9469 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
9470 Use drop support in base class to implement drop-probability.
9472 2007-03-07 Tim-Philipp Müller <tim at centricular dot net>
9474 * gst/gst.c: (load_plugin_func):
9475 * gst/gstplugin.c: (gst_plugin_load_by_name), (gst_plugin_load):
9476 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
9477 * gst/gsttrace.c: (gst_trace_new), (gst_alloc_trace_set_flags_all):
9478 Remove newlines at end of debug log strings.
9480 2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
9482 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
9483 Only post bus message at max, once per buffer received.
9485 2007-03-07 Wim Taymans <wim@fluendo.com>
9487 * docs/design/Makefile.am:
9488 * docs/design/part-synchronisation.txt:
9489 Add doc about synchronisation
9491 * docs/design/draft-latency.txt:
9492 * docs/design/part-TODO.txt:
9493 * docs/design/part-clocks.txt:
9494 * docs/design/part-events.txt:
9495 * docs/design/part-gstbus.txt:
9496 * docs/design/part-gstpipeline.txt:
9497 * docs/design/part-live-source.txt:
9498 * docs/design/part-messages.txt:
9499 * docs/design/part-overview.txt:
9500 * docs/design/part-streams.txt:
9501 * docs/design/part-trickmodes.txt:
9502 Documentation updates.
9504 2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
9506 * gstreamer.doap:
9507 Update the doap file.
9509 2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
9511 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
9512 Rename non-perfect to imperfect for Mike and for the sanctity of the
9513 language.
9514 Also make sure bus message gets emitted for data-incontiguities.
9516 2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
9518 * plugins/elements/gstidentity.c: (gst_identity_check_perfect),
9519 (gst_identity_start):
9520 * plugins/elements/gstidentity.h:
9521 Emit bus message if check-perfect is true and we encounter a
9522 non-perfect stream between 2 consecutive buffers.
9523 Fixes #415394.
9525 2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
9527 * configure.ac:
9528 Back to CVS
9530 === release 0.10.12 ===
9532 2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
9534 * configure.ac:
9535 releasing 0.10.12, "Inevitable Demise"
9537 2007-03-01 Jan Schmidt <thaytan@mad.scientist.com>
9539 * configure.ac:
9540 Version 0.10.11.2 (0.10.12 pre-release)
9541 Bump libtool versioning.
9543 2007-03-01 Stefan Kost <ensonic@users.sf.net>
9545 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
9546 Log flow-names and not numbers.
9548 2007-02-28 Thomas Vander Stichele <thomas at apestaart dot org>
9550 * configure.ac:
9551 Convert to new AG_GST style.
9553 2007-02-28 Wim Taymans <wim@fluendo.com>
9555 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency):
9556 Don't unref query twice.
9558 2007-02-28 Wim Taymans <wim@fluendo.com>
9560 * gst/gstvalue.c: (gst_value_transform_object_string),
9561 (_gst_value_initialize):
9562 Implement GstObject -> string transform so we print object names
9563 when serializing GValues containing GstObjects.
9565 2007-02-28 Wim Taymans <wim@fluendo.com>
9567 * docs/gst/gstreamer-sections.txt:
9568 Add new stuff to docs.
9570 2007-02-28 Wim Taymans <wim@fluendo.com>
9572 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
9573 (gst_base_sink_queue_object_unlocked), (gst_base_sink_send_event),
9574 (gst_base_sink_change_state):
9575 Improve latency query code.
9576 Don't leak latency events.
9578 * tests/check/gst/gstbin.c: (GST_START_TEST):
9579 Improve debugging.
9581 2007-02-28 Wim Taymans <wim@fluendo.com>
9583 * gst/gstelement.c: (gst_element_message_full),
9584 (gst_element_get_state_func):
9585 * gst/gstelement.h:
9586 Improve docs a little. Added Since: for new macro.
9588 * gst/gstobject.c: (gst_object_sink):
9589 * gst/gstpipeline.c: (gst_pipeline_change_state),
9590 (gst_pipeline_set_new_stream_time):
9591 * gst/gstpipeline.h:
9592 Improve debugging and docs.
9594 * gst/gstutils.c: (gst_element_state_change_return_get_name):
9595 Improve debugging.
9597 2007-02-28 Wim Taymans <wim@fluendo.com>
9599 * gst/gstelement.c: (gst_element_message_full),
9600 (gst_element_set_locked_state), (gst_element_get_state_func),
9601 (gst_element_change_state):
9602 Handle INFO messages from the GST_ELEMENT_INFO macro as well.
9603 Documentation updates.
9604 Small code cleanups.
9606 * gst/gstmessage.c: (gst_message_new_info),
9607 (gst_message_parse_info):
9608 * gst/gstmessage.h:
9609 API: gst_message_new_info()
9610 API: gst_message_parse_info()
9611 Add INFO message create and parse code.
9613 2007-02-28 Wim Taymans <wim@fluendo.com>
9615 * gst/gstbin.c: (bin_query_min_max_init), (bin_query_latency_fold),
9616 (bin_query_latency_done):
9617 Also report the live parameter of a latency query.
9619 2007-02-28 Thomas Vander Stichele <thomas at apestaart dot org>
9621 * tests/check/generic/states.c: (GST_START_TEST), (states_suite):
9622 Copy the current generic/states example from -base and adapt so
9623 we can use the exact same code everywhere.
9624 Check a STATES_IGNORE_ELEMENTS env var which can be used
9625 to ignore certain element factories for this test, which is
9626 what is being done in -base
9627 * tests/check/Makefile.am:
9628 Mention this environment variable.
9630 2007-02-27 Wim Taymans <wim@fluendo.com>
9632 * docs/gst/gstreamer-sections.txt:
9633 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
9634 (gst_bus_timed_pop), (gst_bus_pop):
9635 * gst/gstbus.h:
9636 API: gst_bus_timed_pop()
9637 Implement gst_bus_timed_pop() to do a blocking timed wait for a
9638 message to arrive on the bus.
9640 * tests/check/gst/gstbus.c: (GST_START_TEST), (pop_thread),
9641 (gst_bus_suite):
9642 Two unit tests for new _timed_pop() function.
9644 2007-02-23 Wim Taymans <wim@fluendo.com>
9646 * gst/gstpipeline.c: (gst_pipeline_change_state),
9647 (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay):
9648 Don't ref a NULL clock in _provide_clock_func().
9649 Don't allow an INVALID delay.
9650 Don't try to calculate base_time with an invalid start_time.
9651 Also distribute and notify a NULL clock when it was selected.
9653 * tools/gst-launch.c: (event_loop):
9654 Don't crash when a NULL clock was selected in the pipeline.
9656 2007-02-23 Tim-Philipp Müller <tim at centricular dot net>
9658 * docs/design/Makefile.am:
9659 * docs/design/draft-missing-plugins.txt:
9660 * docs/random/draft-missing-plugins.txt:
9661 Some small updates: update plugin system identifier prefix
9662 ('gstreamer.net' to 'gstreamer'), mention our new install
9663 API in libgstbaseutils rather than libgimme-codec, add
9664 reference to the online docs.
9666 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
9668 * win32/common/config.h:
9669 Pretty sure Bill never made a powerpc version. Powerpc hackers,
9670 use moap cl ci to only check in what is mentioned in the ChangeLog.
9672 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
9674 * docs/gst/gstreamer-sections.txt:
9675 * gst/gstelement.h:
9676 Fix up documentation to link to the correct GstGError section.
9677 Add GST_ELEMENT_INFO macro since someone else added a Info message.
9679 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
9681 * tools/gst-launch.c: (event_loop):
9682 Make sure that we actually show the important message part of a
9683 warning message.
9684 No need to check if the gerror is not NULL to free; first of all
9685 g_free accepts NULL; and second the default error handler would
9686 segfault if gerror was NULL.
9688 2007-02-21 Wim Taymans <wim@fluendo.com>
9690 * docs/gst/gstreamer-sections.txt:
9691 Removed docs as well.
9693 2007-02-21 Wim Taymans <wim@fluendo.com>
9695 * gst/gstmessage.c: (gst_message_parse_duration):
9696 * gst/gstmessage.h:
9697 Remove new messages for release.
9699 2007-02-20 Wim Taymans <wim@fluendo.com>
9701 * docs/design/part-gstghostpad.txt:
9702 * gst/gstghostpad.c: (gst_ghost_pad_dispose),
9703 (gst_ghost_pad_new_full):
9704 Make the ghostpad a parent of the internal pad again for better backward
9705 compatibility. Don't write code that relies on this however.
9707 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
9708 (gst_pad_link_check_hierarchy):
9709 Require that parents should be GstElements in the hierarchy check.
9711 2007-02-20 Wim Taymans <wim@fluendo.com>
9713 * gst/gstbin.c: (bin_replace_message), (gst_bin_add_func),
9714 (gst_bin_change_state_func), (bin_query_min_max_init),
9715 (bin_query_latency_fold), (bin_query_latency_done),
9716 (gst_bin_query):
9717 Improve debug info.
9718 Implement latency query.
9720 2007-02-20 Wim Taymans <wim@fluendo.com>
9722 * docs/design/part-gstghostpad.txt:
9723 * gst/gstghostpad.c: (gst_ghost_pad_class_init),
9724 (gst_ghost_pad_internal_do_activate_push),
9725 (gst_ghost_pad_internal_do_activate_pull),
9726 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
9727 (gst_ghost_pad_do_link), (gst_ghost_pad_dispose),
9728 (gst_ghost_pad_new_full), (gst_ghost_pad_set_target):
9729 Do not set the internal pad as a parent anymore so we can avoid
9730 hierarchy linking errors when the ghostpad has no parent yet. This also
9731 fixes failed activation because of unlinked internal pads, which in
9732 turn fixes the impossible case where you have to activate a pad before
9733 you can add it to a running element.
9734 Also fix the docs.
9736 * gst/gstpad.c: (pre_activate), (post_activate),
9737 (gst_pad_set_active), (gst_pad_activate_pull),
9738 (gst_pad_activate_push), (gst_pad_check_pull_range):
9739 Add some more debug info.
9740 Mark activation mode in pre_activate so that we don't try to activate in
9741 endless loops. Fixes #385084.
9743 2007-02-19 Wim Taymans <wim@fluendo.com>
9745 * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
9746 (gst_base_transform_check_get_range):
9747 Implement a checkgetrange function instead of relying on the default
9748 core behaviour that assumes we can operate in pull mode if we have a
9749 getrange function. First step at fixing #385084.
9751 2007-02-15 Stefan Kost <ensonic@users.sf.net>
9753 * gst/gstchildproxy.h:
9754 * libs/gst/base/gstbasesink.h:
9755 * libs/gst/base/gstbasesrc.h:
9756 * libs/gst/base/gstbasetransform.h:
9757 More docs coverage and some ChangeLog surgery (add missing names)
9759 2007-02-15 Wim Taymans <wim@fluendo.com>
9761 * docs/design/part-TODO.txt:
9762 * docs/design/part-activation.txt:
9763 * docs/design/part-block.txt:
9764 * docs/design/part-buffering.txt:
9765 * docs/design/part-clocks.txt:
9766 * docs/design/part-element-source.txt:
9767 * docs/design/part-events.txt:
9768 * docs/design/part-gstbin.txt:
9769 * docs/design/part-gstbus.txt:
9770 * docs/design/part-gstpipeline.txt:
9771 * docs/design/part-live-source.txt:
9772 * docs/design/part-messages.txt:
9773 * docs/design/part-overview.txt:
9774 * docs/design/part-qos.txt:
9775 * docs/design/part-query.txt:
9776 * docs/design/part-states.txt:
9777 * docs/design/part-trickmodes.txt:
9778 Some doc updates. Start renaming from stream_time to running_time where
9779 it was used wrongly.
9781 2007-02-15 Wim Taymans <wim@fluendo.com>
9783 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
9784 Answer LATENCY query.
9786 2007-02-15 Wim Taymans <wim@fluendo.com>
9788 * tests/check/gst/gstevent.c: (event_probe), (test_event),
9789 (GST_START_TEST):
9790 Improve debugging.
9792 2007-02-15 Wim Taymans <wim@fluendo.com>
9794 * gst/gstpad.c: (gst_pad_get_internal_links_default),
9795 (gst_pad_dispatcher):
9796 Improve debugging of default pad dispatcher and query functions.
9798 2007-02-15 Wim Taymans <wim@fluendo.com>
9800 * docs/gst/gstreamer-sections.txt:
9801 Remove old unused method.
9803 2007-02-13 Wim Taymans <wim@fluendo.com>
9805 * tests/check/gst/gstsegment.c: (GST_START_TEST):
9806 Fix check
9808 2007-02-13 Wim Taymans <wim@fluendo.com>
9810 * docs/design/part-seeking.txt:
9811 Some small update.
9813 * gst/gstsegment.c: (gst_segment_set_seek):
9814 Revert old bogus change that should make seeking work again.
9816 2007-02-13 Stefan Kost <ensonic@users.sf.net>
9818 * docs/random/ensonic/dynlink.txt:
9819 * docs/random/ensonic/interfaces.txt:
9820 * docs/random/ensonic/receipies.txt:
9821 Possible dynamic reconnection api, plus some type fixes the other two
9822 docs.
9824 2007-02-13 Sebastian Dröge <slomo@circular-chaos.org>
9826 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
9827 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
9828 Also check for an absolute path following file:// in the filesrc
9829 element. Remove redundant check and call g_path_is_absolute() on the
9830 unescaped location.
9832 2007-02-13 Stefan Kost <ensonic@users.sf.net>
9834 * docs/design/draft-klass.txt:
9835 Add existing category analysis.
9837 * gst/gstcaps.c:
9838 Fix doc example, framerate is a fraction.
9840 2007-02-12 Stefan Kost <ensonic@users.sf.net>
9842 * configure.ac:
9843 * docs/gst/Makefile.am:
9844 * docs/gst/gstreamer-sections.txt:
9845 * docs/libs/Makefile.am:
9846 Erm, forgot a bunch of --extra-dir.
9848 2007-02-12 Stefan Kost <ensonic@users.sf.net>
9850 * configure.ac:
9851 * docs/gst/Makefile.am:
9852 * docs/libs/Makefile.am:
9853 * docs/plugins/Makefile.am:
9854 Add crossreferences to glib/gobject docs.
9856 2007-02-12 Wim Taymans <wim@fluendo.com>
9858 * docs/design/draft-latency.txt:
9859 Small update.
9861 * docs/libs/gstreamer-libs-sections.txt:
9862 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
9863 (gst_base_sink_get_latency), (gst_base_sink_query_latency),
9864 (gst_base_sink_wait_clock), (gst_base_sink_send_qos),
9865 (gst_base_sink_perform_qos), (gst_base_sink_queue_object_unlocked),
9866 (gst_base_sink_chain_unlocked), (gst_base_sink_send_event),
9867 (gst_base_sink_get_position), (gst_base_sink_query),
9868 (gst_base_sink_change_state):
9869 * libs/gst/base/gstbasesink.h:
9870 API: gst_base_sink_query_latency() to let subclasses query the upstream
9871 latency.
9872 API: gst_base_sink_get_latency() to let subclasses query the configured
9873 latency in the sink.
9874 Implement query and set latency.
9875 Update some docs.
9876 As spotted by Will Newton <will dot newton at gmail dot com>: Make sure we
9877 don't continue preroll when we are flushing. Fixes #405284.
9879 * tests/check/pipelines/stress.c: (change_state_timeout),
9880 (quit_timeout), (GST_START_TEST), (stress_suite):
9881 Test for #405284.
9883 2007-02-09 Tim-Philipp Müller <tim at centricular dot net>
9885 Patch by: René Stadler <mail at renestadler de>
9887 * docs/gst/gstreamer-sections.txt:
9888 * gst/gsttaglist.c: (_gst_tag_initialize):
9889 * gst/gsttaglist.h:
9890 API: add GST_TAG_REFERENCE_LEVEL (#403597).
9892 2007-02-11 Stefan Kost <ensonic@users.sf.net>
9894 * docs/libs/Makefile.am:
9895 Fix path to core docs.
9897 * gst/gstbin.c: (gst_bin_get_by_interface),
9898 (gst_bin_iterate_all_by_interface):
9899 Refix docs by also renaming 'interface' to 'iface' in implementation.
9901 * docs/gst/gstreamer-sections.txt:
9902 * gst/gstcaps.c:
9903 * gst/gstchildproxy.c: (gst_child_proxy_base_init):
9904 * gst/gstchildproxy.h:
9905 * gst/gstelementfactory.c:
9906 * gst/gstpadtemplate.h:
9907 * libs/gst/controller/gstcontroller.c:
9908 (gst_controlled_property_new):
9909 Document more.
9911 2007-02-10 Sébastien Moutte <sebastien@moutte.net>
9913 * gst/gstbin.h:(gst_bin_get_by_interface),
9914 (gst_bin_iterate_all_by_interface):
9915 Replace interface parameter name by iface as interface is
9916 a reserved keyword in Visual Studio for C++ projects so it removes
9917 a build error for application developpers using VS.
9918 * plugins/elements/gstfilesrc.c:(gst_file_src_uri_set_uri):
9919 Fix a bug on Windows in uri format check. Now the prefix checked
9920 is file:// and next we check if the path after file:// is absolute.
9921 * win32/common/libgstbase.def:
9922 * win32/common/libgstdataprotocol.def:
9923 * win32/common/libgstgstreamer.def:
9924 Add new exported functions.
9926 2007-02-09 Andy Wingo <wingo@pobox.com>
9928 * tests/check/pipelines/simple-launch-lines.c
9929 (simple_launch_lines_suite, test_tee): Disable tee test until I
9930 have time to fix it :-(
9932 * tests/check/Makefile.am (noinst_HEADERS):
9933 * tests/check/libs/libsabi.c:
9934 * tests/check/libs/struct_ppc32.h: Add ABI checks for PPC32.
9935 * tests/check/gst/gstabi.c:
9936 * tests/check/gst/struct_ppc32.h: Add ABI checks for PPC32.
9938 * tests/check/pipelines/simple-launch-lines.c (test_tee): Add
9939 tests for push and pull tee behavior.
9941 * plugins/elements/gsttee.h:
9942 * plugins/elements/gsttee.c: Describe has-sink-loop better, and
9943 mark as deprecated as well as unimplemented. It was a crack idea.
9944 Add support for tee operating in pull mode, off by default.
9946 * gst/gstregistryxml.c (load_feature, load_plugin): Drop some
9947 normal-case logs down to LOG, raise errors to WARNING.
9948 (gst_registry_xml_read_cache): Don't log before calling a function
9949 that logs.
9951 * gst/gstregistry.c (gst_registry_finalize): Less debug on program
9952 exit (registry finalize).
9953 (gst_registry_add_plugin, gst_registry_add_feature): No need for a
9954 DEBUG log when we emit signals that people don't even have the
9955 chance to connect to.
9956 (gst_registry_scan_path_level): Less logging in the normal case.
9958 2007-02-05 Sebastian Dröge <slomo@circular-chaos.org>
9960 Patch by: Michal Benes <michal dot benes at itonis dot tv>
9962 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
9963 Correctly generate EOS for non-seekable files. We don't have a total
9964 length for them and would get an unexpected end of file if we only
9965 special-cased for regular files. (Fixes: #404569)
9967 2007-02-05 Sebastian Dröge <slomo@circular-chaos.org>
9969 * tests/check/elements/filesrc.c: (GST_START_TEST),
9970 (filesrc_suite):
9971 Add unit test for the GstURIHandler interface in filesrc. This also
9972 tests the newly added file://localhost/foo/bar support.
9974 2007-02-04 Tim-Philipp Müller <tim at centricular dot net>
9976 * gst/gstelementfactory.h:
9977 The klass string is not a hierarchy. Add reference to the design doc
9978 for more information and common types.
9980 2007-02-02 Wim Taymans <wim@fluendo.com>
9982 * gst/gstquery.c: (gst_query_new_latency):
9983 Remove old structure field.
9985 2007-02-02 Stefan Kost <ensonic@users.sf.net>
9987 * tools/gst-launch.1.in:
9988 Give example for network streaming (#351998)
9990 2007-02-02 Wim Taymans <wim@fluendo.com>
9992 * docs/gst/gstreamer-sections.txt:
9993 Add docs for new methods.
9995 * gst/gstevent.c: (gst_event_new_latency),
9996 (gst_event_parse_latency):
9997 * gst/gstevent.h:
9998 Add new LATENCY event to configure latency in a pipeline.
9999 API: gst_event_new_latency
10000 API: gst_event_parse_latency
10002 * gst/gstmessage.c: (gst_message_new_buffering),
10003 (gst_message_new_lost_preroll), (gst_message_new_prerolled),
10004 (gst_message_new_latency), (gst_message_parse_buffering),
10005 (gst_message_parse_lost_preroll):
10006 * gst/gstmessage.h:
10007 Added messages used in draft-latency.
10008 API: gst_message_new_lost_preroll
10009 API: gst_message_parse_lost_preroll
10010 API: gst_message_new_prerolled
10011 API: gst_message_new_latency
10013 * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
10014 (gst_query_parse_latency):
10015 * gst/gstquery.h:
10016 Implemented new latency query as in design doc.
10017 API: gst_query_new_latency
10018 API: gst_query_set_latency
10019 API: gst_query_parse_latency
10021 2007-02-02 Wim Taymans <wim@fluendo.com>
10023 * docs/design/draft-latency.txt:
10024 Slight redesign to allow for dynamic latency adjustments.
10026 * docs/design/part-negotiation.txt:
10027 Fix some typos.
10029 2007-02-02 Sebastian Dröge <slomo@circular-chaos.org>
10031 reviewed by: Wim Taymans <wim@fluendo.com>
10033 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
10034 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
10035 Allow file://localhost/foo/bar URLs and correctly fail for every other
10036 hostname that one sets. This was gnomevfssrc is linked for those if
10037 installed as it can handle it (#403172)
10039 2007-02-01 Sebastian Dröge <slomo@circular-chaos.org>
10041 reviewed by: Tim-Philipp Müller <tim at centricular dot net>
10043 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
10044 (unref_data), (gst_collect_pads_add_pad_full):
10045 * libs/gst/base/gstcollectpads.h:
10046 Don't put the previously added destroy notify in the GstCollectData
10047 struct as all it's padding is already used and we don't want to break
10048 ABI. Instead put in the pad's GObject data for now. This should be
10049 cleaned up for 0.11 (#402393).
10051 2007-02-01 Sebastian Dröge <slomo@circular-chaos.org>
10053 reviewed by: Wim Taymans <wim@fluendo.com>
10055 * docs/libs/gstreamer-libs-sections.txt:
10056 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
10057 (unref_data), (gst_collect_pads_add_pad),
10058 (gst_collect_pads_add_pad_full):
10059 * libs/gst/base/gstcollectpads.h:
10060 API: Add function to specify a destroy notification for custom
10061 GstCollectData when adding new pads in GstCollectPads (#402393).
10063 2007-02-01 Tim-Philipp Müller <tim at centricular dot net>
10065 * po/sv.po:
10066 Update Swedish translation (#378255).
10068 2007-01-31 Stefan Kost <ensonic@users.sf.net>
10070 * docs/design/draft-klass.txt:
10071 Fix the previous change, this is a list of categories and not a hierarchy.
10073 2007-01-31 Stefan Kost <ensonic@users.sf.net>
10075 * docs/design/draft-klass.txt:
10076 Add info about how to get a list of used classes.
10078 2007-01-30 Tim-Philipp Müller <tim at centricular dot net>
10080 * plugins/elements/gsttypefindelement.c:
10081 (gst_type_find_element_chain_do_typefinding),
10082 (gst_type_find_element_change_state):
10083 Don't leak found caps in chain function (no idea why that never
10084 showed up as a leak anywhere).
10086 2007-01-30 Stefan Kost <ensonic@users.sf.net>
10088 * gst/gstplugin.h:
10089 Fix and expand GstPluginDesc API docs.
10091 2007-01-29 Stefan Kost <ensonic@users.sf.net>
10093 * gst/gstcaps.c:
10094 * gst/gstelementfactory.c:
10095 * gst/gstpadtemplate.h:
10096 api doc fixes
10098 * libs/gst/controller/gstcontroller.c:
10099 (gst_controlled_property_new):
10100 * tests/examples/controller/audio-example.c:
10101 comment fixes
10103 2007-01-29 Stefan Kost <ensonic@users.sf.net>
10105 * configure.ac:
10106 comment about refining the xml deps
10108 * docs/manuals.mak:
10109 comments about moving away from jade for docs
10111 * gst/gst.c:
10112 recommit the ifdefs to use the binary registry
10114 * gst/gstbin.c: (gst_bin_change_state_func):
10115 this break is obsolete
10117 * gst/gstelementfactory.h:
10118 better GST_ELEMENT_DETAILS docs, add comment about translation
10120 * gst/gstinfo.h:
10121 remove eol slash
10123 * gst/gstobject.c: (gst_signal_object_get_type):
10124 add G_UNLIKELY as usual
10126 * gst/gstpad.c: (gst_pad_event_default):
10127 add fall trhu comment
10129 * gst/gstregistrybinary.c: (gst_registry_binary_write),
10130 (gst_registry_binary_initialize_magic),
10131 (gst_registry_binary_save_string),
10132 (gst_registry_binary_save_pad_template),
10133 (gst_registry_binary_save_feature),
10134 (gst_registry_binary_save_plugin),
10135 (gst_registry_binary_write_cache),
10136 (gst_registry_binary_check_magic),
10137 (gst_registry_binary_load_pad_template),
10138 (gst_registry_binary_load_feature),
10139 (gst_registry_binary_load_plugin),
10140 (gst_registry_binary_read_cache):
10141 comment typo and formatting
10143 * gst/gstutils.c: (gst_element_state_get_name),
10144 (gst_element_state_change_return_get_name):
10145 remove obsolete breaks
10147 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
10148 add FIXME 0.11 and remove cpp comment
10150 2007-01-29 Edward Hervey <edward@fluendo.com>
10152 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
10153 Fix print statement in an even more portable way.
10155 2007-01-29 Tim-Philipp Müller <tim at centricular dot net>
10157 * docs/gst/gstreamer-sections.txt:
10158 * gst/gstutils.h:
10159 API: add GST_ROUND_DOWN_* macros (#401781).
10161 2007-01-27 Tim-Philipp Müller <tim at centricular dot net>
10163 * docs/gst/gstreamer.types.in:
10164 * gst/gstregistry.c: (gst_registry_class_init):
10165 Document registry signals and make gtk-doc pick them up (#401381).
10167 2007-01-26 Tim-Philipp Müller <tim at centricular dot net>
10169 * docs/pwg/building-testapp.xml:
10170 Add some audioconverts and audioresample to the pipeline, and some
10171 more comments and error handling.
10173 2007-01-26 Tim-Philipp Müller <tim at centricular dot net>
10175 * docs/manual/manual.xml:
10176 * docs/pwg/pwg.xml:
10177 Fix typo (#400987).
10179 2007-01-26 Wim Taymans <wim@fluendo.com>
10181 * gst/gstcaps.c: (gst_static_caps_get):
10182 Init caps flags too.
10184 2007-01-25 Sebastian Dröge <slomo@circular-chaos.org>
10186 Patch by: Jindrich Makovicka <jindrich.makovick at itonis dot tv>
10188 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
10189 If not using mmap'ed files try to seek to the end instead of the
10190 start to determine whether we can seek at all. This fixes the case
10191 of 2GB+ files over NFS, where seeks in the first 2GB can succeed but
10192 seeks for everything afterwards fail. Fixes #400656
10194 2007-01-25 Wim Taymans <wim@fluendo.com>
10196 * gst/gstcaps.c: (_gst_caps_free), (gst_static_caps_get):
10197 Add some refcount debugging.
10198 Make gst_static_caps_get threadsafe, which is needed when autoplugging
10199 in multiple streaming threads.
10201 2007-01-25 Wim Taymans <wim@fluendo.com>
10203 Patch by: David Schleef <ds at schleef dot org>
10205 * docs/libs/gstreamer-libs-sections.txt:
10206 * libs/gst/base/gstadapter.c: (gst_adapter_copy):
10207 * libs/gst/base/gstadapter.h:
10208 API: gst_adapter_copy() that can reduce the amount of memcpy when
10209 getting data from the adapter. Fixes #388201.
10211 2007-01-25 Edward Hervey <edward@fluendo.com>
10213 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
10214 In print statements, "%x" is for guint. Fixes build on macosx.
10216 2007-01-24 Edward Hervey <edward@fluendo.com>
10218 * plugins/elements/gstmultiqueue.c:
10219 (gst_multi_queue_loop):
10220 Small fix.
10221 (single_queue_overrun_cb), (single_queue_underrun_cb),
10222 (single_queue_check_full), (gst_single_queue_new):
10223 Implement single queue growth system.
10224 This uses the extra-size properties, and will grow single queues by
10225 that much if one goes full whereas there are others empty. This is
10226 called extra-mode in the code.
10227 When a single queue's levels go back below the initial max-size
10228 limits, it is no longer in extra-mode. This is to ensure we don't
10229 consume too much memory.
10230 Fixes #399875
10232 2007-01-23 Tim-Philipp Müller <tim at centricular dot net>
10234 * gst/gst.c: (gst_init_get_option_group):
10235 Make warning about late g_thread_init() calls a bit more explicit,
10236 so that it's more obvious to application developers what they need
10237 to do if a user files a bug against their application.
10239 2007-01-22 Edward Hervey <edward@fluendo.com>
10241 * plugins/elements/gstmultiqueue.c:
10242 (gst_multi_queue_src_activate_push), (gst_single_queue_new):
10243 Remove previous hack of unsetting the flushing flag for the source pad
10244 instead of activating it. Instead, fix the source pad activate function
10245 so that it no longer depends on having a parent set or not.
10247 2007-01-22 Tim-Philipp Müller <tim at centricular dot net>
10249 Patch by: Carlos Sanmartin Dominguez <csanmartin@igalia.com>
10251 * docs/manual/basics-bus.xml:
10252 Fix example code, gst_element_unref() doesn't exist any longer.
10254 2007-01-21 Tim-Philipp Müller <tim at centricular dot net>
10256 Patch by: Mark Nauwelaerts <manauw at skynet be>
10258 * gst/gstpad.c:
10259 Fix two docs typoes (#399094).
10261 2007-01-19 Edward Hervey <edward@fluendo.com>
10263 * docs/faq/gst-uninstalled:
10264 Add gst-plugins-base/gst/utils/ to LD_LIBRARY_PATH so that plugins
10265 depending on libgstbaseutils can work in uninstalled environment.
10267 2007-01-18 Stefan Kost <ensonic@users.sf.net>
10269 * gst/gsttaglist.h:
10270 * gst/gsttagsetter.c:
10271 Add more docs regarding tag merge-modes and when to send tags. Fix 'since'
10272 statement for new tag.
10274 2007-01-17 Edward Hervey <edward@fluendo.com>
10276 * plugins/elements/gstmultiqueue.c: (gst_single_queue_new):
10277 When dynamically creating single queues, activate sinkpad before adding
10278 it.
10279 We should be doing the same thing for the source pad, but we can't
10280 since it would call a method which needs the parent to be set in order
10281 to work propertly. Instead of activating the source pad, we just unset
10282 the flushing flag, which is the minimal requirement for adding a pad
10283 to an element in a state greater than READY.
10285 2007-01-17 Edward Hervey <edward@fluendo.com>
10287 * docs/faq/gst-uninstalled:
10288 Add DYLD_LIBRARY_PATH declarations so we can also use this script on
10289 Mac OS X.
10291 2007-01-17 Tim-Philipp Müller <tim at centricular dot net>
10293 * tests/check/gst/gstabi.c:
10294 * tests/check/gst/struct_hppa.h:
10295 * tests/check/libs/libsabi.c:
10296 * tests/check/libs/struct_hppa.h:
10297 Add ABI structs for HPPA (see #393796).
10299 2007-01-16 Tim-Philipp Müller <tim at centricular dot net>
10301 * libs/gst/check/gstcheck.c: (gst_check_abi_list):
10302 Actually write ABI structs to the file specified in the GST_ABI
10303 environment variable, as the message we print claims we would.
10305 2007-01-15 Stefan Kost <ensonic@users.sf.net>
10307 * tests/check/gst/gsttask.c:
10308 Fix header comment.
10310 2007-01-15 Stefan Kost <ensonic@users.sf.net>
10312 * gst/gsttaglist.c: (_gst_tag_initialize):
10313 Change tag type from STRING to DOUBLE. Apply ChangeLog surgery for my
10314 previous two entries.
10316 2007-01-15 Stefan Kost <ensonic@users.sf.net>
10318 * docs/gst/gstreamer-sections.txt:
10319 * gst/gsttaglist.c: (_gst_tag_initialize):
10320 * gst/gsttaglist.h:
10321 Add tag support for beat-per-minute.
10323 2007-01-15 Stefan Kost <ensonic@users.sf.net>
10325 * gst/gstregistrybinary.c: (gst_registry_binary_write),
10326 (gst_registry_binary_initialize_magic),
10327 (gst_registry_binary_save_string), (gst_registry_binary_make_data),
10328 (gst_registry_binary_save_pad_template),
10329 (gst_registry_binary_save_feature),
10330 (gst_registry_binary_save_plugin),
10331 (gst_registry_binary_write_cache),
10332 (gst_registry_binary_check_magic),
10333 (gst_registry_binary_load_pad_template),
10334 (gst_registry_binary_load_feature),
10335 (gst_registry_binary_load_plugin),
10336 (gst_registry_binary_read_cache):
10337 * gst/gstregistrybinary.h:
10338 Use glib types, cleanup comments, impement interfaces and uri-types.
10340 2007-01-13 Andy Wingo <wingo@pobox.com>
10342 * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Allow
10343 getrange() to return buffers with other caps, while we fix
10344 demuxers and typefind, or otherwise change part-negotiation.txt.
10346 2007-01-12 Andy Wingo <wingo@pobox.com>
10348 * libs/gst/base/gstbasetransform.c (gst_base_transform_activate):
10349 Factor start/stop into this private function instead of partially
10350 in activate functions and partially in the change_state function.
10351 Fixes setup before the element has changed from READY->PAUSED, as
10352 is the case in pull-mode pipelines.
10353 (gst_base_transform_sink_activate_push)
10354 (gst_base_transform_src_activate_pull): Refactor to use
10355 gst_base_transform_activate().
10356 (gst_base_transform_change_state): Removed, not needed any more.
10358 * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
10359 Truncate before fixating.
10361 * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
10362 Don't set_caps() if the result of fixating is ANY, as it's not
10363 supported, and not necessary in the case of a link with no
10364 template caps on either side. Fixes tests/check/libs/basesrc in
10365 some pull-mode tests.
10367 * libs/gst/base/gstbasetransform.c (_GstBaseTransformPrivate):
10368 (gst_base_transform_init, gst_base_transform_sink_activate_push)
10369 (gst_base_transform_src_activate_pull):
10370 Track the activation mode.
10371 (gst_base_transform_setcaps): In pull mode, when activating the
10372 src pad, after activating the sink pad, activate the sink pad's
10373 peer, as discussed in part-negotiation.txt.
10375 * libs/gst/base/gstbasesrc.h:
10376 * libs/gst/base/gstbasesrc.c (gst_base_src_fixate): Add fixate
10377 vmethod, as in basesink.
10379 * libs/gst/base/gstbasesink.h: Reformat docs, add fixate vmethod.
10381 * libs/gst/base/gstbasesink.c (gst_base_sink_pad_setcaps): In pull
10382 mode, first proxy the setcaps to the peer pad.
10383 (gst_base_sink_pad_fixate): Add a fixate function that calls the
10384 new fixate vmethod.
10385 (gst_base_sink_default_activate_pull): Rename from
10386 gst_base_sink_activate_pull.
10387 (gst_base_sink_negotiate_pull): New function, performs negotiation
10388 in pull mode before calling ::activate_pull().
10389 (gst_base_sink_pad_activate_pull): Actually call the activate_pull
10390 vmethod instead of the default implementation. I have no idea how
10391 this worked before. Negotiate before calling activate_pull.
10393 * gst/gstpad.c (gst_pad_activate_pull): Refuse to activate unlinked
10394 sink pads in pull mode. In addition to being correct, fixes
10395 filesrc ! decodebin ! identity ! fakesink.
10396 (gst_pad_get_range, gst_pad_pull_range): Don't call
10397 gst_pad_set_caps() if the caps changes; instead error out with
10398 GST_FLOW_NOT_NEGOTIATED, as discussed in part-negotiation.txt.
10400 2007-01-12 Andy Wingo <wingo@pobox.com>
10402 * docs/design/part-negotiation.txt: Update with more policy.
10404 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
10406 * libs/gst/check/gstbufferstraw.h:
10407 * libs/gst/check/gstcheck.h:
10408 Add G_BEGIN_DECLS and G_END_DECLS. Move GST_CHECK_MAIN where it
10409 belongs.
10411 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
10413 * tests/check/Makefile.am:
10414 * tests/check/gst/.cvsignore:
10415 * tests/check/gst/gsttagsetter.c: (gst_dummy_enc_add_interfaces),
10416 (gst_dummy_enc_base_init), (gst_dummy_enc_class_init),
10417 (gst_dummy_enc_init), (tag_list_foreach), (tag_setter_list_length),
10418 (GST_START_TEST), (gst_tag_setter_suite):
10419 Add minimal unit test for beforementioned GstTagSetter bug.
10421 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
10423 Patch by: René Stadler <mail at renestadler dot de>
10425 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
10426 gst_tag_list_merge() returns a new list, so it's not the best idea
10427 to ingore its return value. Effectively meant that tags could only
10428 be merged on a GstTagSetter once using _merge_tags(). Fixes #395554.
10429 Also add function guard to require a non-NULL taglist as input (has
10430 always been so due to gst_tag_list_copy(), just making it explicit).
10432 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
10434 * docs/random/draft-missing-plugins.txt:
10435 Some additions: mention new API that is supposed to be used at the
10436 various stages; short blob about new gst-inspect introspection
10437 option; mention potential future problem with plugins that have
10438 a dynamic list of elements (such as ladspa, pitfdll, libvisual).
10440 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
10442 * tools/gst-inspect.c:
10443 (print_plugin_automatic_install_info_codecs),
10444 (print_plugin_automatic_install_info_protocols),
10445 (print_plugin_automatic_install_info), (main):
10446 Add --print-plugin-auto-install-info option to gst-inspect, so we can
10447 introspect plugin files and get machine-parsable output that corresponds
10448 to the last bit of the missing-plugin installer string (small gotcha:
10449 doesn't take into account ranks).
10451 2007-01-11 Stefan Kost <ensonic@users.sf.net>
10453 * configure.ac:
10454 * docs/gst/gstreamer-sections.txt:
10455 * gst/Makefile.am:
10456 * gst/gstregistry.c: (gst_registry_lookup_feature_locked),
10457 (gst_registry_lookup_locked):
10458 * gst/gstregistry.h:
10459 * gst/gstregistrybinary.c: (gst_registry_binary_write),
10460 (gst_registry_binary_initialize_magic),
10461 (gst_registry_binary_save_string),
10462 (gst_registry_binary_save_pad_template),
10463 (gst_registry_binary_save_feature),
10464 (gst_registry_binary_save_plugin),
10465 (gst_registry_binary_write_cache),
10466 (gst_registry_binary_check_magic),
10467 (gst_registry_binary_load_pad_template),
10468 (gst_registry_binary_load_feature),
10469 (gst_registry_binary_load_plugin),
10470 (gst_registry_binary_read_cache):
10471 * gst/gstregistrybinary.h:
10472 * gst/gstregistryxml.c: (load_feature),
10473 (gst_registry_xml_read_cache):
10474 commit binary registry (disabled by default, see #359653)
10476 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
10478 * tests/check/gst/gstpad.c: (test_get_allowed_caps):
10479 Fix 'make check' too.
10481 2007-01-10 Andy Wingo <wingo@pobox.com>
10483 * docs/design/part-negotiation.txt: Fix a typo, add a couple
10484 notes.
10486 * docs/design/part-negotiation.txt: Update with, um, one way that
10487 pull-mode negotiation might work?
10489 * gst/gstpad.h:
10490 * gst/gstpad.c (gst_pad_get_allowed_caps): Remove the restriction
10491 that the pad must be a src pad; makes sense to call it the other
10492 way in pull mode, and the logic is symmetric anyway.
10494 2007-01-10 Tim-Philipp Müller <tim at centricular dot net>
10496 * plugins/elements/gstfilesink.c:
10497 Include <stdio.h> for fseeko().
10499 2007-01-10 Wim Taymans <wim@fluendo.com>
10501 * gst/gstevent.c:
10502 * gst/gstevent.h:
10503 Reserve LATENCY event.
10505 2007-01-09 Wim Taymans <wim@fluendo.com>
10507 * docs/design/draft-latency.txt:
10508 Updates.
10510 2007-01-09 Wim Taymans <wim@fluendo.com>
10512 * docs/design/draft-latency.txt:
10513 Updates.
10515 * gst/gstelement.h:
10516 * gst/gststructure.c:
10517 * gst/gsttrace.c:
10518 Small typo fixes.
10520 2007-01-09 Tim-Philipp Müller <tim at centricular dot net>
10522 * tests/check/.cvsignore:
10523 Ignore test-registry.xml as well.
10525 2007-01-09 Wim Taymans <wim@fluendo.com>
10527 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
10528 unref data at the end when we are done with the pad.
10530 2007-01-08 Tim-Philipp Müller <tim at centricular dot net>
10532 * docs/gst/gstreamer-sections.txt:
10533 * gst/gst.c: (load_plugin_func), (scan_and_update_registry),
10534 (init_post), (gst_deinit), (gst_update_registry):
10535 * gst/gst.h:
10536 API: add gst_update_registry() (#391296).
10538 * tests/check/Makefile.am:
10539 * tests/check/gst/gstregistry.c:
10540 * tests/check/gst/.cvsignore:
10541 Simple unit test for the above.
10543 2007-01-08 Tim-Philipp Müller <tim at centricular dot net>
10545 * gst/gstregistry.c: (gst_registry_scan_path_level):
10546 Plugin extension on HP-UX is .sl, add that to the list of approved
10547 plugin extensions (see #393796).
10549 * tests/check/gst/gstpad.c: (GST_START_TEST):
10550 ulong => gulong. Fixes compilation with HP-UX compiler.
10552 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
10553 Fix compilation if valgrind headers are not available.
10555 2007-01-07 Sébastien Moutte <sebastien@moutte.net>
10557 * win32/common/libgstreamer.def:
10558 Add new exported function.
10559 * win32/vs6/libgstbase.dsp:
10560 Add gstdataqueue.c to the build.
10561 * win32/vs6/libgstcoreelements.dsp:
10562 Add gstmultiqueue.c to the build.
10564 2007-01-06 Andy Wingo <wingo@pobox.com>
10566 * libs/gst/base/gstbasesink.h: New GstBaseSinkClass vmethod,
10567 activate_pull(), providing for a way to specialize the process of
10568 spawning a thread to pull on the sink pad. There is a default
10569 implementation.
10571 * libs/gst/base/gstbasesink.c (gst_base_sink_pad_activate_pull)
10572 (gst_base_sink_pad_activate_push, gst_base_sink_pad_activate)
10573 (gst_base_sink_init): Renamed pad activation functions (inserting
10574 "_pad" in their names). Refactor to use the new activate_pull
10575 vmethod, as appropriate.
10576 (gst_base_sink_class_init, gst_base_sink_activate_pull): Set the
10577 default activate_pull function to start a task pulling from the
10578 sink pad, as before.
10580 * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Set caps
10581 on the pads if necessary, as in push()/chain(). Update docs.
10582 Shouldn't affect existing pull() usage as it is currently only
10583 being used on buffers without caps.
10585 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
10587 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
10588 (init_pre):
10589 Call g_thread_init() first thing in gst_init() / gst_check_init().
10590 When initialisation is done via gst_init_get_option_group() and
10591 GOption parsing, issue a warning if the GLib thread system has not
10592 been initialised yet by the time gst_init_get_option_group() is
10593 called, as it's quite likely other GLib functions such as
10594 g_option_context_new() have been called already then, and
10595 g_thread_init() must be called before any other GLib function. The
10596 application in question must be fixed in that case, since memory
10597 corruption might happen otherwise.
10598 We issue the warning because even if the GLib folks decide to work
10599 around the problem on their end in future, this is still an issue
10600 with all GLib versions >= 2.10.0, so we should warn until we depend
10601 on a GLib version we know to be safe.
10602 Update documentation as well.
10603 Closes bug #391278.
10605 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
10607 * tools/gst-inspect.c: (main):
10608 * tools/gst-launch.c: (main):
10609 * tools/gst-typefind.c: (main):
10610 * tools/gst-xmlinspect.c: (main):
10611 Call g_thread_init() really really early, before any other GLib
10612 function (see #342564 and recent discussion on gtk-devel-list).
10614 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
10616 Patch by: Vincent Torri <vtorri at univ-evry dot fr>
10618 * gst/gst_private.h:
10619 * gst/gstconfig.h.in:
10620 * gst/gstinfo.h:
10621 On win32, all the __declspec stuff for symbol exporting is
10622 apparently only needed with MSVC, but doesn't work with MingW.
10623 Fixes compilation with MingW and #391909.
10625 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
10627 * libs/gst/base/gstbasesrc.c: (gst_base_src_activate_push):
10628 Change some GST_ERROR_OBJECT that aren't really errors to
10629 GST_WARNING_OBJECT in order to reduce terminal spam.
10631 2007-01-04 Stefan Kost <ensonic@users.sf.net>
10633 * tests/check/Makefile.am:
10634 disable test again, as there seem to be still race problems
10636 2007-01-04 Stefan Kost <ensonic@users.sf.net>
10638 * tests/check/Makefile.am:
10639 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
10640 (GST_START_TEST), (queue_suite):
10641 enable queue test again, add tests for the leaky behaviour
10643 2007-01-02 Tim-Philipp Müller <tim at centricular dot net>
10645 * configure.ac:
10646 * tests/examples/Makefile.am:
10647 Compile adapter test/example only if the required headers are
10648 available (fixes #391915).
10650 2007-01-01 David Schleef <ds@schleef.org>
10652 * gst/gstplugin.c:
10653 Restore the previous signal handler for SIGSEGV instead of
10654 setting to default, since we may have stolen it away from
10655 someone. (i.e., Mono)
10657 2006-12-26 Tim-Philipp Müller <tim at centricular dot net>
10659 * docs/random/draft-missing-plugins.txt:
10660 Some small additions and clarifications.
10662 2006-12-26 Tim-Philipp Müller <tim at centricular dot net>
10664 * gst/gstregistryxml.c: (gst_registry_save_escaped):
10665 Make sure we don't pass non-UTF-8 strings to g_markup_escape(),
10666 since that can lead to random memory corruptions and crashes
10667 (may or may not be related to #383244, #386711, and #386711).
10669 2006-12-21 Stefan Kost <ensonic@users.sf.net>
10671 * tests/check/.cvsignore:
10672 * tests/check/Makefile.am:
10673 sync .cvsignome and CLEANFILES
10675 2006-12-21 Stefan Kost <ensonic@users.sf.net>
10677 * tests/check/Makefile.am:
10678 fix distcheck
10680 2006-12-21 Stefan Kost <ensonic@users.sf.net>
10682 * docs/design/part-states.txt:
10683 two tiny additional comments
10685 * gst/gststructure.c:
10686 doc fixing
10688 * tests/check/Makefile.am:
10689 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
10690 (GST_START_TEST):
10691 disable test for now, unless it gets fixed
10693 2006-12-21 Stefan Kost <ensonic@users.sf.net>
10695 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
10696 (GST_START_TEST):
10697 fix race in underrun test
10699 2006-12-21 Stefan Kost <ensonic@users.sf.net>
10701 * tests/check/elements/.cvsignore:
10702 ignore more
10704 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
10705 (GST_START_TEST):
10706 try to narrow test failure
10708 2006-12-21 David Schleef <ds@schleef.org>
10710 * plugins/elements/gstfakesrc.c:
10711 Use g_random_int_range(), since it produces better random
10712 numbers in a range than almost-correct floating point code.
10714 2006-12-21 Stefan Kost <ensonic@users.sf.net>
10716 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
10717 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
10718 (gst_check_teardown_sink_pad):
10719 do not automatically (de)activate pads
10721 * tests/check/Makefile.am:
10722 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
10723 (setup_queue), (cleanup_queue), (GST_START_TEST), (queue_suite):
10724 add new, yet simple tests for queue
10726 * tests/check/elements/fakesrc.c: (cleanup_fakesrc):
10727 * tests/check/elements/fdsrc.c: (cleanup_fdsrc):
10728 * tests/check/elements/filesrc.c: (cleanup_filesrc),
10729 (GST_START_TEST):
10730 * tests/check/elements/identity.c: (cleanup_identity):
10731 consistent pad (de)activation
10733 2006-12-20 Tim-Philipp Müller <tim at centricular dot net>
10735 Patch by: Sebastian Dröge <slomo ubuntu com>
10737 * libs/gst/base/gstcollectpads.c:
10738 Fix two doc typos (#387866).
10740 2006-12-19 Tim-Philipp Müller <tim at centricular dot net>
10742 * docs/manual/advanced-dparams.xml:
10743 Fix typo (g_object_control_properties() doesn't exist).
10745 2006-12-19 Edward Hervey <edward@fluendo.com>
10747 * gst/gstsegment.c: (gst_segment_set_seek):
10748 Fine tune the cases where the segment start/stop values are really
10749 updated.
10750 * tests/check/gst/gstsegment.c: (GST_START_TEST):
10751 Add tests for the return values of gst_segment_set_seek().
10753 2006-12-19 Tim-Philipp Müller <tim at centricular dot net>
10755 * gst/gst.c:
10756 Docs typo fix.
10758 * plugins/elements/gstqueue.c: (gst_queue_class_init),
10759 (gst_queue_init):
10760 Fix incorrect documentation and flesh it out a bit more.
10761 Set default values for the max properties on the GParamSpec as well,
10762 so it shows up correctly in gst-inspect.
10764 2006-12-18 Stefan Kost <ensonic@users.sf.net>
10766 * plugins/elements/gstqueue.c: (queue_leaky_get_type):
10767 Correct docs of queue, add more detail and crosslink it more.
10769 2006-12-16 Tim-Philipp Müller <tim at centricular dot net>
10771 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
10772 Print additional debug info when the stream isn't perfectly
10773 timestamped; don't try to use invalid durations.
10775 2006-12-16 Tim-Philipp Müller <tim at centricular dot net>
10777 * docs/design/Makefile.am:
10778 Dist new design docs.
10780 2006-12-16 Wim Taymans <wim@fluendo.com>
10782 Patch by: Sjoerd Simons <sjoerd at luon dot net>
10784 * libs/gst/base/gstcollectpads.c: (ref_data), (unref_data),
10785 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
10786 (gst_collect_pads_stop), (gst_collect_pads_event),
10787 (gst_collect_pads_chain):
10788 * libs/gst/base/gstcollectpads.h:
10789 Add refcounting to the collectpads data so we can track when it's safe
10790 to free the data. Fixes #383382.
10792 2006-12-15 Wim Taymans <wim@fluendo.com>
10794 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
10795 (gst_collect_pads_remove_pad):
10796 Automatically activate/deactivate pads when they are added to a
10797 started/stoped collectpads.
10799 2006-12-15 Wim Taymans <wim@fluendo.com>
10801 * gst/gstelement.c: (gst_element_add_pad):
10802 * gst/gstghostpad.c: (gst_ghost_pad_new_full):
10803 * gst/gstpad.c: (gst_pad_init):
10804 Set pads to FLUSHING when they are created. Check, warn and fix when a
10805 demuxer adds an inactive pad to itself when running. Fixes #339326.
10807 2006-12-15 Wim Taymans <wim@fluendo.com>
10809 * gst/gstelement.c: (gst_element_class_init),
10810 (gst_element_default_send_event), (gst_element_send_event),
10811 (gst_element_default_query), (gst_element_query):
10812 Expose default element send_event and query handling as vmethods that
10813 subclasses can chain up to.
10815 2006-12-15 Wim Taymans <wim@fluendo.com>
10817 * gst/gstelement.c: (gst_element_set_state_func):
10818 Small documentation fixes.
10820 2006-12-15 Wim Taymans <wim@fluendo.com>
10822 * docs/design/draft-latency.txt:
10823 Checked in draft for handling latency in pipelines.
10825 2006-12-15 Thomas Vander Stichele <thomas at apestaart dot org>
10827 * Makefile.am:
10828 * gstreamer.doap:
10829 * gstreamer.spec.in:
10830 adding .doap file
10832 2006-12-14 Tim-Philipp Müller <tim at centricular dot net>
10834 * gst/gst.c: (init_pre), (init_post):
10835 init_pre() and init_post() might be called via our GOptionGroup or
10836 from gst_init(), and we should skip both of them if we've already
10837 been initialised, otherwise we will init some things twice or add
10838 two default log functions.
10840 2006-12-13 Edward Hervey <edward@fluendo.com>
10842 * docs/manual/basics-bus.xml:
10843 No, gst_main_loop does not exist. Its g_main_loop.
10844 Discovered by somebody who abused the copy-paste technique of coding :)
10846 2006-12-13 Tim-Philipp Müller <tim at centricular dot net>
10848 * gst/gstghostpad.c:
10849 Log ghostpad debug stuff to the GST_PADS category as well rather
10850 than just to the default category.
10852 2006-12-12 Tim-Philipp Müller <tim at centricular dot net>
10854 * configure.ac:
10855 * gst/gst.c: (init_pre):
10856 Add some basic system details such as OS and architecture
10857 to the debug output if possible, courtesy of uname().
10859 2006-12-11 Tim-Philipp Müller <tim at centricular dot net>
10861 * docs/gst/running.xml:
10862 Document GST_REGISTRY_FORK and GST_DEBUG_NO_COLOR
10863 environment variables.
10865 2006-12-09 Jan Schmidt <thaytan@mad.scientist.com>
10867 * tests/check/gst/gstbin.c: (GST_START_TEST):
10868 It is acceptable to have a refcount of 2 or 3 at this point in the
10869 test, because the pipeline might be just posting its state_change
10870 message. The next line then waits for that message to appear using
10871 bus_poll, so that should be fine too.
10873 2006-12-09 Jan Schmidt <thaytan@mad.scientist.com>
10875 * gst/gst.c: (ensure_current_registry_forking):
10876 Ignore EINTR when reading from the child registry pipe.
10877 Explicitly ignore the return value from close, since it makes no
10878 difference.
10880 * gst/gstminiobject.c: (gst_mini_object_ref),
10881 (gst_mini_object_unref):
10882 When debugging refcounts, check GST_IS_MINI_OBJECT and warn.
10884 * gst/gstregistry.c: (_priv_gst_registry_remove_cache_plugins):
10885 When removing cached plugins, remove their features too, so they're
10886 not visible after they've disappeared.
10888 * gst/gstutils.c: (prepare_link_maybe_ghosting):
10889 In the unlikely case that we are linking pads with no parents, don't
10890 crash trying to get the non-existent parent bin.
10892 * gst/parse/grammar.y:
10893 Output debug in the PIPELINE category
10895 2005-03-08 Wim Taymans <wim@fluendo.com>
10897 Patch by: René Stadler <mail at renestadler dot de>
10899 * gst/gstclock.c: (gst_clock_new_periodic_id):
10900 Reject invalid clock times for interval of periodic ids.
10901 Fixes ##383506.
10903 2006-12-07 Jan Schmidt <thaytan@mad.scientist.com>
10905 * gst/gstelementfactory.c: (gst_element_factory_create):
10906 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
10907 * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
10908 * tools/gst-inspect.c: (print_element_info):
10909 Fix refcounting of gst_plugin_feature_load to match the docs.
10910 Fixes: #380129
10912 2006-12-07 Wim Taymans <wim@fluendo.com>
10914 * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
10915 (gst_base_sink_get_position):
10916 Improve debugging of events.
10918 2006-12-07 Wim Taymans <wim@fluendo.com>
10920 Patch by: René Stadler <mail at renestadler dot de>
10922 * gst/gstclock.c: (gst_clock_id_wait):
10923 Make period ids add the interval to the origial requested time instead
10924 of the possibly updated time which can be wrong when there are multiple
10925 waiters for the same id. Fixes #382592.
10927 * gst/gstsystemclock.c: (gst_system_clock_async_thread),
10928 (gst_system_clock_id_wait_jitter_unlocked),
10929 (gst_system_clock_id_wait_jitter):
10930 Fix restart in the async notify thread when an async entry is added to
10931 the front of the list. Fixes #381492.
10933 * tests/check/gst/gstsystemclock.c: (store_callback),
10934 (notify_callback), (GST_START_TEST), (gst_systemclock_suite):
10935 Added test for multiple async waits.
10936 Added test for async wait order.
10938 2006-12-07 Wim Taymans <wim@fluendo.com>
10940 * gst/gstbin.c: (gst_bin_query):
10941 Add some more docs about the POSITION query.
10943 2006-12-07 Jan Schmidt <thaytan@mad.scientist.com>
10945 * configure.ac:
10946 Bump version nano - back to CVS.
10948 === release 0.10.11 ===
10950 2006-12-06 Jan Schmidt <thaytan@mad.scientist.com>
10952 * configure.ac:
10953 releasing 0.10.11, "Love never runs on time"
10955 2006-12-01 Jan Schmidt <thaytan@mad.scientist.com>
10957 * win32/common/libgstbase.def:
10958 * win32/common/libgstreamer.def:
10959 * win32/vs8/libgstbase.vcproj:
10960 * win32/vs8/libgstcoreelements.vcproj:
10961 * win32/vs8/libgstreamer.vcproj:
10962 Fix compilation on win32 under VS8
10963 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
10964 Partially fixes #381175
10966 2006-11-29 Jan Schmidt <thaytan@mad.scientist.com>
10968 * gst/gstvalue.c: (gst_value_compare_fraction):
10969 If someone is foolish enough to compare 2 fractions with denominator =
10970 0, return UNORDERED rather than aborting.
10972 2006-11-28 Edward Hervey <edward@fluendo.com>
10974 * libs/gst/base/Makefile.am:
10975 * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type),
10976 (gst_data_queue_base_init), (gst_data_queue_class_init),
10977 (gst_data_queue_init), (gst_data_queue_new),
10978 (gst_data_queue_cleanup), (gst_data_queue_finalize),
10979 (gst_data_queue_locked_flush), (gst_data_queue_locked_is_empty),
10980 (gst_data_queue_locked_is_full), (gst_data_queue_flush),
10981 (gst_data_queue_is_empty), (gst_data_queue_is_full),
10982 (gst_data_queue_set_flushing), (gst_data_queue_push),
10983 (gst_data_queue_pop), (gst_data_queue_drop_head),
10984 (gst_data_queue_set_property), (gst_data_queue_get_property):
10985 * libs/gst/base/gstdataqueue.h:
10986 New GstDataQueue object for threadsafe queueing. Most useful for
10987 elements that need some queueing functionnality.
10988 * docs/libs/gstreamer-libs-docs.sgml:
10989 * docs/libs/gstreamer-libs-sections.txt:
10990 Insert documentation for GstDataQueue
10991 * plugins/elements/Makefile.am:
10992 * plugins/elements/gstelements.c:
10993 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
10994 (gst_multi_queue_class_init), (gst_multi_queue_init),
10995 (gst_multi_queue_finalize), (gst_multi_queue_set_property),
10996 (gst_multi_queue_get_property), (gst_multi_queue_request_new_pad),
10997 (gst_multi_queue_release_pad), (gst_single_queue_push_one),
10998 (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
10999 (gst_multi_queue_loop), (gst_multi_queue_chain),
11000 (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
11001 (gst_multi_queue_getcaps), (gst_multi_queue_bufferalloc),
11002 (gst_multi_queue_src_activate_push), (gst_multi_queue_acceptcaps),
11003 (gst_multi_queue_src_event), (gst_multi_queue_src_query),
11004 (wake_up_next_non_linked), (compute_next_non_linked),
11005 (single_queue_overrun_cb), (single_queue_underrun_cb),
11006 (single_queue_check_full), (gst_single_queue_new):
11007 * plugins/elements/gstmultiqueue.h:
11008 New multiqueue element, using GstDataQueue. Used for queuing multiple
11009 streams.
11010 Closes #344639 and #347785
11012 2006-11-22 Stefan Kost <ensonic@users.sf.net>
11014 * docs/pwg/advanced-types.xml:
11015 add more missing type details
11017 * tools/gst-run.c: (main):
11018 remove unused variable
11020 2006-11-21 Stefan Kost <ensonic@users.sf.net>
11022 * docs/libs/Makefile.am:
11023 * docs/libs/gstreamer-libs.types:
11024 add types of base classes to enable gobject specific stuff in the docs
11026 * docs/random/ensonic/embedded.txt:
11027 more ideas about isolating platform specific things
11029 2006-11-20 Wim Taymans <wim@fluendo.com>
11031 Patch by: Sebastian Dröge <slomo at ubuntu dot com>
11033 * libs/gst/check/gstcheck.h:
11034 Fix compilation and running against 0.9.4. Fixes #377332.
11036 2006-11-20 Wim Taymans <wim@fluendo.com>
11038 * gst/gstsegment.c: (gst_segment_set_seek),
11039 (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
11040 (gst_segment_to_running_time):
11041 Fix boundary checking in to_running_time() and to_stream_time().
11042 Fixes #377183.
11044 * tests/check/gst/gstsegment.c: (GST_START_TEST):
11045 stream and running time can now be calculated for the complete
11046 clipped segment.
11048 2006-11-15 Tim-Philipp Müller <tim at centricular dot net>
11050 * gst/gstpad.c: (gst_pad_push_event):
11051 Can't access event structure after giving away ownership of
11052 the event.
11054 2006-11-15 Stefan Kost <ensonic@users.sf.net>
11056 * docs/random/ensonic/embedded.txt:
11057 * docs/random/ensonic/profiling.txt:
11058 * docs/random/ensonic/receipies.txt:
11059 more thinking
11061 2006-11-13 Wim Taymans <wim@fluendo.com>
11063 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
11065 * gst/gstpad.c:
11066 Fix documentation for gst_pad_dispatcher. Fixes #374475.
11068 2006-11-13 Wim Taymans <wim@fluendo.com>
11070 Patch by: Jonathan Matthew <jonathan at kaolin dot wh9 dot net>
11072 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
11073 Store new length in segment duration so we don't keep on calling the
11074 potentially expensize get_size() call. Fixes #370865.
11076 2006-11-10 Tim-Philipp Müller <tim at centricular dot net>
11078 Patch by: Sergey Scobich <sergey.scobich at gmail com>
11080 * win32/common/libgstreamer.def:
11081 Add two missing symbols (#366492).
11083 2006-11-10 Jan Schmidt <thaytan@mad.scientist.com>
11085 * libs/gst/base/gstadapter.c: (gst_adapter_flush),
11086 (gst_adapter_take_buffer):
11087 Fix format string to use all its arguments.
11088 Remove useless >= check on a guint
11090 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
11092 * tests/examples/adapter/.cvsignore:
11093 Ignore build file as commanded by the build-bot
11095 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
11097 * tests/examples/adapter/Makefile.am:
11098 * tests/examples/adapter/adapter_test.c: (run_test_take),
11099 (run_test_take_buffer), (run_tests), (main):
11101 Add new files from the previous commit
11103 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
11105 * Makefile.am:
11106 * configure.ac:
11107 * libs/gst/base/gstadapter.c: (gst_adapter_clear),
11108 (gst_adapter_push), (gst_adapter_peek_into), (gst_adapter_peek),
11109 (gst_adapter_flush), (gst_adapter_take), (gst_adapter_take_buffer):
11110 * libs/gst/base/gstadapter.h:
11111 * tests/check/libs/adapter.c: (create_and_fill_adapter),
11112 (GST_START_TEST), (gst_adapter_suite):
11113 * tests/examples/Makefile.am:
11114 Do some optimisation work in GstAdapter to avoid copies in more cases.
11115 It could still do slightly better by merging buffers when
11116 gst_buffer_is_span_fast is true, but is already faster.
11118 Also, avoid traversing a single-linked list to append each incoming
11119 buffer inside the adapter.
11121 Add simple test app that times the adapter behaviour in different
11122 situations, and extend the unit test to check that bytes enter and
11123 exit the adapter in their original order.
11125 2006-11-08 Tim-Philipp Müller <tim at centricular dot net>
11127 * docs/random/draft-missing-plugins.txt:
11128 Update: use element message instead of adding a new message
11129 type to the core; don't provide GStreamer API to initiate the
11130 plugin download, just provide API to compose the strings needed
11131 and let an external libgimmestuff handle the rest.
11133 2006-11-08 Jan Schmidt <thaytan@mad.scientist.com>
11135 * tools/gst-inspect.c: (print_element_properties_info):
11136 Print a string instead of 'unknown type' for GValueArray properties
11138 2006-11-08 Christian F.K. Schaller <christian@fluendo.com>
11140 * docs/random/draft-missing-plugins.txt:
11141 More small fixes.
11143 2006-11-07 Tim-Philipp Müller <tim at centricular dot net>
11145 * tests/examples/typefind/typefind.c: (type_found), (main):
11146 Make typefind element example work again (#371894); add a
11147 license header.
11149 2006-11-07 Tim-Philipp Müller <tim at centricular dot net>
11151 * docs/random/draft-missing-plugins.txt:
11152 Commit initial draft about how to deal with missing plugins,
11153 needs work (API too).
11155 2006-11-07 Stefan Kost <ensonic@users.sf.net>
11157 * docs/pwg/advanced-types.xml:
11158 documents the new caps elements (see #363118)
11160 2006-11-06 Tim-Philipp Müller <tim at centricular dot net>
11162 * gst/gstplugin.c: (gst_plugin_load_file):
11163 * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_finalize),
11164 (gst_file_src_map_region), (gst_file_src_start):
11165 * plugins/indexers/gstfileindex.c: (gst_file_index_load),
11166 (gst_file_index_commit):
11167 Use g_strerror() instead of strerror() - we want UTF-8.
11169 2006-11-06 Tim-Philipp Müller <tim at centricular dot net>
11171 Patch by: Peter Kjellerstedt <pkj at axis com>
11173 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
11174 Another printf fix (#371493).
11176 2006-11-06 Stefan Kost <ensonic@users.sf.net>
11178 * tests/check/gst/gsttag.c:
11179 relicence (okay with author=company)
11181 2006-11-06 Stefan Kost <ensonic@users.sf.net>
11183 * gst/gstpad.c: (gst_pad_event_default_dispatch),
11184 (gst_pad_push_event):
11185 Enhance debug and improve docs
11187 * gst/gsturi.c:
11188 Fix docs
11190 2006-11-06 Stefan Kost <ensonic@users.sf.net>
11192 * docs/random/ensonic/distributed.txt:
11193 * docs/random/ensonic/profiling.txt:
11194 more ideas
11196 2006-11-06 Stefan Kost <ensonic@users.sf.net>
11198 * docs/gst/gstreamer-sections.txt:
11199 add new API and fix the build
11201 * gst/gstbin.c: (gst_bin_recalc_state):
11202 * gst/gstelement.c: (gst_element_message_full),
11203 (gst_element_get_state_func), (gst_element_set_state_func):
11204 use new API and improve logging
11206 * gst/gstutils.c: (gst_element_state_change_return_get_name):
11207 * gst/gstutils.h:
11208 API: add function to get StateChangereturn names to improve logs
11210 2006-11-04 Thomas Vander Stichele <thomas at apestaart dot org>
11212 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
11213 I'm considering shooting the next person to put strerror stuff
11214 in the translateable part of the message.
11216 2006-11-03 Wim Taymans <wim@fluendo.com>
11218 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
11219 Get the type and printf conversion specifiers right.
11221 2006-11-03 Wim Taymans <wim@fluendo.com>
11223 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
11225 * gst/gstpad.c: (gst_pad_init), (pre_activate),
11226 (gst_pad_set_blocked_async), (gst_pad_acceptcaps_default),
11227 (gst_pad_accept_caps), (handle_pad_block), (gst_pad_push_event):
11228 Some small cleanups. Improve debugging.
11229 * gst/gstpad.h:
11230 Signal all waiting threads with a broadcast instead of just one.
11231 Fixes #369942.
11233 2006-11-03 Wim Taymans <wim@fluendo.com>
11235 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
11236 (gst_fd_src_create):
11237 Add some debugging.
11238 Only update fd when it's different from the old.
11240 2006-11-02 Tim-Philipp Müller <tim at centricular dot net>
11242 * plugins/elements/gstfilesrc.c: (gst_file_src_create_mmap):
11243 Printf fixes for PPC/OSX, take two (#369366).
11245 2006-11-02 Tim-Philipp Müller <tim at centricular dot net>
11247 Based on patch by: Jan David Mol <j.j.d.mol at tudelft nl>
11249 * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
11250 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
11251 (gst_file_src_map_small_region), (gst_file_src_create_mmap):
11252 Printf fixes for gsize parameters on PPC/OSX (#369366). Also,
11253 don't cast to long long for portability reasons, but use
11254 GLib's types instead.
11256 2006-10-30 Michael Smith <msmith@fluendo.com>
11258 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
11259 Get the arguments to lseek() the right way around.
11260 Fixes 367677.
11262 2006-10-30 Wim Taymans <wim@fluendo.com>
11264 Patch by: gorshkov <gorshkov at oghma dot on dot ca>
11266 * gst/gstinfo.h:
11267 _declspec should be __declspec (two underscores, not one). Fixes 366572.
11269 2006-10-28 Tim-Philipp Müller <tim at centricular dot net>
11271 Patch by: Kjartan Maraas <kmaraas at gnome org>
11273 * docs/design/part-MT-refcounting.txt:
11274 * docs/random/wtay/capsnego2-docs:
11275 * gst/gstclock.c:
11276 * gst/gstxml.c:
11277 Typo fixes (#366212).
11279 2006-10-28 Wim Taymans <wim@fluendo.com>
11281 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
11283 * gst/gst.c:
11284 * win32/common/libgstbase.def:
11285 * win32/common/libgstreamer.def:
11286 * win32/vs8/libgstbase.vcproj:
11287 * win32/vs8/libgstcontroller.vcproj:
11288 Add needed entries in .def files.
11289 Use HAVE_UNISTD_H.
11290 Rearrange def files in vs8 solutions. Fixes #366286.
11292 2006-10-28 Tim-Philipp Müller <tim at centricular dot net>
11294 * win32/common/gstconfig.h:
11295 Add GST_SEGMENT_FORMAT and GST_USING_PRINTF_EXTENSION to the
11296 hand-made win32 gstconfig.h. Fixes #366321.
11298 2006-10-27 Wim Taymans <wim@fluendo.com>
11300 * gst/gstghostpad.c: (gst_proxy_pad_do_acceptcaps),
11301 (gst_ghost_pad_new_full):
11302 Make acceptcaps return TRUE when we don't have a target, just like
11303 setcaps does.
11305 2006-10-27 Wim Taymans <wim@fluendo.com>
11307 * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
11308 Revert previous commit, 0 sized buffers are allowed. Reopens #363095.
11310 2006-10-26 Tim-Philipp Müller <tim at centricular dot net>
11312 * gst/gststructure.c: (gst_structure_id_set_value):
11313 If someone tries to set a non-UTF8 string field on a structure,
11314 don't just print a warning, but also ignore the request and do
11315 not change/add that field to the structure.
11317 * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
11318 Test for the above.
11320 2006-10-25 David Schleef <ds@schleef.org>
11322 * gst/gstinfo.c:
11323 g_hash_table_insert() needs a cast to a non-const pointer duh.
11325 2006-10-25 David Schleef <ds@schleef.org>
11327 * gst/gstinfo.c:
11328 * gst/gstinfo.h:
11329 Change name parameter of _gst_debug_register_funcptr to const
11330 to reflect the constness of its use in the function as well
11331 as to quiet a gcc warning.
11333 2006-10-25 Edward Hervey <edward@fluendo.com>
11335 * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
11336 Don't push the buffer if it's empty.
11337 Closes #363095
11339 2006-10-24 Wim Taymans <wim@fluendo.com>
11341 * gst/gstevent.h:
11342 Add small comment.
11344 * libs/gst/base/gstbasetransform.c:
11345 (gst_base_transform_sink_eventfunc):
11346 Debug segment values *after* updating them as this is more
11347 interesting.
11349 2006-10-23 Wim Taymans <wim@fluendo.com>
11351 * docs/design/part-events.txt:
11352 Update some docs.
11354 * docs/design/part-block.txt:
11355 * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
11356 (gst_pad_push_event):
11357 Revert BLOCKING patch, it tries to be smart without really having a
11358 clear idea what or how. So, now we discard all FLUSHING events again on
11359 a blocking pad. Should fix gnonlin again.
11361 2006-10-23 Wim Taymans <wim@fluendo.com>
11363 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
11365 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
11366 (gst_base_src_start), (gst_base_src_activate_push):
11367 Make sure size is always initialized. Fixes #364388.
11369 2006-10-20 Stefan Kost <ensonic@users.sf.net>
11371 * docs/random/ensonic/distributed.txt:
11372 add some ideas about doing distributed processing
11374 * docs/random/ensonic/profiling.txt:
11375 get_rusage look promising
11377 2006-10-18 Stefan Kost <ensonic@users.sf.net>
11379 * docs/manual/basics-helloworld.xml:
11380 Add a cast in example to fix compile warning
11382 2006-10-18 Wim Taymans <wim@fluendo.com>
11384 * gst/gstsegment.c: (gst_segment_set_last_stop),
11385 (gst_segment_set_seek), (gst_segment_set_newsegment_full):
11386 Relax arg checking again, -1 is allowed.
11388 2006-10-18 Wim Taymans <wim@fluendo.com>
11390 * gst/gstsegment.c: (gst_segment_set_last_stop),
11391 (gst_segment_set_seek), (gst_segment_set_newsegment_full):
11392 _set_last_stop() must be with a value != -1
11393 A _TYPE_SET to -1 means seek to 0.
11394 Calc last_stop correctly for negative rates.
11395 Make sure we work with positive durations when updating a segment.
11397 2006-10-18 Wim Taymans <wim@fluendo.com>
11399 * docs/design/part-live-source.txt:
11400 * gst/gstclock.h:
11401 Small docs fixes.
11403 2006-10-18 Tim-Philipp Müller <tim at centricular dot net>
11405 * gst/gstbuffer.h:
11406 Add an explicit cast to GstBuffer** to keep old code that added an
11407 explicit cast to GstMiniObject** for gst_mini_object_replace()
11408 compiling without warning.
11410 2006-10-18 Stefan Kost <ensonic@users.sf.net>
11412 * gst/gstvalue.c: (gst_value_set_date), (gst_date_copy):
11413 check for validity of dates
11415 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
11417 * docs/gst/gstreamer-sections.txt:
11418 Forgot this one, makes gtk-doc shut up.
11420 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
11422 Patch by: Peter Kjellerstedt <pkj at axis com>
11424 * gst/gstobject.h:
11425 Don't define xmlNodePtr to gpointer if the core was built with
11426 --disable-loadsave and --disable-registry, this will break
11427 applications that want to use libxml2 but are buildling against a
11428 core that doesn't use libxml2. Use an intermediary type GstXmlNodePtr
11429 instead so we don't have to mess with the libxml2 namespace
11430 (#361675).
11432 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
11434 * gst/gstbuffer.h:
11435 Fix gst_buffer_replace() macro to avoid gst_mini_object_replace()-related
11436 type-punned pointer warnings.
11438 2006-10-16 Tim-Philipp Müller <tim at centricular dot net>
11440 * gst/gstelement.h:
11441 Add casts to the correct return type to state <=> state transition
11442 macros.
11444 2006-10-16 Stefan Kost <ensonic@users.sf.net>
11446 * docs/design/part-live-source.txt:
11447 describe howto handle latency
11449 * docs/random/ensonic/profiling.txt:
11450 more ideas
11452 * tools/gst-plot-timeline.py:
11453 fix log parsing for solaris, remove unused function
11455 2006-10-16 Wim Taymans <wim@fluendo.com>
11457 * docs/design/part-trickmodes.txt:
11458 * gst/gstevent.c:
11459 Update some docs regarding reverse playback.
11461 2006-10-15 Tim-Philipp Müller <tim at centricular dot net>
11463 Patch by: Marcus Granado <mrc dot gran at gmail com>
11465 * win32/vs8/grammar.vcproj:
11466 Error out with a warning if glib-genmarshal.exe is not in path,
11467 instead of creating bogus gstmarshal.[ch] files. Fixes #361720.
11469 2006-10-13 Wim Taymans <wim@fluendo.com>
11471 * gst/gstsegment.c: (gst_segment_set_seek):
11472 When seeking to stop -1, set last_stop (current position) to the
11473 duration of the segment.
11475 2006-10-13 Wim Taymans <wim@fluendo.com>
11477 * gst/gstelement.h:
11478 Clarify _NO_PREROLL a bit more.
11480 * gst/gstevent.c:
11481 Fix docs.
11483 * gst/gstpad.c: (gst_pad_link_check_hierarchy),
11484 (gst_pad_get_caps_unlocked), (gst_pad_save_thyself),
11485 (handle_pad_block), (gst_pad_push_event), (gst_pad_send_event):
11486 Patch by: Yves Lefebvre <ivanohe at abacom dot com> Fix possible deadlock
11487 due to wrong locking order. Fixes #361769.
11488 Remove some redundant/misplaced checks in pad_block.
11490 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
11491 For negative rates, count backwards from the duration.
11493 2006-10-13 Tim-Philipp Müller <tim at centricular dot net>
11495 * gst/gsterror.c: (_gst_library_errors_init):
11496 Fix error message for GST_LIBRARY_ERROR_SETTINGS (feel free to come
11497 up with something better).
11499 2006-10-12 Tim-Philipp Müller <tim at centricular dot net>
11501 * win32/vs6/libgstreamer.dsp:
11502 * win32/vs7/libgstreamer.vcproj:
11503 * win32/vs8/libgstreamer.vcproj:
11504 Don't reference glib-compat.c which is currently not used and not
11505 disted; add gstquark.c which was recently added. Fixes #361730.
11507 2006-10-12 Tim-Philipp Müller <tim at centricular dot net>
11509 * win32/common/libgstbase.def:
11510 * win32/common/libgstcontroller.def:
11511 * win32/common/libgstreamer.def:
11512 Add gst_caps_merge() and a bunch of other recently-added functions.
11513 Fixes #361732.
11515 2006-10-11 Wim Taymans <wim@fluendo.com>
11517 * docs/plugins/gstreamer-plugins.args:
11518 * docs/plugins/inspect/plugin-coreelements.xml:
11519 * docs/plugins/inspect/plugin-coreindexers.xml:
11520 Update element args.
11522 * gst/gstsystemclock.c:
11523 Small comment update.
11525 * plugins/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
11526 (gst_tee_request_new_pad), (gst_tee_release_pad),
11527 (gst_tee_buffer_alloc), (gst_tee_sink_activate_push),
11528 (gst_tee_sink_activate_pull):
11529 * plugins/elements/gsttee.h:
11530 Some tee loving:
11531 Add default property defines.
11532 Implement release pad function.
11533 Give properties better blubs etc.
11534 Activate pads before adding them to a running tee.
11535 Do simple buffer_alloc on the first requested pad.
11536 Post error when activation fails.
11538 2006-10-11 Tim-Philipp Müller <tim at centricular dot net>
11540 * gst/gst.c: (ensure_current_registry_forking):
11541 Check return value of write() to make compiler happy.
11543 2006-10-11 Wim Taymans <wim@fluendo.com>
11545 Patch by: Sjoerd Simons <sjoerd at luon dot net>
11547 * plugins/elements/gstqueue.c: (gst_queue_chain):
11548 Recheck queue filledness after signalling the overrun when we're about
11549 to leak downstream because we released the lock when emitting the signal
11550 and the queue could be empty again. Fixes #352345.
11552 2006-10-11 Tim-Philipp Müller <tim at centricular dot net>
11554 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
11555 Fix refcounting here too, just like we did for _new_valist() a few
11556 days ago (#357180) (thanks to René Stadler). Also remove all those
11557 'Since: 0.9' from the gtk-doc blobs.
11559 * tests/check/libs/controller.c: (controller_refcount_new_list),
11560 (gst_controller_suite):
11561 Unit test for the above.
11563 2006-10-10 Wim Taymans <wim@fluendo.com>
11565 Patch by: Sebastien Cote <sebas642 at yahoo dot ca>
11567 * gst/gstpad.c: (gst_pad_get_caps_unlocked),
11568 (gst_pad_save_thyself):
11569 Update some docs.
11570 Write pad direction in XML output. Fixes #345496.
11572 2006-10-10 Wim Taymans <wim@fluendo.com>
11574 Patch by: René Stadler <mail at renestadler dot de>
11576 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
11577 (gst_controller_new_list), (_gst_controller_dispose),
11578 (_gst_controller_finalize), (_gst_controller_class_init):
11579 Take ref to controlled object so that it cannot disappear.
11580 Fixes #357432.
11582 2006-10-10 Wim Taymans <wim@fluendo.com>
11584 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
11585 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
11586 (gst_check_teardown_sink_pad):
11587 Activate/deactivate pads in setup/teardown respectively.
11589 2006-10-10 Zaheer Abbas Merali <zaheerabbas at merali dot org>
11591 Patch by: Josep Torra Valles <josep@fluendo.com>
11593 * gst/Makefile.am:
11594 Cast values when making gstenumtypes.h. This pacifies Forte
11595 so it doesn't warn about the ~0 as GST_MESSAGE_ANY not fitting
11596 in the enumeration.
11598 2006-10-09 Wim Taymans <wim@fluendo.com>
11600 * gst/gstevent.c: (gst_event_new_seek), (gst_event_parse_seek):
11601 Rename some more @cur to @start to fix docs.
11603 * gst/gstsegment.c: (gst_segment_set_seek):
11604 Fix typo.
11605 time and start must always stay in sync as defined in design doc.
11607 * gst/gsttaglist.c: (gst_tag_list_is_empty):
11608 Rename param to fix docs.
11610 * tests/check/gst/gstsegment.c: (GST_START_TEST):
11611 Check that start and time are in sync.
11613 * tests/check/pipelines/parse-launch.c:
11614 (gst_parse_test_element_change_state):
11615 Activate pad before adding to the element.
11617 2006-10-09 Wim Taymans <wim@fluendo.com>
11619 * docs/design/part-qos.txt:
11620 Fix typo.
11622 * gst/gstevent.c:
11623 * gst/gstevent.h:
11624 Update seek event docs regarding negative rates.
11625 Rename @cur to @start.
11627 * gst/gstsegment.c: (gst_segment_set_seek):
11628 * gst/gstsegment.h:
11629 Update set_seek docs regarding negative rates.
11630 Correctly update last_stop to @stop when dealing with negative
11631 rates.
11632 Rename @cur to @start.
11634 * tests/check/gst/gstpad.c: (GST_START_TEST):
11635 Activate pads before trying to use them.
11637 * tests/check/gst/gstsegment.c: (GST_START_TEST),
11638 (gst_segment_suite):
11639 Add simple check for segments and negative rates.
11641 2006-10-09 Tim-Philipp Müller <tim at centricular dot net>
11643 * gst/gsttaglist.c: (gst_tag_list_is_empty):
11644 * gst/gsttaglist.h:
11645 * docs/gst/gstreamer-sections.txt:
11646 API: add gst_tag_list_is_empty() (#360467).
11648 * tests/check/gst/gsttag.c: (GST_START_TEST):
11649 And a test case.
11651 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
11653 * gst/gstmessage.h:
11654 Revert change from earlier wrt GST_MESSAGE_TYPE_ANY having
11655 a value that doesn't fit on enumeration.
11657 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
11659 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
11660 Remove local debugging system and use Gstreamer's instead.
11662 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
11664 Patch by: Josep Torra Valles <josep@fluendo.com>
11666 * common/m4/gst-error.m4:
11667 Disable warning of statement not reached on Forte.
11668 * gst/gstmessage.h:
11669 Fix warning on Forte (value doesn't fit on enumeration).
11670 * libs/gst/base/gstbasesink.c: (gst_base_sink_chain_unlocked):
11671 Fix warning on Forte (value doesn't fit on enumeration).
11672 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
11673 DEBUG macro says it takes minimum of 2 args and so Forte
11674 complains about the use with just 1 arg.
11675 * plugins/elements/gstfdsink.c:
11676 * plugins/elements/gstfdsrc.c:
11677 * plugins/elements/gstfilesink.c:
11678 * plugins/elements/gstfilesrc.c:
11679 Use correct return type for the uri handler implementations.
11681 All these fix warnings in Forte. Fixes bug #360860.
11683 2006-10-08 Tim-Philipp Müller <tim at centricular dot net>
11685 * gst/gstelement.h:
11686 gcc versions prior to gcc 3.3 apparently complain about a NULL printf
11687 format string, so don't use G_GNUC_PRINTF for those versions.
11689 2006-10-07 Tim-Philipp Müller <tim at centricular dot net>
11691 * gst/gsttaglist.c: (gst_is_tag_list):
11692 * gst/gsttaglist.h:
11693 Minor fixes to GST_IS_TAG_LIST and gst_is_tag_list().
11695 * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
11696 Small test for the above.
11698 2006-10-07 Tim-Philipp Müller <tim at centricular dot net>
11700 * gst/gsttaglist.h:
11701 Less tabs, more spaces.
11703 2006-10-06 Tim-Philipp Müller <tim at centricular dot net>
11705 * gst/gstinfo.h:
11706 Those two function declarations do actually belong there, revert
11707 commit from yesterday that turned them intro macros.
11709 2006-10-06 Zaheer Abbas Merali <zaheerabbas at merali dot org>
11711 Patch by: Josep Torra Valles <josep@fluendo.com>
11713 * gst/gst.c: (gst_init_get_option_group):
11714 Fix empty declaration and type mismatch.
11715 * gst/gstbin.c: (gst_bin_change_state_func):
11716 Fix type mismatch.
11717 * gst/gstelement.c: (gst_element_continue_state),
11718 (gst_element_set_state_func), (gst_element_change_state),
11719 (gst_element_change_state_func):
11720 Fix type mismatches.
11721 * gst/gstinfo.c: (gst_debug_compare_log_function_by_func),
11722 (gst_debug_remove_log_function), (_gst_debug_nameof_funcptr):
11723 Cast as appropriate.
11724 * gst/gstobject.c: (gst_class_signal_connect):
11725 Cast as appropriate. The function pointer parameter really
11726 has the wrong type but would break API if we change it.
11727 * gst/gstquery.c:
11728 Fix redefinition of _FILE_OFFSET_BITS caused on Solaris wrt
11729 order of including string.h.
11730 * gst/gstutils.c: (gst_element_state_get_name):
11731 Remove unreachable line.
11732 * gst/gstxml.c: (gst_xml_parse_doc):
11733 Fix type mismatch.
11734 All these caught by Forte.
11736 2006-10-06 Zaheer Abbas Merali <zaheerabbas at merali dot org>
11738 Patch by: Josep Torra Valles <josep@fluendo.com>
11740 * common/m4/gst-error.m4:
11741 Fixed bug #360151.
11742 We need to disable warnings on Forte for empty declarations
11743 due to gst-indent adding ;s to lines that just use macros
11744 where the macro actually doesn't need a ; at end to end
11745 statement.
11747 2006-10-06 Wim Taymans <wim@fluendo.com>
11749 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
11750 (gst_file_sink_close_file), (gst_file_sink_event),
11751 (gst_file_sink_render):
11752 Add some FIXME for the NEWSEGMENT handling.
11754 2006-10-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
11756 * gst/parse/grammar.y:
11757 Remove static function gst_parse_element_lock as all it does
11758 is return. Looks like cruft from 0.8.
11760 2006-10-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
11762 Patch by: Josep Torra Valles <josep@fluendo.com>
11764 * common/m4/gst-error.m4:
11765 * configure.ac:
11766 * libs/gst/net/Makefile.am:
11767 Fix a compilation issue with Forte on Solaris. inet_aton is in
11768 libresolv.
11770 2006-10-05 Tim-Philipp Müller <tim at centricular dot net>
11772 * gst/gstpad.c: (pre_activate):
11773 * gst/gstregistry.c: (gst_registry_scan_path_level):
11774 * gst/gstregistryxml.c: (load_plugin):
11775 * libs/gst/controller/gstcontroller.c:
11776 (gst_controlled_property_set_interpolation_mode):
11777 * libs/gst/dataprotocol/dataprotocol.c:
11778 (gst_dp_packet_from_event_1_0):
11779 * libs/gst/net/gstnetclientclock.c:
11780 (gst_net_client_clock_observe_times):
11781 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
11782 Printf fixes.
11784 2006-10-05 Tim-Philipp Müller <tim at centricular dot net>
11786 * configure.ac:
11787 * docs/gst/gstreamer-sections.txt:
11788 * gst/gstconfig.h.in:
11789 * gst/gstelement.h:
11790 * gst/gstinfo.h:
11791 Add GST_USING_PRINTF_EXTENSION to gstconfig.h so that we know
11792 whether we can use G_GNUC_PRINTF in other header files and at
11793 least check the printf format/arguments of debug messages and
11794 GST_ELEMENT_ERROR messages when the printf extension is not
11795 being used.
11796 Replace more tabs with spaces in gstinfo.h and remove two spurious
11797 function declarations in GST_DISABLE_DEBUG part with macros.
11799 2006-10-03 Tim-Philipp Müller <tim at centricular dot net>
11801 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_post):
11802 More docs for the sync-message signal (mention that it is not
11803 emitted by default); log message structures of messages posted on
11804 the bus as well.
11806 2006-10-03 Jan Schmidt <thaytan@mad.scientist.com>
11808 * gst/gst.c: (ensure_current_registry_forking):
11809 Use a pipe pair to receive status results from the forked child, and
11810 ignore the result from waitpid. Fixes #355499
11812 2006-10-02 Wim Taymans <wim@fluendo.com>
11814 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
11815 (gst_ghost_pad_suite):
11816 Fix leak in check.
11818 2006-10-02 Tim-Philipp Müller <tim at centricular dot net>
11820 * gst/gstpad.c:
11821 Add 'Since: 0.10.11' to gst_pad_is_blocking() gtk-doc blurb.
11823 2006-10-02 Edward Hervey <edward@fluendo.com>
11825 * docs/design/part-block.txt:
11826 Further explain the use of flushing on blocked pads.
11827 * docs/gst/gstreamer-sections.txt:
11828 * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
11829 (gst_pad_push_event):
11830 * gst/gstpad.h:
11831 Added new GstPadFlag : GST_PAD_BLOCKING.
11832 Adds the notion of pads really blocking, which enables to properly
11833 handle FLUSH_START/FLUSH_STOP events on blocked pads.
11834 Fixes #358999
11835 API: gst_pad_is_blocking()
11836 API: GST_PAD_IS_BLOCKING() macro
11837 API: GST_PAD_BLOCKING GstPadFlag
11839 2006-10-02 Wim Taymans <wim@fluendo.com>
11841 Patch by: mrcgran <mrc.gran at gmail dot com>
11843 * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps):
11844 Filter the proxied caps against the padtemplate if we have one.
11846 * gst/gstquery.c: (gst_query_new_segment):
11847 Add include for gstinfo.h so that compilation with
11848 -DGST_DISABLE_GST_DEBUG works again. Fixes #358436.
11850 2006-10-02 Wim Taymans <wim@fluendo.com>
11852 Patch by: Alessandro Decina <alessandro at nnva org>
11854 * plugins/elements/gstfilesink.c: (gst_file_sink_init),
11855 (gst_file_sink_set_location), (gst_file_sink_open_file),
11856 (gst_file_sink_close_file), (gst_file_sink_event),
11857 (gst_file_sink_render):
11858 Set file to NULL when closing filesink so that we can set a new filename
11859 in READY. Fixes #358613.
11861 2006-10-02 Tim-Philipp Müller <tim at centricular dot net>
11863 Patch by: Alessandro Decina <alessandro at nnva org>
11865 * gst/gstevent.c: (_gst_event_copy):
11866 Fix gst_mini_object_make_writable() and gst_event_copy() for events
11867 with event structures by setting the parent refcount address of the
11868 copied structure to the address of the refcount member of the newly
11869 copied event rather than the address of the refcount member of the
11870 original event. Fixes #358737.
11872 * tests/check/gst/gstevent.c: (GST_START_TEST):
11873 Unit test for the above.
11875 2006-09-29 Stefan Kost <ensonic@users.sf.net>
11877 * docs/design/Makefile.am:
11878 Dist some more files.
11880 2006-09-29 Tim-Philipp Müller <tim at centricular dot net>
11882 * tests/check/libs/controller.c: (GST_START_TEST),
11883 (gst_controller_suite):
11884 Add test for the previous fix; add some more tests
11885 for correct refcounting behaviour; fix a few leaks
11886 in test cases; call gst_controller_init() at start
11887 of all tests.
11889 2006-09-29 Tim-Philipp Müller <tim at centricular dot net>
11891 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
11892 (gst_controller_set_from_list):
11893 Don't g_return_val_if_fail() on timed values with invalid timestamps
11894 inside a critical section without unlocking the mutex. Spotted by
11895 René Stadler. (#357617)
11896 Also, fix up refcounting properly: when returning an existing
11897 controller, we should increase the reference only once and not
11898 once per property and when trying to control a property again
11899 we should also increase the refcount.
11901 2006-09-29 Wim Taymans <wim@fluendo.com>
11903 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
11904 * libs/gst/net/gstnettimeprovider.c:
11905 (gst_net_time_provider_thread):
11906 Stop reading commands when EOF as well.
11908 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
11909 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
11910 * plugins/elements/gstidentity.c: (gst_identity_class_init):
11911 Unify description of the dump property.
11913 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
11915 * tests/examples/manual/.cvsignore:
11916 OK, so it's actually cvsignore that needs changing. Stop laughing.
11918 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
11920 * tests/examples/manual/Makefile.am:
11921 Gah, declare vars *before* using them
11923 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
11925 * gst/gst.c: (init_pre), (scan_and_update_registry),
11926 (ensure_current_registry_nonforking),
11927 (ensure_current_registry_forking), (ensure_current_registry),
11928 (init_post), (gst_debug_help), (gst_deinit):
11929 * gst/gst_private.h:
11930 * gst/gstregistry.c: (gst_registry_finalize),
11931 (gst_registry_remove_features_for_plugin_unlocked),
11932 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
11933 (gst_registry_scan_path),
11934 (_priv_gst_registry_remove_cache_plugins),
11935 (_priv_gst_registry_cleanup):
11936 * gst/gstregistry.h:
11937 Re-commit the registry changes, along with an extra fix:
11938 When a cached plugin is encountered at a different file path,
11939 update the stored path in the registry cache so that the parent
11940 process knows where it actually is now when it re-reads the registry
11941 cache. Fixes the thing that broke distcheck with the previous commit.
11943 * tests/check/Makefile.am:
11944 Clean up files named 'core' too when running make clean.
11946 * tests/examples/manual/Makefile.am:
11947 Set up a registry path for running these tests, and clean it properly
11948 for distcheck.
11950 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
11952 * configure.ac:
11953 Don't pull in gmodule-2.0.pc as a dependency in our .pc files - we
11954 want gmodule-no-export-2.0.pc instead so that we don't drag in
11955 --export-dynamic on every project that links to GStreamer.
11957 Also, make our export regex only match the start of symbols, rather
11958 than any symbol that contains '_gst' somewhere.
11960 * libs/gst/check/Makefile.am:
11961 The libgstcheck we build does however need export-dynamic, as it
11962 produces some symbols that don't match our _gst... style regex.
11963 Fixes: #318031
11965 2006-09-27 Jan Schmidt <thaytan@mad.scientist.com>
11967 * gst/gst.c: (init_pre), (scan_and_update_registry),
11968 (ensure_current_registry_nonforking),
11969 (ensure_current_registry_forking), (ensure_current_registry),
11970 (init_post), (gst_debug_help), (gst_deinit):
11971 * gst/gst_private.h:
11972 * gst/gstregistry.c: (gst_registry_finalize),
11973 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
11974 (gst_registry_scan_path), (_gst_registry_remove_cache_plugins),
11975 (_gst_registry_cleanup):
11976 * gst/gstregistry.h:
11977 Revert previous change until I figure out why it breaks distcheck.
11979 2006-09-27 Jan Schmidt <thaytan@mad.scientist.com>
11981 * gst/gst.c: (init_pre), (scan_and_update_registry),
11982 (ensure_current_registry_nonforking),
11983 (ensure_current_registry_forking), (ensure_current_registry),
11984 (init_post), (gst_debug_help), (gst_deinit):
11986 Make init_pre and init_post take the full complement of GOptionFunc
11987 args so they can return useful GErrors. Make the registry updating
11988 functions do so.
11990 Call _priv_gst_registry_remove_cache_plugins after scanning files to
11991 ensure that the registry we're about to write out doesn't contain
11992 stale information about old-deleted plugin files.
11994 Make _priv_gst_registry_remove_cache_plugins return a boolean so
11995 that deletion of plugin files is considered a registry change.
11997 * gst/gst_private.h:
11998 * gst/gstregistry.c: (gst_registry_finalize),
11999 (gst_registry_remove_features_for_plugin_unlocked),
12000 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
12001 (gst_registry_scan_path),
12002 (_priv_gst_registry_remove_cache_plugins),
12003 (_priv_gst_registry_cleanup):
12004 * gst/gstregistry.h:
12005 Rename _gst_registry_remove_cache_plugins and _gst_registry_cleanup
12006 by adding _priv prefix, so that they won't appear in the global
12007 symbol table. They still do atm though because of #318031. Move the
12008 prototypes to gst_private.h
12010 When removing a plugin, remove all features for that plugin too.
12011 Fixes #340878.
12013 2006-09-27 Wim Taymans <wim@fluendo.com>
12015 * docs/random/moving-plugins:
12016 Make it clear that the "compiled-in descriptions" really mean
12017 the element details.
12019 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
12020 (gst_base_sink_wait_preroll):
12021 Update docs.
12023 * docs/libs/gstreamer-libs-sections.txt:
12024 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
12025 (gst_base_src_get_range), (gst_base_src_activate_push):
12026 * libs/gst/base/gstbasesrc.h:
12027 Added function to block while waiting for PLAYING, this function
12028 is used by live sources that block on the clock.
12029 API: gst_base_src_wait_playing()
12031 2006-09-27 Tim-Philipp Müller <tim at centricular dot net>
12033 Patch by: Peter Kjellerstedt <pkj at axis com>
12035 * Makefile.am:
12036 gst-element-check.m4 is generated and should therefore be
12037 copied from the build dir rather than the source dir (#357593).
12038 'make distcheck' hasn't noticed this because we were disting
12039 the file as well, so stop doing that.
12041 2006-09-27 Tim-Philipp Müller <tim at centricular dot net>
12043 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
12044 Add some tests for gst_caps_intersect().
12046 * tools/gst-launch.c: (event_loop):
12047 Print all buffering percentages we get, even the 100% one.
12049 2006-09-26 Wim Taymans <wim@fluendo.com>
12051 * tools/gst-inspect.c: (print_element_properties_info),
12052 (print_signal_info):
12053 Fix printing of flags to match the look of enums.
12055 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
12057 * gst/gstelementfactory.c:
12058 Fix typo in docs blurb.
12060 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
12062 * gst/gsturi.c: (search_by_entry):
12063 Don't assert/crash here if a uri handler doesn't return any
12064 supported protocols. The list of protocols could be generated
12065 dynamically at runtime or at plugin registration, and an error
12066 in the underlying library shouldn't be fatal (#353301).
12068 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
12070 * gst/gstinfo.c:
12071 Fix warning if HAVE_PRINTF_EXTENSION is undefined
12072 (spotted by Peter Kjellerstedt).
12074 2006-09-23 Wim Taymans <wim@fluendo.com>
12076 Based on patch by: Antoine Tremblay <hexa00 at gmail dot com>
12078 * libs/gst/base/gstbasesrc.c:
12079 (gst_base_src_default_check_get_range), (gst_base_src_start),
12080 (gst_base_src_activate_push), (gst_base_src_activate_pull),
12081 (gst_base_src_change_state):
12082 Match _start/_stop calls in the activate functions. Remove redundant
12083 _stop call from the state change function. Fixes #356910.
12084 Turn failure DEBUG into ERROR.
12086 2006-09-22 Wim Taymans <wim@fluendo.com>
12088 * docs/design/part-buffering.txt:
12089 * gst/gstmessage.c: (gst_message_new_buffering),
12090 (gst_message_parse_buffering):
12091 Update docs about buffering.
12093 * docs/design/part-trickmodes.txt:
12094 Fix typo.
12096 2006-09-22 Stefan Kost <ensonic@users.sf.net>
12098 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
12099 (gst_controller_new_list):
12100 Ref instances when returning them again (fixes #357180)
12102 2006-09-22 Tim-Philipp Müller <tim at centricular dot net>
12104 * gst/gstghostpad.c: (gst_ghost_pad_set_target):
12105 Don't forget to release proxy lock when there's an error.
12107 2006-09-20 Jan Schmidt <thaytan@mad.scientist.com>
12109 * gst/gstcaps.h:
12110 Add extra initialisers for Caps things, to fix some plugin warnings
12111 when using -Wextra
12113 2006-09-18 Wim Taymans <wim@fluendo.com>
12115 * gst/gstghostpad.c: (gst_ghost_pad_new_full):
12116 Also set template on the internal pad so that a getcaps from the
12117 target pad returns the template caps.
12119 2006-09-18 Wim Taymans <wim@fluendo.com>
12121 * gst/gstelement.c: (gst_element_post_message),
12122 (gst_element_dispose):
12123 Use _DEBUG_OBJECT some more.
12125 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
12126 Avoid typechecks.
12128 * tools/gst-launch.c: (main):
12129 If the toplevel element is not a GstPipeline, it must be put in a
12130 pipeline so that a bus and clock is selected.
12132 2006-09-17 Tim-Philipp Müller <tim at centricular dot net>
12134 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
12135 JITTER, RATE, and LATENCY query should be handled by the
12136 default case and not by the CONVERT query code.
12138 2006-09-17 Tim-Philipp Müller <tim at centricular dot net>
12140 * gst/gstformat.c: (gst_format_register):
12141 Fix locking order (must take lock before using n_values).
12143 * gst/gstvalue.c: (gst_value_serialize_enum),
12144 (gst_value_deserialize_enum_iter_cmp),
12145 (gst_value_deserialize_enum):
12146 Fix serialisation/deserialisation of custom registered GstFormats.
12148 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
12149 Unit test for custom format serialisation/deserialisation.
12151 2006-09-17 Stefan Kost <ensonic@users.sf.net>
12153 * docs/pwg/building-boiler.xml:
12154 * plugins/elements/gstcapsfilter.c:
12155 More G_OBJECT macro fixing. Also Fix some details on the plugin-stamp
12156 section.
12158 2006-09-16 Edward Hervey <edward@fluendo.com>
12160 * libs/gst/base/gstbasetransform.c:
12161 (gst_base_transform_buffer_alloc):
12162 Check if requested caps are the same as the sinks caps IF
12163 ->have_same_caps is TRUE. If they are not, act as if have_same_caps
12164 is FALSE.
12165 This fixes the renegotiation issues stated in #352827.
12167 2006-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
12169 * configure.ac:
12170 * docs/manual/advanced-autoplugging.xml:
12171 * tests/examples/Makefile.am:
12172 * tests/examples/manual/.cvsignore:
12173 * tests/examples/manual/Makefile.am:
12174 * tests/examples/manual/extract.pl:
12175 Extract the manual examples again like we used to do.
12176 Fix one of them.
12178 2006-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
12180 * win32/common/config.h:
12181 update for version
12183 2006-09-16 Stefan Kost <ensonic@users.sf.net>
12185 * gst/gsterror.c:
12186 Documents how to receive errors.
12188 2006-09-15 Wim Taymans <wim@fluendo.com>
12190 * tools/gst-launch.c: (sigint_handler_sighandler), (check_intr),
12191 (event_loop), (main):
12192 Added some comments here and there.
12193 Post an application message when an interrupt is caught instead of doing
12194 an uncontrolled state change.
12195 Clean up the event loop.
12196 Handle buffering messages, pause/resume the pipeline.
12197 Make shutdown because of an interrupt more reliable.
12199 2006-09-15 Wim Taymans <wim@fluendo.com>
12201 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
12202 (gst_base_sink_wait_preroll), (gst_base_sink_do_sync),
12203 (gst_base_sink_preroll_object):
12204 Make sure that our internal state is correct when we commit our state
12205 asynchronously. This solves a race where a state change to PLAYING
12206 could cause the sink to remain blocked in preroll in some situations.
12208 2006-09-15 Wim Taymans <wim@fluendo.com>
12210 * tools/gst-inspect.c: (print_element_properties_info),
12211 (print_signal_info):
12212 List flags as hex so it's easier to deal with.
12214 2006-09-15 Wim Taymans <wim@fluendo.com>
12216 * docs/libs/gstreamer-libs-sections.txt:
12217 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_preroll),
12218 (gst_base_sink_do_sync):
12219 * libs/gst/base/gstbasesink.h:
12220 Expose logic to wait for preroll so that subclasses such as audiosink
12221 can also use this method.
12222 API: gst_base_sink_wait_preroll()
12224 2006-09-15 Wim Taymans <wim@fluendo.com>
12226 * gst/gstobject.c: (gst_object_set_parent):
12227 * gst/gstpipeline.c: (do_pipeline_seek):
12228 Small cleanups in docs and code.
12230 * gst/gstsegment.c: (gst_segment_clip):
12231 * tests/check/gst/gstsegment.c: (GST_START_TEST):
12232 if stop == start and start is in the segment, no clipping should be
12233 done. Also add a test for this.
12235 2006-09-15 Wim Taymans <wim@fluendo.com>
12237 * docs/design/part-buffering.txt:
12238 * docs/gst/gstreamer-sections.txt:
12239 * gst/gstmessage.c: (gst_message_new_buffering),
12240 (gst_message_parse_buffering):
12241 * gst/gstmessage.h:
12242 Added methods to create and parse BUFFERING messages.
12243 Added preliminary docs about buffering.
12244 API: gst_message_new_buffering
12245 API: gst_message_parse_buffering
12247 2006-09-06 Wim Taymans <wim@fluendo.com>
12249 * gst/gstbin.c:
12250 Update documentation.
12252 * gst/gstelement.c: (gst_element_class_init),
12253 (gst_element_release_request_pad), (gst_element_set_clock),
12254 (gst_element_get_index), (gst_element_add_pad),
12255 (gst_element_remove_pad), (gst_element_get_random_pad),
12256 (gst_element_send_event), (gst_element_get_query_types),
12257 (gst_element_query), (gst_element_post_message),
12258 (gst_element_message_full), (gst_element_continue_state),
12259 (gst_element_lost_state), (gst_element_save_thyself),
12260 (gst_element_restore_thyself):
12261 Documentation updates.
12262 Rename last bit of the new-pad -> pad-added signal rename.
12263 Fix the case where an element query would only work if the source
12264 pad was linked.
12265 Avoid some useless type checking in message handling.
12267 * gst/gstevent.c:
12268 * gst/gstevent.h:
12269 * gst/gstutils.c:
12270 Documentation updates.
12272 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
12274 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
12275 add an INFO line for when we actually update the fd
12277 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
12279 * configure.ac:
12280 back to TRUNK
12282 === release 0.10.10 ===
12284 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
12286 * configure.ac:
12287 releasing 0.10.10, "Pais"
12289 2006-09-05 Tim-Philipp Müller <tim at centricular dot net>
12291 * docs/manual/advanced-position.xml:
12292 Fix typo in sample code.
12294 2006-09-05 Wim Taymans <wim@fluendo.com>
12296 * libs/gst/net/gstnetclientclock.c: (inet_aton),
12297 (gst_net_client_clock_init), (gst_net_client_clock_finalize),
12298 (gst_net_client_clock_do_select), (gst_net_client_clock_new):
12299 * libs/gst/net/gstnetclientclock.h:
12300 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
12301 * libs/gst/net/gstnettimepacket.h:
12302 * libs/gst/net/gstnettimeprovider.c: (inet_aton),
12303 (gst_net_time_provider_init), (gst_net_time_provider_finalize),
12304 (gst_net_time_provider_thread), (gst_net_time_provider_new):
12305 * libs/gst/net/gstnettimeprovider.h:
12306 Make stuff compile on windows. Fixes #345295.
12308 2006-09-03 Tim-Philipp Müller <tim at centricular dot net>
12310 * gst/gst.c: (ensure_current_registry_forking):
12311 Print better details when child was terminated by signal.
12313 2006-09-03 Tim-Philipp Müller <tim at centricular dot net>
12315 * gst/gstregistryxml.c: (gst_registry_xml_save_feature):
12316 Print a warning rather than g_assert() if a plugin feature
12317 is a URI handler but returns no protocols (#353976).
12319 2006-09-02 Stefan Kost <ensonic@users.sf.net>
12321 * docs/random/moving-plugins:
12322 Fix two typos.
12324 2006-09-01 Tim-Philipp Müller <tim at centricular dot net>
12326 * gst/gstinfo.c: (_gst_debug_nameof_funcptr):
12327 Fix locking order, handle NULL function values properly.
12329 * gst/gstinfo.h:
12330 Fix docs.
12332 * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
12333 Initialise variable before using it and fix debug statement to
12334 print the address of the function rather than the address of the
12335 variable on the stack holding the address of the function.
12337 2006-09-01 Wim Taymans <wim@fluendo.com>
12339 * gst/gstghostpad.c: (gst_proxy_pad_do_event),
12340 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_chain),
12341 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
12342 (gst_proxy_pad_set_target_unlocked), (gst_ghost_pad_parent_set),
12343 (gst_ghost_pad_parent_unset),
12344 (gst_ghost_pad_internal_do_activate_push),
12345 (gst_ghost_pad_internal_do_activate_pull),
12346 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
12347 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
12348 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
12349 (gst_ghost_pad_new_full), (gst_ghost_pad_new_no_target),
12350 (gst_ghost_pad_new), (gst_ghost_pad_new_from_template),
12351 (gst_ghost_pad_new_no_target_from_template),
12352 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
12353 More cleanups.
12354 Avoid needless typechecking in macros.
12355 Since the internal pad is always present and never changes, there is
12356 no need to locking or ref when retrieving it.
12357 Improve debugging a bit.
12358 Handle link errors when setting the target. Fixes #341029.
12360 2006-09-01 Wim Taymans <wim@fluendo.com>
12362 * docs/libs/gstreamer-libs-sections.txt:
12363 * docs/plugins/gstreamer-plugins-sections.txt:
12364 Fix docs some more.
12366 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
12367 (gst_collect_pads_event):
12368 * libs/gst/base/gstcollectpads.h:
12369 Documentation updates.
12370 Free queued buffer when removing a pad.
12372 2006-08-31 Michael Smith <msmith@fluendo.com>
12374 * gst/gstutils.c: (gst_element_link_pads),
12375 (gst_element_link_pads_filtered):
12376 Ensure that we set a capsfilter to NULL if we failed to link it
12377 when doing filtered linking, to avoid criticals.
12379 No need to check for unreffing srcpad, which is explicly NULLed
12380 above (a trivial code cleanup).
12382 2006-08-31 Wim Taymans <wim@fluendo.com>
12384 * docs/design/part-gstghostpad.txt:
12385 Update ascii art in documentation.
12387 * gst/gstghostpad.c: (gst_proxy_pad_do_internal_link),
12388 (gst_proxy_pad_set_target_unlocked), (gst_proxy_pad_init),
12389 (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
12390 (gst_ghost_pad_internal_do_activate_push),
12391 (gst_ghost_pad_internal_do_activate_pull),
12392 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
12393 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
12394 (gst_ghost_pad_dispose), (gst_ghost_pad_new_full),
12395 (gst_ghost_pad_set_target):
12396 Small cleanups and leak fixes.
12397 Remove some checks now that the internal pad is never NULL.
12398 Fix the case where linking pads without a target would create nasty
12399 criticals. Fixes #341029.
12400 Don't assign a GstPadLinkReturn to a gboolean and mess up the return
12401 value of _set_target().
12403 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
12404 (gst_ghost_pad_suite):
12405 Some more tests for creating and linking untargeted ghostpads.
12407 2006-08-31 Edward Hervey <edward@fluendo.com>
12409 * docs/gst/gstreamer-sections.txt:
12410 * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps),
12411 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
12412 (gst_proxy_pad_dispose), (gst_ghost_pad_new_full),
12413 (gst_ghost_pad_new_no_target), (gst_ghost_pad_new),
12414 (gst_ghost_pad_new_from_template),
12415 (gst_ghost_pad_new_no_target_from_template):
12416 * gst/gstghostpad.h:
12417 Refactored *_new() functions.
12418 Templates are now used as a g_object_new() parameter.
12419 Use template in _do_getcaps() if we don't have a target.
12420 Small documentation cleanups.
12421 Added two new constructors:
12422 gst_ghost_pad_new_from_template()
12423 gst_ghost_pad_new_no_target_from_template()
12424 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
12425 (gst_ghost_pad_suite):
12426 Added tests for new ghostpad instanciation functions.
12428 API additions: gst_ghost_pad_new_from_template,
12429 gst_ghost_pad_new_no_target_from_template
12431 2006-08-30 Stefan Kost <ensonic@users.sf.net>
12433 * docs/random/ensonic/profiling.txt:
12434 Ideas about qos profiling.
12436 2006-08-29 Wim Taymans <wim@fluendo.com>
12438 * gst/gstcaps.c: (gst_caps_structure_is_subset_field):
12439 Code cleanups.
12440 Fix memleak.
12442 2006-08-29 Tim-Philipp Müller <tim at centricular dot net>
12444 * gst/gstxml.c:
12445 Improve and detypofy docs.
12447 * tests/check/Makefile.am:
12448 * tests/check/gst/.cvsignore:
12449 * tests/check/gst/gstxml.c: (GST_START_TEST), (gst_xml_suite):
12450 Add a basic test suite for GstXML.
12452 2006-08-29 Wim Taymans <wim@fluendo.com>
12454 * gst/gstelement.c: (activate_pads), (clear_caps),
12455 (iterator_activate_fold_with_resync), (gst_element_pads_activate):
12456 Clear the pad caps when the element shut down all of the pads and
12457 is not streaming data that could modify the caps.
12458 Fixes #352958.
12460 2006-08-28 Michael Smith <msmith@fluendo.com>
12462 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
12463 Revert previous change; I misunderstood single-segment mode.
12465 2006-08-28 Michael Smith <msmith@fluendo.com>
12467 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
12468 Unset DISCONT on buffers when using single-segment mode.
12470 2006-08-28 Wim Taymans <wim@fluendo.com>
12472 * gst/gstcaps.c: (gst_caps_merge_structure):
12473 * gst/gstcaps.h:
12474 Fix docs and indentation again.
12476 * tests/check/gst/gstquery.c: (GST_START_TEST):
12477 Fix leak in tests and add some more tests.
12479 2006-08-28 Edward Hervey <edward@fluendo.com>
12481 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
12482 Inform GstSegment of the last stop position in order for the current
12483 segment to have a proper duration if it doesn't have a specific stop
12484 position from which a duration could be calculated.
12485 This bug was noticeable when a non-flushing, non-update new segment was
12486 followed by another segment (all buffers from the new segment were being
12487 dropped).
12489 2006-08-28 Wim Taymans <wim@fluendo.com>
12491 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
12492 Small comment update.
12494 * plugins/elements/gstidentity.c: (gst_identity_class_init),
12495 (gst_identity_transform_ip):
12496 Drop-probability is broken, mention this in the code with a
12497 FIXME and also in the property description.
12498 Make silent also be silent about the drop messages.
12500 2006-08-28 Tim-Philipp Müller <tim at centricular dot net>
12502 * docs/manual/appendix-win32.xml:
12503 Remove mention of popt, we don't depend on that any
12504 longer (#353136). Add some comments pointing out that
12505 this section is slightly outdated.
12507 2006-08-28 Wim Taymans <wim@fluendo.com>
12509 Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
12511 * gst/gstquery.c: (gst_query_new_segment):
12512 * tests/check/gst/gstquery.c: (GST_START_TEST):
12513 Initialize variables when creating a new segment query.
12514 Fixes #353121.
12516 2006-08-28 Wim Taymans <wim@fluendo.com>
12518 Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
12520 * gst/gstelement.c: (gst_element_get_bus):
12521 * tests/check/gst/gstelement.c: (GST_START_TEST):
12522 Check for NULL before _reffing the bus. Fixes #353122.
12524 2006-08-25 Tim-Philipp Müller <tim at centricular dot net>
12526 * docs/manual/basics-bus.xml:
12527 Docs update: fix wrong callback return value explanation; add
12528 some lines about the implicit relationship between main loop
12529 and main context; remove duplicate main loop variable declaration.
12531 2006-08-24 Tim-Philipp Müller <tim at centricular dot net>
12533 * tests/check/gst/gstcaps.c: (GST_START_TEST):
12534 Don't leak caps in unit test; add a few more simple
12535 checks.
12537 2006-08-24 Stefan Kost <ensonic@users.sf.net>
12539 * docs/gst/gstreamer-sections.txt:
12540 * gst/gstcaps.c: (gst_caps_structure_is_subset_field),
12541 (gst_caps_structure_is_subset), (gst_caps_merge),
12542 (gst_caps_merge_structure):
12543 * gst/gstcaps.h:
12544 * libs/gst/base/gstbasetransform.c:
12545 (gst_base_transform_transform_caps):
12546 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
12547 implement caps merging (fixes #352580)
12549 2006-08-23 Stefan Kost <ensonic@users.sf.net>
12551 * tools/Makefile.am:
12552 * tools/gst-plot-timeline.py:
12553 add debug-log plotting developer tool (#340674)
12555 2006-08-23 Wim Taymans <wim@fluendo.com>
12557 * gst/gstpad.c: (gst_pad_start_task), (gst_pad_pause_task),
12558 (gst_pad_stop_task):
12559 Improve debugging for task functions.
12561 * gst/gsttask.c: (gst_task_func), (gst_task_set_lock),
12562 (gst_task_start), (gst_task_pause), (gst_task_join):
12563 Make sure that the task function started and finished after a
12564 join().
12565 Don't try to push the task function on the threadpool multiple
12566 times.
12567 Improve the g_warning message with some useful suggestions
12568 about how to fix the problem.
12570 2006-08-23 Wim Taymans <wim@fluendo.com>
12572 * gst/gstutils.c: (gst_pad_proxy_getcaps):
12573 Handle RESYNC correctly in _proxy_getcaps.
12575 2006-08-21 Tim-Philipp Müller <tim at centricular dot net>
12577 * gst/gstxml.c: (gst_xml_dispose), (gst_xml_parse_file),
12578 (gst_xml_parse_memory), (gst_xml_get_element):
12579 Chain up to parent class in dispose function and also
12580 unref the elements in the toplevel_elements GList.
12581 Don't leak XmlDocPtr in _parse_file() and _parse_memory().
12582 Always return a reference in gst_xml_get_element() rather
12583 than only sometimes.
12585 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
12586 Don't leak GstXml object.
12588 2006-08-21 Stefan Kost <ensonic@users.sf.net>
12590 * docs/gst/gstreamer-sections.txt:
12591 * gst/gstcaps.c: (gst_structure_is_equal_foreach),
12592 (gst_caps_merge):
12593 * gst/gstcaps.h:
12594 * libs/gst/base/gstbasetransform.c:
12595 (gst_base_transform_transform_caps):
12596 API: Add gst_caps_merge() and use it in basetransform, fixes #345444
12597 in a better way
12599 2006-08-21 Edward Hervey <edward@fluendo.com>
12601 * gst/gstxml.c: (gst_xml_class_init), (gst_xml_dispose):
12602 Implement GObject::dispose virtual method in GstXML so we can free the
12603 top_elements GList.
12605 2006-08-21 Wim Taymans <wim@fluendo.com>
12607 * gst/gstbuffer.c: (gst_buffer_make_metadata_writable),
12608 (gst_buffer_create_sub):
12609 Copy duration/offset_end/caps when creating a subbuffer of the
12610 complete parent.
12611 Make the subbuffer read-only when we make the metadata writable for
12612 now. Fixes #351768.
12614 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
12615 Added check for metadata copy when creating subbuffers.
12617 2006-08-21 Edward Hervey <edward@fluendo.com>
12619 * libs/gst/base/gstbasetransform.c:
12620 (gst_base_transform_buffer_alloc):
12621 Only call downstream buffer_alloc if transform element is passthrough
12622 or always_in_place. Closes #350449.
12624 2006-08-20 Stefan Kost <ensonic@users.sf.net>
12626 * ChangeLog:
12627 ChangeLog surgery to add comments to previous changes
12629 2006-08-20 Stefan Kost <ensonic@users.sf.net>
12631 * gst/gst.c:
12632 Add comments
12634 * gst/gstpad.c: (gst_pad_set_active):
12635 Be more verbose in the log
12637 * libs/gst/base/gstbasetransform.c:
12638 (gst_base_transform_transform_caps):
12639 Simplify caps to get rid of duplicates, fixes #345444
12641 2006-08-20 Stefan Kost <ensonic@users.sf.net>
12643 * gst/gstvalue.c:
12644 * gst/gstvalue.h:
12645 Use these optimizations only internally.
12647 2006-08-20 Stefan Kost <ensonic@users.sf.net>
12649 * gst/gstvalue.c: (gst_value_compare_list),
12650 (gst_value_compare_fraction_range),
12651 (gst_value_intersect_fraction_fraction_range),
12652 (gst_value_intersect_fraction_range_fraction_range),
12653 (gst_value_subtract_fraction_fraction_range),
12654 (gst_value_subtract_fraction_range_fraction_range),
12655 (gst_value_get_compare_func), (gst_value_compare),
12656 (gst_value_compare_with_func):
12657 * gst/gstvalue.h:
12658 Saves the expensive lookup of the compare function in many cases
12659 (#345444)
12661 2006-08-18 Edward Hervey <edward@fluendo.com>
12663 * tests/check/gst/gstinfo.c: (gst_info_suite):
12664 Disable test that require gstdebug if it wasn't built in core.
12666 2006-08-18 Stefan Kost <ensonic@users.sf.net>
12668 * docs/random/ensonic/logging.txt:
12669 update ideas
12671 * gst/gstinfo.c: (gst_debug_log_default):
12672 reorder fields, save some columns, add optional color codes for log
12673 levels
12675 2006-08-18 Stefan Kost <ensonic@users.sf.net>
12677 * docs/random/ensonic/logging.txt:
12678 add ideas about making the logs a bit more useful
12680 2006-08-17 Tim-Philipp Müller <tim at centricular dot net>
12682 * docs/pwg/advanced-events.xml:
12683 * docs/pwg/titlepage.xml:
12684 Update for 0.10 API (#340627). Add myself
12685 to authors list.
12687 2006-08-17 Tim-Philipp Müller <tim at centricular dot net>
12689 * docs/libs/gstreamer-libs-docs.sgml:
12690 * docs/libs/gstreamer-libs-sections.txt:
12691 * libs/gst/check/gstbufferstraw.c:
12692 Make gstcheck stuff show up in docs (still needs to
12693 be documented properly though).
12695 2006-08-16 Jan Schmidt <thaytan@mad.scientist.com>
12697 * docs/gst/gstreamer-sections.txt:
12698 * gst/Makefile.am:
12699 * gst/gst.c: (init_post):
12700 * gst/gst_private.h:
12701 * gst/gstquark.c: (_priv_gst_quarks_initialize):
12702 * gst/gstquark.h:
12703 * gst/gstquery.c: (gst_query_new_position),
12704 (gst_query_set_position), (gst_query_parse_position),
12705 (gst_query_new_duration), (gst_query_set_duration),
12706 (gst_query_parse_duration), (gst_query_new_convert),
12707 (gst_query_set_convert), (gst_query_parse_convert),
12708 (gst_query_new_segment), (gst_query_set_segment),
12709 (gst_query_parse_segment), (gst_query_new_seeking),
12710 (gst_query_set_seeking), (gst_query_parse_seeking):
12711 Add internal helpers for pre-registering quarks from static strings
12712 and using the quark values directly instead of looking them up when
12713 creating and parsing queries. Can be used for event construction too.
12714 Closes #350432.
12716 2006-08-16 Wim Taymans <wim@fluendo.com>
12718 * gst/gstbin.c:
12719 Fix bogus docs.
12721 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
12723 * gst/gstutils.c: (gst_util_set_value_from_string):
12724 Fix memleak (#351502).
12726 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
12727 Add unit test for most of gst_util_set_value_from_string()
12728 (not that one would want to encourage use of this function).
12730 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
12732 * libs/gst/check/gstcheck.h:
12733 Use const gchar * variables in fail_unless_equals_string
12734 macro to avoid compiler warnings (and don't use tabs for
12735 indenting).
12737 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
12739 * tools/gst-launch.c: (print_tag):
12740 More space on the left for the tag names, to cater
12741 for the 'extended comment' tag (not touching the
12742 string for the first line since it's translated).
12744 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
12746 * libs/gst/check/gstcheck.h:
12747 Fix ASSERT_CRITICAL and ASSERT_WARNING macros to actually
12748 print something when they fail.
12750 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
12752 * docs/gst/gstreamer-sections.txt:
12753 * gst/gsttaglist.c: (_gst_tag_initialize):
12754 * gst/gsttaglist.h:
12755 API: add GST_TAG_EXTENDED_COMMENT (#350935).
12756 Also change merge function for GST_TAG_COMMENT to
12757 use_first.
12759 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
12761 * gst/gstinfo.c: (gst_debug_print_object):
12762 Make GST_PTR_FORMAT print messages as well.
12764 * tests/check/gst/gstinfo.c: (printf_extension_log_func),
12765 (GST_START_TEST), (gst_info_suite):
12766 More tests.
12768 2006-08-14 Edward Hervey <edward@fluendo.com>
12770 * gst/gstelementfactory.c: (gst_element_register):
12771 If the GstElementClass doesn't have a GstElementDetails with all fields
12772 filled up correctly (longname, description AND author), then error out
12773 nicely instead of crashing.
12775 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
12777 * gst/gststructure.c:
12778 Fix typo in docs and re-wrap docs blurb to not exceed 80 chars/line.
12780 * gst/gstvalue.h:
12781 Expand on the difference between arrays and lists as we use them.
12783 2006-08-14 Wim Taymans <wim@fluendo.com>
12785 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
12786 If the parent state change function failed, don't assume we can safely
12787 stop the source, this will be done when the pads are deactivated.
12789 2006-08-14 Wim Taymans <wim@fluendo.com>
12791 * gst/gstbuffer.c:
12792 * gst/gsttask.c: (gst_task_join):
12793 Small doc updates.
12795 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
12796 (gst_pad_stop_task):
12797 When pad (de)activation failed for some reason, restore the old
12798 activation mode and set the pad to flushing instead of assuming the
12799 pad is deactivated.
12800 If the _task_join() failed, reinstall the task on the pad so that it can
12801 be stopped later and return an error.
12803 2006-08-11 Andy Wingo <wingo@pobox.com>
12805 * configure.ac:
12806 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
12807 * tests/check/libs/gdp.c: (gst_dp_suite): GST_DISABLE_DEPRECATED
12808 is only for users of API that don't want to see deprecated
12809 functions in the headers; people that want to compile out
12810 deprecated code should pass -DGST_REMOVE_DEPRECATED into the
12811 CFLAGS. Fixes the build of multifdsink, or will soon..
12813 2006-08-11 Wim Taymans <wim@fluendo.com>
12815 * docs/gst/gstreamer-sections.txt:
12816 Add GstClockClass vmethod docs.
12818 * gst/gstcaps.h:
12819 Mark #endif with comment for associated #if
12821 * gst/gstclock.c: (gst_clock_id_wait):
12822 * gst/gstclock.h:
12823 Add vmethod wait_jitter to avoid an unneeded _get_time() for
12824 most clock implementations.
12825 Document vmethods.
12826 Flesh out docs about resolution methods.
12827 API: GstClockClass::wait_jitter
12829 * gst/gstsystemclock.c: (gst_system_clock_class_init),
12830 (gst_system_clock_async_thread),
12831 (gst_system_clock_id_wait_jitter_unlocked),
12832 (gst_system_clock_id_wait_jitter):
12833 Use base class wait_jitter variant for improved performance
12834 due to less clock polling.
12836 2006-08-11 Edward Hervey <edward@fluendo.com>
12838 * gst/gst.c: (gst_init_check), (init_post):
12839 Set gst as being initialized before scanning/updating the registry,
12840 since there might be my python plugin loader that calls gst_init() and
12841 we don't want to loop back in.
12842 Closes #350879
12844 2006-08-11 Wim Taymans <wim@fluendo.com>
12846 * docs/design/part-qos.txt:
12847 Bring docs in line with the code. Mostly the sign of the jitter was
12848 wrong in the docs. Fixes #349943.
12850 * gst/gstclock.c:
12851 Fix the docs for the jitter.
12853 * gst/gstevent.c: (gst_event_new_custom), (gst_event_new_tag),
12854 (gst_event_parse_tag), (gst_event_new_buffer_size),
12855 (gst_event_parse_buffer_size), (gst_event_parse_qos),
12856 (gst_event_new_seek), (gst_event_parse_seek),
12857 (gst_event_new_navigation):
12858 Make sure the GstStructure has no parent when creating custom
12859 events.
12860 Add some more argument checking so that we avoid 0.0 rates.
12861 Flesh out the docs for the QoS event some more.
12863 2006-08-11 Wim Taymans <wim@fluendo.com>
12865 * docs/gst/gstreamer-sections.txt:
12866 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
12867 (ensure_current_registry_forking), (ensure_current_registry),
12868 (parse_one_option), (parse_goption_arg), (gst_deinit),
12869 (gst_registry_fork_is_enabled), (gst_registry_fork_set_enabled):
12870 * gst/gst.h:
12871 Doc updates.
12872 Added API and command line option to disable registry forking in
12873 addition to the environment variable.
12874 Constify some static arrays.
12875 Added some more debug.
12876 Don't deinit twice.
12877 API: gst_registry_fork_is_enabled()
12878 API: gst_registry_fork_set_enabled()
12879 API: --gst-disable-registry-fork command line option
12880 Fixes #348918.
12882 2006-08-11 Tim-Philipp Müller <tim at centricular dot net>
12884 * gst/gst.c: (gst_init):
12885 Fix typo in error message.
12887 2006-08-10 Stefan Kost <ensonic@users.sf.net>
12889 * libs/gst/controller/gstcontroller.h:
12890 fix ABI size-correction
12892 * tests/check/libs/gdp.c: (gst_dp_suite):
12893 make tests that use deprecated API conditional
12895 2006-08-10 Stefan Kost <ensonic@users.sf.net>
12897 * docs/libs/gstreamer-libs-sections.txt:
12898 * libs/gst/controller/gstcontroller.c:
12899 (_gst_controller_get_property), (_gst_controller_set_property),
12900 (_gst_controller_init), (_gst_controller_class_init):
12901 * libs/gst/controller/gstcontroller.h:
12902 * libs/gst/controller/gsthelper.c: (gst_object_get_control_rate),
12903 (gst_object_set_control_rate):
12904 API: add gst_object_{s,g}et_control_rate(), add private data section,
12905 fix docs
12907 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
12908 * libs/gst/dataprotocol/dataprotocol.h:
12909 add deprecation guards to make gtk-doc happy and allow disabling cruft
12911 2006-08-09 Tim-Philipp Müller <tim at centricular dot net>
12913 * tests/check/Makefile.am:
12914 * tests/check/gst/.cvsignore:
12915 Let's enable the new unit test as well.
12917 2006-08-08 Tim-Philipp Müller <tim at centricular dot net>
12919 * configure.ac:
12920 * docs/gst/gstreamer-sections.txt:
12921 * gst/gstconfig.h.in:
12922 * gst/gstinfo.c: (_gst_debug_init), (gst_debug_print_segment),
12923 (_gst_info_printf_extension_ptr),
12924 (_gst_info_printf_extension_segment):
12925 API: add GST_SEGMENT_FORMAT, which is a printf extension we
12926 register that lets us easily dump GstSegments into debug
12927 logs (#350419).
12929 * tests/check/gst/gstinfo.c: (segment_printf_extension_log_func),
12930 (info_segment_format_printf_extension), (gst_info_suite):
12931 Add simple unit test that logs a bunch of different segments (not
12932 valgrinded at the moment because of leaks in
12933 gst_debug_add_log_function).
12935 2006-08-09 Edward Hervey <edward@fluendo.com>
12937 * libs/gst/base/gstbasetransform.c:
12938 (gst_base_transform_buffer_alloc):
12939 Even if we can't figure out the proper format to request downstream,
12940 call buffer_alloc() downstream with the input parameters without setting
12941 the caps on the srcpad. This will force negotiation in the chain
12942 function.
12943 Closes #350449
12945 2006-08-08 Edward Hervey <edward@fluendo.com>
12947 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
12948 Unlinking from a pad without a target is now a perfectly valid case
12949 which should NOT raise an assertion.
12950 This case would happen if a linked ghostpad its target set to NULL after
12951 it was previously linked.
12953 2006-08-08 Edward Hervey <edward@fluendo.com>
12955 * tests/check/libs/gdp.c:
12956 Also comment out the test (see below).
12958 2006-08-08 Edward Hervey <edward@fluendo.com>
12960 * tests/check/libs/gdp.c: (gst_dp_suite):
12961 Use the architecture information from config.h and not gcc macros
12962 in order to properly disable a test that fails on PPC64.
12964 2006-08-04 Tim-Philipp Müller <tim at centricular dot net>
12966 * gst/gstelement.c: (gst_element_remove_pad):
12967 Don't crash printing the warning if the pad has no parent.
12969 2006-08-02 Wim Taymans <wim@fluendo.com>
12971 * libs/gst/dataprotocol/dataprotocol.c:
12972 (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
12973 (gst_dp_crc), (gst_dp_header_payload_length),
12974 (gst_dp_header_payload_type), (gst_dp_packet_from_event),
12975 (gst_dp_packet_from_event_1_0), (gst_dp_buffer_from_header),
12976 (gst_dp_caps_from_packet), (gst_dp_event_from_packet_0_2),
12977 (gst_dp_event_from_packet), (gst_dp_validate_header),
12978 (gst_dp_validate_payload):
12979 Make debug category static
12980 Constify the crc table.
12981 Do some more arg checking in public functions.
12982 Fix some docs and do some small cleanups.
12984 * tests/check/libs/gdp.c: (GST_START_TEST), (gst_dp_suite):
12985 Add some more checks to see if GDP deals with bogus input.
12987 2006-07-31 Wim Taymans <wim@fluendo.com>
12989 * gst/gstvalue.c: (gst_value_compare_list):
12990 Fix GstValueList comparison code. Fixes #347293.
12992 * tests/check/gst/gstvalue.c: (GST_START_TEST):
12993 Check to test GstValueList comparison.
12995 2006-07-31 Jan Schmidt <thaytan@mad.scientist.com>
12997 * gst/gstelementfactory.c: (gst_element_factory_create):
12998 Remove unnecessary ref/unref pair
13000 * gst/parse/grammar.y:
13001 Make sure to free the parse buffer on all code paths.
13002 Move a g_free up to the error handler where it's easier to see.
13004 * tests/check/gst/gstevent.c: (test_event):
13005 Extending timeout for downstream travelling events to 10 seconds to
13006 hopefully avoid intermittent failure on the buildbots.
13008 * tests/check/pipelines/parse-launch.c: (run_delayed_test):
13009 Don't manually set the state of the src element - it will happen as a
13010 natural consequence of the pipeline changing state, and that way it
13011 will do it in the right order too.
13013 2006-07-31 Wim Taymans <wim@fluendo.com>
13015 * libs/gst/base/gstbasetransform.c:
13016 (gst_base_transform_buffer_alloc):
13017 Use OBJECT_LOCK and refcounting to get the pad caps in the
13018 buffer_alloc function because the caps could change while we are
13019 busy with them. Fixes #349105
13021 2006-07-31 Wim Taymans <wim@fluendo.com>
13023 * gst/gstutils.c: (gst_pad_get_fixed_caps_func):
13024 Protect _PAD_CAPS with OBJECT_LOCK.
13026 2006-07-31 Wim Taymans <wim@fluendo.com>
13028 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
13029 (gst_pad_get_property), (gst_pad_activate_pull),
13030 (gst_pad_activate_push), (gst_pad_set_blocked_async),
13031 (gst_pad_set_activate_function),
13032 (gst_pad_set_activatepull_function),
13033 (gst_pad_set_activatepush_function), (gst_pad_set_chain_function),
13034 (gst_pad_set_getrange_function),
13035 (gst_pad_set_checkgetrange_function), (gst_pad_set_event_function),
13036 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
13037 (gst_pad_set_internal_link_function), (gst_pad_set_link_function),
13038 (gst_pad_set_unlink_function), (gst_pad_set_getcaps_function),
13039 (gst_pad_set_acceptcaps_function),
13040 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
13041 (gst_pad_set_bufferalloc_function), (gst_pad_link_check_hierarchy),
13042 (gst_pad_get_caps_unlocked), (gst_pad_get_caps),
13043 (gst_pad_peer_get_caps), (gst_pad_accept_caps),
13044 (gst_pad_peer_accept_caps), (gst_pad_set_caps),
13045 (gst_pad_configure_sink), (gst_pad_configure_src),
13046 (gst_pad_get_allowed_caps), (gst_pad_get_negotiated_caps),
13047 (gst_pad_buffer_alloc_unchecked), (gst_pad_alloc_buffer_full),
13048 (gst_pad_query), (gst_pad_load_and_link), (handle_pad_block),
13049 (gst_pad_chain_unchecked), (gst_pad_push), (gst_pad_get_range),
13050 (gst_pad_send_event):
13051 Use _DEBUG_OBJECT when it makes sense.
13052 Protect GST_PAD_CAPS with the OBJECT_LOCK.
13053 Small cleanups and code reflows.
13054 Avoid caps refcounting in _accept_caps.
13055 Refactor alloc_buffer so that the code performed on the peer is in a
13056 separate function. Also if the pad does not implement a buffer alloc
13057 function, we should still check if the pad is flushing before falling
13058 back to the default allocator.
13060 2006-07-31 Jan Schmidt <thaytan@mad.scientist.com>
13062 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
13063 Make all uses of identity and fakesink have silent=true to avoid
13064 serialising every passing data structure, which is breaking tests
13065 on FC4 for some unknown reason.
13067 2006-07-30 Stefan Kost <ensonic@users.sf.net>
13069 * gst/parse/Makefile.am:
13070 * gst/parse/grammar.y:
13071 * gst/parse/parse.l:
13072 Reverted previous patch as it required to bump the flex dependency to
13073 2.5.31, where fc4/5 seem to ship only the ancient 2.5.4a :(
13075 2006-07-30 Stefan Kost <ensonic@users.sf.net>
13077 Patch by: Marc-Andre Lureau <marcandre.lureau@gmail.com>
13079 * gst/parse/Makefile.am:
13080 * gst/parse/grammar.y:
13081 * gst/parse/parse.l:
13082 push & pop the state of the lexer for reentrant use case
13083 Fixes #349180
13085 2006-07-29 Tim-Philipp Müller <tim at centricular dot net>
13087 * libs/gst/base/gstbasesrc.h:
13088 Note in the docs that the ::newsegment vfunc is not actually used by
13089 GstBaseSrc.
13091 2006-07-28 Wim Taymans <wim@fluendo.com>
13093 * libs/gst/base/gstcollectpads.c:
13094 (gst_collect_pads_set_flushing_unlocked), (gst_collect_pads_pop),
13095 (gst_collect_pads_clear), (gst_collect_pads_flush),
13096 (gst_collect_pads_event), (gst_collect_pads_chain):
13097 When flushing a pad, also clear the queued buffer so that we don't
13098 accidentally use it when we shouldn't.
13099 Fix leaks by inreffing incomming buffer.
13100 Flush out queued buffers in case of errors.
13101 Fixes #347452.
13103 2006-07-28 Wim Taymans <wim@fluendo.com>
13105 * docs/random/phonon-gst:
13106 Random notes about a Phonon backend.
13108 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
13110 * libs/gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
13111 Extra debug output
13112 * tests/check/libs/gdp.c: (gst_dp_suite):
13113 Take a whack at fixing the ppc compile using a different define to
13114 disable the broken test.
13116 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
13117 Remove excess g_print()
13119 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
13121 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
13122 Oops, meant to uncomment this line too to dampen the noise a bit.
13124 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
13126 * gst/parse/grammar.y:
13127 * gst/parse/parse.l:
13128 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
13129 (GST_START_TEST), (parse_suite):
13130 Fix some of the leaks exposed by extending the parse-launch testsuite,
13131 and move the 3 I can't figure out into a separate test that won't run
13132 the pipelines unless the appropriate line is uncommented.
13134 2006-07-27 Tim-Philipp Müller <tim at centricular dot net>
13136 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
13137 Requesting 0 bytes before the end of the file should result in
13138 FLOW_OK and an empty buffer, not FLOW_UNEXPECTED. Thank you
13139 unit test.
13141 2006-07-27 Wim Taymans <wim@fluendo.com>
13143 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_get_structure):
13144 Fix useless assert, a uint is always positive.
13146 * gst/gststructure.c: (gst_structure_nth_field_name),
13147 (gst_structure_foreach), (gst_structure_map_in_place):
13148 Check input arguments for public functions to avoid obvious crashes.
13150 * plugins/elements/gstfakesink.c: (gst_fake_sink_render):
13151 * plugins/elements/gstfakesink.h:
13152 Do less useless typechecking.
13154 2006-07-27 Tim-Philipp Müller <tim at centricular dot net>
13156 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
13157 Do not use mmap() by default since there are a number of error
13158 conditions that we would like to handle in a non-fatal way that
13159 will result in a SIGBUS if we use mmap(). Examples: external
13160 devices (USB harddrive, portable music player) being unplugged
13161 while in use; file on mounted CD/DVD that can't be read because
13162 the medium is partly damaged. Fixes #348455 and #348475.
13164 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
13166 * gst/gstquery.h:
13167 Delete unused and misleading define of GST_QUERY_TYPE_RATE_DEN -
13168 rates are a gdouble
13170 2006-07-26 Stefan Kost <ensonic@users.sf.net>
13172 * gst/gstregistry.c:
13173 Move big documentation comment into class section header, so that it
13174 appears in the API docs.
13176 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
13178 * docs/gst/gstreamer-sections.txt:
13179 Oops. Commit the docs additions too for new API.
13180 Also, remove the mention of the non-existent GST_QUERY_TYPE_RATE_DEN
13182 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
13184 * gst/gststructure.c: (gst_structure_id_set),
13185 (gst_structure_id_set_valist):
13186 * gst/gststructure.h:
13187 Add API for setting values into structures without performing
13188 a quark lookup, if the appropriate quark is already known.
13190 API: gst_structure_id_set
13191 API: gst_structure_id_set_valist
13193 * gst/parse/grammar.y:
13194 * gst/parse/parse.l:
13195 Remove some dead code shown by the coverage information.
13196 Don't throw a critical g_warning when encountering a syntax error,
13197 just warn and let the normal error path handle it.
13199 * plugins/elements/gstelements.c:
13200 Bump the rank of filesink up to PRIMARY so that it is preferred over
13201 gnomevfssink for file:// sink uri's
13203 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
13204 (GST_START_TEST), (run_delayed_test),
13205 (gst_parse_test_element_base_init),
13206 (gst_parse_test_element_class_init), (gst_parse_test_element_init),
13207 (gst_parse_test_element_change_state),
13208 (gst_register_parse_element), (parse_suite):
13209 Beef up the tests for parse syntax to check that more error cases
13210 fail as they are supposed to. Increases the test coverage a bit.
13212 2006-07-26 Tim-Philipp Müller <tim at centricular dot net>
13214 * docs/manual/basics-elements.xml:
13215 Fix gst_element_link() example.
13217 * gst/gstutils.c:
13218 Mention in API docs that one should usually gst_bin_add()
13219 elements to a bin or pipeline before doing the linking.
13221 2006-07-26 Wim Taymans <wim@fluendo.com>
13223 * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_new),
13224 (gst_subbuffer_get_type), (gst_buffer_create_sub):
13225 Avoid function call for known types by keeping the buffer and
13226 subbuffer GType global.
13228 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
13229 Random silly optimisations in read() path.
13231 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
13233 * tools/gst-launch.c: (main):
13234 If the top-level of the parse is a normal bin, it doesn't do the
13235 right logic to run as a top-level element, so place it inside a
13236 pipeline.
13238 2006-07-25 Tim-Philipp Müller <tim at centricular dot net>
13240 * plugins/elements/gstfilesrc.c: (gst_file_src_set_property):
13241 Remove superfluous g_object_notify() calls, GObject does
13242 that for us automatically.
13244 2006-07-25 Stefan Kost <ensonic@users.sf.net>
13246 * gst/gstinfo.h:
13247 on Win32, use dllspec to export the debug category symbols
13249 2006-07-24 Tim-Philipp Müller <tim at centricular dot net>
13251 * gst/gsttaglist.c: (_gst_tag_initialize):
13252 Allow more than one GST_TAG_IMAGE per taglist.
13254 2006-07-24 Thomas Vander Stichele <thomas at apestaart dot org>
13256 * gst/gstminiobject.c:
13257 update docs
13258 * plugins/elements/gstfdsrc.c: (gst_fd_src_set_property),
13259 (gst_fd_src_create):
13260 log recurring events at LOG level
13261 add more debug for when the fd gets set
13263 2006-07-21 Stefan Kost <ensonic@users.sf.net>
13265 * gst/gstparse.c: (gst_parse_launch):
13266 Also remove reentrance checks if flex is MT safe (#348179)
13267 Fix my empty ChangeLog entry below
13269 2006-07-21 Andy Wingo <wingo@pobox.com>
13271 * docs/libs/gstreamer-libs-sections.txt: Attempt to pacify buildbot.
13273 * libs/gst/check/Makefile.am
13274 (libgstcheck_@GST_MAJORMINOR@include_HEADERS)
13275 (libgstcheck_@GST_MAJORMINOR@_la_SOURCES):
13276 * libs/gst/check/gstbufferstraw.h:
13277 * libs/gst/check/gstbufferstraw.c: Add some new hype testing
13278 functions, thus proving I am still a GStreamer haxor. OK I wrote
13279 them a long time ago, but anyways.
13281 2006-07-21 Stefan Kost <ensonic@users.sf.net>
13283 * configure.ac:
13284 * gst/gstparse.c: (gst_parse_launch):
13285 Check for flex version and omit mutex if we have a MT save flex
13286 (fixes #348179)
13288 2006-07-21 Wim Taymans <wim@fluendo.com>
13290 * gst/gstparse.c: (gst_parse_launch):
13291 Protect recursive calls to _parse with a recursive mutex
13292 and busy flag.
13294 2006-07-21 Wim Taymans <wim@fluendo.com>
13296 * tests/check/gst/gstpad.c: (GST_START_TEST):
13297 Fix leak in test.
13299 2006-07-20 Stefan Kost <ensonic@users.sf.net>
13301 * gst/gstparse.c: (gst_parse_launch):
13302 Do not hang on recursive usage of gst_parse_launch()
13304 2006-07-20 Tim-Philipp Müller <tim at centricular dot net>
13306 * gst/gsttaglist.c:
13307 Add some more docs, comments and FIXME 0.11s here and there
13308 and also fix some typos.
13310 2006-07-20 Tim-Philipp Müller <tim at centricular dot net>
13312 * gst/gstsegment.h:
13313 Convert tabs to spaces for better readability.
13315 2006-07-20 Edward Hervey <edward@fluendo.com>
13317 * tests/check/libs/gdp.c: (gst_dp_suite):
13318 the test_buffer test fails at line 140 on ppc64 at the following
13319 check:
13320 fail_unless (GST_BUFFER_FLAG_IS_SET (newbuffer,
13321 GST_BUFFER_FLAG_IN_CAPS),
13322 "GST_BUFFER_IN_CAPS flag should have been copied !");
13323 See bug #348114 for more details.
13325 2006-07-19 Tim-Philipp Müller <tim at centricular dot net>
13327 * docs/pwg/advanced-scheduling.xml:
13328 * gst/gstpad.c:
13329 Fix typos (#348000).
13331 2006-07-18 Tim-Philipp Müller <tim at centricular dot net>
13333 * docs/pwg/intro-basics.xml:
13334 Fix wrong links (#347927).
13336 2006-07-18 Stefan Kost <ensonic@users.sf.net>
13338 * gst/gstregistry.h:
13339 * gst/gstregistryxml.c: (load_feature),
13340 (gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
13341 * win32/common/config.h:
13342 make --disable-index work (#342564)
13344 2006-07-18 Wim Taymans <wim@fluendo.com>
13346 Patch by: Peter Kjellerstedt <pkj at axis dot com>
13348 * gst/Makefile.am:
13349 * gst/gsttrace.h:
13350 The attached patch adds two missing defines to gsttrace.h when tracing
13351 is disabled. It also corrects one existing define.
13352 Fixes #347756.
13354 2006-07-17 Wim Taymans <wim@fluendo.com>
13356 * docs/gst/gstreamer-sections.txt:
13357 * gst/gst.c: (gst_segtrap_is_enabled), (gst_segtrap_set_enabled):
13358 * gst/gst.h:
13359 * gst/gstplugin.c: (_gst_plugin_fault_handler_restore):
13360 Add two functions to check and change the SIGSEGV behaviour
13361 when loading plugins.
13362 Don't mess with the SIGSEGV handler when we were told not to.
13363 Fixes #347794.
13364 API: gst_segtrap_is_enabled
13365 API: gst_segtrap_set_enabled
13367 2006-07-14 Wim Taymans <wim@fluendo.com>
13369 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
13370 * tests/check/elements/filesrc.c: (GST_START_TEST):
13371 Revert fix for regression in #347408 after release.
13373 2006-07-14 Tim-Philipp Müller <tim at centricular dot net>
13375 Patch by: Antoine Tremblay <hexa00 at gmail com>
13377 * gst/gstutils.c: (gst_element_unlink):
13378 Free iterator when done (#347311).
13380 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
13381 And add a test case for this.
13383 2006-07-14 Jan Schmidt <thaytan@mad.scientist.com>
13385 * configure.ac:
13386 Bump nano back to CVS
13388 === release 0.10.9 ===
13390 2006-07-13 Jan Schmidt <thaytan@mad.scientist.com>
13392 * configure.ac:
13393 releasing 0.10.9, "On the road again"
13395 2006-07-13 Wim Taymans <wim@fluendo.com>
13397 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
13398 * tests/check/elements/filesrc.c: (GST_START_TEST):
13399 Revert pull-0 fix for release. Disable check. Fixes #347408.
13401 2006-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
13403 * libs/gst/dataprotocol/dataprotocol.c:
13404 (gst_dp_event_from_packet_1_0):
13405 Fixes #347337: failure to deserialize event packets with
13406 empty payload (only event type)
13408 2006-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
13410 * gst/Makefile.am:
13411 do not install a .c file in the header directory
13413 2006-07-13 Edward Hervey <edward@fluendo.com>
13415 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
13416 GhostPad no longer implicitely use the padtemplates of the targets.
13417 Fixes #347384
13419 2006-07-11 Jan Schmidt <thaytan@mad.scientist.com>
13421 * gst/gstvalue.c: (gst_value_compare_list),
13422 (gst_value_compare_array), (_gst_value_initialize):
13423 * tests/check/gst/gstvalue.c: (GST_START_TEST):
13424 Make GstValueArray comparison be order dependent as designed.
13425 Add checks for value lists and value array comparisons.
13426 Fixes #347221
13428 2006-07-11 Edward Hervey <edward@fluendo.com>
13430 * gst/gstbin.c: (activate_pads),
13431 (iterator_activate_fold_with_resync), (gst_bin_src_pads_activate),
13432 (gst_bin_change_state_func):
13433 (de)activate src pads before calling state_change on the childs.
13434 This is to avoid the case where a src ghostpad is blocked (holding the
13435 stream lock), which would block the deactivation of the ghostpad's
13436 target pad.
13437 * gst/gstghostpad.c: (gst_proxy_pad_do_query_type),
13438 (gst_proxy_pad_do_event), (gst_proxy_pad_do_query),
13439 (gst_proxy_pad_do_internal_link), (gst_proxy_pad_do_bufferalloc),
13440 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
13441 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
13442 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
13443 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
13444 (gst_proxy_pad_set_target), (gst_proxy_pad_get_internal),
13445 (gst_proxy_pad_dispose), (gst_proxy_pad_init),
13446 (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
13447 (gst_ghost_pad_class_init),
13448 (gst_ghost_pad_internal_do_activate_push),
13449 (gst_ghost_pad_internal_do_activate_pull),
13450 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
13451 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
13452 (gst_ghost_pad_dispose), (gst_ghost_pad_new_no_target),
13453 (gst_ghost_pad_new), (gst_ghost_pad_set_target):
13454 GhostPads now create their internal GstProxyPad at creation (and not
13455 when they're linked, as it was being done previously).
13456 The internal and target pads are linked straight away.
13457 The data will also travel through the other pad in order to make
13458 pad blocking and probes non-hackish (the probe/block now really happens
13459 on the GhostPad and not on the target).
13460 * gst/gstpad.c: (gst_pad_set_blocked_async),
13461 (gst_pad_link_prepare), (gst_pad_push_event):
13462 Remove previous ghostpad cruft.
13463 * gst/gstutils.c: (gst_pad_add_data_probe),
13464 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
13465 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
13466 (gst_pad_remove_buffer_probe):
13467 Remove previous ghost pad cruft.
13468 Added more detailed debug statements.
13469 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
13470 Fix the testsuite for refcounting changes.
13471 The comments about who has references were correct, but the refcount
13472 being checked wasn't the same (!?!).
13474 Fixes #341029
13476 2006-07-10 Stefan Kost <ensonic@users.sf.net>
13478 * docs/gst/gstreamer-sections.txt:
13479 * gst/gstconfig.h.in:
13480 More docs for configuration options, add docs to gtk-doc.
13482 2006-07-10 Stefan Kost <ensonic@users.sf.net>
13484 * gst/Makefile.am:
13485 * gst/gstconfig.h.in:
13486 * win32/common/config.h:
13487 Fix build when disabling tracing (fixes #344016). Also start to document
13488 the defines that disable the sub-systems.
13490 2006-07-10 Edward Hervey <edward@fluendo.com>
13492 * gst/gst.c: (ensure_current_registry_forking):
13493 let's make valgrind happy...
13495 2006-07-09 Wim Taymans <wim@fluendo.com>
13497 * gst/gstelement.c: (activate_pads),
13498 (iterator_activate_fold_with_resync), (gst_element_pads_activate):
13499 Better pad activation code: Reset the collect value too on resync.
13500 Add some comments.
13502 2006-07-09 Wim Taymans <wim@fluendo.com>
13504 * gst/gstpad.c: (gst_pad_init), (gst_pad_activate_pull),
13505 (gst_pad_activate_push):
13506 Use some more macros where it makes sense.
13507 Allow pad mode switching instead of asserting. When a pad
13508 is activated in one mode and we activate it in another,
13509 deactivate it first before activating it in a different mode.
13510 Fixes #329198.
13512 2006-07-08 Andy Wingo <wingo@pobox.com>
13514 * tools/gst-launch.c (main): Handle err == NULL.
13516 * gst/gst.c (init_post, ensure_current_registry)
13517 (ensure_current_registry_forking)
13518 (ensure_current_registry_nonforking): Reduce #ifdef ratnest by
13519 factoring out the registry scanning into separate functions. Don't
13520 fork for the rescan is GST_REGISTRY_FORK=no; useful in debugging.
13521 Better environment var name/interface suggestions accepted.
13523 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
13525 * gst/gstobject.c: (gst_object_set_name_default),
13526 (gst_object_set_name):
13527 Random micro-optimisation: don't use a hash table
13528 with strings as keys and the usual strdup/strcmp
13529 involved, but rather just use the GQuark of the
13530 type name as key, since it needs to be looked up
13531 anyway to get the type name string.
13533 * tests/check/gst/gstobject.c: (GST_START_TEST):
13534 Fix various leaks.
13536 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
13538 * gst/gstbin.c: (compare_interface), (gst_bin_get_by_interface),
13539 (gst_bin_iterate_all_by_interface):
13540 Can't use GPOINTER_TO_INT and GINT_TO_POINTER with GTypes.
13541 GTypes are gulongs and thus the top 4 bytes might be cut
13542 off on some platforms when doing GPOINTER_TO_INT, leading
13543 to invalid GTypes and bad things happening (see RH bug #179654).
13544 Also add a check to make sure the type passed in is really
13545 an interface type.
13547 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
13549 * .cvsignore:
13550 Ignore more.
13552 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
13554 * Makefile.am:
13555 * configure.ac:
13556 * gst-element-check.m4:
13557 * gst-element-check.m4.in:
13558 Make gst-element-check-$VERSION.m4 call gst-inspect-$VERSION
13559 instead of the unversioned gst-inspect (#324176, #168659).
13561 2006-07-06 Wim Taymans <wim@fluendo.com>
13563 * gst/gstmessage.h:
13564 Use a valid int for the _MESSAGE_ANY enum value to avoid compiler
13565 warnings.
13567 2006-07-06 Wim Taymans <wim@fluendo.com>
13569 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
13570 (gst_base_src_wait), (gst_base_src_update_length),
13571 (gst_base_src_get_range), (gst_base_src_default_check_get_range),
13572 (gst_base_src_check_get_range), (gst_base_src_pad_check_get_range),
13573 (gst_base_src_loop), (gst_base_src_start),
13574 (gst_base_src_activate_pull):
13575 Update docs.
13576 blocksize == 0 now means the default blocksize when working in push
13577 based mode.
13578 Remove some pointless asserts in _wait function.
13579 Fix offset/length calculations and EOS handling. We can now pull 0
13580 bytes as well, which is allowed.
13581 use _check_get_range() to decide if we can operate in _pull based
13582 mode.
13583 Fix refcounting leak when check_get_range function was not
13584 implemented.
13585 API GstBaseSrc::blocksize range can be 0 too now (default)
13587 * tests/check/elements/filesrc.c: (GST_START_TEST),
13588 (filesrc_suite):
13589 Added check to test _get_range() behaviour.
13591 2006-07-06 Wim Taymans <wim@fluendo.com>
13593 * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
13594 (gst_pad_push), (gst_pad_check_pull_range), (gst_pad_get_range),
13595 (gst_pad_pull_range):
13596 * gst/gstpad.h:
13597 Lots of comments and docs added to the pad functions.
13598 Flesh out the expected behaviour of the get_range() functions.
13600 2006-07-06 Wim Taymans <wim@fluendo.com>
13602 * gst/gstbus.h:
13603 * gst/gstclock.h:
13604 * gst/gstevent.h:
13605 * gst/gstiterator.h:
13606 * gst/gstpad.h:
13607 * gst/gstplugin.h:
13608 * gst/gsttask.h:
13609 Remove comma at end of enumerator list.
13611 2006-07-05 Sebastien Moutte <sebastien@moutte.net>
13613 * win32/common/libgstbase.def:
13614 * win32/common/libgstdataprotocol.def:
13615 * win32/common/libsgtreamer.def:
13616 Add new exported functions.
13618 2006-07-05 Wim Taymans <wim@fluendo.com>
13620 * libs/gst/base/gstpushsrc.c: (gst_push_src_check_get_range):
13621 Add some more docs here and there.
13623 2006-07-05 Wim Taymans <wim@fluendo.com>
13625 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_object),
13626 (gst_base_sink_loop), (gst_base_sink_get_position):
13627 When operating in pull mode update the offset so that we
13628 read sequentially.
13630 2006-07-05 Wim Taymans <wim@fluendo.com>
13632 * gst/gstregistryxml.c: (read_string):
13633 Avoid strdup. (will happen in libxml, but hey!)
13635 * gst/gsturi.c:
13636 Add some more docs.
13638 2006-07-05 Wim Taymans <wim@fluendo.com>
13640 * gst/gstbuffer.c: (_gst_buffer_copy), (gst_buffer_create_sub):
13641 * tests/check/gst/gstbuffer.c: (GST_START_TEST),
13642 (gst_buffer_suite):
13643 No point in checking if the size of the subbuffer > 0, the
13644 code handles it correclty as demonstrated by unit test.
13645 Also add a unit test for the zero sized _new_and_alloc and
13646 _copy. Fixes #346663.
13648 2006-07-05 Wim Taymans <wim@fluendo.com>
13650 * libs/gst/base/gstbasetransform.c:
13651 (gst_base_transform_prepare_output_buffer),
13652 (gst_base_transform_buffer_alloc),
13653 (gst_base_transform_handle_buffer):
13654 Make sure the buffer we pass to transform_ip has a refcount of
13655 1 and thus is writable. Fixes #343196
13657 2006-07-04 Jan Schmidt <thaytan@mad.scientist.com>
13659 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
13660 (gst_file_src_init), (gst_file_src_set_property),
13661 (gst_file_src_get_property), (gst_file_src_map_region):
13662 * plugins/elements/gstfilesrc.h:
13663 Add "sequential" property, off by default, to use madvise and hint
13664 to the kernel that sequential access is desired.
13665 Touch all retrieved pages by default to ensure they are pulled
13666 into memory. (Closes #345720)
13668 2006-07-03 Wim Taymans <wim@fluendo.com>
13670 * docs/design/part-block.txt:
13671 * docs/design/part-dynamic.txt:
13672 Small docs updates.
13674 2006-07-03 Wim Taymans <wim@fluendo.com>
13676 * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free),
13677 (gst_caps_unref), (gst_static_caps_get),
13678 (gst_caps_append_structure):
13679 * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
13680 Use GSlice when the glib we build against is >= 2.10
13682 2006-07-03 Wim Taymans <wim@fluendo.com>
13684 * gst/gstelement.c: (gst_element_pads_activate):
13685 Small cleanup in pad activation code.
13687 2006-07-03 Wim Taymans <wim@fluendo.com>
13689 Patch by: Peter Kjellerstedt <pkj at axis dot com>
13691 * gst/gst-i18n-app.h:
13692 * gst/gst-i18n-lib.h:
13693 * tools/gst-inspect.c: (print_signal_info):
13694 The attached patch will make the inclusion of gettext.h unconditional in
13695 gst/gst-i18n-app.h and gst/gst-i18n-lib.h, and it will remove the inclusion of
13696 libintl.h in tools/gst-inspect.c.
13697 This allows use of --disable-nls again and fixes #344642.
13699 2006-07-03 Edward Hervey <edward@fluendo.com>
13701 * gst/gstpad.c: (handle_pad_block), (gst_pad_push_event):
13702 Implement pad blocking on events according to part-block.txt.
13703 More comments on behaviour.
13704 * tests/check/gst/gstevent.c: (test_event):
13705 Send event to peer pad of blocked pad (else it will block).
13707 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
13709 * libs/gst/check/gstcheck.c: (gst_check_message_error),
13710 (gst_check_run_suite):
13711 if we get the wrong message, give us the types as string
13712 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
13713 Fix a translatable
13714 * tests/check/elements/filesrc.c: (GST_START_TEST):
13715 add a test for trying to open a non-existing file
13717 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
13719 * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
13720 add a test for adding self
13722 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
13724 * libs/gst/check/gstcheck.h:
13725 add some assert_ as alias for fail_unless_*
13726 * tests/check/gst/gst.c: (GST_START_TEST), (gst_suite):
13727 increase test coverage
13729 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
13731 * Makefile.am:
13732 include lcov.mak for lcov coverage generation
13733 * tools/Makefile.am:
13734 add to CLEANFILES
13736 2006-07-02 Edward Hervey <edward@fluendo.com>
13738 * tests/check/elements/.cvsignore:
13739 moaping
13741 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
13743 * configure.ac:
13744 don't set CFLAGS and friends for gcov, done from GST_GCOV now
13745 * tests/check/Makefile.am:
13746 clean up gcov files
13748 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
13750 * gst/gstcaps.c: (gst_caps_remove_and_get_structure):
13751 remove gst_caps_simplify; it was not declared and not used
13752 and deprecated in 0.8
13754 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
13756 * docs/faq/gst-uninstalled:
13757 don't put empty paths on PYTHONPATH
13758 * docs/gst/gstreamer-sections.txt:
13759 remove some symbols that are not there
13761 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
13763 * gst/gstcaps.c: (gst_caps_compare_structures):
13764 whitespace fixes
13765 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
13766 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
13767 add more tests
13769 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
13771 * libs/gst/dataprotocol/Makefile.am:
13772 build dataprotocol test by linking to the lib, instead of
13773 compiling the source, so we get coverage
13774 * tests/check/Makefile.am:
13775 * tests/check/elements/filesrc.c: (event_func), (setup_filesrc),
13776 (cleanup_filesrc), (GST_START_TEST), (filesrc_suite):
13777 add a test for filesrc
13779 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
13781 * tests/check/gst/gststructure.c: (GST_START_TEST),
13782 (gst_structure_suite):
13783 Push coverage from 59.04% to 70.00%
13785 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
13787 * tests/check/Makefile.am:
13788 gst-inspect every element; this makes sure that we also get
13789 coverage on element's get/set functions
13791 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
13793 * configure.ac:
13794 set CFLAGS and friends to -O0 if gcov is being used
13795 add GCOV LIBS
13796 * gst/Makefile.am:
13797 * libs/gst/base/Makefile.am:
13798 * libs/gst/check/Makefile.am:
13799 * libs/gst/controller/Makefile.am:
13800 * libs/gst/dataprotocol/Makefile.am:
13801 * libs/gst/net/Makefile.am:
13802 * plugins/elements/Makefile.am:
13803 * plugins/indexers/Makefile.am:
13804 add makefile rules to generate gcov data and clean up
13805 * tests/check/Makefile.am:
13806 add a coverage target that generates an html overview
13807 of coverage data
13809 2006-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
13811 * tests/check/elements/fakesink.c:
13812 * tests/check/elements/fakesrc.c:
13813 * tests/check/elements/fdsrc.c:
13814 * tests/check/elements/identity.c:
13815 * tests/check/generic/sinks.c: (gst_sinks_suite):
13816 * tests/check/generic/states.c:
13817 * tests/check/gst/gst.c:
13818 * tests/check/gst/gstabi.c:
13819 * tests/check/gst/gstbin.c:
13820 * tests/check/gst/gstbuffer.c: (gst_buffer_suite):
13821 * tests/check/gst/gstbus.c: (gst_bus_suite):
13822 * tests/check/gst/gstcaps.c: (GST_START_TEST):
13823 * tests/check/gst/gstelement.c:
13824 * tests/check/gst/gstevent.c: (gst_event_suite):
13825 * tests/check/gst/gstghostpad.c:
13826 * tests/check/gst/gstiterator.c: (gst_iterator_suite):
13827 * tests/check/gst/gstmessage.c: (gst_message_suite):
13828 * tests/check/gst/gstminiobject.c:
13829 * tests/check/gst/gstobject.c:
13830 * tests/check/gst/gstpad.c:
13831 * tests/check/gst/gstpipeline.c:
13832 * tests/check/gst/gstplugin.c:
13833 * tests/check/gst/gstquery.c: (gst_query_suite):
13834 * tests/check/gst/gstsegment.c: (gst_segment_suite):
13835 * tests/check/gst/gststructure.c:
13836 * tests/check/gst/gstsystemclock.c:
13837 * tests/check/gst/gsttag.c:
13838 * tests/check/gst/gsttask.c: (gst_task_suite):
13839 * tests/check/gst/gstutils.c:
13840 * tests/check/gst/gstvalue.c:
13841 * tests/check/libs/adapter.c:
13842 * tests/check/libs/basesrc.c:
13843 * tests/check/libs/collectpads.c:
13844 * tests/check/libs/controller.c:
13845 * tests/check/libs/gdp.c: (gst_dp_suite):
13846 * tests/check/libs/gstnetclientclock.c:
13847 * tests/check/libs/gstnettimeprovider.c:
13848 * tests/check/libs/libsabi.c: (libsabi_suite):
13849 * tests/check/libs/typefindhelper.c:
13850 * tests/check/pipelines/cleanup.c:
13851 * tests/check/pipelines/parse-launch.c:
13852 * tests/check/pipelines/simple-launch-lines.c:
13853 * tests/check/pipelines/stress.c: (stress_suite):
13854 use the new macro
13856 2006-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
13858 * libs/gst/check/gstcheck.c: (gst_check_run_suite):
13859 * libs/gst/check/gstcheck.h:
13860 create a macro and function so that the simple unit test
13861 case can be just one macro to create main()
13863 2006-06-30 Tim-Philipp Müller <tim at centricular dot net>
13865 * gst/gstbin.c: (gst_bin_restore_thyself):
13866 * gst/gstxml.c: (gst_xml_make_element):
13867 Fix deserialisation from XML. Set parent manually
13868 instead of using gst_bin_add(), since gst_bin_add()
13869 will unlink all pads of the element being added.
13870 Fixes #341667.
13872 2006-06-28 Tim-Philipp Müller <tim at centricular dot net>
13874 Patch by: Peter Kjellerstedt <pkj at axis com>
13876 * gst/gst.c: (prepare_for_load_plugin_func), (split_and_iterate):
13877 Fix missing g_strdup() and double free when using the
13878 --gst-plugin-load command line option (#346097).
13880 2006-06-23 Tim-Philipp Müller <tim at centricular dot net>
13882 * gst/gstinfo.c:
13883 Promote GST_DEBUG_CATEGORY_STATIC in example in docs.
13885 * libs/gst/net/gstnetclientclock.c:
13886 * libs/gst/net/gstnettimeprovider.c:
13887 Use GST_DEBUG_CATEGORY_STATIC here too (#342503).
13889 2006-06-23 Tim-Philipp Müller <tim at centricular dot net>
13891 * docs/manual/advanced-dataaccess.xml:
13892 Fix buffer probe example compilation in
13893 ADM (#345708).
13895 2006-06-22 Edward Hervey <edward@fluendo.com>
13897 * gst/gstelement.c: (gst_element_pads_activate):
13898 We need to deactivate src pads first and then sink pads.
13899 The reason is the src pads might be blocking while holding the streaming
13900 lock, so we need to deactivate them first so that deactivating the sink
13901 pads doesn't block (since it will require the streaming lock).
13903 2006-06-22 Wim Taymans <wim@fluendo.com>
13905 * libs/gst/base/gstbasetransform.c:
13906 (gst_base_transform_buffer_alloc):
13907 Forgot to remove two unneeded unrefs.
13908 Simplify a check _is_equal allready checks the obvious case.
13910 2006-06-22 Wim Taymans <wim@fluendo.com>
13912 * docs/design/part-block.txt:
13913 Some docs about what pad_block should do.
13915 2006-06-22 Wim Taymans <wim@fluendo.com>
13917 * gst/gstcaps.c: (gst_caps_replace):
13918 Fix crasher when passed NULL. Doc clarification.
13919 Optimize for the trivial case.
13921 * gst/gstpipeline.c: (gst_pipeline_change_state):
13922 Small cleanups.
13924 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
13925 Small documentation cleanup.
13927 * libs/gst/base/gstbasetransform.c:
13928 (gst_base_transform_buffer_alloc):
13929 Don't use silly gst_pad_get_negotiated_caps, GST_PAD_CAPS
13930 is what we need and it avoids a whole lot of redundant
13931 refcount operations.
13933 2006-06-22 Tim-Philipp Müller <tim at centricular dot net>
13935 Patch by: Philip Jägenstedt <philip at lysator liu se>
13937 * docs/manual/advanced-dataaccess.xml:
13938 Fix 'Embedding static elements' section to use
13939 GST_PLUGIN_DEFINE_STATIC (#345607).
13941 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
13943 * tests/check/pipelines/simple-launch-lines.c: (test_stop_from_app):
13944 Attempt to 'fix' spuriously failing test case: it seems like the
13945 timeout of half a second is simply too small when the system is under
13946 load otherwise, and the timeout doesn't really seem to serve any
13947 particular purpose here. Give the pipeline a few seconds to preroll
13948 first, and then give it another half a second to go from PAUSED to
13949 PLAYING and marshal the message into the main thread.
13951 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
13953 * tools/gst-feedback-m.m:
13954 Don't only use unversioned tools, try versioned tools as well
13955 (#345086).
13957 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
13959 * gst/gstbus.c: (gst_bus_class_init):
13960 Fix some typos, make docs more explicit.
13962 2006-06-20 Wim Taymans <wim@fluendo.com>
13964 * tests/check/gst/gstghostpad.c: (block_callback),
13965 (GST_START_TEST), (gst_ghost_pad_suite):
13966 Added some more ghostpad tests, mainly blocking
13967 and probes.
13969 2006-06-16 Wim Taymans <wim@fluendo.com>
13971 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
13972 (gst_file_sink_close_file), (gst_file_sink_do_seek),
13973 (gst_file_sink_event), (gst_file_sink_render):
13974 * plugins/elements/gstfilesink.h:
13975 Check if we can seek in the file instead of assuming
13976 we always can. Post an error when we are asked to seek in a
13977 non-seekable file (like a fifo). Fixes #343312.
13978 Some cleanups.
13980 2006-06-16 Tim-Philipp Müller <tim at centricular dot net>
13982 * tools/gst-launch.1.in:
13983 Un-garble (fourcc) bit in filtered caps section.
13985 2006-06-16 Tim-Philipp Müller <tim at centricular dot net>
13987 * docs/manual/advanced-autoplugging.xml:
13988 * docs/manual/basics-helloworld.xml:
13989 * docs/manual/highlevel-components.xml:
13990 Don't leak bus reference in sample code.
13992 2006-06-15 Tim-Philipp Müller <tim at centricular dot net>
13994 * autogen.sh:
13995 Add default for new --enable-plugin-docs switch.
13997 * configure.ac:
13998 Use new GST_PLUGIN_DOCS macro to check for pyxml etc.
13999 Fixes #344039.
14001 * docs/Makefile.am:
14002 Use new ENABLE_PLUGIN_DOCS conditional.
14004 2006-06-14 Wim Taymans <wim@fluendo.com>
14006 * gst/gstbin.c: (bin_query_duration_done), (gst_bin_query):
14007 Make it clear with a FIXME and a real define what the #if 0
14008 previously disabled.
14010 2006-06-14 Wim Taymans <wim@fluendo.com>
14012 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
14013 (gst_base_sink_preroll_object), (gst_base_sink_get_position):
14014 * libs/gst/base/gstbasetransform.c:
14015 (gst_base_transform_sink_eventfunc):
14016 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
14017 Don't randomly and silently reset a segment when the format
14018 changes as this is a bug somewhere upstream. Fixes #330379.
14020 2006-06-14 Tim-Philipp Müller <tim at centricular dot net>
14022 Patch by: Wouter Paesen <wouter at kangaroot net>
14024 * libs/gst/controller/gstcontroller.c:
14025 (gst_controlled_property_new):
14026 Fix controlling of float properties (#344849).
14028 * tests/check/libs/controller.c:
14029 (gst_test_mono_source_get_property),
14030 (gst_test_mono_source_set_property),
14031 (gst_test_mono_source_class_init), (GST_START_TEST):
14032 While we're at it, add some float stuff to unit test.
14034 2006-06-13 Thomas Vander Stichele <thomas at apestaart dot org>
14036 * docs/README:
14037 * docs/images/gdp-header.svg:
14038 add a gdp image
14039 * docs/libs/Makefile.am:
14040 * docs/libs/gdp-header.png:
14041 * libs/gst/dataprotocol/dataprotocol.c:
14042 add it to the API docs
14043 * docs/manual/intro-motivation.xml:
14044 fix typo
14046 2006-06-13 Tim-Philipp Müller <tim at centricular dot net>
14048 * gst/gst.c: (scan_and_update_registry), (init_post):
14049 If the fork()'ed child process can't write the updated registry cache
14050 file to disk for some reason, make it exit with a failure exit code,
14051 so that the parent can then re-scan the plugins itself and update the
14052 registry structures in memory and work with that (rather than failing
14053 when creating elements because seemingly no plugins are available).
14054 Refactor registry scanning code into separate function for this and
14055 also separate fork() and non-fork() code paths. Fixes #344748.
14057 2006-06-13 Wim Taymans <wim@fluendo.com>
14059 * docs/manual/advanced-dataaccess.xml:
14060 Fix wrong PluginDesc. Fixes #344755.
14062 2006-06-13 Tim-Philipp Müller <tim at centricular dot net>
14064 * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
14065 Fix silly bug that prevented us from creating
14066 ~/.gstreamer-0.10 and writing the registry in one
14067 go (the first call to g_mkstemp() would overwrite the
14068 placeholder in the template string, so the second call
14069 to g_mkstemp() after creating the missing directory
14070 would then error out with 'invalid argument').
14072 2006-06-13 Edward Hervey <edward@fluendo.com>
14074 * gst/gst.c: (init_post):
14075 Free string.
14077 2006-06-13 Thomas Vander Stichele <thomas at apestaart dot org>
14079 * gst/glib-compat-private.h:
14080 * gst/glib-compat.c:
14081 * gst/glib-compat.h:
14082 * gst/gstvalue.c: (gst_value_serialize_flags):
14083 remove GLib 2.6 compatibility code
14085 2006-06-12 Tim-Philipp Müller <tim at centricular dot net>
14087 * gst/parse/Makefile.am:
14088 Fix build with 'make -j N' even more (#340016).
14090 2006-06-12 Wim Taymans <wim@fluendo.com>
14092 * docs/gst/gstreamer-sections.txt:
14093 Fix docs.
14095 2006-06-12 Wim Taymans <wim@fluendo.com>
14097 * gst/gstsegment.c: (gst_segment_set_duration),
14098 (gst_segment_set_last_stop), (gst_segment_set_seek),
14099 (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
14100 (gst_segment_to_running_time), (gst_segment_clip):
14101 Use G_UNLIKELY to help the compiler a bit.
14103 2006-06-12 Wim Taymans <wim@fluendo.com>
14105 Patch by: Stefan Kost <ensonic at sonicpulse dot de>
14107 * gst/gstevent.c: (gst_event_get_type):
14108 * gst/gstmessage.c:
14109 * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
14110 (gst_pad_push):
14111 constify quark registration strings. Fixes #344115
14112 Avoid unneeded type checking is _pad_push() by internally
14113 calling gst_pad_chain_unchecked().
14115 2006-06-12 Wim Taymans <wim@fluendo.com>
14117 * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_finalize),
14118 (_gst_buffer_copy), (gst_buffer_is_metadata_writable),
14119 (gst_subbuffer_finalize), (gst_buffer_create_sub),
14120 (gst_buffer_is_span_fast), (gst_buffer_span):
14121 Init _type for consistency.
14122 Use _FLAGS macro to avoid type check.
14123 Avoid unneeded type checks in subbufer code.
14125 2006-06-12 Wim Taymans <wim@fluendo.com>
14127 * gst/gst.c: (gst_debug_help):
14128 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_list_free):
14129 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
14130 (gst_plugin_feature_list_free):
14131 * gst/gstregistry.c: (gst_registry_add_plugin),
14132 (gst_registry_add_feature), (gst_registry_plugin_filter),
14133 (gst_registry_feature_filter), (gst_registry_find_plugin),
14134 (gst_registry_find_feature), (gst_registry_get_plugin_list),
14135 (gst_registry_lookup_feature_locked), (gst_registry_lookup_locked):
14136 * gst/gstregistryxml.c: (load_feature),
14137 (gst_registry_xml_read_cache), (gst_registry_xml_write_cache):
14138 * gst/gstminiobject.c: (gst_mini_object_unref),
14139 (gst_mini_object_replace), (gst_value_mini_object_free),
14140 (gst_value_mini_object_copy):
14141 Use _CAST macros to avoid unneeded type checking.
14142 Added some more G_UNLIKELY.
14144 2006-06-12 Wim Taymans <wim@fluendo.com>
14146 * gst/gstbuffer.h:
14147 Avoid unneeded type checking.
14148 API: GST_BUFFER_IS_DISCONT
14150 * gst/gstminiobject.h:
14151 Avoid type check in flag accessor.
14153 * gst/gstelementfactory.h:
14154 * gst/gstplugin.h:
14155 * gst/gstpluginfeature.h:
14156 Add _CAST macros.
14157 API: GST_ELEMENT_FACTORY_CAST
14158 API: GST_PLUGIN_CAST
14159 API: GST_PLUGIN_FEATURE_CAST
14161 2006-06-12 Wim Taymans <wim@fluendo.com>
14163 * gst/gstobject.c: (gst_object_get_type), (gst_object_ref),
14164 (gst_object_unref):
14165 Add G_UNLIKELY in type registration.
14166 Avoid type check in _ref/_unref since that is also
14167 done in glib.
14169 2006-06-12 Wim Taymans <wim@fluendo.com>
14171 * gst/gsterror.c: (gst_g_error_get_type):
14172 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
14173 (gst_static_pad_template_get_type):
14174 * gst/gsttaglist.c: (gst_tag_list_get_type):
14175 * gst/gsttagsetter.c: (gst_tag_setter_get_type):
14176 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type):
14177 * gst/gsturi.c: (gst_uri_handler_get_type):
14178 * gst/gstvalue.c: (gst_date_get_type):
14179 * gst/gstxml.c: (gst_xml_get_type):
14180 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
14181 (gst_base_sink_preroll_object), (gst_base_sink_get_position):
14182 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type):
14183 Add G_UNLIKELY in type registration.
14185 2006-06-12 Wim Taymans <wim@fluendo.com>
14187 * tools/gst-inspect.c: (print_signal_info):
14188 Properly print enum values.
14190 2006-06-12 Wim Taymans <wim@fluendo.com>
14192 * gst/gstinfo.c: (gst_debug_set_active),
14193 (gst_debug_category_set_threshold), (_gst_debug_nameof_funcptr):
14194 * gst/gstinfo.h:
14195 Add some G_[UN]LIKELY.
14196 Maintain __gst_debug_min to avoid formatting the arguments of
14197 debug messages that will be dropped anyway to avoid a lot of
14198 overhead from the debugging system.
14200 2006-06-11 Stefan Kost <ensonic@users.sf.net>
14202 * po/POTFILES.in:
14203 * po/POTFILES.skip:
14204 add missing files containing translatable strings, tell intltool about
14205 one exception
14207 2006-06-11 Stefan Kost <ensonic@users.sf.net>
14209 * tests/check/libs/.cvsignore:
14210 add test-binary to ignore list
14212 2006-06-11 Stefan Kost <ensonic@users.sf.net>
14214 * docs/libs/gstreamer-libs-docs.sgml:
14215 reorder (put dp into a chapter) and indent
14217 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
14219 * configure.ac:
14220 back to HEAD
14222 === release 0.10.8 ===
14224 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
14226 * configure.ac:
14227 releasing 0.10.8, "Soepeke, ik zie ou nog altijd nie"
14229 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
14231 * gst/gst.c: (init_post):
14232 move pid declaration to declaration block
14234 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
14236 * gst/gst.c: (init_post):
14237 use _exit() instead of exit() in our forked child; this ensures
14238 that none of the registered exit handlers from whatever is using
14239 GStreamer get executed. This fixes gnome-mixer-applet failing
14240 to load, because ORBit would shut down.
14241 Spotted by: Edward Hervey <edward@fluendo.com>
14242 Fix suggested by: Tim-Philipp Müller <tim at centricular dot net>
14243 Fixes #344474
14245 2006-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
14247 * configure.ac:
14248 back to TRUNK
14250 === release 0.10.7 ===
14252 2006-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
14254 * configure.ac:
14255 releasing 0.10.7, "Soepeke, ik zie ou"
14257 2006-06-07 Thomas Vander Stichele <thomas at apestaart dot org>
14259 * configure.ac:
14260 * po/af.po:
14261 * po/az.po:
14262 * po/bg.po:
14263 * po/ca.po:
14264 * po/cs.po:
14265 * po/de.po:
14266 * po/en_GB.po:
14267 * po/fr.po:
14268 * po/it.po:
14269 * po/nb.po:
14270 * po/nl.po:
14271 * po/ru.po:
14272 * po/sq.po:
14273 * po/sr.po:
14274 * po/sv.po:
14275 * po/tr.po:
14276 * po/uk.po:
14277 * po/vi.po:
14278 * po/zh_CN.po:
14279 * po/zh_TW.po:
14280 * win32/common/config.h:
14281 0.10.6.2 prerelease
14283 2006-06-07 Wim Taymans <wim@fluendo.com>
14285 * gst/gstindex.c: (gst_index_gtype_resolver):
14286 * tools/gst-xmlinspect.c: (print_plugin_info):
14287 Fix leak spotted by coverity checker. Fixes #343827
14288 Fix another other leak found by paolo borelli.
14290 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
14292 * libs/gst/dataprotocol/dataprotocol.c:
14293 (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
14294 (gst_dp_version_get_type), (gst_dp_init),
14295 (gst_dp_header_from_buffer), (gst_dp_header_from_buffer_1_0),
14296 (gst_dp_packet_from_caps), (gst_dp_packet_from_caps_1_0),
14297 (gst_dp_packet_from_event), (gst_dp_packet_from_event_1_0),
14298 (gst_dp_event_from_packet_0_2), (gst_dp_event_from_packet_1_0),
14299 (gst_dp_event_from_packet), (gst_dp_packetizer_new),
14300 (gst_dp_packetizer_free):
14301 * libs/gst/dataprotocol/dataprotocol.h:
14302 API: add a GstDPPacketizer object, and create/free functions
14303 API: add GstDPVersion enum
14304 Add 1.0 event function that uses the string serialization
14305 Serialize more useful buffer flags
14306 Fixes #343988
14308 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
14310 * tests/check/Makefile.am:
14311 * tests/check/gst/gstabi.c:
14312 * tests/check/gst/struct_ppc64.h:
14313 * tests/check/libs/libsabi.c:
14314 * tests/check/libs/struct_ppc64.h:
14315 add ppc64 structure sizes
14317 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
14319 * tests/check/Makefile.am:
14320 * tests/check/gst/gstabi.c:
14321 * tests/check/gst/struct_x86_64.h:
14322 * tests/check/libs/libsabi.c:
14323 * tests/check/libs/struct_x86_64.h:
14324 generate and add structure size lists for x86_64
14326 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
14328 * libs/gst/check/gstcheck.c: (gst_check_abi_list):
14329 * libs/gst/check/gstcheck.h:
14330 factor out the method from tests that checks size of structures,
14331 and add code to generate the header containing these sizes
14332 * tests/check/gst/gstabi.c: (GST_START_TEST):
14333 * tests/check/gst/struct_i386.h:
14334 * tests/check/libs/libsabi.c: (GST_START_TEST):
14335 * tests/check/libs/struct_i386.h:
14336 use it
14338 2006-06-06 Michael Smith <msmith@fluendo.com>
14340 * gst/gstsegment.h:
14341 Don't use c++-style comments, fixes #343929
14343 2006-06-05 Edward Hervey <edward@fluendo.com>
14345 * gst/gst.c:
14346 plugin_paths is not used if we build without registry support.
14348 * gst/gstsegment.c: (gst_segment_copy):
14349 _copy() was always returning NULL...
14351 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
14353 * libs/gst/dataprotocol/dataprotocol.c:
14354 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
14355 (gst_dp_packet_from_event):
14356 factor out CRC code
14358 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
14360 * libs/gst/check/gstcheck.c: (gst_check_teardown_src_pad):
14361 make sure we unset caps
14363 2006-06-02 Michael Smith <msmith@fluendo.com>
14365 * libs/gst/check/gstcheck.c: (gst_check_init),
14366 (gst_check_chain_func):
14367 * libs/gst/check/gstcheck.h:
14368 Add a cond/mutex to the check support lib, signal this whenever we
14369 add to the buffers list. This will allow tests to not busy-wait on
14370 the buffer-list.
14372 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
14374 * libs/gst/dataprotocol/dataprotocol.c:
14375 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
14376 (gst_dp_packet_from_event):
14377 factor out some common header init code
14379 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
14381 * docs/libs/gstreamer-libs-sections.txt:
14382 * docs/libs/tmpl/gstdataprotocol.sgml:
14383 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc):
14384 * libs/gst/dataprotocol/dataprotocol.h:
14385 API: make gst_dp_crc() public
14387 2006-06-01 Stefan Kost <ensonic@users.sf.net>
14389 * plugins/indexers/gstindexers.c: (plugin_init):
14390 conditionally register fileindexer (fixes #343598)
14392 2006-06-01 Stefan Kost <ensonic@users.sf.net>
14394 * gst/gsttagsetter.h:
14395 Can't cast ifaces to a class
14397 * libs/gst/net/gstnetclientclock.h:
14398 * libs/gst/net/gstnettimeprovider.h:
14399 * plugins/elements/gstfakesink.h:
14400 * plugins/elements/gstfakesrc.h:
14401 * plugins/elements/gstfdsink.h:
14402 * plugins/elements/gstfdsrc.h:
14403 * plugins/elements/gstfilesink.h:
14404 * plugins/elements/gstfilesrc.h:
14405 * plugins/elements/gstidentity.h:
14406 * plugins/elements/gstqueue.h:
14407 * plugins/elements/gsttee.h:
14408 * plugins/indexers/gstfileindex.c:
14409 * plugins/indexers/gstmemindex.c:
14410 * tests/old/examples/plugins/example.h:
14411 Fix more gobject macros: obj<->klass, GstXXX<->GstXXXClass
14413 2006-06-01 Thomas Vander Stichele <thomas at apestaart dot org>
14415 * libs/gst/dataprotocol/dataprotocol.c:
14416 (gst_dp_header_from_buffer):
14417 make sure we zero the whole ABI-compatible area
14419 2006-06-01 Wim Taymans <wim@fluendo.com>
14421 Patch by: Alessandro Decina <alessandro at nnva dot org>
14423 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop):
14424 Make sure the EOS flag is cleared from pads after a flush
14425 or stop. Fixes #343538.
14427 * tests/check/libs/collectpads.c: (GST_START_TEST),
14428 (gst_collect_pads_suite):
14429 Added test for collectpads reusage after EOS.
14431 2006-05-30 Sebastien Moutte <sebastien@moutte.net>
14433 * gst/gst.c:
14434 set #include <sys/wait.h> in a #ifdef #ifdef HAVE_FORK
14435 * win32/common/libgstbase.def:
14436 export gst_collect_pads_set_flushing
14437 * win32/common/libgstreamer.def:
14438 export gst_pad_set_acceptcaps_function, gst_structure_empty_new,
14439 gst_value_fraction_multiply
14440 * win32/vs6/gst_inspect.dsp:
14441 add a link to intl.lib
14443 2006-05-30 Wim Taymans <wim@fluendo.com>
14445 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
14446 (gst_collect_pads_chain):
14447 Handle the case where a pad is removed from the collection
14448 that could cause the other pads to become collectable.
14450 2006-05-30 Wim Taymans <wim@fluendo.com>
14452 * gst/gstelement.c:
14453 Clarify the use of _release_request_pad() and
14454 _get_request_pad() a bit better.
14456 * libs/gst/base/gstadapter.c: (gst_adapter_peek),
14457 (gst_adapter_take_buffer):
14458 Fix some doc and comment typos.
14460 2006-05-30 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
14462 * docs/gst/gstreamer-sections.txt:
14463 * docs/libs/gstreamer-libs-sections.txt:
14464 add declared symbols
14466 2006-05-30 Jan Schmidt <thaytan@mad.scientist.com>
14468 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
14469 Add debug that can be enabled using a #define at the top of the file,
14470 for dumping stats about how late/early we were when waking up from
14471 waiting on the clock.
14473 2006-05-30 Wim Taymans <wim@fluendo.com>
14475 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_check_pads):
14476 When rebuilding the pad list, don't leak the previous list.
14478 2006-05-30 Wim Taymans <wim@fluendo.com>
14480 Patch by: Lutz Mueller <lutz at topfrose dot de>
14482 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
14483 (gst_base_src_get_query_types), (gst_base_src_update_length):
14484 Publish supported query types.
14485 Update last_stop field in get_range mode so the position
14486 query works. Fixes #342321.
14488 2006-05-30 Tim-Philipp Müller <tim at centricular dot net>
14490 * docs/gst/gstreamer-sections.txt:
14491 * gst/gsttaglist.c: (_gst_tag_initialize):
14492 * gst/gsttaglist.h:
14493 API: add GST_TAG_PREVIEW_IMAGE (#343341).
14495 2006-05-30 Wim Taymans <wim@fluendo.com>
14497 Patch by: Alessandro Decina <alessandro at nnva dot org>
14499 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
14500 Unlock mutex when removing an unknown pad.
14501 Fixes #343334.
14503 * tests/check/Makefile.am:
14504 * tests/check/libs/collectpads.c: (collected_cb), (push_buffer),
14505 (push_event), (setup), (teardown), (GST_START_TEST),
14506 (gst_collect_pads_suite), (main):
14507 Added collecpads check, disabled for now as check crashes for
14508 some reason.
14510 2006-05-29 Wim Taymans <wim@fluendo.com>
14512 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize):
14513 Don't leak pads lists.
14515 2006-05-29 Wim Taymans <wim@fluendo.com>
14517 * docs/libs/gstreamer-libs-sections.txt:
14518 * libs/gst/base/gstcollectpads.c:
14519 (gst_collect_pads_set_flushing_unlocked),
14520 (gst_collect_pads_set_flushing), (gst_collect_pads_start),
14521 (gst_collect_pads_stop):
14522 * libs/gst/base/gstcollectpads.h:
14523 API: gst_collect_pads_set_flushing()
14524 Added api to set the pads to flushing, useful for seeking
14525 code in elements using collectpads.
14526 Clear segment when receiving a flush.
14528 2006-05-29 Tim-Philipp Müller <tim at centricular dot net>
14530 * gst/gst.c: (add_path_func), (init_post):
14531 Don't scan registry paths passed via --gst-plugin-path immediately
14532 (will crash, because absolutely nothing is set up and no types are
14533 registered etc.); do this later in init_post(). Fixes #343057.
14535 2006-05-28 Thomas Vander Stichele <thomas at apestaart dot org>
14537 * gst/gst.c: (init_post):
14538 if we have fork, fork while reading/rebuilding the registry
14539 so the parent doesn't take the hit of having all plugins loaded
14540 in memory. Fixes #342777.
14541 * configure.ac:
14542 Check if we have fork()
14543 * win32/common/config.h.in:
14544 no fork() on win32
14546 2006-05-26 Jan Schmidt <thaytan@mad.scientist.com>
14548 * plugins/elements/gstelements.c:
14549 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
14550 (gst_file_src_init), (gst_file_src_set_property),
14551 (gst_file_src_get_property), (gst_file_src_start):
14552 * plugins/elements/gstfilesrc.h:
14553 API: GstFileSrc::use-mmap
14555 Add a use-mmap property to enable easier testing of all code paths.
14556 Bump rank to PRIMARY, so filesrc is the preferred file reader and used
14557 in the absence of gnomevfssrc. (Closes #340501)
14559 2006-05-26 Zaheer Abbas Merali <zaheerabbas at merali dot org>
14561 * tools/gst-inspect.c:
14562 Add missing include, removes warning of ngettext not being defined on
14563 some arches.
14565 2006-05-26 Jan Schmidt <thaytan@mad.scientist.com>
14567 * gst/gstvalue.c: (gst_value_deserialize_fraction):
14568 Handle NULL input and output pointers silently as a failed conversion,
14569 rather than g_warnings.
14571 2006-05-25 Wim Taymans <wim@fluendo.com>
14573 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_start):
14574 Initialize variable before using. Fixes #342820.
14576 2006-05-24 Tim-Philipp Müller <tim at centricular dot net>
14578 * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek):
14579 Fix off-by-one bug that would only allow peeks of N-1 bytes
14580 from the start even if the buffer to typefind on contains
14581 in fact N bytes of data (makes vorbis typefinding from a
14582 vorbis identification header buffer work).
14584 * tests/check/Makefile.am:
14585 * tests/check/libs/.cvsignore:
14586 * tests/check/libs/typefindhelper.c: (GST_START_TEST),
14587 (gst_typefindhelper_suite), (main), (foobar_typefind),
14588 (plugin_init):
14589 Add very basic unit test for gst_type_find_helper_for_buffer()
14590 that checks for the problem fixed above.
14592 2006-05-24 Thomas Vander Stichele <thomas at apestaart dot org>
14594 * tools/gst-inspect.c: (print_interfaces),
14595 (print_element_properties_info), (print_element_list), (main):
14596 add more translatable strings
14598 2006-05-23 Tim-Philipp Müller <tim at centricular dot net>
14600 Patch by: Julien Moutte <julien at moutte net>
14602 * docs/gst/gstreamer-sections.txt:
14603 Make new GST_FLOW_IS_SUCCESS macro visible in docs.
14605 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
14606 (gst_fake_sink_preroll):
14607 * plugins/elements/gstfakesink.h:
14608 API: Add new GstFakeSink::preroll-handoff signal (#337100).
14610 2006-05-23 Wim Taymans <wim@fluendo.com>
14612 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark):
14613 * gst/gstpad.h:
14614 Added _CUSTOM error and success GstFlowReturn that can be
14615 used be elements internally.
14616 Added macro to check for SUCCESS flowreturns.
14617 API: GST_FLOW_CUSTOM_SUCCESS
14618 API: GST_FLOW_CUSTOM_ERROR
14619 API: GST_FLOW_IS_SUCCESS
14621 * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
14622 Added check for GstFlowReturn sanity.
14624 2006-05-23 Wim Taymans <wim@fluendo.com>
14626 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
14628 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
14629 (gst_collect_pads_event):
14630 clear/reset segment info in FLUSH_STOP.
14631 Fixes #336929.
14633 2006-05-22 Stefan Kost <ensonic@users.sf.net>
14635 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop),
14636 (gst_collect_pads_check_collected):
14637 Flush queued buffer on _stop(), fixes playing again (#342454)
14639 2006-05-22 Thomas Vander Stichele <thomas at apestaart dot org>
14641 * tests/check/gst/gststructure.c: (GST_START_TEST),
14642 (gst_structure_suite):
14643 add a test for a complete structure
14645 2006-05-19 Tim-Philipp Müller <tim at centricular dot net>
14647 * docs/faq/developing.xml:
14648 * docs/faq/faq.xml:
14649 * docs/faq/troubleshooting.xml:
14650 * docs/faq/using.xml:
14651 Some minor FAQ updates that won't change the fact that
14652 our FAQ is badly structured, full of information hardly
14653 anyone new to GStreamer needs to know and lacking lots
14654 of information people constantly ask for.
14656 2006-05-19 Jan Schmidt <thaytan@mad.scientist.com>
14658 * gst/gstpad.c: (gst_pad_set_caps):
14659 Short-circuit gst_pad_set_caps if setting the existing
14660 caps pointer again, and avoid printing debug and
14661 reffing/unreffing the caps.
14663 * plugins/elements/gstqueue.c: (gst_queue_push_one):
14664 There's actually no need to set the caps before pushing -
14665 the acceptcaps method will handle it anyway.
14667 2006-05-19 Tim-Philipp Müller <tim at centricular dot net>
14669 * docs/gst/gstreamer-sections.txt:
14670 * win32/common/libgstreamer.def:
14671 * gst/gstutils.c: (gst_element_seek_simple):
14672 * gst/gstutils.h:
14673 API: add gst_element_seek_simple() (#342238).
14675 2006-05-18 Edward Hervey <edward@fluendo.com>
14677 * gst/gsttypefind.c: (gst_type_find_get_type):
14678 * gst/gsttypefind.h:
14679 Added GST_TYPE_TYPE_FIND and gst_type_find_get_type() so a GType gets
14680 registered for GstTypeFind pointers. This allows wrapping the structure
14681 in bindings (i.e. gst-python).
14683 2006-05-18 Tim-Philipp Müller <tim at centricular dot net>
14685 * gst/gsttagsetter.c:
14686 Docs additions and fixes (see #339918).
14688 2006-05-18 Jan Schmidt <thaytan@mad.scientist.com>
14690 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
14691 The caps intersection algorithm can produce multiple copies of the
14692 caps. Until that is fixed, we need to simplify the result to be
14693 sure whether the allowed caps are fixed or not.
14695 * plugins/elements/gstqueue.c: (gst_queue_init),
14696 (gst_queue_bufferalloc), (gst_queue_acceptcaps),
14697 (gst_queue_push_one):
14698 Proxied buffer alloc should not set the caps on the source pad.
14699 When pushing buffers, we always accept the caps change that triggers.
14700 This prevents negotiation errors caused by caps changing mid-stream
14701 and then being refused on our source pad (because upstream is now
14702 refusing those caps).
14704 2006-05-18 Tim-Philipp Müller <tim at centricular dot net>
14706 * tests/examples/helloworld/helloworld.c: (main):
14707 Must plug audioconvert and audioresample between decoder
14708 and audio sink.
14710 2006-05-17 Jan Schmidt <thaytan@mad.scientist.com>
14712 * gst/gstregistryxml.c: (read_string), (load_pad_template),
14713 (load_feature), (load_plugin):
14714 Allow empty strings for some of the plugin fields so we don't
14715 drop valid plugin entries that were written out correctly
14716 (Fixes #341479)
14718 2006-05-17 Sebastien Moutte <sebastien@moutte.net>
14720 * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
14721 Use g_remove and g_rename instead of remove and rename that don't
14722 handle utf8 characters. rename was failing for users who had specific
14723 characters in their name then the registry was built at each
14724 gstreamer init.
14725 * win32/vs6/gst_inspect.dsp:
14726 * win32/vs6/gst_launch.dsp:
14727 * win32/vs6/libgstbase.dsp:
14728 * win32/vs6/libgstcoreelements.dsp:
14729 * win32/vs6/libgstreamer.dsp:
14730 Use a debug version of libxml2 (libxml2D.lib,libxml2D.dll) for DEBUG
14731 build of libgstreamer and clean unused libraries in projects link
14732 settings.
14734 2006-05-17 Edward Hervey <edward@fluendo.com>
14736 * plugins/elements/gstqueue.c: (gst_queue_push_one):
14737 The queue is not responsible for pushing an EOS when receiving a fatal
14738 flow error. It's up to the real element driving the pipeline to do that.
14740 2006-05-16 Edward Hervey <edward@fluendo.com>
14742 * plugins/elements/gstqueue.c: (gst_queue_push_one):
14743 The queue was posting a non-needed GST_MESSAGE_ERROR when pushing a
14744 buffer returned a fatal error. It should just send an EOS and stop
14745 its task.
14746 Upstream elements will then properly receive the GST_FLOW_UNEXPECTED
14747 when pushing buffers on the queue and will be able to handle the event.
14749 2006-05-16 Tim-Philipp Müller <tim at centricular dot net>
14751 * docs/manual/basics-bins.xml:
14752 * docs/manual/basics-init.xml:
14753 Fix typos and minor errors in sample code (#341856).
14755 2006-05-16 Wim Taymans <wim@fluendo.com>
14757 * docs/design/part-qos.txt:
14758 Fix indexes in formulas to make more sense.
14760 2006-05-15 Wim Taymans <wim@fluendo.com>
14762 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
14763 Don't report POSITION based on clock time if sync is
14764 disabled in a sink.
14766 2006-05-15 Tim-Philipp Müller <tim at centricular dot net>
14768 * gst/gstobject.h:
14769 Add cast to make compiler happy - refcount variable was a gint
14770 in GstObject but is a guint in GObject and g_atomic_int_get()
14771 wants a gint *.
14773 2006-05-15 Thomas Vander Stichele <thomas at apestaart dot org>
14775 * gst/parse/Makefile.am:
14776 chain commands using &&, which also makes parallel make work
14778 2006-05-14 Tim-Philipp Müller <tim at centricular dot net>
14780 * docs/gst/gstreamer-sections.txt:
14781 * gst/gstevent.c:
14782 * gst/gstevent.h:
14783 * gst/gstmessage.h:
14784 Minor docs fixes.
14786 === release 0.10.6 ===
14788 2006-05-14 Jan Schmidt <thaytan@mad.scientist.com>
14790 * configure.ac:
14791 releasing 0.10.6, "Take the cannoli"
14793 2006-05-13 Tim-Philipp Müller <tim at centricular dot net>
14795 * tools/gst-launch.c: (print_tag):
14796 Fix use of uninitialized variable in the hypothetical
14797 case that some broken plugin creates a GST_TAG_IMAGE
14798 tag containing a NULL buffer (#341667).
14800 2006-05-12 Tim-Philipp Müller <tim at centricular dot net>
14802 * tools/gst-launch.c: (print_tag):
14803 Print something more intelligible for image tags when
14804 using the -t switch (#341556).
14806 2006-05-12 Thomas Vander Stichele <thomas at apestaart dot org>
14808 * Makefile.am:
14809 updates for win32
14810 * configure.ac:
14811 define GST_MAJORMINOR so we have it available in win32/common/config.h
14812 Possibly remove it from our Makefile.am files later
14813 * win32/common/config.h:
14814 * win32/common/config.h.in:
14815 added GST_MAJORMINOR
14816 * win32/common/gstenumtypes.c: (register_gst_resource_error):
14817 * win32/common/gstversion.h:
14818 updated
14820 2006-05-12 Sebastien Moutte <sebastien@moutte.net>
14822 * win32/MANIFEST:
14823 Update win32 files listing.
14824 * win32/common/gstversion.h:
14825 Add GST_MAJORMINOR definition.
14826 * win32/common/libgstreamer.def:
14827 Add new exported functions.
14829 2006-05-12 Michael Smith <msmith@fluendo.com>
14831 * gst/gstplugin.c: (gst_plugin_load_file):
14832 If an so file has no plugin entry point, unload the module.
14834 2006-05-11 Wim Taymans <wim@fluendo.com>
14836 * plugins/elements/gstqueue.c: (gst_queue_chain), (gst_queue_loop),
14837 (gst_queue_set_property):
14838 Don't forget to signal the _chain or _loop function
14839 when the queue size or thresholds change since that might
14840 cause them to make progres again.
14842 2006-05-11 Stefan Kost <ensonic@users.sf.net>
14844 * gst/gstclock.c: (gst_clock_class_init):
14845 * gst/gstindex.c: (gst_index_class_init):
14846 * gst/gstobject.c: (gst_object_class_init):
14847 * gst/gstpad.c: (gst_pad_class_init):
14848 * gst/gstpipeline.c: (gst_pipeline_class_init):
14849 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
14850 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
14851 * libs/gst/base/gstbasetransform.c:
14852 (gst_base_transform_class_init):
14853 * libs/gst/net/gstnetclientclock.c:
14854 (gst_net_client_clock_class_init):
14855 * libs/gst/net/gstnettimeprovider.c:
14856 (gst_net_time_provider_class_init):
14857 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
14858 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
14859 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
14860 * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
14861 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
14862 * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
14863 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
14864 * plugins/elements/gstidentity.c: (gst_identity_class_init):
14865 * plugins/elements/gsttee.c: (gst_tee_class_init):
14866 * tests/old/examples/plugins/example.c: (gst_example_class_init):
14867 * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
14868 G_OBJECT_CLASS macro usage batch cleanup, fixes #337747 for core
14870 2006-05-11 Wim Taymans <wim@fluendo.com>
14872 * gst/gstbuffer.c: (_gst_buffer_initialize):
14873 Register subbufer along with the buffer type so that
14874 it does not accidentally gets registered from N
14875 different streaming threads in a non threadsafe way.
14877 2006-05-10 Tim-Philipp Müller <tim at centricular dot net>
14879 * gst/gstbuffer.h:
14880 * gst/gstevent.h:
14881 * gst/gstmessage.h:
14882 Make gtk-doc generate docs for our inlined gst_buffer_ref(),
14883 gst_event_ref() and gst_message_ref() functions again
14884 (ugly hack, please do fix if there's a better way besides
14885 overrides.txt, which doesn't seem to work).
14887 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
14889 * libs/gst/check/gstcheck.h:
14890 add an assert for setting state to avoid lots of repetitive code
14891 in the future
14893 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
14895 * gst/gstvalue.c: (gst_value_serialize_flags):
14896 fix a leak if no flags are set
14897 * tests/check/gst/gstvalue.c: (GST_START_TEST):
14898 fix leak in tests
14900 2006-05-10 Tim-Philipp Müller <tim at centricular dot net>
14902 * docs/manual/basics-pads.xml:
14903 Expand a bit on caps and filtered links and update
14904 examples that were still using the no longer existing
14905 gst_pad_link_filtered() (#338206).
14907 2006-05-10 Wim Taymans <wim@fluendo.com>
14909 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
14910 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
14911 (gst_collect_pads_set_flushing), (gst_collect_pads_start),
14912 (gst_collect_pads_stop):
14913 * libs/gst/base/gstcollectpads.h:
14914 No need to call _stop in _finalize.
14915 Iterate the main pad list in _finalize.
14916 Added some more debug.
14917 Free lists and data in the right order.
14918 Also free data whem doing _remove_pad when stopped for
14919 backward compatibility protect ::started with PAD_LOCK as
14920 well.
14922 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
14924 * gst/gststructure.c: (gst_structure_gtype_from_abbr),
14925 (gst_structure_parse_value):
14926 add some comments
14927 rename a method so that it actually says what it does better
14929 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
14931 * gst/gstevent.c: (_gst_event_initialize):
14932 * gst/gstformat.c: (_gst_format_initialize):
14933 make sure some essential types used by events are registered
14934 as part of gst_init()
14935 * gst/gstvalue.c: (gst_value_serialize_flags):
14936 if no flags are set, serialize them to a value that represents NONE
14937 so that deserializing them works
14938 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
14939 add tests for serialization and deserialization of flags
14941 2006-05-10 Wim Taymans <wim@fluendo.com>
14943 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_collect),
14944 (gst_collect_pads_collect_range), (gst_collect_pads_available),
14945 (gst_collect_pads_check_pads), (gst_collect_pads_check_collected),
14946 (gst_collect_pads_event), (gst_collect_pads_chain):
14947 Update docs.
14948 Better debug info.
14949 Catch and return errors from the collect function
14950 Refuse data on eos pads.
14952 2006-05-10 Edward Hervey <edward@fluendo.com>
14954 * gst/gstinterface.h:
14955 GST_IMPLEMENTS_INTERFACE and GST_IS_IMPLEMENTS_INTERFACE use the normal
14956 GInterface type checking.
14957 They were previously using non-defined macros.
14959 2006-05-09 Wim Taymans <wim@fluendo.com>
14961 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_init),
14962 (gst_collect_pads_finalize), (gst_collect_pads_add_pad),
14963 (gst_collect_pads_remove_pad), (gst_collect_pads_set_flushing),
14964 (gst_collect_pads_start), (gst_collect_pads_stop),
14965 (gst_collect_pads_peek), (gst_collect_pads_pop),
14966 (gst_collect_pads_available), (gst_collect_pads_read),
14967 (gst_collect_pads_flush), (gst_collect_pads_check_pads),
14968 (gst_collect_pads_is_collected), (gst_collect_pads_event),
14969 (gst_collect_pads_chain):
14970 * libs/gst/base/gstcollectpads.h:
14971 Clean up the mess that is collectpads, add comments and
14972 FIXMEs where needed.
14973 Maintain a separate pad list so we can add pads while
14974 collecting the other ones. For this we need a new separate
14975 lock (see comics).
14976 Fix memory leak in finalize.
14977 Refactor some weird code to set/unset pad flushing flags, mark
14978 with comments.
14979 Don't crash in _available, _read, _flush when we're EOS.
14981 * tests/check/libs/.cvsignore:
14982 Ignore adapter check binary.
14984 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
14986 * gst/gstindex.c: (gst_index_resolver_get_type):
14987 * plugins/elements/gstfakesink.c:
14988 (gst_fake_sink_state_error_get_type):
14989 * plugins/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
14990 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type):
14991 * plugins/elements/gstqueue.c: (queue_leaky_get_type):
14992 Const-ify GEnumValue arrays.
14994 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
14996 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
14997 Add test case for flags + gst_buffer_make_metadata_writable().
14999 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
15001 * gst/gstbuffer.c: (gst_buffer_make_metadata_writable):
15002 gst_buffer_make_metadata_writable() should maintain the
15003 buffer flags (those that make sense at least) (see #340859).
15005 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
15007 * tools/gst-inspect.c:
15008 * tools/gst-launch.c:
15009 * tools/gst-typefind.c:
15010 * tools/gst-xmlinspect.c:
15011 * tools/tools.h:
15012 Fix up includes: need to include stdlib.h in tools.h for exit().
15014 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
15016 * gst/gsttaglist.c: (_gst_tag_initialize):
15017 * gst/gsttaglist.h:
15018 API: add GST_TAG_IMAGE tag (#340721).
15020 2006-05-08 Wim Taymans <wim@fluendo.com>
15022 * gst/gstquery.c:
15023 Added some docs for the segment query.
15025 2006-05-08 Wim Taymans <wim@fluendo.com>
15027 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
15028 (gst_base_src_loop), (gst_base_src_change_state):
15029 Always push non-flushing serialized events in the streaming
15030 thread.
15032 2006-05-08 Thomas Vander Stichele <thomas at apestaart dot org>
15034 * gst/gsterror.c: (_gst_stream_errors_init):
15035 Add a missing error string.
15037 2006-05-08 Jan Schmidt <thaytan@mad.scientist.com>
15039 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment):
15040 Add applied_rate to the debug
15042 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
15043 Copy applied_rate into the outgoing NEWSEGMENT event
15045 2006-05-08 Wim Taymans <wim@fluendo.com>
15047 Patch by: Philippe Rouquier <philippero at libertysurf dot fr>
15049 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
15050 (gst_base_sink_change_state):
15051 call ::unlock before taking the PREROLL_LOCK so we can safely
15052 handle elements that lock in ::render.
15053 Fixes #340174.
15055 2006-05-08 Edward Hervey <edward@fluendo.com>
15057 * autogen.sh: (CONFIGURE_DEF_OPT):
15058 Darwin's libtoolize is in fact called glibtoolize.
15059 Adding glibtoolize to the list of accepted names for libtoolize.
15061 2006-05-08 Wim Taymans <wim@fluendo.com>
15063 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
15064 Unify error handling, don't post an error message
15065 when a push() returns EOS but perform our normal EOS
15066 handling code. Fixes #340772.
15068 2006-05-08 Wim Taymans <wim@fluendo.com>
15070 * docs/design/part-overview.txt:
15071 Make upsteam/downstream concepts more clear.
15072 Give an example of serialized/non-serialized events.
15074 * docs/design/part-events.txt:
15075 * docs/design/part-streams.txt:
15076 Mention applied_rate.
15078 * docs/design/part-trickmodes.txt:
15079 Mention applied rate, flesh out some more use cases.
15081 * gst/gstevent.c: (gst_event_new_new_segment),
15082 (gst_event_parse_new_segment), (gst_event_new_new_segment_full),
15083 (gst_event_parse_new_segment_full), (gst_event_new_tag),
15084 (gst_event_parse_tag), (gst_event_new_buffer_size),
15085 (gst_event_parse_buffer_size), (gst_event_new_qos),
15086 (gst_event_parse_qos), (gst_event_parse_seek),
15087 (gst_event_new_navigation):
15088 * gst/gstevent.h:
15089 Add applied_rate field to NEWSEGMENT event.
15090 API: gst_event_new_new_segment_full()
15091 API: gst_event_parse_new_segment_full()
15093 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_seek),
15094 (gst_segment_set_newsegment), (gst_segment_set_newsegment_full),
15095 (gst_segment_to_stream_time), (gst_segment_to_running_time):
15096 * gst/gstsegment.h:
15097 Add applied_rate to GstSegment structure.
15098 Make calculation of stream_time and running_time more correct
15099 wrt rate/applied_rate.
15100 Add some more docs.
15101 API: GstSegment::applied_rate field
15102 API: gst_segment_set_newsegment_full();
15104 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
15105 (gst_base_sink_get_sync_times), (gst_base_sink_get_position):
15106 * libs/gst/base/gstbasetransform.c:
15107 (gst_base_transform_sink_eventfunc),
15108 (gst_base_transform_handle_buffer):
15109 Parse and use applied_rate in the GstSegment field.
15111 * tests/check/gst/gstevent.c: (GST_START_TEST):
15112 Add check for applied_rate field.
15114 * tests/check/gst/gstsegment.c: (GST_START_TEST),
15115 (gstsegments_suite):
15116 Add more checks for various GstSegment operations.
15118 2006-05-08 Wim Taymans <wim@fluendo.com>
15120 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
15121 (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked),
15122 (gst_base_sink_get_position), (gst_base_sink_change_state):
15123 Store the sync time of the buffer end position separatly in a
15124 new variable eos_rtime so we can properly sync the EOS event.
15125 Fixes #340697.
15126 Fix the docs for gst_base_sink_set_qos_enabled().
15127 Don't set segment start to invalid value when we receive a
15128 non TIME newsegment.
15129 get closer to handling position reporting for negative rates
15130 correctly.
15132 2006-05-07 Stefan Kost <ensonic@users.sf.net>
15134 * gst/gstcaps.c:
15135 Docs about how to print caps for debug purposes.
15137 * gst/gstpadtemplate.c: (gst_static_pad_template_get):
15138 use gst_caps_make_writable instead of gst_caps_copy, Fixes #340608
15140 2006-05-07 Stefan Kost <ensonic@users.sf.net>
15142 * gst/gstelement.c:
15143 use full enum names and preprend a '%' in docs strings to make recent
15144 gtk-doc turn that into a link
15146 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
15148 * docs/manual/basics-bins.xml:
15149 * docs/manual/basics-bus.xml:
15150 * docs/manual/basics-pads.xml:
15151 Some typo fixes, some additions, some clarifications.
15153 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
15155 * tools/gst-inspect.c: (main):
15156 * tools/gst-launch.c: (main):
15157 * tools/gst-run.c: (main):
15158 * tools/gst-typefind.c: (main):
15159 * tools/gst-xmlinspect.c: (main):
15160 Use the string passed to g_option_context_new() for
15161 what it's intended for - the program name is already
15162 printed elsewhere.
15164 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
15166 * tools/Makefile.am:
15167 * tools/gst-inspect.c: (main):
15168 * tools/gst-launch.c: (main):
15169 * tools/gst-xmlinspect.c: (main):
15170 * tools/tools.h:
15171 Add back --version command line option (#340460).
15173 * tools/gst-typefind.c: (have_type_handler), (typefind_file), (main):
15174 Add --version option and use GOption for argument parsing; refactor a
15175 bit; accept directories as arguments and recurse into them; lastly,
15176 print a decent error message when things go wrong.
15178 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
15180 * docs/manual/basics-bins.xml:
15181 Don't mention GstThread (#340611)
15182 * docs/manual/basics-elements.xml:
15183 Update link to GObject tutorial (#340607)
15185 2006-05-05 Wim Taymans <wim@fluendo.com>
15187 * gst/gstbuffer.h:
15188 * gst/gstminiobject.c:
15189 Add note about refcounting and miniobject/buffer writeability
15190 to docs. Fixes #340604
15192 * gst/gstelementfactory.h:
15193 Added some explanation about @klass.
15195 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
15197 * docs/manual/intro-motivation.xml:
15198 * docs/manual/manual.xml:
15199 Avoid CORBA & Bonobo references (#340598)
15201 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
15203 * docs/manual/basics-bus.xml:
15204 * docs/manual/basics-pads.xml:
15205 Fix up some inaccuracies and omissions (#340609)
15207 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
15209 * gst/gstghostpad.c:
15210 Small typo in docs (#340625)
15212 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
15214 * gst/parse/Makefile.am:
15215 Make 'make -j' proof (see #340698).
15217 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
15219 * configure.ac:
15220 Require GLib-2.8 here as well.
15222 2006-05-05 Wim Taymans <wim@fluendo.com>
15224 * gst/glib-compat.c:
15225 * gst/gst.c: (init_pre):
15226 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
15227 (gst_object_unref), (gst_object_replace), (gst_object_dispose),
15228 (gst_object_dispatch_properties_changed):
15229 * gst/gstobject.h:
15230 * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
15231 * gst/gststructure.c: (gst_structure_set_valist):
15232 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
15233 Remove pre glib2.8 compatibility, fixes #340508
15235 2006-05-04 Tim-Philipp Müller <tim at centricular dot net>
15237 * gst/gsttaglist.h:
15238 Mention type of tags in doc blurbs.
15240 2006-05-04 Jan Schmidt <thaytan@mad.scientist.com>
15242 * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
15243 (gst_pad_configure_src), (gst_pad_push):
15244 Restore acceptcaps checking behaviour now that good plugins have
15245 been released.
15247 2006-05-04 Tim-Philipp Müller <tim at centricular dot net>
15249 Patch by: James Andrewartha <trs80 at tartarus uwa edu au>
15251 * gst/gst.c:
15252 * gst/gstbus.c:
15253 * gst/gstclock.c:
15254 * gst/gstevent.c:
15255 * gst/gstformat.c:
15256 * gst/gstmessage.c:
15257 * gst/gstparse.c:
15258 * gst/gstquery.c:
15259 * gst/gstutils.c:
15260 * gst/parse/Makefile.am:
15261 * libs/gst/base/gstadapter.c:
15262 * libs/gst/base/gstbasesrc.c:
15263 * libs/gst/base/gstpushsrc.c:
15264 * libs/gst/base/gsttypefindhelper.c:
15265 * plugins/elements/gstfakesrc.c:
15266 * plugins/elements/gstidentity.c:
15267 Make sure gstprivate.h and/or config.h are
15268 always included first, otherwise some of our
15269 defines (like _FILE_OFFSET_BITS) might be
15270 redefined in the system headers. Fixes build
15271 on opensolaris (#340016).
15273 2006-05-04 Wim Taymans <wim@fluendo.com>
15275 * docs/libs/gstreamer-libs-sections.txt:
15276 API: addition: gst_adapter_take_buffer()
15278 * libs/gst/base/gstadapter.c: (gst_adapter_push),
15279 (gst_adapter_peek), (gst_adapter_take), (gst_adapter_take_buffer),
15280 (gst_adapter_available_fast):
15281 * libs/gst/base/gstadapter.h:
15282 Prepare for optimizing the hell out of this hugely inefficient
15283 piece of code.
15284 Added gst_adapter_take_buffer() so we can at least start thinking
15285 about subbuffering and merging.
15286 Added some comments.
15288 * tests/check/Makefile.am:
15289 * tests/check/libs/adapter.c: (GST_START_TEST),
15290 (gst_adapter_suite), (main):
15291 Added GstAdapter check.
15293 2006-05-04 Wim Taymans <wim@fluendo.com>
15295 * docs/design/part-overview.txt:
15296 Fix some typos, add blurb about buffer flags.
15298 2006-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
15300 * docs/libs/gstreamer-libs-sections.txt:
15301 make sure GstBaseTransformClass shows up in the docs
15302 * libs/gst/base/gstbasetransform.c:
15303 * libs/gst/base/gstbasetransform.h:
15304 move docs so gtk-doc picks it up now
15306 2006-05-02 Stefan Kost <ensonic@users.sf.net>
15308 * docs/libs/gstreamer-libs-sections.txt:
15309 add missing symbols to docs
15311 2006-05-02 Stefan Kost <ensonic@users.sf.net>
15313 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
15314 back out the newsegment handling change, see #340060 for ongoing
15315 discussion
15317 2006-04-30 Tim-Philipp Müller <tim at centricular dot net>
15319 * tools/gst-run.c: (get_candidates), (main):
15320 Fix wrong g_file_test() usage (see glib docs for why it doesn't
15321 work); fix typo in error message. Fixes #340079.
15323 2006-04-29 Thomas Vander Stichele <thomas at apestaart dot org>
15325 * common/Makefile.am:
15326 * docs/Makefile.am:
15327 * docs/faq/Makefile.am:
15328 * docs/gst/Makefile.am:
15329 * docs/libs/Makefile.am:
15330 * docs/manual/Makefile.am:
15331 * docs/plugins/Makefile.am:
15332 * docs/pwg/Makefile.am:
15333 * docs/slides/Makefile.am:
15334 * docs/upload.mak:
15335 * common/upload.mak:
15336 move upload.mak to common
15338 2006-04-29 Thomas Vander Stichele <thomas at apestaart dot org>
15340 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
15341 add more asserts on refcounts
15342 do more cleanup at end of tests
15343 fix test leaks showing in FC5
15345 2006-04-29 Stefan Kost <ensonic@users.sf.net>
15347 * plugins/elements/gsttypefindelement.c:
15348 (gst_type_find_element_handle_event):
15349 reverted wrong change and reflowed code to avoid others falling into
15350 this trap
15352 2006-04-28 Stefan Kost <ensonic@users.sf.net>
15354 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
15355 fix changelog entry about last collectpads change,
15356 add notes about proper fix
15358 2006-04-28 Stefan Kost <ensonic@users.sf.net>
15360 * gst/gst.c:
15361 * gst/gstregistry.c: (gst_registry_scan_path_level),
15362 (gst_registry_scan_path):
15363 * gst/gstregistry.h:
15364 only write out registry if it has changed, fixes #338339
15366 2006-04-28 Stefan Kost <ensonic@users.sf.net>
15368 * gst/gstbin.c:
15369 * gst/gstpipeline.c:
15370 * plugins/elements/gstcapsfilter.c:
15371 * plugins/elements/gstfakesink.c:
15372 * plugins/elements/gstfakesrc.c:
15373 * plugins/elements/gstfdsink.c:
15374 * plugins/elements/gstfdsrc.c:
15375 * plugins/elements/gstfilesink.c:
15376 * plugins/elements/gstfilesrc.c:
15377 * plugins/elements/gstidentity.c:
15378 * plugins/elements/gstqueue.c:
15379 * plugins/elements/gsttee.c:
15380 * plugins/elements/gsttypefindelement.c:
15381 (gst_type_find_element_handle_event):
15382 make GstElementDetails const
15384 2006-04-28 Stefan Kost <ensonic@users.sf.net>
15386 * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
15387 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
15388 (gst_collect_pads_is_collected), (gst_collect_pads_event):
15389 more detailed debug and formatting cleanup,
15390 forward newsegments to src-pad (so that e.g. adder not eats them)
15392 2006-04-28 Stefan Kost <ensonic@users.sf.net>
15394 * gst/gstutils.c: (gst_element_link_pads):
15395 cleanup double code
15397 2006-04-28 Stefan Kost <ensonic@users.sf.net>
15399 * libs/gst/controller/gstcontroller.c:
15400 (gst_controller_sync_values):
15401 some little tuning
15402 * tests/check/libs/controller.c: (GST_START_TEST),
15403 (gst_controller_suite):
15404 a new test for live value handling
15406 2006-04-28 Wim Taymans <wim@fluendo.com>
15408 * gst/gstutils.c: (push_and_ref):
15409 Added some more docs.
15410 Fix refcount issue whith gst_element_found_tags() helper
15411 function. Fixes #338335
15413 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
15414 Added testsuite for gst_element_found_tags().
15416 2006-04-28 Michael Smith <msmith@fluendo.com>
15418 * gst/gstvalue.c: (gst_value_serialize_flags):
15419 Avoid NULL dereference when trying to serialize flags containing
15420 invalid values.
15422 2006-04-28 Michael Smith <msmith@fluendo.com>
15424 * plugins/elements/gsttypefindelement.c:
15425 (gst_type_find_element_handle_event):
15426 If we get EOS before any data is accumulated, don't use
15427 uninitialised local variables.
15429 2006-04-28 Michael Smith <msmith@fluendo.com>
15431 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
15432 (gst_dp_event_from_packet):
15433 Fixes in reading/writing events over GDP (not currently used?) -
15434 dereferencing NULL events for unknown/invalid event types, memory
15435 leak, and change g_warning to GST_WARNING.
15437 2006-04-28 Wim Taymans <wim@fluendo.com>
15439 * libs/gst/base/gstbasesink.c: (gst_base_sink_is_too_late),
15440 (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
15441 (gst_base_sink_get_position), (gst_base_sink_change_state):
15442 When frame dropping is enabled, we should not ignore frames
15443 without a duration.
15444 Update some documentation.
15446 2006-04-28 Wim Taymans <wim@fluendo.com>
15448 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
15449 (gst_base_src_send_event), (gst_base_src_change_state):
15450 Documentation updates.
15452 2006-04-28 Wim Taymans <wim@fluendo.com>
15454 * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
15455 (gst_fd_sink_check_fd), (gst_fd_sink_update_fd):
15456 handle EAGAIN, EINTR and short writes correctly. Also clean
15457 up some error cases, avoid a deadlock on bad file descriptors and
15458 use GST_DEBUG_OBJECT.
15459 Fixes #339843
15461 2006-04-28 Wim Taymans <wim@fluendo.com>
15463 * gst/gstvalue.c: (gst_value_serialize_buffer),
15464 (gst_value_deserialize_buffer):
15465 Don't try to serialize a GValue with a NULL buffer.
15466 Fixes #339821.
15468 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
15469 Added check for serialisation of NULL buffers.
15471 2006-04-28 Wim Taymans <wim@fluendo.com>
15473 * gst/gstminiobject.c: (gst_value_take_mini_object):
15474 Taking a NULL miniobject is valid, fix the case where
15475 we try to unref the NULL miniobject.
15477 2006-04-28 Wim Taymans <wim@fluendo.com>
15479 Patch by: Stefan Kost <ensonic at sonicpulse dot de>
15481 * gst/gstbin.c: (gst_bin_handle_message_func):
15482 Update docs.
15483 Don't leak bin refcount when a state recalc is
15484 in progress and we delay another one #339808.
15486 2006-04-28 Wim Taymans <wim@fluendo.com>
15488 * docs/design/part-TODO.txt:
15489 Mention QoS as an ongoing work item.
15491 * docs/design/part-buffering.txt:
15492 New doc about buffering that needs to be fleshed out
15493 at some point.
15495 * docs/design/part-qos.txt:
15496 More QoS policy for decoders/demuxers/transforms
15498 * docs/design/part-trickmodes.txt:
15499 Small update.
15501 2006-04-28 Thomas Vander Stichele <thomas at apestaart dot org>
15503 * configure.ac:
15504 back to HEAD
15506 === release 0.10.5 ===
15508 2006-04-28 Thomas Vander Stichele <thomas at apestaart dot org>
15510 * configure.ac:
15511 releasing 0.10.5, "Fogo"
15513 2006-04-22 Thomas Vander Stichele <thomas at apestaart dot org>
15515 patch by: Wim Taymans
15517 * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
15518 (gst_pad_configure_src), (gst_pad_push):
15519 * gst/gstpipeline.c: (gst_pipeline_init):
15520 Fix internal data flow errors. Fixes #338711.
15522 2006-04-12 Wim Taymans <wim@fluendo.com>
15524 * tests/check/gst/gstelement.c: (GST_START_TEST):
15525 Don't leak the factory.
15527 2006-04-12 Thomas Vander Stichele <thomas at apestaart dot org>
15529 * configure.ac:
15530 * win32/common/config.h:
15531 prerelease
15533 2006-04-12 Tim-Philipp Müller <tim at centricular dot net>
15535 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
15536 (gst_controller_unset_all):
15537 Free allocated GstTimedValues when freeing list nodes.
15538 Should fix leaks 'make check-valgrind' complains about.
15540 * win32/common/libgstcontroller.def:
15541 Add gst_controller_unset_all.
15543 2006-04-11 Stefan Kost <ensonic@users.sf.net>
15545 * docs/libs/gstreamer-libs-sections.txt:
15546 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
15547 (gst_controller_unset_all):
15548 * libs/gst/controller/gstcontroller.h:
15549 API: Added new method gst_controller_unset_all()
15550 fixed gst_controller_unset()
15551 * tests/check/libs/controller.c: (GST_START_TEST),
15552 (gst_controller_suite):
15553 Added two testcases for new and fixed method
15555 2006-04-11 Tim-Philipp Müller <tim at centricular dot net>
15557 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
15558 MSG_DONTWAIT is not defined on Cygwin, so work
15559 around that (fixes #317048).
15561 2006-04-11 Wim Taymans <wim@fluendo.com>
15563 * gst/gstelementfactory.c: (gst_element_register),
15564 (gst_element_factory_create), (gst_element_factory_make):
15565 Some cleanups.
15566 Fixed a FIXME.
15567 Updated docs (Fixes #131079)
15569 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
15570 Small cleanups.
15572 * tests/check/gst/gstelement.c: (GST_START_TEST),
15573 (gst_element_suite):
15574 Added testcase for elementfactory class field.
15576 2006-04-10 Wim Taymans <wim@fluendo.com>
15578 * gst/gstsegment.c:
15579 Added some more docs.
15581 * libs/gst/base/gstbasesink.c: (gst_base_sink_perform_qos),
15582 (gst_base_sink_reset_qos):
15583 Calculate more accurate rate values.
15585 2006-04-09 Sebastien Moutte <sebastien@moutte.net>
15587 * gst/gst_private.h:
15588 add a new #ifdef to use __declspec(dllimport) only for
15589 other modules and not for gstreamer core
15590 * gst/gstbasesink.c: (gst_base_sink_perform_qos):
15591 use gst_guint64_to_gdouble for conversion
15592 * win32/common/libgstreamer.def:
15593 add new exported functions
15594 * win32/vs6/gst_inspect.dsp:
15595 * win32/vs6/gst_launch.dsp:
15596 * win32/vs6/libgstbase.dsp:
15597 * win32/vs6/libgstcontroller.dsp:
15598 * win32/vs6/libgstcoreelements.dsp:
15599 * win32/vs6/libgstdataprotocol.dsp:
15600 * win32/vs6/libgstnet.dsp:
15601 update project files
15603 2006-04-08 Stefan Kost <ensonic@users.sf.net>
15605 * gst/gstbuffer.c: (gst_subbuffer_class_init):
15606 * gst/gstclock.c: (gst_clock_class_init):
15607 * gst/gstelement.c: (gst_element_class_init):
15608 * gst/gstindex.c: (gst_index_class_init):
15609 * gst/gstindexfactory.c: (gst_index_factory_class_init):
15610 * gst/gstobject.c: (gst_object_class_init),
15611 (gst_signal_object_class_init):
15612 * gst/gstpad.c: (gst_pad_class_init):
15613 * gst/gstpadtemplate.c: (gst_pad_template_class_init):
15614 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init):
15615 * gst/gstregistry.c: (gst_registry_class_init):
15616 * gst/gstsystemclock.c: (gst_system_clock_class_init):
15617 * gst/gsttask.c: (gst_task_class_init):
15618 * gst/gstxml.c: (gst_xml_class_init):
15619 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
15620 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
15621 (gst_base_src_loop):
15622 * libs/gst/controller/gstcontroller.c:/
15623 (_gst_controller_class_init):
15624 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
15625 * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
15626 * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init):
15627 * tests/old/examples/plugins/example.c: (gst_example_class_init):
15628 * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
15629 Fix #337365 (g_type_class_ref <-> g_type_class_peek_parent)
15631 2006-04-08 Tim-Philipp Müller <tim at centricular dot net>
15633 * gst/gstpad.c: (gst_pad_link):
15634 Must set peer pads before calling the link function, otherwise
15635 a task started from a link function might get a flow-not-linked
15636 result when trying to push because the other thread where the
15637 linking happens hasn't had a chance to set the peers yet. This
15638 might happen for example when a queue gets linked to a downstream
15639 element, as queue starts a streaming task when its source pad
15640 gets linked. Happens in real life when playing back flac/musepack
15641 files in playbin (#332390).
15643 2006-04-08 Stefan Kost <ensonic@users.sf.net>
15645 * gst/gstindex.h:
15646 * gst/gstxml.h:
15647 * libs/gst/base/gstadapter.h:
15648 * libs/gst/base/gstbasesink.h:
15649 * libs/gst/base/gstbasesrc.h:
15650 * libs/gst/base/gstbasetransform.h:
15651 * libs/gst/base/gstcollectpads.h:
15652 * libs/gst/base/gstpushsrc.h:
15653 Fix broken GObject macros
15655 2006-04-07 Wim Taymans <wim@fluendo.com>
15657 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
15658 Initialize start and stop times, thanks valgrind.
15660 2006-04-07 Wim Taymans <wim@fluendo.com>
15662 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
15663 Be a bit nicer to badly behaving upstream elements that expect
15664 us to deal with non TIME segments and timestamps (such as fakesrc
15665 in the testsuite).
15667 2006-04-07 Wim Taymans <wim@fluendo.com>
15669 * gst/gstbus.c:
15670 Small documentation clarification about the signal watch.
15672 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
15673 (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
15674 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
15675 (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
15676 (gst_base_sink_get_position_last),
15677 (gst_base_sink_get_position_paused), (gst_base_sink_change_state):
15678 Convert and store timestamps in stream time and running time, the
15679 raw timestamps are not useful, also document this better.
15680 Use different window sizes for good and bad QoS observations so
15681 we react to badness a little quicker.
15682 Keep track of the amount of rendered and dropped buffers.
15683 Send QoS timestamps in running time.
15685 * libs/gst/base/gstbasetransform.c:
15686 (gst_base_transform_sink_eventfunc),
15687 (gst_base_transform_handle_buffer):
15688 Compare QoS timestamps against running time.
15690 2006-04-06 Tim-Philipp Müller <tim at centricular dot net>
15692 * gst/gstpad.c:
15693 Typo fixes in docs.
15695 2006-04-06 Michael Smith <msmith@fluendo.com>
15697 * gst/gstpad.c: (gst_pad_set_property):
15698 Use g_value_get_object() instead of g_value_dup_gst_object(),
15699 to avoid double-reffing the pad template (which we then sink,
15700 so this worked previously if (and only if) the pad template
15701 was floating.
15703 * gst/gstpadtemplate.c: (gst_pad_template_init),
15704 (gst_pad_template_pad_created):
15705 Never return floating references to pad templates, create
15706 them as initially-sunken.
15708 Document an extra function (and make this stop sinking our
15709 pad template, since that is now guaranteed to do nothing,
15710 since we created it sunken).
15712 * gst/gstghostpad.c:
15713 Fix docs typo.
15715 2006-04-06 Tim-Philipp Müller <tim at centricular dot net>
15717 * gst/gstinfo.c: (__gst_in_valgrind):
15718 Add some newlines.
15720 * plugins/elements/gsttypefindelement.c:
15721 (gst_type_find_element_chain):
15722 Don't leak buffer caps.
15724 2006-04-06 Michael Smith <msmith@fluendo.com>
15726 * gst/parse/grammar.y:
15727 Fix a leak in parse-launch for any source-or-sink named element
15728 references used.
15730 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
15731 Unref the pipeline if it exists after we've failed parsing.
15733 2006-04-05 Michael Smith <msmith@fluendo.com>
15735 * gst/gstpipeline.c: (gst_pipeline_init):
15736 When we create a pipeline bus, initially create it in flushing mode.
15737 Fixes leaks in at least one test, and makes a new pipeline work the
15738 same as one that has gone to READY and then back to NULL.
15740 * gst/gstelement.c:
15741 Typo fix in docs.
15743 2006-04-05 Michael Smith <msmith@fluendo.com>
15745 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
15746 Unref a pad we reffed.
15747 * tests/check/gst/gstutils.c: (GST_START_TEST):
15748 Unref bins
15750 2006-04-05 Michael Smith <msmith@fluendo.com>
15752 * gst/gstquery.c: (gst_query_set_formats),
15753 (gst_query_set_formatsv):
15754 Fix leaking GValues in queries, as shown by valgrind/testsuite.
15756 2006-04-05 Michael Smith <msmith@fluendo.com>
15758 * tests/check/generic/sinks.c: (GST_START_TEST):
15759 Fix a variety of memleaks in sinks check, which are only sometimes
15760 shown by running the tests under valgrind (weird?).
15762 2006-04-05 Jan Schmidt <thaytan@mad.scientist.com>
15764 * docs/version.entities.in:
15765 Fix the substituted entity name after thomas' changes on the
15766 weekend.
15768 2006-04-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
15770 * gst/gstinfo.c: (__gst_in_valgrind): Use printf instead of
15771 VALGRIND_PRINTF
15773 2006-04-05 Andy Wingo <wingo@pobox.com>
15775 * gst/gstpad.c (gst_pad_set_blocked_async): More debug.
15777 * libs/gst/base/gstbasetransform.c
15778 (gst_base_transform_sink_eventfunc): When resetting our segment on
15779 FLUSH_STOP, also update the flag saying we haven't seen a
15780 newsegment.
15782 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
15784 Patch by: Paolo Borelli <pborelli at katamail dot com>
15786 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
15787 (gst_plugin_check_license):
15788 minor clean-ups: G_DEFINE_TYPE already takes care of the
15789 parent_class stuff, no need to do it twice. Mark array of
15790 license strings as constant. (#337103)
15792 2006-04-04 Michael Smith <msmith@fluendo.com>
15794 * tools/gst-inspect.c: (print_element_list):
15795 Free the right plugin list; fixes a memory leak.
15797 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
15799 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
15801 * plugins/elements/gstfilesink.c: (gst_file_sink_render):
15802 Don't error out on empty buffers (#336945).
15804 2006-04-04 Jan Schmidt <thaytan@mad.scientist.com>
15806 * docs/libs/gstreamer-libs-sections.txt:
15807 * gst/gsttaglist.c:
15808 * libs/gst/base/gstbasesink.c:
15809 * libs/gst/base/gstbasesink.h:
15810 * libs/gst/base/gstbasesrc.c:
15811 * libs/gst/base/gstbasesrc.h:
15812 Documentation updates. Make BaseSink and BaseSrc docs contain the
15813 class structure so that people can actually see the prototypes for
15814 virtual functions they're supposed to be overriding.
15816 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
15818 * plugins/elements/gsttypefindelement.c:
15819 (gst_type_find_element_chain):
15820 More debug info; when skipping typefinding, send cached
15821 events in all cases.
15823 2006-04-01 Thomas Vander Stichele <thomas at apestaart dot org>
15825 * configure.ac:
15826 use new AS_VERSION and AS_NANO macros
15827 * gst/gst-i18n-lib.h:
15828 * gst/gst.c:
15829 * gst/gsterror.c:
15830 * gst/gstversion.h.in:
15831 * win32/common/config.h:
15832 * win32/common/config.h.in:
15833 update accordingly
15835 2006-03-31 Michael Smith <msmith@fluendo.com>
15837 * plugins/elements/gsttypefindelement.c:
15838 (gst_type_find_element_chain):
15839 Do not typefind content if the buffers already have caps.
15840 Neccesary for icydemux (#333657), and the right thing to do anyway.
15842 2006-03-30 Wim Taymans <wim@fluendo.com>
15844 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
15845 (gst_base_sink_finalize), (gst_base_sink_set_qos_enabled),
15846 (gst_base_sink_is_qos_enabled), (gst_base_sink_do_sync),
15847 (gst_base_sink_record_qos_observation),
15848 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
15849 (gst_base_sink_is_too_late), (gst_base_sink_render_object),
15850 (gst_base_sink_change_state):
15851 More QoS measurements as described in the design doc.
15852 Get rid of ringbuffer with observations, running average is
15853 more simple and equally good.
15854 Calculates valid proportion now.
15855 Added beginning of flood measurement.
15857 2006-03-29 Wim Taymans <wim@fluendo.com>
15859 * docs/design/part-qos.txt:
15860 * gst/gstclock.c:
15861 Small documentation updates and additions.
15863 2006-03-29 Wim Taymans <wim@fluendo.com>
15865 * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
15866 (gst_base_src_send_event), (gst_base_src_loop),
15867 (gst_base_src_change_state):
15868 Perform the EOS logic when we reach the segment stop position.
15869 Fix compilation on gcc4.1
15871 2006-03-29 Wim Taymans <wim@fluendo.com>
15873 Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
15875 * plugins/elements/gstqueue.c: (gst_queue_init),
15876 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
15877 (gst_queue_set_property):
15878 * plugins/elements/gstqueue.h:
15879 In queue, when EOS is received, if minimum threshold > max_size -
15880 current_level, there is chance that queue blocks forever in conditional
15881 item del wait. This is because the queue is not emptied completely due
15882 to minimum threshold. Here is another approach. Instead of setting
15883 cur_levels to max in EOS, just zero all minimum threshold levels. This
15884 should make sure that queue gives out all data. When going to READY
15885 (stop) state, just reset the original minimum threshold levels.
15886 Fixes #336336.
15888 2006-03-29 Tim-Philipp Müller <tim at centricular dot net>
15890 * plugins/elements/gsttypefindelement.c: (stop_typefinding),
15891 (gst_type_find_element_handle_event),
15892 (gst_type_find_element_send_cached_events),
15893 (gst_type_find_element_change_state):
15894 * plugins/elements/gsttypefindelement.h:
15895 When typefinding is done in push mode, we should cache
15896 events we receive during typefinding instead of just
15897 dropping them (e.g. newsegment, custom events from
15898 dvdreadsrc etc.) and then send them out once we've
15899 determined the type of the stream (and decodebin
15900 has had a chance to plug in a decoder/demuxer).
15902 2006-03-27 Wim Taymans <wim@fluendo.com>
15904 * docs/design/part-qos.txt:
15905 First QoS ideas.
15907 2006-03-27 Wim Taymans <wim@fluendo.com>
15909 Inspired by a patch of: Lutz Mueller <lutz at topfrose dot de>
15911 * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
15912 (gst_base_src_send_event), (gst_base_src_change_state):
15913 Handle element seek correctly when we are streaming.
15914 Fixes #326998.
15916 2006-03-24 Michael Smith <msmith@fluendo.com>
15918 * docs/faq/gst-uninstalled:
15919 Set up LD_LIBRARY_PATH to point at all the gstreamer libs. This will
15920 allow you to correctly run intalled applications built against old
15921 core, using plugins that require updated core (e.g. running
15922 installed totem against a full uninstalled gstreamer stack)
15924 2006-03-24 Stefan Kost <ensonic@users.sf.net>
15926 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
15927 more debug details
15929 2006-03-24 Wim Taymans <wim@fluendo.com>
15931 * docs/gst/gstreamer-sections.txt:
15932 Rearrange the order of the methods so that related methods
15933 are grouped together in sections.
15935 2006-03-24 Stefan Kost <ensonic@users.sf.net>
15937 * gst/gstelement.c:
15938 Little clarification in the docs
15940 2006-03-24 Stefan Kost <ensonic@users.sf.net>
15942 * docs/README:
15943 formatting fix
15944 * plugins/elements/gstidentity.c:
15945 * plugins/elements/gstqueue.c:
15946 * plugins/elements/gsttee.c:
15947 * plugins/elements/gsttypefindelement.c:
15948 GST_ELEMENT_DETAILS formatting
15950 2006-03-24 Wim Taymans <wim@fluendo.com>
15952 * libs/gst/base/gstbasesink.h:
15953 Only add fields, not insert or we break ABI.
15955 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
15957 * win32/common/libgstbase.def:
15958 * win32/common/libgstreamer.def:
15959 Update, add recently added functions.
15961 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
15963 * docs/gst/gstreamer-sections.txt:
15964 * gst/gstutils.c: (gst_pad_query_peer_position),
15965 (gst_pad_query_peer_duration), (gst_pad_query_peer_convert):
15966 * gst/gstutils.h:
15967 API: add some new utility functions:
15968 - gst_pad_query_peer_position()
15969 - gst_pad_query_peer_duration()
15970 - gst_pad_query_peer_convert()
15972 2006-03-23 Wim Taymans <wim@fluendo.com>
15974 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
15975 (gst_base_sink_init), (gst_base_sink_finalize),
15976 (gst_base_sink_set_qos_enabled), (gst_base_sink_is_qos_enabled),
15977 (gst_base_sink_set_property), (gst_base_sink_get_property),
15978 (gst_base_sink_commit_state), (gst_base_sink_get_sync_times),
15979 (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
15980 (gst_base_sink_add_qos_observation), (gst_base_sink_send_qos),
15981 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
15982 (gst_base_sink_is_too_late), (gst_base_sink_render_object),
15983 (gst_base_sink_preroll_object), (gst_base_sink_event),
15984 (gst_base_sink_chain_unlocked), (gst_base_sink_get_position_last),
15985 (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
15986 (gst_base_sink_query), (gst_base_sink_change_state):
15987 Decouple max-lateness and the fact that QoS messages are generated
15988 with a new property (qos).
15989 added API: GstBaseSink::async_play()
15990 Add vmethod so subclasses can be notified of ASYNC playing
15991 state changes.
15992 Collect timestamp start and stop to report better current
15993 position in EOS/PLAYING/PAUSED/READY/NULL.
15994 Refactor QoS/frame dropping and other measurements.
15995 API: GstBaseSrc::qos
15996 Fixes #326311
15998 * libs/gst/base/gstbasesink.h:
15999 Added Private struct.
16000 API: gst_base_sink_set_qos_enabled()
16001 API: gst_base_sink_is_qos_enabled()
16003 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
16005 * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
16006 If compiling against GLib-2.8 or newer, try to read the
16007 registry file using GMappedFile first before falling back
16008 to fopen() + fread() (#332151).
16010 2006-03-22 Wim Taymans <wim@fluendo.com>
16012 * gst/gstinfo.c: (gst_debug_set_active),
16013 (gst_debug_category_set_threshold):
16014 Disable debugging unless explicitly activated.
16015 Fixes #335480.
16017 2006-03-22 Wim Taymans <wim@fluendo.com>
16019 * gst/gstelement.c: (gst_element_set_locked_state),
16020 (gst_element_dispose):
16021 Cleanup the error case.
16023 * gst/gstobject.c: (gst_object_dispose):
16024 print a critical when some object was disposed with
16025 a parent, also revive the object since it might
16026 crash the parent.
16028 2006-03-22 Tim-Philipp Müller <tim at centricular dot net>
16030 * tools/gst-launch.1.in:
16031 Fix another typo.
16033 2006-03-21 Thomas Vander Stichele <thomas at apestaart dot org>
16035 * configure.ac:
16036 * tests/check/Makefile.am:
16037 disable some tests when we don't have a registry
16038 * tests/check/gst/gstutils.c: (gst_utils_suite):
16039 don't build the part that needs parsing
16041 2006-03-21 Thomas Vander Stichele <thomas at apestaart dot org>
16043 * gst/Makefile.am
16044 * tests/examples/Makefile.am:
16045 fix --disable-parse build
16047 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
16049 * tools/gst-feedback.1.in:
16050 Fix typo: s/feeback/feedback/ (#133494).
16052 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
16054 * tools/Makefile.am:
16055 * tools/gst-launch.1.in:
16056 Add FILES section and correct entry about GST_REGISTRY_PATH
16057 environment variable (#133495; #133494).
16059 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
16061 * tools/Makefile.am:
16062 * tools/gst-md5sum.1.in:
16063 * tools/gst-md5sum.c:
16064 Remove gst-md5sum and man page (the md5sink element
16065 required was removed ages ago)
16067 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
16069 * gst/gststructure.c: (gst_structure_id_set_value):
16070 Make sure that string fields in structures/taglists
16071 contain valid UTF-8 - we don't want to pass rubbish to
16072 applications because of a buggy plugin (cp. #334167).
16074 2006-03-21 Edward Hervey <edward@fluendo.com>
16076 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
16077 (gst_bin_handle_message_func):
16078 * gst/gstclock.c: (gst_clock_dispose), (gst_clock_set_master):
16079 * gst/gstelement.c: (gst_element_set_clock), (gst_element_dispose),
16080 (gst_element_set_bus_func):
16081 * gst/gstghostpad.c: (gst_proxy_pad_dispose):
16082 * gst/gstminiobject.c: (gst_value_set_mini_object),
16083 (gst_value_take_mini_object):
16084 * gst/gstpad.c: (gst_pad_set_pad_template):
16085 * gst/gstpipeline.c: (gst_pipeline_dispose),
16086 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
16087 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop),
16088 (gst_collect_pads_chain):
16089 * libs/gst/net/gstnettimeprovider.c:
16090 (gst_net_time_provider_set_property):
16091 Series of fixes for dereferenced pointers that gcc 4.1 complains about.
16092 It's in fact all issues with gst_*object_replace().
16094 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
16096 Patch by: Loïc Minier <lool + gnome at via dot ecp dot fr>
16098 * pkgconfig/gstreamer-check-uninstalled.pc.in:
16099 * pkgconfig/gstreamer-check.pc.in:
16100 Use @CHECK_LIBS@ here instead of hard-coding -lcheck (#334109).
16102 2006-03-21 Edward Hervey <edward@fluendo.com>
16104 * gst/gstbuffer.h:
16105 * gst/gstevent.h:
16106 * gst/gstmessage.h:
16107 gst_[buffer|event|message]_ref() macros are replaced by a static
16108 inline functions because gcc-4.1 will about if the return value
16109 isn't used.
16110 * tests/check/gst/gstevent.c: (event_probe):
16111 gst_event_ref now has to be given a GstEvent* , fix check accordingly.
16113 2006-03-20 Jan Schmidt <thaytan@mad.scientist.com>
16115 * gst/gstutils.h:
16116 Add G_UNLIKELY to our boilerplate to optimise the 'already registered
16117 the type' case. (Closes: #335195 for now). In the future, when we
16118 depend on GLib 2.10, we could also intern the type name using
16119 g_intern_static_string()
16121 2006-03-20 Wim Taymans <wim@fluendo.com>
16123 * gst/gstbin.c: (gst_bin_handle_message_func),
16124 (bin_query_max_init), (bin_query_position_fold),
16125 (bin_query_position_done), (gst_bin_query):
16126 Position query should also take max of all streams.
16128 2006-03-20 Wim Taymans <wim@fluendo.com>
16130 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
16131 (gst_fake_src_finalize):
16132 Fix leaks in fakesrc.
16134 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
16135 Fix leaks in the testcase.
16137 2006-03-19 Sebastien Moutte <sebastien@moutte.net>
16139 * gst/gst_private.h:
16140 add win32 specific import decoration(__declspec(dllimport))
16141 for all extern GstDebugCategory * variables
16142 * win32/common/libgstbase.def:
16143 * win32/common/libgstcontroller.def:
16144 * win32/common/libgstreamer.def:
16145 Add some exports, remove empty lines
16146 * win32/common/libgstdataprotocol.def:
16147 * win32/common/libgstdataprotocol.dsp:
16148 * win32/common/libgstnet.def:
16149 * win32/common/libgstnet.dsp:
16150 new project files and exportation files added
16152 2006-03-19 Wim Taymans <wim@fluendo.com>
16154 * tests/check/libs/basesrc.c: (eos_event_counter):
16155 Use proper return value for probe.
16157 2006-03-17 Wim Taymans <wim@fluendo.com>
16159 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
16160 (gst_pad_push):
16161 Don't leak buffers, caps and pads on negotiation errors.
16163 2006-03-16 Stefan Kost <ensonic@users.sf.net>
16165 * docs/faq/cvs.xml:
16166 * docs/faq/dependencies.xml:
16167 * docs/faq/developing.xml:
16168 * docs/faq/faq.xml:
16169 * docs/faq/general.xml:
16170 * docs/faq/getting.xml:
16171 * docs/faq/legal.xml:
16172 * docs/faq/troubleshooting.xml:
16173 * docs/faq/using.xml:
16174 Faq review and update.
16176 2006-03-16 Jan Schmidt <thaytan@mad.scientist.com>
16178 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
16179 (gst_pad_push):
16180 Don't pound the cpu to pieces by checking get_caps when accept_caps
16181 is called with the same caps as the pad already has.
16182 Use GST_DEBUG_OBJECT when outputting caps change information.
16184 2006-03-15 Wim Taymans <wim@fluendo.com>
16186 * gst/gstclock.c: (gst_clock_class_init):
16187 Fix docs.
16189 2006-03-15 Jan Schmidt <thaytan@mad.scientist.com>
16191 * gst/gstbuffer.h:
16192 Documentation fix.
16194 * gst/gstpad.c: (gst_pad_init), (gst_pad_acceptcaps_default),
16195 (gst_pad_accept_caps), (gst_pad_configure_sink),
16196 (gst_pad_configure_src), (gst_pad_chain), (gst_pad_push):
16197 Make the default acceptcaps behaviour be to check the requested
16198 caps against the gst_pad_get_caps output.
16200 Ensure that gst_pad_accept_caps is used to check caps when a pad
16201 doesn't have a setcaps function, so that pads automatically refuse
16202 caps that they don't allow in their pad template. (Fixes #332986)
16204 When a buffer with attached caps is pushed, ensure that the source
16205 pad receives those caps even if the element didn't call
16206 gst_pad_set_caps first.
16208 2006-03-15 Wim Taymans <wim@fluendo.com>
16210 * libs/gst/base/gstadapter.c:
16211 Add some docs.
16213 2006-03-15 Tim-Philipp Müller <tim at centricular dot net>
16215 * win32/common/libgstbase.def:
16216 * win32/common/libgstcontroller.def:
16217 * win32/common/libgstreamer.def:
16218 Add a whole bunch of missing functions (#334434).
16220 2006-03-14 Wim Taymans <wim@fluendo.com>
16222 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
16223 (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
16224 (gst_base_sink_do_sync), (gst_base_sink_do_qos):
16225 Better debug info when we receive a segment event.
16226 Reorganize a bit so we can pass the get_times() results around.
16227 Use the segment format when calculating the running time.
16228 Don't do QoS is sync is disabled or we have no clock or the
16229 element does not want us to sync to the clock.
16230 Don't drop buffers if QoS is disabled for now.
16232 2006-03-14 Wim Taymans <wim@fluendo.com>
16234 * gst/gstclock.c: (gst_clock_class_init), (do_linear_regression):
16235 Marked the stats property as unimplemented so people don't get
16236 wild ideas.
16237 Add debug message when regression goes wrong.
16238 Added some more docs.
16240 2006-03-14 Wim Taymans <wim@fluendo.com>
16242 * gst/gstsegment.c: (gst_segment_to_stream_time):
16243 Return correct return type in case of errors.
16245 2006-03-14 Wim Taymans <wim@fluendo.com>
16247 * gst/gstformat.c: (gst_format_get_name), (gst_format_to_quark):
16248 Don't segfault on invalid formats.
16250 2006-03-14 Tim-Philipp Müller <tim at centricular dot net>
16252 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
16253 Can't use gst_segment_to_running_time() when the segment
16254 is not in GST_TIME_FORMAT (like with filesink, for example).
16255 Stops flac encoding pipelines from spewing critical warnings
16256 at EOS (#331248).
16258 2006-03-14 Tim-Philipp Müller <tim at centricular dot net>
16260 * gst/gstpipeline.c: (gst_pipeline_class_init):
16261 Add 'Since: 0.10.5' to gtk-doc blurb for added property.
16263 * plugins/elements/gsttypefindelement.c:
16264 (gst_type_find_element_handle_event):
16265 Don't try to typefind empty streams.
16267 2006-03-14 Wim Taymans <wim@fluendo.com>
16269 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
16270 (gst_base_sink_do_qos):
16271 Separate QoS calculation.
16272 Only drop buffers when lateness is bigger than the
16273 duration of the buffer.
16275 2006-03-13 Wim Taymans <wim@fluendo.com>
16277 * gst/gstpipeline.c: (gst_pipeline_set_property),
16278 (gst_pipeline_get_property), (do_pipeline_seek),
16279 (gst_pipeline_change_state), (gst_pipeline_set_delay),
16280 (gst_pipeline_get_delay):
16281 Don't deadlock when reading properties.
16283 2006-03-13 Wim Taymans <wim@fluendo.com>
16285 * libs/gst/base/gstbasetransform.c:
16286 (gst_base_transform_class_init), (gst_base_transform_init),
16287 (gst_base_transform_sink_event),
16288 (gst_base_transform_sink_eventfunc),
16289 (gst_base_transform_src_event), (gst_base_transform_src_eventfunc),
16290 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
16291 (gst_base_transform_set_property),
16292 (gst_base_transform_get_property),
16293 (gst_base_transform_change_state), (gst_base_transform_update_qos),
16294 (gst_base_transform_set_qos_enabled),
16295 (gst_base_transform_is_qos_enabled):
16296 * libs/gst/base/gstbasetransform.h:
16297 Make basetransform virtual method for src events too.
16298 Handle QOS in basetransform.
16299 API: gst_base_transform_update_qos()
16300 API: gst_base_transform_set_qos_enabled()
16301 API: gst_base_transform_is_qos_enabled()
16303 2006-03-13 Wim Taymans <wim@fluendo.com>
16305 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
16306 (gst_base_sink_do_sync):
16307 Small cleanups.
16308 Use QOS debug category.
16310 2006-03-13 Wim Taymans <wim@fluendo.com>
16312 * plugins/elements/gstqueue.c:
16313 Very small doc update.
16315 2006-03-13 Wim Taymans <wim@fluendo.com>
16317 * gst/gst_private.h:
16318 * gst/gstinfo.c: (_gst_debug_init):
16319 Added QOS debug category
16321 2006-03-13 Wim Taymans <wim@fluendo.com>
16323 * docs/gst/gstreamer-sections.txt:
16324 * gst/gstbin.c: (bin_bus_handler), (gst_bin_handle_message_func):
16325 * gst/gstbin.h:
16326 * gst/gstbus.c: (gst_bus_class_init):
16327 * gst/gstbus.h:
16328 * gst/gstclock.c:
16329 * gst/gstelement.c: (gst_element_set_locked_state):
16330 * gst/gstsegment.c:
16331 Documentation updates.
16333 * gst/gstpipeline.c: (gst_pipeline_get_type),
16334 (gst_pipeline_class_init), (gst_pipeline_init),
16335 (gst_pipeline_dispose), (gst_pipeline_set_property),
16336 (gst_pipeline_get_property), (do_pipeline_seek),
16337 (gst_pipeline_send_event), (gst_pipeline_change_state),
16338 (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay),
16339 (gst_pipeline_get_delay):
16340 * gst/gstpipeline.h:
16341 Added methods for setting the delay.
16342 API: gst_pipeline_set_delay()
16343 API: gst_pipeline_get_delay()
16344 Add pipeline debug category
16345 Various cleanups.
16346 Updated docs.
16347 Don't reset stream time when seek failed.
16349 2006-03-13 Wim Taymans <wim@fluendo.com>
16351 * docs/design/draft-klass.txt:
16352 * docs/design/part-clocks.txt:
16353 * docs/design/part-events.txt:
16354 * docs/design/part-gstbin.txt:
16355 * docs/design/part-gstpipeline.txt:
16356 * docs/design/part-messages.txt:
16357 * docs/design/part-negotiation.txt:
16358 * docs/design/part-overview.txt:
16359 * docs/design/part-preroll.txt:
16360 * docs/design/part-seeking.txt:
16361 * docs/design/part-states.txt:
16362 * docs/design/part-streams.txt:
16363 Documentation updates.
16365 2006-03-12 Julien MOUTTE <julien@moutte.net>
16367 * gst/gsttaglist.c: Fix rubbish docs that are encouraging
16368 us to leak strings...
16370 2006-03-12 Thomas Vander Stichele <thomas at apestaart dot org>
16372 * libs/gst/net/gstnettimeprovider.c:
16373 fix docs
16374 * win32/common/config.h:
16375 update
16377 2006-03-12 Tim-Philipp Müller <tim at centricular dot net>
16379 Patch by: Julio M. Merino Vidal <jmmv at netbsd org>
16381 * configure.ac:
16382 Don't check for libgnomeui (leftover from old examples
16383 that aren't built or disted any longer) (#334303).
16385 2006-03-11 Tim-Philipp Müller <tim at centricular dot net>
16387 * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
16388 * plugins/elements/gstfilesink.c: (gst_file_sink_render):
16389 Emit RESOURCE_NO_SPACE_LEFT error here as well when
16390 there's no space left on the device.
16392 2006-03-10 Tim-Philipp Müller <tim at centricular dot net>
16394 * gst/gstclock.h:
16395 Fix GST_CLOCK_TIME_IS_VALID signedness issues - we need
16396 to cast the input to GstClockTime before comparing with
16397 another GstClockTime value.
16399 2006-03-10 Thomas Vander Stichele <thomas at apestaart dot org>
16401 * configure.ac:
16402 back to trunk
16404 === release 0.10.4 ===
16406 2006-03-10 Thomas Vander Stichele <thomas at apestaart dot org>
16408 * configure.ac:
16409 releasing 0.10.4, "Light"
16411 2006-03-10 Michael Smith <msmith@fluendo.com>
16413 * libs/gst/dataprotocol/dataprotocol.c:
16414 Fix docs for dataprocotol to not get the return types completely
16415 wrong for a few functions.
16417 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
16419 * docs/gst/gstreamer-sections.txt:
16420 * gst/gstpipeline.c: (gst_pipeline_class_init),
16421 (gst_pipeline_init), (gst_pipeline_set_property),
16422 (gst_pipeline_get_property), (gst_pipeline_change_state),
16423 (gst_pipeline_set_auto_flush_bus),
16424 (gst_pipeline_get_auto_flush_bus):
16425 * gst/gstpipeline.h:
16426 Add new API: gst_pipeline_set_auto_flush_bus() and
16427 gst_pipeline_get_auto_flush_bus() to disable automatic
16428 flushing of the pipeline's GstBus when going from READY
16429 to NULL state (#332045).
16431 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
16433 * docs/gst/gstreamer-sections.txt:
16434 * gst/gsturi.c: (gst_uri_has_protocol):
16435 * gst/gsturi.h:
16436 Add new API: gst_uri_has_protocol() (#333779).
16438 2006-03-09 Wim Taymans <wim@fluendo.com>
16440 * gst/gstclock.c: (gst_clock_entry_new),
16441 (gst_clock_id_compare_func), (gst_clock_id_wait),
16442 (gst_clock_id_wait_async), (gst_clock_id_unschedule),
16443 (gst_clock_init), (gst_clock_get_internal_time),
16444 (gst_clock_set_master), (do_linear_regression),
16445 (gst_clock_add_observation), (gst_clock_set_property):
16446 * gst/gstclock.h:
16447 Review docs.
16448 Small cleanups.
16449 Fix a possible segfault when the window-size is made smaller.
16450 Calculate jitter before performing the clock wait. Ideally
16451 the clock implementation should calculate jitter but we need
16452 API breakage for that.
16454 * gst/gstsystemclock.c: (gst_system_clock_init):
16455 Docs review.
16457 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
16458 Remove leftover else
16460 * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
16461 (gst_systemclock_suite):
16462 Added check to test GST_CLOCK_DIFF.
16464 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
16466 * libs/gst/base/gsttypefindhelper.c: (helper_find_get_length),
16467 (gst_type_find_helper_get_range):
16468 If we are provided with the size, we should implement
16469 GstTypeFind::get_length, so that typefind functions who
16470 want to can actually peek at the middle of a file.
16472 2006-03-08 Tim-Philipp Müller <tim at centricular dot net>
16474 * docs/manual/advanced-dataaccess.xml:
16475 Add some very very basic error checking.
16477 * docs/pwg/appendix-checklist.xml:
16478 Some updates to the list of things to check when writing an element.
16480 2006-03-08 Wim Taymans <wim@fluendo.com>
16482 * docs/design/part-element-transform.txt:
16483 Added some docs about the design of tranform elements.
16485 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
16486 (gst_base_src_loop), (gst_base_src_change_state):
16487 Mark buffers with the DISCONT flag.
16489 2006-03-08 Michael Smith <msmith@fluendo.com>
16491 * gst/gstregistry.h:
16492 * gst/gstregistryxml.c: (gst_registry_save),
16493 (gst_registry_save_escaped), (gst_registry_xml_save_caps),
16494 (gst_registry_xml_save_pad_template),
16495 (gst_registry_xml_save_feature), (gst_registry_xml_save_plugin),
16496 (gst_registry_xml_write_cache):
16497 Rewrite registry-saving to avoid race conditions and check for
16498 failed writes.
16500 2006-03-08 Wim Taymans <wim@fluendo.com>
16502 * libs/gst/base/gstbasetransform.c:
16503 (gst_base_transform_transform_caps),
16504 (gst_base_transform_transform_size),
16505 (gst_base_transform_prepare_output_buffer),
16506 (gst_base_transform_get_unit_size),
16507 (gst_base_transform_buffer_alloc),
16508 (gst_base_transform_handle_buffer),
16509 (gst_base_transform_change_state):
16510 Cleanups, separate normal flow from errors, add sensible
16511 DEBUG lines.
16512 Don't try to renegotiate when allocating an output buffer.
16513 Also copy DISCONT buffer flag when copying a buffer.
16514 Reset the transform after we finish streaming, not during.
16516 2006-03-08 Wim Taymans <wim@fluendo.com>
16518 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
16519 Use last buffer timestamp in qos message.
16521 2006-03-07 Wim Taymans <wim@fluendo.com>
16523 Patch by: Christophe Fergeau
16525 * docs/pwg/advanced-tagging.xml:
16526 * docs/pwg/building-pads.xml:
16527 fixes #333416
16529 2006-03-07 Wim Taymans <wim@fluendo.com>
16531 * docs/libs/gstreamer-libs-sections.txt:
16532 Added basesink new methods.
16534 * gst/gstevent.c:
16535 * gst/gstevent.h:
16536 Docs updates. Flesh out the QoS docs.
16538 * libs/gst/base/gstadapter.c:
16539 Small doc clarification about ownership and flushing.
16541 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_sync),
16542 (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
16543 (gst_base_sink_get_max_lateness), (gst_base_sink_set_property),
16544 (gst_base_sink_get_property), (gst_base_sink_do_sync):
16545 * libs/gst/base/gstbasesink.h:
16546 API additions:
16547 Added new methods to allow subclass to control max-lateness
16548 and sync.
16549 Generate very basic QoS events based on last sync observation.
16550 Updated docs, fix typo, added some QoS blurb.
16552 * libs/gst/base/gstbasesrc.c:
16553 Remove obsolete _get_state() calls from docs.
16555 2006-03-07 Wim Taymans <wim@fluendo.com>
16557 * docs/libs/gstreamer-libs-sections.txt:
16558 * libs/gst/base/gstbasetransform.h:
16559 API addition: Fix #333669, Add pad accessor defines for GstBaseTransform
16560 Fix docs for GstBaseSrc.
16562 2006-03-07 Wim Taymans <wim@fluendo.com>
16564 * docs/gst/gstreamer-sections.txt:
16565 * gst/gstbuffer.h:
16566 * gst/gstvalue.c:
16567 * libs/gst/base/gstbasetransform.h:
16568 Small documentation fixes.
16570 2006-03-07 Tim-Philipp Müller <tim at centricular dot net>
16572 * gst/gstvalue.c:
16573 Document thread-unsafety of gst_value_register_foo_func()
16574 when used at the same time as gst_value_foo() (#322628).
16576 2006-03-07 Tim-Philipp Müller <tim at centricular dot net>
16578 * libs/gst/base/gstpushsrc.c: (gst_push_src_class_init),
16579 (gst_push_src_check_get_range):
16580 Push sources don't support pull mode by default.
16582 2006-03-06 Tim-Philipp Müller <tim at centricular dot net>
16584 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
16585 (gst_base_src_init), (gst_base_src_pad_check_get_range),
16586 (gst_base_src_default_check_get_range):
16587 * libs/gst/base/gstbasesrc.h:
16588 API addition: Add ::check_get_range() vfunc to GstBaseSrc (#332611),
16589 provide default implementation, and rename
16590 gst_base_src_check_get_range() to
16591 gst_base_src_pad_check_get_range() for clarity.
16593 2006-03-06 Wim Taymans <wim@fluendo.com>
16595 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
16596 Make property overridable.
16598 2006-03-06 Wim Taymans <wim@fluendo.com>
16600 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
16601 (gst_base_sink_init), (gst_base_sink_set_property),
16602 (gst_base_sink_get_property), (gst_base_sink_do_sync):
16603 * libs/gst/base/gstbasesink.h:
16604 API addition: Make max-lateness a property.
16606 2006-03-06 Wim Taymans <wim@fluendo.com>
16608 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock),
16609 (gst_base_sink_do_sync), (gst_base_sink_render_object):
16610 Don't ever draw a frame that is >10ms late.
16612 2006-03-06 Michael Smith <msmith@fluendo.com>
16614 * gst/gstmessage.c: (_gst_message_copy):
16615 When copying a message, set the parent_refcount of the enclosed
16616 structure to point at the copy, not the original message.
16618 2006-03-06 Tim-Philipp Müller <tim at centricular dot net>
16620 Patch by: Christophe Fergeau
16622 * gst/gstutils.h:
16623 Do proper cast here to make GST_BOILERPLATE_WITH_INTERFACE
16624 usable in c++ code (#333417)
16626 2006-03-06 Thomas Vander Stichele <thomas at apestaart dot org>
16628 * gst/gstclock.h:
16629 Show GST_CLOCK_TIME_NONE as 99:99:99.999999999
16631 2006-03-05 Tim-Philipp Müller <tim at centricular dot net>
16633 * libs/gst/base/gstbasetransform.c:
16634 (gst_base_transform_transform_caps):
16635 Make sure caps are writable before passing them to
16636 gst_caps_append().
16638 2006-03-04 Tim-Philipp Müller <tim at centricular dot net>
16640 * gst/gsterror.h:
16641 Fix some minor docs errors.
16643 2006-03-04 Tim-Philipp Müller <tim at centricular dot net>
16645 Patch by: Ross Burton <ross at burtonini dot com>
16647 * gst/gsterror.c: (_gst_resource_errors_init):
16648 * gst/gsterror.h:
16649 Add GST_RESOURCE_ERROR_NO_SPACE_LEFT (for #333352;
16651 2006-03-03 Jan Schmidt <thaytan@mad.scientist.com>
16653 * gst/gst.c:
16654 Add a check and output a g_warning when GStreamer is built
16655 against GLib 2.6 but running against 2.8 or higher, and vice
16656 versa. (Closes: #323542)
16658 2006-03-03 Jan Schmidt <thaytan@mad.scientist.com>
16660 * gst/parse/parse.l:
16661 Commit patch for parse_launch syntax from #331255. Removes
16662 support for quoted strings and mimetypes when writing filtered
16663 caps. See the bug report for more details - I'm pretty sure this
16664 obscure feature is not in use by _anyone_ anywhere.
16666 With this simple change, the size of the gstreamer.so here
16667 drops from 2193KB to 1565KB.
16669 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
16671 * plugins/elements/gsttypefindelement.h:
16672 * plugins/elements/gsttypefindelement.c:
16673 (gst_type_find_element_src_event), (start_typefinding),
16674 (stop_typefinding), (gst_type_find_element_handle_event),
16675 (gst_type_find_element_chain),
16676 (gst_type_find_element_chain_do_typefinding):
16677 Use gst_type_find_helper_for_buffer() for chain-based
16678 typefinding.
16680 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
16682 * plugins/elements/gsttypefindelement.c:
16683 (gst_type_find_element_class_init),
16684 (gst_type_find_element_set_property),
16685 (gst_type_find_element_get_property):
16686 Deprecate "maximum" property (not only was it only taken into
16687 account for typefinding in push-mode anyway, it also was never
16688 actually possible to set it in the first place because the
16689 property was registered with the numeric property ID for the
16690 "minimum" property). Register "maximum" property correctly,
16691 for the sake of future copy'n'pasters. Remove some cruft
16692 from property get/set functions.
16694 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
16696 * plugins/elements/gsttypefindelement.c:
16697 (gst_type_find_element_activate):
16698 Use gst_type_find_helper_get_range() here, so we
16699 can honour the "minimum" property and also emit
16700 the signal with the correct probability of the found caps.
16702 2006-03-02 Tim-Philipp Müller <tim at centricular dot net>
16704 * docs/libs/gstreamer-libs-sections.txt:
16705 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
16706 (helper_find_suggest), (gst_type_find_helper_get_range),
16707 (gst_type_find_helper):
16708 * libs/gst/base/gsttypefindhelper.h:
16709 New API: gst_type_find_helper_get_range() (#333042).
16711 2006-03-02 Michael Smith <msmith@fluendo.com>
16713 * gst/gstregistryxml.c: (load_feature):
16714 Asserting on a failure to read part of the registry is Not Cool.
16715 Just log a warning and return NULL (which is already handled)
16717 2006-02-28 Sebastien Moutte <sebastien@moutte.net>
16719 * win32/common/libgstbase.def:
16720 added export of gst_type_find_helper_for_buffer
16721 * win32/common/libgstbase.def:
16722 added some exports : gst_bin_iterate_elements, gst_iterator_resync,
16723 gst_ghost_pad_get_target
16725 2006-02-28 Wim Taymans <wim@fluendo.com>
16727 * docs/design/draft-klass.txt:
16728 We use Filter now.
16729 Added Connector to mark elements that are only used to
16730 allow pipeline connections.
16731 Moved Debug to extra feature since most of them are
16732 functionally something else.
16734 2006-02-28 Wim Taymans <wim@fluendo.com>
16736 * docs/design/draft-klass.txt:
16737 Some updates and clarifications.
16739 2006-02-28 Wim Taymans <wim@fluendo.com>
16741 * docs/design/draft-klass.txt:
16742 Proposal for klass field values.
16744 * docs/design/part-streams.txt:
16745 Start of a doc describing stream anatomy.
16747 2006-02-28 Wim Taymans <wim@fluendo.com>
16749 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_handle_message_func):
16750 Help the compiler a bit with type registration.
16751 Use existing forward cod path instead of duplicating it when
16752 handling a message.
16754 * gst/gstbus.c: (gst_bus_get_type):
16755 * gst/gstcaps.c: (gst_caps_get_type), (gst_static_caps_get_type):
16756 * gst/gstchildproxy.c: (gst_child_proxy_get_type):
16757 * gst/gstclock.c: (gst_clock_get_type):
16758 * gst/gstelement.c: (gst_element_get_type),
16759 * gst/gstelementfactory.c: (gst_element_factory_get_type):
16760 * gst/gstindexfactory.c: (gst_index_factory_get_type):
16761 * gst/gstminiobject.c: (gst_mini_object_get_type):
16762 * gst/gstpad.c: (gst_pad_get_type):
16763 * gst/gstsegment.c: (gst_segment_get_type):
16764 * gst/gststructure.c: (gst_structure_get_type):
16765 * gst/gstsystemclock.c: (gst_system_clock_get_type):
16766 * gst/gsttask.c: (gst_task_get_type), (gst_task_join):
16767 * gst/gstvalue.c:
16768 Help compiler with type registration.
16770 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
16771 Small doc update.
16773 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
16775 * plugins/elements/gsttypefindelement.c:
16776 (gst_type_find_element_handle_event):
16777 When we get an EOS event and have not found a type yet
16778 (most likely because we had not yet accumulated
16779 TYPE_FIND_MIN_SIZE of data yet), try to determine the
16780 type given the data we have so far. Fixes typefinding
16781 for very short streams again, most notably quicktime
16782 redirections as used on Apple's trailer site (#331701).
16784 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
16786 * libs/gst/base/gsttypefindhelper.c: (type_find_factory_rank_cmp),
16787 (gst_type_find_helper):
16788 Try typefinding factories with the highest rank first.
16790 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
16792 * docs/libs/gstreamer-libs-docs.sgml:
16793 * docs/libs/gstreamer-libs-sections.txt:
16794 * libs/gst/base/gsttypefindhelper.c:
16795 Add section for typefind helper and add documentation
16796 for the old and the new function.
16798 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
16800 * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek),
16801 (buf_helper_find_suggest), (type_find_factory_rank_cmp),
16802 (gst_type_find_helper_for_buffer):
16803 * libs/gst/base/gsttypefindhelper.h:
16804 New API: gst_type_find_helper_for_buffer() (#332723).
16806 2006-02-27 Michael Smith <msmith@fluendo.com>
16808 Patch by: Loïc Minier
16810 * configure.ac:
16811 * docs/Makefile.am:
16812 * docs/slides/Makefile.am:
16813 prevent CVS directories getting disted.
16815 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
16817 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref):
16818 Use the REFCOUNTING category for caps refcounting.
16820 2006-02-26 Tim-Philipp Müller <tim at centricular dot net>
16822 * plugins/elements/gsttypefindelement.c: (stop_typefinding):
16823 This should be 0 not GST_CLOCK_TIME_NONE (see #331701).
16825 2006-02-26 Tim-Philipp Müller <tim at centricular dot net>
16827 * plugins/elements/gsttypefindelement.c:
16828 (gst_type_find_element_activate):
16829 Use gst_pad_check_pull_range() before _activate_pull()
16830 to avoid unnecessary open/close (see #331690).
16832 2006-02-24 Tim-Philipp Müller <tim at centricular dot net>
16834 * gst/gstutils.c:
16835 Docs enhancement: make it crystal clear what the
16836 gst_pad_add_*_probe() callbacks should look like.
16838 2006-02-24 Tim-Philipp Müller <tim at centricular dot net>
16840 * libs/gst/base/gstbasesrc.c:
16841 Document how applications can stop recording from
16842 live sources (see #330996).
16844 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
16846 * tests/check/Makefile.am:
16847 * tests/check/libs/basesrc.c: (eos_event_counter),
16848 (basesrc_eos_events_pull), (basesrc_eos_events_push),
16849 (basesrc_eos_events_push_live_op), (basesrc_eos_events_pull_live_op),
16850 (gst_basesrc_suite), (main):
16851 ... and add some tests for the base source EOS stuff.
16853 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
16855 * tests/check/gst/gstutils.c: (test_buffer_probe_n_times):
16856 Test case originally showed the problem fixed below,
16857 but was then amended. Add checks back at the place
16858 where they used to be.
16860 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
16862 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
16863 (gst_base_src_init), (gst_base_src_loop),
16864 (gst_base_src_activate_push), (gst_base_src_activate_pull),
16865 (gst_base_src_change_state):
16866 * libs/gst/base/gstbasesrc.h:
16867 Don't unconditionally send EOS when going from PAUSED to
16868 READY state, esp. make sure we don't send two EOS events
16869 in some cases (e.g. one when reaching EOS and one when
16870 going from PAUSED to READY). Also, we don't want to send
16871 EOS events when operating in pull mode. However, we do
16872 want to send an EOS event when shutting down a live
16873 source explicitly, for example (fixes #330996).
16875 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
16877 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
16878 Update src->read_position after a seek when not using mmap.
16879 Fixes #332277, patch by: Renchi Raju <renchi gmail com>
16881 2006-02-21 Jan Schmidt <thaytan@mad.scientist.com>
16883 * gst/Makefile.am:
16884 * gst/gstparse.h:
16885 * gst/gstutils.c:
16886 * gst/gstutils.h:
16887 Make things work with --disable-parse as they do with
16888 --disable-load-save - the symbols involved disappear, but the
16889 header is still installed and GST_DISABLE_PARSE is included via
16890 gstconfig.h
16892 2006-02-20 Julien MOUTTE <julien@moutte.net>
16894 * libs/gst/base/gstbasetransform.c:
16895 (gst_base_transform_change_state): Fix a stupid bug. I was
16896 sure I compiled that.
16898 2006-02-20 Julien MOUTTE <julien@moutte.net>
16900 * gst/gstpad.c: (gst_pad_set_blocked_async):
16901 * gst/gstutils.c: (gst_pad_add_data_probe),
16902 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
16903 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
16904 (gst_pad_remove_buffer_probe): Make those function act on the
16905 ghostpad target when it's a ghostpad. (Closes #331727)
16907 2006-02-20 Julien MOUTTE <julien@moutte.net>
16909 * libs/gst/base/gstbasetransform.c:
16910 (gst_base_transform_change_state): Make basetransform reusable.
16911 (Closes #331898)
16913 2006-02-20 Jan Schmidt <thaytan@mad.scientist.com>
16915 * docs/random/release:
16916 Move the current documentation of how to do a release to the top
16917 of the file.
16919 * gst/gstbin.c: (gst_bin_class_init),
16920 (gst_bin_handle_message_func):
16921 Allow multiple state-recalculation threads. (Closes #328873)
16923 2006-02-19 Julien MOUTTE <julien@moutte.net>
16925 * gst/gstinfo.h: Add GST_STR_NULL to the second string.
16926 * gst/gstpad.c: (gst_pad_set_event_function),
16927 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
16928 (gst_pad_set_getcaps_function): GST_DEBUG_PAD_NAME evaluates to
16929 2 strings. You can't use the STR_NULL macro on that.
16931 2006-02-19 Sebastien Moutte <sebastien@moutte.net>
16933 * gst/gstpad.c: (gst_pad_set_event_function),
16934 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
16935 (gst_pad_set_getcaps_function)
16936 * gst/parse/grammar.y: (gst_parse_found_pad), (gst_parse_perform_delayed_link)
16937 Fixed NULL pointer used in GST_CAT_DEBUG using GST_STR_NULL macro
16938 So now, we can use --gst-debug-level=5 on Windows
16939 * win32/common/libgstcontroller.def:
16940 Added export of gst_controller_init
16941 * win32/vs6/libgstcontroller.dsp:
16942 Fixed Release post build configuration
16944 2006-02-17 Wim Taymans <wim@fluendo.com>
16946 * tests/check/gst/gstquery.c: (GST_START_TEST):
16947 Added another check.
16949 2006-02-15 Tim-Philipp Müller <tim at centricular dot net>
16951 * plugins/elements/gsttypefindelement.c: (find_peek):
16952 We can do peeks at non-zero offsets, as long as they
16953 fall within the buffer we have.
16955 2006-02-15 Jan Schmidt <thaytan@mad.scientist.com>
16957 * tests/check/Makefile.am:
16958 * tests/check/pipelines/parse-launch.c: (setup_pipeline),
16959 (expected_fail_pipe), (check_pipeline_runs), (GST_START_TEST),
16960 (parse_suite), (main):
16961 Add testsuite for parse launch syntax
16963 2006-02-14 Tim-Philipp Müller <tim at centricular dot net>
16965 * plugins/elements/gsttypefindelement.c:
16966 (gst_type_find_element_chain):
16967 When typefinding is unsuccessful in the chain function, don't
16968 error out immediately. Only error out with NO_CAPS_FOUND if
16969 the amount of data is at least MAX_TYPEFIND_SIZE bytes,
16970 otherwise simply wait for more data so we can try typefinding
16971 again with more data later. Also, don't attempt to typefind
16972 if we have less than MIN_TYPEFIND_SIZE data available. Overall,
16973 this should improve typefinding from network sources where the
16974 size of the first buffer can be somewhat random.
16976 2006-02-14 Wim Taymans <wim@fluendo.com>
16978 * docs/gst/gstreamer-sections.txt:
16979 * gst/gstpadtemplate.c:
16980 * gst/gstpadtemplate.h:
16981 Fix padtemplate docs, fixes #328805.
16983 2006-02-14 Wim Taymans <wim@fluendo.com>
16985 * tools/gst-launch.c: (main):
16986 NO_PREROLL is not an ERROR so don't send confusing messages
16987 to the user.
16989 2006-02-14 Wim Taymans <wim@fluendo.com>
16991 Patch by: Torsten Schoenfeld
16993 * gst/gstregistry.c: (gst_registry_get_default),
16994 (_gst_registry_cleanup):
16995 Protect default registry with lock and ref/sink it.
16996 Fixes #324818
16998 2006-02-14 Wim Taymans <wim@fluendo.com>
17000 * gst/gstbuffer.c:
17001 * gst/gstquery.c: (gst_query_list_add_format),
17002 (gst_query_set_formatsv), (gst_query_parse_formats_length),
17003 (gst_query_parse_formats_nth):
17004 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
17005 Docs fixes.
17007 2006-02-14 Wim Taymans <wim@fluendo.com>
17009 * docs/gst/gstreamer-sections.txt:
17010 Reworked query docs.
17012 * gst/gstquery.c: (gst_query_new_formats),
17013 (gst_query_list_add_format), (gst_query_set_formats),
17014 (gst_query_set_formatsv), (gst_query_parse_formats_length),
17015 (gst_query_parse_formats_nth):
17016 * gst/gstquery.h:
17017 Flesh out formats query, added some new methods.
17018 Fix part of #324398.
17020 * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite):
17021 Added query creation tests.
17023 2006-02-14 Jan Schmidt <thaytan@mad.scientist.com>
17025 * gst/gstpad.c: (fixate_value):
17026 Add a default fixation for fraction lists.
17028 2006-02-13 Wim Taymans <wim@fluendo.com>
17030 * gst/gsttask.c: (gst_task_init), (gst_task_func),
17031 (gst_task_set_lock), (gst_task_start), (gst_task_pause),
17032 (gst_task_join):
17033 * gst/gsttask.h:
17034 Detect and warn for obvious deadlocks. fixes #320340
17035 Fix error case where lock was not released.
17037 * tests/check/Makefile.am:
17038 * tests/check/gst/gsttask.c: (task_func2), (GST_START_TEST),
17039 (task_func), (gst_element_suite), (main):
17040 Add task check.
17042 2006-02-13 Wim Taymans <wim@fluendo.com>
17044 * docs/gst/gstreamer-sections.txt:
17045 * gst/gstbus.c:
17046 Add new functions to docs.
17048 2006-02-13 Wim Taymans <wim@fluendo.com>
17050 * docs/design/part-TODO.txt:
17051 Updated TODO list, basesrc supports seeking to non-bytes
17052 formats.
17054 * docs/design/part-element-sink.txt:
17055 Update docs.
17057 * gst/gstbin.c: (bin_replace_message),
17058 (gst_bin_handle_message_func):
17059 * gst/gstbus.c: (gst_bus_post), (gst_bus_pop):
17060 * gst/gstevent.c: (gst_event_finalize):
17061 * gst/gstpad.c: (gst_pad_event_default_dispatch),
17062 (gst_pad_send_event):
17063 Use shiny new _TYPE_NAME macros.
17065 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
17066 Move debug statement up.
17068 * gst/gstelement.c: (gst_element_set_locked_state):
17069 Add some debugging.
17071 2006-02-13 Tim-Philipp Müller <tim at centricular dot net>
17073 * docs/gst/gstreamer-sections.txt:
17074 * gst/gstmessage.h:
17075 * gst/gstquery.h:
17076 New API: add GST_MESSAGE_TYPE_NAME and GST_QUERY_TYPE_NAME
17077 macros (#330906). Also, document the already existing
17078 GST_QUERY_TYPE macro.
17080 2006-02-13 Wim Taymans <wim@fluendo.com>
17082 * tests/check/gst/gstutils.c: (data_probe), (buffer_probe),
17083 (event_probe), (GST_START_TEST):
17084 Only events up to the pipeline EOS are counted, there are
17085 some more when going to NULL currently which we don't care
17086 about for now.
17088 2006-02-13 Wim Taymans <wim@fluendo.com>
17090 * gst/gstpad.c: (gst_pad_send_event):
17091 Correctly check flushing and emit probes. fixes #330125
17093 2006-02-10 Andy Wingo <wingo@pobox.com>
17095 * gst/gstbus.c (gst_bus_class_init): Declare our private data
17096 structure.
17097 (gst_bus_init): Cache the location of the private data in the
17098 instance structure.
17099 (gst_bus_enable_sync_message_emission)
17100 (gst_bus_disable_sync_message_emission): Implement new public
17101 functions.
17102 (gst_bus_post): Emit the sync-message signal if the user asked for
17103 it. Fixes #330684.
17105 * gst/gstbus.h (GstBus): Use a padding pointer to cache the
17106 location of the bus-private structure.
17107 (gst_bus_enable_sync_message_emission)
17108 (gst_bus_disable_sync_message_emission): API addition
17110 2006-02-10 Jan Schmidt <thaytan@mad.scientist.com>
17112 Patch by: Vincent Torri
17114 * docs/pwg/building-boiler.xml:
17115 PWG patch from #326800
17117 2006-02-09 Tim-Philipp Müller <tim at centricular dot net>
17119 * configure.ac:
17120 * docs/Makefile.am:
17121 * docs/design/Makefile.am:
17122 Dist design docs.
17124 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
17126 * configure.ac:
17127 back to CVS
17129 === release 0.10.3 ===
17131 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
17133 * configure.ac:
17134 releasing 0.10.3, "Like a virgin"
17136 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
17138 * configure.ac:
17139 2nd prerelease of 0.10.3
17140 Bump libtool versioning.
17142 2006-02-07 Andy Wingo <wingo@pobox.com>
17144 * libs/gst/base/gstcollectpads.c (gst_collect_pads_chain): Only
17145 update last_stop if we're in TIME format and the timestamp is
17146 valid.
17148 * libs/gst/base/gstcollectpads.c (gst_collect_pads_event)
17149 * libs/gst/base/gstbasetransform.c (gst_base_transform_eventfunc):
17150 * libs/gst/base/gstbasesink.c (gst_base_sink_configure_segment):
17151 If we get a new newsegment with a different format, adapt
17152 accordingly.
17154 * gst/gstclock.c (gst_clock_set_calibration): Accept a numerator
17155 of 0. Not a problem, really.
17157 * libs/gst/base/gstbasesink.c (gst_base_sink_chain_unlocked): Only
17158 warn if sync=true.
17160 2006-02-06 Jan Schmidt <thaytan@mad.scientist.com>
17162 * configure.ac:
17163 Prelease of 0.10.3
17165 2006-02-06 Sebastien Moutte <sebastien@moutte.net>
17167 * win32/vs7:
17168 project files updated to the default vs7 configuration
17169 * win32/common/libgstbase.def:
17170 * win32/common/libgstreamer.def:
17171 added new symbols,
17172 removed empty lines,
17173 sorted all exported symbols alphabetically
17174 * win32/common/dirent.c:
17175 * win32/common/dirent.h:
17176 * win32/common/gchar.h:
17177 use windows line end.
17179 2006-02-06 Tim-Philipp Müller <tim at centricular dot net>
17181 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
17182 Send EOS event when stopping.
17184 2006-02-06 Tim-Philipp Müller <tim at centricular dot net>
17186 * docs/README:
17187 Tell folks what to do if the plugin-foobar.xml file
17188 hasn't been generated for a newly-added plugin.
17190 2006-02-05 Julien MOUTTE <julien@moutte.net>
17192 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
17193 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
17194 (gst_collect_pads_start), (gst_collect_pads_stop),
17195 (gst_collect_pads_event): Collectpads now holds a reference
17196 to the GstPad that was added. Indeed we don't want to look
17197 at pads that might just go away with no warning...
17199 2006-02-05 Julien MOUTTE <julien@moutte.net>
17201 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
17202 (gst_collect_pads_start), (gst_collect_pads_stop),
17203 (gst_collect_pads_event), (gst_collect_pads_chain):
17204 * libs/gst/base/gstcollectpads.h: Handle flush. Adapted from
17205 Mark Nauwelaerts's patch on bug #328491.
17207 2006-02-04 Tim-Philipp Müller <tim at centricular dot net>
17209 * tests/check/gst/gstutils.c: (test_parse_bin_from_description),
17210 (gst_utils_suite):
17211 Add some simple tests for gst_parse_bin_from_description() and
17212 gst_bin_find_unconnected_pad() (#329069).
17214 2006-02-04 Tim-Philipp Müller <tim at centricular dot net>
17216 * tools/gst-launch.c: (event_loop), (main):
17217 Catch errors during preroll (#320084).
17219 2006-02-03 Tim-Philipp Müller <tim at centricular dot net>
17221 * plugins/elements/gsttypefindelement.c:
17222 (gst_type_find_element_activate):
17223 Post TYPE_NOT_FOUND error message when typefinding
17224 is unsuccessful in the activate function as well.
17226 2006-02-02 Wim Taymans <wim@fluendo.com>
17228 * docs/design/part-element-sink.txt:
17229 Updated doc.
17231 2006-02-02 Wim Taymans <wim@fluendo.com>
17233 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
17234 (gst_base_sink_render_object),
17235 (gst_base_sink_queue_object_unlocked):
17236 Only keep track of prerollable items when we are
17237 prerolling.
17238 Before rendering after preroll, always check if we
17239 have queued items.
17240 Added some more debugging.
17242 2006-02-02 Wim Taymans <wim@fluendo.com>
17244 * gst/gstelement.c: (gst_element_continue_state),
17245 (gst_element_set_state_func), (gst_element_change_state):
17246 Fixed #326576, been running this for quite some time with
17247 no regressions at all.
17249 2006-02-02 Wim Taymans <wim@fluendo.com>
17251 * common/gst.supp:
17252 Added more suppressions
17254 2006-02-02 Wim Taymans <wim@fluendo.com>
17256 * docs/design/part-element-sink.txt:
17257 Updated document.
17259 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
17260 (gst_base_sink_finalize), (gst_base_sink_preroll_queue_flush),
17261 (gst_base_sink_configure_segment), (gst_base_sink_commit_state),
17262 (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
17263 (gst_base_sink_do_sync), (gst_base_sink_render_object),
17264 (gst_base_sink_preroll_object),
17265 (gst_base_sink_queue_object_unlocked),
17266 (gst_base_sink_queue_object), (gst_base_sink_event),
17267 (gst_base_sink_chain_unlocked), (gst_base_sink_chain),
17268 (gst_base_sink_loop), (gst_base_sink_activate_pull),
17269 (gst_base_sink_get_position), (gst_base_sink_change_state):
17270 * libs/gst/base/gstbasesink.h:
17271 Totally refactored matching the design doc.
17272 Use two segments, one to clip incomming buffers and another to
17273 perform sync.
17274 Handle queueing correctly, bypass the queue when playing.
17275 Make EOS cancelable.
17276 Handle errors correctly when operating in pull based mode.
17278 * tests/check/elements/fakesink.c: (GST_START_TEST),
17279 (fakesink_suite):
17280 Added new check for sinks.
17282 2006-02-02 Wim Taymans <wim@fluendo.com>
17284 * gst/gstsegment.c: (gst_segment_clip):
17285 No reason to refuse to clip when start == -1
17287 2006-02-02 Stefan Kost <ensonic@users.sf.net>
17289 * docs/README:
17290 * docs/manual/intro-basics.xml:
17291 * docs/manual/intro-preface.xml:
17292 * docs/manual/manual.xml:
17293 * docs/pwg/advanced-dparams.xml:
17294 * docs/pwg/intro-basics.xml:
17295 * docs/pwg/intro-preface.xml:
17296 * docs/pwg/pwg.xml:
17297 describe dparams (controller) for plugins
17298 unify docs a little more
17300 2006-02-02 Tim-Philipp Müller <tim at centricular dot net>
17302 * docs/gst/gstreamer-sections.txt:
17303 * gst/gstutils.c: (element_find_unconnected_pad),
17304 (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description):
17305 * gst/gstutils.h:
17306 Add new API: gst_parse_bin_from_description() and
17307 gst_bin_find_unconnected_pad() (#329069).
17309 2006-02-01 Stefan Kost <ensonic@users.sf.net>
17311 * docs/manual/README:
17312 uncover a nasty detail of the docs build
17314 2006-01-31 Wim Taymans <wim@fluendo.com>
17316 * gst/gstbin.c: (bin_remove_messages), (bin_query_duration_done):
17317 Don't cache duration messages if we're not going to use or
17318 free them.
17320 2006-01-31 Stefan Kost <ensonic@users.sf.net>
17322 * docs/manual/advanced-dparams.xml:
17323 * docs/pwg/advanced-dparams.xml:
17324 more dparam docs
17325 * gst/gstindex.c:
17326 fix docs
17327 * libs/gst/controller/lib.c: (gst_controller_init):
17328 init just once
17330 2006-01-31 Thomas Vander Stichele <thomas at apestaart dot org>
17332 * gst/gstelement.c: (gst_element_message_full):
17333 also show file/line/func if no additional debug was given
17335 2006-01-31 Sebastien Moutte <sebastien@moutte.net>
17337 * win32/vs7/grammar.vcproj:
17338 activate copy of autogenerated files for Release mode
17340 2006-01-30 Sebastien Moutte <sebastien@moutte.net>
17342 * win32/common/libgstreamer.def:
17343 export gst_value_compare
17345 2006-01-30 Jan Schmidt <thaytan@mad.scientist.com>
17347 * plugins/elements/Makefile.am:
17348 * plugins/elements/gstelements.c:
17349 * plugins/elements/gstfdsink.c: (_do_init),
17350 (gst_fd_sink_base_init), (gst_fd_sink_class_init),
17351 (gst_fd_sink_init), (gst_fd_sink_dispose), (gst_fd_sink_query),
17352 (gst_fd_sink_render), (gst_fd_sink_check_fd), (gst_fd_sink_start),
17353 (gst_fd_sink_stop), (gst_fd_sink_unlock), (gst_fd_sink_update_fd),
17354 (gst_fd_sink_set_property), (gst_fd_sink_uri_get_type),
17355 (gst_fd_sink_uri_get_protocols), (gst_fd_sink_uri_get_uri),
17356 (gst_fd_sink_uri_set_uri), (gst_fd_sink_uri_handler_init):
17357 * plugins/elements/gstfdsink.h:
17358 Port fdsink to 0.10 (patch by Philippe Rouquier) (Fixes #325490)
17360 2006-01-30 Stefan Kost <ensonic@users.sf.net>
17362 * docs/manual/advanced-dparams.xml:
17363 describe controller
17364 * docs/manual/advanced-position.xml:
17365 * docs/manual/basics-init.xml:
17366 * docs/manual/manual.xml:
17367 * docs/manual/titlepage.xml:
17368 * docs/pwg/pwg.xml:
17369 * docs/pwg/titlepage.xml:
17370 cleanup xml (more to come)
17371 * libs/gst/controller/gstcontroller.c:
17372 fix typo
17374 2006-01-30 Sebastien Moutte <sebastien@moutte.net>
17376 * win32/vs6/grammar.dsp:
17377 add autogen of gstmarshal.c,h for Release mode
17379 2006-01-30 Wim Taymans <wim@fluendo.com>
17381 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
17382 (gst_base_sink_preroll_queue_empty), (gst_base_sink_commit_state),
17383 (gst_base_sink_handle_object), (gst_base_sink_event),
17384 (gst_base_sink_is_prerolled), (gst_base_sink_wait),
17385 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
17386 (gst_base_sink_handle_buffer), (gst_base_sink_set_flushing),
17387 (gst_base_sink_deactivate), (gst_base_sink_activate),
17388 (gst_base_sink_activate_pull), (gst_base_sink_get_position),
17389 (gst_base_sink_query), (gst_base_sink_change_state):
17390 Basesink cleanups, remove some old code.
17391 Handle the case where a subclass can preroll in the render
17392 method (mostly audiosinks).
17393 Handle more events.
17394 Remove some locks around variables that are now protected
17395 with the PREROLL_LOCK (clock_id, flushing, ..).
17396 Optimize position query some more, do correct locking.
17397 Remove old code to push queue in state change, this is not
17398 needed anymore since preroll blocks on all prerollable items
17399 now.
17400 Almost implemented as described in design doc.
17402 2006-01-30 Wim Taymans <wim@fluendo.com>
17404 * tests/check/gst/gstbin.c: (GST_START_TEST):
17405 Wait for refcount to settle down before checking.
17407 2006-01-30 Wim Taymans <wim@fluendo.com>
17409 * docs/design/part-element-sink.txt:
17410 Pseudo code overview of desired sink behaviour regarding
17411 preroll.
17413 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
17414 * win32/vs6/grammar.dsp:
17415 fix some bugs in Release mode for autogenerated files
17417 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
17418 * win32/common/libgstbase.def:
17419 * win32/common/libgstreamer.def:
17420 export some new symbols: gst_base_src_set_format,
17421 gst_iterator_next, gst_structure_set_valist
17423 2006-01-29 Julien MOUTTE <julien@moutte.net>
17425 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
17426 Set pad functions unconditionally. Fixes #329105.
17428 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
17429 * win32/vs8:
17430 add vs8 project files created by Sergey Scobich
17432 2006-01-28 Jan Schmidt <thaytan@mad.scientist.com>
17434 * gst/gstutils.c: (gst_element_unlink_pads):
17435 Don't leak pad references.
17437 * tests/check/elements/fakesink.c: (GST_START_TEST):
17438 * tests/check/generic/sinks.c: (GST_START_TEST):
17439 * tests/check/generic/states.c: (GST_START_TEST):
17440 * tests/check/gst/gstbin.c: (GST_START_TEST):
17441 * tests/check/gst/gstcaps.c: (GST_START_TEST):
17442 * tests/check/gst/gstelement.c: (GST_START_TEST):
17443 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
17444 * tests/check/gst/gstiterator.c: (GST_START_TEST):
17445 * tests/check/gst/gstvalue.c: (GST_START_TEST):
17446 Fix a bunch of leaks. Make generic/sinks.c
17447 use a bit less cpu by slowing the buffer rate
17448 between fakesrc and fakesink.
17450 2006-01-27 Stefan Kost <ensonic@users.sf.net>
17451 * gst/gstcaps.c:
17452 * gst/gstelement.c: (gst_element_send_event):
17453 * gst/gstevent.c:
17454 * gst/gstinfo.c:
17455 * gst/gstiterator.c:
17456 * gst/gstiterator.h:
17457 * gst/gstpad.c: (gst_pad_send_event):
17458 * gst/gststructure.c:
17459 * gst/gsturi.c:
17460 * gst/gstutils.c:
17461 * gst/gstvalue.c:
17462 * libs/gst/base/gstadapter.c:
17463 doc fixes, to link to function, just write gst_cool_function(), don't
17464 prefix with '#'
17466 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
17468 * plugins/elements/gsttee.c: (gst_tee_do_push),
17469 (gst_tee_handle_buffer):
17470 Always prefer an actual return value from a src
17471 pad in place of NOT_LINKED. This means we return
17472 WRONG_STATE when all src pads are WRONG_STATE
17473 instead of NOT_LINKED.
17475 Lock when replacing the last message to prevent
17476 racing with the get_property method.
17478 Add debug output
17480 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
17482 * tests/check/Makefile.am:
17483 * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite),
17484 (main):
17485 Add a very simple check that should have caught the memleak I fixed
17486 last night (if not for the slice allocator hiding it)
17488 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
17490 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
17491 (gst_bin_remove_func), (gst_bin_handle_message_func),
17492 (bin_query_duration_fold), (bin_query_generic_fold):
17493 Clean up references to the clock provider when disposed or when
17494 handling a clock-lost message from it.
17496 Unref sinks when performing a query via gst_iterator_fold, as the
17497 gst_bin_iterate_sinks iterator refs each item. (Fixes #323874)
17499 * gst/gstclock.c: (gst_clock_class_init), (gst_clock_dispose),
17500 (gst_clock_set_master):
17501 Drop our reference to the master clock, if any, when we are disposed.
17503 * gst/gsttypefindfactory.c: (gst_type_find_factory_dispose):
17504 Chain up in dispose.
17506 2006-01-26 Wim Taymans <wim@fluendo.com>
17508 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
17509 Add some debugging.
17511 2006-01-26 Julien MOUTTE <julien@moutte.net>
17513 * plugins/elements/gsttee.c: (gst_tee_do_push),
17514 (gst_tee_handle_buffer): Apply patch from #328715. Tee now
17515 handles pad being NOT_LINKED or in WRONG_STATE.
17517 2006-01-26 Stefan Kost <ensonic@users.sf.net>
17519 * win32/MANIFEST:
17520 more updating
17522 2006-01-26 Stefan Kost <ensonic@users.sf.net>
17524 * win32/MANIFEST:
17525 remove obsolete entry
17527 2006-01-26 Stefan Kost <ensonic@users.sf.net>
17529 * docs/gst/gstreamer-sections.txt:
17530 * gst/gstbin.c: (bin_element_is_src), (src_iterator_filter),
17531 (gst_bin_iterate_sources), (gst_bin_send_event):
17532 * gst/gstbin.h:
17533 * gst/gstelement.c: (gst_element_send_event):
17534 * gst/gstevent.c:
17535 * gst/gstpad.c: (gst_pad_send_event):
17536 added code for downstream events, reviewed docs in gstevent.c
17538 2006-01-25 Julien MOUTTE <julien@moutte.net>
17540 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
17541 We only query position using the clock in the playing state.
17542 Query peer in the other cases.
17543 * win32/common/config.h: Updates.
17545 2006-01-24 Wim Taymans <wim@fluendo.com>
17547 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
17548 A clock entry that is scheduled for the exact time of the
17549 clock is still in time.
17551 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17552 (gst_base_sink_do_sync):
17553 Add some more debug info.
17555 2006-01-23 Sebastien Moutte <sebastien@moutte.net>
17557 * win32/vs7:
17558 Add new vs7 project files and solution.
17560 2006-01-23 Sebastien Moutte <sebastien@moutte.net>
17562 * win32/vs7:
17563 all files removed as they were out-dated.
17565 2006-01-20 Thomas Vander Stichele <thomas at apestaart dot org>
17567 * docs/random/release:
17568 update notes
17569 * gst/gstbin.c: (gst_bin_init):
17570 * gst/gstbus.c: (gst_bus_new):
17571 * gst/gstbus.h:
17572 * gst/gstpipeline.c: (gst_pipeline_init):
17573 use gst_bus_new(), improve logging, fix docs
17574 * win32/common/config.h:
17575 update for cvs build
17577 2006-01-20 Thomas Vander Stichele <thomas at apestaart dot org>
17579 * autogen.sh:
17580 up required version of automake to 1.7
17582 2006-01-20 Sebastien Moutte <sebastien@moutte.net>
17584 * win32/common/libgstreamer.def:
17585 export gst_buffer_is_metadata_writable
17587 2006-01-20 Tim-Philipp Müller <tim at centricular dot net>
17589 * docs/gst/gstreamer-sections.txt:
17590 * gst/gstevent.h:
17591 Add gst_event_replace() (#327001)
17593 2006-01-20 Wim Taymans <wim@fluendo.com>
17595 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
17596 Make it actually compile too..
17598 2006-01-20 Wim Taymans <wim@fluendo.com>
17600 * gst/gstcaps.c:
17601 Clarify behaviour of _is_equal() when passing NULL parameters.
17603 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
17604 (gst_pad_set_caps):
17605 Cleanups. Don't unref NULL caps.
17606 When setting the same caps, protect caps of the pad with
17607 proper lock.
17608 Use full functionality of _is_equal() when comparing caps.
17610 2006-01-20 Jan Schmidt <thaytan@mad.scientist.com>
17612 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
17613 Don't loop infinitely if there are no buffers to present. Partially
17614 fixes #327197, but collectpads is just broken for reusing elements
17615 to do multiple encodes atm.
17617 2006-01-20 Jan Schmidt <thaytan@mad.scientist.com>
17619 * tools/gst-inspect.c: (print_element_features):
17620 * tools/gst-xmlinspect.c: (main):
17621 URL_HANDLER is not a plugin feature we can search for in
17622 the registry.
17624 2006-01-19 Edward Hervey <edward@fluendo.com>
17626 * gst/gstelement.c: (gst_element_pads_activate):
17627 When activating, do src pads first, then sink pads.
17628 When de-activating, do sink pads first, then src pads.
17630 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
17632 * docs/gst/gstreamer-sections.txt:
17633 Add gst_index_add_associationv to the docs
17635 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
17637 * gst/gstevent.c:
17638 Fix docs typo
17640 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event),
17641 (gst_queue_chain), (gst_queue_push_one), (gst_queue_loop):
17642 Do some refactoring. Doesn't actually change functionality,
17643 but makes landing the DRAIN event easier later.
17645 2006-01-19 Tim-Philipp Müller <tim at centricular dot net>
17647 * docs/pwg/advanced-scheduling.xml:
17648 Update from 0.9.x to 0.10 API and make example a bit
17649 clearer.
17651 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
17653 * docs/gst/gstreamer-sections.txt:
17654 Add gst_buffer_(is|make)_metadata_writable methods.
17656 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
17658 * docs/design/part-sparsestreams.txt:
17659 Update sparse streams doc, hopefully for greater clarity
17661 2006-01-18 Jan Schmidt <thaytan@mad.scientist.com>
17663 * docs/design/part-events.txt:
17664 Remove mention of FILLER events.
17665 Add DRAIN event.
17667 * docs/design/part-sparsestreams.txt:
17668 Write some things about using NEWSEGMENT to keep sparse streams
17669 flowing.
17671 2006-01-18 Tim-Philipp Müller <tim at centricular dot net>
17673 * gst/gstbin.c: (gst_bin_dispose):
17674 Guard gst_object_unref call against a NULL object (dispose
17675 can theoretically be called multiple times).
17677 2006-01-18 Wim Taymans <wim@fluendo.com>
17679 * gst/gstbin.c: (gst_bin_element_set_state):
17680 * gst/gstclock.c: (gst_clock_id_wait):
17681 Added some more debug info.
17683 * libs/gst/base/gstadapter.c:
17684 Added more docs.
17686 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17687 (gst_base_sink_do_sync), (gst_base_sink_chain):
17688 Added some comments.
17690 2006-01-18 Wim Taymans <wim@fluendo.com>
17692 * tests/check/Makefile.am:
17693 * tests/check/elements/fakesink.c: (chain_async_buffer),
17694 (chain_async), (chain_async_return), (GST_START_TEST),
17695 (fakesink_suite), (main):
17696 Added fakesink test that checks prerolling and clipping
17697 behaviour.
17699 * tests/check/gst/gstutils.c: (GST_START_TEST):
17700 Make check run faster so that buildbots don't timeout.
17702 2006-01-18 Wim Taymans <wim@fluendo.com>
17704 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17705 (gst_base_sink_do_sync):
17706 Some cleanups.
17707 When the sink finishes blocking on the preroll buffer, it can
17708 immediatly render it instead of rendering when the next buffer
17709 arrives.
17711 2006-01-18 Wim Taymans <wim@fluendo.com>
17713 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_property),
17714 (gst_base_sink_get_property), (gst_base_sink_do_sync),
17715 (gst_base_sink_chain):
17716 Small cleanups.
17717 GST_ELEMENT_CLOCK and sync are protected with LOCK.
17718 Don't store _last_stop if the buffer is dropped.
17720 2006-01-18 Tim-Philipp Müller <tim at centricular dot net>
17722 * plugins/elements/gsttypefindelement.c:
17723 (gst_type_find_element_class_init):
17724 'have-type' signal needs to be G_SIGNAL_RUN_FIRST, as it is the
17725 object method handler that sets the caps on the pad and we want
17726 that to happen before we emit the signal (fixes e.g. feeding a
17727 plain text file to decodebin).
17729 2006-01-18 Christian Schaller <Christian@fluendo.com>
17731 * gst/gstplugin.c: Add MPL and Proprietary as license options
17733 2006-01-18 Andy Wingo <wingo@pobox.com>
17735 * gst/gstindex.h (gst_index_add_associationv): Add to header. The
17736 symbol was exported before, it appears this was just an oversight.
17737 Fixes #168703.
17738 Patch by: Torsten Schoenfeld <kaffeetisch at gmx.de>
17740 * gst/gstindex.c (gst_index_add_associationv): Changed int in
17741 prototype to gint. OK since this prototype was not in the header.
17743 2006-01-17 Andy Wingo <wingo@pobox.com>
17745 * gst/gstregistry.c (_gst_registry_remove_cache_plugins): Lock the
17746 registry while we remove plugins.
17748 * tools/gst-inspect.c (print_element_info): Don't unref the
17749 factory arg, that should be the responsibility of whatever code
17750 received the ref. Fixes a double-free when called from
17751 print_element_list via gst-inspect-0.10 -a. Fixes #327324.
17752 (main): Unref the factory if we have one.
17753 (print_element_list): No change -- relies on the
17754 plugin_feature_list_free to free the list of features.
17756 2006-01-17 Jan Schmidt <thaytan@mad.scientist.com>
17758 * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
17759 (gst_buffer_make_metadata_writable):
17760 * gst/gstbuffer.h:
17761 * libs/gst/base/gstbasetransform.c:
17762 (gst_base_transform_prepare_output_buf):
17763 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
17764 * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
17765 Replace gst_buffer_(make|is)_metadata_writable patch now
17766 that the release is out.
17768 2006-01-17 Andy Wingo <wingo@pobox.com>
17770 * gst/gstregistry.c: Reflow design comment. Update so as to speak
17771 in the present tense without reference to versions.
17773 * gst/gstregistry.c (gst_registry_add_plugin)
17774 (gst_registry_remove_plugin, gst_registry_remove_feature)
17775 (gst_registry_find_feature, gst_registry_get_feature_list)
17776 (gst_registry_get_plugin_list, gst_registry_lookup_feature)
17777 (gst_registry_lookup, gst_registry_scan_path)
17778 (_gst_registry_remove_cache_plugins)
17779 (gst_registry_get_feature_list_by_plugin): Add argument
17780 validation.
17782 === release 0.10.2 ===
17784 2006-01-16 Thomas Vander Stichele <thomas at apestaart dot org>
17786 * configure.ac:
17787 releasing 0.10.2, "If man is five"
17789 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
17791 * gst/gstbuffer.c:
17792 * gst/gstbuffer.h:
17793 * libs/gst/base/gstbasetransform.c:
17794 (gst_base_transform_prepare_output_buf):
17795 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
17796 * tests/check/gst/gstbuffer.c: (gst_test_suite):
17797 Back out patch until after the release.
17799 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
17801 * gst/gstminiobject.c:
17802 Spelling fix in docs.
17803 * ChangeLog - remove conflict indicator
17805 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
17807 Reviewed By: Andy Wingo
17809 * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
17810 (gst_buffer_make_metadata_writable):
17811 * gst/gstbuffer.h:
17812 Add gst_buffer_(is|make)_metadata_writable as analogues of
17813 gst_buffer_(is|make)_writable.
17815 * libs/gst/base/gstbasetransform.c:
17816 (gst_base_transform_prepare_output_buf):
17817 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
17818 Use name gst_buffer_(is|make)_metadata_writable functions.
17820 * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
17821 Test gst_buffer_(is|make)_metadata_writable
17823 (Closes: #324162)
17825 2006-01-14 Thomas Vander Stichele <thomas at apestaart dot org>
17827 * docs/manual/Makefile.am:
17828 don't do parallel make
17829 * configure.ac:
17830 AC_SUBST HOST_CPU
17831 * win32/common/config.h.in:
17832 add generations for HOST_CPU and GST_MAJORMINOR
17833 * win32/common/config.h:
17834 commit generated result
17836 2006-01-13 Tim-Philipp Müller <tim at centricular dot net>
17838 * docs/manual/appendix-integration.xml:
17839 Update GNOME integration section to use gst_init_get_option_group()
17840 instead of the old popt stuff (#322911). Also, GNOME applications
17841 should now use gconf*sink and gconf*src instead of the old gconf
17842 helper lib we had.
17844 2006-01-13 Stefan Kost <ensonic@users.sf.net>
17847 * docs/gst/gstreamer-docs.sgml:
17848 * docs/gst/gstreamer-sections.txt:
17849 * docs/libs/gstreamer-libs-sections.txt:
17850 add new API entries to the docs
17851 * libs/gst/controller/Makefile.am:
17852 * libs/gst/controller/gstcontroller.c:
17853 * libs/gst/controller/gstcontroller.h:
17854 * libs/gst/controller/gstcontrollerprivate.h:
17855 * libs/gst/controller/gsthelper.c:
17856 * libs/gst/controller/gstinterpolation.c:
17857 move private structs to private header
17858 * po/README:
17859 gstreamer-0.7 -> gstreamer-0.10
17860 * tests/check/libs/struct_i386.h:
17861 remove private structs
17863 2006-01-13 Thomas Vander Stichele <thomas at apestaart dot org>
17865 * plugins/indexers/Makefile.am:
17866 Fixes as part of #317048
17868 2006-01-13 Thomas Vander Stichele <thomas at apestaart dot org>
17870 * plugins/indexers/Makefile.am:
17871 fix #316086 - compilation when mmap is missing
17873 2006-01-12 Sebastien Moutte <sebastien@moutte.net>
17875 * libs/gst/base/gstbasesink.c:
17876 *cur = (now - base) * basesink->segment.abs_rate + time; replaced by
17877 *cur = gst_guint64_to_gdouble(now - base) * basesink->segment.abs_rate + time; for vs6
17878 * win32/common/config.h:
17879 added some defines GST_MAJORMINOR and HOST_CPU
17880 * win32/common/libgstbase.def:
17881 * win32/common/libgstreamer.def:
17882 added some exported functions.
17884 2006-01-12 Stefan Kost <ensonic@users.sf.net>
17886 * libs/gst/controller/gstcontroller.c:
17887 (gst_controlled_property_set_interpolation_mode),
17888 (gst_controlled_property_new):
17889 * libs/gst/controller/gstcontroller.h:
17890 * libs/gst/controller/gstinterpolation.c:
17891 (interpolate_none_get_string_value_array):
17892 make G_TYPE_STRING controlable
17894 2006-01-12 Stefan Kost <ensonic@users.sf.net>
17896 * tools/README:
17897 * tools/gst-feedback.1.in:
17898 * tools/gst-inspect.1.in:
17899 * tools/gst-launch.1.in:
17900 * tools/gst-md5sum.1.in:
17901 * tools/gst-typefind.1.in:
17902 * tools/gst-xmlinspect.1.in:
17903 * tools/gst-xmllaunch.1.in:
17904 cleanup man-pages, remove reference to gst-register, document env-vars
17906 2006-01-12 Jan Schmidt <thaytan@mad.scientist.com>
17908 * gst/gstbuffer.c: (gst_buffer_span):
17909 gst_buffer_span should copy the timestamp of the first buffer
17910 if they were both originally overlapping subbuffers of the
17911 same parent, using the same logic as the 'slow copy' case.
17913 2006-01-11 Jan Schmidt <thaytan@mad.scientist.com>
17915 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop):
17916 Need to awaken ALL the pads when we pop a buffer, otherwise
17917 collectpads only works when there is 2 input streams.
17919 2006-01-11 Stefan Kost <ensonic@users.sf.net>
17921 * docs/random/ensonic/media-device-daemon.txt:
17922 more ideas (dbus)
17923 * gst/gstbuffer.c:
17924 fix doc example, add clarification
17925 * tools/gst-launch.1.in:
17926 add initial info about GST_PLUGIN_PATH, needs more work
17928 2006-01-11 Tim-Philipp Müller <tim at centricular dot net>
17930 * docs/manual/basics-bins.xml:
17931 * docs/manual/basics-elements.xml:
17932 * docs/manual/intro-basics.xml:
17933 Some more minor docs additions and updates.
17935 2006-01-11 Wim Taymans <wim@fluendo.com>
17937 * docs/manual/basics-bins.xml:
17938 * docs/manual/basics-elements.xml:
17939 Some small fixes as pointed out by Ser-ver on IRC.
17941 2006-01-10 Edward Hervey <edward@fluendo.com>
17943 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
17944 Set the buffer offset/offset_end to GST_CLOCK_TIME_NONE when using
17945 the single-segment mode.
17947 2006-01-10 Brian Cameron <brian dot cameron at sun dot com>
17949 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
17951 * libs/gst/base/gstbasesrc.c: (gst_base_src_init),
17952 (gst_base_src_perform_seek), (gst_base_src_send_event),
17953 (gst_base_src_set_property), (gst_base_src_get_property),
17954 (gst_base_src_loop), (gst_base_src_start),
17955 (gst_base_src_activate_push):
17956 * libs/gst/base/gstbasesrc.h:
17957 Name (private) union; makes Sun's Forte compiler happy (#324900).
17959 2006-01-09 Tim-Philipp Müller <tim at centricular dot net>
17961 * README:
17962 gst-register is gone.
17964 2006-01-07 Thomas Vander Stichele <thomas at apestaart dot org>
17966 * gst/gstvalue.c: (_gst_value_initialize):
17967 make the G_TYPE_DATE instantiation work if debug is disabled
17969 2006-01-06 Tim-Philipp Müller <tim at centricular dot net>
17971 * gst/gstmessage.c: (gst_message_parse_tag),
17972 (gst_message_parse_error), (gst_message_parse_warning):
17973 Don't crash when return location for error/warning debug
17974 string is NULL; add fact that return locations can be
17975 NULL to docs where appropriate.
17977 2006-01-05 Wim Taymans <wim@fluendo.com>
17979 * gst/gstplugin.c: (gst_plugin_load_file):
17980 Replace strdup by g_strdup.
17982 2006-01-05 Thomas Vander Stichele <thomas at apestaart dot org>
17984 * docs/pwg/advanced-types.xml:
17985 fix doc borkage
17987 2006-01-05 Thomas Vander Stichele <thomas at apestaart dot org>
17989 submitted by: Abel Cheung
17991 * po/LINGUAS:
17992 * po/zh_TW.po:
17993 Added Chinese (traditional) translation
17995 2006-01-04 Wim Taymans <wim@fluendo.com>
17997 * docs/manual/basics-pads.xml:
17998 * docs/plugins/Makefile.am:
17999 * docs/plugins/gstreamer-plugins-docs.sgml:
18000 * docs/plugins/gstreamer-plugins-sections.txt:
18001 * docs/pwg/advanced-clock.xml:
18002 * docs/pwg/advanced-scheduling.xml:
18003 * docs/pwg/advanced-types.xml:
18004 * plugins/elements/gstfdsink.c:
18005 * plugins/elements/gstfdsrc.c:
18006 * plugins/elements/gstfdsrc.h:
18007 * plugins/elements/gstidentity.c: (gst_identity_class_init):
18008 * plugins/elements/gstidentity.h:
18009 * plugins/elements/gstqueue.h:
18010 * plugins/elements/gsttee.c:
18011 * plugins/elements/gsttee.h:
18012 * plugins/elements/gsttypefindelement.c:
18013 (gst_type_find_element_class_init):
18014 * plugins/elements/gsttypefindelement.h:
18015 Small updates to various docs.
18016 Added core plugins to docs.
18018 2006-01-03 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
18020 * common/gst.supp:
18021 add a suppression for liboil's uninitialized variable
18023 2006-01-02 James Livingston <jrl at ids dot org dot au>
18025 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
18027 * gst/gstutils.h:
18028 Add prototype for _get_type() function to GST_BOILERPLATE_FULL
18029 macro, so that gcc doesn't complain if the -Wmissing-prototypes
18030 compiler switch is being used (#325429).
18032 2005-12-29 Tim-Philipp Müller <tim at centricular dot net>
18034 * gst/gstbin.c: (gst_bin_query):
18035 Disable duration query caching in bins until it gets
18036 fixed (see #324807).
18038 2005-12-27 Tim-Philipp Müller <tim at centricular dot net>
18040 * tools/gst-inspect.c: (print_element_properties_info):
18041 Handle properties of POINTER and BOXED type.
18043 2005-12-27 Tim-Philipp Müller <tim at centricular dot net>
18045 * gst/gst.c: (init_post):
18046 Init tags stuff and some other things before loading
18047 any static plugins (there may be other static plugins
18048 than just the GStreamer ones, and they may want to
18049 register their own tags or formats or whatever, and
18050 preferably without segfaulting).
18052 * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
18053 Print at least a warning in the debug logs if we drop a
18054 query just because we don't know how to adjust the value
18055 in the particular format.
18057 2005-12-24 David Schleef <ds@schleef.org>
18059 * tools/gstreamer-completion:
18060 Replacement for gst-complete written in sh and sed. Only
18061 completes names of features, but that's 90% of what I want
18062 it for. Properties are not available in registry.xml. (Maybe
18063 they should be...)
18065 === release 0.10.1 ===
18067 2005-12-23 Thomas Vander Stichele <thomas at apestaart dot org>
18069 * configure.ac:
18070 releasing 0.10.1, "Nollaig chridheil"
18072 2005-12-22 Tim-Philipp Müller <tim at centricular dot net>
18074 * docs/faq/cvs.xml:
18075 Add missing quote, should be make ERROR_CFLAGS="".
18077 2005-12-20 Wim Taymans <wim@fluendo.com>
18079 * docs/design/part-trickmodes.txt:
18080 More documentation on trickmodes.
18082 2005-12-20 Edward Hervey <edward@fluendo.com>
18084 * gst/gstcaps.c: (gst_static_caps_get_type):
18085 * gst/gstcaps.h:
18086 API addition: GST_TYPE_STATIC_CAPS
18087 Added gpointer GType for GstStaticCaps so we can wrap them in bindings.
18088 * gst/gstpadtemplate.c: (gst_static_pad_template_get_type):
18089 * gst/gstpadtemplate.h:
18090 API addition: GST_TYPE_STATIC_PAD_TEMPLATE
18091 Added gpointer GType for GstStaticPadTemplate so we can wrap them in
18092 bindings.
18094 2005-12-18 Wim Taymans <wim@fluendo.com>
18096 * libs/gst/base/gstadapter.c:
18097 * libs/gst/base/gstadapter.h:
18098 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
18099 (gst_base_sink_get_position):
18100 * libs/gst/base/gstbasesink.h:
18101 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
18102 (gst_base_src_default_query), (gst_base_src_default_do_seek),
18103 (gst_base_src_do_seek), (gst_base_src_perform_seek),
18104 (gst_base_src_send_event), (gst_base_src_update_length),
18105 (gst_base_src_get_range), (gst_base_src_loop),
18106 (gst_base_src_start):
18107 * libs/gst/base/gstbasesrc.h:
18108 * libs/gst/base/gstbasetransform.h:
18109 * libs/gst/base/gstcollectpads.h:
18110 * libs/gst/base/gstpushsrc.c:
18111 * libs/gst/base/gstpushsrc.h:
18112 * libs/gst/dataprotocol/dataprotocol.c:
18113 * libs/gst/dataprotocol/dataprotocol.h:
18114 * libs/gst/net/gstnetclientclock.h:
18115 * libs/gst/net/gstnettimeprovider.h:
18116 Documentation updates.
18118 2005-12-18 Tim-Philipp Müller <tim at centricular dot net>
18120 * docs/manual/basics-helloworld.xml:
18121 Remove superfluous closing bracket in helloworld example.
18123 2005-12-17 Tim-Philipp Müller <tim at centricular dot net>
18125 * tools/gst-launch.1.in:
18126 Update gst-launch man page; add a section with useful
18127 environment variables. Fixes #323882.
18129 2005-12-16 Stefan Kost <ensonic@users.sf.net>
18131 * gst/gst.c:
18132 * gst/gst_private.h:
18133 change some char* into char[]
18135 2005-12-16 Wim Taymans <wim@fluendo.com>
18137 * gst/gstregistryxml.c: (load_feature):
18138 Cleanups.
18139 Don't use g_object_unref on GstObjects so that we avoid
18140 leaks on unsafe glibs.
18142 2005-12-16 Wim Taymans <wim@fluendo.com>
18144 * gst/gstbin.c: (gst_bin_recalc_state):
18145 Small doc updates.
18147 2005-12-16 Wim Taymans <wim@fluendo.com>
18149 * common/check.mak:
18150 Added make forever target for check.
18152 2005-12-16 Thomas Vander Stichele <thomas at apestaart dot org>
18154 * gst/gst.c: (init_post):
18155 make the registry cache file HOST_CPU-dependent
18157 2005-12-16 Andy Wingo <wingo@pobox.com>
18159 * plugins/elements/gstbufferstore.c
18160 (gst_buffer_store_cleared_func): Pay attention to g_list_append
18161 return value.
18163 * tests/check/gst/gstobject.c
18164 (test_fake_object_name_threaded_unique): Pay attention to
18165 g_list_sort return value.
18167 2005-12-16 Tim-Philipp Müller <tim at centricular dot net>
18169 * tools/gst-feedback-m.m:
18170 Update for 0.9/0.10 (fixes #323870).
18172 2005-12-15 Tim-Philipp Müller <tim at centricular dot net>
18174 * gst/gstminiobject.c: (gst_value_mini_object_lcopy):
18175 Fix lcopy for mini objects, the mini object needs to be ref'ed.
18177 * tests/check/gst/gstminiobject.c: (my_foo_init),
18178 (my_foo_get_property), (my_foo_set_property), (my_foo_class_init),
18179 (test_value_collection), (gst_mini_object_suite):
18180 Add test to ensure refcounts end up as expected when passing
18181 GstMiniObjects through g_object_get() and g_object_set().
18183 2005-12-14 Julien MOUTTE <julien@moutte.net>
18185 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
18186 (gst_collect_pads_remove_pad), (gst_collect_pads_is_collected),
18187 (gst_collect_pads_event), (gst_collect_pads_chain): Refactoring
18188 of collectpads. This version removes a lot of races without
18189 touching API/ABI. Yay !
18191 2005-12-14 Jan Schmidt <thaytan@mad.scientist.com>
18193 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_link_prepare):
18194 Don't allow activation of a srcpad in pull_range if it has no
18195 getrange function.
18196 Change some debug statements to be a little clearer
18198 * plugins/elements/gsttypefindelement.c:
18199 (gst_type_find_handle_src_query):
18200 Check that we have a peer before executing queries thereupon.
18202 * tests/examples/metadata/read-metadata.c: (message_loop):
18203 Use gst_bus_pop instead of gst_bus_poll when we just want it to
18204 immediately return us any available message with 0 timeout.
18206 2005-12-12 Michael Smith <msmith@fluendo.com>
18208 * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
18209 Don't unref factories after calling them.
18210 * libs/gst/base/gsttypefindhelper.c: (gst_type_find_helper):
18211 * plugins/elements/gsttypefindelement.c:
18212 (gst_type_find_element_chain):
18213 Free lists of factories after using them. Fixing typefinding memory
18214 leaks.
18216 2005-12-12 Stefan Kost <ensonic@users.sf.net>
18218 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
18219 (gst_plugin_feature_load):
18220 more meaningful debug output
18221 * configure.ac:
18222 * tests/Makefile.am:
18223 * tests/old/examples/Makefile.am:
18224 make make distcheck happy again
18226 2005-12-12 Tim-Philipp Müller <tim at centricular dot net>
18228 * plugins/elements/gsttypefindelement.c: (stop_typefinding):
18229 Catch the special case where we are operating chain-based,
18230 but the downstream peer pad has no chain function. Emit a
18231 custom error message in this case instead of letting the
18232 core generate one implying that this is some sort of core
18233 bug. It's not, it just means that whatever got plugged
18234 into the pipeline downstream when we announced the type
18235 can only operate pull-based, while our source can only
18236 operate push-based (e.g. http://foo/bar.mov ! qtdemux ! ...)
18237 Error string has not been marked for translation yet, as
18238 it probably needs some more work first.
18240 (gst_type_find_element_get_best_possibility):
18241 Add helper function to find the best of all available
18242 found possibilities that qualify given the min. threshold.
18244 (gst_type_find_element_handle_event):
18245 Fix the case where we get an EOS while still in TYPEFIND
18246 mode (we want to chose the best of all possible types,
18247 not just the first type that happens to be in our unsorted
18248 list of possible types).
18250 (gst_type_find_element_chain):
18251 Make sure we return GST_FLOW_ERROR when we errored out
18252 in stop_typefinding(); also, don't just find the best of
18253 all found type entries and then use the last examined
18254 type entry, but actually use the best entry.
18256 2005-12-12 Tim-Philipp Müller <tim at centricular dot net>
18258 * tests/examples/typefind/typefind.c: (type_found):
18259 * tests/examples/xml/runxml.c: (xml_loaded):
18260 More gcc4 fixes and a mem leak fix.
18262 2005-12-12 Stefan Kost <ensonic@users.sf.net>
18264 * tests/examples/xml/createxml.c: (object_saved):
18265 gcc 4 fixes
18267 2005-12-12 Stefan Kost <ensonic@users.sf.net>
18269 * tests/Makefile.am:
18270 enable the examples even more
18272 2005-12-12 Andy Wingo <wingo@pobox.com>
18274 * libs/gst/net/gstnettimeprovider.c
18275 (gst_net_time_provider_class_init, gst_net_time_provider_init)
18276 (gst_net_time_provider_set_property)
18277 (gst_net_time_provider_get_property):
18278 API addition: Export "active" as a GObject property.
18279 (gst_net_time_provider_thread): Only respond to time queries if
18280 the time provider is active.
18282 * libs/gst/net/gstnettimeprovider.h: Add an "active" boolean to
18283 NetTimeProvider, preserving binary compat.
18285 2005-12-12 Stefan Kost <ensonic@users.sf.net>
18287 * tests/examples/controller/audio-example.c: (main):
18288 * tests/examples/launch/Makefile.am:
18289 convert comments again
18291 2005-12-12 Wim Taymans <wim@fluendo.com>
18293 * libs/gst/base/gstpushsrc.c:
18294 Fix typo.
18296 2005-12-12 Wim Taymans <wim@fluendo.com>
18298 * docs/libs/gstreamer-libs-sections.txt:
18299 Added new symbol to docs.
18301 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
18302 (gst_base_src_init), (gst_base_src_set_format),
18303 (gst_base_src_default_query), (gst_base_src_query),
18304 (gst_base_src_default_do_seek), (gst_base_src_do_seek),
18305 (gst_base_src_perform_seek), (gst_base_src_send_event),
18306 (gst_base_src_default_event), (gst_base_src_event_handler),
18307 (gst_base_src_set_property), (gst_base_src_get_property),
18308 (gst_base_src_wait), (gst_base_src_do_sync),
18309 (gst_base_src_update_length), (gst_base_src_get_range),
18310 (gst_base_src_check_get_range), (gst_base_src_loop),
18311 (gst_base_src_default_negotiate), (gst_base_src_start),
18312 (gst_base_src_activate_push), (gst_base_src_activate_pull),
18313 (gst_base_src_change_state):
18314 * libs/gst/base/gstbasesrc.h:
18315 Implement seeking to other formats than _BYTES.
18316 Implement more seeking methods correctly.
18317 Doc updates.
18318 Added query vmethod.
18319 Added do_seek vmethod to make life easier for subclasses
18320 when seeking.
18321 API addition: gst_base_src_set_format()
18323 2005-12-12 Stefan Kost <ensonic@users.sf.net>
18325 * tests/examples/Makefile.am:
18326 added that too
18328 2005-12-12 Stefan Kost <ensonic@users.sf.net>
18330 * configure.ac:
18331 * docs/random/ensonic/media-device-daemon.txt:
18332 * tests/examples/controller/.cvsignore:
18333 * tests/examples/controller/Makefile.am:
18334 * tests/examples/controller/audio-example.c: (main):
18335 * tests/examples/helloworld/.cvsignore:
18336 * tests/examples/helloworld/Makefile.am:
18337 * tests/examples/helloworld/helloworld.c: (event_loop), (main):
18338 * tests/examples/launch/.cvsignore:
18339 * tests/examples/launch/Makefile.am:
18340 * tests/examples/launch/mp3parselaunch.c: (event_loop), (main):
18341 * tests/examples/metadata/.cvsignore:
18342 * tests/examples/metadata/Makefile.am:
18343 * tests/examples/metadata/read-metadata.c: (message_loop),
18344 (make_pipeline), (print_tag), (main):
18345 * tests/examples/queue/.cvsignore:
18346 * tests/examples/queue/Makefile.am:
18347 * tests/examples/queue/queue.c: (event_loop), (main):
18348 * tests/examples/typefind/.cvsignore:
18349 * tests/examples/typefind/Makefile.am:
18350 * tests/examples/typefind/typefind.c: (type_found), (event_loop),
18351 (main):
18352 * tests/examples/xml/.cvsignore:
18353 * tests/examples/xml/Makefile.am:
18354 * tests/examples/xml/createxml.c: (object_saved), (main):
18355 * tests/examples/xml/runxml.c: (xml_loaded), (event_loop), (main):
18356 * tests/old/examples/Makefile.am:
18357 * tests/old/examples/TODO:
18358 * tests/old/examples/controller/.cvsignore:
18359 * tests/old/examples/controller/Makefile.am:
18360 * tests/old/examples/controller/audio-example.c:
18361 * tests/old/examples/helloworld/.cvsignore:
18362 * tests/old/examples/helloworld/Makefile.am:
18363 * tests/old/examples/helloworld/helloworld.c:
18364 * tests/old/examples/launch/.cvsignore:
18365 * tests/old/examples/launch/Makefile.am:
18366 * tests/old/examples/launch/mp3parselaunch.c:
18367 * tests/old/examples/launch/mp3play:
18368 * tests/old/examples/manual/Makefile.am:
18369 * tests/old/examples/metadata/Makefile.am:
18370 * tests/old/examples/metadata/read-metadata.c:
18371 * tests/old/examples/queue/.cvsignore:
18372 * tests/old/examples/queue/Makefile.am:
18373 * tests/old/examples/queue/queue.c:
18374 * tests/old/examples/typefind/.cvsignore:
18375 * tests/old/examples/typefind/Makefile.am:
18376 * tests/old/examples/typefind/typefind.c:
18377 * tests/old/examples/xml/.cvsignore:
18378 * tests/old/examples/xml/Makefile.am:
18379 * tests/old/examples/xml/createxml.c:
18380 * tests/old/examples/xml/runxml.c:
18381 applied some simple fixing to some examples
18382 re-enabled the working examples
18384 2005-12-12 Wim Taymans <wim@fluendo.com>
18386 * gst/gstsegment.c: (gst_segment_init),
18387 (gst_segment_set_last_stop), (gst_segment_set_seek),
18388 (gst_segment_set_newsegment), (gst_segment_to_stream_time),
18389 (gst_segment_to_running_time):
18390 Added more documentation.
18391 Make sure the last_pos value is updated properly.
18392 Make sure to_stream_time and to_running_time don't
18393 operate on wrong values.
18395 * tests/check/gst/gstsegment.c: (GST_START_TEST):
18396 Update check.
18398 2005-12-12 Michael Smith <msmith@fluendo.com>
18400 * plugins/elements/gsttypefindelement.c: (free_entry),
18401 (gst_type_find_element_chain):
18402 Now that we're not leaking factories, make sure we keep references
18403 to them while we need them.
18405 2005-12-12 Thomas Vander Stichele <thomas at apestaart dot org>
18407 * tests/check/gst/struct_i386.h:
18408 ifdef out the XML structs
18410 2005-12-12 Thomas Vander Stichele <thomas at apestaart dot org>
18412 * gst/gstvalue.c: (gst_value_transform_double_fraction):
18413 floor is not needed, F is always positive; this obviates the
18414 need for adding -lm when building without libxml
18416 2005-12-12 Wim Taymans <wim@fluendo.com>
18418 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
18419 Take current playback rate into account when reporting
18420 the position.
18422 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
18424 * docs/manual/mime-world.fig:
18425 Let's try this again, this time with a file that is
18426 actually in XFig format.
18428 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
18430 * docs/manual/mime-world.fig:
18431 Add audioconvert element to diagram so that it
18432 matches the text and the code (fixes #319526).
18434 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
18436 * docs/pwg/building-chainfn.xml:
18437 * docs/pwg/building-pads.xml:
18438 * docs/pwg/building-state.xml:
18439 * docs/pwg/other-source.xml:
18440 Update state change stuff for 0.10 (fixes #322969).
18442 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
18444 * docs/manual/advanced-dataaccess.xml:
18445 * docs/manual/appendix-checklist.xml:
18446 * docs/manual/appendix-programs.xml:
18447 * docs/manual/basics-pads.xml:
18448 * docs/manual/highlevel-components.xml:
18449 * docs/manual/manual.xml:
18450 Update for 0.10: s/0.9/0.10/; s/audioscale/audiorsample/;
18451 add converters in front of pipelines; remove curly
18452 brackets for threads stuff, they no longer exist; use
18453 GST_TYPE_FRACTION for framerates; update some pieces of
18454 code to 0.10, but there's plenty more to do.
18456 * docs/manual/appendix-porting.xml:
18457 Expand on asynchroneous state changes; s/0.9/0.10/;
18458 mention disappearance of gst_init_get_popt_table()
18459 (fixes #322916).
18461 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
18463 * docs/faq/using.xml:
18464 Spider no longer exists, and neither does gst-launch-ext.
18465 Update examples to use decodebin and playbin and put
18466 converters in front of sinks (fixes #323726).
18468 2005-12-09 Michael Smith <msmith@fluendo.com>
18470 * plugins/elements/gsttypefindelement.c: (find_peek),
18471 (gst_type_find_element_chain):
18472 Fix leaking element factories in typefinding.
18473 Fix problem where we forgot about a probable type on non-seekable
18474 files, and thus later mis-typefound it.
18476 2005-12-09 Michael Smith <msmith@fluendo.com>
18478 * common/m4/gst-makecontext.m4:
18479 * common/m4/gst-mcsc.m4:
18480 * configure.ac:
18481 * win32/common/config.h:
18482 * win32/common/config.h.in:
18483 Remove makecontext stuff; not used in 0.10 and causes problems on
18484 HPUX according to bug #322441
18486 2005-12-07 Wim Taymans <wim@fluendo.com>
18488 * tests/check/Makefile.am:
18489 * tests/check/libs/libsabi.c: (GST_START_TEST), (gstabi_suite),
18490 (main):
18491 * tests/check/libs/struct_i386.h:
18492 Added ABI check for libs
18494 2005-12-07 Wim Taymans <wim@fluendo.com>
18496 * tests/check/Makefile.am:
18497 And add the struct_i386.h to dist.
18499 2005-12-07 Wim Taymans <wim@fluendo.com>
18501 * tests/check/Makefile.am:
18502 * tests/check/gst/.cvsignore:
18503 * tests/check/gst/gstabi.c: (GST_START_TEST), (gstabi_suite),
18504 (main):
18505 * tests/check/gst/struct_i386.h:
18506 Added check for ABI compatibility.
18508 2005-12-07 Wim Taymans <wim@fluendo.com>
18510 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
18511 (gst_fake_src_get_times), (gst_fake_src_create):
18512 Fix broken sync option, fixes #323259
18514 2005-12-07 Wim Taymans <wim@fluendo.com>
18516 * gst/gstbuffer.c:
18517 Small docs update.
18519 * gst/gstcaps.c: (gst_caps_is_equal):
18520 Don't assert on NULL <--> X. Fixes #323260
18522 * gst/gstminiobject.c: (gst_mini_object_replace):
18523 If we're doing atomic operations, we might just as well use
18524 the proper way to get an atomic pointer.
18526 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
18527 Clean up debugging.
18529 2005-12-07 Michael Smith <msmith@fluendo.com>
18531 * gst/parse/grammar.y:
18532 Remove handling of { } for threads.
18534 2005-12-06 David Schleef <ds@schleef.org>
18536 * libs/gst/base/gstbasetransform.c: speling fix.
18538 2005-12-06 Thomas Vander Stichele <thomas at apestaart dot org>
18540 * docs/libs/tmpl/gstdataprotocol.sgml:
18541 * docs/random/omega/testing/gstobject.c:
18542 * gst/gst.c:
18543 * gst/gstclock.c:
18544 * gst/gstelement.c:
18545 * gst/gstelementfactory.c:
18546 * gst/gsterror.c:
18547 * gst/gstevent.c:
18548 * gst/gstghostpad.c:
18549 * gst/gstinfo.c:
18550 * gst/gstpadtemplate.c:
18551 * gst/gstregistryxml.c:
18552 * gst/gsttaglist.c:
18553 * gst/gsttagsetter.c:
18554 * gst/gsttypefind.c:
18555 * gst/gstvalue.c:
18556 * libs/gst/base/gstbasesrc.c:
18557 * libs/gst/net/gstnetclientclock.c:
18558 * libs/gst/net/gstnettimeprovider.c:
18559 * plugins/elements/gstfakesrc.c:
18560 * plugins/elements/gstfdsrc.c:
18561 * plugins/elements/gstfilesrc.c:
18562 * plugins/elements/gstidentity.c:
18563 * plugins/elements/gstqueue.c:
18564 * plugins/elements/gsttypefindelement.c:
18565 * plugins/indexers/gstfileindex.c:
18566 * plugins/indexers/gstmemindex.c:
18567 * tests/check/gst/gsttag.c:
18568 * tests/old/examples/cutter/cutter.c:
18569 * tests/old/examples/mixer/mixer.c:
18570 * tests/old/examples/xml/runxml.c: (main):
18571 * tests/old/testsuite/caps/normalisation.c:
18572 * tests/old/testsuite/debug/global.c:
18573 * tests/old/testsuite/parse/parse1.c:
18574 * tools/gst-xmlinspect.c:
18575 * win32/common/dirent.c:
18576 expand tabs
18578 === release 0.10.0 ===
18580 2005-12-05 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
18582 * configure.ac:
18583 releasing 0.10.0, "Maroilles"
18585 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
18587 submitted by: Funda Wang <fundawang@linux.net.cn>
18589 * po/LINGUAS:
18590 * po/zh_CN.po:
18591 added Chinese (Traditional) translation
18593 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
18595 * docs/gst/gstreamer-sections.txt:
18596 * docs/libs/tmpl/gstdataprotocol.sgml:
18597 * docs/random/thomasvs/TODO:
18598 * gst/gstutils.c:
18599 * gst/gstutils.h:
18600 fix docs
18602 2005-12-05 Andy Wingo <wingo@pobox.com>
18604 patch by: Wim Taymans <wim@fluendo.com>
18606 * libs/gst/base/gstbasetransform.c
18607 (gst_base_transform_prepare_output_buf)
18608 (gst_base_transform_buffer_alloc):
18609 * plugins/elements/gstqueue.c (gst_queue_bufferalloc): Call
18610 alloc_buffer_and_set_caps.
18612 * gst/gstpad.c (gst_pad_alloc_buffer): Changed to not call
18613 set_caps on the source pad.
18614 (gst_pad_alloc_buffer_and_set_caps): New function, does what
18615 alloc_buffer used to do. Fixes #322874.
18617 * docs/gst/gstreamer-sections.txt:
18618 * docs/design/part-negotiation.txt:
18619 * docs/pwg/advanced-negotiation.xml: Update for the alloc_buffer
18620 changes.
18622 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
18624 patch by: Sebastien Moutte
18626 * win32/MANIFEST:
18627 * win32/common/config.h.in:
18628 * win32/vs6/libgstcontroller.dsp:
18629 win32 build fixes
18631 2005-12-05 Wim Taymans <wim@fluendo.com>
18633 * gst/gstcaps.c: (gst_caps_is_equal):
18634 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
18635 (gst_fake_src_create):
18636 Back out previous code changes, leave doc updates, file bugs
18637 instead.
18639 2005-12-05 Wim Taymans <wim@fluendo.com>
18641 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
18642 (gst_fake_src_get_times), (gst_fake_src_create):
18643 * plugins/elements/gstfakesrc.h:
18644 Fix broken sync code.
18646 2005-12-05 Wim Taymans <wim@fluendo.com>
18648 * gst/gstcaps.c: (gst_caps_is_equal):
18649 Comparing NULL against !NULL yields different caps, not a
18650 failure.
18652 2005-12-05 Wim Taymans <wim@fluendo.com>
18654 * gst/gstpipeline.c:
18655 Fix small typo in docs.
18657 2005-12-05 Andy Wingo <wingo@pobox.com>
18659 patch by: Thomas Vander Stichele <thomas at apestaart dot org>
18661 * gst/gst.c (init_post): remove hard-coded 0.9 location for
18662 registries/plugins with a MAJORMINOR one.
18663 (plugin_desc): Rename library from gstcoreleements to
18664 staticelements. Fixes #323222.
18666 2005-12-05 Tim-Philipp Müller <tim at centricular dot net>
18668 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init):
18669 Change debug category to 'collectpads' from 'collect_pads'
18670 (fixes #323250).
18672 2005-12-04 Thomas Vander Stichele <thomas at apestaart dot org>
18674 patch by: Sebastien Moutte
18676 * libs/gst/controller/gstinterpolation.c:
18677 use convert function for uint64/double
18678 * win32/vs6/libgstcontroller.dsp:
18679 link to GLib
18681 2005-12-04 Thomas Vander Stichele <thomas at apestaart dot org>
18683 * gst/gstutils.c: (gst_util_guint64_to_gdouble),
18684 (gst_util_gdouble_to_guint64), (gst_util_uint64_scale_int64):
18685 * gst/gstutils.h:
18686 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
18687 add tests that seem to show that the guint64/gdouble conversions
18688 are correct.
18690 2005-12-02 Wim Taymans <wim@fluendo.com>
18692 * gst/gstregistry.c: (gst_registry_add_path):
18693 * gst/gstregistry.h:
18694 * gst/gstregistryxml.c:
18695 Fix docs again.
18697 2005-12-02 Wim Taymans <wim@fluendo.com>
18699 * gst/gstutils.c: (gst_util_uint64_scale_int64),
18700 (gst_util_uint64_scale_int):
18701 Small cleanup.
18703 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object):
18704 Add debug log line.
18706 * libs/gst/base/gstbasetransform.c: (gst_base_transform_event):
18707 Add FIXME.
18709 2005-12-02 Thomas Vander Stichele <thomas at apestaart dot org>
18711 * win32/MANIFEST:
18712 * win32/common/config.h:
18713 * win32/vs6/gstreamer.dsw:
18714 * win32/vs6/libgstcoreelements.dsp:
18715 * win32/vs6/libgstelements.dsp:
18716 renamed core elements plugin
18718 2005-12-02 Thomas Vander Stichele <thomas at apestaart dot org>
18720 * tools/gst-run.c: (compare_major_minor), (find_highest_version),
18721 (get_candidates):
18722 do piece-wise major/minor comparison so 0.9 < 0.10
18723 also allow .exe extensions for tools
18725 2005-12-02 Michael Smith <msmith@fluendo.com>
18727 * gst/gst.c:
18728 Escape a % to make gtkdoc happier; bug 322958.
18730 === release 0.9.7 ===
18732 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
18734 * configure.ac:
18735 releasing 0.9.7, "My Dog Has No Nose"
18737 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
18739 * common/gst-xmlinspect.py:
18740 * configure.ac:
18741 * docs/libs/tmpl/gstdataprotocol.sgml:
18742 * docs/random/release:
18743 * po/af.po:
18744 * po/az.po:
18745 * po/bg.po:
18746 * po/ca.po:
18747 * po/cs.po:
18748 * po/de.po:
18749 * po/en_GB.po:
18750 * po/fr.po:
18751 * po/it.po:
18752 * po/nb.po:
18753 * po/nl.po:
18754 * po/ru.po:
18755 * po/sq.po:
18756 * po/sr.po:
18757 * po/sv.po:
18758 * po/tr.po:
18759 * po/uk.po:
18760 * po/vi.po:
18761 * win32/common/config.h:
18762 * win32/common/config.h.in:
18763 * win32/vs6/gst_inspect.dsp:
18764 * win32/vs6/gst_launch.dsp:
18765 * win32/vs6/libgstbase.dsp:
18766 * win32/vs6/libgstelements.dsp:
18767 * win32/vs6/libgstreamer.dsp:
18768 * win32/vs7/GStreamer.vcproj:
18769 * win32/vs7/gst-inspect.vcproj:
18770 * win32/vs7/gst-launch.vcproj:
18771 * win32/vs7/libgstbase.vcproj:
18772 bump GST_MAJORMINOR to 0.10
18773 reset libtool version
18775 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
18777 * po/LINGUAS:
18778 * po/bg.po:
18779 Added Bulgarian translation by (Alexander Shopov)
18781 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
18783 * tests/check/gst/gstplugin.c:
18784 fix test
18786 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
18788 * common/gst-xmlinspect.py:
18789 * common/gtk-doc-plugins.mak:
18790 * configure.ac:
18791 * docs/Makefile.am:
18792 * docs/gst/Makefile.am:
18793 * docs/gst/gstreamer-docs.sgml:
18794 * docs/gst/gstreamer-sections.txt:
18795 * docs/gst/gstreamer.types:
18796 * docs/gst/gstreamer.types.in:
18797 * docs/plugins/Makefile.am:
18798 * docs/plugins/gstreamer-plugins-docs.sgml:
18799 * docs/plugins/gstreamer-plugins-sections.txt:
18800 * docs/plugins/gstreamer-plugins.types:
18801 * docs/plugins/inspect.stamp:
18802 * docs/plugins/inspect/plugin-coreelements.xml:
18803 * docs/plugins/inspect/plugin-coreindexers.xml:
18804 * docs/plugins/scanobj-build.stamp:
18805 * gstreamer.spec.in:
18806 * plugins/elements/Makefile.am:
18807 * plugins/elements/gstelements.c:
18808 * plugins/elements/gstfakesink.c:
18809 * plugins/elements/gstfakesrc.c:
18810 * plugins/elements/gstfilesink.c:
18811 * plugins/elements/gstfilesrc.c:
18812 * plugins/elements/gstqueue.c:
18813 * plugins/indexers/Makefile.am:
18814 * plugins/indexers/gstindexers.c:
18815 document core plugins in a separate document just like all the
18816 others
18817 rename these plugins to something starting with core
18819 2005-12-01 Andy Wingo <wingo@pobox.com>
18821 * gst/gstevent.h (struct _GstEvent): Meant to remove the extra
18822 padding here before, but it missed the commit.
18824 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
18826 * libs/gst/controller/gstinterpolation.c:
18827 whitespace prices have crashed, we should feel free to use some now
18828 use gst_guint64_to_gdouble
18830 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
18832 * libs/gst/controller/gstcontroller.c:
18833 * libs/gst/controller/gsthelper.c:
18834 * libs/gst/controller/gstinterpolation.c:
18835 * libs/gst/controller/lib.c:
18836 wrap config.h include
18838 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
18840 * docs/gst/gstreamer-sections.txt:
18841 update docs
18843 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
18845 * plugins/elements/gstelements.c:
18846 * plugins/elements/gstfdsink.c: (gst_fd_sink__base_init),
18847 (gst_fd_sink__class_init), (gst_fd_sink__init),
18848 (gst_fd_sink__chain), (gst_fd_sink__set_property),
18849 (gst_fd_sink__get_property):
18850 * plugins/elements/gstfdsink.h:
18851 * plugins/elements/gstfdsrc.c: (_do_init), (gst_fd_src_base_init),
18852 (gst_fd_src_class_init), (gst_fd_src_init), (gst_fd_src_dispose),
18853 (gst_fd_src_update_fd), (gst_fd_src_start), (gst_fd_src_stop),
18854 (gst_fd_src_unlock), (gst_fd_src_set_property),
18855 (gst_fd_src_get_property), (gst_fd_src_create),
18856 (gst_fd_src_is_seekable), (gst_fd_src_get_size),
18857 (gst_fd_src_uri_get_type), (gst_fd_src_uri_get_protocols),
18858 (gst_fd_src_uri_get_uri), (gst_fd_src_uri_set_uri),
18859 (gst_fd_src_uri_handler_init):
18860 * plugins/elements/gstfdsrc.h:
18861 * plugins/elements/gstqueue.c: (gst_queue_get_type):
18862 more anal cleanup
18864 2005-11-30 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
18866 * docs/gst/Makefile.am:
18867 * docs/gst/gstreamer.types.in:
18868 * gst/Makefile.am:
18869 fix the docs build
18871 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
18873 * configure.ac:
18874 * gst/Makefile.am:
18875 * gst/gst.c:
18876 * gst/gstplugin.h:
18877 * gst/gstregistry.h:
18878 * tests/benchmarks/complexity.c:
18879 * tests/benchmarks/mass-elements.c:
18880 * tests/check/Makefile.am:
18881 * tools/Makefile.am:
18882 * tools/gst-inspect.c:
18883 * tools/gst-xmlinspect.c:
18884 various fixes to make
18885 --disable-nls --disable-registry --disable-loadsave
18886 --disable-parse --disable-gst-debug
18887 work and get the core .so down to 360444 bytes after stripping
18889 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
18891 * Makefile.am:
18892 * configure.ac:
18893 descend into tests
18894 * docs/random/thomasvs/TODO:
18895 * tests/Makefile.am:
18896 * tests/README:
18897 add a README
18899 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
18901 * win32/GStreamer.vcproj:
18902 * win32/MANIFEST:
18903 * win32/Makefile:
18904 * win32/Makefile.inspect:
18905 * win32/Makefile.launch:
18906 * win32/Makefile.register:
18907 * win32/README.txt:
18908 * win32/gst-inspect.vcproj:
18909 * win32/gst-launch.vcproj:
18910 * win32/gst-register.vcproj:
18911 * win32/gstelements.vcproj:
18912 * win32/gstgetbits.def:
18913 * win32/gstgetbits.vcproj:
18914 * win32/gstreamer-dbg.def:
18915 * win32/gstreamer.def:
18916 * win32/libgstbase.def:
18917 * win32/libgstbase.vcproj:
18918 * win32/link_oldruntime.c:
18919 * win32/mman.c:
18920 * win32/mman.h:
18921 * win32/mman.inl:
18922 * win32/msvc71.sln:
18923 move even more stuff, win32/ is nice and clean now
18925 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
18927 * libs/gst/control/.cvsignore:
18928 * win32/MANIFEST:
18929 * win32/config.h:
18930 * win32/dirent.c:
18931 * win32/dirent.h:
18932 * win32/gstbytestream.def:
18933 * win32/gstbytestream.vcproj:
18934 * win32/gstconfig.h:
18935 * win32/gstenumtypes.c:
18936 * win32/gstenumtypes.h:
18937 * win32/gstoptimalscheduler.vcproj:
18938 * win32/gstversion.h:
18939 * win32/gtchar.h:
18940 * win32/testsuite/bins.vcproj:
18941 * win32/testsuite/bytestream.vcproj:
18942 * win32/testsuite/caps.vcproj:
18943 * win32/testsuite/cleanup.vcproj:
18944 * win32/testsuite/clock.vcproj:
18945 * win32/testsuite/debug.vcproj:
18946 * win32/testsuite/dlopen.vcproj:
18947 * win32/testsuite/dynparams.vcproj:
18948 * win32/testsuite/elements.vcproj:
18949 * win32/testsuite/ghostpads.vcproj:
18950 * win32/testsuite/indexers.vcproj:
18951 * win32/testsuite/negotiation.vcproj:
18952 * win32/testsuite/parse.vcproj:
18953 * win32/testsuite/plugin.vcproj:
18954 * win32/testsuite/refcounting.vcproj:
18955 * win32/testsuite/schedulers.vcproj:
18956 * win32/testsuite/states.vcproj:
18957 * win32/testsuite/tags.vcproj:
18958 * win32/testsuite/threads.vcproj:
18959 remove old win32 stuff that isn't maintained and should be
18960 reorganized
18962 2005-11-30 Andy Wingo <wingo@pobox.com>
18964 * configure.ac (GST_PKG_DEPS): Revert previous patch, makes
18965 loading the gst.interfaces python module bork.
18967 * configure.ac (GST_PKG_DEPS): Use gmodule-no-export-2.0.pc,
18968 available since GLib 2.2. Fixes #318031.
18970 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
18972 * Makefile.am:
18973 * check/.cvsignore:
18974 * check/Makefile.am:
18975 * check/elements/.cvsignore:
18976 * check/elements/fakesrc.c:
18977 * check/elements/fdsrc.c:
18978 * check/elements/identity.c:
18979 * check/generic/.cvsignore:
18980 * check/generic/states.c:
18981 * check/gst-libs/.cvsignore:
18982 * check/gst-libs/controller.c:
18983 * check/gst-libs/gdp.c:
18984 * check/gst/.cvsignore:
18985 * check/gst/capslist.h:
18986 * check/gst/gst.c:
18987 * check/gst/gstbin.c:
18988 * check/gst/gstbuffer.c:
18989 * check/gst/gstbus.c:
18990 * check/gst/gstcaps.c:
18991 * check/gst/gstelement.c:
18992 * check/gst/gstevent.c:
18993 * check/gst/gstghostpad.c:
18994 * check/gst/gstiterator.c:
18995 * check/gst/gstmessage.c:
18996 * check/gst/gstminiobject.c:
18997 * check/gst/gstobject.c:
18998 * check/gst/gstpad.c:
18999 * check/gst/gstpipeline.c:
19000 * check/gst/gstplugin.c:
19001 * check/gst/gstsegment.c:
19002 * check/gst/gststructure.c:
19003 * check/gst/gstsystemclock.c:
19004 * check/gst/gsttag.c:
19005 * check/gst/gstutils.c:
19006 * check/gst/gstvalue.c:
19007 * check/net/.cvsignore:
19008 * check/net/gstnetclientclock.c:
19009 * check/net/gstnettimeprovider.c:
19010 * check/pipelines/.cvsignore:
19011 * check/pipelines/cleanup.c:
19012 * check/pipelines/simple_launch_lines.c:
19013 * check/pipelines/stress.c:
19014 * check/states/.cvsignore:
19015 * check/states/sinks.c:
19016 * configure.ac:
19017 * examples/Makefile.am:
19018 * examples/appreader/.cvsignore:
19019 * examples/appreader/Makefile.am:
19020 * examples/appreader/appreader.c:
19021 * examples/controller/.cvsignore:
19022 * examples/controller/Makefile.am:
19023 * examples/controller/audio-example.c:
19024 * examples/cutter/.cvsignore:
19025 * examples/cutter/Makefile.am:
19026 * examples/cutter/cutter.c:
19027 * examples/cutter/cutter.h:
19028 * examples/events/Makefile.am:
19029 * examples/events/seek.c:
19030 * examples/helloworld/.cvsignore:
19031 * examples/helloworld/Makefile.am:
19032 * examples/helloworld/helloworld.c:
19033 * examples/helloworld2/.cvsignore:
19034 * examples/helloworld2/Makefile.am:
19035 * examples/helloworld2/helloworld2.c:
19036 * examples/launch/.cvsignore:
19037 * examples/launch/Makefile.am:
19038 * examples/launch/mp3parselaunch.c:
19039 * examples/launch/mp3play:
19040 * examples/manual/.cvsignore:
19041 * examples/manual/Makefile.am:
19042 * examples/manual/extract.pl:
19043 * examples/metadata/Makefile.am:
19044 * examples/metadata/read-metadata.c:
19045 * examples/mixer/.cvsignore:
19046 * examples/mixer/Makefile.am:
19047 * examples/mixer/mixer.c:
19048 * examples/mixer/mixer.h:
19049 * examples/pingpong/.cvsignore:
19050 * examples/pingpong/Makefile.am:
19051 * examples/pingpong/pingpong.c:
19052 * examples/plugins/.cvsignore:
19053 * examples/plugins/Makefile.am:
19054 * examples/plugins/example.c:
19055 * examples/plugins/example.h:
19056 * examples/pwg/.cvsignore:
19057 * examples/pwg/Makefile.am:
19058 * examples/pwg/extract.pl:
19059 * examples/queue/.cvsignore:
19060 * examples/queue/Makefile.am:
19061 * examples/queue/queue.c:
19062 * examples/queue2/.cvsignore:
19063 * examples/queue2/Makefile.am:
19064 * examples/queue2/queue2.c:
19065 * examples/queue3/.cvsignore:
19066 * examples/queue3/Makefile.am:
19067 * examples/queue3/queue3.c:
19068 * examples/queue4/.cvsignore:
19069 * examples/queue4/Makefile.am:
19070 * examples/queue4/queue4.c:
19071 * examples/retag/.cvsignore:
19072 * examples/retag/Makefile.am:
19073 * examples/retag/retag.c:
19074 * examples/retag/transcode.c:
19075 * examples/thread/.cvsignore:
19076 * examples/thread/Makefile.am:
19077 * examples/thread/thread.c:
19078 * examples/typefind/.cvsignore:
19079 * examples/typefind/Makefile.am:
19080 * examples/typefind/typefind.c:
19081 * examples/xml/.cvsignore:
19082 * examples/xml/Makefile.am:
19083 * examples/xml/createxml.c:
19084 * examples/xml/runxml.c:
19085 * tests/Makefile.am:
19086 * tests/check/Makefile.am:
19087 * testsuite/.cvsignore:
19088 * testsuite/Makefile.am:
19089 * testsuite/Rules:
19090 * testsuite/caps/.cvsignore:
19091 * testsuite/caps/Makefile.am:
19092 * testsuite/caps/app_fixate.c:
19093 * testsuite/caps/audioscale.c:
19094 * testsuite/caps/caps.c:
19095 * testsuite/caps/caps.h:
19096 * testsuite/caps/caps_strings:
19097 * testsuite/caps/compatibility.c:
19098 * testsuite/caps/deserialize.c:
19099 * testsuite/caps/enumcaps.c:
19100 * testsuite/caps/eratosthenes.c:
19101 * testsuite/caps/filtercaps.c:
19102 * testsuite/caps/fixed.c:
19103 * testsuite/caps/fraction-convert.c:
19104 * testsuite/caps/fraction-multiply-and-zero.c:
19105 * testsuite/caps/intersect2.c:
19106 * testsuite/caps/intersection.c:
19107 * testsuite/caps/normalisation.c:
19108 * testsuite/caps/random.c:
19109 * testsuite/caps/renegotiate.c:
19110 * testsuite/caps/sets.c:
19111 * testsuite/caps/simplify.c:
19112 * testsuite/caps/string-conversions.c:
19113 * testsuite/caps/structure.c:
19114 * testsuite/caps/subtract.c:
19115 * testsuite/caps/union.c:
19116 * testsuite/debug/.cvsignore:
19117 * testsuite/debug/Makefile.am:
19118 * testsuite/debug/category.c:
19119 * testsuite/debug/commandline.c:
19120 * testsuite/debug/global.c:
19121 * testsuite/debug/output.c:
19122 * testsuite/debug/printf_extension.c:
19123 * testsuite/dlopen/.cvsignore:
19124 * testsuite/dlopen/Makefile.am:
19125 * testsuite/dlopen/dlopen_gst.c:
19126 * testsuite/dlopen/loadgst.c:
19127 * testsuite/elements/.cvsignore:
19128 * testsuite/elements/Makefile.am:
19129 * testsuite/elements/gst-inspect-check.in:
19130 * testsuite/elements/struct_i386.h:
19131 * testsuite/elements/struct_size.c:
19132 * testsuite/indexers/.cvsignore:
19133 * testsuite/indexers/Makefile.am:
19134 * testsuite/indexers/cache1.c:
19135 * testsuite/indexers/indexdump.c:
19136 * testsuite/parse/.cvsignore:
19137 * testsuite/parse/Makefile.am:
19138 * testsuite/parse/parse1.c:
19139 * testsuite/parse/parse2.c:
19140 * testsuite/plugin/.cvsignore:
19141 * testsuite/plugin/Makefile.am:
19142 * testsuite/plugin/README:
19143 * testsuite/plugin/dynamic.c:
19144 * testsuite/plugin/linked.c:
19145 * testsuite/plugin/loading.c:
19146 * testsuite/plugin/registry.c:
19147 * testsuite/plugin/static.c:
19148 * testsuite/plugin/static2.c:
19149 * testsuite/plugin/testplugin.c:
19150 * testsuite/plugin/testplugin2.c:
19151 * testsuite/plugin/testplugin2_s.c:
19152 * testsuite/plugin/testplugin_s.c:
19153 * testsuite/refcounting/.cvsignore:
19154 * testsuite/refcounting/Makefile.am:
19155 * testsuite/refcounting/bin.c:
19156 * testsuite/refcounting/element.c:
19157 * testsuite/refcounting/element_pad.c:
19158 * testsuite/refcounting/mainloop.c:
19159 * testsuite/refcounting/mem.c:
19160 * testsuite/refcounting/mem.h:
19161 * testsuite/refcounting/object.c:
19162 * testsuite/refcounting/pad.c:
19163 * testsuite/refcounting/sched.c:
19164 * testsuite/refcounting/thread.c:
19165 * testsuite/states/.cvsignore:
19166 * testsuite/states/Makefile.am:
19167 * testsuite/states/bin.c:
19168 * testsuite/states/locked.c:
19169 * testsuite/states/parent.c:
19170 * testsuite/threads/.cvsignore:
19171 * testsuite/threads/159566.c:
19172 * testsuite/threads/159852.c:
19173 * testsuite/threads/Makefile.am:
19174 * testsuite/threads/queue.c:
19175 * testsuite/threads/signals.c:
19176 * testsuite/threads/staticrec.c:
19177 * testsuite/threads/thread.c:
19178 * testsuite/threads/threadb.c:
19179 * testsuite/threads/threadc.c:
19180 * testsuite/threads/threadd.c:
19181 * testsuite/threads/threade.c:
19182 * testsuite/threads/threadf.c:
19183 * testsuite/threads/threadg.c:
19184 * testsuite/threads/threadh.c:
19185 * testsuite/threads/threadi.c:
19186 move all of these under tests
19188 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19190 * configure.ac:
19191 * tests/Makefile.am:
19192 fix distcheck
19194 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19196 * docs/gst/gstreamer-sections.txt:
19197 * tests/sched/.cvsignore:
19198 * tests/sched/Makefile.am:
19199 * tests/sched/cases/(fs-fs).xml:
19200 * tests/sched/cases/(fs-i-fs).xml:
19201 * tests/sched/cases/(fs-i-i-fs).xml:
19202 * tests/sched/cases/(fs-i-q[i-fs]).xml:
19203 * tests/sched/dynamic-pipeline.c:
19204 * tests/sched/interrupt1.c:
19205 * tests/sched/interrupt2.c:
19206 * tests/sched/interrupt3.c:
19207 * tests/sched/runtestcases:
19208 * tests/sched/runxml.c:
19209 * tests/sched/sched-stress.c:
19210 * tests/sched/sort.c:
19211 * tests/sched/testcases:
19212 * tests/sched/testcases1.tc:
19213 * tests/seeking/.cvsignore:
19214 * tests/seeking/Makefile.am:
19215 * tests/seeking/seeking1.c:
19216 * tests/threadstate/.cvsignore:
19217 * tests/threadstate/Makefile.am:
19218 * tests/threadstate/test1.c:
19219 * tests/threadstate/test2.c:
19220 * tests/threadstate/threadstate1.c:
19221 * tests/threadstate/threadstate2.c:
19222 * tests/threadstate/threadstate3.c:
19223 * tests/threadstate/threadstate4.c:
19224 * tests/threadstate/threadstate5.c:
19225 remove obsolete tests
19226 * configure.ac:
19227 * tests/bench-complexity.scm:
19228 * tests/bench-mass_elements.scm:
19229 * tests/complexity.c:
19230 * tests/complexity.gnuplot:
19231 * tests/instantiate/.cvsignore:
19232 * tests/instantiate/Makefile.am:
19233 * tests/instantiate/caps.c:
19234 * tests/mass_elements.c:
19235 * tests/network-clock-utils.scm:
19236 * tests/network-clock.scm:
19237 * tests/plot-data:
19238 First pass at cleaning up tests/ dir before moving the rest
19239 Combined with CVS surgery
19241 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19243 * po/POTFILES.in:
19244 queue has moved, update
19246 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19248 * docs/gst/gstreamer-sections.txt:
19249 remove double entries from the docs
19250 * gst/gst_private.h:
19251 * gst/gstinfo.c: (_gst_debug_init):
19252 remove the THREAD debug category
19253 * gst/Makefile.am:
19254 * gst/gstqueue.c:
19255 * gst/gstqueue.h:
19256 * docs/gst/gstreamer.types:
19257 * plugins/elements/gstqueue.c: (gst_queue_get_type),
19258 (gst_queue_init), (gst_queue_finalize), (gst_queue_change_state):
19259 completely move queue and fix up debugging categories
19261 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19263 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
19264 make initialization portable, using LL is not
19266 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19268 * win32/common/gstconfig.h:
19269 add large padding
19271 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19273 * win32/common/libgstreamer.def:
19274 rename symbols; sort base section
19276 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19278 * gst/gstclock.c: (do_linear_regression):
19279 remove crack non-portable handrolled DEBUG macro
19281 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19283 * docs/random/release:
19284 update notes
19285 * win32/common/gstenumtypes.c: (register_gst_object_flags),
19286 (gst_object_flags_get_type), (register_gst_bin_flags),
19287 (gst_bin_flags_get_type), (register_gst_buffer_flag),
19288 (gst_buffer_flag_get_type), (register_gst_bus_flags),
19289 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
19290 (gst_bus_sync_reply_get_type), (register_gst_caps_flags),
19291 (gst_caps_flags_get_type), (register_gst_clock_return),
19292 (gst_clock_return_get_type), (register_gst_clock_entry_type),
19293 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
19294 (gst_clock_flags_get_type), (register_gst_state),
19295 (gst_state_get_type), (register_gst_state_change_return),
19296 (gst_state_change_return_get_type), (register_gst_state_change),
19297 (gst_state_change_get_type), (register_gst_element_flags),
19298 (gst_element_flags_get_type), (register_gst_core_error),
19299 (gst_core_error_get_type), (register_gst_library_error),
19300 (gst_library_error_get_type), (register_gst_resource_error),
19301 (gst_resource_error_get_type), (register_gst_stream_error),
19302 (gst_stream_error_get_type), (register_gst_event_type_flags),
19303 (gst_event_type_flags_get_type), (register_gst_event_type),
19304 (gst_event_type_get_type), (register_gst_seek_type),
19305 (gst_seek_type_get_type), (register_gst_seek_flags),
19306 (gst_seek_flags_get_type), (register_gst_format),
19307 (gst_format_get_type), (register_gst_index_certainty),
19308 (gst_index_certainty_get_type), (register_gst_index_entry_type),
19309 (gst_index_entry_type_get_type),
19310 (register_gst_index_lookup_method),
19311 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
19312 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
19313 (gst_index_resolver_method_get_type), (register_gst_index_flags),
19314 (gst_index_flags_get_type), (register_gst_debug_level),
19315 (gst_debug_level_get_type), (register_gst_debug_color_flags),
19316 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
19317 (gst_iterator_result_get_type), (register_gst_iterator_item),
19318 (gst_iterator_item_get_type), (register_gst_message_type),
19319 (gst_message_type_get_type), (register_gst_mini_object_flags),
19320 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
19321 (gst_pad_link_return_get_type), (register_gst_flow_return),
19322 (gst_flow_return_get_type), (register_gst_activate_mode),
19323 (gst_activate_mode_get_type), (register_gst_pad_direction),
19324 (gst_pad_direction_get_type), (register_gst_pad_flags),
19325 (gst_pad_flags_get_type), (register_gst_pad_presence),
19326 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
19327 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
19328 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
19329 (gst_plugin_error_get_type), (register_gst_plugin_flags),
19330 (gst_plugin_flags_get_type), (register_gst_rank),
19331 (gst_rank_get_type), (register_gst_query_type),
19332 (gst_query_type_get_type), (register_gst_tag_merge_mode),
19333 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
19334 (gst_tag_flag_get_type), (register_gst_task_state),
19335 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
19336 (gst_alloc_trace_flags_get_type),
19337 (register_gst_type_find_probability),
19338 (gst_type_find_probability_get_type), (register_gst_uri_type),
19339 (gst_uri_type_get_type), (register_gst_parse_error),
19340 (gst_parse_error_get_type):
19341 * win32/common/gstenumtypes.h:
19342 * win32/common/gstversion.h:
19343 update visual studio generated files
19345 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19347 * win32/vs6/libgstbase.dsp:
19348 * win32/vs6/libgstelements.dsp:
19349 update project files for new locations
19351 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19353 * Makefile.am:
19354 remove some files
19355 * README:
19356 reinstate and update
19357 * DEVEL:
19358 * REQUIREMENTS:
19359 removed
19360 * LICENSE:
19361 * docs/random/LICENSE:
19362 moved to random
19364 2005-11-30 Edward Hervey <edward@fluendo.com>
19366 * gst/gsttypefind.c: (gst_type_find_register):
19367 * gst/gsttypefind.h:
19368 * gst/gsttypefindfactory.c: (gst_type_find_factory_init),
19369 (gst_type_find_factory_dispose):
19370 * gst/gsttypefindfactory.h:
19371 Fix memory leak in GstTypeFindFactory.
19373 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
19375 * gst/gst.c:
19376 * plugins/elements/Makefile.am:
19377 * plugins/elements/gstelements.c:
19378 * plugins/elements/gstqueue.c:
19379 move queue from core to the elements plugin
19381 2005-11-29 Andy Wingo <wingo@pobox.com>
19383 * libs/gst/base/gstbasetransform.h:
19384 * libs/gst/base/gstbasesrc.h:
19385 * libs/gst/base/gstbasesink.h: en-LARGE the padding.
19387 * gst/gstconfig.h.in (GST_PADDING_LARGE): New define, the number
19388 of pointers by which to pad very extensible base classes (like the
19389 ones in libs/gst/base).
19391 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
19393 * docs/gst/gstreamer-docs.sgml:
19394 * docs/gst/gstreamer-sections.txt:
19395 * docs/libs/gstreamer-libs-docs.sgml:
19396 * docs/libs/gstreamer-libs-sections.txt:
19397 moving documentation from core to lib
19399 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
19401 * check/Makefile.am:
19402 * configure.ac:
19403 * docs/gst/Makefile.am:
19404 * gst/Makefile.am:
19405 * gst/base/.cvsignore:
19406 * gst/base/Makefile.am:
19407 * gst/base/README:
19408 * gst/base/gstadapter.c:
19409 * gst/base/gstadapter.h:
19410 * gst/base/gstbasesink.c:
19411 * gst/base/gstbasesink.h:
19412 * gst/base/gstbasesrc.c:
19413 * gst/base/gstbasesrc.h:
19414 * gst/base/gstbasetransform.c:
19415 * gst/base/gstbasetransform.h:
19416 * gst/base/gstcollectpads.c:
19417 * gst/base/gstcollectpads.h:
19418 * gst/base/gstpushsrc.c:
19419 * gst/base/gstpushsrc.h:
19420 * gst/base/gsttypefindhelper.c:
19421 * gst/base/gsttypefindhelper.h:
19422 * gst/check/Makefile.am:
19423 * gst/check/gstcheck.c:
19424 * gst/check/gstcheck.h:
19425 * gst/net/Makefile.am:
19426 * gst/net/gstnet.h:
19427 * gst/net/gstnetclientclock.c:
19428 * gst/net/gstnetclientclock.h:
19429 * gst/net/gstnettimepacket.c:
19430 * gst/net/gstnettimepacket.h:
19431 * gst/net/gstnettimeprovider.c:
19432 * gst/net/gstnettimeprovider.h:
19433 * libs/gst/Makefile.am:
19434 * libs/gst/base/Makefile.am:
19435 * libs/gst/base/gstbasetransform.c:
19436 * libs/gst/check/Makefile.am:
19437 * plugins/elements/Makefile.am:
19438 * po/POTFILES.in:
19439 CVS surgery + support to move base, check, and net out of gst
19440 and into libs/gst
19442 2005-11-29 Andy Wingo <wingo@pobox.com>
19444 * gst/gstevent.h (struct _GstEvent): Only one pointer of padding.
19446 * gst/gststructure.h (struct _GstStructure): Only one pointer of
19447 padding.
19449 * gst/gstquery.h (struct _GstQuery): Only one pointer of padding.
19451 * gst/gstpluginfeature.h: Remove a comment in PluginFeature.
19453 * gst/gstplugin.h (struct _GstPluginClass): Add some padding.
19455 * gst/gstobject.h: (struct _GstObject): Only one pointer of
19456 padding; reduces object size by about 30%. We don't expect
19457 anything else to go into gstobject.
19459 * gst/gstminiobject.h (struct _GstMiniObject)
19460 (struct _GstMiniObjectClass): Only one pointer of padding; the
19461 payload is only a pointer and two ints anyway. For the class there
19462 are only two methods as well.
19464 * gst/gstelement.h (struct _GstElementClass): Removed
19465 the state_changed signal callback, it is not used.
19467 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
19469 * docs/gst/gstreamer.types:
19470 fix includes, though they are a little dinky
19472 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
19474 * check/Makefile.am:
19475 look in the right place for elements, a lot more chance of
19476 success
19477 * gst/Makefile.am:
19478 remove indexers and elements subdirs
19479 * plugins/Makefile.am:
19480 make indexers conditional
19482 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
19484 * Makefile.am:
19485 * configure.ac:
19486 * plugins/elements/Makefile.am:
19487 * plugins/elements/gstcapsfilter.c:
19488 * plugins/elements/gstfilesink.c:
19489 * plugins/elements/gstfilesrc.c:
19490 * plugins/elements/gstidentity.c:
19491 * plugins/indexers/Makefile.am:
19492 do CVS surgery and related build fixery to move elements
19493 and indexers in a new gstreamer/plugins directory, out of the
19494 gst/ directory
19496 2005-11-29 Andy Wingo <wingo@pobox.com>
19498 * check/Makefile.am:
19499 * pkgconfig/gstreamer-net-uninstalled.pc.in:
19500 * pkgconfig/gstreamer-net.pc.in:
19501 * gst/net/Makefile.am: Rename gstnet-tempname to gstnet. Fixes
19502 #322257.
19504 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
19506 * tools/Makefile.am:
19507 * tools/gst-complete.1.in:
19508 * tools/gst-complete.c:
19509 * tools/gst-compprep.1.in:
19510 * tools/gst-compprep.c:
19511 removing -compprep and -complete
19513 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
19515 * gst/gstevent.c: (gst_event_new_new_segment),
19516 (gst_event_parse_new_segment):
19517 * gst/gstevent.h:
19518 fix #320529 - clean up new_segment API and structure.
19519 Let's hope everyone was using the methods, and not the structure.
19521 2005-11-29 Edward Hervey <edward@fluendo.com>
19523 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
19524 (gst_base_sink_event), (gst_base_sink_do_sync),
19525 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
19526 Properly handle non GST_FORMAT_TIME segment
19527 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
19528 Properly handle non GST_FORMAT_TIME segment
19529 * gst/gstsegment.c:
19530 This function is valid if the accumulator is 0 and the format
19531 is different from the requested format.
19533 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
19535 * docs/gst/gstreamer-sections.txt:
19536 Add gst_query_new_seeking and gst_query_parse_seeking to the
19537 docs.
19539 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
19541 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
19542 Treat a pad alloc with new caps the same as if we were not
19543 negotiated, in order to allow a changing upstream output
19544 to produce a new format of data.
19546 2005-11-29 Edward Hervey <edward@fluendo.com>
19548 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
19549 (gst_base_transform_event), (gst_base_transform_eventfunc):
19550 The event virtual method is now properly implemented, with a default
19551 handler
19552 Sub classes should call the parent_class event method. They should
19553 return FALSE if they had a problem handling the given event, or don't
19554 want GstBaseTransform to send that even downstream
19555 * gst/elements/gstidentity.c: (gst_identity_class_init),
19556 (gst_identity_init), (gst_identity_event),
19557 (gst_identity_transform_ip), (gst_identity_set_property),
19558 (gst_identity_get_property):
19559 * gst/elements/gstidentity.h:
19560 Added the single-segment boolean property.
19561 If set to TRUE, it will output a single segment of data, starting from
19562 0, will eat up all incoming newsegment, and modify the timestamp of the
19563 buffers accordingly
19565 2005-11-29 Tim-Philipp Müller <tim at centricular dot net>
19567 * gst/gstghostpad.c: (gst_proxy_pad_get_target):
19568 Don't ref NULL target pad (#322751). Improve docs.
19570 2005-11-29 Michael Smith <msmith@fluendo.com>
19572 * gst/gstregistryxml.c: (load_plugin):
19573 Don't crash if we failed to load a feature from a plugin.
19575 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
19577 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
19578 (GST_START_TEST):
19579 use more check API and less GLib API
19581 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
19583 * Makefile.am:
19584 don't run checks if we don't have check
19585 * common/check.mak:
19586 remove the registry when running make torture
19587 * docs/gst/gstreamer-sections.txt:
19588 remove second multiply
19589 * gst/gstqueue.c: (gst_queue_loop):
19590 fix a compile warning when disabling debug
19592 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
19594 * gst/gstinfo.h:
19595 Hey! Let's print the pad name if the pointer != NULL instead
19596 of when it == NULL :-)
19598 2005-11-28 Wim Taymans <wim@fluendo.com>
19600 * check/gst/gstutils.c: (GST_START_TEST):
19601 Updated check, add some scaling accuracy checking code.
19603 * gst/gstutils.c: (gst_util_div128_64),
19604 (gst_util_uint64_scale_int64), (gst_util_uint64_scale),
19605 (gst_util_uint64_scale_int):
19606 Fix 6 times faster division code. Optimize for common
19607 1/1 and less common X/1 cases.
19609 2005-11-28 Wim Taymans <wim@fluendo.com>
19611 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
19612 More checks.
19614 * gst/gstclock.c: (gst_clock_finalize), (gst_clock_set_master),
19615 (do_linear_regression), (gst_clock_add_observation):
19616 Cleanups.
19617 Release lock when the clock cannot be slaved.
19618 Catch the case where the regression returned an invalid denominator.
19620 * gst/gstutils.c: (gst_util_div128_64_iterate),
19621 (gst_util_div128_64), (gst_util_uint64_scale_int64),
19622 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
19623 Add protentially more performant non-iterative 128/64 divide function
19624 that unfortunatly does not work yet.
19625 Shortcut the trivial 0/X = 0 case.
19626 Remove the warnings on overflow.
19628 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
19630 * gst/gstplugin.c: (gst_plugin_register_func):
19631 everything causing a plugin not to load should be at least a WARNING
19633 2005-11-28 Stefan Kost <ensonic@users.sf.net>
19635 * docs/random/ensonic/dparams.txt:
19636 some TODOs for the next dev cycle
19637 * libs/gst/controller/gstcontroller.c:
19638 (gst_controlled_property_set_interpolation_mode),
19639 (gst_controlled_property_new):
19640 * libs/gst/controller/gstcontroller.h:
19641 use base type to assign acccessor functions
19643 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
19645 * check/Makefile.am:
19646 Oops, that should have been top_srcdir
19648 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
19650 * check/Makefile.am:
19651 * check/elements/fdsrc.c: (GST_START_TEST):
19652 Use a cmdline define to specify the location of a file to use for
19653 testing, to avoid breaking distcheck.
19655 2005-11-28 Andy Wingo <wingo@pobox.com>
19657 * gst/gstpad.c (fixate_value): Use array functions for arrays.
19659 2005-11-28 Edward Hervey <edward@fluendo.com>
19661 * tools/gst-launch.c: (main):
19662 Clarify the output strings, makes it easier to translate.
19663 Fixes #322626
19665 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
19667 * gst/Makefile.am:
19668 don't try and build net if we don't even have <sys/socket.h>
19670 2005-11-27 Jan Schmidt <thaytan@mad.scientist.com>
19672 * check/Makefile.am:
19673 * check/elements/fdsrc.c: (event_func), (setup_fdsrc),
19674 (cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
19675 Add tests for fdsrc seekability
19677 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
19678 (gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
19679 (gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
19680 (gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
19681 * gst/elements/gstfdsrc.h:
19682 fdsrc should not be a 'live' source.
19683 Implement seeking on seekable fd's.
19685 * gst/gstquery.c: (gst_query_new_seeking),
19686 (gst_query_parse_seeking):
19687 * gst/gstquery.h:
19688 Implement SEEKING query functions:
19689 *_new_seeking and *_parse_seeking
19691 2005-11-27 Stefan Kost <ensonic@users.sf.net>
19693 * gst/gstelement.c: (gst_element_dispose):
19694 don't loop forever
19696 * gst/gstiterator.c:
19697 * gst/gststructure.c:
19698 doc fixes
19700 * libs/gst/controller/gstcontroller.c:
19701 (gst_controlled_property_set_interpolation_mode):
19702 * libs/gst/controller/gstcontroller.h:
19703 * libs/gst/controller/gstinterpolation.c:
19704 (interpolate_none_get_enum_value_array):
19705 support controlling enums
19707 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
19709 * gst/gstvalue.c:
19710 Improve documentation for gst_value_union().
19712 * gst/gstvalue.h:
19713 Change return value for union, intersect and subtract functions
19714 from gint to gboolean.
19716 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
19718 * gst/gstvalue.c: (gst_value_serialize_any_list),
19719 (gst_value_transform_any_list_string),
19720 (gst_value_deserialize_list), (gst_value_deserialize_array),
19721 (gst_value_set_int_range), (gst_value_deserialize_int_range),
19722 (gst_value_set_double_range), (gst_value_deserialize_double_range),
19723 (gst_value_set_fraction_range_full),
19724 (gst_value_deserialize_fraction_range),
19725 (gst_value_deserialize_caps), (gst_value_deserialize_buffer),
19726 (gst_value_deserialize_boolean),
19727 (gst_value_deserialize_int_helper), (gst_value_deserialize_double),
19728 (gst_value_serialize_float), (gst_value_deserialize_float),
19729 (gst_string_wrap), (gst_value_deserialize_string),
19730 (gst_value_deserialize_enum), (gst_value_deserialize_flags),
19731 (gst_value_union_int_range_int_range),
19732 (gst_value_intersect_int_range_int_range),
19733 (gst_value_intersect_double_range_double_range),
19734 (gst_value_create_new_range), (gst_value_subtract_int_range_int),
19735 (gst_value_subtract_int_range_int_range),
19736 (gst_value_subtract_double_double_range),
19737 (gst_value_subtract_double_range_double_range),
19738 (gst_value_deserialize_fraction):
19739 * gst/gstvalue.h:
19740 Use gint, gdouble and gchar in our API instead of int, double and
19741 char (and make usage in gstvalue.c more consistent).
19743 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
19745 * check/Makefile.am:
19746 * libs/gst/controller/Makefile.am:
19747 * libs/gst/dataprotocol/Makefile.am:
19748 fix up Makefile.am and remove GST_ENABLE_NEW
19750 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
19752 * configure.ac:
19753 * gst/Makefile.am:
19754 * gst/base/Makefile.am:
19755 * gst/check/Makefile.am:
19756 * gst/elements/Makefile.am:
19757 * gst/net/Makefile.am:
19758 update LDFLAGS use some more
19760 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
19762 * common/m4/gst-doc.m4:
19763 Fixes #312589
19765 2005-11-26 Edward Hervey <edward@fluendo.com>
19767 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
19768 This shouldn't issue a g_warning since it returns NULL if it
19769 couldn't find the plugin, and all functions using this behave
19770 properly on a NULL return. Switching to a GST_WARNING.
19772 2005-11-25 Jan Schmidt <thaytan@mad.scientist.com>
19774 * gst/gstbin.c: (gst_bin_handle_message_func):
19775 Don't leak clock messages.
19777 2005-11-25 Wim Taymans <wim@fluendo.com>
19779 * gst/gstutils.c: (gst_util_uint64_scale_int64),
19780 (gst_util_uint64_scale_int):
19781 Optimisations, remove unneeded vars.
19783 2005-11-25 Wim Taymans <wim@fluendo.com>
19785 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
19786 Added more checks for the high precision uint64 cases.
19788 * gst/gstutils.c: (gst_util_uint64_scale_int64),
19789 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
19790 Implement high precision (guint64 * guint64) / guint64.
19792 2005-11-24 Wim Taymans <wim@fluendo.com>
19794 * gst/base/gstbasesrc.c: (gst_base_src_query):
19795 Fix wrong percentage query.
19797 * gst/gstutils.c: (gst_util_uint64_scale),
19798 (gst_util_uint64_scale_int):
19799 Add some more common cases that can be handled
19800 efficiently to _scale.
19802 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
19804 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
19805 (gst_mini_object_suite):
19806 don't use check calls from threads; check probably isn't
19807 threadsafe and using a lock to make it threadsafe would
19808 defeat the purpose of this check
19809 * gst/check/gstcheck.c:
19810 * gst/check/gstcheck.h:
19811 use GST_DEBUG some more
19813 2005-11-24 Wim Taymans <wim@fluendo.com>
19815 * gst/gstutils.c: (gst_util_uint64_scale),
19816 (gst_util_uint64_scale_int):
19817 Chain trivial case to _scale_int.
19819 2005-11-24 Wim Taymans <wim@fluendo.com>
19821 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
19822 Added test for scaling.
19824 * gst/gstclock.h:
19825 Small doc fix.
19827 * gst/gstutils.c: (gst_util_uint64_scale_int):
19828 Implemented high precision scaling code.
19830 2005-11-24 Stefan Kost <ensonic@users.sf.net>
19832 * gst/gstinfo.h:
19833 do not crash on pad==NULL
19835 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
19837 Patch by: Stefan Kost
19839 * common/gtk-doc.mak:
19840 * docs/gst/Makefile.am:
19841 * docs/libs/Makefile.am:
19842 Fix distcheck issues for the libraries docs build
19843 Closes #319599.
19845 2005-11-24 Michael Smith <msmith@fluendo.com>
19847 * docs/manual/basics-helloworld.xml:
19848 Fix bug #315027: memory leak in example code in docs.
19850 2005-11-24 Michael Smith <msmith@fluendo.com>
19852 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
19853 Unlock the PREROLL_LOCK in a failure case.
19855 2005-11-24 Wim Taymans <wim@fluendo.com>
19857 * docs/gst/gstreamer-sections.txt:
19858 * gst/base/gstadapter.h:
19859 * gst/base/gstbasesink.h:
19860 * gst/base/gstbasesrc.h:
19861 * gst/base/gstbasetransform.h:
19862 * gst/base/gstpushsrc.h:
19863 * gst/elements/gstfakesink.h:
19864 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
19865 * gst/elements/gstfakesrc.h:
19866 * gst/elements/gstfilesink.h:
19867 * gst/elements/gstfilesrc.h:
19868 * gst/gst.c:
19869 * gst/gstbin.c:
19870 * gst/gstbuffer.c: (_gst_buffer_copy):
19871 * gst/gstbus.h:
19872 * gst/gstcaps.c:
19873 * gst/gstchildproxy.c:
19874 * gst/gstclock.c:
19875 * gst/gstelement.c:
19876 * gst/gstelementfactory.c:
19877 * gst/gstelementfactory.h:
19878 * gst/gstevent.c:
19879 * gst/gstghostpad.h:
19880 * gst/gstindex.h:
19881 * gst/gstinterface.h:
19882 * gst/gstminiobject.c:
19883 * gst/gstminiobject.h:
19884 * gst/gstpad.c:
19885 * gst/gstpad.h:
19886 * gst/gstpadtemplate.h:
19887 * gst/gstpipeline.h:
19888 * gst/gstpluginfeature.h:
19889 * gst/gstquery.h:
19890 * gst/gstqueue.h:
19891 * gst/gsttaglist.c:
19892 * gst/gsttaglist.h:
19893 * gst/gsttagsetter.c:
19894 * gst/gsttagsetter.h:
19895 * gst/gsttrace.c:
19896 * gst/gsttrace.h:
19897 * gst/gsttypefind.h:
19898 * gst/gsturi.h:
19899 * gst/gstvalue.c:
19900 * gst/net/gstnetclientclock.c:
19901 * gst/net/gstnetclientclock.h:
19902 * gst/net/gstnettimepacket.c:
19903 * gst/net/gstnettimeprovider.c:
19904 * gst/net/gstnettimeprovider.h:
19905 Doc fixes.
19907 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
19909 * configure.ac: back to HEAD
19911 === release 0.9.6 ===
19913 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
19915 * configure.ac:
19916 releasing 0.9.6, "Always On Time"
19918 2005-11-23 Wim Taymans <wim@fluendo.com>
19920 * docs/gst/gstreamer-sections.txt:
19921 * gst/glib-compat.c:
19922 * gst/gsttagsetter.c:
19923 * gst/gstvalue.c:
19924 * gst/net/gstnetclientclock.c:
19925 * gst/net/gstnettimepacket.h:
19926 Doc updates.
19928 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
19930 * docs/faq/using.xml:
19931 * docs/libs/tmpl/gstcontrol.sgml:
19932 * docs/manual/advanced-dparams.xml:
19933 * docs/manual/appendix-checklist.xml:
19934 * docs/manual/basics-elements.xml:
19935 * docs/pwg/other-source.xml:
19936 * docs/random/moving-plugins:
19937 * gst/gstpad.c:
19938 * tools/gst-launch.1.in:
19939 remove mentions of sinesrc
19941 2005-11-23 Michael Smith <msmith@fluendo.com>
19943 * docs/gst/gstreamer-sections.txt:
19944 Update for new API and API changes.
19945 * gst/gstobject.h:
19946 Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
19947 * gst/gstvalue.c:
19948 Documentation typo fix.
19949 * gst/net/gstnettimepacket.c:
19950 Documentation fixes for arguments.
19952 2005-11-23 Jan Schmidt <thaytan@mad.scientist.com>
19954 * gst/gststructure.c: (gst_structure_get_fraction),
19955 (gst_structure_parse_value),
19956 (gst_structure_fixate_field_nearest_fraction):
19957 * gst/gststructure.h:
19958 * gst/gstutils.c: (gst_util_uint64_scale_int):
19959 * gst/gstutils.h:
19960 * scripts/update-funcnames:
19961 API Changes.
19962 Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
19963 Make gst_structure_fixate_field_nearest_fraction take a numerator
19964 and denominator argument instead of a GValue
19965 add gst_structure_get_fraction helper function.
19967 2005-11-23 Wim Taymans <wim@fluendo.com>
19969 * docs/design/part-TODO.txt:
19970 Update TODO.
19972 * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
19973 * gst/net/gstnetclientclock.h:
19974 Use parent fields for timeout and window_size.
19976 2005-11-23 Andy Wingo <wingo@pobox.com>
19978 * check/net/gstnetclientclock.c (test_functioning): Adjust to
19979 rate_num/rate_denom change.
19981 * gst/net/gstnetclientclock.c
19982 (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
19983 OBJECT_LOCK. Don't call add_observation with the lock.
19985 * gst/gstclock.c (gst_clock_init): Initialize the rate as a
19986 fraction.
19987 (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
19988 rate fraction.
19989 (gst_clock_set_calibration, gst_clock_get_calibration): Change to
19990 deal with rate as a fraction whose numerator and denominator are
19991 GstClockTime values.
19992 (gst_clock_set_master): Only use the OBJECT_LOCK to set the
19993 master; the other fields are protected by the SLAVE_LOCK.
19994 (do_linear_regression): Note that this must be called with the
19995 SLAVE_LOCK.
19996 (gst_clock_add_observation): Take the SLAVE_LOCK, not the
19997 OBJECT_LOCK. Call set_calibration instead of touching the
19998 variables directly.
19999 (gst_clock_set_property, gst_clock_get_property): Protect
20000 master/slave parameters with the SLAVE_LOCK.
20002 * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
20003 rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
20004 note that all of the instance variables that add_observation and
20005 the set_master functions use are protected by that lock and not
20006 the OBJECT_LOCK.
20007 (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
20009 * gst/gstclock.c (gst_clock_add_observation): No longer requires
20010 the caller to take the object lock.
20012 2005-11-23 Wim Taymans <wim@fluendo.com>
20014 * gst/gsterror.c: (_gst_core_errors_init):
20015 * gst/gsterror.h:
20016 Add error for clock stuff.
20018 * gst/gstpipeline.c: (gst_pipeline_change_state),
20019 (gst_pipeline_set_clock):
20020 Post clock error when clock cannot be used in a pipeline.
20022 2005-11-23 Stefan Kost <ensonic@users.sf.net>
20024 * docs/gst/gstreamer-sections.txt:
20025 make two symbols from gstinfo private for the docs
20026 * gst/base/gstcollectpads.h:
20027 * gst/gstutils.c:
20028 fix doc typos, update docs
20030 2005-11-22 Wim Taymans <wim@fluendo.com>
20032 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
20033 (gst_base_sink_wait), (gst_base_sink_do_sync),
20034 (gst_base_sink_handle_event):
20035 * gst/base/gstbasesink.h:
20036 No need to store the clock, the parent element class already
20037 has it.
20039 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
20040 Updates for clock_set returning a gboolean
20042 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
20043 (gst_clock_id_wait_async), (gst_clock_class_init),
20044 (gst_clock_init), (gst_clock_finalize),
20045 (gst_clock_get_internal_time), (gst_clock_get_time),
20046 (gst_clock_slave_callback), (gst_clock_set_master),
20047 (gst_clock_get_master), (do_linear_regression),
20048 (gst_clock_add_observation), (gst_clock_set_property),
20049 (gst_clock_get_property):
20050 * gst/gstclock.h:
20051 Implement master/slave. When setting a clock as a slave, a
20052 periodic timeout is scheduled to sample master and slave times.
20053 Then the slave clock is recalibrated to match offset and rate
20054 of the master clock.
20055 Update logging a bit.
20056 Add flag so that a clock can state that is cannot be slaved to
20057 another clock.
20059 * gst/gstelement.c: (gst_element_set_clock):
20060 * gst/gstelement.h:
20061 The set clock returns a gboolean for when an element cannot
20062 deal with the selected clock in the pipeline.
20064 * gst/gstpipeline.c: (gst_pipeline_change_state),
20065 (gst_pipeline_set_clock):
20066 * gst/gstpipeline.h:
20067 Handle the case where the selected clock cannot be set on
20068 the pipeline.
20070 * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
20071 (gst_net_client_clock_init), (gst_net_client_clock_finalize),
20072 (gst_net_client_clock_set_property),
20073 (gst_net_client_clock_get_property),
20074 (gst_net_client_clock_observe_times):
20075 * gst/net/gstnetclientclock.h:
20076 Use regression code in GstClock parent, remove duplicated
20077 functionality.
20079 2005-11-22 Michael Smith <msmith@fluendo.com>
20081 * gst/gstutils.c: (gst_util_clock_time_scale):
20082 * gst/gstutils.h:
20083 * docs/gst/gstreamer-sections.txt:
20084 Rename method to have extra underscore.
20086 2005-11-22 Thomas Vander Stichele <thomas at apestaart dot org>
20088 * gst/elements/Makefile.am:
20089 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
20090 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
20091 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
20092 (gst_fake_src_init), (gst_fake_src_prepare_buffer),
20093 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
20094 * gst/elements/gstfakesrc.h:
20095 * gst/gstqueue.c: (queue_leaky_get_type):
20096 correctly fix GEnumValues so that nick is the short lowercase
20097 dashed tag
20098 * tools/gst-inspect.c: (print_element_properties_info):
20099 also show the nick, since it's useful to use from parse_launch
20100 syntax
20101 Fixes #322139
20103 2005-11-22 Michael Smith <msmith@fluendo.com>
20105 * gst/gstutils.c: (gst_util_clocktime_scale):
20106 * gst/gstutils.h:
20107 * docs/gst/gstreamer-sections.txt:
20108 Add util method for scaling a clocktime by a fraction. Useful
20109 implementation is left as an exercise for the reader.
20111 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
20113 * gst/gstvalue.c: (gst_value_collect_fraction_range):
20114 If needed, allocate storage in the destination value during
20115 collection.
20117 2005-11-22 Edward Hervey <edward@fluendo.com>
20119 * docs/gst/gstreamer-sections.txt:
20120 * gst/Makefile.am:
20121 * gst/gst.h:
20122 * gst/gsturitype.c:
20123 * gst/gsturitype.h:
20124 * gst/gstutils.c: (gst_util_set_object_arg):
20125 * tools/gst-compprep.c: (main):
20126 * tools/gst-inspect.c: (print_element_properties_info):
20127 Removed GstURI, closes bug #321061
20129 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
20131 * check/gst/gststructure.c: (GST_START_TEST):
20132 * gst/gststructure.c: (gst_structure_parse_value):
20133 Oops, broke automatic string type parsing.
20134 Add a test to catch it in future.
20136 2005-11-22 Andy Wingo <wingo@pobox.com>
20138 * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode)
20139 (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
20140 Actually rename the function implementations. Grr.
20142 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
20144 * check/gst/capslist.h:
20145 Comment test cases
20146 * check/gst/gststructure.c: (GST_START_TEST),
20147 (gst_structure_suite):
20148 Test automatic value type detection in gst_structure_from_string.
20149 * gst/gststructure.c: (gst_structure_parse_value):
20150 Add fraction as a type we try and guess automatically in
20151 caps/structure strings.
20153 2005-11-22 Andy Wingo <wingo@pobox.com>
20155 patch by: Torsten Schoenfeld <kaffeetisch gmx de>
20157 * gst/gsttagsetter.h:
20158 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
20159 (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
20160 (gst_tag_setter_add_tag_valist)
20161 (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
20162 _add_values, _add_valist, and _add_valist_values. Since this is an
20163 interface the function suffixes should be more explicit so
20164 language binding don't end up with element.add_valist ->
20165 gst_tag_setter_add_valist, for example. Fixes #322069.
20167 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
20169 * check/gst/gstcaps.c: (GST_START_TEST):
20170 Extend caps string tests to check that a caps to string
20171 conversion is reversible and produces the same caps.
20173 * gst/gststructure.c: (gst_structure_value_get_generic_type):
20174 Output "fraction" as the generic type fraction range, so caps
20175 serialisation and deserialisation works.
20176 * check/gst/capslist.h:
20177 * gst/gstvalue.c: (gst_value_deserialize_fraction):
20178 Support 'MIN' and 'MAX' for deserialising fractions.
20180 2005-11-22 Andy Wingo <wingo@pobox.com>
20182 * gst/gstevent.h (gst_event_new_new_segment)
20183 (gst_event_parse_new_segment, gst_event_new_buffer_size)
20184 (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
20185 Renamed from *_newsegment, *_buffersize, *_notarget.
20187 * scripts/update-funcnames: New script, performs the changes
20188 listed above.
20190 2005-11-22 Wim Taymans <wim@fluendo.com>
20192 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20193 Make sure the GstFlowReturn is returned.
20195 * gst/gstbus.c: (gst_bus_add_signal_watch_full),
20196 (gst_bus_add_signal_watch):
20197 * gst/gstbus.h:
20198 add gst_bus_add_signal_watch_full.
20200 * gst/gstplugin.c: (gst_plugin_load_file):
20201 Small style cleanup.
20203 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
20205 * check/gst/gstevent.c: (test_event), (GST_START_TEST):
20206 Block the fakesrc srcpad when we send an event, to avoid
20207 contention on the stream_lock causing random test failures.
20209 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
20211 * check/gst/gstvalue.c: (GST_START_TEST):
20212 * gst/gstvalue.c: (gst_value_fraction_subtract):
20213 Fix subtraction.
20215 2005-11-22 Stefan Kost <ensonic@users.sf.net>
20217 * gst/gst.h:
20218 include "gstchildproxy.h"
20219 * gst/gstchildproxy.h:
20220 * libs/gst/controller/gstcontroller.h:
20221 use G_GNUC_NULL_TERMINATED
20223 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
20225 * check/gst/capslist.h:
20226 * check/gst/gstcaps.c: (GST_START_TEST):
20227 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
20228 * gst/gststructure.c: (gst_structure_parse_range),
20229 (gst_structure_fixate_field_nearest_fraction):
20230 * gst/gststructure.h:
20231 * gst/gstvalue.c: (gst_value_init_fraction_range),
20232 (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
20233 (gst_value_collect_fraction_range),
20234 (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
20235 (gst_value_set_fraction_range_full),
20236 (gst_value_get_fraction_range_min),
20237 (gst_value_get_fraction_range_max),
20238 (gst_value_serialize_fraction_range),
20239 (gst_value_transform_fraction_range_string),
20240 (gst_value_compare_fraction_range),
20241 (gst_value_deserialize_fraction_range),
20242 (gst_value_intersect_fraction_fraction_range),
20243 (gst_value_intersect_fraction_range_fraction_range),
20244 (gst_value_subtract_fraction_fraction_range),
20245 (gst_value_subtract_fraction_range_fraction),
20246 (gst_value_subtract_fraction_range_fraction_range),
20247 (gst_value_collect_fraction), (gst_value_fraction_multiply),
20248 (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
20249 (gst_value_transform_string_fraction), (_gst_value_initialize):
20250 * gst/gstvalue.h:
20251 Implement fraction ranges and extend GstFraction to support
20252 arithmetic subtraction, as well as deserialization from integer
20253 strings such as "100"
20254 Add a testsuite as for int and double range set operations
20256 2005-11-21 Andy Wingo <wingo@pobox.com>
20258 * gst/gsttaglist.h:
20259 * gst/gstcaps.h:
20260 * gst/gststructure.h: Add glib-compat.h.
20262 2005-11-21 Wim Taymans <wim@fluendo.com>
20264 * gst/gstbin.c: (gst_bin_change_state_func):
20265 Fix for #321595
20267 2005-11-21 Wim Taymans <wim@fluendo.com>
20269 * gst/gstsegment.h:
20270 And add a nice define too.
20272 2005-11-21 Wim Taymans <wim@fluendo.com>
20274 * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
20275 (gst_segment_new), (gst_segment_free), (gst_segment_init),
20276 (gst_segment_set_duration), (gst_segment_set_last_stop),
20277 (gst_segment_set_seek), (gst_segment_set_newsegment),
20278 (gst_segment_to_stream_time), (gst_segment_to_running_time),
20279 (gst_segment_clip):
20280 * gst/gstsegment.h:
20281 Make binding friendly.
20283 2005-11-21 Andy Wingo <wingo@pobox.com>
20285 * gst/gsttagsetter.h:
20286 * gst/gsttaglist.h:
20287 * gst/gststructure.h:
20288 * gst/gstcaps.h:
20289 * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
20290 #319940.
20292 * gst/gsterror.c (_gst_core_errors_init):
20293 * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
20294 category.
20296 * gst/Makefile.am (gst_headers): Add glib-compat.h.
20297 (noinst_HEADERS): noinst the -private.
20299 2005-11-21 Michael Smith <msmith@fluendo.com>
20301 * gst/gstplugin.h:
20302 * gst/gstregistry.h:
20303 Remove unimplemented declarations for which we can see no sensible
20304 use.
20306 2005-11-21 Andy Wingo <wingo@pobox.com>
20308 * gst/gst.h: Include glib-compat.h.
20310 * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
20312 * gst/glib-compat.c: Include the public and the private header.
20314 * gst/glib-compat-private.h: Copied here from glib-compat.h.
20316 * gst/gstvalue.c:
20317 * gst/gstpad.c:
20318 * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
20320 * check/gst/gstevent.c (create_custom_events): Check that
20321 FLUSH_STOP is serialized.
20323 * check/elements/identity.c (event_func):
20324 * check/elements/fakesrc.c (event_func): No stream lock, the core
20325 takes it.
20327 * gst/base/gstbasetransform.c (gst_base_transform_event): No more
20328 stream lock taking, yay.
20330 * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
20331 ensure that core takes the stream lock.
20333 * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
20334 lock name change.
20336 * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
20337 the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
20338 it already. For the flush start we do take it though so we get the
20339 right preroll state change messages.
20341 * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
20342 the stream lock here, the core does it for us.
20344 * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
20345 GST_STREAM_GET_LOCK.
20346 (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK)
20347 (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL)
20348 (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
20349 (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
20350 (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK)
20351 (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
20353 * gst/gstpad.c: Update for stream lock name change.
20355 * gst/base/gstbasesink.c: Update for preroll lock name change.
20357 2005-11-21 Wim Taymans <wim@fluendo.com>
20359 * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
20360 (gst_clock_get_master):
20361 * gst/gstclock.h:
20362 * gst/gstsystemclock.c: (gst_system_clock_init):
20363 Convert Clock flags to object flags.
20364 Added methods to manage master/slave clocks.
20366 2005-11-21 Wim Taymans <wim@fluendo.com>
20368 * check/gst/gstsegment.c: (GST_START_TEST):
20369 * docs/design/part-TODO.txt:
20370 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20371 (gst_base_sink_event), (gst_base_sink_do_sync),
20372 (gst_base_sink_activate_pull), (gst_base_sink_get_position),
20373 (gst_base_sink_query), (gst_base_sink_change_state):
20374 * gst/base/gstbasesink.h:
20375 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
20376 (gst_base_src_default_newsegment),
20377 (gst_base_src_configure_segment), (gst_base_src_do_seek),
20378 (gst_base_src_get_range), (gst_base_src_loop),
20379 (gst_base_src_change_state):
20380 * gst/base/gstbasesrc.h:
20381 * gst/base/gstbasetransform.c:
20382 (gst_base_transform_prepare_output_buf),
20383 (gst_base_transform_event), (gst_base_transform_change_state):
20384 * gst/base/gstbasetransform.h:
20385 * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
20386 (gst_collect_pads_event):
20387 * gst/base/gstcollectpads.h:
20388 * gst/elements/gstfakesrc.c: (gst_fake_src_init),
20389 (gst_fake_src_create):
20390 * gst/elements/gstfakesrc.h:
20391 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
20392 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
20393 (gst_segment_set_last_stop), (gst_segment_set_seek),
20394 (gst_segment_set_newsegment), (gst_segment_to_stream_time),
20395 (gst_segment_to_running_time), (gst_segment_clip):
20396 * gst/gstsegment.h:
20397 More segment updates, replace code in plugins with segment
20398 helper functions.
20400 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
20402 * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
20403 Don't ignore sscanf results
20405 2005-11-21 Andy Wingo <wingo@pobox.com>
20407 * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
20409 * *.h:
20410 * *.c: Ran scripts/update-macros. Oh yes.
20412 * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
20413 (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
20414 GST_GET_LOCK, etc.
20416 * scripts/update-macros: New script. Run it on your files to
20417 change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
20418 well.
20420 2005-11-21 Stefan Kost <ensonic@users.sf.net>
20422 * docs/gst/Makefile.am:
20423 * docs/gst/gstreamer-docs.sgml:
20424 * docs/gst/gstreamer-sections.txt:
20425 * docs/gst/gstreamer.types:
20426 * gst/gstinfo.h:
20427 more docs fixes, add new api to the docs
20429 2005-11-21 Andy Wingo <wingo@pobox.com>
20431 * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
20432 state_broadcast call.
20434 * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
20436 2005-11-21 Julien MOUTTE <julien@moutte.net>
20438 * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
20439 function calls for arrays.
20441 2005-11-21 Stefan Kost <ensonic@users.sf.net>
20443 * docs/random/ensonic/media-device-daemon.txt:
20444 wild idea, can this be done?
20445 * docs/gst/gstreamer-sections.txt:
20446 * gst/gsterror.h:
20447 * gst/gstfilter.c:
20448 * gst/gstfilter.h:
20449 * gst/gstplugin.h:
20450 * gst/gstpluginfeature.c:
20451 * gst/gsttrace.c:
20452 * gst/gstvalue.c:
20453 * gst/gstvalue.h:
20454 doc fixes and additions
20456 2005-11-21 Andy Wingo <wingo@pobox.com>
20458 * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL)
20459 (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND)
20460 (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK)
20461 (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
20462 private to the basesrc implementation.
20464 * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
20465 behalf of event function if necessary. It should no longer be
20466 necessary to take the stream lock in pad's event functions. Fixes
20467 #320299.
20469 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
20470 * docs/gst/gstreamer-sections.txt:
20471 * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
20472 (gst_structure_fixate_field_nearest_double),
20473 (gst_structure_fixate_field_boolean):
20474 * gst/gststructure.h:
20475 * win32/common/libgstreamer.def:
20476 * win32/gstreamer.def:
20478 Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
20479 (#322027)
20481 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
20483 * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
20484 (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
20485 (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
20486 (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
20487 (gst_fdsrc_uri_handler_init):
20488 * gst/elements/gstfdsrc.h:
20489 Port fd:// URI handler from 0.8 to fdsrc
20491 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
20493 * gst/gstvalue.c: (gst_value_transform_fourcc_string),
20494 (gst_value_serialize_fourcc):
20495 * gst/gstvalue.h:
20496 Drop leading '%' from GST_FOURCC_FORMAT, thus making it
20497 consistent with our other format defines (#320324).
20499 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
20501 * gst/gstvalue.c: (gst_value_is_fixed):
20502 Revert previous commit. Value lists are by definition
20503 not fixed, as they are a list of possible values.
20505 2005-11-21 Andy Wingo <wingo@pobox.com>
20507 * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
20508 during the stable series if we need it. Fixes #319178.
20510 * gst/gstevent.c (gst_event_new_filler): Removed.
20512 * check/gst/gstevent.c: Update comment about filler events.
20514 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
20516 * gst/gstvalue.c: (gst_value_is_fixed):
20517 Should handle both value arrays and value lists.
20519 2005-11-21 Andy Wingo <wingo@pobox.com>
20521 patch by: Alessandro Dessina <alessandro nnva org>
20523 * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
20524 functions to access arrays. Fixes #321962.
20526 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
20528 * docs/gst/gstreamer.types:
20529 gst_collectpads_get_type => gst_collect_pads_get_type.
20531 * gst/base/gstbasetransform.c:
20532 Remove unused SIGNAL_HANDOFF enum.
20534 2005-11-21 Andy Wingo <wingo@pobox.com>
20536 * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
20537 the event type (upstream, downstream, serialized). Renamed
20538 GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
20539 (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
20540 CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
20542 * gst/gstevent.c: Update for new CUSTOM event names.
20544 * check/gst/gstevent.c: Update check for new CUSTOM event names.
20546 * gst/gstevent.h:
20547 * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
20548 bug #319392.
20550 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
20552 * docs/gst/gstreamer-sections.txt:
20553 * win32/common/libgstbase.def:
20554 * win32/libgstbase.def:
20555 * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
20556 (gst_collect_pads_class_init), (gst_collect_pads_init),
20557 (gst_collect_pads_finalize), (gst_collect_pads_new),
20558 (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
20559 (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
20560 (gst_collect_pads_collect), (gst_collect_pads_collect_range),
20561 (gst_collect_pads_start), (gst_collect_pads_stop),
20562 (gst_collect_pads_peek), (gst_collect_pads_pop),
20563 (gst_collect_pads_available), (gst_collect_pads_read),
20564 (gst_collect_pads_flush), (gst_collect_pads_event),
20565 (gst_collect_pads_chain):
20566 * gst/base/gstcollectpads.h:
20567 Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
20568 unimplemented functions as unimplemented. Add padding to
20569 GstCollectData. (#320766, #320423)
20571 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
20573 * gst/gstmessage.c:
20574 Improve docs for DURATION message (usage of duration parameter)
20575 (#320113)
20577 2005-11-20 Wim Taymans <wim@fluendo.com>
20579 * check/Makefile.am:
20580 * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
20581 (main):
20582 * gst/Makefile.am:
20583 * gst/gst.h:
20584 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
20585 (gst_segment_set_seek), (gst_segment_set_newsegment),
20586 (gst_segment_to_stream_time), (gst_segment_to_running_time),
20587 (gst_segment_clip):
20588 * gst/gstsegment.h:
20589 Added segment helper structure and methods. Not fully implemented
20590 yet.
20591 Added segment check.
20593 2005-11-20 Jan Schmidt <thaytan@mad.scientist.com>
20595 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
20596 Add a deserialisation test for fractions
20597 * examples/metadata/read-metadata.c: (message_loop),
20598 (make_pipeline), (main):
20599 Fix up metadata reading sample.
20600 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
20601 Debug format fix
20602 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
20603 Don't try and fixate empty caps
20604 * gst/gst_private.h:
20605 Wrap in G_BEGIN_DECLS/G_END_DECLS
20606 * gst/gstvalue.c: (gst_value_collect_fraction),
20607 (gst_value_set_fraction), (gst_value_get_fraction_denominator),
20608 (gst_value_transform_string_fraction),
20609 (gst_value_compare_fraction):
20610 Add some extra guards to ensure that we don't end up
20611 with an invalid denominator of 0 in a gstfraction and
20612 that fractions always get reduced.
20614 2005-11-20 Wim Taymans <wim@fluendo.com>
20616 * docs/gst/gstreamer-sections.txt:
20617 * gst/gstbuffer.h:
20618 * gst/gstelement.c:
20619 * gst/gstformat.c:
20620 * gst/gstformat.h:
20621 * gst/gstindex.h:
20622 * gst/gstquery.c:
20623 * gst/gstquery.h:
20624 * gst/gstvalue.c:
20625 Doc fixes.
20627 2005-11-20 Wim Taymans <wim@fluendo.com>
20629 * docs/design/part-TODO.txt:
20630 * gst/gstcaps.h:
20631 Make a proper enum of the flag.
20633 2005-11-19 Wim Taymans <wim@fluendo.com>
20635 * docs/design/part-TODO.txt:
20636 * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
20637 (gst_format_to_quark), (gst_format_register):
20638 * gst/gstformat.h:
20639 * gst/gstquery.c: (_gst_query_initialize),
20640 (gst_query_type_get_name), (gst_query_type_to_quark),
20641 (gst_query_type_register):
20642 * gst/gstquery.h:
20643 Add type to quark and type to string conversions.
20645 2005-11-19 Andy Wingo <wingo@pobox.com>
20647 * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
20648 #320097.
20650 2005-11-19 Wim Taymans <wim@fluendo.com>
20652 * docs/design/part-TODO.txt:
20653 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
20654 (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
20655 (gst_bin_handle_message_func):
20656 * gst/gstbin.h:
20657 Make message handling overridable.
20659 2005-11-19 Andy Wingo <wingo@pobox.com>
20661 * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
20663 * gst/gstclock.h:
20664 * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
20665 be a GstClockTime.
20666 (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
20667 is a GstClockTime. Fixes #321710.
20669 * gst/gstclock.h (GstClock): Remove offset property. Add
20670 internal_calibration and external_calibration. Fix padding. Pad
20671 also by GstClockTime so we don't run into problems.
20673 * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
20674 (gst_clock_get_rate_offset): Remove.
20675 (gst_clock_set_time_adjust): Remove. Fixes #321712.
20677 * gst/gstutils.h:
20678 * gst/gstutils.c (g_static_rec_cond_wait)
20679 (g_static_rec_cond_timed_wait): Removed, no longer needed.
20681 * gst/gstbin.c: Remove terrible continue_state prototype.
20683 * gst/gstelement.h (gst_element_continue_state): Make public.
20685 * gst/gstelement.h:
20686 * gst/gstelement.c (gst_element_commit_state): Removed, replaced
20687 by continue_state. Fixes #319389.
20689 * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
20690 Really fixes #168438. However I don't see anywhere where the
20691 filter function is called... stupid GStreamer...
20693 * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
20694 don't have a dispose function, so it won't get called when the
20695 object is unreffed, but oh well!
20697 * gst/gstindex.c (gst_index_set_filter_full): New API function,
20698 allows a destroy function to be set so user_data can be freed.
20699 Fixes #168438.
20700 (gst_index_set_filter): Call gst_index_set_filter_full.
20702 * check/gst/gstvalue.c (test_string): Add test for bug #165650.
20704 * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
20705 string should produce an error, given the lack of a way to
20706 represent NULL strings. Fixes #165650.
20708 * gst/gstvalue.h:
20709 * gst/gstvalue.c (gst_value_array_append_value)
20710 (gst_value_array_prepend_value, gst_value_array_get_size)
20711 (gst_value_array_get_value): New API, copied from
20712 gst_value_list_*, only operates on arrays.
20713 (gst_value_list_append_value, gst_value_list_prepend_value)
20714 (gst_value_list_concat, gst_value_list_get_size)
20715 (gst_value_list_get_value): Only operate on lists. Fixes #156633.
20717 * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
20718 init_list, because it works on both.
20719 (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
20720 (gst_value_copy_list_or_array): Renamed from copy_list.
20721 (gst_value_free_list_or_array): Renamed from free_list.
20722 (gst_value_collect_list_or_array): Renamed from collect_list.
20723 (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
20724 (gst_value_list_or_array_peek_pointer): Renamed from
20725 list_peek_pointer.
20726 (_gst_value_array_value_table, _gst_value_list_value_table):
20727 Update value table functions.
20728 (gst_value_compare_list_or_array): Renamed from compare_list.
20730 * gsttaglist.h: Whoops, foreach function returns void. Also fix
20731 some constness.
20733 * gst/gsttaglist.c:
20734 * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
20735 GstTagList*. Fixes #143472.
20737 * gst/gststructure.h: Clarify what the foreach/map functions can
20738 or can't do to their arguments.
20740 2005-11-18 Wim Taymans <wim@fluendo.com>
20742 * gst/gstclock.c: (gst_clock_set_calibration),
20743 (gst_clock_get_calibration):
20744 Doc and API fixes.
20745 Calibration can be set with internal time equal to current
20746 internal time too.
20748 2005-11-18 Thomas Vander Stichele <thomas at apestaart dot org>
20750 * gst/gsterror.c:
20751 * gst/gsterror.h:
20752 document
20754 2005-11-18 Andy Wingo <wingo@pobox.com>
20756 * configure.ac:
20757 * pkgconfig/gstreamer-net.pc.in:
20758 * pkgconfig/gstreamer-net-uninstalled.pc.in:
20759 * pkgconfig/Makefile.am: Add net pkgconfig files.
20761 2005-11-18 Stefan Kost <ensonic@users.sf.net>
20763 * gst/gstcaps.c:
20764 * gst/gstghostpad.c:
20765 * gst/gsttrace.c:
20766 * gst/gstvalue.c:
20767 * gst/gstvalue.h:
20768 docs fixes
20770 2005-11-18 Andy Wingo <wingo@pobox.com>
20772 * gst/net/gstnetclientclock.c: Turn off debugging.
20774 * check/net/gstnetclientclock.c (test_functioning): Assert that the
20775 times connverge somewhat. Can't make a real test.
20777 * gst/net/gstnetclientclock.c (do_linear_regression): Use all
20778 integer arithmetic. Return the minimum of the domain, which can be
20779 set as "internal" for gst_clock_set_calibration.
20780 (gst_net_client_clock_observe_times): Call _set_calibration.
20781 (gst_net_client_clock_new): Call _set_calibration instead of
20782 rate_offset.
20784 * check/net/gstnetclientclock.c (test_functioning): Use the right
20785 adjustment api.
20787 * gst/gstclock.h:
20788 * gst/gstclock.c (gst_clock_get_calibration)
20789 (gst_clock_set_calibration): New functions, obsolete the ones I
20790 added yesterday. Doh. Precision issues mean we have to extrapolate
20791 from a point in the more recent past than 1970.
20792 (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
20793 obsolete.
20794 (gst_clock_adjust_unlocked): Use the right calibration data.
20796 2005-11-18 Edward Hervey <edward@fluendo.com>
20798 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
20799 Also reset the ->current_* values in READY->PAUSED
20801 2005-11-18 Andy Wingo <wingo@pobox.com>
20803 * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
20804 Whoops, check the right fd. Also add some debugging.
20805 (gst_net_client_clock_observe_times): Adjust for int64 offset.
20806 (do_linear_regression): Add a crapload of debugging. Subtract off
20807 the minimum values from the input series to discard unneeded bits.
20808 Use only int arithmetic. There is still double arithmetic when
20809 calculating the intercept that needs fixing. Return boolean to
20810 indicate success; FALSE would mean the domain or range is too
20811 great. Still needs fixes.
20813 2005-11-18 Wim Taymans <wim@fluendo.com>
20815 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
20816 For the current position in stream time, we need to subtract
20817 accumulated time.
20819 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
20820 Release lock before calling the callback function of async
20821 entries.
20823 2005-11-18 Andy Wingo <wingo@pobox.com>
20825 * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
20826 Port goes all the way to MAXUINT16.
20828 * gst/net/gstnettimeprovider.c: Make the port range the same as
20829 for the kernel: 0 assigns, otherwise ports are less than
20830 MAXUINT16.
20832 * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
20833 port change.
20835 * check/net/gstnetclientclock.c (test_functioning): Add the start
20836 of another test.
20838 2005-11-18 Wim Taymans <wim@fluendo.com>
20840 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
20841 (gst_bin_remove_func), (bin_bus_handler):
20842 * gst/gstbin.h:
20843 Removing a clock provider from a bin, triggers a clock lost message
20844 so that a new clock will be selected.
20845 Adding a clock to a bin triggers a clock provider message.
20846 Make sure we reselect a clock when we received a clock lost message.
20847 Keep a reference to the element that provided the clock.
20849 2005-11-18 Andy Wingo <wingo@pobox.com>
20851 * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
20852 the clock initially so it produces values around the base time.
20853 (gst_net_client_clock_class_init): Typo fix.
20854 (gst_net_client_clock_thread): Add note on when the socket gets
20855 closed.
20857 2005-11-17 Wim Taymans <wim@fluendo.com>
20859 * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
20860 Free remote and local time arrays.
20862 2005-11-17 Wim Taymans <wim@fluendo.com>
20864 * gst/net/gstnetclientclock.c: (do_linear_regression),
20865 (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
20866 Fix compilation, uninitialized vars and a forgotten continue.
20868 2005-11-17 Andy Wingo <wingo@pobox.com>
20870 * check/Makefile.am (check_PROGRAMS):
20871 * check/net/gstnetclientclock.c: Add a most minimal test for the
20872 net client clock. More to come later.
20874 * gst/net/gstnet.h:
20875 * gst/net/Makefile.am: Add netclientclock.
20877 * gst/net/gstnetclientclock.h:
20878 * gst/net/gstnetclientclock.c: New files, implement an untested
20879 GstClock that takes its time from a network time provider.
20880 Implements the algorithm in network-clock.scm.
20882 * tests/network-clock.scm (*window-size*): Rename from
20883 *queue-length*.
20884 * tests/network-clock.scm (network-time):
20885 * tests/network-clock-utils.scm (q-push): Update callers.
20887 2005-11-17 Wim Taymans <wim@fluendo.com>
20889 * gst/gstbin.c: (gst_bin_provide_clock_func),
20890 (gst_bin_sort_iterator_new):
20891 And unref the child too..
20893 2005-11-17 Wim Taymans <wim@fluendo.com>
20895 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
20896 (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
20897 Refactor the sort iterator so it can be used while holding the
20898 LOCK too.
20899 Make clock selection select a clock closest to the source.
20901 2005-11-17 Michael Smith <msmith@fluendo.com>
20903 * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
20904 (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
20905 * gst/gstclock.h:
20906 Anonymous structs are a gcc (and some other compilers) extension, so
20907 don't use them. Since this is only for ABI-compatibility, and our
20908 API/ABI freeze is over in a few days, this whole thing will only
20909 last a few days, so don't bother trying to think up a meaningful
20910 name for the struct.
20912 2005-11-17 Andy Wingo <wingo@pobox.com>
20914 * gst/gstclock.h (GstClock): Add rate and offset properties,
20915 preserving ABI stability. Add rate/offset accessors. Will file bug
20916 for the freeze break.
20918 * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
20919 and offset, trying to keep precision and avoiding
20920 underflow/overflow.
20921 (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
20922 functions. Make gst_clock_set_time_adjust obsolete.
20923 (gst_clock_set_time_adjust): Note that this function is obsolete.
20924 Will file bug soon.
20926 * gst/base/gstbasetransform.h: Make the ABI-stability hack
20927 greppable by using GST_PADDING-1+1.
20929 2005-11-17 Torsten Schoenfeld <kaffeetisch at gmx dot net>
20931 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
20933 * gst/gstmessage.c: (gst_message_parse_clock_lost):
20934 Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
20936 * gst/gstpadtemplate.h:
20937 * gst/gstpluginfeature.h:
20938 Don't use c++ style comments in headers (#321638).
20940 2005-11-16 Andy Wingo <wingo@pobox.com>
20942 * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
20943 buffer.
20945 * check/net/gstnettimeprovider.c: Check to see that the time
20946 provider actually provides times. Works, yo!
20948 2005-11-16 Wim Taymans <wim@fluendo.com>
20950 * check/Makefile.am:
20951 Enable more tests.
20953 * check/elements/fakesrc.c: (GST_START_TEST):
20954 Set element to NULL before disposing it.
20956 2005-11-16 Andy Wingo <wingo@pobox.com>
20958 * gst/net/Makefile.am:
20959 * gst/net/gstnet.h:
20960 * gst/net/gstnettimeprovider.c:
20961 * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
20962 provider, include it from gstnet.h, and add it to the build.
20964 * gst/net/gstnettimepacket.h:
20965 * gst/net/gstnettimepacket.c: New files, abstracts out the packet
20966 sending and receiving.
20968 2005-11-16 Wim Taymans <wim@fluendo.com>
20970 * check/Makefile.am:
20971 Enable valgrind check.
20973 * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
20974 (gst_fake_src_alloc_buffer):
20975 Fix memleak.
20977 2005-11-16 Wim Taymans <wim@fluendo.com>
20979 * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
20980 Call parent finalize too.
20982 2005-11-16 Wim Taymans <wim@fluendo.com>
20984 * check/Makefile.am:
20985 Enable valgrind check that should work fine now.
20987 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
20988 * gst/gstqueue.c: (gst_queue_init):
20989 Fix memleaks in pad allocation.
20991 2005-11-16 Andy Wingo <wingo@pobox.com>
20993 * gst/net/Makefile.am:
20994 * gst/net/gstnet.h: New part of core to hold network elements and
20995 objects. Put in core because it exposes API that applications want
20996 to use. The library is named libgstnet-tempname right now because
20997 of the existing libgstnet in gst-plugins-base. Solution is
20998 probably to rename the one in plugins-base; will file a bug for
20999 the freeze break.
21001 * gst/net/gstnettimeprovider.c:
21002 * gst/net/gstnettimeprovider.h: New object to export a GstClock's
21003 get_time call over the network.
21005 * configure.ac:
21006 * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
21008 * check/Makefile.am:
21009 * check/net/gstnettimeprovider.c: A most minimal test suite. Will
21010 get additions shortly.
21012 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
21014 * gst/gstpad.c: (gst_pad_new_from_static_template):
21015 * gst/gstpad.h:
21016 add gst_pad_new_from_static_template functions
21017 * gst/check/gstcheck.c: (gst_check_setup_src_pad),
21018 (gst_check_setup_sink_pad):
21019 * gst/elements/gsttee.c: (gst_tee_init):
21020 and use them
21022 2005-11-16 Wim Taymans <wim@fluendo.com>
21024 * gst/gstpad.c: (gst_pad_pause_task):
21025 Removed warning, it's not really an error either.
21027 2005-11-16 Wim Taymans <wim@fluendo.com>
21029 * gst/base/gstbasetransform.c:
21030 (gst_base_transform_prepare_output_buf),
21031 (gst_base_transform_event):
21032 Check if the caps are NULL, this can happen if the element
21033 is shutting down and the pad caps are set to NULL.
21035 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
21037 * gst/elements/gsttee.c: (gst_tee_init):
21038 fix pad template leak in tee
21040 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
21042 * gst/glib-compat.c: (g_value_dup_gst_object):
21043 * gst/glib-compat.h:
21044 * gst/gstpad.c: (gst_pad_set_property):
21045 use gst_object_ref when setting the pad template; this will
21046 trigger the pad template leaks on GLib 2.6 and the slaves
21048 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
21050 * gst/glib-compat.c: (gst_flags_get_first_value):
21051 * gst/glib-compat.h:
21052 * gst/gstregistryxml.c:
21053 remove functions copied from GLib 2.6
21055 2005-11-16 Michael Smith <msmith@fluendo.com>
21057 * gst/Makefile.am:
21058 Don't link against VALGRIND_LIBS. That was always the wrong thing to
21059 do, but only breaks with newer valgrind versions. We're not a
21060 valgrind tool, we have no link-time dependencies on libcoregrind.
21062 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
21064 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
21065 some debug changes
21066 * gst/gstmessage.h:
21067 typo fixes
21069 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
21071 * gst/base/gstbasesrc.c: (gst_base_src_init):
21072 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
21073 * gst/gstqueue.c: (gst_queue_init):
21074 * gst/gstregistryxml.c: (load_feature):
21075 Revert all these unrefs, they don't even pass make check !
21077 2005-11-15 Johan Dahlin <johan@gnome.org>
21079 * gst/base/gstbasesrc.c: (gst_base_src_init):
21080 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
21081 * gst/gstqueue.c: (gst_queue_init):
21082 Free pad templates, fixes a couple of leaks.
21084 2005-11-15 Daniel Fischer <dan at f3c dot com>
21086 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
21088 * gst/gstpad.c: (gst_pad_get_property):
21089 GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
21090 GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
21091 (#321452)
21093 2005-11-15 Wim Taymans <wim@fluendo.com>
21095 * gst/gstevent.c:
21096 Small doc update.
21098 2005-11-15 Andy Wingo <wingo@pobox.com>
21100 * gst/gstelement.c (gst_element_set_base_time): Add debugging.
21102 * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
21103 using GST_CLOCK_TIME_NONE to disable base time management.
21104 (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
21105 time if it was NONE before.
21106 (gst_pipeline_change_state): Only munge the base time if
21107 stream_time != GST_CLOCK_TIME_NONE.
21109 * check/gst/gstpipeline.c (test_base_time): Punt around the
21110 problem of the probe not being called, because that's not the
21111 issue I'm looking at. Add a check that setting stream_time to NONE
21112 disables base time management.
21114 2005-11-15 Wim Taymans <wim@fluendo.com>
21116 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
21117 segment_stop == -1 at startup.
21119 * gst/base/gstbasetransform.c: (gst_base_transform_event),
21120 (gst_base_transform_change_state):
21121 Init segment values at start.
21123 2005-11-15 Wim Taymans <wim@fluendo.com>
21125 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
21126 0 segment values are 0 in any format.
21128 * gst/base/gstbasetransform.c: (gst_base_transform_event):
21129 * gst/base/gstbasetransform.h:
21130 Parse newsegment correctly in basetransform
21132 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
21133 Sync to clock using updated segment values.
21135 2005-11-15 Andy Wingo <wingo@pobox.com>
21137 * check/gst/gstpipeline.c (test_base_time): Add check that the
21138 base time and stream time are reset correctly.
21140 2005-11-15 Wim Taymans <wim@fluendo.com>
21142 * docs/design/part-TODO.txt:
21143 Some more TODO items.
21145 2005-11-15 Andy Wingo <wingo@pobox.com>
21147 * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
21148 error if the user selected "no clock" as the clocking method.
21150 * check/gst/gstpipeline.c (test_base_time): New test for buffer
21151 timestamps with live capture.
21153 * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
21154 is 0 but we are a live source, timestamp the buffers using the
21155 element's clock.
21157 2005-11-14 Stefan Kost <ensonic@users.sf.net>
21159 * docs/gst/gstreamer-sections.txt:
21160 * gst/gsterror.c:
21161 * gst/gstghostpad.c:
21162 * gst/gstobject.h:
21163 * gst/gstxml.c:
21164 more section docs
21166 2005-11-14 Wim Taymans <wim@fluendo.com>
21168 * common/gst.supp:
21169 add suppressions from Wim's Debian machine
21171 2005-11-14 Thomas Vander Stichele <thomas at apestaart dot org>
21173 * common/gst.supp:
21174 add suppressions from Andy's AMD64 Ubuntu machine
21176 2005-11-14 Andy Wingo <wingo@pobox.com>
21178 * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
21179 STATE_LOCK not necessary. Fixes #311489.
21181 * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
21182 #305291.
21184 * gst/gstindex.c (gst_index_add_object): Note in the docs that
21185 this function is not implemented.
21187 2005-11-14 Julien MOUTTE <julien@moutte.net>
21189 * gst/base/gstbasetransform.c:
21190 (gst_base_transform_prepare_output_buf):
21191 Ref the source pad caps while we need them.
21192 Fixes (#321386)
21194 2005-11-11 Wim Taymans <wim@fluendo.com>
21196 * docs/gst/gstreamer-sections.txt:
21197 Added some docs for GstCollectData.
21199 * gst/base/gstadapter.c:
21200 Some small code example fix.
21202 * gst/base/gstcollectpads.c:
21203 * gst/base/gstcollectpads.h:
21204 Document some more.
21206 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
21208 * configure.ac: back to HEAD
21210 === release 0.9.5 ===
21212 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
21214 * configure.ac:
21215 releasing 0.9.5, "Bike Lunch Day"
21217 2005-11-11 Wim Taymans <wim@fluendo.com>
21219 * gst/gstbuffer.c: (_gst_buffer_copy):
21220 Copy more flags.
21222 * gst/gstcaps.c: (gst_caps_is_equal):
21223 Fix some docs.
21224 Make _is_equal fast in the trivial cases.
21226 * gst/gstminiobject.c:
21227 * gst/gstminiobject.h:
21228 More docs. Spifify .h file.
21230 * gst/gstutils.c:
21231 Small doc update.
21233 2005-11-11 Wim Taymans <wim@fluendo.com>
21235 * gst/base/gstbasetransform.c:
21236 (gst_base_transform_prepare_output_buf),
21237 (gst_base_transform_handle_buffer):
21238 Small cleanups.
21239 If we're processing a buffer and need to allocate an output
21240 buffer, we cannot accept a format change. If we did get a
21241 format change, we have to alloc a buffer ourselves of the
21242 right size.
21244 2005-11-11 Wim Taymans <wim@fluendo.com>
21246 * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
21247 While checking the flag for reentrancy in the gstcaps function
21248 is nice to detect recursive invocations, it also makes it
21249 impossible to call getcaps from multiple threads, which must be
21250 possible. So, checking for recursive calls has to go.
21252 2005-11-11 Michael Smith <msmith@fluendo.com>
21254 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
21255 Don't sync on buffers that fall partially outside our current
21256 segment. Prevents an assertion failure/abort playing some files.
21258 2005-11-10 Andy Wingo <wingo@pobox.com>
21260 * check/gst/gstbin.c (test_message_state_changed_children): Style
21261 fix..
21263 * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
21264 gst_bus_poll with the signal watch. Ensures that poll and a signal
21265 watch see the same messages.
21267 * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
21268 a poll and a watch at the same time get the same messages.
21270 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
21272 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
21273 * gst/gstcaps.c: (gst_caps_intersect):
21274 Don't call gst_caps_do_simplify - it doesn't respect order of caps
21275 and it's not needed.
21277 2005-11-10 Wim Taymans <wim@fluendo.com>
21279 * docs/design/part-TODO.txt:
21280 Updated todo.
21282 2005-11-10 Wim Taymans <wim@fluendo.com>
21284 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
21285 * gst/base/gstbasesrc.c: (gst_base_src_wait),
21286 (gst_base_src_do_sync), (gst_base_src_get_range):
21287 Implement clock sync in base class.
21289 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
21291 patch by: Tim-Philipp Müller <tim at centricular dot net>
21293 * gst/gststructure.c: (gst_structure_parse_field),
21294 (gst_structure_from_string):
21295 Forward-port a 0.8 patch to handle escaped spaces in structure string,
21296 so that gst_parse_launch() can deal with spaces in filtered link
21297 caps (fixes #164479)
21298 * check/gst/capslist.h:
21299 * check/gst/gststructure.c: (GST_START_TEST):
21300 add unit tests for this change
21302 2005-11-10 Wim Taymans <wim@fluendo.com>
21304 * docs/gst/gstreamer-sections.txt:
21305 * gst/gstelement.c:
21306 * gst/gstelement.h:
21307 Fix docs, move some STATE macros to private.
21309 2005-11-10 Wim Taymans <wim@fluendo.com>
21311 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
21312 Added check for bug #317341
21314 * gst/gstbuffer.c:
21315 * gst/gstbuffer.h:
21316 Some more spiffifying.
21318 * gst/gstghostpad.c: (gst_ghost_pad_do_link):
21319 Call peer linkfunction if we are a source pad. Totally fixes
21320 #317341
21322 * gst/gstpad.c:
21323 Update docs, source pads should call the peer linkfunction
21324 so they can atomically perform the pad link.
21326 2005-11-09 Wim Taymans <wim@fluendo.com>
21328 * gst/gstbuffer.c:
21329 * gst/gstbuffer.h:
21330 Uber-spiffy-spiffify some more.
21332 2005-11-09 Tim-Philipp Müller <tim at centricular dot net>
21334 * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
21335 * gst/elements/gstfilesink.c: (gst_file_sink_init):
21336 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
21337 * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
21338 (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
21339 * gst/gstpad.c: (gst_pad_init):
21340 Use GST_DEBUG_FUNCPTR() more extensively.
21342 2005-11-09 Wim Taymans <wim@fluendo.com>
21344 * gst/gstobject.c: (gst_object_class_init):
21345 * gst/gstobject.h:
21346 Documentation fixes.
21348 2005-11-09 Edward Hervey <edward@fluendo.com>
21350 * gst/gsttypefindfactory.c:
21351 Fix docs.
21353 2005-11-09 Edward Hervey <edward@fluendo.com>
21355 * gst/base/gsttypefindhelper.c:
21356 * gst/gsttypefind.c:
21357 * gst/gsttypefind.h:
21358 Fix docs.
21360 2005-11-09 Wim Taymans <wim@fluendo.com>
21362 * gst/gstiterator.c:
21363 Fix revision data.
21365 * gst/gsttask.c:
21366 * gst/gsttask.h:
21367 Fix docs.
21369 2005-11-09 Wim Taymans <wim@fluendo.com>
21371 * gst/gstevent.h:
21372 * gst/gsturi.h:
21373 Fix docs.
21375 2005-11-09 Wim Taymans <wim@fluendo.com>
21377 * docs/gst/gstreamer-sections.txt:
21378 Moved the message async delivery private lock and cond
21379 to the private section.
21381 * gst/gstmessage.c:
21382 * gst/gstmessage.h:
21383 Fixed docs.
21385 2005-11-09 Edward Hervey <edward@fluendo.com>
21387 * docs/gst/gstreamer-sections.txt:
21388 * gst/gsturi.c:
21389 * gst/gsturi.h:
21390 Document GstURIHandler
21392 2005-11-09 Wim Taymans <wim@fluendo.com>
21394 * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
21395 (gst_iterator_find_custom):
21396 * gst/gstiterator.h:
21397 Fix iterator docs.
21399 2005-11-09 Wim Taymans <wim@fluendo.com>
21401 * gst/gstbin.h:
21402 Document another field.
21404 * gst/gststructure.c:
21405 * gst/gststructure.h:
21406 Document.
21408 2005-11-09 Wim Taymans <wim@fluendo.com>
21410 * gst/gstbin.h:
21411 Documented structs.
21413 2005-11-09 Wim Taymans <wim@fluendo.com>
21415 * docs/gst/gstreamer-sections.txt:
21416 Added some new macros.
21418 * gst/gstclock.c:
21419 * gst/gstclock.h:
21420 * gst/gstobject.h:
21421 Docs updates.
21423 2005-11-09 Wim Taymans <wim@fluendo.com>
21425 * docs/design/part-TODO.txt:
21426 Some more items for the TODO
21428 * gst/gstcaps.c:
21429 * gst/gstcaps.h:
21430 Document GstCaps.
21432 2005-11-09 Andy Wingo <wingo@pobox.com>
21434 * gst/base/gstbasesink.c: Add the beginning of docs here -- have
21435 to work on something else now tho...
21437 * gst/base/gstadapter.c: More adapter docs.
21439 * gst/elements/gstfilesink.c (gst_file_sink_start)
21440 (gst_file_sink_stop): New functions, replace the state change
21441 handler.
21442 (gst_file_sink_class_init): Hook up the start and stop functions.
21443 (gst_file_sink_base_init): Don't set the state change handler any
21444 more. It was a bit ugly too, being set from here...
21445 (gst_file_sink_get_property, gst_file_sink_set_property):
21446 Cleanups...
21447 (gst_file_sink_set_location): More robust check that doesn't call
21448 GST_STATE. Ugggggg.
21450 2005-11-08 Tim-Philipp Müller <tim at centricular dot net>
21452 * gst/base/gstbasetransform.c: (gst_base_transform_event):
21453 Hold STREAM_LOCK while pushing newsegment or tag events as well.
21455 2005-11-08 Wim Taymans <wim@fluendo.com>
21457 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
21458 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
21459 (gst_base_sink_chain), (gst_base_sink_change_state):
21460 * gst/base/gstbasesink.h:
21461 * gst/base/gstbasesrc.h:
21462 * gst/gstelement.h:
21463 * gst/gstevent.h:
21464 Avoid excessive typechecking in macros.
21466 * gst/gstminiobject.c: (gst_mini_object_get_type),
21467 (gst_mini_object_init), (gst_mini_object_new),
21468 (gst_mini_object_free):
21469 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
21470 (gst_object_finalize):
21471 Remove cruft code, optimize alloc_trace.
21473 2005-11-07 Thomas Vander Stichele <thomas at apestaart dot org>
21475 * docs/faq/gst-uninstalled:
21476 fix up PS1 for systems that try to reset it
21478 2005-11-07 Wim Taymans <wim@fluendo.com>
21480 * gst/base/gstbasesrc.c: (gst_base_src_init),
21481 (gst_base_src_get_range):
21482 Set the segment_end to -1 initially. Fixed typefind.
21484 2005-11-07 Tim-Philipp Müller <tim at centricular dot net>
21486 * gst/base/gstadapter.c:
21487 Debug category should be 'adapter', not 'GstAdapter'.
21489 * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
21490 (gst_collectpads_class_init), (gst_collectpads_init),
21491 (gst_collectpads_peek), (gst_collectpads_pop),
21492 (gst_collectpads_event), (gst_collectpads_chain):
21493 Add debug category and some debugging output. Use boilerplate
21494 macros. Remove some extraneous words from docs.
21496 2005-11-05 Andy Wingo <wingo@pobox.com>
21498 * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
21499 macro.
21501 2005-11-04 Stefan Kost <ensonic@users.sf.net>
21503 * docs/gst/gstreamer-sections.txt:
21504 * gst/gstcaps.h:
21505 * gst/gstinfo.c:
21506 * gst/gstminiobject.h:
21507 * gst/gstobject.h:
21508 * gst/gstutils.h:
21509 more docs added
21511 2005-11-04 Wim Taymans <wim@fluendo.com>
21513 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
21514 Small update to stop at the configured segment_end
21515 position.
21517 2005-11-04 Stefan Kost <ensonic@users.sf.net>
21519 * gst/gstregistry.c:
21520 * gst/gstregistry.h:
21521 added missing docs
21523 2005-11-04 Edward Hervey <edward@fluendo.com>
21525 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
21526 Check if we are doing a segment seek and have arrived at the
21527 end of that segment.
21529 2005-11-04 Wim Taymans <wim@fluendo.com>
21531 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
21532 Don't leak a mutex unlock in case of an error.
21534 * gst/gstbus.h:
21535 Doc fixes.
21537 2005-11-04 Wim Taymans <wim@fluendo.com>
21539 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
21540 (gst_bus_post):
21541 Get the context to wake up only once.
21543 2005-11-03 Wim Taymans <wim@fluendo.com>
21545 * check/states/sinks.c: (GST_START_TEST):
21546 Uncomment fixed check.
21548 * docs/design/part-TODO.txt:
21549 Updated TODO.
21551 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
21552 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
21553 (gst_base_sink_get_position):
21554 If we are going to PLAYING, post the right pending state
21555 when we post the intermediate paused message.
21557 * gst/gstelement.c: (gst_element_continue_state),
21558 (gst_element_set_state_func), (gst_element_change_state):
21559 Don't post state changes that were between the same state
21560 and were not ASYNC.
21562 2005-11-03 Stefan Kost <ensonic@users.sf.net>
21564 * docs/gst/gstreamer-sections.txt:
21565 * gst/gstcaps.h:
21566 * gst/gstinfo.c:
21567 * gst/gstminiobject.h:
21568 * gst/gstobject.h:
21569 * gst/gstutils.h:
21570 more docs and doc style fixes
21572 2005-11-03 Stefan Kost <ensonic@users.sf.net>
21574 * docs/gst/gstreamer-sections.txt:
21575 * gst/gstelement.c:
21576 * gst/gstminiobject.c:
21577 doc fixes
21579 2005-11-03 Andy Wingo <wingo@pobox.com>
21581 * check/states/sinks.c (test_livesrc_sink): Add checks that the
21582 state-changed messages actually have the right order and the right
21583 values.
21585 2005-11-03 Wim Taymans <wim@fluendo.com>
21587 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
21588 Added some more checks. Specifically the case where NO_PREROLL
21589 elements are in the pipeline.
21591 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
21592 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
21593 (gst_base_sink_get_position):
21594 Post READY->PAUSED state change messages too.
21595 Fix bug where VOID was posted as pending state...
21597 * gst/gstbin.c: (gst_bin_recalc_state):
21598 use _element_continue_state() to continue the state change.
21600 * gst/gstelement.c: (gst_element_continue_state),
21601 (gst_element_commit_state), (gst_element_set_state_func),
21602 (gst_element_change_state), (gst_element_change_state_func):
21603 Lots of state change cleanups, assign the STATE_RETURN in
21604 a new continue_state() function that also propagates the
21605 last return value from a state change to the app.
21606 Update some debug statements with proper category.
21608 2005-11-03 Wim Taymans <wim@fluendo.com>
21610 * docs/design/part-events.txt:
21611 * docs/design/part-gstpipeline.txt:
21612 * docs/design/part-messages.txt:
21613 * docs/design/part-overview.txt:
21614 * docs/design/part-seeking.txt:
21615 * docs/design/part-states.txt:
21616 * docs/design/part-trickmodes.txt:
21617 * docs/manual/advanced-position.xml:
21618 Small docs updates.
21620 * gst/gstobject.h:
21621 People think !! is ugly, this looks better.
21623 * gst/gstpad.c: (gst_pad_set_blocked_async):
21624 Remove !! since it's fixed elsewhere now.
21626 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
21628 * gst/gstminiobject.h:
21629 * gst/gstobject.h:
21630 Add !! to _FLAG_IS_SET macros to make the result boolean.
21632 2005-11-03 Edward Hervey <edward@fluendo.com>
21634 * gst/gstpad.c: (gst_pad_set_blocked_async):
21635 comparing a flag and a gboolean rarely returns coherent results...
21636 Added two characters (!!) to make that work correctly.
21638 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
21640 * gst/gstbus.c: (gst_bus_class_init):
21641 Fix some typos.
21643 * gst/gstqueue.c: (gst_queue_loop):
21644 Don't assume a miniobject that isn't a buffer is an
21645 event (it could be that there is a refcounting
21646 problem somewhere and the pointer is stale and
21647 refers to an already destroyed miniobject).
21649 2005-11-03 Julien MOUTTE <julien@moutte.net>
21651 * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
21653 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
21655 * docs/manual/advanced-position.xml:
21656 Update seek example and explanations to current 0.9 API.
21658 * gst/elements/gsttypefindelement.c:
21659 (gst_type_find_element_activate):
21660 Remove FIXME comment now that the found caps
21661 are unreffed.
21663 2005-11-03 Thomas Vander Stichele <thomas at apestaart dot org>
21665 * gst/gstregistryxml.c: (load_feature):
21666 Add another GST_STR_NULL instance
21668 2005-11-02 Edward Hervey <edward@fluendo.com>
21670 * gst/gstpad.c: (handle_pad_block):
21671 Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
21673 2005-11-02 Wim Taymans <wim@fluendo.com>
21675 * gst/gstbin.c:
21676 Fix typo in docs.
21678 * gst/gstelement.c: (gst_element_commit_state):
21679 Remove unused value.
21681 * gst/gstiterator.c:
21682 Mention that the returned element is reffed in the docs.
21684 2005-11-02 Wim Taymans <wim@fluendo.com>
21686 * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
21687 (gst_pad_push), (gst_pad_push_event):
21688 Unlock blocked pads when they are flushed.
21690 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
21692 * docs/README:
21693 * docs/gst/gstreamer-sections.txt:
21694 * gst/gstbin.c:
21695 doc updates
21696 * gst/gstregistry.c: (gst_registry_scan_path_level):
21697 fix for a nasty little missed situation where an installed plug-in
21698 which was in the cache did not get overridden by an uninstalled one
21699 which was earlier in the plugin path because the newly created plugin
21700 for the uninstalled one (not in the registry) didn't get its
21701 ->registered set to TRUE
21703 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
21705 * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
21706 (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
21707 (gst_collectpads_is_active), (gst_collectpads_collect),
21708 (gst_collectpads_collect_range), (gst_collectpads_start),
21709 (gst_collectpads_stop), (gst_collectpads_peek),
21710 (gst_collectpads_pop), (gst_collectpads_available),
21711 (gst_collectpads_read), (gst_collectpads_flush):
21712 Guard public API with assertions.
21714 * gst/gstpad.c:
21715 Fix docs for gst_pad_set_link_function().
21717 2005-11-02 Johan Dahlin <johan@gnome.org>
21719 * gst/elements/gsttypefindelement.c (gst_type_find_element_activate):
21720 Unref found_caps after we used it.
21722 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
21724 * gst/base/gstcollectpads.c: (gst_collectpads_peek):
21725 Don't try to ref NULL.
21727 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
21729 * win32/common/config.h.in:
21730 provide a GST_FUNCTION that just gives a string for now
21732 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
21734 * win32/common/gstenumtypes.c: (register_gst_object_flags),
21735 (gst_object_flags_get_type), (register_gst_bin_flags),
21736 (gst_bin_flags_get_type), (register_gst_buffer_flag),
21737 (gst_buffer_flag_get_type), (register_gst_bus_flags),
21738 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
21739 (gst_bus_sync_reply_get_type), (register_gst_clock_return),
21740 (gst_clock_return_get_type), (register_gst_clock_entry_type),
21741 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
21742 (gst_clock_flags_get_type), (register_gst_state),
21743 (gst_state_get_type), (register_gst_state_change_return),
21744 (gst_state_change_return_get_type), (register_gst_state_change),
21745 (gst_state_change_get_type), (register_gst_element_flags),
21746 (gst_element_flags_get_type), (register_gst_core_error),
21747 (gst_core_error_get_type), (register_gst_library_error),
21748 (gst_library_error_get_type), (register_gst_resource_error),
21749 (gst_resource_error_get_type), (register_gst_stream_error),
21750 (gst_stream_error_get_type), (register_gst_event_type),
21751 (gst_event_type_get_type), (register_gst_seek_type),
21752 (gst_seek_type_get_type), (register_gst_seek_flags),
21753 (gst_seek_flags_get_type), (register_gst_format),
21754 (gst_format_get_type), (register_gst_index_certainty),
21755 (gst_index_certainty_get_type), (register_gst_index_entry_type),
21756 (gst_index_entry_type_get_type),
21757 (register_gst_index_lookup_method),
21758 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
21759 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
21760 (gst_index_resolver_method_get_type), (register_gst_index_flags),
21761 (gst_index_flags_get_type), (register_gst_debug_level),
21762 (gst_debug_level_get_type), (register_gst_debug_color_flags),
21763 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
21764 (gst_iterator_result_get_type), (register_gst_iterator_item),
21765 (gst_iterator_item_get_type), (register_gst_message_type),
21766 (gst_message_type_get_type), (register_gst_mini_object_flags),
21767 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
21768 (gst_pad_link_return_get_type), (register_gst_flow_return),
21769 (gst_flow_return_get_type), (register_gst_activate_mode),
21770 (gst_activate_mode_get_type), (register_gst_pad_direction),
21771 (gst_pad_direction_get_type), (register_gst_pad_flags),
21772 (gst_pad_flags_get_type), (register_gst_pad_presence),
21773 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
21774 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
21775 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
21776 (gst_plugin_error_get_type), (register_gst_plugin_flags),
21777 (gst_plugin_flags_get_type), (register_gst_rank),
21778 (gst_rank_get_type), (register_gst_query_type),
21779 (gst_query_type_get_type), (register_gst_tag_merge_mode),
21780 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
21781 (gst_tag_flag_get_type), (register_gst_task_state),
21782 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
21783 (gst_alloc_trace_flags_get_type),
21784 (register_gst_type_find_probability),
21785 (gst_type_find_probability_get_type), (register_gst_uri_type),
21786 (gst_uri_type_get_type), (register_gst_parse_error),
21787 (gst_parse_error_get_type):
21788 * win32/common/gstversion.h:
21789 update win32 copies
21791 2005-11-01 Luca Ognibene <luogni@tin.it>
21793 * gst/gst.c:
21794 fix docs. popt is dead, long live GOption.
21796 2005-10-31 Wim Taymans <wim@fluendo.com>
21798 * gst/gstbuffer.h:
21799 Small doc fix.
21801 2005-10-31 Andy Wingo <wingo@pobox.com>
21803 * Boo!
21805 * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
21807 * gst/gstobject.c (gst_object_dispatch_properties_changed): No
21808 need to serialize property notifications on GLib 2.8. GLib 2.6 has
21809 the possibility of deadlocks here if code calling notify() or
21810 set() has a lock that can be taken in another notify handler (ABBA
21811 with class lock and e.g. python GIL state lock).
21813 2005-10-28 Julien MOUTTE <julien@moutte.net>
21815 * gst/gstbus.c: Doc updates.
21817 2005-10-28 Wim Taymans <wim@fluendo.com>
21819 * docs/design/part-TODO.txt:
21820 * gst/gstiterator.c:
21821 * gst/gstsystemclock.c:
21822 * gst/gstsystemclock.h:
21823 Doc updates.
21825 2005-10-28 Edward Hervey <edward@fluendo.com>
21827 * docs/gst/gstreamer-docs.sgml:
21828 * docs/gst/gstreamer-sections.txt:
21829 the GstURIType documentation page is private, it only defines GstURIType
21830 which should be defined in the GstURIHandler page
21832 2005-10-28 Thomas Vander Stichele <thomas at apestaart dot org>
21834 * gst/gstbin.c: (gst_bin_class_init):
21835 * gst/gstbin.h:
21836 * gst/gstutils.c:
21837 Documentation updates.
21839 2005-10-28 Wim Taymans <wim@fluendo.com>
21841 * docs/gst/gstreamer-sections.txt:
21842 * gst/gstclock.c:
21843 * gst/gstclock.h:
21844 Documented the clocks.
21846 2005-10-28 Stefan Kost <ensonic@users.sf.net>
21848 * docs/gst/gstreamer-sections.txt:
21849 move some macros to private sections
21850 * gst/gstminiobject.c:
21851 * gst/gstminiobject.h:
21852 add descriptions provided by ds and some more
21853 * gst/gstpad.h:
21854 mark macro as to be removed
21856 2005-10-28 Wim Taymans <wim@fluendo.com>
21858 * docs/design/part-TODO.txt:
21859 Add an item to TODO.
21861 * gst/gstiterator.c: (gst_iterator_fold),
21862 (gst_iterator_find_custom):
21863 * gst/gstiterator.h:
21864 Add iterator docs.
21866 2005-10-28 Wim Taymans <wim@fluendo.com>
21868 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
21869 (gst_base_transform_init):
21870 Don't leak class.
21872 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
21873 An EOS event marks the queue as completely filled.
21875 2005-10-27 Wim Taymans <wim@fluendo.com>
21877 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21878 (gst_base_sink_do_sync), (gst_base_sink_get_position):
21879 Some more debugging.
21881 * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
21882 (gst_base_transform_init), (gst_base_transform_buffer_alloc),
21883 (gst_base_transform_event), (gst_base_transform_getrange),
21884 (gst_base_transform_chain):
21885 * gst/base/gstbasetransform.h:
21886 Fix debugging,
21887 Protect transform and concurrent buffer alloc with a new lock.
21888 Try not to break ABI/API.
21890 2005-10-27 Wim Taymans <wim@fluendo.com>
21892 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
21893 (gst_base_src_init), (gst_base_src_query),
21894 (gst_base_src_default_newsegment),
21895 (gst_base_src_configure_segment), (gst_base_src_do_seek),
21896 (gst_base_src_send_event), (gst_base_src_event_handler),
21897 (gst_base_src_pad_get_range), (gst_base_src_loop),
21898 (gst_base_src_unlock), (gst_base_src_default_negotiate),
21899 (gst_base_src_start), (gst_base_src_deactivate),
21900 (gst_base_src_activate_push), (gst_base_src_change_state):
21901 Move some stuff around and cleanup things.
21903 2005-10-27 Tim-Philipp Müller <tim at centricular dot net>
21905 * gst/base/gstbasesrc.c: (gst_base_src_query):
21906 Add missing break statements.
21908 2005-10-27 Wim Taymans <wim@fluendo.com>
21910 * check/gst/gstbin.c: (GST_START_TEST):
21911 An extra refcount is taken in basesrc.
21913 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
21914 (gst_base_src_get_range), (gst_base_src_pad_get_range),
21915 (gst_base_src_loop):
21916 Small cleanups, check for flushing after being unlocked from the
21917 LIVE_LOCK. take refcounts correctly (not yet everywhere).
21918 Don't send out EOS when going to READY.
21920 2005-10-27 Wim Taymans <wim@fluendo.com>
21922 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21923 (gst_base_sink_get_position):
21924 Some more debug.
21926 * gst/gstbin.c: (message_check), (bin_replace_message),
21927 (bin_remove_messages), (is_eos), (gst_bin_add_func),
21928 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
21929 (bin_query_duration_init), (bin_query_duration_fold),
21930 (bin_query_duration_done), (bin_query_generic_fold),
21931 (gst_bin_query):
21932 * tools/gst-launch.c: (main):
21933 Remove old option.
21935 2005-10-26 Stefan Kost <ensonic@users.sf.net>
21937 * examples/controller/audio-example.c: (main):
21938 * examples/queue/queue.c: (event_loop):
21939 * gst/base/gstbasetransform.h:
21940 * gst/gstelement.c: (gst_element_send_event):
21941 * gst/gstevent.h:
21942 * gst/gstpad.c: (gst_pad_send_event):
21943 fixing examples
21944 fixing docs typos
21945 changing log priority in error situations
21947 2005-10-25 Wim Taymans <wim@fluendo.com>
21949 * gst/gstbin.c: (message_check), (bin_replace_message),
21950 (bin_remove_messages), (is_eos), (gst_bin_add_func),
21951 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
21952 (bin_query_duration_init), (bin_query_duration_fold),
21953 (bin_query_duration_done), (bin_query_generic_fold),
21954 (gst_bin_query):
21955 Some doc and debug updates.
21956 Cache previously requested query DURATION for speed. invalidate
21957 cached duration if element posts a DURATION message.
21959 2005-10-25 Wim Taymans <wim@fluendo.com>
21961 * docs/design/part-TODO.txt:
21962 Update TODO.
21964 * gst/gstbin.c: (message_check), (bin_replace_message),
21965 (bin_remove_messages), (is_eos), (gst_bin_add_func),
21966 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
21967 (bin_query_duration_init), (bin_query_duration_fold),
21968 (bin_query_duration_done), (bin_query_generic_fold),
21969 (gst_bin_query):
21970 Handle SEGMENT_START/DONE messages correctly.
21971 More evolved query algorithm that handles duration queries
21972 correctly.
21974 * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
21975 (gst_element_get_state_func), (gst_element_abort_state),
21976 (gst_element_commit_state), (gst_element_lost_state):
21977 Some more debugging.
21979 * gst/gstmessage.h:
21980 Added doc.
21982 2005-10-25 Wim Taymans <wim@fluendo.com>
21984 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
21985 Don't use invalid stream_time.
21987 * gst/gstevent.c: (gst_event_new_newsegment):
21988 stream_time in newsegment cannot be undefined.
21990 2005-10-24 Wim Taymans <wim@fluendo.com>
21992 * gst/gstbus.c:
21993 Doc fix.
21995 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
21996 (gst_queue_loop):
21997 Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
21999 2005-10-24 Stefan Kost <ensonic@users.sf.net>
22001 * docs/libs/tmpl/gstdparam.sgml:
22002 * docs/libs/tmpl/gstdplinint.sgml:
22003 * docs/libs/tmpl/gstdpman.sgml:
22004 * docs/libs/tmpl/gstdpsmooth.sgml:
22005 * docs/libs/tmpl/gstunitconvert.sgml:
22006 these are obsolete
22008 2005-10-24 Thomas Vander Stichele <thomas at apestaart dot org>
22010 * configure.ac:
22011 back to HEAD
22013 === release 0.9.4 ===
22015 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
22017 * configure.ac:
22018 releasing 0.9.4, "Tyrannosaurus Rex"
22020 2005-10-23 Tim-Philipp Müller <tim at centricular dot net>
22022 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
22023 (gst_file_sink_get_current_offset):
22024 Use fseeko() and ftello() if available. When falling back on
22025 lseek() to get the current offset, fflush() first to make sure
22026 everything is up-to-date and we get the right offset.
22028 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
22030 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
22031 * gst/base/gstbasesrc.c: (gst_base_src_loop):
22032 * gst/gsterror.c: (_gst_stream_errors_init):
22033 * gst/gsterror.h:
22034 * gst/gstqueue.c: (gst_queue_loop):
22035 * po/POTFILES.in:
22036 remove prematurely added error category and clean up the instances
22038 2005-10-21 Wim Taymans <wim@fluendo.com>
22040 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
22041 (gst_base_sink_get_position), (gst_base_sink_query),
22042 (gst_base_sink_change_state):
22043 Simply set the right flag when going to playing, that's all
22044 we need to do instead of calling a function inside the object
22045 lock (that could take the lock as well and deadlock)
22047 2005-10-21 Wim Taymans <wim@fluendo.com>
22049 * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
22050 (gst_base_src_loop):
22051 Don't warn, the peer element knows what to do best when
22052 the seek failed, it might try something else.
22054 2005-10-21 Wim Taymans <wim@fluendo.com>
22056 * gst/base/gstbasesrc.c: (gst_base_src_init),
22057 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
22058 Fix seeking.
22060 2005-10-21 Wim Taymans <wim@fluendo.com>
22062 * docs/design/part-segments.txt:
22063 More docs.
22065 * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
22066 Correctly set caps, even on the subbufer.
22068 2005-10-21 Wim Taymans <wim@fluendo.com>
22070 * docs/gst/gstreamer-docs.sgml:
22071 * docs/gst/gstreamer-sections.txt:
22072 * gst/gstelement.h:
22073 * gst/gstevent.c:
22074 * gst/gstevent.h:
22075 * gst/gstmessage.h:
22076 * gst/gstpad.h:
22077 * gst/gstparse.h:
22078 * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
22079 * gst/gsttask.h:
22080 * gst/gstutils.c:
22081 * gst/gstutils.h:
22082 And 2% more doc coverage.
22084 2005-10-21 Andy Wingo <wingo@pobox.com>
22086 * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
22087 position reporting.
22089 2005-10-20 Wim Taymans <wim@fluendo.com>
22091 * gst/gsterror.c: (gst_error_get_message):
22092 * gst/gstparse.h:
22093 * gst/gstquery.h:
22094 * gst/gststructure.c:
22095 * gst/gsttrace.c:
22096 * gst/gstutils.c:
22097 More docs.
22099 2005-10-20 Wim Taymans <wim@fluendo.com>
22101 * gst/gstbuffer.h:
22102 * gst/gstpad.c:
22103 * gst/gstparse.c:
22104 Another 1% more coverage.
22106 2005-10-20 Wim Taymans <wim@fluendo.com>
22108 * docs/gst/gstreamer-sections.txt:
22109 * gst/gstelement.c: (gst_element_get_state_func),
22110 (gst_element_abort_state), (gst_element_commit_state),
22111 (gst_element_lost_state):
22112 * gst/gstevent.h:
22113 * gst/gstquery.c: (gst_query_set_position),
22114 (gst_query_parse_position), (gst_query_set_duration),
22115 (gst_query_parse_duration), (gst_query_new_convert):
22116 * gst/gstutils.c:
22117 Yay! 1% more docs coverage.
22119 2005-10-20 Wim Taymans <wim@fluendo.com>
22121 * gst/gstpad.h:
22122 * gst/gstquery.c: (gst_query_set_position),
22123 (gst_query_parse_position), (gst_query_set_duration),
22124 (gst_query_parse_duration), (gst_query_new_convert):
22125 * gst/gstquery.h:
22126 * gst/gstutils.c: (gst_element_query_convert):
22127 * gst/gstutils.h:
22128 Docs and consistency fixes.
22130 2005-10-20 Wim Taymans <wim@fluendo.com>
22132 * gst/gsttask.c:
22133 * gst/gsttask.h:
22134 More docs.
22136 2005-10-20 Wim Taymans <wim@fluendo.com>
22138 * gst/gstbin.c: (message_check), (bin_replace_message),
22139 (bin_remove_messages), (is_eos), (gst_bin_add_func),
22140 (update_degree), (gst_bin_sort_iterator_next),
22141 (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
22142 Reworked the message handling a bit, cache the messages instead of
22143 only the senders. alows us to do more in the future.
22145 2005-10-20 Wim Taymans <wim@fluendo.com>
22147 * docs/design/part-TODO.txt:
22148 Update TODO
22150 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
22151 (gst_base_sink_query):
22152 Don't use clock time to report position when in EOS.
22154 2005-10-20 Tim-Philipp Müller <tim at centricular dot net>
22156 * tools/gst-inspect.c: (print_interfaces),
22157 (print_element_properties_info), (print_element_info):
22158 Fix interface output with gst-inspect -a; don't print
22159 newlines after double/float properties.
22161 2005-10-20 Wim Taymans <wim@fluendo.com>
22163 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
22164 (gst_base_sink_query):
22165 Speed up current position calculation.
22167 * gst/base/gstbasesrc.c: (gst_base_src_query),
22168 (gst_base_src_default_newsegment):
22169 Correctly set stream position in newsegment.
22171 * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
22172 (update_degree), (gst_bin_sort_iterator_next),
22173 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
22174 * gst/gstmessage.c: (gst_message_new_custom):
22175 Clean up debugging info
22177 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
22178 (gst_queue_loop), (gst_queue_handle_src_query):
22179 Pause task faster.
22181 2005-10-19 Wim Taymans <wim@fluendo.com>
22183 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
22184 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
22185 Fix query handling again.
22187 2005-10-19 Wim Taymans <wim@fluendo.com>
22189 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
22190 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
22191 * gst/base/gstbasesrc.c: (gst_base_src_query):
22192 * gst/elements/gstfilesink.c: (gst_file_sink_query):
22193 * gst/elements/gsttypefindelement.c:
22194 (gst_type_find_handle_src_query), (find_element_get_length),
22195 (gst_type_find_element_activate):
22196 API change fix.
22198 * gst/gstquery.c: (gst_query_new_position),
22199 (gst_query_set_position), (gst_query_parse_position),
22200 (gst_query_new_duration), (gst_query_set_duration),
22201 (gst_query_parse_duration), (gst_query_set_segment),
22202 (gst_query_parse_segment):
22203 * gst/gstquery.h:
22204 Bundling query position/duration is not a good idea since duration
22205 does not change much and we don't want to recalculate it for every
22206 position query, so they are separated again..
22207 Base value in segment query is not needed.
22209 * gst/gstqueue.c: (gst_queue_handle_src_query):
22210 * gst/gstutils.c: (gst_element_query_position),
22211 (gst_element_query_duration), (gst_pad_query_position),
22212 (gst_pad_query_duration):
22213 * gst/gstutils.h:
22214 Updates for query API change.
22215 Added some docs here and there.
22217 2005-10-19 Thomas Vander Stichele <thomas at apestaart dot org>
22219 * check/gst/gstbin.c: (GST_START_TEST):
22220 * check/gst/gstghostpad.c: (GST_START_TEST):
22221 * check/pipelines/cleanup.c: (GST_START_TEST):
22222 wait on thread to die so we can check refcount correctly
22224 2005-10-18 Wim Taymans <wim@fluendo.com>
22226 * check/pipelines/stress.c: (GST_START_TEST):
22227 Make check a little more time consuming.
22229 2005-10-18 Wim Taymans <wim@fluendo.com>
22231 * check/Makefile.am:
22232 * check/pipelines/stress.c: (GST_START_TEST),
22233 (simple_launch_lines_suite), (main):
22234 Small state change torture test.
22236 * docs/design/part-states.txt:
22237 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
22238 (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
22239 (gst_base_sink_change_state):
22240 Never take state lock from streaming thread, clean up ugly
22241 hacks. Unfortunatly core does not yet support nice ways to
22242 async commit state.
22244 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
22245 (bin_bus_handler):
22246 Start state recalc if a STATE_DIRTY message is posted, but only
22247 on the toplevel bin.
22249 * gst/gstelement.c: (gst_element_sync_state_with_parent),
22250 (gst_element_get_state_func), (gst_element_abort_state),
22251 (gst_element_commit_state), (gst_element_lost_state),
22252 (gst_element_set_state_func), (gst_element_change_state):
22253 * gst/gstelement.h:
22254 State variables are now protected with the LOCK, the state
22255 lock is only used to serialize _set_state().
22257 2005-10-18 Wim Taymans <wim@fluendo.com>
22259 * check/gst/gstbin.c: (GST_START_TEST):
22260 * check/gst/gstmessage.c: (GST_START_TEST):
22261 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
22262 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
22263 (bin_bus_handler):
22264 * gst/gstelement.c: (gst_element_abort_state),
22265 (gst_element_commit_state), (gst_element_lost_state):
22266 * gst/gstmessage.c: (gst_message_new_state_changed),
22267 (gst_message_new_state_dirty), (gst_message_new_segment_start),
22268 (gst_message_new_segment_done), (gst_message_new_duration),
22269 (gst_message_parse_state_changed),
22270 (gst_message_parse_segment_start),
22271 (gst_message_parse_segment_done), (gst_message_parse_duration):
22272 * gst/gstmessage.h:
22273 * tools/gst-launch.c: (event_loop):
22274 Seriously, this is better than a previous commit as we only need
22275 to notify the fact that an element changed state in a streaming
22276 thread, marking the state of the parents dirty, hence the
22277 STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
22278 message.
22280 2005-10-18 Wim Taymans <wim@fluendo.com>
22282 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
22283 (gst_bin_recalc_func):
22284 * gst/gstelement.c: (gst_element_set_clock),
22285 (gst_element_abort_state), (gst_element_lost_state):
22286 Cleanups, prepare for state change fixes.
22288 2005-10-18 Wim Taymans <wim@fluendo.com>
22290 * gst/gstbin.h:
22291 * gst/gstelement.c: (gst_element_class_init),
22292 (gst_element_set_state), (gst_element_set_state_func):
22293 * gst/gstelement.h:
22294 Pending ABI changes.
22295 GThreadPool in GstBinClass to monitor async state changes.
22296 state_cookie in GstElement to detect concurrent gst/set state.
22297 set_state is now virtual too in case a very complicated element
22298 has to be constructed.
22300 2005-10-18 Wim Taymans <wim@fluendo.com>
22302 * check/gst/gstbin.c: (GST_START_TEST):
22303 * check/gst/gstmessage.c: (GST_START_TEST):
22304 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
22305 * gst/gstbin.c: (bin_bus_handler):
22306 * gst/gstelement.c: (gst_element_commit_state),
22307 (gst_element_lost_state):
22308 * gst/gstmessage.c: (gst_message_new_state_changed),
22309 (gst_message_new_segment_start), (gst_message_new_segment_done),
22310 (gst_message_new_duration), (gst_message_parse_state_changed),
22311 (gst_message_parse_segment_start),
22312 (gst_message_parse_segment_done), (gst_message_parse_duration):
22313 * gst/gstmessage.h:
22314 * tools/gst-launch.c: (event_loop):
22315 Make messages future proof.
22316 state-change gets a flag if it was a message comming from the
22317 streaming thread.
22318 segment-start/stop can also be specified in other formats.
22319 A message to notify an app that a pipeline changed playback
22320 duration.
22321 Also fix a GstMessage leak in -launch
22323 2005-10-18 Andy Wingo <wingo@pobox.com>
22325 * gst/gstelement.c (gst_element_dispose): More helpful message.
22327 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
22329 reviewed by: <delete if not using a buddy>
22331 * common/gtk-doc.mak:
22333 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
22335 * gst/gstregistry.c: (gst_registry_scan_path_level):
22336 unref a plug-in we get that was already initialized
22338 2005-10-18 Stefan Kost <ensonic@users.sf.net>
22340 * docs/gst/gstreamer-sections.txt:
22341 * docs/libs/gstreamer-libs-sections.txt:
22342 * gst/gstelement.h:
22343 add new api entries
22344 hide internal macro
22346 2005-10-17 Andy Wingo <wingo@pobox.com>
22348 * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
22349 cleanup.
22351 * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
22353 * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
22355 * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
22356 (gst_element_get_state_func): Better debug message.
22357 (gst_element_commit_state): s/INFO/DEBUG/.
22358 (gst_element_lost_state, gst_element_change_state):
22360 * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
22361 (gst_message_new_custom): s/INFO/LOG/.
22363 2005-10-17 Michael Smith <msmith@fluendo.com>
22365 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
22366 Check if end time is valid using end time, not start time.
22368 2005-10-17 Stefan Kost <ensonic@users.sf.net>
22370 * check/gst-libs/controller.c: (GST_START_TEST),
22371 (gst_controller_suite):
22372 * libs/gst/controller/gstcontroller.c:
22373 (gst_controlled_property_set_interpolation_mode):
22374 * libs/gst/controller/gstcontroller.h:
22375 * libs/gst/controller/gstinterpolation.c:
22376 * testsuite/controller/.cvsignore:
22377 * testsuite/controller/Makefile.am:
22378 * testsuite/controller/interpolator.c:
22379 merge controller testsuites
22380 fix broken tests
22381 remove mem-chunk from docs
22383 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
22385 * gst/gstmemchunk.c:
22386 * gst/gstmemchunk.h:
22387 * gst/gsttrashstack.c:
22388 * gst/gsttrashstack.h:
22389 out. get out. you're fired. to the Attic !
22391 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
22393 * gst/gstcaps.c: (gst_caps_intersect):
22394 fix signedness issues in a (hopefully) correct way
22395 * gst/gstelement.c: (gst_element_pads_activate):
22396 some debugging
22397 * gst/gstobject.c: (gst_object_set_parent):
22398 some debugging
22400 2005-10-17 Julien MOUTTE <julien@moutte.net>
22402 * gst/gstvalue.h: Fix prototypes.
22404 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
22406 * docs/gst/gstreamer-sections.txt:
22407 * gst/gst.c: (gst_version_string):
22408 * gst/gst.h:
22409 * gst/gstversion.h.in:
22410 * win32/common/libgstreamer.def:
22411 add gst_version_string ()
22413 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
22415 * configure.ac:
22416 clean up further
22417 * gst/gst.c: (init_post):
22418 * win32/common/config.h.in:
22419 it's PLUGINDIR now
22420 * gst/gstcaps.c: (gst_caps_intersect):
22421 use gint64, the range could be bigger than a guint
22423 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
22425 * gst/gstclock.h:
22426 document potential problem in 2038
22428 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
22430 * gst/gstcaps.c: (gst_caps_intersect):
22431 Fix guint j diving under 0
22433 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
22435 * configure.ac:
22436 * win32/common/config.h:
22437 * win32/common/config.h.in:
22438 check for process.h, declares getpid() on Windows
22439 * gst/gstinfo.c:
22440 include process.h if we have it
22441 * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
22442 * gst/gstmemchunk.h:
22443 fix signedness issues
22444 * win32/common/libgstreamer.def:
22445 fix get_type's
22447 2005-10-16 Julien MOUTTE <julien@moutte.net>
22449 * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
22450 fix. Because of unsigned ints, caps intersection was going nuts and
22451 trying to access structures with G_MAXUINT index. That fixes
22452 videotestsrc ! ffmpegcolorspace ! fakesink
22453 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
22454 consistency.
22456 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
22458 * configure.ac:
22459 use the gettext macro
22460 * gst/elements/gstelements.c:
22461 * gst/gst.c:
22462 * gst/indexers/gstindexers.c:
22463 update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
22464 * win32/common/config.h:
22465 updated config.h
22466 * win32/common/config.h.in:
22467 add the template to generate config.h
22468 * win32/common/gstenumtypes.c:
22469 * win32/common/gstversion.h:
22470 updated copies
22472 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
22474 * gst/gst.c: (gst_version):
22475 * gst/gstversion.h.in:
22476 add the nano
22478 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
22480 * gst/gstevent.h:
22481 Oops, add missing closing bracket.
22483 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
22485 * configure.ac:
22486 use common m4's for argument checking
22488 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
22490 * docs/gst/gstreamer-sections.txt:
22491 * gst/gstevent.h:
22492 Add GST_EVENT_TYPE_NAME() macro.
22494 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
22496 * gst/gstinfo.c:
22497 * gst/gstpluginfeature.c:
22498 * gst/gsttask.c:
22499 privatize more symbols
22501 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
22503 * configure.ac:
22504 add srcdir, builddir includes to GST_ALL_CFLAGS, since
22505 everything that uses GStreamer API should have the includes
22507 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
22509 * docs/gst/gstreamer-sections.txt:
22510 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
22511 * gst/gstvalue.h:
22512 give each value a _get_type, removes the DATA exports
22514 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
22516 * gst/gst.c:
22517 * gst/gst.h:
22518 remove _gst_registry_auto_load, not used anymore
22519 * gst/gstbin.c: (gst_bin_get_type):
22520 * gst/gstbin.h:
22521 * gst/gstelement.c: (gst_element_get_type):
22522 * gst/gstelement.h:
22523 * gst/gstobject.c: (gst_object_get_type):
22524 * gst/gstobject.h:
22525 * gst/gstpad.c: (gst_pad_get_type):
22526 * gst/gstpad.h:
22527 make _get_type functions similar, fixes data export from library
22529 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
22531 * configure.ac:
22532 correctly make conditionals
22533 * gst/elements/Makefile.am:
22534 * gst/elements/gstelements.c:
22535 fix typo causing fdsrc not to build
22537 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
22539 * testsuite/Makefile.am:
22540 * testsuite/bytestream/.cvsignore:
22541 * testsuite/bytestream/Makefile.am:
22542 * testsuite/bytestream/filepadsink.c:
22543 * testsuite/bytestream/gstbstest.c:
22544 * testsuite/bytestream/test1.c:
22545 * testsuite/bytestream/testfile1:
22546 * testsuite/caps/normalisation.c:
22547 * testsuite/caps/random.c: (main):
22548 * testsuite/cleanup/.cvsignore:
22549 * testsuite/cleanup/Makefile.am:
22550 * testsuite/cleanup/cleanup1.c:
22551 * testsuite/cleanup/cleanup2.c:
22552 * testsuite/cleanup/cleanup3.c:
22553 * testsuite/cleanup/cleanup4.c:
22554 * testsuite/cleanup/cleanup5.c:
22555 * testsuite/controller/interpolator.c:
22556 * testsuite/debug/printf_extension.c: (main):
22557 * testsuite/elements/tee.c:
22558 * testsuite/negotiation/.cvsignore:
22559 * testsuite/negotiation/Makefile.am:
22560 * testsuite/negotiation/pad_link.c:
22561 * testsuite/pad/Makefile.am:
22562 * testsuite/pad/chainnopull.c:
22563 * testsuite/pad/getnopush.c:
22564 * testsuite/pad/link.c:
22565 * testsuite/refcounting/sched.c: (create_pipeline):
22566 * testsuite/registry/Makefile.am:
22567 * testsuite/registry/gst-print-formats.c:
22568 * testsuite/schedulers/.cvsignore:
22569 * testsuite/schedulers/142183-2.c:
22570 * testsuite/schedulers/142183.c:
22571 * testsuite/schedulers/143777-2.c:
22572 * testsuite/schedulers/143777.c:
22573 * testsuite/schedulers/147713.c:
22574 * testsuite/schedulers/147819.c:
22575 * testsuite/schedulers/147894-2.c:
22576 * testsuite/schedulers/147894.c:
22577 * testsuite/schedulers/Makefile.am:
22578 * testsuite/schedulers/group_link.c:
22579 * testsuite/schedulers/queue_link.c:
22580 * testsuite/schedulers/relink.c:
22581 * testsuite/schedulers/unlink.c:
22582 * testsuite/schedulers/unref.c:
22583 * testsuite/schedulers/useless_iteration.c:
22584 * testsuite/states/bin.c:
22585 clean out/remove some stuff from the testsuite directories
22587 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
22589 * configure.ac:
22590 check for some headers
22591 * gst/elements/Makefile.am:
22592 * gst/elements/gstelements.c:
22593 don't compile fdsrc without sys/socket.h
22594 * gst/indexers/Makefile.am:
22595 * gst/indexers/gstindexers.c: (plugin_init):
22596 don't compile fileindex without mmap
22598 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
22600 * configure.ac:
22601 reorganize
22602 clean up
22603 document more
22604 remove cruft
22605 * check/Makefile.am:
22606 * docs/gst/Makefile.am:
22607 * examples/helloworld/Makefile.am:
22608 * gst/Makefile.am:
22609 * gst/base/Makefile.am:
22610 * gst/check/Makefile.am:
22611 * gst/elements/Makefile.am:
22612 * gst/indexers/Makefile.am:
22613 * gst/parse/Makefile.am:
22614 * libs/gst/controller/Makefile.am:
22615 * libs/gst/dataprotocol/Makefile.am:
22616 * examples/helloworld/helloworld.c: (event_loop):
22617 compile fixes, though it's not being compiled currently
22619 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
22621 * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
22622 Add some simple tests for the new taglist date API.
22624 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
22626 * gst/elements/gstfakesink.c: (gst_fake_sink_render):
22627 * gst/elements/gstfakesrc.c: (gst_fake_src_create):
22628 Beautify 'last-message' output: print 'none' for buffer timestamps
22629 and durations if none is set; improve alignment with next messages.
22631 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
22633 * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
22634 * gst/gstpluginfeature.h:
22635 * gst/gstregistry.c: (gst_default_registry_check_feature_version):
22636 * gst/gstregistry.h:
22637 * docs/gst/gstreamer-sections.txt:
22638 Add new API to check plugin feature version requirements.
22640 * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
22641 Some basic tests for the above.
22643 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
22645 * gst/gststructure.c: (gst_structure_to_string):
22646 guard against NULL printf - happens when for example
22647 a message structure with GstClock gets serialized
22649 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
22651 * gst/base/gstcollectpads.c: (gst_collectpads_event):
22652 Fix presumable copy'n'pasto.
22654 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
22656 * gst/elements/gstfakesrc.h:
22657 * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
22658 * gst/elements/gsttypefindelement.c:
22659 fix some signedness
22660 * gst/elements/gstfilesink.c: (gst_file_sink_render):
22661 I wonder if this could actually write +2GB files before
22663 2005-10-13 Andy Wingo <wingo@pobox.com>
22665 * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
22666 Fix Timmeke Waymans bug.
22667 (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
22668 string of the proper length to gst_caps_from_string. There's a
22669 potential for, before this fix, that this could cause someone
22670 connecting over the network to cause a segfault if the payload is
22671 not NUL-terminated.
22673 2005-10-13 Stefan Kost <ensonic@users.sf.net>
22675 * docs/design/draft-push-pull.txt:
22676 * docs/design/part-overview.txt:
22677 * docs/random/TODO-pre-0.9:
22678 * docs/random/old/ChangeLog.gstreamer:
22679 * gst/base/gstpushsrc.c:
22680 * gst/gstclock.c:
22681 fixed typos
22683 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
22685 * gst/glib-compat.c: (gst_flags_get_first_value):
22686 * gst/glib-compat.h:
22687 * gst/gstvalue.c: (gst_value_deserialize_int_helper),
22688 (gst_value_compare_double), (gst_value_serialize_flags):
22689 GLib 2.6 g_flags_get_first_value has a bug that triggers an
22690 infinite loop
22692 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
22694 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
22695 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
22696 fix up debugging
22697 * tools/gst-launch.c: (event_loop):
22698 print out clock nicely
22700 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
22702 * docs/gst/gstreamer-sections.txt:
22703 * gst/gsttaglist.h:
22704 * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
22705 (gst_tag_list_get_date_index):
22706 Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
22707 GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
22709 2005-10-13 Julien MOUTTE <julien@moutte.net>
22711 * gst/base/gstcollectpads.c: (gst_collectpads_event),
22712 (gst_collectpads_chain):
22713 * gst/base/gstcollectpads.h: Handle newsegment and store informations
22714 in CollectData.
22716 2005-10-13 Stefan Kost <ensonic@users.sf.net>
22718 * docs/gst/gstreamer-sections.txt:
22719 * gst/gst.c:
22720 * gst/gsterror.h:
22721 * tools/gst-inspect.c: (main):
22722 * tools/gst-launch.c: (main):
22723 * tools/gst-run.c: (main):
22724 * tools/gst-xmlinspect.c: (main):
22725 fix GOption context leaks
22726 doc fixes
22728 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
22730 * gst/gstbus.c:
22731 use HAVE_UNISTD_H
22732 * win32/common/config.h:
22733 update config
22734 * win32/vs6/grammar.dsp:
22735 * win32/vs6/libgstelements.dsp:
22736 * win32/vs6/libgstreamer.dsp:
22737 update vs6 files
22739 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
22741 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
22742 * gst/base/gstbasesrc.c: (gst_base_src_query):
22743 fix more guint64<->gdouble conversions
22745 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
22747 * Makefile.am:
22748 add win32-update target
22749 * win32/common/gstconfig.h:
22750 * win32/common/gstenumtypes.c:
22751 * win32/common/gstenumtypes.h:
22752 * win32/common/gstversion.h:
22753 add files that visual studio can't generate
22755 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
22757 * Makefile.am:
22758 add a win32-update target
22759 * configure.ac:
22761 2005-10-12 Wim Taymans <wim@fluendo.com>
22763 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
22764 (reset_degree), (gst_bin_dispose), (bin_bus_handler):
22765 * gst/gstelement.c: (gst_element_commit_state),
22766 (gst_element_set_state):
22767 Protect flags with proper lock.
22768 unref provided cached clock in dispose.
22770 2005-10-12 Stefan Kost <ensonic@users.sf.net>
22772 * gst/gst.c:
22773 * gst/gstminiobject.h:
22774 * gst/gstpad.h:
22775 * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
22776 removed unused flags from miniobject
22777 doc fixes
22779 2005-10-12 Wim Taymans <wim@fluendo.com>
22781 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
22782 (gst_file_sink_event), (gst_file_sink_render):
22783 Flush before seeking.
22785 2005-10-12 Andy Wingo <wingo@pobox.com>
22787 * gst/gst.c (gst_init_check): Ignore unknown options, as has
22788 always been the case.
22790 2005-10-12 Stefan Kost <ensonic@users.sf.net>
22792 * check/gst/gstbin.c: (GST_START_TEST):
22793 * docs/gst/gstreamer-sections.txt:
22794 * gst/base/gstbasesink.c: (gst_base_sink_init):
22795 * gst/base/gstbasesrc.c: (gst_base_src_init),
22796 (gst_base_src_get_range), (gst_base_src_check_get_range),
22797 (gst_base_src_start), (gst_base_src_stop):
22798 * gst/base/gstbasesrc.h:
22799 * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
22800 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
22801 (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
22802 (bin_bus_handler):
22803 * gst/gstbin.h:
22804 * gst/gstbuffer.h:
22805 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
22806 * gst/gstbus.h:
22807 * gst/gstelement.c: (gst_element_is_locked_state),
22808 (gst_element_set_locked_state), (gst_element_commit_state),
22809 (gst_element_set_state):
22810 * gst/gstelement.h:
22811 * gst/gstindex.c: (gst_index_init):
22812 * gst/gstindex.h:
22813 * gst/gstminiobject.h:
22814 * gst/gstobject.c: (gst_object_init), (gst_object_sink),
22815 (gst_object_set_parent):
22816 * gst/gstobject.h:
22817 * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
22818 (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
22819 * gst/gstpad.h:
22820 * gst/gstpadtemplate.h:
22821 * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
22822 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
22823 * gst/gstpipeline.h:
22824 * gst/indexers/gstfileindex.c: (gst_file_index_load),
22825 (gst_file_index_commit):
22826 * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
22827 * testsuite/pad/link.c: (gst_test_src_init),
22828 (gst_test_filter_init), (gst_test_sink_init):
22829 * testsuite/states/locked.c: (main):
22830 renamed GST_FLAGS macros to GST_OBJECT_FLAGS
22831 moved bitshift from macro to enum definition
22833 2005-10-12 Wim Taymans <wim@fluendo.com>
22835 * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
22836 * gst/elements/gstfilesink.c: (gst_file_sink_event),
22837 (gst_file_sink_render):
22838 Some more debugging info.
22840 2005-10-12 Wim Taymans <wim@fluendo.com>
22842 * docs/design/part-states.txt:
22843 * tools/gst-launch.c: (main):
22844 Some doc updates.
22845 Revert non-intentional change.
22847 2005-10-12 Wim Taymans <wim@fluendo.com>
22849 * check/gst/gstbin.c: (GST_START_TEST):
22850 * check/gst/gstelement.c: (GST_START_TEST):
22851 * check/gst/gstevent.c: (GST_START_TEST), (test_event):
22852 * check/gst/gstghostpad.c: (GST_START_TEST):
22853 * check/gst/gstpipeline.c: (GST_START_TEST):
22854 * check/pipelines/simple_launch_lines.c: (run_pipeline):
22855 * check/states/sinks.c: (GST_START_TEST):
22856 * gst/elements/gsttypefindelement.c: (stop_typefinding):
22857 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
22858 (gst_bin_remove_func), (gst_bin_get_state_func),
22859 (gst_bin_recalc_state), (gst_bin_change_state_func),
22860 (bin_bus_handler):
22861 * gst/gstelement.c: (gst_element_get_state_func),
22862 (gst_element_get_state), (gst_element_abort_state),
22863 (gst_element_commit_state), (gst_element_set_state),
22864 (gst_element_change_state), (gst_element_change_state_func):
22865 * gst/gstelement.h:
22866 * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
22867 (gst_pipeline_provide_clock_func):
22868 * gst/gstutils.c: (gst_element_link_pads_filtered):
22869 * tools/gst-launch.c: (main):
22870 * tools/gst-typefind.c: (main):
22871 Use GstClockTime in _get_state() instead of GTimeVal.
22872 Remove old code in gstutils.c
22874 2005-10-12 Andy Wingo <wingo@pobox.com>
22876 * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
22877 removed.
22879 * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
22880 there is no task. Shouldn't affect any code, as nothing in our
22881 plugins checks this return value.
22882 (gst_pad_stop_task): Also take the stream lock if the pad has no
22883 task. Docs updated.
22885 2005-10-12 Wim Taymans <wim@fluendo.com>
22887 * gst/gstpad.c: (pre_activate), (post_activate),
22888 (gst_pad_activate_pull), (gst_pad_activate_push):
22889 Cleanup activation code. Reset old state if
22890 activation failed.
22892 2005-10-12 Wim Taymans <wim@fluendo.com>
22894 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
22895 (gst_base_sink_change_state):
22896 No need to prerol after receiving EOS.
22898 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
22899 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
22900 * gst/elements/gstidentity.c: (gst_identity_event):
22901 Print events more verbosely.
22903 2005-10-12 Wim Taymans <wim@fluendo.com>
22905 * check/Makefile.am:
22906 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
22907 * check/states/sinks2.c:
22908 Moved sinks2 testcode in sinks check.
22910 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
22911 (gst_bin_remove_func), (gst_bin_recalc_state),
22912 (gst_bin_change_state_func), (bin_bus_handler):
22913 Fix potential race condition when _get_state() iterated over an
22914 ASYNC element right before it posted a state completion.
22916 * gst/gstclock.h:
22917 Do proper cast here.
22919 * gst/gstevent.c: (gst_event_new_newsegment),
22920 (gst_event_parse_newsegment):
22921 A playback rate of 0.0 is not allowed.
22923 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
22925 * win32/common/config.h:
22926 * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
22927 (_trewinddir), (_ttelldir), (_tseekdir):
22928 * win32/common/dirent.h:
22929 * win32/common/gtchar.h:
22930 * win32/common/libgstbase.def:
22931 * win32/common/libgstreamer.def:
22932 * win32/vs6/grammar.dsp:
22933 * win32/vs6/gst_inspect.dsp:
22934 * win32/vs6/gst_launch.dsp:
22935 * win32/vs6/gstreamer.dsw:
22936 * win32/vs6/libgstbase.dsp:
22937 * win32/vs6/libgstelements.dsp:
22938 * win32/vs6/libgstreamer.dsp:
22939 Visual Studio 6 project files, and a new common directory.
22940 Phear.
22942 2005-10-11 Wim Taymans <wim@fluendo.com>
22944 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
22945 (gst_base_sink_do_sync), (gst_base_sink_query),
22946 (gst_base_sink_change_state):
22947 * gst/base/gstbasesink.h:
22948 Correctly parse newsegment info.
22950 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
22952 * gst/gst.c: (init_post):
22953 split plugin paths correctly
22955 2005-10-11 Wim Taymans <wim@fluendo.com>
22957 * check/gst/gstevent.c: (GST_START_TEST):
22958 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
22959 (gst_base_sink_change_state):
22960 * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
22961 * gst/base/gstbasetransform.c: (gst_base_transform_event):
22962 * gst/elements/gstfilesink.c: (gst_file_sink_event):
22963 * gst/gstevent.c: (gst_event_new_newsegment),
22964 (gst_event_parse_newsegment):
22965 * gst/gstevent.h:
22966 Added extra flag to newsegment for future API freeze.
22967 Updated check and base elements.
22969 2005-10-11 Julien MOUTTE <julien@moutte.net>
22971 * gst/base/gstcollectpads.c: (gst_collectpads_init),
22972 (gst_collectpads_add_pad), (gst_collectpads_pop),
22973 (gst_collectpads_event), (gst_collectpads_chain):
22974 * gst/base/gstcollectpads.h: Handle EOS correctly.
22976 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
22978 * tools/gst-launch.c: (main):
22979 more null protecting
22981 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
22983 * gst/gst-i18n-lib.h:
22984 check for ENABLE_NLS, not GETTEXT_PACKAGE
22985 * gst/gstregistry.c: (gst_registry_add_plugin),
22986 (gst_registry_scan_path_level),
22987 (_gst_registry_remove_cache_plugins):
22988 protect possibly NULL strings
22989 * gst/parse/types.h:
22990 config.h already included before
22991 * tools/gst-inspect.c: (main):
22992 sys/wait.h also doesn�t exist on mingw, so change the ifdef check
22993 check for ENABLE_NLS, not GETTEXT_PACKAGE
22994 * tools/gst-launch.c: (main):
22995 check for ENABLE_NLS, not GETTEXT_PACKAGE
22997 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
22999 * configure.ac:
23000 if we don't have glib, fail before testing 2.8
23001 * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
23002 fix a leak, should fix plugins-base testsuite
23004 2005-10-11 Andy Wingo <wingo@pobox.com>
23006 * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
23007 take the mode we're going to as an arg. Go head and set the mode
23008 and flushing flags now, so that if the activate function starts a
23009 thread all the flags will be in the right state.
23010 (post_activate): Renamed also. Just handle making sure streaming
23011 finishes for the deactivation case, and setting the deactivated
23012 mode.
23013 (gst_pad_set_active): Complain loudly if deactivation fails.
23014 (gst_pad_activate_pull): Adapt to pre/post_activate changes.
23015 (gst_pad_activate_push): Adapt to pre/post_activate changes,
23016 remove the terrible hack.
23018 2005-10-11 Wim Taymans <wim@fluendo.com>
23020 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
23021 (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
23022 (gst_bin_recalc_state), (gst_bin_change_state_func),
23023 (gst_bin_dispose), (bin_bus_handler):
23024 * gst/gstbin.h:
23025 Prepare to make current EOS message queue more generic.
23026 Fix some typos.
23028 * gst/gstevent.c: (gst_event_new_newsegment),
23029 (gst_event_parse_newsegment):
23030 * gst/gstevent.h:
23031 Rename base to stream_time.
23033 * gst/gstmessage.h:
23034 Fix typo in docs.
23036 2005-10-11 Wim Taymans <wim@fluendo.com>
23038 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
23039 (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
23040 (gst_bin_change_state_func), (bin_bus_handler):
23041 * gst/gstbin.h:
23042 Work on proper clock selection.
23044 2005-10-11 Edward Hervey <edward@fluendo.com>
23046 * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list):
23047 * libs/gst/controller/gstcontroller.h:
23048 Added GList* version of _remove_properties() in order to be able to wrap
23049 it in bindings.
23051 2005-10-11 Wim Taymans <wim@fluendo.com>
23053 * docs/design/part-states.txt:
23054 Some more docs.
23056 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
23057 (gst_bin_change_state_func), (bin_bus_handler):
23058 Doc updates. Don't distribute the same clock over and over again.
23060 * gst/gstclock.c:
23061 * gst/gstclock.h:
23062 Doc updates.
23064 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
23065 (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
23066 (gst_pad_send_event):
23067 * gst/gstpad.h:
23068 Make probe emission threadsafe again.
23069 Register quarks and move _get_name() from utils.
23070 Doc updates.
23072 * gst/gstpipeline.c: (gst_pipeline_class_init),
23073 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
23074 Only redistribute the clock of it changed.
23076 * gst/gstsystemclock.h:
23077 Doc updates.
23079 * gst/gstutils.c:
23080 * gst/gstutils.h:
23081 Moved the _flow_get_name() to GstPad.
23083 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
23085 * check/gst-libs/gdp.c: (GST_START_TEST):
23086 * check/gst/gstcaps.c: (GST_START_TEST):
23087 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
23088 (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
23089 (gst_dp_packet_from_caps):
23090 fix more valgrind warnings before turning up the heat
23092 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
23094 * gst/parse/grammar.y:
23095 some cleanup before the hacking
23097 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
23099 * gst/base/gstbasesrc.c: (gst_base_src_query):
23100 use conversions
23101 * gst/gstutils.c: (gst_guint64_to_gdouble),
23102 (gst_gdouble_to_guint64), (gst_util_uint64_scale):
23103 * gst/gstutils.h:
23104 externalize, basesrc uses it
23105 obviously the implementation needs testing
23107 2005-10-10 Wim Taymans <wim@fluendo.com>
23109 * tests/sched/Makefile.am:
23110 * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
23111 (make_pipeline3), (make_pipeline4), (print_elem), (main):
23113 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
23115 * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
23116 apparently converting from guint64 to double is not implemented
23117 on MSVC
23119 2005-10-10 Wim Taymans <wim@fluendo.com>
23121 * check/Makefile.am:
23122 * check/generic/states.c: (GST_START_TEST):
23123 * check/gst/gstbin.c: (GST_START_TEST):
23124 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
23125 * check/states/sinks.c: (GST_START_TEST):
23126 * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
23127 (main):
23128 Check fixes, use API as stated in design docs, remove hacks.
23130 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23131 (gst_base_sink_change_state):
23132 Catch stopping our task while we're shutting down.
23134 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
23135 (gst_bin_remove_func), (gst_bin_get_state_func),
23136 (gst_bin_recalc_state), (gst_bin_change_state_func),
23137 (bin_bus_handler):
23138 * gst/gstbin.h:
23139 * gst/gstelement.c: (gst_element_init),
23140 (gst_element_get_state_func), (gst_element_abort_state),
23141 (gst_element_commit_state), (gst_element_lost_state),
23142 (gst_element_set_state), (gst_element_change_state),
23143 (gst_element_change_state_func):
23144 * gst/gstelement.h:
23145 New state change algorithm (see #318116)
23147 * gst/gstpipeline.c: (gst_pipeline_class_init),
23148 (gst_pipeline_init), (gst_pipeline_set_property),
23149 (gst_pipeline_get_property), (do_pipeline_seek),
23150 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
23151 * gst/gstpipeline.h:
23152 Remove crude state change hacks.
23154 * gst/gstutils.h:
23155 Remove crude hacks.
23157 * tools/gst-launch.c: (main):
23158 Fixes for state change. Needs some more work to fully use the
23159 new stuff.
23161 2005-10-10 Andy Wingo <wingo@pobox.com>
23163 * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
23165 * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
23166 this flag, but it's not even in GLib 2.6. Odd. Hack around the
23167 issue.
23169 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
23171 * gst/gstiterator.c: (gst_iterator_new):
23172 Fix my previous commit: GTypes passed to gst_iterator_new()
23173 can be fundamental types.
23175 2005-10-10 Wim Taymans <wim@fluendo.com>
23177 * gst/gstelement.c: (gst_element_iterate_pad_list),
23178 (gst_element_iterate_pads), (gst_element_iterate_src_pads),
23179 (gst_element_iterate_sink_pads):
23180 Use src/sink pads lists for the respective iterators instead
23181 of filtering.
23183 2005-10-10 Andy Wingo <wingo@pobox.com>
23185 Merged in popt removal + GOption addition patch from Ronald, bug
23186 #169772.
23188 * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
23189 GstElement macros around, remove popt-related symbols, add goption
23190 stuff.
23192 * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
23194 * docs/gst/Makefile.am:
23195 * docs/libs/Makefile.am: No POPT_CFLAGS.
23197 * examples/manual/Makefile.am:
23198 * docs/manual/basics-init.xml: Doc updates with an example.
23200 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
23201 (gst_init), (parse_one_option), (parse_goption_arg):
23202 * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
23203 bit of hand merging and debugging to get the GOption stuff working
23204 tho.
23206 * tests/Makefile.am:
23207 * tools/Makefile.am:
23208 * tools/gst-inspect.c: (main):
23209 * tools/gst-launch.c: (main):
23210 * tools/gst-run.c: (main):
23211 * tools/gst-xmlinspect.c: (main): Thanks Ronald!
23213 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
23215 * gst/gstiterator.c: (gst_iterator_new):
23216 Add assertions to make sure passed GType is likely to really
23217 be a GType (as the compiler won't catch it if the size and
23218 GType arguments get mixed up, see #318447).
23220 2005-10-10 Josef Zlomek <josef dot zlomek at xeris dot cz>
23222 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
23224 * gst/gstbin.c: (gst_bin_iterate_sorted):
23225 Pass GType and size arguments to gst_iterator_new() in the right
23226 order (maybe we should make _new() take the GType as first argument
23227 just like _new_list()?) (#318447).
23230 2005-10-10 Wim Taymans <wim@fluendo.com>
23232 * gst/gstelement.c: (gst_element_finalize):
23233 And free the GStaticRecMutex too
23235 2005-10-10 Andy Wingo <wingo@pobox.com>
23237 * gst/gstelement.c (gst_element_init, gst_element_finalize):
23238 Allocate and free the mutex properly.
23240 * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
23241 New macros.
23242 (GstElement): The state_lock is now recursive. Rebuild your
23243 plugins, suckers. Old macros adapted.
23245 * docs/gst/gstreamer-sections.txt: Doc updates.
23247 * gst/gstutils.h:
23248 * gst/gstutils.c (g_static_rec_cond_timed_wait)
23249 (g_static_rec_cond_wait): Ported from state changes patch, while
23250 we wait on bug #317802 to be solved in a well-distributed GLib.
23252 * gst/gstelement.c (gst_element_change_state_func): Renamed from
23253 gst_element_change_state, variable name changes.
23254 (gst_element_change_state): Split out of gst_element_set_state in
23255 preparation for the state change merge. Doesn't pay attention to
23256 the 'transition' argument.
23257 (gst_element_set_state): Updates, hopefully purely cosmetic.
23258 (gst_element_sync_state_with_parent): MT-safety. Ported from the
23259 state change patch.
23260 (gst_element_get_state_func): Renamed from get_state, cosmetic
23261 changes.
23263 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
23265 * gst/elements/gstelements.c:
23266 * win32/GStreamer.vcproj:
23267 * win32/config.h:
23268 * win32/dirent.c: (_tseekdir):
23269 * win32/gst-inspect.vcproj:
23270 * win32/gst-launch.vcproj:
23271 * win32/gstconfig.h:
23272 * win32/gstelements.vcproj:
23273 * win32/gstenumtypes.c: (gst_object_flags_get_type):
23274 * win32/gstreamer.def:
23275 * win32/msvc71.sln:
23276 updates for the win32 build (patch from Sebastien Moutte)
23278 2005-10-10 Andy Wingo <wingo@pobox.com>
23280 * gst/gstbin.c (gst_bin_get_state_func): Renamed from
23281 gst_bin_get_state, cleaned up (but no logic changes).
23282 (bin_element_is_sink): Comment updates.
23283 (sink_iterator_filter): Remove needless cast.
23284 (gst_bin_iterate_sinks): Doc update.
23285 (gst_bin_change_state_func): Renamed from gst_bin_change_state,
23286 cleaned up (but no logic changes).
23288 * check/states/sinks.c (test_src_sink): Cleanups from the state
23289 change patch.
23290 (test_livesrc_sink): Sync on the state.
23292 * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
23293 the state change patch.
23295 * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
23296 change patch.
23298 * check/gst/gstbin.c: Merge in some style fixes and additional
23299 checks from Wim's state change patch.
23301 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
23303 * gst/base/gsttypefindhelper.c: (helper_find_peek),
23304 (gst_type_find_helper):
23305 Check whether we have the requested data already in our list of
23306 cached buffers before pulling a new buffer; also make the buffer
23307 list a GSList. Speeds up typefinding by ca. 5-10% altogether.
23309 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
23311 * gst/gstcaps.c:
23312 * gst/gstevent.c:
23313 doc updates
23314 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
23315 don't use long long, it's not portable. Replacing with
23316 gint64 seems to work; let's hope no skeletons fall out of the closet.
23318 2005-10-10 Andy Wingo <wingo@pobox.com>
23320 * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
23322 2005-10-09 Stefan Kost <ensonic@users.sf.net>
23324 * docs/gst/gstreamer-sections.txt:
23325 * gst/gstevent.c:
23326 * gst/gstevent.h:
23327 * gst/gstinfo.c:
23328 * gst/gstinfo.h:
23329 * gst/gstmessage.c: (gst_message_parse_state_changed):
23330 * gst/gstpad.c:
23331 * gst/gstpad.h:
23332 more docs, fix compilation
23334 2005-10-09 Philippe Khalaf <burger@speedy.org>
23335 * gst/gstmessage.c:
23336 Fixed a few forgotten variables on previous commit
23338 2005-10-09 Tim-Philipp Müller <tim at centricular dot net>
23340 * gst/base/gsttypefindhelper.c: (helper_find_peek):
23341 Fix evil typefind crasher: getrange() might return a short
23342 buffer at the end of a file, but gst_type_find_peek() must
23343 either return the full data as requested or NULL, but
23344 never a short buffer.
23346 2005-10-09 Thomas Vander Stichele <thomas at apestaart dot org>
23348 * gst/gstmessage.c: (gst_message_new_state_changed),
23349 (gst_message_parse_state_changed):
23350 * gst/gstmessage.h:
23351 don't use "new", it's a C++ keyword
23353 2005-10-08 Wim Taymans <wim@fluendo.com>
23355 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
23356 * gst/gstelement.c: (gst_element_post_message):
23357 * gst/gstpipeline.c: (gst_pipeline_change_state):
23358 Small docs and debug updates.
23360 2005-10-08 Stefan Kost <ensonic@users.sf.net>
23362 * docs/gst/gstreamer-sections.txt:
23363 * gst/gstelementfactory.c:
23364 * gst/gstevent.c:
23365 * gst/gsttaglist.c:
23366 more docs
23368 2005-10-08 Wim Taymans <wim@fluendo.com>
23370 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
23371 (gst_bin_dispose), (bin_bus_handler):
23372 Fix typos, add comments.
23373 Clear EOS list when going to PAUSED from any direction and do it
23374 in a threadsafe way.
23375 Get base time in a threadsafe way too.
23376 Fix confusing debug in the change_state function.
23377 Various other small cleanups.
23379 * gst/gstelement.c: (gst_element_post_message):
23380 Fix very verbose bus posting code.
23382 * gst/gstpipeline.c: (gst_pipeline_class_init),
23383 (gst_pipeline_set_property), (gst_pipeline_get_property),
23384 (gst_pipeline_change_state):
23385 Small ARG_ -> PROP_ cleanup
23387 2005-10-08 Wim Taymans <wim@fluendo.com>
23389 * gst/gstbin.c: (is_eos), (bin_bus_handler):
23390 Do a less CPU demanding EOS check because we can.
23392 2005-10-08 Wim Taymans <wim@fluendo.com>
23394 * libs/gst/dataprotocol/dataprotocol.c:
23395 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
23396 (gst_dp_packet_from_event):
23397 * libs/gst/dataprotocol/dataprotocol.h:
23398 * libs/gst/dataprotocol/dp-private.h:
23399 It's about time we bump the version number.
23400 Since event types don't fit in the guint8 anymore describing
23401 the payload type, make payload type 16 bits wide.
23403 2005-10-08 Wim Taymans <wim@fluendo.com>
23405 * docs/design/part-TODO.txt:
23406 * docs/design/part-clocks.txt:
23407 * docs/design/part-events.txt:
23408 * docs/design/part-gstbin.txt:
23409 * docs/design/part-gstelement.txt:
23410 * docs/design/part-gstpipeline.txt:
23411 * docs/design/part-live-source.txt:
23412 * docs/design/part-messages.txt:
23413 * docs/design/part-overview.txt:
23414 * docs/design/part-states.txt:
23415 Many doc updates.
23417 2005-10-08 Wim Taymans <wim@fluendo.com>
23419 * gst/gstevent.c:
23420 * gst/gstevent.h:
23421 Fix event quark registration.
23422 Add some space between events so we can insert them in the
23423 right groups.
23425 2005-10-08 Wim Taymans <wim@fluendo.com>
23427 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23428 (gst_base_sink_handle_buffer):
23429 Better log message.
23431 * gst/gstbus.h:
23432 * gst/gstelement.h:
23433 More docs.
23435 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
23436 (gst_queue_set_property), (gst_queue_get_property):
23437 * gst/gstqueue.h:
23438 Remove old unused properties.
23440 2005-10-08 Stefan Kost <ensonic@users.sf.net>
23441 * docs/gst/gstreamer-sections.txt:
23442 * gst/gstmessage.c:
23443 * gst/gstmessage.h:
23444 * gst/gstminiobject.c:
23445 * gst/gstminiobject.h:
23446 * gst/gstobject.h:
23447 * gst/gstpad.h:
23448 * gst/gstutils.h:
23449 lots of new docs and doc fixes
23451 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
23453 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
23454 * gst/gstplugin.h:
23455 * gst/gstregistry.c: (gst_registry_lookup_locked),
23456 (gst_registry_scan_path_level):
23457 * gst/gstregistryxml.c: (load_plugin):
23458 Only ever load one plugin for a given plugin basename.
23459 This ensures correct overriding of GST_PLUGIN_PATH over
23460 GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
23461 system installed plugins.
23463 2005-10-08 Wim Taymans <wim@fluendo.com>
23465 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23466 (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
23467 Prepare for doing QOS.
23469 2005-10-08 Wim Taymans <wim@fluendo.com>
23471 * check/gst/gstbin.c: (GST_START_TEST):
23472 * check/pipelines/cleanup.c: (GST_START_TEST):
23473 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
23474 Allow new clock message too.
23476 2005-10-08 Wim Taymans <wim@fluendo.com>
23478 * gst/gstmessage.c: (gst_message_new_error),
23479 (gst_message_new_warning), (gst_message_new_tag),
23480 (gst_message_new_state_changed), (gst_message_new_clock_provide),
23481 (gst_message_new_clock_lost), (gst_message_new_new_clock),
23482 (gst_message_new_segment_start), (gst_message_new_segment_done),
23483 (gst_message_parse_state_changed),
23484 (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
23485 (gst_message_parse_new_clock):
23486 * gst/gstmessage.h:
23487 Also carry the clock in question.
23489 2005-10-08 Wim Taymans <wim@fluendo.com>
23491 * gst/gstmessage.c: (gst_message_new_custom),
23492 (gst_message_new_eos), (gst_message_new_error),
23493 (gst_message_new_warning), (gst_message_new_tag),
23494 (gst_message_new_state_changed), (gst_message_new_clock_provide),
23495 (gst_message_new_new_clock), (gst_message_new_segment_start),
23496 (gst_message_new_segment_done), (gst_message_parse_state_changed),
23497 (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
23498 * gst/gstmessage.h:
23499 Clean up.
23500 Added clock related messages.
23502 * gst/gstpipeline.c: (gst_pipeline_change_state):
23503 Post message when the clock changed.
23505 * tools/gst-launch.c: (event_loop):
23506 Print new clock.
23508 2005-10-08 Tim-Philipp Müller <tim at centricular dot net>
23510 * tools/gst-inspect.c: (print_element_properties_info):
23511 Can't pass NULL strings to g_print() on windows.
23513 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
23515 * docs/Makefile.am:
23516 * docs/gst/Makefile.am:
23517 * docs/gst/gstreamer-docs.sgml:
23518 * docs/gst/running.xml:
23519 * docs/version.entities.in:
23520 add a chapter on running GStreamer.
23521 document GST_DEBUG and GST_PLUGIN* env vars
23523 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
23525 * Makefile.am:
23526 remove include dir
23527 * configure.ac:
23528 remove PLUGINS_BUILDDIR stuff
23529 * gst/gst.c: (init_post):
23530 reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
23531 * idiottest.mak:
23532 remove, it was condescending and not needed
23534 2005-10-08 Wim Taymans <wim@fluendo.com>
23536 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
23537 (gst_base_sink_handle_object), (gst_base_sink_event),
23538 (gst_base_sink_wait), (gst_base_sink_handle_event),
23539 (gst_base_sink_change_state):
23540 * gst/base/gstbasesink.h:
23541 Repost EOS message while going to PLAYING if still EOS.
23542 Make sure that when receiving a FLUSH_START we don't attempt
23543 to sync on the clock anymore.
23545 2005-10-08 Wim Taymans <wim@fluendo.com>
23547 * tools/gst-launch.c: (event_loop):
23548 Better message printout.
23550 2005-10-08 Wim Taymans <wim@fluendo.com>
23552 * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
23553 (gst_bin_child_proxy_get_children_count):
23554 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
23555 (gst_child_proxy_lookup), (gst_child_proxy_get_property),
23556 (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
23557 (gst_child_proxy_set_valist):
23558 * gst/parse/grammar.y:
23559 Make ChildProxy threadsafe and fix mem leaks.
23561 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
23563 * gst/gst.c: (init_post):
23564 debug the GST_PLUGIN_ env vars
23566 2005-10-08 Wim Taymans <wim@fluendo.com>
23568 * check/gst/gstbin.c: (GST_START_TEST):
23569 * check/gst/gstmessage.c: (GST_START_TEST):
23570 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
23571 * gst/gstelement.c: (gst_element_commit_state),
23572 (gst_element_lost_state):
23573 * gst/gstmessage.c: (gst_message_new_state_changed),
23574 (gst_message_parse_state_changed):
23575 * gst/gstmessage.h:
23576 * tools/gst-launch.c: (event_loop):
23577 Added extra field to STATE_CHANGE message with the pending
23578 state, which will be different from the new state soon.
23580 2005-10-08 Wim Taymans <wim@fluendo.com>
23582 * gst/gstbus.c: (gst_bus_pop):
23583 * gst/gstclock.c:
23584 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
23585 Small cleanups and doc updates.
23587 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
23589 * gst/gst.c: (init_pre):
23590 * gst/gstbin.c: (gst_bin_add_func):
23591 log distributing clocks and base time
23592 * gst/gstregistry.c: (gst_registry_add_plugin),
23593 (gst_registry_scan_path_level), (gst_registry_scan_path):
23594 clean up the debugging output a little
23595 * gst/gstutils.c: (gst_element_state_get_name):
23596 warn about a memleak (I've actually seen this be used, though
23597 it was probably a bug)
23599 2005-10-07 Wim Taymans <wim@fluendo.com>
23601 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
23602 (gst_base_src_init), (gst_base_src_default_newsegment),
23603 (gst_base_src_newsegment), (gst_base_src_do_seek),
23604 (gst_base_src_loop), (gst_base_src_start):
23605 * gst/base/gstbasesrc.h:
23606 Make the newsegment event customizable by subclasses.
23608 2005-10-07 Wim Taymans <wim@fluendo.com>
23610 * gst/gstevent.c: (gst_event_new_buffersize),
23611 (gst_event_parse_buffersize):
23612 * gst/gstevent.h:
23613 New event for future idea.
23615 2005-10-07 Andy Wingo <wingo@pobox.com>
23617 * gst/gstelement.c (gst_element_post_message): Doc update.
23619 * docs/gst/gstreamer-sections.txt: Update.
23621 * gst/gstmessage.c (gst_message_new_application): Made into a
23622 function like honest API calls.
23623 (gst_message_new_element): New message type.
23625 * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
23627 * check/elements/fakesrc.c (test_no_preroll): New check, checks
23628 that setting a live fakesrc to PAUSED returns NO_PREROLL both
23629 times.
23631 * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
23632 NO_PREROLL from gst_element_change_state to fall through.
23634 2005-10-07 Wim Taymans <wim@fluendo.com>
23636 * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
23637 (gst_ghost_pad_do_activate_push):
23638 Activating a ghostpad with no internal pad in push mode
23639 is ok.
23641 2005-10-07 Thomas Vander Stichele <thomas at apestaart dot org>
23643 * gst/gstobject.h:
23644 there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
23645 Fixes compilation on Windows.
23647 2005-10-07 Michael Smith <msmith@fluendo.com>
23649 * tools/gst-inspect.c:
23650 Print out feature and plugin count at the end when printing out
23651 all features.
23653 2005-10-04 Michael Smith <msmith@fluendo.com>
23655 * gst/gsterror.c: (_gst_stream_errors_init):
23656 Add another error string used in a few existing plugins.
23658 * gst/gstplugin.c:
23659 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
23660 * tools/gst-inspect.c: (print_element_info):
23661 When a feature disappears from a plugin (and the feature exists in
23662 the cached registry file), things went horribly wrong. This isn't a
23663 complete fix, we should actually be removing the 'missing' features
23664 from the features list when we load the actual plugin. That's not
23665 yet implemented.
23667 2005-10-04 Johan Dahlin <johan@gnome.org>
23669 * check/gst/gstiterator.c: (GST_START_TEST):
23670 * gst/gstbin.c: (gst_bin_iterate_elements),
23671 (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
23672 * gst/gstelement.c: (gst_element_iterate_pads):
23673 * gst/gstformat.c: (gst_format_iterate_definitions):
23674 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
23675 (gst_iterator_new_list), (gst_iterator_filter):
23676 * gst/gstiterator.h:
23677 * gst/gstquery.c: (gst_query_type_iterate_definitions):
23678 Add a GType to GstIterator, update callsites and tests.
23680 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
23682 * gst/gstpad.c: (gst_pad_event_default_dispatch):
23683 give events a chance to be handled by event probes when the pad
23684 is not linked
23686 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
23688 * gst/gstevent.c: (gst_event_type_get_name),
23689 (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
23690 * gst/gstevent.h:
23691 add string representations for event types
23693 2005-10-06 Wim Taymans <wim@fluendo.com>
23695 * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
23696 Don't use NULL pointers.
23698 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
23700 * gst/gst_private.h:
23701 * gst/gstbus.c:
23702 * gst/gstelement.c:
23703 * gst/gstinfo.c:
23704 * gst/gstpluginfeature.c:
23705 widen the debug category in output to fit the biggest one we have
23706 add a bus category and use it
23707 play with the colors
23708 fix up some categories
23710 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
23712 * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
23713 add push activation of sink ghost pads.
23714 Andye, please verify
23716 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
23718 * gst/gstutils.c: (gst_element_link_pads):
23719 fix a bug in the case where neither element has a pad
23720 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
23721 add a test for that case
23723 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
23725 * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
23726 emit have-data before checking for peers. This allows
23727 for probe handlers to connect elements. This helps autopluggers.
23728 * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
23729 (gst_pad_suite):
23730 add six checks, linked/unlinked with no/true/false probe
23732 2005-10-04 Wim Taymans <wim@fluendo.com>
23734 * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
23735 (gst_fake_sink_event), (gst_fake_sink_preroll),
23736 (gst_fake_sink_render), (gst_fake_sink_change_state):
23737 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
23738 (gst_fake_src_get_property), (gst_fake_src_create),
23739 (gst_fake_src_stop):
23740 * gst/elements/gstidentity.c: (gst_identity_stop):
23741 Protect last_message with lock.
23743 2005-10-04 Edward Hervey <edward@fluendo.com>
23745 * gst/gstformat.h:
23746 Added precision in the comments for GST_FORMAT_DEFAULT
23748 2005-10-04 Tim-Philipp Müller <tim at centricular dot net>
23750 * tools/gst-launch.c: (main):
23751 Don't try to run erroneous pipelines.
23753 2005-10-04 Julien MOUTTE <julien@moutte.net>
23755 * gst/gstbus.c: We don't need this header.
23757 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
23759 * configure.ac:
23760 back to development
23762 === release 0.9.3 ===
23764 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
23766 * README:
23767 * configure.ac:
23768 Releasing 0.9.3, "Unregistered"
23770 2005-10-03 Andy Wingo <wingo@pobox.com>
23772 * gst/gstpad.c (gst_pad_activate_push): There is a race condition
23773 whereby calling a pad's activatepush() function can start a thread
23774 that starts to push or pull before the pad gets the FLUSHING flag
23775 unset. Hack around it by holding the stream lock until the flag is
23776 set. Need to replace this with a proper solution. Together with
23777 the ghost pad fixes, this fixes mp3 playing/tagreading.
23779 * docs/design/part-gstghostpad.txt: Add a note about activation of
23780 proxy pads outside of ghost pads.
23782 * gst/gstghostpad.c: Implement the ghost pad activation design.
23784 2005-10-02 Andy Wingo <wingo@pobox.com>
23786 * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
23787 It is volatile, after all.
23789 * docs/design/part-gstghostpad.txt: Flesh out activation with
23790 ghost pads.
23792 * gst/base/gstbasesrc.c (gst_base_src_init): Use
23793 GST_DEBUG_FUNCPTR.
23795 2005-10-02 Tim-Philipp Müller <tim at centricular dot net>
23797 * configure.ac:
23798 Fix (unused) AM_CONDITIONAL tests.
23800 2005-10-01 Alessandro Decina <alessandro at nnva dot org>
23802 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
23804 * gst/gstutils.c: (gst_pad_query_convert):
23805 Add assertion that makes sure src_val is >=0, just like
23806 gst_query_new_convert() has. (#315895)
23808 2005-09-30 Edward Hervey <edward@fluendo.com>
23810 * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
23811 Let's not iterate pads we're not interested in, it avoids getting
23812 sky-high refcounts on sinkpad.
23814 2005-09-30 Wim Taymans <wim@fluendo.com>
23816 * gst/gstelement.c: (gst_element_set_state),
23817 (gst_element_change_state):
23818 Small tweak, element in ASYNC remains ASYNC.
23820 2005-09-30 Wim Taymans <wim@fluendo.com>
23822 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
23823 Only error is an error.
23825 * gst/gstbin.c: (gst_bin_change_state):
23826 Better debugging.
23828 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
23829 Also call pad_block in pad alloc.
23831 * gst/gstutils.c: (gst_flow_get_name):
23832 Better debugging.
23834 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
23836 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
23837 (gst_base_src_get_range):
23838 Fix documentation typos. Add some more debug info.
23840 2005-09-29 David Schleef <ds@schleef.org>
23842 * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
23843 more end-user friendly.
23844 * tools/gst-inspect.c: (main): Check if command-line argument is
23845 a file and attempt to load that file as a plugin.
23847 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
23849 * check/gst/gstbin.c:
23850 * check/states/sinks.c:
23851 fix tests for the new warning
23852 * check/gst/gstpipeline.c:
23853 add a test for pipeline and bus interaction
23854 * gst/gstelement.c:
23855 elements should be NULL if they get disposed; add a warning if not
23857 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
23859 * gst/gstobject.c:
23860 for 2.6 refcounting, make debug log more correct by printing
23861 the actual refcounts at the time of swap (Wim)
23863 2005-09-29 Andy Wingo <wingo@pobox.com>
23865 * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
23866 removes signal watches previously added via
23867 gst_bus_add_signal_watch.
23868 (gst_bus_add_signal_watch): Don't return the source id, just store
23869 it on the bus if there wasn't an id already.
23871 * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
23872 add_signal_watch and remove_signal_watch.
23874 2005-09-29 Edward Hervey <edward@fluendo.com>
23876 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
23877 Better if we actually iterate the list :)
23879 2005-09-29 Wim Taymans <wim@fluendo.com>
23881 * check/gst/gstbin.c: (GST_START_TEST):
23882 Change for new bus API.
23884 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
23885 (send_messages), (GST_START_TEST), (gstbus_suite):
23886 Change for new bus signal API.
23888 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
23889 (gst_bus_source_prepare), (gst_bus_source_check),
23890 (gst_bus_create_watch), (gst_bus_add_watch_full),
23891 (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
23892 (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
23893 * gst/gstbus.h:
23894 Remove support for multiple GSources operating on different
23895 message types as it is too complex and unneeded when using
23896 signals.
23897 Added support for receiving signals from the bus.
23899 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
23901 * docs/libs/tmpl/gstdataprotocol.sgml:
23902 * docs/manual/advanced-dataaccess.xml:
23903 * gst/elements/gstcapsfilter.c:
23904 * gst/gstutils.c:
23905 rename filter-caps to caps property
23907 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
23909 * gst/gstvalue.c: (gst_value_deserialize_fraction):
23910 More robust fraction string parsing.
23912 * docs/pwg/appendix-porting.xml:
23913 Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
23915 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
23917 * gst/gstcaps.c: (gst_caps_do_simplify):
23918 Thou shalt not free a structure and then continue using it
23919 in the next loop iteration.
23921 * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
23922 (gst_caps_suite):
23923 Add test case for caps simplification.
23925 2005-09-29 Wim Taymans <wim@fluendo.com>
23927 * check/gst/gstbin.c: (GST_START_TEST):
23928 Oops.
23930 2005-09-29 Wim Taymans <wim@fluendo.com>
23932 * check/gst/gstbin.c: (GST_START_TEST):
23933 Add bus to bin.
23935 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
23936 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
23937 (find_element), (gst_bin_sort_iterator_next),
23938 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
23939 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
23940 (gst_bin_change_state), (gst_bin_dispose):
23941 A bin does not have a bus, it gets the bus from the parent.
23943 * gst/gstelement.c: (gst_element_requires_clock),
23944 (gst_element_provides_clock), (gst_element_is_indexable),
23945 (gst_element_is_locked_state), (gst_element_change_state),
23946 (gst_element_set_bus_func):
23947 Small cleanups.
23949 * gst/gstpipeline.c: (gst_pipeline_class_init),
23950 (gst_pipeline_init), (gst_pipeline_provide_clock_func):
23951 The pipeline provides a bus.
23953 2005-09-28 Johan Dahlin <johan@gnome.org>
23955 * gst/gstmessage.c (gst_message_parse_state_changed): Use
23956 gst_structure_get_enum instead of gst_structure_get_int
23958 * gst/gststructure.c (gst_structure_get_enum): Impl.
23960 * gst/gststructure.h (gst_structure_get_enum): Add
23962 * docs/gst/gstreamer-sections.txt: Ditto
23964 * gst/gstmessage.c (gst_message_new_state_changed): Use
23965 GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
23966 which does introspection.
23967 Reviewed by Christian Schaller
23969 2005-09-28 Stefan Kost <ensonic@users.sf.net>
23971 * gst/gstinfo.c: (gst_debug_log_default):
23972 don't do dummy g_strdup()s
23973 * libs/gst/controller/gstcontroller.c:
23974 (on_object_controlled_property_changed),
23975 (gst_controlled_property_new), (gst_controller_new_valist),
23976 (gst_controller_new_list),
23977 (gst_controller_remove_properties_valist), (gst_controller_set),
23978 (gst_controller_get), (gst_controller_sync_values),
23979 (gst_controller_get_value_array), (_gst_controller_class_init),
23980 (gst_controller_get_type):
23981 * libs/gst/controller/gstcontroller.h:
23982 * libs/gst/controller/gstinterpolation.c:
23983 (gst_controlled_property_find_timed_value_node):
23984 convert // to /**/ comments
23986 2005-09-28 Wim Taymans <wim@fluendo.com>
23988 * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
23989 (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
23990 (gst_bus_sync_signal_handler):
23991 * gst/gstbus.h:
23992 Added async-message and sync-message signals to the bus.
23993 Added helper BusFunc to emit signals for all posted messages.
23995 * gst/gstmessage.c: (gst_message_type_get_name),
23996 (gst_message_type_to_quark), (gst_message_get_type):
23997 * gst/gstmessage.h:
23998 Register quarks for message names.
24000 2005-09-28 Stefan Kost <ensonic@users.sf.net>
24002 * docs/libs/gstreamer-libs-sections.txt:
24003 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
24004 (gst_controller_new_list):
24005 * libs/gst/controller/gstcontroller.h:
24006 added another constructor for language bindings
24008 2005-09-28 Thomas Vander Stichele <thomas at apestaart dot org>
24010 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
24011 add another check
24012 * gst/gstbus.c:
24013 add some doc
24014 * gst/gstinfo.c: (_gst_debug_init):
24015 slightly more readable color for refcount debugging
24017 2005-09-28 Wim Taymans <wim@fluendo.com>
24019 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
24020 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
24021 (find_element), (gst_bin_sort_iterator_next),
24022 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
24023 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
24024 (gst_bin_change_state), (gst_bin_dispose):
24025 Small doc fixes. get_clock -> provide_clock.
24027 * gst/gstelement.c: (gst_element_class_init),
24028 (gst_element_provides_clock), (gst_element_provide_clock),
24029 (gst_element_get_clock), (gst_element_commit_state),
24030 (gst_element_lost_state):
24031 * gst/gstelement.h:
24032 Make get/set_clock() symetric. Add provide_clock vmethod since
24033 that is actually what this function does.
24035 * gst/gstpipeline.c: (gst_pipeline_class_init),
24036 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
24037 (gst_pipeline_get_clock):
24038 get_clock -> provide_clock.
24040 2005-09-28 Andy Wingo <wingo@pobox.com>
24042 * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
24043 lieu of real docs...
24045 * gst/elements/gstfdsrc.c: Cleaned up a bit.
24047 2005-09-28 Tim-Philipp Müller <tim at centricular dot net>
24049 * gst/elements/gstcapsfilter.c:
24050 * gst/elements/gstfakesink.c:
24051 * gst/elements/gstfakesrc.c:
24052 * gst/elements/gstfdsink.c:
24053 * gst/elements/gstfdsrc.c:
24054 * gst/elements/gstfilesink.c:
24055 * gst/elements/gstfilesrc.c:
24056 * gst/elements/gstidentity.c:
24057 * gst/elements/gsttee.c:
24058 * gst/elements/gsttypefindelement.c:
24059 Make element details static.
24061 2005-09-28 Wim Taymans <wim@fluendo.com>
24063 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
24064 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
24065 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
24066 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
24067 (gst_bin_change_state), (gst_bin_dispose):
24068 Some documentation updates.
24069 Clean up dispose handlers.
24071 * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
24072 * gst/gstpad.c: (gst_pad_dispose):
24073 Clean up dispose handler.
24075 * gst/gstpipeline.c: (gst_pipeline_change_state):
24076 Removed spurious UNLOCK.
24078 2005-09-27 Stefan Kost <ensonic@users.sf.net>
24080 * docs/gst/gstreamer-sections.txt:
24081 * gst/base/gstbasesrc.h:
24082 * gst/gstelement.h:
24083 * gst/gstevent.h:
24084 * gst/gstobject.h:
24085 * gst/gstpad.h:
24086 * gst/gstpipeline.c:
24087 * gst/gstpipeline.h:
24088 * gst/gstutils.h:
24089 * gst/gstxml.h:
24090 added two new functions to the docs
24091 documents all undocumented GstXXXFlags
24092 completed some incomplete docs
24094 2005-09-27 Thomas Vander Stichele <thomas at apestaart dot org>
24096 * gst/gstbin.c: (gst_bin_dispose):
24097 * gst/gstelement.c: (gst_element_dispose):
24098 remove now useless and leaky resurrection code in dispose
24099 * gst/base/gstbasesrc.c: (gst_base_src_init):
24100 * gst/gstelementfactory.c: (gst_element_factory_create):
24101 * gst/gstobject.c: (gst_object_set_parent):
24102 add some debugging
24104 2005-09-27 Wim Taymans <wim@fluendo.com>
24106 * docs/design/part-TODO.txt:
24107 Update TODO.
24109 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
24110 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
24111 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
24112 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
24113 (gst_bin_change_state):
24114 * gst/gstelement.h:
24115 Remove element variable, we keep element info in the iterator now.
24117 2005-09-27 Andy Wingo <wingo@pobox.com>
24119 * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
24120 values.
24122 2005-09-27 Wim Taymans <wim@fluendo.com>
24124 * check/gst/gstbin.c: (GST_START_TEST):
24125 Enable check that works now.
24127 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
24128 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
24129 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
24130 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
24131 (gst_bin_change_state):
24132 * gst/gstbin.h:
24133 Redid the state change algorithm using a topological sort algo.
24134 Handles all cases correctly.
24135 Exposed iterator for state change order.
24137 * gst/gstelement.h:
24138 Temp storage for state changes. Need to get rid of this soon.
24140 2005-09-27 Wim Taymans <wim@fluendo.com>
24142 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
24143 * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
24144 (link_fold_func), (gst_pad_proxy_setcaps):
24145 Leak fixes, the fold functions need to unref the passed object and
24146 _get_parent_*() returns ref to parent.
24148 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
24150 * check/gst/gstbuffer.c: (test_make_writable):
24151 Plug leak in test case and fix 'make check-valgrind'
24153 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
24155 * gst/gstbuffer.c: (gst_subbuffer_init):
24156 Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
24157 works correctly in all circumstances (we could have just copied
24158 the parent buffer's readonly flag, but conceptually it seems
24159 cleaner to mark all subbuffers as read-only). (based on patch
24160 by Alessandro Decina, #314710).
24162 * check/gst/gstbuffer.c: (create_read_only_buffer),
24163 (test_make_writable), (test_subbuffer_make_writable),
24164 (gst_test_suite):
24165 Add some tests for gst_buffer_make_writable().
24167 2005-09-27 Wim Taymans <wim@fluendo.com>
24169 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
24170 use gst_object_has_ancestor().
24172 * gst/gstobject.c: (gst_object_has_ancestor):
24173 * gst/gstobject.h:
24174 gst_object_has_ancestor() copied from gstbin.c as it is a
24175 useful function.
24177 * tests/instantiate/create.c: (create_all_elements):
24178 * tests/lat.c: (handoff_src), (handoff_sink):
24179 * tests/sched/runxml.c: (main):
24180 * tests/seeking/seeking1.c: (main):
24181 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
24182 (main):
24183 Fix compilation of some tests.
24185 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
24187 * gst/gsterror.h:
24188 Remove comment. GST_TYPE_G_ERROR is here to stay,
24189 G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
24190 (#316961, #300610).
24192 2005-09-26 Wim Taymans <wim@fluendo.com>
24194 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
24195 Added check that shows error in state change order.
24197 2005-09-26 Wim Taymans <wim@fluendo.com>
24199 * gst/gstbin.c: (gst_bin_change_state):
24200 Make state change function use 3 queues again, we were
24201 adding elements in the wrong order.
24203 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
24204 Some debug info,
24206 * gst/gstpad.c: (gst_pad_dispose):
24207 Added some debug info first.
24209 2005-09-26 Tim-Philipp Müller <tim at centricular dot net>
24211 * docs/design/draft-push-pull.txt:
24212 * docs/design/part-events.txt:
24213 * docs/design/part-overview.txt:
24214 * docs/design/part-scheduling.txt:
24215 Replace all _pull_region() with _pull_range()
24217 2005-09-26 Andy Wingo <wingo@pobox.com>
24219 * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
24221 * check/gst-libs/controller.c: Update for controller api change.
24223 * configure.ac:
24224 * tests/Makefile.am:
24225 * tests/memchunk: Remove memchunk benchmark stuff, this is taken
24226 over by GLib bug 118439.
24228 * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
24229 routines to a function.
24231 * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
24233 * libs/gst/controller/gsthelper.c:
24234 * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
24235 (gst_object_sync_values): Renamed from sink_values. Ugh.
24237 * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
24239 * libs/gst/controller/gstcontroller.c (__gst_controller_key):
24240 Renamed from controller_key, as it is exported.
24242 * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
24244 2005-09-26 Thomas Vander Stichele <thomas at apestaart dot org>
24246 * gst/Makefile.am:
24247 * gst/gst.h:
24248 * gst/gstpad.h:
24249 * gst/gstpadtemplate.h:
24250 * gst/gstquery.c:
24251 * gst/gstquery.h:
24252 * gst/gstqueryutils.c:
24253 * gst/gstqueryutils.h:
24254 remove queryutils headers after moving the two used functions
24255 to gstquery. also fixes build problem for gstsiddec
24257 2005-09-26 Michael Smith <msmith@fluendo.com>
24259 * tools/gst-launch.1.in:
24260 Correct documentation in manpage of debug syntax
24262 2005-09-26 Wim Taymans <wim@fluendo.com>
24264 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
24265 (gst_base_src_is_seekable), (gst_base_src_change_state):
24266 Some more debugging info.
24268 2005-09-25 Stefan Kost <ensonic@users.sf.net>
24270 * docs/gst/gstreamer-sections.txt:
24271 * gst/base/gstbasetransform.h:
24272 * gst/gstindex.h:
24273 added more docs
24275 2005-09-25 Stefan Kost <ensonic@users.sf.net>
24277 * docs/gst/.cvsignore:
24278 * docs/gst/tmpl/.cvsignore:
24279 * docs/gst/tmpl/gstpipeline.sgml:
24280 * docs/gst/tmpl/gstplugin.sgml:
24281 * gst/gstpipeline.c:
24282 * gst/gstplugin.c:
24283 * gst/gstplugin.h:
24284 inlined the last two docs files
24285 removed the tmpl directory from cvs (no more conflicts here!)
24287 2005-09-25 Stefan Kost <ensonic@users.sf.net>
24289 * docs/gst/gstreamer-sections.txt:
24290 * docs/gst/tmpl/.cvsignore:
24291 * docs/gst/tmpl/gstpad.sgml:
24292 * docs/gst/tmpl/gstpadtemplate.sgml:
24293 * gst/Makefile.am:
24294 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
24295 (gst_pad_finalize), (gst_pad_set_pad_template):
24296 * gst/gstpad.h:
24297 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
24298 (gst_pad_template_class_init), (gst_pad_template_init),
24299 (gst_pad_template_dispose), (name_is_valid),
24300 (gst_static_pad_template_get), (gst_pad_template_new),
24301 (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
24302 (gst_pad_template_pad_created):
24303 * gst/gstpadtemplate.h:
24304 inlined two more docs
24305 factored gstpadtemplate out of gstpad
24307 2005-09-24 Tim-Philipp Müller <tim at centricular dot net>
24309 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
24310 (test_children_state_change_order_semi_sink):
24311 Fix test case: we can't rely on a fixed state change order when
24312 going from READY => PAUSED because the sink might commit its
24313 new state first when the first buffer created by the source
24314 reaches the sink before the source has finished its change state.
24315 (Test case still fails at times, see #316856, comment 5 onwards)
24317 2005-09-24 Wim Taymans <wim@fluendo.com>
24319 * docs/design/part-events.txt:
24320 * docs/design/part-gstbus.txt:
24321 * docs/design/part-gstpipeline.txt:
24322 * docs/design/part-messages.txt:
24323 * docs/design/part-overview.txt:
24324 * docs/design/part-segments.txt:
24325 * gst/gstbin.c:
24326 * gst/gstbuffer.c:
24327 * gst/gstclock.c:
24328 * gst/gstelement.c:
24329 * gst/gstevent.c:
24330 * gst/gstfilter.c:
24331 * gst/gstiterator.c:
24332 Various documentation updates.
24334 2005-09-24 Thomas Vander Stichele <thomas at apestaart dot org>
24336 * gst/gstclock.h:
24337 Well, that's embarassing. Luckily we weren't using
24338 GST_CLOCK_DIFF anywhere.
24340 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
24342 * common/gtk-doc.mak:
24343 don't fail on building XML, FC4 slave shows a bunch of doc
24344 missing bits that I don't get
24345 * gst/gstpad.c:
24346 * gst/gstpipeline.c:
24347 * gst/gststructure.c:
24348 some doc updates
24350 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
24352 * docs/design/part-gstbin.txt:
24353 * docs/design/part-gstbus.txt:
24354 * gst/gstbus.c:
24355 Add blurb about how the bus goes into flushing mode and
24356 drops all messages when its bin goes from READY into NULL
24357 state.
24359 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
24361 * docs/gst/gstreamer-sections.txt:
24362 * gst/gststructure.c: (gst_structure_get_clock_time):
24363 * gst/gststructure.h:
24364 add a method to get a GstClockTime out of a structure
24366 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
24368 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
24369 (test_children_state_change_order_semi_sink), (gst_bin_suite):
24370 Added test to check state change order in bins (can still be made
24371 to fail here under heavy disk load; bails out with 'Push on pad
24372 fakesink:sink0, but it was not activated in push mode').
24374 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
24375 Fix state change order when there is only a semi sink (#316856)
24377 * gst/gstbus.c: (gst_bus_class_init):
24378 Use _class_peek_parent(), not _class_ref(); fix docs to say
24379 'default main context' instead of 'mainloop' where that is
24380 what's meant.
24382 * gst/gstelement.c: (gst_element_commit_state),
24383 (gst_element_set_state):
24384 Fix typos in debug messages
24386 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
24388 * docs/README:
24389 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
24390 * gst/gstpluginfeature.c:
24391 * gst/gstutils.c:
24392 various doc updates
24393 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
24394 change an assert into an error until it gets fixed properly
24396 2005-09-23 Stefan Kost <ensonic@users.sf.net>
24398 * docs/gst/gstreamer-sections.txt:
24399 * docs/gst/tmpl/.cvsignore:
24400 * docs/gst/tmpl/gstelement.sgml:
24401 * docs/gst/tmpl/gstinfo.sgml:
24402 * docs/gst/tmpl/gstobject.sgml:
24403 * gst/gstelement.c:
24404 * gst/gstelement.h:
24405 * gst/gstinfo.c:
24406 * gst/gstinfo.h:
24407 * gst/gstobject.c: (gst_object_class_init):
24408 * gst/gstobject.h:
24409 inlined 3 more biiiig doc files and added some missing docs on the fly
24411 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
24413 * check/gst/.cvsignore:
24414 * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
24415 * gst/gstregistryxml.c: (load_plugin),
24416 (gst_registry_xml_save_plugin):
24417 put back source in registry. add checks for find_plugin.
24418 * testsuite/states/bin.c: (assert_state), (empty_bin),
24419 (test_adding_one_element), (main):
24420 * testsuite/states/locked.c: (main):
24421 some compile/run fixes
24423 2005-09-22 Thomas Vander Stichele <thomas at apestaart dot org>
24425 * check/gst/gstvalue.c: (GST_START_TEST):
24426 fix leaks in the test itself
24428 2005-09-22 Wim Taymans <wim@fluendo.com>
24430 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
24431 (gst_base_sink_send_event), (gst_base_sink_peer_query),
24432 (gst_base_sink_query):
24433 Prepare for more accurate position reporting and query
24434 handling.
24436 * gst/gstelement.c: (gst_element_send_event),
24437 (gst_element_set_state):
24438 Add some comment.
24440 2005-09-22 Wim Taymans <wim@fluendo.com>
24442 * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
24443 (gst_query_parse_segment):
24444 * gst/gstquery.h:
24445 More documentation.
24446 Add segment query for future use.
24448 2005-09-22 Wim Taymans <wim@fluendo.com>
24450 * gst/gstbin.c: (gst_bin_add_func):
24451 Some more debug info.
24453 * gst/gstelement.c: (gst_element_send_event):
24454 Simplify send_event
24456 * gst/gstelement.h:
24457 Don't know how flags got broken.
24459 * gst/gstquery.h:
24460 Added new query.
24462 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
24464 * check/gst/gstvalue.c: (test_date), (gst_value_suite):
24465 Add simplistic test suite for GST_TYPE_DATE serialisation and
24466 deserialisation.
24468 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
24470 * docs/gst/gstreamer-sections.txt:
24471 * gst/gststructure.c: (gst_structure_set_valist),
24472 (gst_structure_get_date):
24473 * gst/gststructure.h:
24474 * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
24475 (gst_date_copy), (gst_value_compare_date),
24476 (gst_value_serialize_date), (gst_value_deserialize_date),
24477 (gst_value_transform_date_string),
24478 (gst_value_transform_string_date), (_gst_value_initialize):
24479 * gst/gstvalue.h:
24480 Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
24481 bunch of utility functions along with a hack that checks that
24482 developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
24483 is required. Part of the grand scheme in #170777.
24485 2005-09-22 Andy Wingo <wingo@pobox.com>
24487 * gst/gstconfig.h.in: Psych out gtk-doc.
24489 * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
24491 * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
24493 * tools/gst-inspect.c (print_element_list): Plug some
24494 inconsequential leaks.
24496 * gst/gstregistry.c (gst_registry_get_default): Doc.
24498 * check/gst/gstplugin.c:
24499 * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
24500 * gst/gstelementfactory.c (gst_element_factory_create):
24501 * gst/gstindexfactory.c (gst_index_factory_create): Update for
24502 refcount changes.
24504 * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
24505 (gst_plugin_feature_load): Doc, don't eat refs.
24507 * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
24508 (gst_plugin_list_free): Doc.
24509 (gst_plugin_load_file): Doc updates.
24511 * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
24512 accessors returning refcounted objects, return a ref.
24514 * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
24515 accessor for caps. IDEMPOTENCE. Oh yes.
24517 2005-09-21 Francis Labonte <francis_labonte at hotmail dot com>
24519 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
24521 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
24522 (_gst_debug_register_funcptr):
24523 Add mutex to serialise access to the hash table with
24524 the function pointer => function name string mapping;
24525 make that hash table static scope (#316809).
24527 * gst/registries/.cvsignore:
24528 Remove left-over file.
24530 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
24532 * docs/pwg/appendix-porting.xml:
24533 And something about newsegment events and caps-on-buffers to
24534 the porting guide (feel free to improve).
24536 2005-09-21 Andy Wingo <wingo@pobox.com>
24538 * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
24539 data and event probes on the same pad.
24540 (test_buffer_probe_once): Test that removing probes from within
24541 the probe functions works.
24543 2005-09-21 Andy Wingo <wingo@pobox.com>
24545 * check/gst/gstutils.c: New file.
24546 (test_buffer_probe_n_times): A simple buffer probe test. More to
24547 come, foolios.
24549 * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
24550 have-data::buffer, not have-data.
24551 (gst_pad_add_event_probe): Likewise for have-data::event.
24552 (gst_pad_add_data_probe): More docs. The part about 'resolving the
24553 peer' isn't quite right yet though.
24554 (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe)
24555 (gst_pad_remove_data_probe): Change to take the guint handler_id
24556 as their arg, not the function+data, which is more glib-like.
24558 * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
24559 the signal emission to indicate if the data is a buffer or an
24560 event.
24561 (gst_pad_get_type): Initialize buffer and event quarks.
24562 (gst_pad_class_init): have-data is now a detailed signal, yes it
24563 is.
24565 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
24567 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
24568 * gst/gstutils.c: (gst_util_set_value_from_string),
24569 (gst_util_set_object_arg):
24570 Don't put functional code in g_return_if_fail() or
24571 g_return_val_if_fail() statements, otherwise things will
24572 break when G_DISABLE_CHECKS is defined during compilation.
24574 2005-09-21 Stefan Kost <ensonic@users.sf.net>
24576 * docs/gst/tmpl/.cvsignore:
24577 * docs/gst/tmpl/gstvalue.sgml:
24578 * gst/gstvalue.c:
24579 * gst/gstvalue.h:
24580 inlied another one and added some obvious docs
24582 2005-09-21 Wim Taymans <wim@fluendo.com>
24584 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
24585 (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
24586 (gst_fdsrc_unlock), (gst_fdsrc_set_property),
24587 (gst_fdsrc_get_property), (gst_fdsrc_create):
24588 * gst/elements/gstfdsrc.h:
24589 Properly implement fdsrc. Removed signal and timeout,
24590 better implemented somewhere else.
24592 2005-09-21 Stefan Kost <ensonic@users.sf.net>
24594 * docs/gst/tmpl/.cvsignore:
24595 * docs/gst/tmpl/gstimplementsinterface.sgml:
24596 * gst/gstinterface.c:
24597 inlined more docs
24599 2005-09-21 Stefan Kost <ensonic@users.sf.net>
24601 * docs/gst/gstreamer-sections.txt:
24602 * docs/gst/tmpl/.cvsignore:
24603 * docs/gst/tmpl/gstenumtypes.sgml:
24604 remove obsolete doc file
24606 2005-09-21 David Schleef <ds@schleef.org>
24608 * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
24609 little beer, fix a little leak.
24611 2005-09-21 Stefan Kost <ensonic@users.sf.net>
24613 * docs/gst/gstreamer-docs.sgml:
24614 * docs/gst/gstreamer-sections.txt:
24615 * docs/gst/tmpl/.cvsignore:
24616 * gst/Makefile.am:
24617 * gst/gst.h:
24618 * gst/gstbin.c:
24619 * gst/gstelement.h:
24620 * gst/gstindex.c: (gst_index_class_init):
24621 * gst/gstindex.h:
24622 * gst/gstindexfactory.c: (gst_index_factory_get_type),
24623 (gst_index_factory_class_init), (gst_index_factory_init),
24624 (gst_index_factory_finalize), (gst_index_factory_new),
24625 (gst_index_factory_destroy), (gst_index_factory_find),
24626 (gst_index_factory_create), (gst_index_factory_make):
24627 * gst/gstindexfactory.h:
24628 * gst/gstpluginfeature.c:
24629 * gst/gstpluginfeature.h:
24630 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
24631 more docs inlined, splitted gstindex.{c,h}
24633 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
24635 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
24636 fix a leak
24638 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
24640 * gst/elements/gstfilesink.c: (gst_file_sink_init):
24641 Set sync to FALSE by default.
24643 2005-09-20 Wim Taymans <wim@fluendo.com>
24645 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
24646 (gst_base_sink_init):
24647 Make sync property settable from subclass.
24649 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
24650 (gst_fake_sink_change_state):
24651 Set sync to FALSE by default.
24653 2005-09-20 Wim Taymans <wim@fluendo.com>
24655 * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
24656 * tools/gst-launch.c: (main):
24657 The timeout handler should have lower priority than the source
24658 so we don't timeout before popping a message with 0 timeout.
24659 Dump error messages after failed state change.
24661 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
24663 * tools/gst-inspect.c: (print_element_properties_info):
24664 Fix two typos.
24666 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
24668 * check/gst/gstevent.c:
24669 * gst/elements/gstfakesink.c:
24670 * gst/elements/gstfakesink.h:
24671 remove the sync property from fakesink.
24672 has the side effect of setting sync TRUE
24673 for fakesink, which is a change. Anyone who knows how
24674 to fix this nicely in a GObject-y way, feel free.
24676 2005-09-20 Stefan Kost <ensonic@users.sf.net>
24678 * docs/gst/gstreamer-docs.sgml:
24679 remove probe refsection
24681 2005-09-20 Stefan Kost <ensonic@users.sf.net>
24683 * check/Makefile.am:
24684 disable valgrinding the controller test again
24685 * docs/gst/gstreamer-sections.txt:
24686 update for api-changes
24688 2005-09-20 Wim Taymans <wim@fluendo.com>
24690 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
24691 (gst_base_sink_set_property), (gst_base_sink_get_property),
24692 (gst_base_sink_do_sync):
24693 * gst/base/gstbasesink.h:
24694 Added sync property to basesink to disable clock sync.
24696 2005-09-20 Andy Wingo <wingo@pobox.com>
24698 * gst/gstelementfactory.c (gst_element_factory_create): Avoid
24699 eating the caller's refcount.
24701 * gst/gstobject.h (GST_OBJECT_REFCOUNT)
24702 (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
24703 refcount.
24705 * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
24706 * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
24707 of GLib 2.8 public, so we can know which refcount to check in
24708 tests.
24710 * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
24711 (gst_object_init): Only set the gst refcount if we're going ahead
24712 with the refcount hack.
24714 2005-09-20 Stefan Kost <ensonic@users.sf.net>
24716 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
24717 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
24718 more leaks plumbed, added more debug-logging
24719 * gst/gstmacros.h:
24720 whitespace fix
24722 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
24724 * gst/gstmessage.c:
24725 remove include of gstmemchunk.h
24727 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
24729 * gst/gstclock.c: (_gst_clock_id_free):
24730 Commit from the Political Party For More Atomic CVS Commits,
24731 so that people don't waste too much of their day fishing
24732 out obvious leaks out of massive commits.
24733 Oh, and fix a pretty damn obvious leak in the memchunk
24734 removal code.
24736 2005-09-20 Stefan Kost <ensonic@users.sf.net>
24738 * check/Makefile.am:
24739 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
24740 plug mem-leak, re-add to valgrindable tests
24742 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
24744 * gst/gstplugin.h:
24745 unbreak the build for those who have chronic arthritis
24746 and typing "make check" is just too taxing on the hands
24748 2005-09-20 Andy Wingo <wingo@pobox.com>
24750 * gst/gst.h: Re-add marshal to gst.h's include list -- if we
24751 really want it out, you should fix plugins at the same time.
24753 2005-09-19 Stefan Kost <ensonic@users.sf.net>
24755 * configure.ac:
24756 * docs/gst/gstreamer-sections.txt:
24757 * gst/gstobject.c:
24758 added missing symbols to api docs
24759 disable ref-count hack if we have glib >= 2.8
24761 2005-09-19 David Schleef <ds@schleef.org>
24763 * docs/gst/Makefile.am: Ignore a few more internal headers
24764 * docs/gst/gstreamer-docs.sgml: Remove old sections
24765 * docs/gst/gstreamer-sections.txt: Remove old sections
24766 * docs/gst/tmpl/gstobject.sgml: update
24767 * docs/gst/tmpl/gstplugin.sgml: update
24768 * docs/gst/tmpl/gstpluginfeature.sgml: update
24769 * docs/random/ds/0.9-suggested-changes: update.
24770 * gst/Makefile.am: remove memchunk and trashstack, since they're
24771 not used.
24772 * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
24773 * gst/gst.h: don't include some headers
24774 * gst/gstchildproxy.c: add gstmarshal.h
24775 * gst/gstclock.c: Don't use memchunks
24776 * gst/gstminiobject.c: Add some docs
24777 * gst/gstobject.c: remove DESTROYED flag, since it's redundant
24778 * gst/gstobject.h: same
24779 * gst/gstplugin.c: include gstmacros.h
24780 * gst/gstplugin.h: don't include gstmacros.h, since it's private
24781 * gst/gstquery.c: don't use memchunks
24782 * gst/gstregistry.c: rename gst_registry_deinit()
24783 * gst/gstregistry.h: same
24785 2005-09-19 David Schleef <ds@schleef.org>
24787 * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
24788 * docs/libs/gstreamer-libs-sections.txt:
24789 * docs/libs/tmpl/gstgetbits.sgml:
24790 * docs/libs/tmpl/gstputbits.sgml:
24792 2005-09-19 Tim-Philipp Müller <tim at centricular dot net>
24794 * win32/gstenumtypes.c:
24795 * win32/gstenumtypes.h:
24796 Update.
24798 2005-09-19 Wim Taymans <wim@fluendo.com>
24800 * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
24801 Automatically PAUSE and RESUME a pipeline when a flushing seek
24802 is performed.
24804 2005-09-19 Andy Wingo <wingo@pobox.com>
24806 * gst/gstregistry.h: Spacing fixen.
24808 2005-09-19 Wim Taymans <wim@fluendo.com>
24810 * gst/base/gstbasesrc.c: (gst_base_src_change_state):
24811 Handle state change failure more correctly.
24813 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
24815 * check/Makefile.am:
24816 * check/pipelines/cleanup.c: (run_pipeline):
24817 * check/pipelines/simple_launch_lines.c: (run_pipeline),
24818 (GST_START_TEST):
24819 enable cleanup again after fixing the leak
24820 * docs/README:
24821 some more info on docs
24823 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
24825 * check/Makefile.am:
24826 re-enable tests now that leaks are plugged
24827 * check/gst/gst.c:
24828 * check/gst/gstbin.c:
24829 * check/gst/gstpipeline.c:
24830 add some more tests while fixing leaks
24831 * common/check.mak:
24832 make sure binaries are uptodate when valgrinding/gdbing
24833 * gst/gst.c:
24834 * gst/gstelementfactory.c:
24835 remove a ref too many, and add a FIXME for when we get
24836 round to disposing of classes
24837 * gst/gstplugin.c:
24838 fix the refcounting when loading a plugin from a file and
24839 the code pretends that the pointer is the same even though
24840 of course it can change
24841 * gst/gstpluginfeature.c:
24842 unref plugins marked cached (a bit confusing as a name)
24843 as the docs state should be done
24844 various doc additions to explain refcounting
24845 * gst/gstregistry.c:
24846 * gst/gstregistryxml.c:
24847 debugging
24849 2005-09-19 Wim Taymans <wim@fluendo.com>
24851 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
24852 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
24853 (send_messages), (GST_START_TEST), (gstbus_suite):
24854 * check/gst/gstpipeline.c: (GST_START_TEST):
24855 * check/pipelines/cleanup.c: (run_pipeline):
24856 * check/pipelines/simple_launch_lines.c: (run_pipeline),
24857 (GST_START_TEST):
24858 * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
24859 (gst_bus_source_check), (gst_bus_source_dispatch),
24860 (gst_bus_create_watch), (gst_bus_add_watch_full),
24861 (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
24862 * gst/gstbus.h:
24863 * tools/gst-launch.c: (event_loop):
24864 * tools/gst-md5sum.c: (event_loop):
24865 GstBusHandler -> GstBusFunc, return value has the same meaning as
24866 any other GSource (FALSE == remove source).
24867 _add_watch() and _add_watch_full() now take a MessageType mask to
24868 only handle specific types of messages.
24869 _poll() returns the GstMessage instead of the message type to avoid
24870 race conditions.
24871 _have_pending() takes a MessageType mask now too.
24872 Added testsuite for multiple bus watches.
24873 Fix testsuites and applications for new bus API.
24875 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
24877 * check/Makefile.am:
24878 mark a bunch of the tests as to fix until we fix them
24880 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
24882 * common/check.mak:
24883 use GST_PLUGIN settings for valgrind tests as well, so we're
24884 valgrinding the correct thing
24885 * gst/gst.c: (init_post):
24886 plug another leak
24888 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
24890 * gst/gst.c: (init_post), (gst_deinit):
24891 * gst/gstelementfactory.c: (gst_element_factory_class_init),
24892 (gst_element_factory_finalize), (gst_element_factory_cleanup):
24893 * gst/gstindex.c: (gst_index_factory_class_init),
24894 (gst_index_factory_finalize):
24895 * gst/gstobject.c: (gst_object_dispose):
24896 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
24897 (gst_plugin_load_file), (gst_plugin_desc_free):
24898 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
24899 (gst_plugin_feature_finalize):
24900 * gst/gstregistry.c: (gst_registry_class_init),
24901 (gst_registry_init), (gst_registry_finalize),
24902 (gst_registry_get_default), (gst_registry_deinit):
24903 * gst/gstregistry.h:
24904 * gst/gstregistryxml.c: (load_feature), (load_plugin):
24905 various cleanups and memleak plugging. make valgrind is happy now.
24907 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
24909 * common/check.mak:
24910 add a check-valgrind target
24912 2005-09-18 David Schleef <ds@schleef.org>
24914 * tools/gst-inspect.c: Revert the GOption code.
24916 2005-09-17 David Schleef <ds@schleef.org>
24918 * check/Makefile.am: Fix environment variables.
24919 * check/gst/gstplugin.c: Fix for API changes.
24920 * tools/gst-inspect.c: Fix for API changes.
24921 * tools/gst-xmlinspect.c: Fix for API changes.
24922 * gst/gstelementfactory.c:
24923 * gst/gstplugin.c:
24924 * gst/gstplugin.h:
24925 * gst/gstpluginfeature.c:
24926 * gst/gstpluginfeature.h:
24927 * gst/gstregistry.c:
24928 * gst/gstregistry.h:
24929 * gst/gstregistryxml.c:
24930 * gst/gsttypefind.c:
24931 * gst/gsttypefindfactory.c:
24932 * gst/indexers/gstfileindex.c:
24933 * gst/indexers/gstmemindex.c:
24934 * gst/schedulers/Makefile.am:
24935 Change registry to keep track of both plugins and features,
24936 removing the feature tracking from plugins themselves.
24938 2005-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
24940 * check/Makefile.am:
24941 * tools/gst-register.1.in:
24942 remove gst-register
24944 2005-09-15 David Schleef <ds@schleef.org>
24946 * check/gst/gstplugin.c:
24947 * gst/gstelementfactory.c:
24948 * gst/gstplugin.c:
24949 * gst/gstpluginfeature.c:
24950 * gst/gstregistry.c:
24951 Getting tired of debugging. Disabled all the unreffing of
24952 plugins and features, which fixes the segfaults, but of
24953 course leaks like crazy. At least playbin works.
24955 2005-09-15 David Schleef <ds@schleef.org>
24957 * check/gst/gstplugin.c: (register_check_elements),
24958 (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
24959 More testing
24960 * gst/elements/gsttypefindelement.c: Fix refcounting.
24961 * gst/gsttypefind.c:
24962 * gst/gsttypefindfactory.c:
24963 * gst/gsttypefindfactory.h:
24965 2005-09-15 David Schleef <ds@schleef.org>
24967 * gst/gstindex.c: get refcounting correct.
24968 * gst/gstregistry.c: Handle the case where a feature/plugin is
24969 not found.
24971 2005-09-15 David Schleef <ds@schleef.org>
24973 * check/Makefile.am:
24974 * check/gst/gstplugin.c: Add test
24975 * gst/gstplugin.c: Fix problems noticed by testsuite
24976 * gst/gstplugin.h:
24977 * gst/gstregistry.c:
24978 * gst/gstregistry.h:
24980 2005-09-15 David Schleef <ds@schleef.org>
24982 * gst/gstplugin.c: Implement semi-decent recounting and locking
24983 in plugins and plugin features.
24984 * gst/gstplugin.h:
24985 * gst/gstpluginfeature.c:
24986 * gst/gstpluginfeature.h:
24987 * gst/gstregistry.c:
24989 2005-09-15 Michael Smith <msmith@fluendo.com>
24991 * gst/gstregistry.c: (gst_registry_get_feature_list):
24992 Implement this. Makes oggdemux work; decodebin still broken.
24994 2005-09-14 David Schleef <ds@schleef.org>
24996 * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
24997 #316076)
24998 * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
24999 * gst/check/Makefile.am:
25000 * libs/gst/controller/Makefile.am:
25001 * libs/gst/dataprotocol/Makefile.am:
25003 2005-09-14 David Schleef <ds@schleef.org>
25005 * configure.ac: Remove getbits library. Nothing uses it, and
25006 it should be in something like liboil if someone did want
25007 to use it.
25008 * libs/gst/Makefile.am:
25009 * libs/gst/getbits/Makefile.am:
25010 * libs/gst/getbits/gbtest.c:
25011 * libs/gst/getbits/getbits.c:
25012 * libs/gst/getbits/getbits.h:
25013 * libs/gst/getbits/gstgetbits_generic.c:
25014 * libs/gst/getbits/gstgetbits_i386.s:
25015 * libs/gst/getbits/gstgetbits_inl.h:
25017 2005-09-14 David Schleef <ds@schleef.org>
25019 * gst/Makefile.am: Dist glib-compat.h
25021 2005-09-14 David Schleef <ds@schleef.org>
25023 * configure.ac: Remove gst/registries, since it's no longer used.
25024 * gst/registries/Makefile.am:
25025 * gst/registries/gstlibxmlregistry.c:
25026 * gst/registries/gstlibxmlregistry.h:
25027 * gst/registries/gstxmlregistry.c:
25028 * gst/registries/gstxmlregistry.h:
25029 * gst/registries/registrytest.c:
25031 2005-09-14 David Schleef <ds@schleef.org>
25033 * gst/glib-compat.h:
25034 * gst/gstregistryxml.c:
25035 Convergence is near. Seriously.
25037 2005-09-14 David Schleef <ds@schleef.org>
25039 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
25040 * gst/glib-compat.h:
25041 Attempt #4 to appease the buildbots.
25043 2005-09-14 David Schleef <ds@schleef.org>
25045 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
25046 Attempt #3.
25048 2005-09-14 David Schleef <ds@schleef.org>
25050 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
25051 Attempt #2.
25053 2005-09-14 David Schleef <ds@schleef.org>
25055 * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
25056 the new functions.
25058 2005-09-14 David Schleef <ds@schleef.org>
25060 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
25061 * gst/glib-compat.h: Add some functions that are in newer versions
25062 of glib than we care to require.
25063 * gst/gstregistryxml.c: Use them.
25065 2005-09-14 David Schleef <ds@schleef.org>
25067 * po/POTFILES.in: remove gst-register.c
25069 2005-09-14 David Schleef <ds@schleef.org>
25071 * docs/gst/gstreamer-docs.sgml:
25072 * docs/gst/gstreamer-sections.txt:
25073 * docs/gst/gstreamer.types:
25074 * docs/gst/tmpl/gstelement.sgml:
25075 * docs/gst/tmpl/gstplugin.sgml:
25076 * docs/gst/tmpl/gstpluginfeature.sgml:
25077 Documentation updates for registry changes.
25079 2005-09-14 David Schleef <ds@schleef.org>
25081 * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
25082 because we don't require glib-2.8.
25084 2005-09-14 David Schleef <ds@schleef.org>
25086 * gst/gstregistryxml.c: Added. Essentially moved out of the
25087 registries directory.
25089 2005-09-14 David Schleef <ds@schleef.org>
25091 * check/Makefile.am:
25092 * check/generic/states.c:
25093 * gst/Makefile.am:
25094 * gst/gst.c:
25095 * gst/gst.h:
25096 * gst/gst_private.h:
25097 * gst/gstelementfactory.c:
25098 * gst/gstindex.c:
25099 * gst/gstinfo.c:
25100 * gst/gstplugin.c:
25101 * gst/gstplugin.h:
25102 * gst/gstpluginfeature.c:
25103 * gst/gstpluginfeature.h:
25104 * gst/gstregistry.c:
25105 * gst/gstregistry.h:
25106 * gst/gstregistrypool.c: remove
25107 * gst/gstregistrypool.h: remove
25108 * gst/gsttypefind.c:
25109 * gst/gsttypefindfactory.c:
25110 * gst/gsturi.c:
25111 * tools/Makefile.am:
25112 * tools/gst-compprep.c:
25113 * tools/gst-inspect.c:
25114 * tools/gst-register.c: remove
25115 * tools/gst-xmlinspect.c:
25116 Registry rewrite. Changes registry from being a file created
25117 by a tool into a simple cache file created automatically by
25118 libgstreamer. Removed gst-register (because it's no longer
25119 needed). Remove registry pools, because we only have one
25120 registry implementation (XML). Fix up other subsystems as
25121 necessary.
25123 2005-09-13 Michael Smith <msmith@fluendo.com>
25125 * gst/gstconfig.h.in:
25126 Don't Use windows linking attributes for MinGW. Fixes #316157
25128 2005-09-13 Thomas Vander Stichele <thomas at apestaart dot org>
25130 * gst/gstutils.c: (set_state_async_thread_func),
25131 (gst_element_set_state_async):
25132 Apparently people think it's better if this function doesn't
25133 try to set the state to whatever state was asked for on the first
25134 call to this function for any object. Seriously.
25136 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
25138 * check/gst/gstpipeline.c: (GST_START_TEST):
25139 * docs/gst/gstreamer-sections.txt:
25140 * gst/gstutils.c: (set_state_async_thread_func),
25141 (gst_element_set_state_async):
25142 * gst/gstutils.h:
25143 add a "gst_element_set_state_async" method that
25144 sets the state and starts a thread to make sure the state
25145 change completes as best as it can
25147 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
25149 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
25150 codify design+behaviour in testsuite after discussion
25152 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
25154 * docs/gst/tmpl/gstelement.sgml:
25155 * docs/manual/appendix-quotes.xml:
25156 add a quote
25157 * gst/gstelement.c: (gst_element_set_state):
25158 add some debug
25160 2005-09-12 Jan Schmidt <thaytan@mad.scientist.com>
25162 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
25163 (gst_base_transform_prepare_output_buf),
25164 (gst_base_transform_handle_buffer):
25165 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
25166 (gst_capsfilter_prepare_buf):
25167 Remove the requirement for sub-classes to call the parent
25168 implementation of prepare_output_buffer with a wrapper function.
25170 * gst/gsttaglist.h:
25171 * gst/gsttagsetter.h:
25172 Fix #define wrapper
25174 2005-09-11 Stefan Kost <ensonic@users.sf.net>
25176 * docs/gst/gstreamer-sections.txt:
25177 more doc cleanups
25179 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
25181 * docs/gst/gstreamer-sections.txt:
25182 * docs/gst/tmpl/gstelement.sgml:
25183 * docs/gst/tmpl/gstplugin.sgml:
25184 * gst/gstminiobject.c:
25185 * gst/gstvalue.h:
25186 docs now stop throwing warnings
25188 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
25190 * docs/gst/gstreamer-sections.txt:
25191 * docs/gst/gstreamer.types:
25192 * docs/gst/tmpl/gstpad.sgml:
25193 * docs/gst/tmpl/gsttypes.sgml:
25194 * gst/base/gstadapter.h:
25195 * gst/base/gstbasesink.h:
25196 * gst/base/gstbasesrc.h:
25197 * gst/gstbin.h:
25198 * gst/gstbuffer.h:
25199 * gst/gstbus.h:
25200 * gst/gstcaps.h:
25201 * gst/gstclock.h:
25202 * gst/gstelement.h:
25203 * gst/gstevent.h:
25204 * gst/gstmessage.h:
25205 * gst/gstpad.h:
25206 * gst/gststructure.c:
25207 * gst/registries/gstlibxmlregistry.h:
25208 various documentation fixes
25210 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
25212 * docs/gst/gstreamer-sections.txt:
25213 * docs/gst/tmpl/gstvalue.sgml:
25214 rearrange gstvalue section
25215 * gst/gstutils.c: (gst_element_state_get_name):
25216 NONE -> VOID
25217 * gst/gstvalue.c: (_gst_value_initialize):
25218 * gst/gstvalue.h:
25219 doc updates
25221 2005-09-10 Jan Schmidt <thaytan@mad.scientist.com>
25223 * check/gst-libs/controller.c:
25224 Header include fix.
25225 * gst/base/gstbasetransform.c:
25226 (gst_base_transform_default_prepare_buf),
25227 (gst_base_transform_handle_buffer):
25228 * gst/base/gstbasetransform.h:
25229 Some more basetransform changes and fixes to enable sub-classes
25230 that modify buffer metadata only.
25231 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
25232 (gst_capsfilter_init), (gst_capsfilter_transform_ip),
25233 (gst_capsfilter_prepare_buf):
25234 If the output pad has fixed allowed caps and input buffers
25235 don't have any, set the fixed caps on outgoing buffers.
25237 2005-09-09 Jan Schmidt <thaytan@mad.scientist.com>
25238 * check/elements/identity.c: (GST_START_TEST):
25239 Make the error a little clearer when the test fails because
25240 identity made a copy of the buffer.
25241 * docs/gst/gstreamer-sections.txt:
25242 New symbols in gstbasetransform.h
25243 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
25244 (gst_base_transform_init), (gst_base_transform_transform_size),
25245 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
25246 (gst_base_transform_default_prepare_buf),
25247 (gst_base_transform_get_unit_size),
25248 (gst_base_transform_buffer_alloc),
25249 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
25250 (gst_base_transform_change_state),
25251 (gst_base_transform_set_passthrough),
25252 (gst_base_transform_set_in_place),
25253 (gst_base_transform_is_in_place):
25254 * gst/base/gstbasetransform.h:
25255 Change BaseTransform to separate in_place operate from same_caps
25256 output. in_place implies that the element can perform the transform
25257 on incoming buffers in-place, even if the caps on the output are
25258 different.
25259 Sub-class elements can now implement special buffer allocation
25260 methods for outgoing buffers if they wish to.
25261 Big documentation addition.
25262 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
25263 * gst/elements/gstelements.c:
25264 Changes for basetransform modifications.
25265 * gst/elements/Makefile.am:
25266 * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
25267 Compile fix. Extra debug output.
25269 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
25271 * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
25272 (gst_pad_suite):
25273 add tests for valid pad naming
25274 * gst/check/gstcheck.c: (gst_check_log_message_func),
25275 (gst_check_log_critical_func):
25276 add ASSERT_WARNING
25277 remove printing of code, it is fragile when the code contains
25278 % and the line number is enough info
25279 * gst/check/gstcheck.h:
25280 * gst/gstpad.c: (gst_pad_template_new):
25281 fix memleaks
25283 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
25285 * configure.ac:
25286 say what CHECK flags we use
25287 * docs/libs/gstreamer-libs.types:
25288 * libs/gst/controller/Makefile.am:
25289 * libs/gst/controller/gst-controller.c:
25290 * libs/gst/controller/gst-controller.h:
25291 * libs/gst/controller/gst-helper.c:
25292 * libs/gst/controller/gst-interpolation.c:
25293 * libs/gst/controller/gstcontroller.c:
25294 * libs/gst/controller/gsthelper.c:
25295 * libs/gst/controller/gstinterpolation.c:
25296 * tools/gst-inspect.c: (print_plugin_info):
25297 we don't use dashes in header names
25299 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
25301 * check/Makefile.am:
25302 * check/gst/.cvsignore:
25303 * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
25304 (gst_pipeline_suite), (main):
25305 adding a test for pipelines and state changes
25306 * gst/gstutils.c: (get_state_func):
25307 add some debugging
25308 * gstreamer.spec.in:
25309 fix up spec file
25311 2005-09-08 Michael Smith <msmith@fluendo.com>
25313 * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
25314 (gst_file_src_map_small_region), (gst_file_src_create_mmap),
25315 (gst_file_src_is_seekable), (gst_file_src_get_size),
25316 (gst_file_src_start):
25317 * gst/elements/gstfilesrc.h:
25318 Various fixes for unseekable, unmmapable, and non-normal files, so
25319 that fallback to read() rather than mmap() works.
25320 * gst/gstevent.c: (gst_event_new_newsegment):
25321 Allow newsegment events with segment_start == segment_end, as will
25322 correctly happen if you use filesrc on a zero-size file, for
25323 example.
25325 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
25327 * gst/gstplugin.c: (gst_plugin_load_file):
25328 Call g_module_close when we don't load the module
25330 * gst/registries/gstlibxmlregistry.c:
25331 (gst_xml_registry_get_property):
25332 Port leak fix from 0.8
25334 2005-09-07 Stefan Kost <ensonic@users.sf.net>
25336 * docs/gst/gstreamer-docs.sgml:
25337 * docs/gst/tmpl/.cvsignore:
25338 * docs/gst/tmpl/gsttrace.sgml:
25339 * docs/gst/tmpl/gsttrashstack.sgml:
25340 * gst/Makefile.am:
25341 * gst/gst.h:
25342 * gst/gstelement.h:
25343 * gst/gstevent.h:
25344 * gst/gstmessage.c:
25345 * gst/gstmessage.h:
25346 * gst/gsttag.c:
25347 * gst/gsttag.h:
25348 * gst/gsttaginterface.c:
25349 * gst/gsttaginterface.h:
25350 * gst/gsttaglist.c:
25351 * gst/gsttaglist.h:
25352 * gst/gsttagsetter.c:
25353 * gst/gsttagsetter.h:
25354 * gst/gsttrace.c:
25355 * gst/gsttrace.h:
25356 * gst/gsttrashstack.c:
25357 renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
25358 inlined docs for gsttrace, gsttrashstack
25360 2005-09-07 Stefan Kost <ensonic@users.sf.net>
25362 * gst/Makefile.am:
25363 * gst/elements/gstbufferstore.h:
25364 * gst/elements/gsttypefindelement.c:
25365 * gst/elements/gsttypefindelement.h:
25366 * gst/gst.h:
25367 * gst/gsttypefind.c:
25368 * gst/gsttypefind.h:
25369 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
25370 (gst_type_find_factory_class_init), (gst_type_find_factory_init),
25371 (gst_type_find_factory_dispose),
25372 (gst_type_find_factory_unload_thyself),
25373 (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
25374 (gst_type_find_factory_get_caps),
25375 (gst_type_find_factory_get_extensions),
25376 (gst_type_find_factory_call_function):
25377 * gst/gsttypefindfactory.h:
25378 * gst/registries/gstlibxmlregistry.c:
25379 * gst/registries/gstxmlregistry.c:
25380 splitted gsttypefind into gsttypefind, gsttypefindfactory
25382 2005-09-07 Andy Wingo <wingo@pobox.com>
25384 * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
25385 condition whereby the pad's task function is entered before the
25386 pad_mode variable was set.
25388 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
25390 * gst/gstpad.c: (gst_pad_alloc_buffer):
25391 Catch misbehaving pad_alloc functions that don't
25392 set up caps and do it for them.
25394 2005-09-07 Stefan Kost <ensonic@users.sf.net>
25396 * check/pipelines/simple_launch_lines.c: (run_pipeline):
25397 test for pipe!=NULL
25398 * docs/gst/tmpl/.cvsignore:
25399 * docs/gst/tmpl/gstmemchunk.sgml:
25400 * docs/gst/tmpl/gstparse.sgml:
25401 * docs/gst/tmpl/gsttaglist.sgml:
25402 * docs/gst/tmpl/gsttagsetter.sgml:
25403 * docs/gst/tmpl/gsttypefind.sgml:
25404 * docs/gst/tmpl/gsttypefindfactory.sgml:
25405 * gst/gstmemchunk.c:
25406 * gst/gstparse.c:
25407 * gst/gsttag.c:
25408 * gst/gsttaginterface.c:
25409 * gst/gsttypefind.c:
25410 * gst/gsttypefind.h:
25411 inlined more docs
25413 === release 0.9.2 ===
25415 2005-09-06 Thomas Vander Stichele <thomas at apestaart dot org>
25417 * NEWS:
25418 * RELEASE:
25419 * configure.ac:
25420 releasing 0.9.2, "South"
25422 2005-09-05 Andy Wingo <wingo@pobox.com>
25424 * gst/registries/gstxmlregistry.h:
25425 * gst/registries/gstxmlregistry.c: Um... resurrect...
25427 * gst/registries/gstxmlregistry.h:
25428 * gst/registries/gstxmlregistry.c: and update to newer API.
25429 Incidentally they should be a bit faster now that they don't have
25430 to parse the caps.
25432 2005-09-05 Andy Wingo <wingo@pobox.com>
25434 * gst/registries/gstxmlregistry.h:
25435 * gst/registries/gstxmlregistry.c: Remove from CVS, they were
25436 replaced by the libxml registry a while back
25438 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
25440 * docs/gst/tmpl/gstplugin.sgml:
25441 * gst/elements/gstelements.c:
25442 * gst/gst.c:
25443 * gst/gstplugin.c: (gst_plugin_register_func),
25444 (gst_plugin_desc_copy), (gst_plugin_desc_free),
25445 (gst_plugin_get_source):
25446 * gst/gstplugin.h:
25447 * gst/registries/gstlibxmlregistry.c: (load_plugin),
25448 (gst_xml_registry_save_plugin):
25449 * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
25450 (gst_xml_registry_save_plugin):
25451 * tools/gst-inspect.c: (print_plugin_info):
25452 add a "source" plugin description field, to represent the source
25453 module this plugin is a part of. By default GST_PLUGIN_DEFINE
25454 will set it to PACKAGE, which is automake's idea of the name of
25455 the source project.
25457 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
25459 * Makefile.am:
25460 * autogen.sh:
25461 * configure.ac:
25462 * docs/Makefile.am:
25463 * docs/faq/Makefile.am:
25464 * docs/gst/tmpl/gstelement.sgml:
25465 * docs/gst/tmpl/gsttypes.sgml:
25466 * docs/htmlinstall.mak:
25467 * docs/manual/Makefile.am:
25468 * docs/pwg/Makefile.am:
25469 reorganize doc build a little
25470 split out docbook and gtk-doc stuff
25471 have two separate --enable's and enable them through autogen
25472 but disable by default in configure (to be similar to other
25473 projects)
25474 * gstreamer.spec.in:
25475 clean up docs install
25476 * po/af.po:
25477 * po/az.po:
25478 * po/ca.po:
25479 * po/cs.po:
25480 * po/de.po:
25481 * po/en_GB.po:
25482 * po/fr.po:
25483 * po/it.po:
25484 * po/nb.po:
25485 * po/nl.po:
25486 * po/ru.po:
25487 * po/sq.po:
25488 * po/sr.po:
25489 * po/sv.po:
25490 * po/tr.po:
25491 * po/uk.po:
25492 * po/vi.po:
25493 translation updates
25495 2005-09-03 Tim-Philipp Müller <tim at centricular dot net>
25497 * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
25498 Add comment.
25500 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
25501 (gst_fake_sink_change_state):
25502 Make state change function thread-safe.
25504 * gst/gstpad.c: (gst_pad_alloc_buffer):
25505 Set offset on generic buffer allocated by fallback.
25507 2005-09-03 Stefan Kost <ensonic@users.sf.net>
25509 * docs/gst/gstreamer-sections.txt:
25510 * docs/gst/tmpl/gstelement.sgml:
25511 * gst/gstpad.c:
25512 * libs/gst/controller/gst-controller.c:
25513 (gst_controlled_property_set_interpolation_mode),
25514 (gst_controlled_property_new),
25515 (gst_controller_find_controlled_property):
25516 run the wingo-magic script against the docs
25518 2005-09-02 Stefan Kost <ensonic@users.sf.net>
25520 * docs/gst/gstreamer-docs.sgml:
25521 * docs/gst/gstreamer-sections.txt:
25522 * docs/gst/tmpl/.cvsignore:
25523 * docs/gst/tmpl/gstelementdetails.sgml:
25524 * docs/gst/tmpl/gstelementfactory.sgml:
25525 * gst/gst.c:
25526 * gst/gstbus.c:
25527 * gst/gstelementfactory.c:
25528 * gst/gstelementfactory.h:
25529 merged elementdetails docs into elementfactory docs
25530 inlined both
25532 2005-09-02 Andy Wingo <wingo@pobox.com>
25534 * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
25535 consider this enum an enum and not a flags.
25537 2005-09-02 Stefan Kost <ensonic@users.sf.net>
25539 * docs/gst/gstreamer-docs.sgml:
25540 * docs/gst/tmpl/.cvsignore:
25541 * docs/gst/tmpl/gstghostpad.sgml:
25542 * docs/gst/tmpl/gstiterator.sgml:
25543 * docs/gst/tmpl/gstmacros.sgml:
25544 * docs/gst/tmpl/gstrealpad.sgml:
25545 * docs/gst/tmpl/gstregistry.sgml:
25546 * docs/gst/tmpl/gstregistrypool.sgml:
25547 * docs/gst/tmpl/gststructure.sgml:
25548 * docs/gst/tmpl/gstsystemclock.sgml:
25549 * docs/gst/tmpl/gsttrace.sgml:
25550 * gst/gstghostpad.c:
25551 * gst/gstmacros.h:
25552 * gst/gstmemchunk.c:
25553 * gst/gstmemchunk.h:
25554 * gst/gstqueue.c:
25555 * gst/gstregistry.c:
25556 * gst/gstregistrypool.c:
25557 * gst/gststructure.c:
25558 * gst/gstsystemclock.c:
25559 more docs inlined
25561 2005-09-02 Andy Wingo <wingo@pobox.com>
25563 * gst/gstelement.h (GstState): Renamed from GstElementState,
25564 changed to be a normal enum instead of flags.
25565 (GstStateChangeReturn): Renamed from GstElementStateReturn, names
25566 munged to be GST_STATE_CHANGE_*.
25567 (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
25568 work with the new state representation.
25569 (GstStateChange): New enumeration of possible state transitions.
25570 Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
25571 (GstElementClass::change_state): Pass the GstStateChange along as
25572 an argument. Helps language bindings, so they don't have to use
25573 tricky lock-needing macros like GST_STATE_CHANGE ().
25575 * scripts/update-states (file): New script. Run it on a file to
25576 update it for state naming and API changes. Updates files in
25577 place.
25579 * All files updated for the new API.
25581 2005-09-02 Thomas Vander Stichele <thomas at apestaart dot org>
25583 * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
25584 * gst/gstutils.c: (gst_util_set_value_from_string),
25585 (gst_util_set_object_arg):
25586 fix a bunch of unchecked return values
25587 * tools/gst-complete.c: (main):
25588 * gstreamer.spec.in:
25589 clean up a little
25591 2005-09-01 Wim Taymans <wim@fluendo.com>
25593 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
25594 (gst_base_sink_event), (gst_base_sink_do_sync),
25595 (gst_base_sink_handle_event):
25596 * gst/base/gstbasesink.h:
25597 Handle newsegments more correctly.
25599 * gst/gstbus.c:
25600 Fix docs.
25602 * gst/gstevent.c: (gst_event_new_newsegment):
25603 A newsegment cannot have a start_time of -1
25605 2005-09-01 Tim-Philipp Müller <tim at centricular dot net>
25607 * win32/gstenumtypes.c:
25608 * win32/gstenumtypes.h:
25609 Update
25611 2005-08-31 Stefan Kost <ensonic@users.sf.net>
25613 * libs/gst/controller/gst-controller.c:
25614 (gst_controlled_property_set_interpolation_mode),
25615 (gst_controlled_property_new):
25616 fixed boolean again
25618 2005-08-31 Thomas Vander Stichele <thomas at apestaart dot org>
25620 * docs/faq/gst-uninstalled:
25621 add -good
25622 * gst/gstevent.c:
25623 * gst/gstevent.h:
25624 remove wrong docs
25625 * gst/gstutils.c: (gst_element_link_filtered):
25626 * gst/gstutils.h:
25627 add gst_element_link_filtered
25629 2005-08-31 Stefan Kost <ensonic@users.sf.net>
25631 * docs/gst/gstreamer-docs.sgml:
25632 * docs/gst/gstreamer-sections.txt:
25633 * docs/gst/tmpl/.cvsignore:
25634 * docs/gst/tmpl/gsterror.sgml:
25635 * docs/gst/tmpl/gstfilter.sgml:
25636 * docs/gst/tmpl/gsturihandler.sgml:
25637 * docs/gst/tmpl/gsturitype.sgml:
25638 * docs/gst/tmpl/gstutils.sgml:
25639 * docs/gst/tmpl/gstxml.sgml:
25640 * gst/gsterror.c:
25641 * gst/gsterror.h:
25642 * gst/gstfilter.c:
25643 * gst/gsturi.c:
25644 * gst/gsturitype.c:
25645 * gst/gstutils.c:
25646 * gst/gstxml.c:
25647 inlined more docs, fixed double id-ref
25649 2005-08-31 Wim Taymans <wim@fluendo.com>
25651 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
25652 (gst_base_transform_handle_buffer):
25653 Passthrough elements don't need the caps as they don't care.
25655 2005-08-31 Wim Taymans <wim@fluendo.com>
25657 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
25658 (gst_base_transform_handle_buffer), (gst_base_transform_chain):
25659 Don't leak refcounts on buffers.
25661 2005-08-31 Wim Taymans <wim@fluendo.com>
25663 * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
25664 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
25665 (gst_base_transform_chain), (gst_base_transform_change_state):
25666 * gst/base/gstbasetransform.h:
25667 Handle the case where we are not negotiated more gracefully.
25669 2005-08-31 Tim-Philipp Müller <tim at centricular dot net>
25671 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
25672 (gst_file_src_map_region):
25673 Set READONLY flag on mmap'ed buffers, otherwise
25674 gst_buffer_make_writable() won't work properly (#314708).
25676 2005-08-31 Wim Taymans <wim@fluendo.com>
25678 * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
25679 passthrough elements can even do inplace on non writable
25680 buffers (as they don't touch them).
25682 2005-08-31 Stefan Kost <ensonic@users.sf.net>
25684 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
25685 (gst_test_mono_source_set_property),
25686 (gst_test_mono_source_class_init), (GST_START_TEST),
25687 (gst_controller_suite):
25688 more tests (hehe I have the most)
25689 * gst/gstbus.c:
25690 describe popping messages whenusing mulltiple sources
25691 * libs/gst/controller/gst-controller.c:
25692 (gst_controlled_property_set_interpolation_mode),
25693 (gst_controlled_property_new):
25694 * libs/gst/controller/gst-controller.h:
25695 * libs/gst/controller/gst-interpolation.c:
25696 implement boolean properties
25698 2005-08-31 Wim Taymans <wim@fluendo.com>
25700 * gst/gstminiobject.c: (gst_mini_object_ref):
25701 Cannot assert that the refcount has to be positive
25702 since a disposed object can be resurrected.
25704 2005-08-31 Wim Taymans <wim@fluendo.com>
25706 * gst/gstpad.c: (gst_pad_init):
25707 Revert change, need to first fix badly behaving
25708 apps.
25710 2005-08-30 Wim Taymans <wim@fluendo.com>
25712 * check/elements/fakesrc.c: (setup_fakesrc):
25713 * check/elements/identity.c: (setup_identity):
25714 Activate pads before using them.
25716 2005-08-30 Wim Taymans <wim@fluendo.com>
25718 * gst/base/gstadapter.c: (gst_adapter_flush):
25719 Flushing out 0 bytes is ok for this function.
25721 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
25722 no newsegment gives a warning and sets the start/stop to
25723 invalid.
25725 * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
25726 (gst_base_transform_set_passthrough):
25727 Some debug info.
25729 * gst/gstminiobject.c: (gst_mini_object_ref):
25730 Check refcount here too.
25732 * gst/gstpad.c: (gst_pad_init):
25733 Pads are initially flushing and refusing data.
25735 * gst/gstutils.c: (gst_element_link_pads_filtered):
25736 When adding a capsfilter element make sure it has the
25737 same state as the parent bin.
25739 2005-08-30 Stefan Kost <ensonic@users.sf.net>
25741 * docs/gst/tmpl/.cvsignore:
25742 * docs/gst/tmpl/gstformat.sgml:
25743 * docs/gst/tmpl/gstversion.sgml:
25744 * gst/gstbus.h:
25745 * gst/gstformat.c:
25746 * gst/gstformat.h:
25747 * gst/gstversion.h.in:
25748 more docs and two more inlined
25750 2005-08-30 Wim Taymans <wim@fluendo.com>
25752 * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
25753 Don't sync to clock.
25755 2005-08-30 Stefan Kost <ensonic@users.sf.net>
25757 * docs/gst/gstreamer-sections.txt:
25758 ultral33t func10ns deserve to appear in the docs actually
25759 * docs/gst/tmpl/.cvsignore:
25760 * docs/gst/tmpl/gstcompat.sgml:
25761 * docs/gst/tmpl/gstconfig.sgml:
25762 * gst/check/gstcheck.c:
25763 * gst/gstcompat.h:
25764 * gst/gstconfig.h.in:
25765 inlined more docs
25767 2005-08-30 Stefan Kost <ensonic@users.sf.net>
25769 * docs/gst/tmpl/.cvsignore:
25770 * docs/gst/tmpl/gstquery.sgml:
25771 * docs/gst/tmpl/gstutils.sgml:
25772 * gst/gstquery.c:
25773 * gst/gstquery.h:
25774 inlined and extended docs
25776 2005-08-30 Stefan Kost <ensonic@users.sf.net>
25778 * check/gst-libs/controller.c: (GST_START_TEST),
25779 (gst_controller_suite):
25780 more tests
25781 * docs/gst/tmpl/gstutils.sgml:
25782 * docs/libs/gstreamer-libs-sections.txt:
25783 * docs/libs/tmpl/gstdataprotocol.sgml:
25784 include path fixes
25785 * examples/controller/audio-example.c: (main):
25786 controller example works now
25787 * gst/gstclock.h:
25788 doc fixes
25789 * tools/gst-inspect.c: (print_element_properties_info):
25790 show param spec flags
25792 2005-08-29 Andy Wingo <wingo@pobox.com>
25794 * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
25796 2005-08-28 Andy Wingo <wingo@pobox.com>
25798 * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
25799 as having two arguments instead of just one. Allows superclasses
25800 to access information on subclasses -- see the terrible for() loop
25801 in gtype.c:g_type_create_instance for the reason why. All callers
25802 changed.
25804 2005-08-27 Stefan Kost <ensonic@users.sf.net>
25806 * docs/design/part-messages.txt:
25807 update info
25808 * docs/gst/tmpl/.cvsignore:
25809 * docs/gst/tmpl/gstcaps.sgml:
25810 * docs/gst/tmpl/gstclock.sgml:
25811 * gst/gstbus.c:
25812 * gst/gstcaps.c:
25813 * gst/gstcaps.h:
25814 * gst/gstclock.c:
25815 * gst/gstclock.h:
25816 * gst/gstmessage.c:
25817 added descriptions for bus and message
25818 inline caps and clock docs
25820 2005-08-27 Stefan Kost <ensonic@users.sf.net>
25822 * gst/gstmessage.c:
25823 * gst/gstmessage.h:
25824 doc fixes
25826 2005-08-27 Stefan Kost <ensonic@users.sf.net>
25828 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
25829 fix div-by-zero
25831 2005-08-26 Andy Wingo <wingo@pobox.com>
25833 * check/pipelines/simple_launch_lines.c (run_pipeline): Check
25834 element_set_state's return val.
25835 (test_2_elements): Add test that's been disabled for months.
25837 * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
25838 can-activate-pull properties.
25840 * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
25841 can-activate-pull properties. Implement is_seekable so fakesrc can
25842 operate in pull mode.
25844 * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
25845 properties.
25846 (gst_base_sink_activate, gst_base_sink_activate_pull)
25847 (gst_base_sink_activate_push): Make activation mode choosing work.
25848 Cleanups.
25849 (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
25850 is right. Make pull mode work. Post an eos before pausing in pull
25851 mode.
25852 (gst_base_sink_change_state): Pay attention to the core's
25853 change_state() return val.
25855 * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
25856 has-getrange properties. Cleanups.
25858 * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
25859 has_getrange and replace with can_activate_pull and
25860 can_activate_push.
25862 * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
25863 locking comments. Remove has_loop, has_chain and replace with
25864 can_activate_pull and can_activate_push.
25866 2005-08-26 Jan Schmidt <thaytan@mad.scientist.com>
25868 * configure.ac:
25869 * examples/Makefile.am:
25870 * examples/metadata/Makefile.am:
25871 * examples/metadata/read-metadata.c: (message_loop),
25872 (have_pad_handler), (make_pipeline), (print_tag), (main):
25873 Add metadata reading example that loops over a list of filenames,
25874 dumping any tags found.
25876 * gst/gstbus.c: (gst_bus_dispose):
25877 * gst/gstelement.c: (gst_element_dispose):
25878 Release a few potentially-held references in dispose.
25880 2005-08-26 Stefan Kost <ensonic@users.sf.net>
25882 * docs/gst/tmpl/gstminiobject.sgml:
25883 do *not* add tmpl/*.sgml files to CVS!
25885 2005-08-26 Stefan Kost <ensonic@users.sf.net>
25887 * libs/gst/bytestream/.cvsignore:
25888 * libs/gst/bytestream/Makefile.am:
25889 * libs/gst/bytestream/adapter.c:
25890 * libs/gst/bytestream/adapter.h:
25891 * libs/gst/bytestream/bytestream.c:
25892 * libs/gst/bytestream/bytestream.h:
25893 * libs/gst/bytestream/filepad.c:
25894 * libs/gst/bytestream/filepad.h:
25895 removing obsolete files
25897 2005-08-26 Stefan Kost <ensonic@users.sf.net>
25899 * docs/gst/gstreamer-docs.sgml:
25900 * docs/libs/gstreamer-libs-docs.sgml:
25901 disabed additional index entries again, as this makes docs-gen just
25902 slow and they aren't useful yet
25903 * docs/libs/gstreamer-libs-sections.txt:
25904 little -section.txt cleanup for libs
25906 2005-08-26 Thomas Vander Stichele <thomas at apestaart dot org>
25908 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
25909 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
25910 fix up some debugging
25911 (gst_base_transform_get_unit_size),
25912 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
25913 (gst_base_transform_handle_buffer):
25914 * gst/base/gstbasetransform.h:
25915 handle and store timed NEWSEGMENT events so that subclasses that
25916 calculate time by counting samples have a segment_start time they
25917 need to add to their timestamps - see audioresample
25919 2005-08-26 Stefan Kost <ensonic@users.sf.net>
25921 * gst/gstbin.h:
25922 removed ';' from the end of macro defs
25923 * docs/gst/gstreamer-docs.sgml:
25924 * docs/gst/gstreamer-sections.txt:
25925 * docs/gst/tmpl/.cvsignore:
25926 * gst/gstbus.h:
25927 * gst/gstelement.c: (gst_element_class_init),
25928 (gst_element_set_state), (activate_pads),
25929 (gst_element_save_thyself):
25930 * gst/gstevent.c: (gst_event_new_newsegment):
25931 * gst/gstevent.h:
25932 * gst/gstiterator.c:
25933 * gst/gstiterator.h:
25934 * gst/gstpad.c:
25935 * gst/gstprobe.h:
25936 * gst/gstutils.c: (gst_pad_query_convert):
25937 * gst/gstutils.h:
25938 fixed parameter name mismatches between source, header and docs
25939 added some more docs, resolved the last batch of unused elements in
25940 docs (now someone needs to doc them)
25942 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
25944 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
25945 * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
25946 don't walk through the plugins backwards. Where is all this
25947 reversed logic coming from ?
25949 2005-08-25 Wim Taymans <wim@fluendo.com>
25951 * gst/base/gstbasetransform.c: (gst_base_transform_init),
25952 (gst_base_transform_transform_size),
25953 (gst_base_transform_configure_caps),
25954 (gst_base_transform_get_unit_size),
25955 (gst_base_transform_buffer_alloc),
25956 (gst_base_transform_change_state):
25957 * gst/base/gstbasetransform.h:
25958 Cache caps unit_size.
25959 Make sure we cannot negotiate up and downstream at the
25960 same time.
25962 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
25964 * gst/gst.c: (init_pre), (init_post):
25965 register the installed plugin path after the env var
25966 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
25967 * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
25968 don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
25969 directories, so the tests can prefer uninstalled over installed
25971 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
25973 * gst/base/gstbasetransform.h:
25974 comment
25975 * gst/gstpad.c:
25976 add to docs
25978 2005-08-25 Wim Taymans <wim@fluendo.com>
25980 * gst/gstbin.c: (bin_bus_handler):
25981 Be a bit more conservative about the posted message.
25983 * gst/gstbus.c: (gst_bus_post):
25984 Some cleanups, warn wrong return values.
25986 2005-08-25 Jan Schmidt <thaytan@mad.scientist.com>
25988 * check/gst/gstbin.c: (GST_START_TEST):
25989 * gst/gstbin.c: (bin_bus_handler):
25990 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
25991 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
25992 (gst_message_new_warning), (gst_message_new_tag),
25993 (gst_message_new_state_changed), (gst_message_new_segment_start),
25994 (gst_message_new_segment_done), (gst_message_new_custom):
25995 * gst/gstmessage.h:
25996 * tools/gst-launch.c: (event_loop):
25997 * tools/gst-md5sum.c: (event_loop):
25998 Revert unpopular change for GST_MESSAGE_SRC to GObject.
26000 2005-08-25 Wim Taymans <wim@fluendo.com>
26002 * check/generic/states.c: (GST_START_TEST):
26003 Cleanup can be done at the end.
26005 * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
26006 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
26007 (gst_task_get_state), (gst_task_start), (gst_task_pause):
26008 Oh boy.. Thanks for finding this, Thomas.
26010 2005-08-25 Stefan Kost <ensonic@users.sf.net>
26012 * docs/gst/gstreamer.types:
26013 added missing types
26015 2005-08-25 Stefan Kost <ensonic@users.sf.net>
26017 * docs/gst/gstreamer-docs.sgml:
26018 * docs/gst/gstreamer-sections.txt:
26019 * docs/gst/tmpl/.cvsignore:
26020 * gst/gstbin.c:
26021 * gst/gstiterator.c:
26022 * gst/gstutils.c:
26023 * gst/registries/gstxmlregistry.h:
26024 added missing classes and symbols (123 more to go)
26025 removed removed symbols from section file
26026 fixed many doc-comments
26028 2005-08-24 Wim Taymans <wim@fluendo.com>
26030 * check/generic/states.c: (GST_START_TEST):
26031 Make sure all tasks are stopped.
26033 * check/gst/gstbin.c: (GST_START_TEST):
26034 Unref after usage for proper valgrinding.
26036 * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
26037 Really wait for the task to stop before destroying the
26038 mutex.
26040 * gst/gstqueue.c: (gst_queue_sink_activate_push),
26041 (gst_queue_src_activate_push):
26042 Small cleanups. Don't stop the task when we did not start
26043 it.
26045 * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
26046 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
26047 (gst_task_get_state), (gst_task_start), (gst_task_pause),
26048 (gst_task_join):
26049 * gst/gsttask.h:
26050 Protect the stream lock with the object lock.
26051 Disallow setting the stream lock when running.
26052 Add cleanup_all to wait for the threadpool to finish.
26053 Remove code to autoallocate a mutex if none was provided.
26054 Add _join() to wait for a task to stop.
26055 Protect the thread pool with a global lock.
26057 2005-08-24 Wim Taymans <wim@fluendo.com>
26059 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
26060 (gst_base_sink_get_times), (gst_base_sink_do_sync),
26061 (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
26062 * gst/base/gstbasesink.h:
26063 Handle newsegment events correctly.
26064 Drop buffers out of the segment range.
26066 2005-08-22 Andy Wingo <wingo@pobox.com>
26068 * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
26069 macro, implements an interface and gstimplementsinterface for a
26070 new type.
26072 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
26074 * check/Makefile.am:
26075 * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
26076 add a test that does a bunch of state changes on elements
26077 needs some fixing for valgrind
26078 * check/states/sinks.c: (gst_object_suite):
26079 whitespace
26080 * gst/gstcaps.h:
26081 add prototype for gst_caps_is_equal_fixed
26082 * gst/gstplugin.c:
26083 * gst/gstregistrypool.c:
26084 doc fixes
26086 2005-08-24 Andy Wingo <wingo@pobox.com>
26088 * gst/gstquery.c (gst_query_new_convert): Spew if we try to
26089 convert a negative value. Doesn't make much sense. Mostly this is
26090 here to force callers to ensure -1 maps to -1.
26092 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
26094 * docs/pwg/advanced-types.xml:
26095 Well done to Michael for catching my deliberate introduction
26096 of this spelling mistake.
26097 * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
26098 * gst/gstelement.h:
26099 Add GST_ELEMENT_UNPARENTING to prevent races so that we can
26100 unlink pads before removing the element from the bin.
26102 2005-08-24 Andy Wingo <wingo@pobox.com>
26104 * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
26105 the same thing as GST_DEBUG=*:4.
26106 (parse_debug_level, parse_debug_category): New helper parsers.
26108 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
26110 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
26111 (gst_base_transform_transform_size), (gst_base_transform_getcaps),
26112 (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
26113 (gst_base_transform_buffer_alloc),
26114 (gst_base_transform_handle_buffer):
26115 use gboolean return values and pointers to size so we can use the
26116 full GST_BUFFER_SIZE range (guint) for buffer sizes
26117 use GstPadDirection for transform_caps
26118 * gst/base/gstbasetransform.h:
26119 rename get_size to get_unit_size since that's what it is
26120 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
26121 use GstPadDirection for transform_caps
26122 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
26123 * gst/gstutils.h:
26124 cleanup and debugging
26126 2005-08-24 Stefan Kost <ensonic@users.sf.net>
26128 * gst/gstelement.c: (gst_element_class_init),
26129 (gst_element_set_state), (activate_pads),
26130 (gst_element_save_thyself):
26131 * tools/gst-compprep.c: (main):
26132 * tools/gst-inspect.c: (print_element_properties_info):
26133 * tools/gst-xmlinspect.c: (print_element_properties):
26134 Fixed long standing mem-leak
26136 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
26138 * check/gst/gstbin.c: (GST_START_TEST):
26139 * gst/gstbin.c: (bin_bus_handler):
26140 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
26141 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
26142 (gst_message_new_warning), (gst_message_new_tag),
26143 (gst_message_new_state_changed), (gst_message_new_segment_start),
26144 (gst_message_new_segment_done), (gst_message_new_custom):
26145 * gst/gstmessage.h:
26146 * tools/gst-launch.c: (event_loop):
26147 * tools/gst-md5sum.c: (event_loop):
26148 Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
26149 that applications can sensibly post custom messages with references
26150 to their own objects.
26152 2005-08-24 Andy Wingo <wingo@pobox.com>
26154 * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
26155 already.
26157 2005-08-24 Wim Taymans <wim@fluendo.com>
26159 * gst/base/gstbasetransform.c: (gst_base_transform_init),
26160 (gst_base_transform_transform_caps),
26161 (gst_base_transform_transform_size),
26162 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
26163 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
26164 (gst_base_transform_handle_buffer):
26165 * gst/base/gstbasetransform.h:
26166 Many fixes and new features added by Thomas. Can now also do
26167 transforms with variable sizes and a custom fixate_caps function.
26169 2005-08-24 Wim Taymans <wim@fluendo.com>
26171 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
26172 Some debugging.
26174 * gst/gstclock.h:
26175 Cast to ClockTime before formatting to time.
26177 * gst/gstutils.h:
26178 Cleanups.
26180 2005-08-24 Stefan Kost <ensonic@users.sf.net>
26182 * check/gst-libs/controller.c: (GST_START_TEST),
26183 (gst_controller_suite):
26184 * docs/gst/tmpl/gstcaps.sgml:
26185 * docs/gst/tmpl/gstghostpad.sgml:
26186 * docs/gst/tmpl/gstquery.sgml:
26187 * docs/gst/tmpl/gstutils.sgml:
26188 * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
26189 (gst_object_sink_values), (gst_object_get_value_arrays),
26190 (gst_object_get_value_array):
26191 gracefully handle helper method calls to objects that are not beeing
26192 controlled, added test case for that
26194 2005-08-23 Wim Taymans <wim@fluendo.com>
26196 * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
26197 (gst_event_new_newsegment), (gst_event_parse_newsegment),
26198 (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
26199 (gst_event_parse_qos), (gst_event_new_seek),
26200 (gst_event_parse_seek):
26201 * gst/gstevent.h:
26202 Some more debugging output and doc cleanups.
26204 * gst/gstqueue.c: (gst_queue_handle_sink_event):
26205 Fix possible deadlock.
26207 2005-08-23 Stefan Kost <ensonic@users.sf.net>
26209 * docs/gst/gstreamer-docs.sgml:
26210 * docs/gst/gstreamer-sections.txt:
26211 * docs/gst/gstreamer.types:
26212 * docs/gst/tmpl/.cvsignore:
26213 * gst/gstbin.h:
26214 * gst/gstbus.c:
26215 * gst/gstelement.c:
26216 * gst/gstevent.h:
26217 added 100 symbols from gstreamer-unused.txt to the right sections
26218 fixed more broken comments
26219 added GstBus to docs
26221 2005-08-23 Stefan Kost <ensonic@users.sf.net>
26223 * docs/gst/gstreamer-sections.txt:
26224 * docs/gst/tmpl/.cvsignore:
26225 * docs/gst/tmpl/gstbin.sgml:
26226 * docs/gst/tmpl/gstbuffer.sgml:
26227 * gst/base/gstbasesrc.c:
26228 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
26229 * gst/gstbuffer.c:
26230 * gst/gstbuffer.h:
26231 * tools/gst-launch.1.in:
26232 inlined more doc comments, added missing comments and fixed comments
26233 fixed typos
26235 2005-08-23 Thomas Vander Stichele <thomas at apestaart dot org>
26237 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
26238 some debugging
26239 * gst/gstcaps.h:
26240 whitespace fixes
26241 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
26242 more debugging
26243 * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
26244 * gst/gststructure.h:
26245 add a fixate function for booleans; add a FIXME that these func
26246 names should probably be gst_structure_fixate_*
26248 2005-08-23 Stefan Kost <ensonic@users.sf.net>
26250 * docs/gst/gstreamer-docs.sgml:
26251 * docs/gst/gstreamer-sections.txt:
26252 * gst/Makefile.am:
26253 * gst/gstbin.c: (gst_bin_get_type),
26254 (gst_bin_child_proxy_get_child_by_index),
26255 (gst_bin_child_proxy_get_children_count),
26256 (gst_bin_child_proxy_init):
26257 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
26258 (gst_child_proxy_get_child_by_index),
26259 (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
26260 (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
26261 (gst_child_proxy_get), (gst_child_proxy_set_property),
26262 (gst_child_proxy_set_valist), (gst_child_proxy_set),
26263 (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
26264 (gst_child_proxy_base_init), (gst_child_proxy_get_type):
26265 * gst/gstchildproxy.h:
26266 * gst/parse/grammar.y:
26267 * tools/gst-inspect.c: (print_interfaces),
26268 (print_element_properties_info), (print_element_info):
26269 ported gstchildproxy over from 0.8
26270 ported gst-inspect fixes and enhancements over from 0.8
26272 2005-08-22 Wim Taymans <wim@fluendo.com>
26274 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
26275 (gst_base_transform_handle_buffer):
26276 Also call the transform function if we have ANY caps.
26278 * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
26279 Fix debug info.
26281 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
26283 * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
26284 Don't pretend to handle seek events if the source is not seekable
26286 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
26288 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
26289 Remove extra parameter to debug output
26291 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
26292 (gst_base_src_do_seek), (gst_base_src_activate_push):
26293 Fix seek event handling.
26295 * gst/gstpipeline.c: (gst_pipeline_change_state):
26296 * gst/gstqueue.c: (gst_queue_handle_sink_event),
26297 (gst_queue_src_activate_push):
26298 Don't start the src pad task on FLUSH_STOP if the pad
26299 isn't linked.
26300 Debug changes.
26302 2005-08-22 Wim Taymans <wim@fluendo.com>
26304 * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
26305 Added check for gst_static_caps_get() refcounting.
26307 2005-08-22 Wim Taymans <wim@fluendo.com>
26309 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
26310 Make _static_caps_get() refcounting sane.
26312 * gst/gstelement.c: (gst_element_set_state):
26313 Add g_return_val_if_fail() to protect against segfaults.
26315 2005-08-22 Stefan Kost <ensonic@users.sf.net>
26317 * docs/gst/tmpl/gstevent.sgml:
26318 * gst/gstevent.c:
26319 * gst/gstevent.h:
26320 inlined remaining docs, added missing doc comments
26322 2005-08-22 Thomas Vander Stichele <thomas at apestaart dot org>
26324 * check/gst/gstbin.c: (GST_START_TEST):
26325 since we don't know when preroll is done, use refcount range
26326 check for the sink
26327 * gst/check/gstcheck.h:
26328 add macro for checking refcount range
26330 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
26332 * check/Makefile.am:
26333 clean up environment for when registry gets built versus
26334 when actual tests are run; valgrind seems to not report
26335 leaks if GST_PLUGIN_PATH is set to some specific values
26336 * check/gst/gstbin.c: (GST_START_TEST):
26337 add more refcounting checks; maybe this exposes a
26338 preroll lock bug ?
26339 * common/check.mak:
26340 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
26341 * gst/check/gstcheck.h:
26342 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
26343 (gst_bin_change_state):
26344 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
26345 add/fix debugging/whitespace
26347 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
26349 * check/gst/gstevent.c: (event_probe), (test_event),
26350 (GST_START_TEST):
26351 Er, don't call gst_bin_watch_for_state_change you idiot.
26353 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
26355 * check/Makefile.am:
26356 Use CHECK_CFLAGS and CHECK_LIBS
26357 * check/gst/gstevent.c: (event_probe), (test_event),
26358 (GST_START_TEST):
26359 Don't leak events.
26360 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
26361 (gst_base_src_start), (gst_base_src_stop),
26362 (gst_base_src_activate_push), (gst_base_src_activate_pull),
26363 (gst_base_src_change_state):
26364 Sprinkle gst_base_src_stop liberally around error paths to fix
26365 problems reusing a source after failed state changes.
26366 * gst/base/gsttypefindhelper.c: (helper_find_peek),
26367 (helper_find_suggest), (gst_type_find_helper):
26368 Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
26369 * gst/gstevent.h:
26370 * docs/gst/tmpl/gstevent.sgml:
26371 Migrate part of the docs from the SGML file. Wait for ensonic to
26372 tell me how I did it wrong ;)
26373 * tools/gst-typefind.c: (main):
26374 Extra robustness to state changes between files.
26376 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
26378 * check/Makefile.am:
26379 don't valgrind the controller test - it's leaking - Stefan, HELP
26380 * gst/check/gstcheck.c: (gst_check_message_error),
26381 (gst_check_chain_func), (gst_check_setup_element),
26382 (gst_check_teardown_element), (gst_check_setup_src_pad),
26383 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
26384 (gst_check_teardown_sink_pad):
26385 * gst/check/gstcheck.h:
26386 add a bunch of methods to set up elements, and src and sink pads
26387 * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
26388 * check/elements/identity.c: (setup_identity), (cleanup_identity),
26389 (GST_START_TEST):
26390 use them
26391 * gst/gstmessage.c:
26392 * gst/gsttag.h:
26393 whitespace/doc fixes
26395 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
26397 * gst/gstelement.h:
26398 make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
26399 be handled by the application and not always printed as well
26401 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
26403 * check/Makefile.am:
26404 set GST_TOOLS_DIR
26405 * gst/check/gstcheck.c: (gst_check_message_error):
26406 * gst/check/gstcheck.h:
26407 add a fail_unless_equals_int
26408 add fail_unless for error messages
26410 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
26412 * check/Makefile.am:
26413 * check/gst.supp:
26414 * common/Makefile.am:
26415 * common/check.mak:
26416 * common/gst.supp:
26417 factor out some of the common stuff so we can use it
26419 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
26421 * check/Makefile.am:
26422 * check/gst/gstiterator.c: (GST_START_TEST):
26423 * check/gst/gstsystemclock.c: (GST_START_TEST),
26424 (gst_systemclock_suite):
26425 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
26426 * gst/gstclock.c:
26427 valgrind more tests
26429 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
26431 * check/elements/.cvsignore:
26432 * check/elements/gstfakesrc.c:
26433 rename to name of element
26434 * check/elements/identity.c: (chain_func), (event_func),
26435 (setup_identity), (cleanup_identity), (GST_START_TEST),
26436 (identity_suite), (main):
26437 add a test for identity
26438 * check/Makefile.am:
26439 * pkgconfig/Makefile.am:
26440 * pkgconfig/gstreamer-check.pc.in:
26441 * pkgconfig/gstreamer-check-uninstalled.pc.in:
26442 * gst/check:
26443 * gst/Makefile.am:
26444 * configure.ac:
26445 move the check stuff to a library that gets installed
26446 * check/gst-libs/controller.c: (GST_START_TEST):
26447 * check/gst-libs/gdp.c:
26448 * check/gst/gst.c: (GST_START_TEST):
26449 * check/gst/gstbin.c:
26450 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
26451 * check/gst/gstbus.c:
26452 * check/gst/gstcaps.c: (GST_START_TEST):
26453 * check/gst/gstelement.c:
26454 * check/gst/gstghostpad.c:
26455 * check/gst/gstiterator.c:
26456 * check/gst/gstmessage.c:
26457 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
26458 * check/gst/gstobject.c:
26459 * check/gst/gstpad.c: (GST_START_TEST):
26460 * check/gst/gststructure.c: (GST_START_TEST):
26461 * check/gst/gstsystemclock.c: (GST_START_TEST),
26462 (gst_systemclock_suite):
26463 * check/gst/gsttag.c: (gst_tag_suite):
26464 * check/gst/gstvalue.c:
26465 * check/pipelines/cleanup.c:
26466 * check/pipelines/simple_launch_lines.c:
26467 * check/states/sinks.c:
26468 change include statement
26470 * docs/gst/gstreamer-sections.txt:
26471 * docs/gst/tmpl/gstpad.sgml:
26472 document more pad stuff
26473 * gst/gstminiobject.c: (gst_mini_object_ref),
26474 (gst_mini_object_unref):
26475 debug refcounting
26477 2005-08-19 Stefan Kost <ensonic@users.sf.net>
26479 * docs/gst/tmpl/gst.sgml:
26480 * gst/gst.c:
26481 eliminate another tmpl file, fix spelling in the long-description
26483 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
26485 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
26486 (test_event), (timediff), (gstevents_suite):
26487 Should fix build on 64-bit arch's
26489 2005-08-18 Andy Wingo <wingo@pobox.com>
26491 Make sure that when a pipeline goes to PLAYING, that data has
26492 actually hit the sink.
26494 * check/states/sinks.c (test_sink): A sink that doesn't get any
26495 data shouldn't return SUCCESS for going to either PLAYING or
26496 PAUSED. Test also the return values on the way back down.
26498 * gst/gstelement.c (gst_element_set_state): When changing the
26499 state of an element currently changing state asynchronously, go to
26500 lost-state after commiting the pending state. Makes future calls
26501 to get_state continue to return ASYNC.
26503 * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
26504 ASYNC when going to PLAYING if we still don't have preroll, as can
26505 happen with live sources.
26507 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
26509 * docs/pwg/advanced-types.xml:
26510 Hack long paragraph into 2 chunks as a workaround for buggy
26511 jadetex version in sid and breezy that loops infinitely and
26512 eats all RAM.
26514 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
26516 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
26517 (test_event), (timediff), (gstevents_suite):
26518 Provide more error margin in clock measurements to allow for
26519 g_get_current_time inaccuracies.
26521 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
26523 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
26524 (test_event), (timediff), (gstevents_suite):
26525 Fix error message output so I might be able to tell why the
26526 test works here but fails on the build farm.
26528 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
26530 * check/Makefile.am:
26531 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
26532 (test_event), (timediff), (gstevents_suite), (main):
26533 I wrote a test!
26535 * docs/design/part-seeking.txt:
26536 Spelling correction
26538 * docs/gst/tmpl/gstevent.sgml:
26539 * docs/gst/tmpl/gstfakesrc.sgml:
26540 Docs updates.
26542 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
26543 Treat a buffer-without-newsegment the same as a receiving
26544 a newsegment not in time format, and disable syncing to the clock
26545 with a warning.
26547 * gst/gstbus.c: (gst_bus_set_sync_handler):
26548 Assert if anyone tries to replace the existing sync_handler for bus,
26549 as only the owner should be setting it.
26551 * gst/gstevent.h:
26552 Have a fixed set of custom event enums with events identified by
26553 their structure name (as in 0.8), rather than a free-for-all
26554 allowing collisions between enum values from different plugins.
26556 * gst/gstpad.c: (gst_pad_class_init):
26557 Docs change.
26559 * gst/gstqueue.c: (gst_queue_handle_sink_event):
26560 Handle out-of-band downstream events from the sending thread.
26562 2005-08-17 Andy Wingo <wingo@pobox.com>
26564 * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
26565 play-timeout==0 to mean no timeout at all. In that case, don't
26566 bother with a get_state or a warning, just return directly, even
26567 if it's ASYNC.
26569 * gst/base/gstbasetransform.c: Debug changes.
26571 * gst/gstutils.h:
26572 * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
26573 ensure bins post state change messages. A bit of a hack but I can't
26574 think of a way to avoid it.
26576 * check/gst/gstbin.c (test_watch_for_state_change): Added test.
26578 2005-08-16 Andy Wingo <wingo@pobox.com>
26580 * gst/base/gstadapter.h:
26581 * gst/base/gstadapter.c (gst_adapter_take): New function, like
26582 peek() but you own the data. Not terribly efficient atm.
26584 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26586 * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
26587 (gst_element_found_tags):
26588 * gst/gstutils.h:
26589 Add two utility functions for tag handling.
26591 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26593 * docs/manual/advanced-dataaccess.xml:
26594 * docs/manual/basics-helloworld.xml:
26595 Fix docs to use _bin_add() before _link(), which fixes the examples
26596 with recent core versions (reported by Madhan Raj M
26597 <raj_madan@rediffmail.com>, #313199).
26599 2005-08-16 Wim Taymans <wim@fluendo.com>
26601 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
26602 Added subtract checks.
26604 * docs/design/part-events.txt:
26605 Some more docs about newsegment
26607 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
26608 Fix FIXME
26610 * gst/gstcaps.c: (gst_caps_to_string):
26611 Add comments, cleanups.
26613 * gst/gstelement.c: (gst_element_save_thyself):
26614 cleanups
26616 * gst/gstvalue.c: (gst_value_collect_int_range),
26617 (gst_string_unwrap), (gst_value_union_int_int_range),
26618 (gst_value_union_int_range_int_range),
26619 (gst_value_intersect_int_int_range),
26620 (gst_value_intersect_int_range_int_range),
26621 (gst_value_intersect_double_double_range),
26622 (gst_value_intersect_double_range_double_range),
26623 (gst_value_intersect_list), (gst_value_subtract_int_int_range),
26624 (gst_value_subtract_int_range_int),
26625 (gst_value_subtract_double_range_double),
26626 (gst_value_subtract_double_range_double_range),
26627 (gst_value_subtract_from_list), (gst_value_subtract_list),
26628 (gst_value_can_compare), (gst_value_compare_fraction):
26629 Cleanups, add comments, remove unneeded asserts.
26631 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
26633 * tools/gst-launch.c: (event_loop):
26634 don't convert NULL structures to strings
26636 2005-08-15 Stefan Kost <ensonic@users.sf.net>
26638 * docs/gst/gstreamer-sections.txt:
26639 made some defines private
26640 * docs/gst/tmpl/gstconfig.sgml:
26641 * docs/gst/tmpl/gstqueue.sgml:
26642 * docs/gst/tmpl/gsttaglist.sgml:
26643 * docs/gst/tmpl/gsttypes.sgml:
26644 * docs/gst/tmpl/gstutils.sgml:
26645 * docs/pwg/appendix-porting.xml:
26646 * gst/base/gstbasesink.h:
26647 * gst/base/gstbasesrc.c:
26648 * gst/base/gstbasesrc.h:
26649 * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
26650 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
26651 * gst/gstelement.c: (gst_element_class_init):
26652 * gst/gstpad.c: (gst_pad_class_init):
26653 * gst/gstqueue.c: (gst_queue_class_init):
26654 * gst/gstxml.c: (gst_xml_class_init):
26655 documented all undocumented signal inline
26656 * libs/gst/controller/gst-controller.h:
26657 added padding
26659 2005-08-15 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26661 * docs/pwg/appendix-porting.xml:
26662 Document _set_link_function -> _set_setcaps_function.
26664 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
26666 * check/Makefile.am:
26667 add a .check target for running the check
26668 * check/gst-libs/controller.c: (GST_START_TEST):
26669 cosmetic fixups
26670 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
26671 complete checks for gstbuffer; would be nice if I could get the
26672 gcov stuff to work so I can see if I actually completed gstbuffer.c
26673 * check/gstcheck.h:
26674 add ASSERT_BUFFER_REFCOUNT
26676 2005-08-13 Tim-Philipp Müller <tim at centricular dot net>
26678 * docs/gst/gstreamer-sections.txt:
26679 * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
26680 * gst/gsttag.h:
26681 Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
26682 spew out a warning if a tag that is already registered
26683 is re-registered, unless it is re-registered with a
26684 different type (#308438).
26686 2005-08-12 Tim-Philipp Müller <tim at centricular dot net>
26688 * docs/pwg/appendix-porting.xml:
26689 * docs/pwg/building-state.xml:
26690 Add some paragraphs about state changes in 0.9 to the PWG
26691 and the porting guide, in particular about the new meaning
26692 of GST_STATE_PAUSED and how to write state change functions
26693 with concurrent access by multiple threads in mind.
26695 2005-08-11 Stefan Kost <ensonic@users.sf.net>
26697 * docs/gst/gstreamer-docs.sgml:
26698 * docs/libs/gstreamer-libs-docs.sgml:
26699 added deprecation and since indexes
26700 * libs/gst/controller/gst-controller.c:
26701 * libs/gst/controller/gst-helper.c:
26702 added since tags
26705 2005-08-11 Wim Taymans <wim@fluendo.com>
26707 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
26708 (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
26709 (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
26710 (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
26711 (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
26712 (gst_ghost_pad_set_target):
26713 Actually implement (re)setting the target on a ghostpad
26714 as described in the docs.
26716 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
26718 * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
26719 Check whether GST_DEBUG_NO_COLOR environment variable is
26720 set and disable coloured debug output if that is the case.
26722 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
26724 * gst/base/gsttypefindhelper.c: (helper_find_peek),
26725 (gst_type_find_helper):
26726 The memory returned by gst_type_find_peek() needs to
26727 stay valid until the end of a typefind function, and
26728 typefind functions may keep results from different
26729 offsets around, so we can't just unref the buffer from
26730 the previous _peek(), but have to save all buffers
26731 returned by _peek() until typefinding is done and only
26732 free them then.
26734 2005-08-09 Tim-Philipp Müller <tim at centricular dot net>
26736 * docs/gst/gstreamer-sections.txt:
26737 * gst/gstutils.h:
26738 New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
26740 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26742 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
26743 Fix a pretty good memleak.
26745 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
26747 * gst/gstiterator.h:
26748 Fix wrong include and 'make distcheck'.
26750 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26752 * gst/gstbin.c: (bin_bus_handler):
26753 Use gst_element_post_message() instead.
26755 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
26757 * gst/base/gstadapter.h:
26758 * gst/base/gstbasesink.h:
26759 * gst/base/gstbasesrc.h:
26760 * gst/base/gstbasetransform.h:
26761 * gst/base/gstcollectpads.h:
26762 * gst/base/gstpushsrc.h:
26763 * gst/gstiterator.h:
26764 Add padding to our base elements' class and instance structs and
26765 to GstIterator (you will need to rebuild all plugins and apps!)
26767 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26769 * gst/gstbin.c: (bin_bus_handler):
26770 Make default message forwarding from child->bus to bin->bus
26771 threadsafe and make it not emit warnings if the parent has no bus.
26773 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26775 * gst/gstelement.c: (activate_pads):
26776 On paused->ready, set pad->caps to NULL, as is the documented
26777 behaviour in this state change. Fixes playback of series of
26778 media files when visualization is enabled in Totem.
26780 2005-08-07 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26782 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
26783 Allow NULL as filter-caps (which means "any").
26785 2005-08-05 Stefan Kost <ensonic@users.sf.net>
26787 * docs/libs/gstreamer-libs-sections.txt:
26788 * libs/gst/controller/gst-controller.c:
26789 * libs/gst/controller/gst-controller.h:
26790 * libs/gst/controller/gst-helper.c:
26791 adding more entries to the docs and fix small doc-bugs
26793 2005-08-05 Stefan Kost <ensonic@users.sf.net>
26795 * docs/gst/gstreamer-docs.sgml:
26796 * docs/gst/gstreamer-sections.txt:
26797 * docs/gst/gstreamer.types:
26798 * docs/gst/tmpl/gstbasesink.sgml:
26799 * docs/gst/tmpl/gstbasesrc.sgml:
26800 * docs/gst/tmpl/gstbasetransform.sgml:
26801 * docs/gst/tmpl/gstfakesrc.sgml:
26802 * gst/base/gstcollectpads.c:
26803 * gst/base/gstcollectpads.h:
26804 * libs/gst/controller/gst-controller.c:
26805 * libs/gst/controller/gst-controller.h:
26806 * libs/gst/controller/gst-helper.c:
26807 * libs/gst/controller/gst-interpolation.c:
26808 * libs/gst/controller/lib.c:
26809 added long/short desc for controller docs
26810 added collectpads base class docs
26811 added correct includes to base-class docs
26813 2005-08-05 Stefan Kost <ensonic@users.sf.net>
26815 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
26816 (gst_test_mono_source_set_property),
26817 (gst_test_mono_source_class_init), (GST_START_TEST),
26818 (gst_controller_suite):
26819 * docs/gst/gstreamer-docs.sgml:
26820 * docs/gst/gstreamer-sections.txt:
26821 * docs/gst/gstreamer.types:
26822 * docs/libs/gstreamer-libs-docs.sgml:
26823 * docs/libs/gstreamer-libs-sections.txt:
26824 * gst/base/gstadapter.c:
26825 * libs/gst/controller/gst-controller.c:
26826 (gst_controlled_property_new), (gst_controlled_property_free),
26827 (gst_controller_new_valist),
26828 (gst_controller_remove_properties_valist),
26829 (gst_controller_sink_values), (_gst_controller_finalize):
26830 * libs/gst/controller/gst-controller.h:
26831 * libs/gst/controller/gst-helper.c:
26832 (gst_object_control_properties), (gst_object_uncontrol_properties),
26833 (gst_object_get_controller), (gst_object_set_controller),
26834 (gst_object_sink_values), (gst_object_get_value_arrays),
26835 (gst_object_get_value_array):
26836 more tests (and fixes) for the controller
26837 more docs for the controller
26838 integrated companies docs for the adapter
26840 2005-08-05 Thomas Vander Stichele <thomas at apestaart dot org>
26842 * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
26843 (GST_START_TEST), (fakesrc_suite):
26844 add tests for sizetype
26846 2005-08-04 Andy Wingo <wingo@pobox.com>
26848 * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
26849 fixes buffer_alloc proxying among other things.
26851 * gst/base/gstbasetransform.c:
26852 * gst/base/gstbasetransform.h:
26853 Revert patch to gstbasetransform from 7-28 removing
26854 delay_configure.
26856 * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
26857 * gst/base/gstbasetransform.c (gst_base_transform_get_size):
26858 Semantics changed, should return not the size of the output buffer
26859 but the byte size of a buffer with a given caps.
26861 * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
26862 debug object.
26863 (gst_base_transform_configure_caps): Don't set out_size here: (in,
26864 out) are not the pad caps until setcaps finishes.
26865 (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
26866 not-in-place case as well. Deal with changing from in-place to
26867 not-in-place within calling pad_alloc_buffer. Still a bit
26868 concerned about the overhead here...
26870 2005-08-03 Andy Wingo <wingo@pobox.com>
26872 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
26873 fixating is an error.
26875 2005-08-04 Edward Hervey <edward@fluendo.com>
26877 * gst/base/gstadapter.h:
26878 Added gst_adapter_get_type() to the header
26880 2005-08-03 Stefan Kost <ensonic@users.sf.net>
26882 * check/Makefile.am:
26883 * check/gst-libs/controller.c:
26884 * libs/gst/controller/gst-controller.c:
26885 (gst_controller_new_valist):
26886 added check test suite for the controller
26887 * gst/base/gstpushsrc.c:
26888 fixed a doc typo
26890 2005-08-03 Stefan Kost <ensonic@users.sf.net>
26892 * docs/gst/Makefile.am:
26893 * docs/gst/gstreamer-docs.sgml:
26894 * docs/gst/gstreamer-sections.txt:
26895 * docs/gst/gstreamer.types:
26896 * docs/gst/tmpl/gstfakesrc.sgml:
26897 * gst/base/README:
26898 * gst/base/gstbasesink.c:
26899 * gst/base/gstbasesink.h:
26900 * gst/base/gstbasesrc.c:
26901 * gst/base/gstbasesrc.h:
26902 * gst/base/gstbasetransform.c:
26903 * gst/base/gstpushsrc.c:
26904 * gst/base/gstpushsrc.h:
26905 add short/long description docs to base classes
26906 add pushsrc to the docs
26907 remove consolidated doc fragments
26909 2005-08-03 Stefan Kost <ensonic@users.sf.net>
26911 * configure.ac:
26912 * docs/libs/Makefile.am:
26913 * docs/libs/gstreamer-libs-docs.sgml:
26914 * docs/libs/gstreamer-libs-sections.txt:
26915 * docs/libs/gstreamer-libs.types:
26916 * examples/Makefile.am:
26917 * examples/controller/.cvsignore:
26918 * examples/controller/Makefile.am:
26919 * examples/controller/audio-example.c: (main):
26920 * libs/gst/Makefile.am:
26921 * libs/gst/controller/.cvsignore:
26922 * libs/gst/controller/Makefile.am:
26923 * libs/gst/controller/gst-controller.c:
26924 (on_object_controlled_property_changed), (gst_timed_value_compare),
26925 (gst_timed_value_find),
26926 (gst_controlled_property_set_interpolation_mode),
26927 (gst_controlled_property_new), (gst_controlled_property_free),
26928 (gst_controller_find_controlled_property),
26929 (gst_controller_new_valist), (gst_controller_new),
26930 (gst_controller_remove_properties_valist),
26931 (gst_controller_remove_properties), (gst_controller_set),
26932 (gst_controller_set_from_list), (gst_controller_unset),
26933 (gst_controller_get), (gst_controller_get_all),
26934 (gst_controller_sink_values), (gst_controller_get_value_arrays),
26935 (gst_controller_get_value_array),
26936 (gst_controller_set_interpolation_mode),
26937 (_gst_controller_finalize), (_gst_controller_init),
26938 (_gst_controller_class_init), (gst_controller_get_type):
26939 * libs/gst/controller/gst-controller.h:
26940 * libs/gst/controller/gst-helper.c: (g_object_control_properties),
26941 (g_object_uncontrol_properties), (g_object_get_controller),
26942 (g_object_set_controller), (g_object_sink_values),
26943 (g_object_get_value_arrays), (g_object_get_value_array):
26944 * libs/gst/controller/gst-interpolation.c:
26945 (gst_controlled_property_find_timed_value_node),
26946 (interpolate_none_get), (interpolate_trigger_get),
26947 (interpolate_trigger_get_value_array):
26948 * libs/gst/controller/lib.c: (gst_controller_init):
26949 * pkgconfig/Makefile.am:
26950 * pkgconfig/gstreamer-control-uninstalled.pc.in:
26951 * pkgconfig/gstreamer-control.pc.in:
26952 * testsuite/Makefile.am:
26953 * testsuite/controller/.cvsignore:
26954 * testsuite/controller/Makefile.am:
26955 * testsuite/controller/interpolator.c: (main):
26956 added controller code
26957 removed dparam pc files
26959 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
26960 * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
26961 (gst_collectpads_stop):
26962 Broadcast the condition when shutting down, to make sure we wake all
26963 threads up. Shut down pads on finalize, for safety.
26965 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
26966 * gst/base/gstbasetransform.c: (gst_base_transform_init),
26967 (gst_base_transform_handle_buffer),
26968 (gst_base_transform_change_state):
26969 Handle PAUSED->READY->PAUSED transition after negotiation
26970 occurred already.
26971 * gst/gstmessage.c: (gst_message_init):
26972 Extra piece of debug for new messages.
26974 2005-08-01 Stefan Kost <ensonic@users.sf.net>
26976 * configure.ac:
26977 * docs/gst/tmpl/gstbasesrc.sgml:
26978 * docs/gst/tmpl/gstelement.sgml:
26979 * docs/gst/tmpl/gstevent.sgml:
26980 * docs/gst/tmpl/gstfakesrc.sgml:
26981 * docs/gst/tmpl/gstformat.sgml:
26982 * docs/gst/tmpl/gstghostpad.sgml:
26983 * docs/gst/tmpl/gstpad.sgml:
26984 * docs/gst/tmpl/gstquery.sgml:
26985 * docs/gst/tmpl/gststructure.sgml:
26986 * docs/gst/tmpl/gsttaglist.sgml:
26987 * docs/gst/tmpl/gstvalue.sgml:
26988 * docs/libs/gstreamer-libs-docs.sgml:
26989 * docs/libs/gstreamer-libs-sections.txt:
26990 * docs/libs/gstreamer-libs.types:
26991 * libs/gst/Makefile.am:
26992 * libs/gst/control/.cvsignore:
26993 * libs/gst/control/Makefile.am:
26994 * libs/gst/control/control.c:
26995 * libs/gst/control/control.h:
26996 * libs/gst/control/dparam.c:
26997 * libs/gst/control/dparam.h:
26998 * libs/gst/control/dparam_smooth.c:
26999 * libs/gst/control/dparam_smooth.h:
27000 * libs/gst/control/dparamcommon.h:
27001 * libs/gst/control/dparammanager.c:
27002 * libs/gst/control/dparammanager.h:
27003 * libs/gst/control/dplinearinterp.c:
27004 * libs/gst/control/dplinearinterp.h:
27005 * libs/gst/control/unitconvert.c:
27006 * libs/gst/control/unitconvert.h:
27007 * testsuite/Makefile.am:
27008 * testsuite/dynparams/.cvsignore:
27009 * testsuite/dynparams/Makefile.am:
27010 * testsuite/dynparams/dparamstest.c:
27011 * tools/Makefile.am:
27012 * tools/gst-inspect.c: (print_element_info), (main):
27013 * tools/gst-xmlinspect.c: (print_element_info), (main):
27014 deactivate and remove dparams (libgstcontrol)
27016 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
27018 * gst/elements/gsttypefindelement.c:
27019 (gst_type_find_element_have_type), (gst_type_find_element_init),
27020 (stop_typefinding), (gst_type_find_element_handle_event),
27021 (gst_type_find_element_chain), (gst_type_find_element_getrange):
27022 * gst/elements/gsttypefindelement.h:
27023 Set caps on all outgoing buffers, not just the first one.
27025 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
27027 * gst/elements/gsttypefindelement.c:
27028 (gst_type_find_element_have_type),
27029 (gst_type_find_element_check_set_buffer_caps),
27030 (gst_type_find_element_init), (stop_typefinding),
27031 (gst_type_find_element_handle_event),
27032 (gst_type_find_element_chain), (gst_type_find_element_getrange):
27033 * gst/elements/gsttypefindelement.h:
27034 Set caps on first outgoing buffer when we've found the type.
27036 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
27038 * docs/gst/gstreamer-docs.sgml:
27039 * docs/gst/gstreamer-sections.txt:
27040 * docs/gst/tmpl/gstscheduler.sgml:
27041 * docs/gst/tmpl/gstschedulerfactory.sgml:
27042 Remove some old cruft from docs.
27044 2005-07-31 Tim-Philipp Müller <tim at centricular dot net>
27046 * gst/gstpad.h:
27047 Fix inline docs for GstPadLinkReturn.
27049 * gst/gststructure.c: (gst_structure_has_name):
27050 * gst/gststructure.h:
27051 * docs/gst/gstreamer-sections.txt:
27052 New API: gst_structure_has_name().
27054 2005-07-30 Tim-Philipp Müller <tim at centricular dot net>
27056 * configure.ac:
27057 Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
27058 and _LARGEFILE_SOURCE in config.h as required. Do not
27059 export those flags in our .pc files any longer (#142209).
27061 Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
27063 * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
27064 (gst_file_sink_do_seek), (gst_file_sink_event),
27065 (gst_file_sink_get_current_offset), (gst_file_sink_render):
27066 Redo seek/tell calls with large file support in mind; add some
27067 debugging messages; add log message that tells us when large
27068 file support is unavailable or not enabled for some reason.
27070 * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
27071 Add log message that tells us when large file support
27072 is unavailable or not enabled for some reason.
27074 2005-07-29 Wim Taymans <wim@fluendo.com>
27076 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
27077 Added test for removing an element with ghostpad from a bin.
27078 Fixed test as current implementation does the right thing.
27080 * gst/gstghostpad.c: (gst_proxy_pad_class_init),
27081 (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
27082 (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
27083 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
27084 (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
27085 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
27086 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
27087 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
27088 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
27089 (gst_proxy_pad_get_target), (gst_proxy_pad_init),
27090 (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
27091 (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
27092 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
27093 (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
27094 (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
27095 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
27096 * gst/gstghostpad.h:
27097 Clean up ghostpads, remove properties for internal stuff.
27098 Make threadsafe.
27099 Fix refcounting.
27100 Prepare for switching targets, not all use cases work yet.
27102 2005-07-29 Wim Taymans <wim@fluendo.com>
27104 * docs/design/part-gstghostpad.txt:
27105 Small update.
27107 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
27108 (gst_bin_remove_func):
27109 Unlinking pads while holding the bin LOCK is not a good
27110 idea.
27112 * gst/gstpad.c: (gst_pad_class_init),
27113 (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
27114 (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
27115 No prob setting template after creating the pad.
27117 2005-07-29 Jan Schmidt <thaytan@mad.scientist.com>
27119 * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
27120 (gst_bus_peek), (gst_bus_source_dispatch),
27121 (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
27122 (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
27123 gst_bus_poll may be called from other threads. Handle
27124 this nicely by not making poll_data disappear off the
27125 stack once gst_bus_poll returns.
27126 gst_bus_peek now increments the refcount on the returned
27127 message.
27129 2005-07-29 Wim Taymans <wim@fluendo.com>
27131 * docs/design/part-gstghostpad.txt:
27132 Overview of current GhostPad datastructures and use
27133 cases for changing the target.
27135 2005-07-28 Wim Taymans <wim@fluendo.com>
27137 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
27138 Added checks for hierarchy consistency whan adding linked
27139 elements to bins.
27141 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
27142 Added check to test element scheduling without bin/pipeline.
27144 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
27145 First add elements to bin, then link.
27147 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
27148 (gst_bin_remove_func):
27149 Unlink pads from elements added/removed from bin to maintain
27150 hierarchy consistency.
27152 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27154 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
27155 (gst_base_transform_handle_buffer):
27156 * gst/base/gstbasetransform.h:
27157 Remove broken delay_configure (fixes renegotiation of software
27158 scaling pipelines); remove some leftover printf()s.
27160 2005-07-28 Wim Taymans <wim@fluendo.com>
27162 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
27163 Added some more tests for wrong hierarchy
27165 * docs/design/part-overview.txt:
27166 Some updates.
27168 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
27169 Cleanups.
27171 * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
27172 (gst_element_dispose):
27173 Some more cleanups.
27175 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
27176 (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
27177 (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
27178 (gst_pad_set_caps), (gst_pad_send_event):
27179 Check for correct hierarchy when linking pads. Moving to
27180 strict requirement for ghostpads when linking elements in
27181 different bins.
27183 * gst/gstpad.h:
27184 Clean ups. Added WRONG_HIERARCHY return value.
27186 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27188 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
27189 Better debug if no transform is possible.
27191 2005-07-27 Wim Taymans <wim@fluendo.com>
27193 * docs/random/wtay/network-transp:
27194 Some old doc I had.
27196 2005-07-27 Wim Taymans <wim@fluendo.com>
27198 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
27199 (gst_dp_event_from_packet):
27200 Fix serialization of seek events.
27202 2005-07-27 Wim Taymans <wim@fluendo.com>
27204 * check/gst-libs/gdp.c: (GST_START_TEST):
27205 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
27206 Fix compilation and fix event serialization.
27208 2005-07-27 Wim Taymans <wim@fluendo.com>
27210 * CHANGES-0.9:
27211 * docs/design/part-TODO.txt:
27212 * docs/design/part-events.txt:
27213 Some docs updates
27215 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
27216 (gst_base_sink_event), (gst_base_sink_do_sync),
27217 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
27218 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
27219 (gst_base_src_do_seek), (gst_base_src_event_handler),
27220 (gst_base_src_loop):
27221 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
27222 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
27223 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
27224 (gst_base_transform_event), (gst_base_transform_handle_buffer),
27225 (gst_base_transform_set_passthrough),
27226 (gst_base_transform_is_passthrough):
27227 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
27228 * gst/elements/gstfilesink.c: (gst_file_sink_event):
27229 Event updates.
27231 * gst/gstbuffer.h:
27232 Use faster casts.
27234 * gst/gstelement.c: (gst_element_seek):
27235 * gst/gstelement.h:
27236 Update gst_element_seek.
27238 * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
27239 (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
27240 (gst_event_new_flush_start), (gst_event_new_flush_stop),
27241 (gst_event_new_eos), (gst_event_new_newsegment),
27242 (gst_event_parse_newsegment), (gst_event_new_tag),
27243 (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
27244 (gst_event_parse_qos), (gst_event_new_seek),
27245 (gst_event_parse_seek), (gst_event_new_navigation):
27246 * gst/gstevent.h:
27247 Make GstEvent use GstStructure. Add parsing code, make sure the
27248 API is sufficiently generic.
27249 Mark possible directions of events and serialization.
27251 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
27252 (_gst_message_copy), (gst_message_new_segment_start),
27253 (gst_message_new_segment_done), (gst_message_new_custom),
27254 (gst_message_parse_segment_start),
27255 (gst_message_parse_segment_done):
27256 Small cleanups.
27258 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
27259 (gst_pad_set_caps), (gst_pad_send_event):
27260 Update for new events.
27261 Catch events sent in wrong directions.
27263 * gst/gstqueue.c: (gst_queue_link_src),
27264 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
27265 (gst_queue_handle_src_query):
27266 Event updates.
27268 * gst/gsttag.c:
27269 * gst/gsttag.h:
27270 Remove event code from this file.
27272 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
27273 (gst_dp_event_from_packet):
27274 Event updates.
27276 2005-07-27 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27278 * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
27279 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
27280 (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
27281 Make debugging actually useful.
27283 2005-07-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27285 * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
27286 (gst_pad_fixate_caps):
27287 Implement default fixation once again, so that gst_pad_fixate()
27288 actually does anything at all. This probably needs to be some
27289 sort of a last resort, and use profile-based fixation first, but
27290 since that doesn't exist yet, this is the best we have. Fixes
27291 visualization in Totem.
27293 2005-07-22 Wim Taymans <wim@fluendo.com>
27295 * docs/design/part-events.txt:
27296 Small update.
27298 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
27299 (gst_base_sink_do_sync), (gst_base_sink_activate_push),
27300 (gst_base_sink_activate_pull):
27301 Some more comments.
27303 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
27304 (gst_fake_src_create):
27305 Fix handoff marshall.
27307 * gst/elements/gstidentity.c: (gst_identity_class_init),
27308 (gst_identity_transform_ip):
27309 We're a real inplace element.
27311 * gst/gstbus.c: (gst_bus_post):
27312 Added some comments.
27314 * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
27315 * tests/muxing/case1.c: (main):
27316 * tests/sched/dynamic-pipeline.c: (main):
27317 * tests/sched/interrupt1.c: (main):
27318 * tests/sched/interrupt2.c: (main):
27319 * tests/sched/interrupt3.c: (main):
27320 * tests/sched/runxml.c: (main):
27321 * tests/sched/sched-stress.c: (main):
27322 * tests/seeking/seeking1.c: (event_received), (main):
27323 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
27324 (main):
27325 * tests/threadstate/threadstate3.c: (main):
27326 * tests/threadstate/threadstate4.c: (main):
27327 * tests/threadstate/threadstate5.c: (main):
27328 Fix the tests.
27330 2005-07-21 Wim Taymans <wim@fluendo.com>
27332 * docs/design/part-seeking.txt:
27333 Some small additions.
27335 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
27336 (gst_base_sink_get_times), (gst_base_sink_do_sync),
27337 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
27338 * gst/base/gstbasesink.h:
27339 discont values are gint64, handle the math correctly.
27341 * gst/base/gstbasesrc.c: (gst_base_src_loop):
27342 Make the basesrc report error if the source pad is not linked.
27344 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
27345 (gst_queue_loop), (gst_queue_handle_src_query),
27346 (gst_queue_src_activate_push):
27347 Make queue collect data even if the srcpad is not linked.
27348 Start pushing out data as soon as it is linked.
27350 * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
27351 * gst/gstutils.h:
27352 Added gst_flow_get_name() to ease error reporting.
27354 2005-07-20 Wim Taymans <wim@fluendo.com>
27356 * gst/gstmessage.c: (gst_message_new_segment_start),
27357 (gst_message_new_segment_done), (gst_message_parse_segment_start),
27358 (gst_message_parse_segment_done):
27359 * gst/gstmessage.h:
27360 Added a bunch of messages for advanced seeking.
27362 * gst/parse/grammar.y:
27363 * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
27364 (gst_dpman_state_changed):
27365 Fix some new-pad -> pad-added signals
27367 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27369 * docs/manual/appendix-porting.xml:
27370 * docs/pwg/appendix-porting.xml:
27371 Document new-pad/state-change signal renames and the FixedList
27372 type rename.
27374 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27376 * docs/manual/advanced-autoplugging.xml:
27377 * docs/manual/basics-helloworld.xml:
27378 * docs/manual/basics-pads.xml:
27379 * docs/random/ds/0.9-suggested-changes:
27380 * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
27381 * gst/gstelement.h:
27382 * gst/gstevent.h:
27383 * gst/gstformat.h:
27384 * gst/gstquery.h:
27385 * gst/gststructure.c: (gst_structure_value_get_generic_type),
27386 (gst_structure_parse_array), (gst_structure_parse_value):
27387 * gst/gstvalue.c: (gst_type_is_fixed),
27388 (gst_value_list_prepend_value), (gst_value_list_append_value),
27389 (gst_value_list_get_size), (gst_value_list_get_value),
27390 (gst_value_transform_array_string), (gst_value_serialize_array),
27391 (gst_value_deserialize_array), (gst_value_intersect_array),
27392 (gst_value_is_fixed), (_gst_value_initialize):
27393 * gst/gstvalue.h:
27394 GstElement::new-pad -> pad-added, GstElement::state-change ->
27395 state-changed, GstValueFixedList -> GstValueArray, add format and
27396 flags as their own arguments in gst_element_seek() (should improve
27397 "bindeability"), remove function generators since they don't work
27398 under a whole bunch of compilers (they were deprecated already
27399 anyway).
27401 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27403 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
27404 (_gst_debug_register_funcptr):
27405 * gst/gstinfo.h:
27406 Fix illegal cast on some platforms (#309253).
27408 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27410 * gst/gstmessage.c: (gst_message_new_custom):
27411 * gst/gstmessage.h:
27412 Add _new_custom, make _new_application a macro to _new_custom.
27414 2005-07-20 Wim Taymans <wim@fluendo.com>
27416 * gst/base/gstbasesrc.c: (gst_base_src_init),
27417 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
27418 * gst/base/gstbasesrc.h:
27419 Add a gboolean to decide when to push out a discont.
27421 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
27422 (gst_queue_loop), (gst_queue_handle_src_query),
27423 (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
27424 (gst_queue_set_property), (gst_queue_get_property):
27425 Some cleanups.
27427 * tests/threadstate/threadstate1.c: (main):
27428 Make a thread test compile and run... very silly..
27431 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27433 * docs/manual/appendix-porting.xml:
27434 Mention removal of libgstgconf-0.9.la and existence of gconf
27435 elements.
27437 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27439 * docs/pwg/advanced-clock.xml:
27440 * docs/pwg/appendix-porting.xml:
27441 * docs/pwg/intro-preface.xml:
27442 * docs/pwg/other-base.xml:
27443 * docs/pwg/other-manager.xml:
27444 * docs/pwg/other-nton.xml:
27445 * docs/pwg/other-ntoone.xml:
27446 * docs/pwg/other-oneton.xml:
27447 * docs/pwg/pwg.xml:
27448 Document base classes, update sections of n-to-1 and 1-to-n (muxer,
27449 demuxer), remove n-to-n (was never written), fix some code examples
27450 and links and update the porting section to include all this.
27452 2005-07-19 Wim Taymans <wim@fluendo.com>
27454 * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
27455 (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
27456 (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
27457 (gst_queue_src_activate_push), (gst_queue_change_state),
27458 (gst_queue_get_property):
27459 * gst/gstqueue.h:
27460 Propagate GstFlowReturn more intelligently upstream and output
27461 an ERROR/EOS when streaming stopped due to fatal error.
27463 2005-07-19 Wim Taymans <wim@fluendo.com>
27465 * tools/gst-launch.c: (check_intr), (event_loop), (main):
27466 Don't block forever for the state change to complete, the
27467 pipeline already did with a sensible timeout.
27469 2005-07-19 Wim Taymans <wim@fluendo.com>
27471 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
27472 Make sure we never call the create function is we
27473 got deactivated.
27475 2005-07-19 Andy Wingo <wingo@pobox.com>
27477 * gst/parse/parse.l: Attempt to solve bug #172815.
27479 2005-07-19 Wim Taymans <wim@fluendo.com>
27481 * docs/design/part-clocks.txt:
27482 * docs/design/part-events.txt:
27483 * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
27484 Small docs updates.
27485 Only update the seeking values when we are not
27486 busy streaming.
27488 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
27490 * gst/base/gstbasesrc.c: (gst_base_src_loop):
27491 Oops, ignore the result of gst_pad_push_event here.
27493 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
27495 * gst/base/gstbasesrc.c: (gst_base_src_loop),
27496 (gst_base_src_activate_push):
27497 Send discont event from the loop function, as pads
27498 aren't activated yet in the activate_push handler.
27500 * gst/gstbin.c: (bin_bus_handler):
27501 Don't leak element name.
27503 2005-07-18 Andy Wingo <wingo@pobox.com>
27505 * configure.ac: Use AS_LIBTOOL_TAGS.
27507 2005-07-18 Wim Taymans <wim@fluendo.com>
27509 * docs/gst/gstreamer.types:
27510 Remove deleted types.
27512 2005-07-18 Wim Taymans <wim@fluendo.com>
27514 * check/elements/gstfakesrc.c: (GST_START_TEST):
27515 * configure.ac:
27516 * gst/Makefile.am:
27517 * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
27518 (init_popt_callback):
27519 * gst/gst.h:
27520 * gst/gst_private.h:
27521 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
27522 (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
27523 * gst/gstbin.h:
27524 * gst/gstbus.h:
27525 * gst/gstconfig.h.in:
27526 * gst/gstelement.c: (gst_element_class_init),
27527 (gst_element_set_base_time), (gst_element_get_base_time),
27528 (iterator_fold_with_resync), (gst_element_change_state),
27529 (gst_element_dispose), (gst_element_get_bus):
27530 * gst/gstelement.h:
27531 * gst/gstelementfactory.h:
27532 * gst/gsterror.c: (_gst_core_errors_init):
27533 * gst/gsterror.h:
27534 * gst/gstevent.h:
27535 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
27536 * gst/gstindex.c:
27537 * gst/gstinfo.c: (_gst_debug_init):
27538 * gst/gstmessage.c: (_gst_message_copy):
27539 * gst/gstmessage.h:
27540 * gst/gstminiobject.h:
27541 * gst/gstobject.c:
27542 * gst/gstobject.h:
27543 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
27544 (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
27545 * gst/gstpad.h:
27546 * gst/gstparse.h:
27547 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
27548 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
27549 (gst_pipeline_get_last_stream_time):
27550 * gst/gstpipeline.h:
27551 * gst/gstpluginfeature.h:
27552 * gst/gstquery.h:
27553 * gst/gstscheduler.c:
27554 * gst/gstscheduler.h:
27555 * gst/gststructure.h:
27556 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
27557 (gst_task_finalize), (gst_task_func), (gst_task_create),
27558 (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
27559 (gst_task_stop), (gst_task_pause):
27560 * gst/gsttask.h:
27561 * gst/gsttypefind.h:
27562 * gst/gsttypes.h:
27563 * gst/registries/gstlibxmlregistry.c: (load_feature),
27564 (gst_xml_registry_load), (gst_xml_registry_save_feature):
27565 * gst/registries/gstxmlregistry.c:
27566 (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
27567 * gst/schedulers/threadscheduler.c:
27568 * libs/gst/control/dparammanager.h:
27569 * tools/gst-inspect.c: (print_element_list),
27570 (print_plugin_features), (print_element_features):
27571 * tools/gst-xmlinspect.c: (print_element_list),
27572 (print_plugin_info), (main):
27573 Removed plugable schedulers.
27574 Removed Scheduler/Manager from elements.
27575 Removed gsttypes.h, rearranged includes.
27576 Removed dependency pad<->element, element<>pipeline, and
27577 various others, fix includes.
27578 implement gst_pad_get_parent() with gst_object_get_parent()
27579 Make GstTask sefcontained.
27580 Fix _get_state() on GstBin, it did not return ASYNC with a 0
27581 timeout.
27582 Fix endless loop in iterator_fold_with_resync.
27585 2005-07-18 Wim Taymans <wim@fluendo.com>
27587 * gst/Makefile.am:
27588 * gst/gstarch.h:
27589 Remove old file.
27591 2005-07-18 Wim Taymans <wim@fluendo.com>
27593 * gst/Makefile.am:
27594 No more cothreads.h
27596 2005-07-18 Wim Taymans <wim@fluendo.com>
27598 * gst/cothreads.c:
27599 * gst/cothreads.h:
27600 Let's remove these.
27602 2005-07-18 Wim Taymans <wim@fluendo.com>
27604 * docs/design/part-dynamic.txt:
27605 * docs/design/part-events.txt:
27606 * docs/design/part-seeking.txt:
27607 Some more docs in the works.
27609 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
27610 (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
27611 (gst_base_transform_setcaps), (gst_base_transform_get_size),
27612 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
27613 (gst_base_transform_handle_buffer),
27614 (gst_base_transform_sink_activate_push),
27615 (gst_base_transform_src_activate_pull),
27616 (gst_base_transform_set_passthrough),
27617 (gst_base_transform_is_passthrough):
27618 Refcounting fixes.
27620 * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
27621 Cleanups.
27623 * gst/gstevent.c: (gst_event_finalize):
27624 Set SRC to NULL.
27626 * gst/gstutils.c: (gst_element_unlink),
27627 (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
27628 (gst_pad_proxy_setcaps):
27629 * gst/gstutils.h:
27630 Add _get_parent_element() to get a pads parent as an element.
27632 2005-07-18 Wim Taymans <wim@fluendo.com>
27634 * check/gst/gstbin.c: (GST_START_TEST):
27635 Remove bogus test.
27637 2005-07-18 Wim Taymans <wim@fluendo.com>
27639 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
27640 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
27641 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
27642 (gst_base_sink_event), (gst_base_sink_do_sync),
27643 (gst_base_sink_chain), (gst_base_sink_loop),
27644 (gst_base_sink_deactivate), (gst_base_sink_activate_push),
27645 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
27646 Refcounting fixes.
27647 Fix logic for returning ASYNC when not prerolled.
27649 2005-07-18 Wim Taymans <wim@fluendo.com>
27651 * gst/gstqueue.c: (gst_queue_handle_sink_event):
27652 Fix nasty refcount bug.
27654 2005-07-16 Philippe Khalaf <burger@speedy.org>
27656 * gst/elements/gstfdsrc.c:
27657 * gst/elements/gstfdsrc.h:
27658 * gst/elements/gstelements.c:
27659 * gst/elements/Makefile.am:
27660 Ported fdsrc to 0.9.
27662 2005-07-16 Wim Taymans <wim@fluendo.com>
27664 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
27665 (gst_base_sink_do_sync):
27666 Fix compile error.
27668 2005-07-16 Wim Taymans <wim@fluendo.com>
27670 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
27671 (gst_base_sink_event), (gst_base_sink_get_times),
27672 (gst_base_sink_do_sync), (gst_base_sink_change_state):
27673 * gst/base/gstbasesink.h:
27674 Store and use discont values when syncing buffers as described
27675 in design docs.
27677 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
27678 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
27679 (gst_base_src_activate_push):
27680 Push discont event when starting.
27682 * gst/elements/gstidentity.c: (gst_identity_transform):
27683 Small cleanups.
27685 * gst/gstbin.c: (gst_bin_change_state):
27686 Small cleanups in base_time distribution.
27688 * gst/gstelement.c: (gst_element_set_base_time),
27689 (gst_element_get_base_time), (gst_element_change_state):
27690 * gst/gstelement.h:
27691 Added methods for the base_time of the element.
27692 Some MT fixes.
27694 * gst/gstpipeline.c: (gst_pipeline_send_event),
27695 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
27696 (gst_pipeline_get_last_stream_time):
27697 * gst/gstpipeline.h:
27698 MT fixes.
27699 Handle seeking as described in design doc, remove stream_time
27700 hack.
27701 Cleanups clock and stream_time selection code. Added accessors
27702 for the stream_time.
27705 2005-07-16 Andy Wingo <wingo@pobox.com>
27707 * gst/gsterror.c (_gst_core_errors_init): Use the magic word
27708 (#305291).
27710 2005-07-16 Wim Taymans <wim@fluendo.com>
27712 * check/gst/gstbin.c: (GST_START_TEST):
27713 Make elements silent as the deep_notify refs the
27714 parent, which might make the test fail.
27716 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
27717 Don't hold the lock for too long.
27719 2005-07-16 Tim-Philipp Müller <tim at centricular dot net>
27721 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
27722 Don't unref the caps we passed to gst_caps_make_writable() after
27723 passing them. gst_caps_make_writable() will do that for us.
27725 2005-07-15 Andy Wingo <wingo@pobox.com>
27727 * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
27728 (#157311).
27730 * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
27731 own marshalling function for the handoff signal. Properly type the
27732 buffer as a buffer. Fixes some warnings. Should do a more general
27733 solution.
27734 (gst_identity_class_init): Plug into the right marshaller.
27736 2005-07-15 Wim Taymans <wim@fluendo.com>
27738 * docs/design/part-TODO.txt:
27739 * docs/design/part-clocks.txt:
27740 * docs/design/part-element-sink.txt:
27741 * docs/design/part-events.txt:
27742 * docs/design/part-gstpipeline.txt:
27743 Updated docs, mostly DISCONT related.
27745 2005-07-15 Tim-Philipp Müller <tim at centricular dot net>
27747 * docs/pwg/building-pads.xml:
27748 s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
27750 2005-07-15 Andy Wingo <wingo@pobox.com>
27752 * tools/gst-typefind.c: Update, add copyright block.
27754 * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
27755 Normalize and truncate caps before fixation.
27757 * gst/gstcaps.h:
27758 * gst/gstcaps.c (gst_caps_truncate): New function, destructively
27759 discards all but the first structure from its argument.
27761 2005-07-15 Wim Taymans <wim@fluendo.com>
27763 * gst/base/gstbasetransform.c: (gst_base_transform_init),
27764 (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
27765 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
27766 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
27767 (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
27768 (gst_base_transform_chain), (gst_base_transform_change_state),
27769 (gst_base_transform_set_passthrough),
27770 (gst_base_transform_is_passthrough):
27771 * gst/base/gstbasetransform.h:
27772 Make passthrough work using the bufferpools.
27773 Changed API a bit, subclasses have to write into a buffer
27774 provided by the base class.
27775 More debug info in nego functions.
27777 * gst/elements/gstidentity.c: (gst_identity_init),
27778 (gst_identity_transform):
27779 Port to new base class.
27781 2005-07-15 Wim Taymans <wim@fluendo.com>
27783 * gst/gstmessage.c: (gst_message_new_state_changed):
27784 * tools/gst-launch.c: (event_loop), (main):
27785 Totally dump messages in -launch with the -m option.
27786 Fix message name for State messages,
27788 2005-07-14 Wim Taymans <wim@fluendo.com>
27790 * gst/base/gstbasesrc.c: (gst_base_src_loop):
27791 Post error messages on errors.
27793 2005-07-14 Wim Taymans <wim@fluendo.com>
27795 * gst/gstcaps.c: (gst_caps_do_simplify):
27796 Remove debug info.
27798 * gst/gsterror.h:
27799 Define error for stream stopped.
27801 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
27802 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
27803 Do proper return values.
27805 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
27806 (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
27807 (gst_pad_get_range):
27808 Better return values.
27810 * gst/gstpad.h:
27811 Reorganise return values, add macro to check for fatal errors.
27813 * gst/gstqueue.c: (gst_queue_chain):
27814 Return proper GstFlowReturn values,
27816 2005-07-14 Thomas Vander Stichele <thomas at apestaart dot org>
27818 * docs/gst/gstreamer-sections.txt:
27819 * docs/gst/gstreamer.types:
27820 * docs/gst/tmpl/gst.sgml:
27821 * docs/gst/tmpl/gstbasesink.sgml:
27822 * docs/gst/tmpl/gstbasesrc.sgml:
27823 * docs/gst/tmpl/gstbasetransform.sgml:
27824 * docs/gst/tmpl/gstbin.sgml:
27825 * docs/gst/tmpl/gstbuffer.sgml:
27826 * docs/gst/tmpl/gstcaps.sgml:
27827 * docs/gst/tmpl/gstclock.sgml:
27828 * docs/gst/tmpl/gstcompat.sgml:
27829 * docs/gst/tmpl/gstconfig.sgml:
27830 * docs/gst/tmpl/gstelement.sgml:
27831 * docs/gst/tmpl/gstelementdetails.sgml:
27832 * docs/gst/tmpl/gstelementfactory.sgml:
27833 * docs/gst/tmpl/gstenumtypes.sgml:
27834 * docs/gst/tmpl/gsterror.sgml:
27835 * docs/gst/tmpl/gstevent.sgml:
27836 * docs/gst/tmpl/gstfakesink.sgml:
27837 * docs/gst/tmpl/gstfakesrc.sgml:
27838 * docs/gst/tmpl/gstfilesink.sgml:
27839 * docs/gst/tmpl/gstfilesrc.sgml:
27840 * docs/gst/tmpl/gstfilter.sgml:
27841 * docs/gst/tmpl/gstformat.sgml:
27842 * docs/gst/tmpl/gstghostpad.sgml:
27843 * docs/gst/tmpl/gstimplementsinterface.sgml:
27844 * docs/gst/tmpl/gstindex.sgml:
27845 * docs/gst/tmpl/gstindexfactory.sgml:
27846 * docs/gst/tmpl/gstinfo.sgml:
27847 * docs/gst/tmpl/gstiterator.sgml:
27848 * docs/gst/tmpl/gstmacros.sgml:
27849 * docs/gst/tmpl/gstmemchunk.sgml:
27850 * docs/gst/tmpl/gstminiobject.sgml:
27851 * docs/gst/tmpl/gstobject.sgml:
27852 * docs/gst/tmpl/gstpad.sgml:
27853 * docs/gst/tmpl/gstpadtemplate.sgml:
27854 * docs/gst/tmpl/gstparse.sgml:
27855 * docs/gst/tmpl/gstpipeline.sgml:
27856 * docs/gst/tmpl/gstplugin.sgml:
27857 * docs/gst/tmpl/gstpluginfeature.sgml:
27858 * docs/gst/tmpl/gstquery.sgml:
27859 * docs/gst/tmpl/gstqueue.sgml:
27860 * docs/gst/tmpl/gstregistry.sgml:
27861 * docs/gst/tmpl/gstregistrypool.sgml:
27862 * docs/gst/tmpl/gstscheduler.sgml:
27863 * docs/gst/tmpl/gstschedulerfactory.sgml:
27864 * docs/gst/tmpl/gststructure.sgml:
27865 * docs/gst/tmpl/gstsystemclock.sgml:
27866 * docs/gst/tmpl/gsttaglist.sgml:
27867 * docs/gst/tmpl/gsttagsetter.sgml:
27868 * docs/gst/tmpl/gsttrace.sgml:
27869 * docs/gst/tmpl/gsttrashstack.sgml:
27870 * docs/gst/tmpl/gsttypefind.sgml:
27871 * docs/gst/tmpl/gsttypefindfactory.sgml:
27872 * docs/gst/tmpl/gsttypes.sgml:
27873 * docs/gst/tmpl/gsturihandler.sgml:
27874 * docs/gst/tmpl/gsturitype.sgml:
27875 * docs/gst/tmpl/gstutils.sgml:
27876 * docs/gst/tmpl/gstvalue.sgml:
27877 * docs/gst/tmpl/gstversion.sgml:
27878 * docs/gst/tmpl/gstxml.sgml:
27879 * docs/libs/tmpl/gstcontrol.sgml:
27880 * docs/libs/tmpl/gstdataprotocol.sgml:
27881 * docs/libs/tmpl/gstdparam.sgml:
27882 * docs/libs/tmpl/gstdplinint.sgml:
27883 * docs/libs/tmpl/gstdpman.sgml:
27884 * docs/libs/tmpl/gstdpsmooth.sgml:
27885 * docs/libs/tmpl/gstgetbits.sgml:
27886 * docs/libs/tmpl/gstunitconvert.sgml:
27887 * gst/base/gstpushsrc.c: (gst_push_src_get_type),
27888 (gst_push_src_base_init), (gst_push_src_class_init),
27889 (gst_push_src_init), (gst_push_src_create):
27890 * gst/base/gstpushsrc.h:
27891 * gst/elements/gstelements.c:
27892 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
27893 (gst_fake_sink_base_init), (gst_fake_sink_class_init),
27894 (gst_fake_sink_init), (gst_fake_sink_set_property),
27895 (gst_fake_sink_get_property), (gst_fake_sink_get_times),
27896 (gst_fake_sink_event), (gst_fake_sink_preroll),
27897 (gst_fake_sink_render), (gst_fake_sink_change_state):
27898 * gst/elements/gstfakesink.h:
27899 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
27900 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
27901 (gst_fake_src_base_init), (gst_fake_src_class_init),
27902 (gst_fake_src_init), (gst_fake_src_event_handler),
27903 (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
27904 (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
27905 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
27906 (gst_fake_src_create_buffer), (gst_fake_src_create),
27907 (gst_fake_src_start), (gst_fake_src_stop):
27908 * gst/elements/gstfakesrc.h:
27909 * gst/elements/gstfilesink.c: (_do_init),
27910 (gst_file_sink_base_init), (gst_file_sink_class_init),
27911 (gst_file_sink_init), (gst_file_sink_dispose),
27912 (gst_file_sink_set_location), (gst_file_sink_set_property),
27913 (gst_file_sink_get_property), (gst_file_sink_open_file),
27914 (gst_file_sink_close_file), (gst_file_sink_query),
27915 (gst_file_sink_event), (gst_file_sink_render),
27916 (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
27917 (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
27918 (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
27919 * gst/elements/gstfilesink.h:
27920 * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
27921 (gst_file_src_class_init), (gst_file_src_init),
27922 (gst_file_src_finalize), (gst_file_src_set_location),
27923 (gst_file_src_set_property), (gst_file_src_get_property),
27924 (gst_file_src_map_region), (gst_file_src_map_small_region),
27925 (gst_file_src_create_mmap), (gst_file_src_create_read),
27926 (gst_file_src_create), (gst_file_src_is_seekable),
27927 (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
27928 (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
27929 (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
27930 (gst_file_src_uri_handler_init):
27931 * gst/elements/gstfilesrc.h:
27932 more autistic cleanliness in functions/names/defines
27934 2005-07-13 Andy Wingo <wingo@pobox.com>
27936 * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
27937 source couldn't negotiate.
27939 * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
27940 connections again.
27942 * gst/gstutils.h:
27943 * gst/gstutils.c (gst_element_link_pads_filtered): New old
27944 function. I am channeling Hades. Put your boots on suckers!!!
27946 2005-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
27948 * testsuite/caps/Makefile.am:
27949 * testsuite/caps/value_compare.c:
27950 * testsuite/caps/value_intersect.c:
27951 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
27952 move two testsuite apps over to the check dir
27954 2005-07-12 Wim Taymans <wim@fluendo.com>
27956 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
27957 Added more debug info in the negotiate process.
27959 * gst/gstmessage.h:
27960 Prepare for segment playback.
27962 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
27963 Better debugging.
27965 * gst/gstutils.c:
27966 Some more docs.
27968 * tools/gst-launch.c: (main):
27969 NULL pipeline on errors.
27971 2005-07-12 Andy Wingo <wingo@pobox.com>
27973 * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
27974 not it comes from a malloc region. Make sure our copy gets freed.
27976 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
27978 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
27979 * check/gst/gstmessage.c: (GST_START_TEST):
27980 * check/gst/gststructure.c: (GST_START_TEST),
27981 (gst_structure_suite), (main):
27982 more testing
27983 * gst/gstelement.c: (gst_element_message_full):
27984 clean up GError and debug string now that they get copied
27985 * gst/gstmessage.c: (gst_message_new_error),
27986 (gst_message_new_warning), (gst_message_parse_error),
27987 (gst_message_parse_warning):
27988 use GST_TYPE_G_ERROR for structure_new, and take copies of
27989 arguments, so that we don't mess up refcounting
27991 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
27993 * check/Makefile.am:
27994 add per-test valgrind targets
27995 * check/gst-libs/gdp.c: (GST_START_TEST),
27996 (gst_data_protocol_suite), (main):
27997 clean up
27999 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
28001 * check/Makefile.am:
28002 instate more valgrindable tests
28003 * check/elements/gstfakesrc.c: (chain_func), (event_func),
28004 (GST_START_TEST), (fakesrc_suite):
28005 * check/gst/gstpad.c: (GST_START_TEST):
28006 * check/gst/gststructure.c: (GST_START_TEST):
28007 fix test leaks
28008 * docs/gst/tmpl/gstminiobject.sgml:
28009 * gst/gstpad.c: (gst_pad_finalize):
28010 fix the static mutex leak
28012 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
28014 * check/Makefile.am:
28015 add two more tests for valgrinding
28016 * check/gst/gstvalue.c: (GST_START_TEST):
28017 test refcount of deserialized buffer, found a leak
28018 * docs/gst/gstreamer-docs.sgml:
28019 * docs/gst/gstreamer-sections.txt:
28020 * docs/gst/gstreamer.types:
28021 * docs/gst/tmpl/gstminiobject.sgml:
28022 add miniobject to docs
28023 * gst/gstminiobject.c:
28024 add some docs
28025 * gst/gstvalue.c: (gst_value_deserialize_buffer),
28026 (gst_string_unwrap):
28027 fix a hard-to-find invalid write for one of the tests
28028 fix a leak for deserialized buffers
28030 2005-07-11 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28032 * docs/pwg/advanced-events.xml:
28033 * docs/pwg/advanced-request.xml:
28034 * docs/pwg/advanced-scheduling.xml:
28035 * docs/pwg/appendix-porting.xml:
28036 * docs/pwg/building-boiler.xml:
28037 * docs/pwg/intro-preface.xml:
28038 * docs/pwg/other-ntoone.xml:
28039 Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
28040 of example code and explanation for pad activation, loop() and
28041 getrange() functions and a bit more. Remove old comments pointing
28042 to loop-functions.
28043 * examples/pwg/Makefile.am:
28044 Add loop/getrange examples.
28046 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
28048 * configure.ac:
28049 check for valgrind binary + some fixes
28050 * check/gst.supp:
28051 valgrind suppressions for the tests
28052 * check/Makefile.am:
28053 add a valgrind: target that valgrinds the unit tests
28054 * check/gst/gst.c: (GST_START_TEST), (gst_suite):
28055 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
28056 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
28057 * check/gst/gstghostpad.c:
28058 added some cleanup
28059 * check/gst/gstdata.c:
28060 removed
28061 * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
28062 (thread_unref), (gst_mini_object_suite), (main):
28063 added
28064 * gst/gst.c: (gst_deinit):
28065 * gst/gst.h:
28066 add a method to clean up.
28067 * gst/gstsystemclock.c: (gst_system_clock_dispose),
28068 (gst_system_clock_obtain):
28069 allow for disposing the system clock.
28070 * tools/gst-launch.c: (main):
28071 deinit
28073 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
28075 * docs/gst/tmpl/gstbasesrc.sgml:
28076 * docs/gst/tmpl/gstfakesrc.sgml:
28077 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
28078 (gst_base_src_init), (gst_base_src_set_property),
28079 (gst_base_src_get_property), (gst_base_src_get_range),
28080 (gst_base_src_start):
28081 * gst/base/gstbasesrc.h:
28082 add num-buffers property
28083 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
28084 (gst_fakesrc_init), (gst_fakesrc_set_property),
28085 (gst_fakesrc_get_property), (gst_fakesrc_create),
28086 (gst_fakesrc_start):
28087 remove num-buffers property
28089 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
28091 * docs/gst/gstreamer-sections.txt:
28092 * docs/gst/tmpl/gstbasesink.sgml:
28093 * docs/gst/tmpl/gstbasesrc.sgml:
28094 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
28095 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
28096 (gst_base_sink_finalize), (gst_base_sink_set_clock),
28097 (gst_base_sink_set_property), (gst_base_sink_get_property),
28098 (gst_base_sink_handle_object), (gst_base_sink_event),
28099 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
28100 (gst_base_sink_handle_buffer), (gst_base_sink_chain),
28101 (gst_base_sink_loop), (gst_base_sink_deactivate),
28102 (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
28103 (gst_base_sink_change_state):
28104 * gst/base/gstbasesink.h:
28105 * gst/base/gstbasesrc.h:
28106 * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
28107 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
28108 (gst_filesink_init):
28109 more macro splitting
28111 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
28113 * gst/gstelement.c: (gst_element_get_bus):
28114 add debug
28115 * tools/gst-launch.c: (check_intr), (event_loop):
28116 fix bus leaks
28118 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
28120 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
28121 fix a caps leak
28123 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
28125 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
28126 (gst_base_src_finalize):
28127 add finalize method and clean up properly
28128 * gst/gstpipeline.c: (gst_pipeline_dispose):
28129 add debug
28131 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
28133 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
28134 (gst_bin_suite):
28135 add more things to check
28136 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
28137 * gst/gstelement.c:
28138 more debug
28140 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
28142 * check/elements/gstfakesrc.c: (chain_func), (event_func),
28143 (GST_START_TEST), (fakesrc_suite):
28144 * check/gst-libs/gdp.c: (GST_START_TEST):
28145 * check/gst/gst.c: (GST_START_TEST):
28146 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
28147 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
28148 * check/gst/gstbus.c: (GST_START_TEST):
28149 * check/gst/gstcaps.c: (GST_START_TEST):
28150 * check/gst/gstdata.c: (GST_START_TEST):
28151 * check/gst/gstelement.c: (GST_START_TEST):
28152 * check/gst/gstghostpad.c: (GST_START_TEST):
28153 * check/gst/gstiterator.c: (GST_START_TEST):
28154 * check/gst/gstmessage.c: (GST_START_TEST):
28155 * check/gst/gstobject.c: (GST_START_TEST):
28156 * check/gst/gstpad.c: (GST_START_TEST):
28157 * check/gst/gststructure.c: (GST_START_TEST):
28158 * check/gst/gstsystemclock.c: (GST_START_TEST),
28159 (gst_systemclock_suite):
28160 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
28161 * check/gst/gstvalue.c: (GST_START_TEST):
28162 * check/pipelines/cleanup.c: (GST_START_TEST):
28163 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
28164 * check/states/sinks.c: (GST_START_TEST):
28165 * check/gstcheck.c: (gst_check_init):
28166 * check/gstcheck.h:
28167 add debugging category
28168 use GST_START_TEST now, so we add a debug line
28170 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
28172 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
28173 add test for state change message on a bin
28174 * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
28175 add another test
28176 * gst/gstbin.c: (gst_bin_init):
28177 * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
28178 * gst/gstelement.c: (gst_element_post_message),
28179 (gst_element_set_state):
28180 * gst/gstelementfactory.c: (gst_element_factory_create):
28181 * gst/gstmessage.c: (gst_message_new):
28182 * gst/gstscheduler.c:
28183 various debugging additions and cleanups
28185 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
28187 * check/Makefile.am:
28188 * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
28189 (main):
28190 adding tests for elements
28191 * gst/gstelement.c: (gst_element_dispose):
28193 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
28195 * gst/registries/gstlibxmlregistry.c: (load_feature):
28196 plug more leaks. A simple gst_init() now is leakfree, yay.
28198 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
28200 * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
28201 (gst_xml_registry_load):
28202 plug another memleak
28204 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
28206 * configure.ac:
28207 use GST_SET_ERROR_CFLAGS
28208 * docs/faq/cvs.xml:
28209 change to ERROR_CFLAGS
28211 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
28213 * configure.ac:
28214 make GST_ERROR_CFLAGS overridable and re-enable Werror
28215 * docs/faq/cvs.xml:
28216 add a note about error CFLAGS
28217 * docs/gst/tmpl/gstfakesrc.sgml:
28218 * gst/elements/gstfakesrc.c:
28219 comment out some unused code
28220 * gst/gst.c: (split_and_iterate):
28221 * gst/registries/gstlibxmlregistry.c: (load_pad_template),
28222 (load_feature):
28223 plug some memleaks
28225 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
28227 * common/Makefile.am:
28228 * common/gtk-doc.mak:
28229 * docs/gst/Makefile.am:
28230 factor out gtk-doc.mak
28232 2005-07-07 Wim Taymans <wim@fluendo.com>
28234 * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
28235 (gst_thread_scheduler_dispose):
28236 Unlock the STREAM_LOCK completely.
28238 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
28240 * check/Makefile.am:
28241 * check/elements/.cvsignore:
28242 * check/elements/gstfakesrc.c: (chain_func), (event_func),
28243 (START_TEST), (fakesrc_suite), (main):
28244 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
28245 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
28246 (gst_fakesrc_create), (gst_fakesrc_start):
28247 * gst/elements/gstfakesrc.h:
28248 adding a first element test
28250 2005-07-07 Andy Wingo <wingo@pobox.com>
28252 * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
28253 debug message.
28255 2005-07-07 Wim Taymans <wim@fluendo.com>
28257 * gst/gstquery.c:
28258 * gst/gstquery.h:
28259 Remove old types
28261 2005-07-07 Wim Taymans <wim@fluendo.com>
28263 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
28264 (gst_base_src_default_negotiate), (gst_base_src_negotiate):
28265 Allow subclasses to implement their own negotiation.
28267 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
28269 * docs/design/part-gstbin.txt:
28270 * docs/design/part-gstpipeline.txt:
28271 Update design notes to reflect the movement of
28272 responsibility for bus handling from GstPipeline to
28273 GstBin
28275 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
28277 * configure.ac:
28278 Remove unnecessary queue2/3/4 examples.
28280 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
28282 * examples/Makefile.am:
28283 * examples/helloworld/helloworld.c: (event_loop), (main):
28284 * examples/queue/queue.c: (event_loop), (main):
28285 * examples/queue2/queue2.c: (main):
28286 Update a couple of the examples to work again.
28288 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
28289 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
28290 Spelling corrections and extra debug.
28292 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
28293 (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
28294 (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
28295 * gst/gstbin.h:
28296 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
28297 (gst_pipeline_change_state):
28298 * gst/gstpipeline.h:
28299 Move the bus handler for children to the GstBin, and create a
28300 separate bus for receiving messages from children to the one the
28301 bus sends 'upwards' on.
28303 2005-07-06 Wim Taymans <wim@fluendo.com>
28305 * gst/base/README:
28306 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
28307 (gst_base_sink_handle_object), (gst_base_sink_loop),
28308 (gst_base_sink_change_state):
28309 * gst/base/gstbasesink.h:
28310 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
28311 (gst_base_src_init), (gst_base_src_setcaps),
28312 (gst_base_src_getcaps), (gst_base_src_loop),
28313 (gst_base_src_default_negotiate), (gst_base_src_negotiate),
28314 (gst_base_src_start), (gst_base_src_change_state):
28315 * gst/base/gstbasesrc.h:
28316 Make basesrc negotiate.
28317 Handle the case where preroll fails in basesink.
28318 Update README.
28320 2005-07-06 Wim Taymans <wim@fluendo.com>
28322 * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
28323 Implement the fixate function.
28324 Clean up acceptcaps.
28326 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28328 * docs/pwg/building-filterfactory.xml:
28329 * docs/pwg/pwg.xml:
28330 Remove never-written filter-factory chapter; I'll add the various
28331 base classes to part 4 ("other element types") later on.
28333 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28335 * docs/pwg/advanced-negotiation.xml:
28336 * docs/pwg/building-boiler.xml:
28337 * docs/pwg/building-pads.xml:
28338 * docs/pwg/pwg.xml:
28339 * examples/pwg/Makefile.am:
28340 Add a chapter on caps negotiation, simplify the original code
28341 samples a bit w.r.t. caps negotiation, add link to the advanced
28342 section. Add a bunch of examples showing different use cases of
28343 different types of caps negotiation. Upstream renegotiation isn't
28344 fully documented yet since nobody knows how that works.
28346 2005-07-06 Thomas Vander Stichele <thomas at apestaart dot org>
28348 * check/gst/gstpad.c:
28349 * check/gstcheck.c:
28350 * gst/gstpad.c: (gst_pad_get_internal_links_default):
28351 if pad has no parent, return NULL as list of internal links
28353 2005-07-05 Andy Wingo <wingo@pobox.com>
28355 * gst/elements/gstfilesrc.c:
28356 * gst/elements/gstfakesrc.c:
28357 * gst/base/gstpushsrc.c:
28358 * gst/base/gstbasesrc.h:
28359 * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
28361 2005-07-05 Stefan Kost <ensonic@users.sf.net>
28363 * Makefile.am:
28364 better report generation target (lcov needs a patch)
28366 2005-07-05 Andy Wingo <wingo@pobox.com>
28368 * gst/elements, testsuite: Null if we got it...
28370 2005-07-05 Wim Taymans <wim@fluendo.com>
28372 * configure.ac:
28373 * libs/gst/dataprotocol/Makefile.am:
28374 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
28375 * libs/gst/dataprotocol/dataprotocol.h:
28376 * pkgconfig/Makefile.am:
28377 * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
28378 * pkgconfig/gstreamer-dataprotocol.pc.in:
28379 Ported dataprotol to 0.9.
28380 Added pkgconfig files.
28382 2005-07-05 Andy Wingo <wingo@pobox.com>
28384 * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
28385 Default to returning TRUE for the case when tranform_caps returns
28386 a fixed caps, like for identity or volume.
28388 * check/gst/gstbus.c (pound_bus_with_messages):
28389 * check/gst/gstmessage.c (START_TEST):
28390 * check/pipelines/simple_launch_lines.c (got_handoff): Application
28391 message API change.
28393 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
28394 logic weaks here: always run transform_caps, trying passthrough
28395 operation only if the original caps intersects with the transform.
28397 * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
28398 source and sink caps.
28400 * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
28401 Intersect the peer caps with the pad template before going into
28402 transform_caps.
28403 (gst_base_transform_transform_caps): More debugging.
28405 * gst/gstmessage.h (gst_message_new_application): Take a GstObject
28406 src argument.
28408 2005-07-04 Edward Hervey <edward@fluendo.com>
28410 * gst/gstutils.c:
28411 * gst/gstutils.h:
28412 (gst_pad_add_*_probe): now returns the signal id for better wrapping
28413 in bindings.
28415 2005-07-04 Andy Wingo <wingo@pobox.com>
28417 * check/gst/gstpad.c: Only set explicit caps on pads.
28419 2005-07-01 Andy Wingo <wingo@pobox.com>
28421 * tests/network-clock.scm: Commentary update.
28423 * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
28424 Didn't really make sense, not implementable with basetransform,
28425 etc.
28426 (gst_identity_transform): Unref inbuf via make_writable. Feeble
28427 attempt at implementing the sync property, needs an unlock method.
28429 * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
28430 New func, by default returns the same caps (the identity
28431 transformation).
28432 (gst_base_transform_getcaps): Uses transform_caps to return
28433 something sensible.
28434 (gst_base_transform_setcaps): Complicated logic to get caps on
28435 both pads, even if they are different, and to call set_caps once
28436 for every time both pads get their caps set.
28437 (gst_base_transform_handle_buffer): Give the ref to the transform
28438 function. Allows in-place modification of the buffer.
28440 * gst/base/gstbasetransform.h (transform_caps): New class method.
28441 Given caps on one side, what can I do on the other.
28442 (set_caps): Take two caps, one for each side of the element.
28444 * gst/gstpad.h:
28445 * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
28446 caps in place. This is safe because we can check the mutability of
28447 the caps, and a good idea because fixate functions are just called
28448 as a matter of last resort. (Not actually implemented.)
28449 (gst_pad_set_caps): If the caps we're setting is actually the same
28450 as the existing pad caps, just update the pointer without calling
28451 setcaps. Assert that caps is either NULL or fixed, as per the
28452 docs.
28454 * gst/gstghostpad.c: Update for fixate changes.
28456 2005-07-02 Andy Wingo <wingo@pobox.com>
28458 * gst/gstcaps.c:
28459 * gst/gstcaps.h (gst_static_caps_get): Not const return, having
28460 two refcounts makes it immutable, which is enough. Doc more.
28462 2005-07-02 Jan Schmidt <thaytan@mad.scientist.com>
28464 * gst/gstpad.c: (gst_pad_emit_have_data_signal):
28465 Put the mini_object into GValue as a mini_object,
28466 not a gpointer, since that's how we declared
28467 the signal.
28469 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28471 * examples/pwg/Makefile.am:
28472 Fix buildbot again.
28474 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28476 * docs/pwg/building-testapp.xml:
28477 Add extra check.
28478 * examples/pwg/Makefile.am:
28479 Fix buildbot.
28481 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28483 * configure.ac:
28484 * examples/Makefile.am:
28485 * examples/pwg/Makefile.am:
28486 * examples/pwg/extract.pl:
28487 Enable building the PWG examples.
28488 * docs/pwg/advanced-interfaces.xml:
28489 Add URI interface stub.
28490 * docs/pwg/advanced-types.xml:
28491 * docs/pwg/other-autoplugger.xml:
28492 * docs/pwg/appendix-porting.xml:
28493 * docs/pwg/pwg.xml:
28494 Add porting guide (mostly stubs), remove autoplugging (see ADM).
28495 * docs/pwg/building-boiler.xml:
28496 * docs/pwg/building-chainfn.xml:
28497 * docs/pwg/building-pads.xml:
28498 * docs/pwg/building-props.xml:
28499 * docs/pwg/building-state.xml:
28500 * docs/pwg/building-testapp.xml:
28501 Update the building-*.xml parts for 0.9 changes. All examples
28502 code blocks compile in examples/pwg/*.
28504 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28506 * docs/manual/advanced-autoplugging.xml:
28507 * docs/manual/appendix-checklist.xml:
28508 * docs/manual/appendix-integration.xml:
28509 * docs/manual/highlevel-components.xml:
28510 Fix playbin/decodebin examples, update docs a bit, mention bus
28511 instead of signals in various places, mention kmplayer and
28512 kaffeine since they have a working GStreamer backend in the KDE
28513 section.
28515 2005-06-30 Wim Taymans <wim@fluendo.com>
28517 * CHANGES-0.9:
28518 * docs/design/draft-ghostpads.txt:
28519 * docs/design/draft-push-pull.txt:
28520 * docs/design/draft-query.txt:
28521 * docs/design/part-TODO.txt:
28522 * docs/design/part-query.txt:
28523 Added CHANGES-0.9 doc, updated status of other docs.
28525 * gst/gstquery.h:
28526 Remove "hmm" macro
28528 2005-06-30 Wim Taymans <wim@fluendo.com>
28530 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
28531 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
28532 (gst_base_sink_change_state):
28533 * gst/base/gstbasesink.h:
28534 Some tweaks, only EOS and a buffer complete a preroll.
28536 2005-06-30 Andy Wingo <wingo@pobox.com>
28538 * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
28539 activate_push down to the internal pad as well.
28541 2005-06-30 Torsten Schoenfeld <kaffeetisch@gmx.de>
28543 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28545 * gst/gsttaginterface.c:
28546 Some documentation fixes (#307394 and #307397).
28548 2005-06-30 Antoine Tremblay <hexa00@gmail.com>
28550 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28552 * gst/gstvalue.c: (gst_value_intersect_list):
28553 Fix memleak (#309125).
28555 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28557 * docs/manual/advanced-dataaccess.xml:
28558 Fix fakesrc example to compile; doesn't work, bug somewhere...?
28559 * docs/manual/basics-pads.xml:
28560 Add reference for filtered caps to above chapter.
28562 2005-06-30 Wim Taymans <wim@fluendo.com>
28564 * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
28565 (gst_bin_change_state):
28566 Probes are gone.
28567 Lame attempt at making the state change function a bit
28568 more readable.
28570 2005-06-30 Wim Taymans <wim@fluendo.com>
28572 * docs/design/part-clocks.txt:
28573 * docs/design/part-element-sink.txt:
28574 * docs/design/part-events.txt:
28575 * docs/design/part-preroll.txt:
28576 * docs/design/part-states.txt:
28577 Some more tweeks and additions to the docs.
28579 2005-06-30 Wim Taymans <wim@fluendo.com>
28581 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
28582 (default_have_data), (gst_pad_class_init), (gst_pad_init),
28583 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
28584 (gst_pad_check_pull_range), (gst_pad_get_range),
28585 (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
28586 * gst/gstpad.h:
28587 * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
28588 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
28589 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
28590 (gst_pad_remove_buffer_probe):
28591 Removed atomic operations, use existing LOCK.
28592 Move exception handling out of main code path.
28594 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28596 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
28597 (silly_return_true_function), (gst_pad_class_init),
28598 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
28599 (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
28600 (gst_pad_send_event):
28601 Fix accumulator, add default value by using _emitv() instead
28602 of _emit() for signal emission.
28604 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28606 * docs/manual/advanced-dataaccess.xml:
28607 * examples/manual/Makefile.am:
28608 Add probe example.
28609 * gst/gstpad.c: (_gst_do_pass_data_accumulator):
28610 Make work (??).
28612 2005-06-29 Tim-Philipp Müller <tim at centricular dot net>
28614 * gst/elements/gstfilesink.c: (gst_filesink_render):
28615 Simplify code so that we don't have to handle short
28616 writes and return GST_FLOW_ERROR if an error occured.
28618 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28620 * docs/gst/gstreamer-docs.sgml:
28621 Remove probes more.
28623 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28625 * docs/gst/gstreamer-sections.txt:
28626 * docs/gst/tmpl/gstpad.sgml:
28627 * docs/gst/tmpl/gstprobe.sgml:
28628 * gst/Makefile.am:
28629 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
28630 (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
28631 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
28632 (gst_pad_push_event), (gst_pad_send_event):
28633 * gst/gstpad.h:
28634 * gst/gstutils.c: (gst_pad_add_data_probe),
28635 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
28636 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
28637 (gst_pad_remove_buffer_probe):
28638 * gst/gstutils.h:
28639 Remove old probes, add new g-signal-based probes and some utility
28640 functions.
28642 2005-06-29 Edward Hervey <edward@fluendo.com>
28644 * gst/gstelementfactory.c:
28645 * gst/gstutils.h:
28646 * gst/gstutils.c:
28647 Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
28648 the definition to the header file.
28650 2005-06-29 Andy Wingo <wingo@pobox.com>
28652 * docs/gst/Makefile.am (scan-build.stamp): Totally only check
28653 plugins from the source directory.
28655 2005-06-29 Wim Taymans <wim@fluendo.com>
28657 * docs/gst/tmpl/gstbuffer.sgml:
28658 * docs/gst/tmpl/gstclock.sgml:
28659 Some fixings for blantently wrong text.
28661 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
28663 * check/Makefile.am:
28664 * gst/gst.c: (add_path_func), (init_pre):
28665 * gst/gstregistry.c: (gst_registry_add_path):
28666 add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
28667 only scan the GST_PLUGIN_PATH locations, and not add
28668 system locations
28670 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
28672 * docs/gst/gstreamer-sections.txt:
28673 * docs/gst/tmpl/gstbasesrc.sgml:
28674 * gst/gstelement.c:
28675 * gst/gstelement.h:
28676 * gst/gstevent.c:
28677 * gst/gstutils.c:
28678 doc fixes
28680 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28682 * docs/manual/advanced-autoplugging.xml:
28683 Fix autoplugging example.
28685 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28687 * docs/manual/advanced-autoplugging.xml:
28688 * docs/manual/mime-world.fig:
28689 Try to get autoplugging working, fix type detection. Fix text
28690 in hello-world image.
28692 2005-06-29 Wim Taymans <wim@fluendo.com>
28694 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
28695 (gst_base_sink_change_state):
28696 Small debug line.
28698 * gst/gstclock.h:
28699 map SIGNAL and BROADCAST to the right function.
28701 * gst/gstobject.h:
28702 Remove redundant braces.
28704 * gst/gstpad.c: (gst_pad_set_caps):
28705 Don't call setcaps function when reseting caps to NULL.
28707 * gst/gstsystemclock.c: (gst_system_clock_dispose),
28708 (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
28709 (gst_system_clock_id_unschedule):
28710 Use BROADCAST as this is what we do.
28712 2005-06-29 Wim Taymans <wim@fluendo.com>
28714 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
28715 We are actually prerolling before commiting the state
28716 change.
28718 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28720 * docs/manual/advanced-clocks.xml:
28721 * docs/manual/advanced-interfaces.xml:
28722 * docs/manual/advanced-metadata.xml:
28723 * docs/manual/advanced-position.xml:
28724 * docs/manual/advanced-schedulers.xml:
28725 * docs/manual/advanced-threads.xml:
28726 * docs/manual/appendix-porting.xml:
28727 * docs/manual/basics-bins.xml:
28728 * docs/manual/basics-bus.xml:
28729 * docs/manual/basics-elements.xml:
28730 * docs/manual/basics-helloworld.xml:
28731 * docs/manual/basics-pads.xml:
28732 * docs/manual/highlevel-components.xml:
28733 * docs/manual/manual.xml:
28734 * docs/manual/thread.fig:
28735 Update (until threads/scheduling) Application Development Manual;
28736 remove GstThread, add GstBus, add simple porting checklist, add
28737 documentation for tag writing, clocks, make all examples until this
28738 part compile and run.
28739 * examples/manual/Makefile.am:
28740 Update from changes to Application Development Manual; add bus
28741 example, remove thread example.
28743 2005-06-28 Wim Taymans <wim@fluendo.com>
28745 * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
28746 (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
28747 (gst_bus_source_dispatch):
28748 Add debugging messages.
28749 Make internal methods static.
28750 Handle the case where the bus is flushed in the handler.
28752 * gst/gstelement.c: (gst_element_get_bus):
28753 Fix refcount in _get_bus();
28755 * gst/gstpipeline.c: (gst_pipeline_change_state),
28756 (gst_pipeline_get_clock_func):
28757 Clock refcounting fixes.
28758 Handle the case where preroll timed out more gracefully.
28760 * gst/gstsystemclock.c: (gst_system_clock_dispose):
28761 Clean up the internal thread in dispose. This is needed
28762 for subclasses that actually get disposed.
28764 * gst/schedulers/threadscheduler.c:
28765 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
28766 (gst_thread_scheduler_dispose):
28767 Free thread pool in dispose.
28769 2005-06-28 Andy Wingo <wingo@pobox.com>
28771 * tests/network-clock-utils.scm (debug, print-event): New utils.
28773 * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
28774 (*packet-loss*): Unified loss probability.
28775 (network-time): Report out-of-band events.
28777 * tests/plot-data: Add support for out-of-band events. Hack it
28778 into this script instead of passing it down the pipe; should fix
28779 this later.
28781 2005-06-28 Wim Taymans <wim@fluendo.com>
28783 * docs/gst/gstreamer.types:
28784 * docs/gst/tmpl/gstbasesrc.sgml:
28785 * docs/gst/tmpl/gstpad.sgml:
28786 Docs fixes.
28788 2005-06-28 Wim Taymans <wim@fluendo.com>
28790 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
28791 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
28792 (gst_proxy_pad_do_fixatecaps):
28793 Correctly proxy the check_pull_range function.
28795 2005-06-28 Andy Wingo <wingo@pobox.com>
28797 * tests/network-clock.scm: Removed need for slib.
28799 2005-06-28 Wim Taymans <wim@fluendo.com>
28801 * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
28802 (gst_basesink_preroll_queue_flush):
28803 * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
28804 * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
28805 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
28806 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
28807 (gst_proxy_pad_set_property):
28808 * gst/gstpad.c:
28809 * gst/gstpad.h:
28810 * gst/gstqueue.c: (gst_queue_init):
28811 The deprecated pad loop function is removed now.
28813 2005-06-28 Andy Wingo <wingo@pobox.com>
28815 * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
28816 New parameters, simulate network packet loss.
28818 * tests/network-clock-utils.scm: Initialize the RNG.
28820 2005-06-28 Wim Taymans <wim@fluendo.com>
28822 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
28823 (gst_basesink_event), (gst_basesink_deactivate):
28824 Flushing the preroll queue always needs to unlock the waiters.
28826 2005-06-28 Edward Hervey <edward@fluendo.com>
28828 * gst/gstpipeline.c: (gst_pipeline_send_event):
28829 Wheen a seek was successful on a pipeline, set the stream_time to the
28830 seek offset in order to have a synchronized stream_time.
28832 2005-06-28 Wim Taymans <wim@fluendo.com>
28834 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
28835 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
28836 (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
28837 (gst_proxy_pad_do_fixatecaps):
28838 Call wrapper function instead of just calling the function
28839 pointers. This takes care of any locking and whatmore.
28841 2005-06-28 Wim Taymans <wim@fluendo.com>
28843 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
28844 (gst_pad_pull_range):
28845 * gst/gstpad.h:
28846 CONNECTED -> LINKED.
28848 2005-06-28 Andy Wingo <wingo@pobox.com>
28850 * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
28851 source-munging commit!!!
28853 * gst/gstobject.c (gst_object_unref, gst_object_ref)
28854 (gst_object_sink): Take gpointer arguments, not GstObject --
28855 avoids casts. Like GLib.
28857 * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
28858 activate.
28860 2005-06-27 Andy Wingo <wingo@pobox.com>
28862 * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
28863 remaining buffer.
28865 * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
28866 returns a sorted copy of the trace list.
28867 (gst_alloc_trace_print_live): New API, only prints traces with
28868 live objects. Sort the list.
28869 (gst_alloc_trace_print_all): Sort the list.
28870 (gst_alloc_trace_print): Align columns.
28872 * gst/elements/gstttypefindelement.c:
28873 * gst/elements/gsttee.c:
28874 * gst/base/gstbasesrc.c:
28875 * gst/base/gstbasesink.c:
28876 * gst/base/gstbasetransform.c:
28877 * gst/gstqueue.c: Adapt for pad activation changes.
28879 * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
28880 sched.
28881 (gst_pipeline_dispose): Drop ref on sched.
28883 * gst/gstpad.c (gst_pad_init): Set the default activate func.
28884 (gst_pad_activate_default): Push mode by default.
28885 (pre_activate_switch, post_activate_switch): New stubs, things to
28886 do before and after switching activation modes on pads.
28887 (gst_pad_set_active): Take a boolean and not a mode, dispatch to
28888 the pad's activate function to choose which mode to activate.
28889 Shortcut on deactivation and call the right function directly.
28890 (gst_pad_activate_pull): New API, (de)activates a pad in pull
28891 mode.
28892 (gst_pad_activate_push): New API, same for push mode.
28893 (gst_pad_set_activate_function)
28894 (gst_pad_set_activatepull_function)
28895 (gst_pad_set_activatepush_function): Setters for new API.
28897 * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
28898 Trace all miniobjects.
28899 (gst_mini_object_make_writable): Unref the arg if we copy, like
28900 gst_caps_make_writable.
28902 * gst/gstmessage.c (_gst_message_initialize): No trace init.
28904 * gst/gstghostpad.c (gst_proxy_pad_do_activate)
28905 (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
28906 Adapt for new pad API.
28908 * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
28910 * gst/gstelement.h:
28911 * gst/gstelement.c (gst_element_iterate_src_pads)
28912 (gst_element_iterate_sink_pads): New API functions.
28914 * gst/gstelement.c (iterator_fold_with_resync): New utility,
28915 should fold into gstiterator.c in some form.
28916 (gst_element_pads_activate): Simplified via use of fold and
28917 delegation of decisions to gstpad->activate.
28919 * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
28920 help in debugging.
28922 * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
28923 class once in init, like gstmessage. Didn't run into this issue
28924 but it seems correct. Don't initialize a trace, gstminiobject does
28925 that.
28927 * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
28928 test, runs fakesrc ! fakesink, stopping on ::handoff via a message
28929 to the bus.
28930 (assert_live_count): New util function, uses alloc traces to check
28931 cleanup.
28933 * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
28934 To be modified when unlink drops the internal pad.
28936 2005-06-27 Wim Taymans <wim@fluendo.com>
28938 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
28939 (gst_bin_change_state):
28940 Cleanup the get_state() function a little, make sure it
28941 iterates the same set of elements.
28942 Added stub iterate_state_order().
28944 2005-06-27 Thomas Vander Stichele <thomas at apestaart dot org>
28946 * docs/gst/gstreamer-docs.sgml:
28947 * docs/gst/gstreamer-sections.txt:
28948 * docs/gst/gstreamer.types:
28949 * docs/gst/tmpl/gstbasesink.sgml:
28950 * docs/gst/tmpl/gstbasesrc.sgml:
28951 * docs/gst/tmpl/gstbasetransform.sgml:
28952 * docs/gst/tmpl/gstelement.sgml:
28953 * docs/gst/tmpl/gstiterator.sgml:
28954 * gst/base/gstbasesrc.c:
28955 * gst/base/gstbasesrc.h:
28956 * gst/base/gstbasetransform.h:
28957 * gst/gstelement.c:
28958 * gst/gstiterator.h:
28959 adding basetransform and iterator docs
28961 2005-06-27 Andy Wingo <wingo@pobox.com>
28963 * docs/design/part-activation.txt: Notes on how activation should
28964 work -- not quite implemented yet.
28966 2005-06-25 Wim Taymans <wim@fluendo.com>
28968 * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
28969 At least get the chain function correct, needs more
28970 fixing.
28972 2005-06-25 Wim Taymans <wim@fluendo.com>
28974 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
28975 (gst_basesink_handle_object), (gst_basesink_event),
28976 (gst_basesink_do_sync), (gst_basesink_handle_event),
28977 (gst_basesink_change_state):
28978 * gst/gsttask.h:
28979 Right, two problems here: ghostpads don't take locks and
28980 glib _rec_mutex_lock_full() with depth==0 still locks.
28981 Catch illegal locking and g_warn them.
28983 2005-06-25 Wim Taymans <wim@fluendo.com>
28985 * check/states/sinks.c: (START_TEST), (gst_object_suite):
28986 Have to check for completion now...
28988 2005-06-25 Wim Taymans <wim@fluendo.com>
28990 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
28991 (gst_basesink_handle_object), (gst_basesink_event),
28992 (gst_basesink_do_sync), (gst_basesink_handle_event),
28993 (gst_basesink_change_state):
28994 * gst/gstpad.h:
28995 Unlock STREAM_LOCK whatever the recursion was.
28997 2005-06-25 Wim Taymans <wim@fluendo.com>
28999 * gst/base/gstbasesink.c: (gst_basesink_set_property),
29000 (gst_basesink_preroll_queue_empty),
29001 (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
29002 (gst_basesink_event), (gst_basesink_do_sync),
29003 (gst_basesink_handle_event), (gst_basesink_handle_buffer),
29004 (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
29005 (gst_basesink_change_state):
29006 Reworked the base sink, handle event and buffer serialisation
29007 correctly and removed possible deadlock.
29008 Handle EOS correctly.
29010 2005-06-25 Wim Taymans <wim@fluendo.com>
29012 * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
29013 (gst_pipeline_change_state):
29014 * tools/gst-launch.c: (check_intr), (event_loop), (main):
29015 Allow elements to post EOS in the state change function.
29016 Fix up -launch, make it exit the poll loop when the
29017 pipeline actually changed state.
29018 Fix up warning parsing in -launch.
29020 2005-06-25 Wim Taymans <wim@fluendo.com>
29022 * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
29023 (gst_tee_sink_activate):
29024 Core takes STREAM_LOCK for us now.
29026 2005-06-25 Wim Taymans <wim@fluendo.com>
29028 * gst/gstelement.c: (gst_element_get_state_func),
29029 (gst_element_set_state):
29030 * gst/gstelement.h:
29031 * gst/gstmessage.c: (gst_message_parse_error),
29032 (gst_message_parse_warning):
29033 Keep track of current target state while performing a state
29034 change so that subclasses can do something interesting.
29035 Fix parsing of warning/error messages when GError is NULL.
29037 2005-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
29039 * docs/gst/Makefile.am:
29040 * docs/gst/gstreamer-docs.sgml:
29041 * docs/gst/gstreamer-sections.txt:
29042 * docs/gst/gstreamer.types:
29043 * docs/gst/tmpl/gstbasesink.sgml:
29044 * docs/gst/tmpl/gstbasesrc.sgml:
29045 * docs/gst/tmpl/gstbin.sgml:
29046 * docs/gst/tmpl/gstcompat.sgml:
29047 * docs/gst/tmpl/gstfakesink.sgml:
29048 * docs/gst/tmpl/gstfakesrc.sgml:
29049 * docs/gst/tmpl/gstfilesink.sgml:
29050 * docs/gst/tmpl/gstfilesrc.sgml:
29051 * docs/gst/tmpl/gstindex.sgml:
29052 * docs/manual/appendix-quotes.xml:
29053 * gst/base/gstbasesrc.h:
29054 * gst/elements/gstfakesrc.h:
29055 * gst/gstmessage.h:
29056 start pulling in base classes and elements in our docs
29058 2005-06-24 Stefan Kost <ensonic@users.sf.net>
29060 * docs/gst/Makefile.am:
29061 * docs/libs/Makefile.am:
29062 fixed make distcheck with gtk-doc 1.3
29064 2005-06-23 Wim Taymans <wim@fluendo.com>
29066 * gst/gstelement.c: (gst_element_get_state_func),
29067 (gst_element_set_state), (gst_element_change_state):
29068 When the state did not change, also report NO_PREROLL
29069 when it matters.
29071 2005-06-23 Wim Taymans <wim@fluendo.com>
29073 * gst/gstpad.c: (gst_pad_event_default):
29074 * gst/gstqueue.c: (gst_queue_loop):
29075 No unsafe task pausing please.
29077 2005-06-23 Wim Taymans <wim@fluendo.com>
29079 * gst/schedulers/threadscheduler.c:
29080 (gst_thread_scheduler_task_start),
29081 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
29082 Ref the task before pushing it on the threadpool. This
29083 makes sure that we have a ref when the threadfunction is
29084 actually called.
29086 2005-06-23 Andy Wingo <wingo@pobox.com>
29088 * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
29089 offset is greater than the file's size.
29091 * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK)
29092 (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
29093 * gst/gstobject.c (gst_object_class_init): Make the class lock
29094 recursive. Wim won't let me drop deep_notify. Decodebin works
29095 again, whoopdy doo.
29097 * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
29098 internal pad, and hacks accordingly. Doesn't do it on the target
29099 pad because we change its caps. Probably catches all cases of
29100 interest tho.
29101 (gst_ghost_pad_set_property): Connect to notify::caps as
29102 appropritate.
29104 * tests/network-clock.scm (plot-simulation): Pipe data to the
29105 elite python skript.
29107 * tests/network-clock-utils.scm (define-parameter): New macro,
29108 defines a parameter that can be set via the command line.
29109 (set-parameter!, parse-parameter-arguments): Command line args
29110 parser.
29112 * tests/plot-data: Simple matplotlib-based plotter, takes input on
29113 stdin.
29115 2005-06-23 Jan Schmidt <thaytan@mad.scientist.com>
29117 * gst/elements/gsttypefindelement.c:
29118 (gst_type_find_element_handle_event):
29119 Don't restart typefinding on a discont.
29120 * gst/gstelement.c: (gst_element_set_state):
29121 Debug spelling fix.
29122 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
29123 Allow changing mode of an active pad.
29124 Debug output fixes.
29125 * gst/registries/gstlibxmlregistry.c: (load_feature):
29126 Don't cast a static pad template to a normal pad template.
29128 2005-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
29130 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
29131 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
29132 remove gst_strtoll completely, since it didn't actually do
29133 anything more than what g_ascii_strtoull already does.
29134 check for range errors when deserializing
29135 do a cast for the unsigned cases; but further fixing needs
29136 a decision on what the interpretation of "(int)" and
29137 deserialization should be for values that fall outside the
29138 type's boundaries (ie, refuse, or interpret as casting)
29140 2005-06-23 Wim Taymans <wim@fluendo.com>
29142 * check/Makefile.am:
29143 * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
29144 * docs/design/part-live-source.txt:
29145 * docs/design/part-states.txt:
29146 * gst/base/gstbasesrc.c: (gst_basesrc_init),
29147 (gst_basesrc_set_live), (gst_basesrc_is_live),
29148 (gst_basesrc_get_range), (gst_basesrc_activate),
29149 (gst_basesrc_change_state):
29150 * gst/base/gstbasesrc.h:
29151 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
29152 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
29153 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
29154 * gst/gstelement.c: (gst_element_get_state_func),
29155 (gst_element_set_state):
29156 * gst/gstelement.h:
29157 * gst/gsttypes.h:
29158 * tools/gst-launch.c: (event_loop), (main):
29159 Added support for live sources and other elements that
29160 cannot do preroll.
29161 Updated design docs, added live-source design doc.
29162 Implemented live source functionality in basesrc
29163 Fix error condition in _bin_get_state()
29164 Implement live source handling in -launch.
29165 Added check for live sources.
29166 Fixed case in GstBin where elements were changed state
29167 multiple times.
29170 2005-06-23 Andy Wingo <wingo@pobox.com>
29172 * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
29173 borken refcounting.
29175 * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
29176 gst_caps_replace takes care of this for us.
29178 * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
29179 gst_pad_set_caps on the target, not just its setcaps() function.
29181 * tests/network-clock.scm:
29182 * tests/network-clock-utils.scm: A network clock simulator.
29183 Something of an algorithmic testbed before doing something in C.
29185 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
29187 * check/Makefile.am:
29188 * check/gst/capslist.h:
29189 copy over from 0.8, and add two with bitmasks specified with
29190 (int) 0xFF...
29191 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
29192 add test to parse everything from capslist.h
29193 * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
29194 (main):
29195 add test for structure deserialization
29196 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
29197 add tests for deserialization of strings to int types
29198 * gst/gststructure.c: (gst_structure_nth_field_name):
29199 * gst/gststructure.h:
29200 add a way to get the name of a field referenced by index
29201 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
29202 instead of checking if the resulting long long lies between
29203 min and max, we check if the long long would fit into
29204 a number of bytes for the final type.
29205 This fixes cases where a string represents 2^32 - 1, which
29206 when cast to int would be the (valid) -1, but is bigger than
29207 G_MAXINT
29209 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
29211 * gst/parse/grammar.y:
29212 add a log line for type deserialization
29214 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
29216 * check/gst/gstvalue.c: (START_TEST):
29217 * gst/gstvalue.c: (gst_value_deserialize):
29218 return long long, not int, so gint64 deserialization actually
29219 works. Is there any flag that makes the compiler check this ?
29220 Fixes #308559
29222 2005-06-22 Wim Taymans <wim@fluendo.com>
29224 * gst/gstbuffer.h:
29225 Added convenience macros for setting buffers in GValue.
29227 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
29229 * check/gst/.cvsignore:
29230 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
29231 add a test deserializing int64, and comment part out because
29232 it fails, yay !
29234 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
29236 * check/Makefile.am:
29237 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
29238 * testsuite/Makefile.am:
29239 * testsuite/caps/Makefile.am:
29240 * testsuite/caps/value_serialize.c:
29241 * testsuite/test_gst_init.c:
29242 move a value_serialize test over
29244 2005-06-20 Wim Taymans <wim@fluendo.com>
29246 * gst/gstpad.c:
29247 Small doc updates.
29249 * gst/gstvalue.c: (gst_value_compare_buffer),
29250 (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
29251 (gst_value_compare_flags), (gst_value_serialize_flags),
29252 (gst_value_deserialize_flags), (_gst_value_initialize):
29253 Fix serialisation of buffers, they are not boxed types anymore
29255 2005-06-20 Wim Taymans <wim@fluendo.com>
29257 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
29258 Testcase to show error in buffer-on-caps serialisation.
29260 2005-06-20 Andy Wingo <wingo@pobox.com>
29262 * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
29263 will be adding to later.
29265 * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
29266 if its socks fill with rocks.
29267 (gst_system_clock_obtain): Set the name on object construction.
29268 Avoid double-checked locking.
29270 2005-06-20 Tim-Philipp Müller <tim at centricular dot net>
29272 * gst/gsturi.c: (gst_element_make_from_uri):
29273 Fix potential endless loop.
29275 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
29277 * check/Makefile.am:
29278 add gsttag
29279 * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
29280 (main):
29281 move over from testsuite dir and clean up
29282 * configure.ac:
29283 * gst/gsttag.c:
29284 * testsuite/Makefile.am:
29285 * testsuite/tags/.cvsignore:
29286 * testsuite/tags/Makefile.am:
29287 * testsuite/tags/merge.c:
29288 remove testsuite/tags
29290 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
29292 * docs/gst/gstreamer-sections.txt:
29293 * docs/gst/tmpl/gstenumtypes.sgml:
29294 * win32/gstenumtypes.c:
29295 clean up documentation build a little
29297 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
29299 * check/gstcheck.h:
29300 add macros for checking refcounts on objects and caps
29301 * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
29302 add some more unit tests
29303 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
29304 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
29305 fix leaked refcounts (I hope :)) so unittest works
29306 * gst/gstpad.h:
29307 whitespace removal
29309 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
29311 * configure.ac: back to HEAD
29313 === release 0.9.1 ===
29315 2005-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
29317 * NEWS:
29318 * RELEASE:
29319 updated
29321 2005-06-17 Andy Wingo <wingo@pobox.com>
29323 * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
29324 assert; it's always possible that the pad gets deactivated in
29325 between the checks in gstpad.c and the implementation. Rely on
29326 finish_preroll() to return a FLUSHING or similar instead of on the
29327 assert.
29329 * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
29330 clock and post an EOS message if we come out of finish_preroll in
29331 the playing state.
29333 2005-06-16 David Schleef <ds@schleef.org>
29335 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
29336 (gst_capsfilter_set_property): Allow NULL as possible value
29337 for filter_caps property, indicating GST_CAPS_ANY.
29339 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
29341 * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
29342 fix debug output
29343 * gst/schedulers/Makefile.am:
29344 use libgst prefix
29345 * gstreamer.spec.in:
29346 fix spec for it
29348 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
29350 * gstreamer.spec.in:
29351 clean up
29353 2005-06-08 Andy Wingo <wingo@pobox.com>
29355 * gst/gstutils.c: RPAD fixes all around.
29356 (gst_element_link_pads): Refcounting fixes.
29358 * tools/gst-inspect.c:
29359 * tools/gst-xmlinspect.c:
29360 * parse/grammar.y:
29361 * gst/base/gsttypefindhelper.c:
29362 * gst/base/gstbasesink.c:
29363 * gst/gstqueue.c: RPAD fixes.
29365 * gst/gstghostpad.h:
29366 * gst/gstghostpad.c: New ghost pad implementation as full proxy
29367 pads. The tricky thing is they provide both source and sink
29368 interfaces, since they proxy the internal pad for the external
29369 pad, and vice versa. Implement with lower-level ProxyPad objects,
29370 with the interior proxy pad as a child of the exterior ghost pad.
29371 Should write a doc on this.
29373 * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
29374 (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
29375 gst_object API.
29377 * gst/gstpad.c: Big changes. No more stub base GstPad, now all
29378 pads are real pads. No ghost pads in this file. Not documenting
29379 the myriad s/RPAD/PAD/ and REALIZE fixes.
29380 (gst_pad_class_init): Add properties for "direction" and
29381 "template". Both are construct-only, so they can't change during
29382 the life of the pad. Fixes properly deriving from GstPad.
29383 (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
29384 derived objects, just set properties when creating the objects via
29385 g_object_new.
29386 (gst_pad_get_parent): Implement as a function, return NULL if the
29387 parent is not an element.
29388 (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
29389 (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
29391 * gst/gstobject.c (gst_object_class_init): Make name a construct
29392 property. Don't set it in the object init.
29394 * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
29395 with UNKNOWN direction.
29396 (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
29397 with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
29398 (gst_element_remove_pad): Remove ghost-pad special cases.
29399 (gst_element_pads_activate): Remove rpad cruft.
29401 * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
29402 catch the pad's-parent-not-an-element case.
29404 * gst/gst.h: Include gstghostpad.h.
29406 * gst/gst.c (init_post): No more real, ghost pads.
29408 * gst/Makefile.am: Add gstghostpad.[ch].
29410 * check/Makefile.am:
29411 * check/gst/gstbin.c:
29412 * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
29413 into a bin creates ghost pads, and that the refcounts are right.
29414 Partly moved from gstbin.c.
29416 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
29418 * check/gst-libs/.cvsignore:
29419 * check/gst/.cvsignore:
29420 * check/pipelines/.cvsignore:
29421 ignore more
29422 * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
29423 (START_TEST), (cleanup_suite), (main):
29424 add some tests related to cleanup after running pipelines
29426 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
29428 * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
29429 add a testsuite for GstBuffer
29431 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
29433 * gst/gstminiobject.h:
29434 add defines for accessing the refcount
29436 2005-06-03 Stefan Kost <ensonic@users.sf.net>
29438 * Makefile.am: added support for html unit test coverage reports
29440 2005-06-03 Jan Schmidt <thaytan@mad.scientist.com>
29442 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
29443 Free existing caps if the capsfilter changes. Add a FIXME about
29444 setting those caps on the pads.
29446 * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
29447 Before adding a ghost pad to a parent bin, check that there isn't
29448 already one for the element on the bin. Prevents infinite recursion
29449 when using decodebin in parse pipelines. Andy says he'll rewrite the
29450 way this works anyway, so ignore the hack.
29452 2005-06-02 Andy Wingo <wingo@pobox.com>
29454 * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
29455 file size, pass it on to the type find helper.
29457 * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
29458 segment_start and segment_end properly according to the seek
29459 method. Segment_end is still a bit flaky because offset can be
29460 negative for CUR and END cases, but it takes -1 as an "unset"
29461 value.
29463 2005-06-02 Wim Taymans <wim@fluendo.com>
29465 * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
29466 (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
29467 (gst_basesink_activate):
29468 * gst/base/gstbasesink.h:
29469 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
29470 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
29471 (gst_pad_query), (gst_pad_start_task):
29472 * gst/gstpad.h:
29473 * gst/gstqueue.c: (gst_queue_bufferalloc),
29474 (gst_queue_handle_sink_event), (gst_queue_chain):
29475 Bufferalloc: return GstFlowReturn to more accuratly report
29476 why allocation failed.
29478 2005-06-02 Wim Taymans <wim@fluendo.com>
29480 * gst/gstpipeline.c: (gst_pipeline_send_event):
29481 Take snapshot of state without blocking.
29483 2005-06-02 Wim Taymans <wim@fluendo.com>
29485 * docs/design/part-TODO.txt:
29486 * docs/design/part-caps.txt:
29487 * docs/design/part-clocks.txt:
29488 * docs/design/part-negotiation.txt:
29489 * docs/design/part-preroll.txt:
29490 Small doc updates
29492 2005-05-30 Wim Taymans <wim@fluendo.com>
29494 * gst/elements/gstidentity.c: (gst_identity_event),
29495 (gst_identity_transform), (gst_identity_get_property):
29496 Protect last_message property as it is accessed from
29497 multiple threads.
29499 2005-05-30 Wim Taymans <wim@fluendo.com>
29501 * gst/gstelement.c: (gst_element_init),
29502 (gst_element_pads_activate), (gst_element_change_state):
29503 Slicker pad activation code.
29505 2005-05-30 Wim Taymans <wim@fluendo.com>
29507 * gst/Makefile.am:
29508 * gst/gstelement.h:
29509 * gst/gstelementfactory.h:
29510 * gst/gsttypes.h:
29511 Move elementfactory methods to separate .h file.
29513 2005-05-30 Wim Taymans <wim@fluendo.com>
29515 * docs/design/part-overview.txt:
29516 * gst/gstsystemclock.h:
29517 Small typo fixes, doc updates.
29519 2005-05-30 Wim Taymans <wim@fluendo.com>
29521 * gst/gst.c: (gst_init_get_popt_table), (init_post),
29522 (init_popt_callback):
29523 Remove cpu-opt flag.
29525 2005-05-30 Wim Taymans <wim@fluendo.com>
29527 * gst/gstbuffer.c: (gst_subbuffer_finalize),
29528 (gst_buffer_create_sub), (gst_buffer_is_span_fast):
29529 * gst/gstbuffer.h:
29530 Avoid typechecking in places where not needed.
29531 Added accessor for malloc_data.
29533 2005-05-30 Wim Taymans <wim@fluendo.com>
29535 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
29536 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
29537 (gst_pad_configure_sink), (gst_pad_configure_src),
29538 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
29539 (gst_pad_start_task):
29540 Propagate errors from _set_caps() in configure_src/sink
29541 functions instead of returning TRUE.
29542 FLUSH events can travel up and downstream
29545 2005-05-30 Wim Taymans <wim@fluendo.com>
29547 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
29548 (gst_basesink_activate):
29549 Handle EOS in preroll.
29551 2005-05-30 Wim Taymans <wim@fluendo.com>
29553 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
29554 (gst_queue_loop), (gst_queue_handle_src_event):
29555 Remove old pieces of code
29556 Flushing the queue in an upstream event is a very bad idea.
29558 2005-05-26 Andy Wingo <wingo@pobox.com>
29560 * gst/gstminiobject.c (gst_value_mini_object_collect): Use
29561 gst_value_set_mini_object so as to add a ref on the object (which
29562 will be removed when the value is unset).
29564 * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
29565 arg type in ::handoff.
29567 * gst/gstelement.c (gst_element_change_state): Also deactivate
29568 pads in READY->NULL, just in case the element didn't make it to
29569 PAUSED. Wingo tested, Wim approved.
29571 2005-05-26 Wim Taymans <wim@fluendo.com>
29573 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
29574 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
29575 (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
29576 A flushing pad cannot be used to alloc_buffer from.
29578 2005-05-26 Wim Taymans <wim@fluendo.com>
29580 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
29581 (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
29582 (gst_bus_source_dispatch), (gst_bus_source_finalize),
29583 (gst_bus_create_watch), (gst_bus_add_watch_full):
29584 * gst/gstbus.h:
29585 Implement a real GSource and use g_main_context_wakeup() to
29586 signal new messages instead of the socketpair.
29588 2005-05-25 Wim Taymans <wim@fluendo.com>
29590 * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
29591 (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
29592 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
29593 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
29594 (gst_pad_send_event), (gst_pad_start_task):
29595 * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
29596 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
29597 (gst_queue_sink_activate), (gst_queue_src_activate),
29598 (gst_queue_change_state):
29599 * gst/gstqueue.h:
29600 Fix state changes for non sinks. We now change sinks, then elements
29601 with unconnected srcpads, then the rest.
29602 More efficient queue unlocking in flush and state changes.
29603 Set the pad activate mode even if it does not have an activate
29604 function.
29606 2005-05-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29608 * gst/base/gstbasesrc.c: (gst_basesrc_activate):
29609 Don't go in pull mode for non-seekable sources.
29610 * gst/elements/gsttypefindelement.h:
29611 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
29612 (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
29613 (free_entry), (stop_typefinding),
29614 (gst_type_find_element_handle_event), (find_peek),
29615 (gst_type_find_element_chain), (do_pull_typefind),
29616 (gst_type_find_element_change_state):
29617 Allow typefinding (w/o seeking) in push-mode, simplified version
29618 of what was in 0.8.
29619 * gst/gstutils.c: (gst_buffer_join):
29620 * gst/gstutils.h:
29621 gst_buffer_join() from 0.8.
29623 2005-05-25 Wim Taymans <wim@fluendo.com>
29625 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
29626 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
29627 (gst_pad_send_event), (gst_pad_start_task):
29628 Disable attempt at mode switching until it is figured out.
29630 2005-05-25 Wim Taymans <wim@fluendo.com>
29632 * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
29633 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
29634 (gst_basesink_finish_preroll), (gst_basesink_chain),
29635 (gst_basesink_loop), (gst_basesink_activate),
29636 (gst_basesink_change_state):
29637 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
29638 (gst_basesrc_get_range), (gst_basesrc_loop),
29639 (gst_basesrc_activate):
29640 * gst/elements/gsttee.c: (gst_tee_sink_activate):
29641 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
29642 (gst_real_pad_init), (gst_real_pad_set_property),
29643 (gst_real_pad_get_property), (gst_pad_set_active),
29644 (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
29645 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
29646 (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
29647 (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
29648 (gst_pad_event_default_dispatch), (gst_pad_event_default),
29649 (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
29650 (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
29651 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
29652 (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
29653 (gst_pad_stop_task):
29654 * gst/gstpad.h:
29655 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
29656 (gst_queue_loop), (gst_queue_src_activate):
29657 * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
29658 (gst_task_get_state):
29659 * gst/gsttask.h:
29660 * gst/schedulers/threadscheduler.c:
29661 (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
29662 Implement gst_pad_pause/start/stop_task(), take STREAM lock
29663 in task function.
29664 Remove ACTIVE pad flag, use FLUSHING everywhere
29665 Added _pad_chain(), _pad_get_range() to call chain/getrange
29666 functions.
29667 Add locks around IS_FLUSHING when reading.
29668 Take STREAM lock in chain(), get_range() functions so plugins
29669 don't need to take it anymore.
29673 2005-05-25 Wim Taymans <wim@fluendo.com>
29675 * tools/gst-launch.c: (event_loop):
29676 Unref message after using its contents instead of
29677 before.
29679 2005-05-24 Wim Taymans <wim@fluendo.com>
29681 * docs/design/draft-ghostpads.txt:
29682 * docs/design/draft-push-pull.txt:
29683 * docs/design/draft-query.txt:
29684 * docs/design/part-overview.txt:
29685 Docs updates, added general overview doc.
29687 2005-05-21 David Schleef <ds@schleef.org>
29689 * docs/gst/tmpl/old/GstBin.sgml:
29690 * docs/gst/tmpl/old/GstBuffer.sgml:
29691 * docs/gst/tmpl/old/GstCaps.sgml:
29692 * docs/gst/tmpl/old/GstClock.sgml:
29693 * docs/gst/tmpl/old/GstCompat.sgml:
29694 * docs/gst/tmpl/old/GstData.sgml:
29695 * docs/gst/tmpl/old/GstElement.sgml:
29696 * docs/gst/tmpl/old/GstEvent.sgml:
29697 * docs/gst/tmpl/old/GstIndex.sgml:
29698 * docs/gst/tmpl/old/GstStructure.sgml:
29699 * docs/gst/tmpl/old/GstTag.sgml:
29700 * docs/gst/tmpl/old/cothreads.sgml:
29701 * docs/gst/tmpl/old/cothreads_compat.sgml:
29702 * docs/gst/tmpl/old/gettext.sgml:
29703 * docs/gst/tmpl/old/gobject2gtk.sgml:
29704 * docs/gst/tmpl/old/grammar.tab.sgml:
29705 * docs/gst/tmpl/old/gst-i18n-app.sgml:
29706 * docs/gst/tmpl/old/gst-i18n-lib.sgml:
29707 * docs/gst/tmpl/old/gst_private.sgml:
29708 * docs/gst/tmpl/old/gstaggregator.sgml:
29709 * docs/gst/tmpl/old/gstarch.sgml:
29710 * docs/gst/tmpl/old/gstatomic_impl.sgml:
29711 * docs/gst/tmpl/old/gstbufferstore.sgml:
29712 * docs/gst/tmpl/old/gstdata_private.sgml:
29713 * docs/gst/tmpl/old/gstdisksink.sgml:
29714 * docs/gst/tmpl/old/gstdisksrc.sgml:
29715 * docs/gst/tmpl/old/gstelementfactory.sgml:
29716 * docs/gst/tmpl/old/gstextratypes.sgml:
29717 * docs/gst/tmpl/old/gstfakesink.sgml:
29718 * docs/gst/tmpl/old/gstfakesrc.sgml:
29719 * docs/gst/tmpl/old/gstfdsink.sgml:
29720 * docs/gst/tmpl/old/gstfdsrc.sgml:
29721 * docs/gst/tmpl/old/gstfilesink.sgml:
29722 * docs/gst/tmpl/old/gstfilesrc.sgml:
29723 * docs/gst/tmpl/old/gsthttpsrc.sgml:
29724 * docs/gst/tmpl/old/gstidentity.sgml:
29725 * docs/gst/tmpl/old/gstindexfactory.sgml:
29726 * docs/gst/tmpl/old/gstmarshal.sgml:
29727 * docs/gst/tmpl/old/gstmd5sink.sgml:
29728 * docs/gst/tmpl/old/gstmultidisksrc.sgml:
29729 * docs/gst/tmpl/old/gstmultifilesrc.sgml:
29730 * docs/gst/tmpl/old/gstpadtemplate.sgml:
29731 * docs/gst/tmpl/old/gstpipefilter.sgml:
29732 * docs/gst/tmpl/old/gstschedulerfactory.sgml:
29733 * docs/gst/tmpl/old/gstsearchfuncs.sgml:
29734 * docs/gst/tmpl/old/gstshaper.sgml:
29735 * docs/gst/tmpl/old/gstspider.sgml:
29736 * docs/gst/tmpl/old/gstspideridentity.sgml:
29737 * docs/gst/tmpl/old/gststatistics.sgml:
29738 * docs/gst/tmpl/old/gsttee.sgml:
29739 * docs/gst/tmpl/old/gsttimecache.sgml:
29740 * docs/gst/tmpl/old/gsttypefindfactory.sgml:
29741 * docs/gst/tmpl/old/gstxmlregistry.sgml:
29742 * docs/gst/tmpl/old/gthread-cothreads.sgml:
29743 * docs/gst/tmpl/old/types.sgml:
29744 I didn't intend to add these or check them in.
29746 2005-05-19 David Schleef <ds@schleef.org>
29748 * configure.ac: Use -no-common everywhere. In a sane world, it
29749 would be the default in libtool, because without it, you can't
29750 build DLLs on Windows.
29751 * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
29752 * docs/gst/gstreamer-sections.txt:
29753 * docs/gst/tmpl/gstcpu.sgml:
29754 * docs/gst/tmpl/gstdata.sgml:
29755 * docs/gst/tmpl/gstthread.sgml:
29757 2005-05-19 David Schleef <ds@schleef.org>
29759 * gst/gstminiobject.c: (gst_value_set_mini_object),
29760 (gst_value_take_mini_object), (gst_value_get_mini_object):
29761 * gst/gstminiobject.h: Add GValue set/get functions.
29763 2005-05-19 Wim Taymans <wim@fluendo.com>
29765 * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
29766 (gst_subbuffer_class_init), (gst_subbuffer_finalize),
29767 (gst_subbuffer_init), (gst_buffer_is_span_fast):
29768 * gst/gstbuffer.h:
29769 * gst/gstbus.c: (gst_bus_post):
29770 * gst/gstelement.c: (gst_element_get_random_pad):
29771 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
29772 Make subbufer unref the parent in finalize.
29773 some more debugging info.
29776 2005-05-19 Wim Taymans <wim@fluendo.com>
29778 * gst/base/gstbasesink.c: (gst_basesink_class_init),
29779 (gst_basesink_init), (gst_basesink_finalize),
29780 (gst_basesink_activate), (gst_basesink_change_state):
29781 Don't free preroll queue too early.
29783 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29785 * gst/Makefile.am:
29786 * gst/ROADMAP:
29787 Hi, I'm outdated. Please shoot me.
29789 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29791 * gst/gstpipeline.c: (gst_pipeline_send_event):
29792 Do not access variables after they have been deleted.
29794 2005-05-19 Wim Taymans <wim@fluendo.com>
29796 * tools/gst-inspect.c: (print_plugin_features):
29797 A plugin feature does unfortunatly not use the
29798 object name yet...
29800 2005-05-18 Wim Taymans <wim@fluendo.com>
29802 * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
29803 Port _span() functions to new subbuffers.
29805 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29807 * gst/gstbin.c: (gst_bin_add_func):
29808 Fix clock settery in bins when adding kids after the clock has
29809 been selected.
29811 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29813 * gst/elements/gstidentity.c: (gst_identity_class_init):
29814 Workaround until signals support GstMiniObject.
29816 2005-05-18 Jan Schmidt <thaytan@mad.scientist.com>
29818 * gst/gstbuffer.c:
29819 Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
29821 2005-05-18 Wim Taymans <wim@fluendo.com>
29823 * gst/base/Makefile.am:
29824 * gst/base/gstadapter.c: (gst_adapter_base_init),
29825 (gst_adapter_class_init), (gst_adapter_init),
29826 (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
29827 (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
29828 (gst_adapter_flush), (gst_adapter_available),
29829 (gst_adapter_available_fast):
29830 * gst/base/gstadapter.h:
29831 Ported and added adapter to the base classes.
29833 2005-05-17 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
29835 * gst/gst.c:
29836 * gst/gstmessage.c:
29837 Make sure the class is reffed/unreffed once before threads can be
29838 used. Fixes #304551.
29840 2005-05-17 Wim Taymans <wim@fluendo.com>
29842 * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
29843 (gst_basesink_chain_unlocked), (gst_basesink_activate):
29844 * gst/gstminiobject.c: (gst_mini_object_get_type),
29845 (gst_mini_object_free):
29846 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
29847 (gst_pad_push), (gst_pad_push_event):
29848 * gst/gstqueue.c: (gst_queue_change_state):
29849 Don't queue buffers in basesink when we are flushing.
29850 Unref buffer when flushing in basesink.
29851 Flush queue when going to READY
29852 Unref buffer when _push() returns an error.
29853 Don't free MiniObject instance when refcount is incremented
29854 in _finalize() so that we can recover objects.
29856 2005-05-17 Thomas Vander Stichele <thomas at apestaart dot org>
29858 * docs/manual/advanced-schedulers.xml:
29859 * docs/manual/appendix-checklist.xml:
29860 * docs/pwg/advanced-clock.xml:
29861 * docs/pwg/advanced-interfaces.xml:
29862 * docs/pwg/advanced-request.xml:
29863 * docs/pwg/advanced-types.xml:
29864 * docs/pwg/intro-preface.xml:
29865 * examples/plugins/example.c: (gst_example_get_type),
29866 (gst_example_class_init), (gst_example_chain),
29867 (gst_example_set_property), (gst_example_get_property),
29868 (gst_example_change_state), (plugin_init):
29869 * examples/plugins/example.h:
29870 small doc fixes
29872 2005-05-17 Wim Taymans <wim@fluendo.com>
29874 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
29875 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
29876 * gst/gstqueue.c: (gst_queue_change_state):
29877 Clear queue when going to READY.
29878 Remove IN_SETCAPS flag too.
29880 2005-05-17 Tim-Philipp Müller <tim at centricular dot net>
29882 * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
29883 Remove implicit cast from gboolean to GstElementStateReturn;
29884 make sure we still return failure in paused => ready case if
29885 the parent class fails to change state and our own stop
29886 vfunc succeeds.
29888 2005-05-17 Wim Taymans <wim@fluendo.com>
29890 * tools/gst-launch.c: (event_loop):
29891 Message was unreffed too soon.
29893 2005-05-16 Andy Wingo <wingo@pobox.com>
29895 * gst/gstbin.c (sink_iterator_filter): Err... um...
29897 * check/gst/gstbin.c (test_ghost_pads): New test for the
29898 ghosting-if-elements-not-in-same-bin behavior.
29900 2005-05-16 David Schleef <ds@schleef.org>
29902 * gst/gstminiobject.c: Use g_atomic_int_get() instead of
29903 accessing refcount directly.
29905 2005-05-15 David Schleef <ds@schleef.org>
29907 * check/Makefile.am: remove GstData checks
29908 * check/gst-libs/gdp.c: (START_TEST): fix for API changes
29909 * gst/Makefile.am: add miniobject, remove data
29910 * gst/gst.h: add miniobject, remove data
29911 * gst/gstdata.c: remove
29912 * gst/gstdata.h: remove
29913 * gst/gstdata_private.h: remove
29914 * gst/gsttypes.h: remove GstEvent and GstMessage
29915 * gst/gstelement.c: (gst_element_post_message): fix for API changes
29916 * gst/gstmarshal.list: change BOXED -> OBJECT
29918 Implement GstMiniObject.
29919 * gst/gstminiobject.c:
29920 * gst/gstminiobject.h:
29922 Modify to be subclasses of GstMiniObject.
29923 * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
29924 (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
29925 (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
29926 (gst_subbuffer_get_type), (gst_subbuffer_init),
29927 (gst_buffer_create_sub), (gst_buffer_is_span_fast),
29928 (gst_buffer_span):
29929 * gst/gstbuffer.h:
29930 * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
29931 (gst_event_class_init), (gst_event_init), (gst_event_finalize),
29932 (_gst_event_copy), (gst_event_new):
29933 * gst/gstevent.h:
29934 * gst/gstmessage.c: (_gst_message_initialize),
29935 (gst_message_get_type), (gst_message_class_init),
29936 (gst_message_init), (gst_message_finalize), (_gst_message_copy),
29937 (gst_message_new), (gst_message_new_error),
29938 (gst_message_new_warning), (gst_message_new_tag),
29939 (gst_message_new_state_changed), (gst_message_new_application):
29940 * gst/gstmessage.h:
29941 * gst/gstprobe.c: (gst_probe_perform),
29942 (gst_probe_dispatcher_dispatch):
29943 * gst/gstprobe.h:
29944 * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
29945 (gst_query_class_init), (gst_query_finalize), (gst_query_init),
29946 (_gst_query_copy), (gst_query_new):
29948 Update elements for GstData -> GstMiniObject changes
29949 * gst/gstquery.h:
29950 * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
29951 (gst_queue_chain), (gst_queue_loop):
29952 * gst/elements/gstbufferstore.c:
29953 (gst_buffer_store_add_buffer_func),
29954 (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
29955 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
29956 (gst_fakesink_render):
29957 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
29958 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
29959 (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
29960 (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
29961 (gst_filesrc_create_read):
29962 * gst/elements/gstidentity.c: (gst_identity_class_init):
29963 * gst/elements/gsttypefindelement.c:
29964 (gst_type_find_element_src_event), (free_entry_buffers),
29965 (gst_type_find_element_handle_event):
29966 * libs/gst/dataprotocol/dataprotocol.c:
29967 (gst_dp_header_from_buffer):
29968 * libs/gst/dataprotocol/dataprotocol.h:
29969 * libs/gst/dataprotocol/dp-private.h:
29971 2005-05-15 David Schleef <ds@schleef.org>
29973 * gst/elements/gstelements.c: Don't include headers that were
29974 just removed.
29976 2005-05-15 David Schleef <ds@schleef.org>
29978 * gst/elements/Makefile.am: Remove some elements that don't
29979 need to be in the core (or even exist at all).
29980 * gst/elements/gstaggregator.c:
29981 * gst/elements/gstaggregator.h:
29982 * gst/elements/gstmd5sink.c:
29983 * gst/elements/gstmd5sink.h:
29984 * gst/elements/gstmultifilesrc.c:
29985 * gst/elements/gstmultifilesrc.h:
29986 * gst/elements/gstpipefilter.c:
29987 * gst/elements/gstpipefilter.h:
29988 * gst/elements/gstshaper.c:
29989 * gst/elements/gstshaper.h:
29990 * gst/elements/gststatistics.c:
29991 * gst/elements/gststatistics.h:
29992 * po/POTFILES.in: Remove above files.
29994 2005-05-14 Andy Wingo <wingo@pobox.com>
29996 * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
29997 so as to get the refs right.
29998 (sink_iterator_filter): New function, wraps bin_element_is_sink,
29999 unreffing objects that don't pass the filter.
30001 * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
30002 gst_element_set_bus.
30003 (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
30004 normal cases, this will destroy the bus.
30006 * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
30007 object.
30009 * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
30010 has no sinks.
30012 2005-05-13 Andy Wingo <wingo@pobox.com>
30014 * gst/gstutils.c (gst_element_link_pads): Instead of calling
30015 gst_pad_link, call pad_link_maybe_ghosting,
30016 (pad_link_maybe_ghosting): Links pads, making sure that the
30017 elements being linked are in the same bin.
30018 (find_common_root, object_has_ancestor, ghost_up, remove_pad):
30019 Helpers for pad_link_maybe_ghosting.
30021 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
30023 * configure.ac:
30024 Require GLib >= 2.4.0 (for the g_atomic_* funcs)
30026 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
30028 * docs/design/part-element-source.txt:
30029 Mention GstPushSrc
30031 2005-05-12 Wim Taymans <wim@fluendo.com>
30033 * gst/base/gstbasesink.c: (gst_basesink_init),
30034 (gst_basesink_activate):
30035 * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
30036 (gst_basesrc_is_seekable):
30037 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
30038 (bin_element_is_sink), (gst_bin_change_state):
30039 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
30040 * gst/gstelement.h:
30041 Identify sinks by their flag to avoid overly complicated
30042 checks (fow now).
30043 Do state changes even for elements not reachable from the
30044 sinks.
30045 BaseSink is a sink now :)
30046 Some more debugging info in the basesrc.
30049 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
30051 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
30052 Implement _query on a bin, similar to _send_event.
30054 2005-05-12 Tim-Philipp Müller <tim at centricular dot net>
30056 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
30057 Discont event offset format should be GST_FORMAT_BYTES,
30058 not GST_FORMAT_TIME.
30060 2005-05-12 Wim Taymans <wim@fluendo.com>
30062 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
30063 Same fix as Ronald's but without the signal.
30065 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
30067 * gst/gstutils.c: (gst_element_query_position):
30068 No, an element is not a pad.
30070 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
30072 * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
30073 (gst_bin_get_state):
30074 If a child is removed from a bin while we remove the child from
30075 the bin and while we're retrieving its state, signal this to the
30076 get_state function so we abort the wait (instead of waiting for
30077 a timeout) and can immediately re-iterate over all other elements.
30079 2005-05-12 Wim Taymans <wim@fluendo.com>
30081 * gst/base/Makefile.am:
30082 * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
30083 (gst_basesrc_start):
30084 * gst/base/gstbasesrc.h:
30085 * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
30086 (gst_pushsrc_base_init), (gst_pushsrc_class_init),
30087 (gst_pushsrc_init), (gst_pushsrc_create):
30088 * gst/base/gstpushsrc.h:
30089 Added is_seekable to BaseSrc
30090 Added simple PushSrc.
30092 2005-05-11 Wim Taymans <wim@fluendo.com>
30094 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
30095 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
30096 (gst_element_link_pads), (gst_element_query_position),
30097 (gst_element_query_convert), (intersect_caps_func),
30098 (gst_pad_query_position), (gst_pad_query_convert):
30099 Fix refcounting in utils function.
30100 No point in trying to activate a pad when it's added, it could
30101 be added from the state change function and then we deadlock, the
30102 element has to decide what to do.
30104 2005-05-10 Andy Wingo <wingo@pobox.com>
30106 * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
30107 *all* the arguments.
30109 * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
30110 stream lock if it's a FLUSH_DONE; normal flushes don't get the
30111 lock (according to the docs -- if this is wrong change the docs).
30113 * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
30114 flush messages in the NULL state.
30116 * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
30117 message immediately and return.
30118 (gst_bus_set_flushing): New function. If a bus is flushing, it
30119 flushes out any queued messages and immediately unrefs new
30120 messages. This is so when an element goes to NULL, all of the
30121 unhandled messages coming from it can be freed, and their
30122 references to the element dropped. In other words: message source
30123 ref considered harmful :P
30125 * gst/gstbin.c (gst_bin_change_state): Unref peer element when
30126 we're finished with it.
30128 * gst/gstmessage.c (gst_message_new_state_changed):
30130 2005-05-10 Wim Taymans <wim@fluendo.com>
30132 * gst/gstvalue.c: (gst_value_compare_flags),
30133 (gst_value_serialize_flags), (gst_value_deserialize_flags),
30134 (_gst_value_initialize):
30135 Added flags serialize/deserialize/compare code.
30137 2005-05-09 Andy Wingo <wingo@pobox.com>
30139 * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
30140 Intersect the peer's caps with our caps.
30142 2005-05-09 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
30144 * gst/base/gsttypefindhelper.c: (helper_find_peek):
30145 * gst/elements/gsttypefindelement.c: (find_peek):
30146 Handle negative offsets better. Fixes decodebin.
30148 2005-05-09 Wim Taymans <wim@fluendo.com>
30150 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
30151 (gst_base_transform_event):
30152 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
30153 Implement accept_caps.
30154 Fix silly lock/unlock mismatch in base class.
30156 2005-05-09 Wim Taymans <wim@fluendo.com>
30158 * docs/design/draft-push-pull.txt:
30159 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
30160 * gst/elements/gstfilesink.c: (gst_filesink_init),
30161 (gst_filesink_query):
30162 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
30163 (gst_type_find_handle_src_query), (find_element_get_length):
30164 * gst/gstelement.c: (gst_element_seek), (gst_element_query):
30165 * gst/gstelement.h:
30166 * gst/gstmessage.c:
30167 * gst/gstmessage.h:
30168 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
30169 (gst_real_pad_get_caps_unlocked),
30170 (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
30171 (gst_pad_event_default_dispatch), (gst_pad_event_default),
30172 (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
30173 (gst_real_pad_dispose), (gst_real_pad_finalize),
30174 (gst_pad_load_and_link), (gst_pad_save_thyself),
30175 (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
30176 (gst_pad_check_pull_range), (gst_pad_pull_range),
30177 (gst_pad_template_get_type), (gst_pad_template_class_init),
30178 (gst_pad_template_init), (gst_pad_template_dispose),
30179 (name_is_valid), (gst_static_pad_template_get),
30180 (gst_pad_template_new), (gst_static_pad_template_get_caps),
30181 (gst_pad_template_get_caps), (gst_pad_set_element_private),
30182 (gst_pad_get_element_private), (gst_pad_start_task),
30183 (gst_pad_pause_task), (gst_pad_stop_task),
30184 (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
30185 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
30186 (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
30187 (gst_ghost_pad_new):
30188 * gst/gstpad.h:
30189 * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
30190 (gst_query_new_position), (gst_query_set_position),
30191 (gst_query_parse_position), (gst_query_new_convert),
30192 (gst_query_set_convert), (gst_query_parse_convert):
30193 * gst/gstquery.h:
30194 * gst/gstqueryutils.c:
30195 * gst/gstqueryutils.h:
30196 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
30197 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
30198 (gst_queue_handle_src_query):
30199 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
30200 (gst_element_query_position), (gst_element_query_convert),
30201 (intersect_caps_func), (gst_pad_query_position),
30202 (gst_pad_query_convert):
30203 * gst/gstutils.h:
30204 * tools/gst-inspect.c: (print_pad_info):
30205 * tools/gst-xmlinspect.c: (print_element_info):
30206 Remove old query functions. Ported old code.
30207 Added position/convert helper functions to gstutils.
30208 Reordered gstpad.c code, grouping relevant things.
30209 Remove gst_message_new(), always need to speficy a specific
30210 message.
30213 2005-05-09 Andy Wingo <wingo@pobox.com>
30215 * gst/gstiterator.h: Add some includes.
30217 * gst/gstqueryutils.h: Include more headers.
30219 * gst/gstpad.h:
30220 * gst/gstpad.c (gst_pad_query_position): New routine, replaces
30221 some uses of gst_pad_query.
30223 * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
30224 NULL out parameters.
30225 (gst_query_new_position): New proc, allocates a new position
30226 query.
30228 * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
30229 gstqueryutils.c to the build.
30231 * gst/gststructure.c (gst_structure_set_valist): Implement with
30232 the generic G_VALUE_COLLECT.
30234 2005-05-08 Edward Hervey <bilboed@bilboed.com>
30236 * gst/Makefile.am: (gst_headers):
30237 Added gstqueryutils.h to the list of headers to install, that was
30238 a 'nachty' move wingo :)
30240 2005-05-06 Andy Wingo <wingo@pobox.com>
30242 * gst/gstquery.h
30243 * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
30244 GstData, init a memchunk.
30245 (standard_definitions): Add a few query types, deprecate a few.
30246 (gst_query_get_type): New proc.
30247 (_gst_query_copy, _gst_query_free, gst_query_new): GstData
30248 implementation.
30249 (gst_query_new_application, gst_query_get_structure): New public
30250 procs.
30252 * docs/design/draft-query.txt: Removed LINKS from the query types,
30253 because all the rest can be dispatched to other pads -- seemed
30254 ugly to have a query that couldn't be dispatched. internal_links
30255 is fine as a pad method.
30257 * gst/gstpad.h: Add query2 as a pad method, add the new functions
30258 in gstpad.c, but maintain binary compatibility for the moment.
30259 Will fix before 0.9 is out.
30261 * gst/gstqueryutils.c:
30262 * gst/gstqueryutils.h: New files, implement 3 methods for each
30263 query type: parse_query, parse_response, and set. Probably need an
30264 allocator as well.
30266 * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
30268 * gst/elements/gstfilesink.c (gst_filesink_query2):
30269 * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
30270 query_types, and formats methods.
30272 * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
30273 (gst_pad_set_query2_function): New functions.
30274 (gst_real_pad_init): Set query2_default as the default query2
30275 function. Basically just dispatches to internally linked pads.
30277 Needs review!
30279 * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
30280 without using the atomic operations. Only one thread can possibly
30281 be accessing the data at this point. Changed so as to avoid
30282 gst_atomic operations.
30284 2005-05-06 Wim Taymans <wim@fluendo.com>
30286 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
30287 Also set caps if we use the fallback buffer alloc.
30289 2005-05-06 Tim-Philipp Müller <tim at centricular dot net>
30291 * docs/gst/Makefile.am:
30292 * docs/gst/gstreamer-docs.sgml:
30293 * docs/gst/gstreamer-sections.txt:
30294 * docs/gst/tmpl/gstatomic.sgml:
30295 * docs/gst/tmpl/gstmemchunk.sgml:
30296 * testsuite/elements/struct_i386.h:
30297 * win32/GStreamer.vcproj:
30298 * win32/Makefile:
30299 Purge GstAtomic stuff from docs and win32 makefiles as well
30301 2005-05-06 Wim Taymans <wim@fluendo.com>
30303 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
30304 * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
30305 * gst/gstpad.c: (gst_pad_peer_get_caps):
30306 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
30307 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
30308 (gst_queue_src_activate), (gst_queue_change_state):
30309 * gst/gstqueue.h:
30310 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
30311 (intersect_caps_func):
30312 Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
30313 Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
30314 Some fixes for the peer_get_caps() change.
30316 2005-05-06 Wim Taymans <wim@fluendo.com>
30318 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
30319 (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
30320 (gst_basesink_activate):
30321 Actually do something with error codes returned from the push
30322 functions.
30324 2005-05-06 Wim Taymans <wim@fluendo.com>
30326 * docs/design/part-element-sink.txt:
30327 * docs/design/part-element-source.txt:
30328 * gst/base/gstbasesink.c: (gst_basesink_class_init),
30329 (gst_basesink_event), (gst_basesink_activate):
30330 * gst/base/gstbasesink.h:
30331 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
30332 (gst_basesrc_activate):
30333 * gst/base/gstbasesrc.h:
30334 * gst/gstelement.c: (gst_element_pads_activate):
30335 Some more documentation.
30336 Fixed scheduling decision in _pads_activate().
30338 2005-05-05 Andy Wingo <wingo@pobox.com>
30340 * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
30341 the test suite.
30343 2005-05-05 Wim Taymans <wim@fluendo.com>
30345 * gst/base/Makefile.am:
30346 * gst/base/gstbasesink.h:
30347 * gst/base/gstbasesrc.c: (gst_basesrc_init),
30348 (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
30349 * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
30350 (gst_collectpads_class_init), (gst_collectpads_init),
30351 (gst_collectpads_finalize), (gst_collectpads_new),
30352 (gst_collectpads_set_function), (gst_collectpads_add_pad),
30353 (find_pad), (gst_collectpads_remove_pad),
30354 (gst_collectpads_is_active), (gst_collectpads_collect),
30355 (gst_collectpads_collect_range), (gst_collectpads_start),
30356 (gst_collectpads_stop), (gst_collectpads_peek),
30357 (gst_collectpads_pop), (gst_collectpads_available),
30358 (gst_collectpads_read), (gst_collectpads_flush),
30359 (gst_collectpads_chain):
30360 * gst/base/gstcollectpads.h:
30361 * gst/elements/Makefile.am:
30362 * gst/elements/gstelements.c:
30363 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
30364 (gst_fakesink_get_times), (gst_fakesink_event),
30365 (gst_fakesink_preroll), (gst_fakesink_render):
30366 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
30367 (gst_filesink_init), (gst_filesink_set_location),
30368 (gst_filesink_open_file), (gst_filesink_close_file),
30369 (gst_filesink_pad_query), (gst_filesink_event),
30370 (gst_filesink_render), (gst_filesink_change_state):
30371 * gst/elements/gstfilesink.h:
30372 Added object to help in making collect pad based elements.
30373 Ported filesink.
30374 Make event function in sink baseclass return gboolean.
30376 2005-05-05 Wim Taymans <wim@fluendo.com>
30378 * gst/gstbin.c: (gst_bin_send_event), (compare_name),
30379 (gst_bin_get_by_name):
30380 * gst/gstbuffer.h:
30381 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
30382 (gst_clock_finalize):
30383 * gst/gstdata.c: (gst_data_replace):
30384 * gst/gstdata.h:
30385 * gst/gstelement.c: (gst_element_request_pad),
30386 (gst_element_pads_activate):
30387 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
30388 (gst_object_unref):
30389 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
30390 (gst_pad_set_checkgetrange_function),
30391 (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
30392 (gst_pad_check_pull_range), (gst_pad_pull_range),
30393 (gst_static_pad_template_get_caps), (gst_pad_start_task),
30394 (gst_pad_pause_task), (gst_pad_stop_task):
30395 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
30396 (gst_element_request_pad), (gst_pad_proxy_getcaps):
30397 Fix name lookup in GstBin.
30398 Added _data_replace() function and _buffer_replace()
30399 Use finalize method to clean up clock.
30400 Fix refcounting on request pads.
30401 Fix pad schedule mode error.
30402 Some more object refcounting debug info,
30405 2005-05-04 Andy Wingo <wingo@pobox.com>
30407 * check/Makefile.am:
30408 * docs/gst/tmpl/gstatomic.sgml:
30409 * docs/gst/tmpl/gstplugin.sgml:
30410 * gst/base/gstbasesink.c: (gst_basesink_activate):
30411 * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
30412 (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
30413 (gst_basesrc_query), (gst_basesrc_set_property),
30414 (gst_basesrc_get_property), (gst_basesrc_check_get_range),
30415 (gst_basesrc_activate):
30416 * gst/base/gstbasesrc.h:
30417 * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
30418 (gst_base_transform_src_activate):
30419 * gst/elements/gstelements.c:
30420 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
30421 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
30422 * gst/elements/gsttee.c: (gst_tee_sink_activate):
30423 * gst/elements/gsttypefindelement.c: (find_element_get_length),
30424 (gst_type_find_element_checkgetrange),
30425 (gst_type_find_element_activate):
30426 * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
30427 * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
30428 (gst_caps_load_thyself):
30429 * gst/gstelement.c: (gst_element_pads_activate),
30430 (gst_element_save_thyself), (gst_element_restore_thyself):
30431 * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
30432 (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
30433 * gst/gstpad.h:
30434 * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
30435 (gst_xml_parse_file), (gst_xml_parse_memory),
30436 (gst_xml_get_element), (gst_xml_make_element):
30437 * gst/indexers/gstfileindex.c: (gst_file_index_load),
30438 (_file_index_id_save_xml), (gst_file_index_commit):
30439 * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
30440 (read_enum), (load_pad_template), (load_feature), (load_plugin),
30441 (load_paths):
30442 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
30443 (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
30444 * tools/gst-complete.c: (main):
30445 * tools/gst-compprep.c: (main):
30446 * tools/gst-inspect.c: (print_element_properties_info):
30447 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
30448 * tools/gst-xmlinspect.c: (print_element_properties):
30449 GCC 4 fixen.
30451 2005-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
30453 * gst/gstplugin.c: (gst_plugin_check_module),
30454 (gst_plugin_check_file), (gst_plugin_load_file):
30455 apply patch from #172526 to make register work on MacOSX
30457 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
30459 * docs/gst/tmpl/gstconfig.sgml:
30460 * gst/gstconfig.h.in:
30461 move documentation for some symbols. Add doc for GST_PTR_FORMAT
30462 * testsuite/debug/printf_extension.c: (main):
30463 Do not use GST_PTR_FORMAT on pointers to types with
30464 sizeof < sizeof(gpointer). Fixes test on 64-bit
30465 * testsuite/elements/property.h:
30466 use correct printf format
30468 2005-05-02 Wim Taymans <wim@fluendo.com>
30470 * docs/design/draft-push-pull.txt:
30471 * docs/design/draft-query.txt:
30472 * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
30473 (gst_basesrc_start):
30474 Added draft for new query API.
30475 Added draft for better selecting scheduling methods.
30476 Make basesrc ignore length if the subclass does not support
30477 it.
30479 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
30481 * gst/Makefile.am:
30482 possible fixes for automake-1.5 - _LIBADD is reserved
30484 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
30486 * docs/faq/Makefile.am:
30487 * docs/manual/Makefile.am:
30488 * docs/manuals.mak:
30489 * docs/pwg/Makefile.am:
30490 * gst/Makefile.am:
30491 possible fixes for automake-1.5
30493 2005-04-28 Wim Taymans <wim@fluendo.com>
30495 * gst/base/gstbasesink.c: (gst_basesink_base_init),
30496 (gst_basesink_pad_getcaps), (gst_basesink_init),
30497 (gst_basesink_do_sync):
30498 * gst/gstclock.c: (gst_clock_entry_new):
30499 * gst/gstevent.c: (gst_event_discont_get_value):
30500 * gst/gstpipeline.c: (pipeline_bus_handler),
30501 (gst_pipeline_change_state):
30502 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
30503 Better debugging of clocking info.
30504 Allow NULL values when getting discont values.
30506 2005-04-27 Wim Taymans <wim@fluendo.com>
30508 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
30509 * check/gst/gstpad.c: (gst_pad_suite):
30510 Increase timeout for checks.
30512 2005-04-27 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
30514 * check/Makefile.am:
30515 fix the broken rule for cleanup. Apparently this rule is
30516 only needed on FC2, so maybe this warrants further autotool
30517 inspection.
30519 2005-04-26 Wim Taymans <wim@fluendo.com>
30521 * gst/gsttrashstack.h:
30522 Ooohh. a nasty one! After having a failed pop() from the stack,
30523 it's possible that the stack is empty. In that case, don't
30524 follow the NULL pointer.
30526 2005-04-25 Wim Taymans <wim@fluendo.com>
30528 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
30529 (gst_pad_set_checkgetrange_function),
30530 (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
30531 (gst_pad_check_pull_range), (gst_pad_pull_range),
30532 (gst_static_pad_template_get_caps), (gst_pad_start_task),
30533 (gst_pad_pause_task), (gst_pad_stop_task):
30534 * gst/gstplugin.c: (gst_plugin_load):
30535 * gst/gstplugin.h:
30536 Remove gst_library_load as it does more harm than good with
30537 the new g_module flags.
30538 Revert bogus caps template check in pad linking, pad caps
30539 are important when linking not the template, which is more
30540 general than the current caps.
30542 2005-04-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
30544 * gst/autoplug/.cvsignore:
30545 * gst/autoplug/Makefile.am:
30546 * gst/autoplug/gstsearchfuncs.c:
30547 * gst/autoplug/gstsearchfuncs.h:
30548 * gst/autoplug/gstspider.c:
30549 * gst/autoplug/gstspider.h:
30550 * gst/autoplug/gstspideridentity.c:
30551 * gst/autoplug/gstspideridentity.h:
30552 * gst/autoplug/spidertest.c:
30553 Die, spider, die.
30555 2005-04-25 Wim Taymans <wim@fluendo.com>
30557 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
30558 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
30559 (gst_pad_pull_range), (gst_static_pad_template_get_caps),
30560 (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
30561 * gst/gstpad.h:
30562 Added stubs for unimplemented functions.
30564 2005-04-24 David Schleef <ds@schleef.org>
30566 * gst/gstpad.h: Disable some unimplemented functions. Wim,
30567 please fix.
30569 2005-04-24 David Schleef <ds@schleef.org>
30571 Convert everything from GstAtomicInt to g_atomic_int_*, and
30572 remove gstatomic.
30573 * gst/Makefile.am:
30574 * gst/gstatomic.c:
30575 * gst/gstatomic.h:
30576 * gst/gstatomic_impl.h:
30577 * gst/gstbuffer.c:
30578 * gst/gstcaps.c:
30579 * gst/gstcaps.h:
30580 * gst/gstclock.c:
30581 * gst/gstclock.h:
30582 * gst/gstdata.c:
30583 * gst/gstdata.h:
30584 * gst/gstdata_private.h:
30585 * gst/gstevent.c:
30586 * gst/gstinfo.c:
30587 * gst/gstinfo.h:
30588 * gst/gstmessage.c:
30589 * gst/gstobject.c:
30590 * gst/gstobject.h:
30591 * gst/gststructure.c:
30592 * gst/gststructure.h:
30593 * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
30594 * gst/gstutils.h:
30596 2005-04-24 David Schleef <ds@schleef.org>
30598 * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
30599 make the regressions tests work. Remove some code that is no
30600 longer true.
30601 * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
30602 Disable warning for pads without templates.
30604 2005-04-24 David Schleef <ds@schleef.org>
30606 * gst/gstpad.c: Remove handling of filtered caps. Fix/merge
30607 functions that handle filtered links.
30608 * gst/gstpad.h: Remove 'appfilter' field and prototypes of
30609 removed functions.
30610 * gst/gstutils.c: Fix/remove utility functions that handle
30611 filtered caps.
30612 * gst/gstutils.h:
30613 * gst/gstvalue.c: Add serialization/deserialization of caps
30614 * gst/parse/grammar.y: Ignore filtered caps when linking. This
30615 requires fixing so that the filter caps notation creates
30616 a capsfilter element and sets the filter_caps property. I
30617 think everyone probably wants to keep the shorthand notation.
30618 * docs/gst/tmpl/gstelement.sgml: updates for API changes.
30619 * docs/gst/tmpl/gstpad.sgml:
30621 * gst/elements/gstelements.c: Register capsfilter element.
30622 * gst/Makefile.am: fix spacing
30623 * docs/random/ds/0.9-suggested-changes: random
30625 2005-04-23 David Schleef <ds@schleef.org>
30627 * gst/elements/Makefile.am:
30628 * gst/elements/gstcapsfilter.c: New element that acts like an
30629 identity, but filters caps. Will eventually replace filtered
30630 caps in pad linking.
30631 * gst/gstutils.c: (gst_element_create_all_pads): New function
30632 to create all the ALWAYS pads that are registered with an
30633 element class. This functionality should eventually be
30634 merged in with GstElement initialization.
30635 * gst/gstutils.h:
30636 * testsuite/trigger/README: part of trigger test code that should
30637 have been checked in a long time ago.
30639 2005-04-23 David Schleef <ds@schleef.org>
30641 * gst/Makefile.am: Remove as-libtool stuff. It's likely not
30642 needed with new versions of libtool (nobody will confirm this),
30643 and hard to carry around.
30644 * gst/autoplug/Makefile.am:
30645 * gst/base/Makefile.am:
30646 * gst/elements/Makefile.am:
30647 * gst/indexers/Makefile.am:
30648 * gst/schedulers/Makefile.am:
30649 * libs/gst/bytestream/Makefile.am:
30650 * libs/gst/control/Makefile.am:
30651 * libs/gst/dataprotocol/Makefile.am:
30652 * libs/gst/getbits/Makefile.am:
30654 2005-04-21 Wim Taymans <wim@fluendo.com>
30656 * docs/design/draft-push-pull.txt:
30657 * docs/design/part-MT-refcounting.txt:
30658 * docs/design/part-TODO.txt:
30659 * docs/design/part-caps.txt:
30660 * docs/design/part-events.txt:
30661 * docs/design/part-gstbus.txt:
30662 * docs/design/part-gstpipeline.txt:
30663 * docs/design/part-messages.txt:
30664 * docs/design/part-push-pull.txt:
30665 * docs/design/part-query.txt:
30666 Some more docs.
30668 2005-04-21 Wim Taymans <wim@fluendo.com>
30670 * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
30671 (gst_message_new), (gst_message_new_error),
30672 (gst_message_new_warning), (gst_message_new_tag),
30673 (gst_message_new_state_changed), (gst_message_new_application),
30674 (gst_message_get_structure):
30675 * gst/gstmessage.h:
30676 * gst/gststructure.c: (gst_structure_set_parent_refcount),
30677 (gst_structure_copy_conditional):
30678 Use parent refcount in GstMessage to ensure GstStructure
30679 consistency.
30680 Cleaned up headers a bit.
30683 2005-04-20 Wim Taymans <wim@fluendo.com>
30685 * gst/base/gstbasesink.c: (gst_basesink_base_init),
30686 (gst_basesink_pad_getcaps), (gst_basesink_init),
30687 (gst_basesink_chain_unlocked):
30688 * gst/base/gsttypefindhelper.c: (helper_find_suggest),
30689 (gst_type_find_helper):
30690 * gst/elements/gsttypefindelement.c:
30691 (gst_type_find_element_have_type), (gst_type_find_element_init),
30692 (stop_typefinding), (gst_type_find_element_handle_event),
30693 (find_suggest), (gst_type_find_element_chain),
30694 (gst_type_find_element_checkgetrange),
30695 (gst_type_find_element_getrange), (do_typefind),
30696 (gst_type_find_element_activate):
30697 * gst/gstbuffer.c: (_gst_buffer_sub_free),
30698 (gst_buffer_default_free), (gst_buffer_default_copy),
30699 (gst_buffer_set_caps):
30700 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
30701 (gst_caps_replace):
30702 * gst/gstmessage.c: (gst_message_new),
30703 (gst_message_new_state_changed):
30704 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
30705 (gst_pad_set_checkgetrange_function),
30706 (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
30707 (gst_pad_set_caps), (gst_pad_check_pull_range),
30708 (gst_pad_pull_range), (gst_static_pad_template_get_caps):
30709 * gst/gstpad.h:
30710 * gst/gsttypefind.c: (gst_type_find_register):
30711 Make gst_caps_replace() work like other _replace() functions.
30712 Use _caps_replace() where possible.
30713 Make sure _message_new() initialises its field.
30714 Add gst_static_pad_template_get_caps()
30717 2005-04-18 Andy Wingo <wingo@pobox.com>
30719 * gst/gstelement.c (gst_element_pads_activate): Check pull_range
30720 on the peer, not the pad. I think that was a typo. Pass an extra
30721 arg to see if random access is possible. Activate the pads as
30722 PULL_RANGE if possible.
30724 * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
30726 * gst/base/gstbasesrc.c (gst_basesrc_set_property)
30727 (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
30728 to PROP_....
30730 2005-04-14 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
30732 * docs/faq/using.xml:
30733 Add note on gstreamer-properties (#154996).
30735 2005-04-13 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
30737 * docs/random/bbb/optional-properties:
30738 Some analysis on optional properties.
30740 2005-04-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
30742 * docs/gst/tmpl/gstelementfactory.sgml:
30743 * gst/gstelement.h:
30744 * gst/gstelementfactory.c: (gst_element_factory_init),
30745 (gst_element_factory_cleanup), (gst_element_register),
30746 (__gst_element_factory_add_static_pad_template),
30747 (gst_element_factory_get_static_pad_templates),
30748 (gst_element_factory_can_src_caps),
30749 (gst_element_factory_can_sink_caps):
30750 * gst/registries/Makefile.am:
30751 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
30752 (gst_xml_registry_class_init), (gst_xml_registry_init),
30753 (gst_xml_registry_new), (gst_xml_registry_set_property),
30754 (gst_xml_registry_get_property), (get_time), (make_dir),
30755 (gst_xml_registry_get_perms_func),
30756 (plugin_times_older_than_recurse), (plugin_times_older_than),
30757 (gst_xml_registry_open_func), (gst_xml_registry_load_func),
30758 (gst_xml_registry_save_func), (gst_xml_registry_close_func),
30759 (add_to_char_array), (read_string), (read_uint), (read_enum),
30760 (load_pad_template), (load_feature), (load_plugin), (load_paths),
30761 (gst_xml_registry_load), (gst_xml_registry_load_plugin),
30762 (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
30763 (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
30764 (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
30765 (gst_xml_registry_rebuild):
30766 * gst/registries/gstlibxmlregistry.h:
30767 * tools/gst-compprep.c: (main):
30768 * tools/gst-inspect.c: (print_pad_templates_info):
30769 * tools/gst-xmlinspect.c: (print_element_info):
30770 Use libxml2 for registry parsing, use staticpadtemplates in
30771 elementfactories. Makes gst_init() +/- 10x faster.
30773 2005-04-12 Wim Taymans <wim@fluendo.com>
30775 * gst/base/Makefile.am:
30776 * gst/base/gstbasesink.c: (gst_basesink_base_init),
30777 (gst_basesink_pad_getcaps), (gst_basesink_init),
30778 (gst_basesink_event), (gst_basesink_change_state):
30779 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
30780 (gst_basesrc_init), (gst_basesrc_query),
30781 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
30782 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
30783 (gst_basesrc_check_get_range), (gst_basesrc_loop),
30784 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
30785 (gst_basesrc_stop), (gst_basesrc_activate),
30786 (gst_basesrc_change_state):
30787 * gst/base/gsttypefindhelper.c: (helper_find_peek),
30788 (helper_find_suggest), (gst_type_find_helper):
30789 * gst/base/gsttypefindhelper.h:
30790 * gst/elements/Makefile.am:
30791 * gst/elements/gstelements.c:
30792 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
30793 (gst_fakesink_get_times), (gst_fakesink_event),
30794 (gst_fakesink_preroll), (gst_fakesink_render):
30795 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
30796 (gst_fakesrc_init), (gst_fakesrc_event_handler),
30797 (gst_fakesrc_get_property), (gst_fakesrc_create),
30798 (gst_fakesrc_start), (gst_fakesrc_stop):
30799 * gst/elements/gstfakesrc.h:
30800 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
30801 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
30802 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
30803 (gst_filesrc_create_read), (gst_filesrc_create),
30804 (gst_filesrc_is_seekable), (gst_filesrc_get_size),
30805 (gst_filesrc_start):
30806 * gst/elements/gsttypefindelement.c:
30807 (gst_type_find_element_have_type), (gst_type_find_element_init),
30808 (start_typefinding), (stop_typefinding), (push_buffer_store),
30809 (gst_type_find_element_handle_event),
30810 (gst_type_find_element_chain),
30811 (gst_type_find_element_checkgetrange),
30812 (gst_type_find_element_getrange), (do_typefind),
30813 (gst_type_find_element_activate),
30814 (gst_type_find_element_change_state):
30815 * gst/elements/gsttypefindelement.h:
30816 * gst/gstpipeline.c: (pipeline_bus_handler):
30817 Added typefind helper.
30818 Small preroll fix in the base sink.
30819 Disable typefind code in basesrc.
30820 Crude port of typefindelement.
30821 Fakesrc cleanups.
30824 2005-04-11 Wim Taymans <wim@fluendo.com>
30826 * check/gst/gstbus.c: (gstbus_suite):
30827 * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
30828 * check/gstcheck.h:
30829 Fix up the timeout so that the test does not fail.
30831 2005-04-06 Wim Taymans <wim@fluendo.com>
30833 * gst/base/README:
30834 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
30835 (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
30836 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
30837 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
30838 (gst_basesrc_check_get_range), (gst_basesrc_loop),
30839 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
30840 (gst_basesrc_stop), (gst_basesrc_activate),
30841 (gst_basesrc_change_state), (basesrc_find_peek),
30842 (basesrc_find_suggest), (gst_basesrc_type_find):
30843 * gst/base/gstbasesrc.h:
30844 * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
30845 (gst_filesrc_class_init), (gst_filesrc_init),
30846 (gst_filesrc_finalize), (gst_filesrc_set_location),
30847 (gst_filesrc_set_property), (gst_filesrc_get_property),
30848 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
30849 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
30850 (gst_filesrc_create_read), (gst_filesrc_create),
30851 (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
30852 * gst/elements/gstfilesrc.h:
30853 * gst/gstelement.c: (gst_element_get_state_func),
30854 (gst_element_lost_state), (gst_element_pads_activate):
30855 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
30856 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
30857 (gst_pad_pull_range):
30858 * gst/gstpad.h:
30859 More work on the generic source base class, implement seeking,
30860 query.
30861 Make filesrc extend the base source class.
30862 Added gst_pad_set_checkgetrange_function to GstPad.
30864 2005-04-06 Andy Wingo <wingo@pobox.com>
30866 * pkgconfig/gstreamer-base.pc.in:
30867 * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
30869 * pkgconfig/Makefile.am:
30870 * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
30872 2005-04-04 Wim Taymans <wim@fluendo.com>
30874 * gst/base/Makefile.am:
30875 * gst/base/README:
30876 * gst/base/gstbasesink.c: (gst_basesink_base_init),
30877 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
30878 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
30879 (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
30880 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
30881 (gst_basesrc_base_init), (gst_basesrc_class_init),
30882 (gst_basesrc_init), (gst_basesrc_get_formats),
30883 (gst_basesrc_get_query_types), (gst_basesrc_query),
30884 (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
30885 (gst_basesrc_set_property), (gst_basesrc_get_property),
30886 (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
30887 (gst_basesrc_loop), (gst_basesrc_activate),
30888 (gst_basesrc_change_state):
30889 * gst/base/gstbasesrc.h:
30890 * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
30891 (gst_fakesrc_class_init), (gst_fakesrc_init),
30892 (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
30893 (gst_fakesrc_get_property), (gst_fakesrc_create):
30894 * gst/elements/gstfakesrc.h:
30895 * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
30896 (gst_filesrc_open_file), (gst_filesrc_loop),
30897 (gst_filesrc_activate), (filesrc_find_peek),
30898 (gst_filesrc_type_find):
30899 Made base source class, make fakesrc extend it.
30900 Add comments to basesink class.
30901 Some filesrc cleanup.
30903 2005-03-31 David Schleef <ds@schleef.org>
30905 * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
30906 Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
30907 expected to link against libgstreamer.
30908 * gst/base/Makefile.am: link against libgstreamer
30909 * gst/elements/Makefile.am: same
30911 2005-03-31 Andy Wingo <wingo@pobox.com>
30913 * tests/instantiate/Makefile.am:
30914 * tests/instantiate/caps.c: Add test to test speed of caps copy
30915 and free.
30917 * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
30918 GMemChunk to be fair.
30920 * gst/gsttrashstack.h: Remove warning about using the fallback
30921 trash stack implementation, it's still faster than malloc.
30923 2005-03-30 Andy Wingo <wingo@pobox.com>
30925 * tests/complexity.c: Add a copyright.
30927 2005-03-31 Wim Taymans <wim@fluendo.com>
30929 * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
30930 (gst_base_transform_class_init), (gst_base_transform_init),
30931 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
30932 (gst_base_transform_get_property),
30933 (gst_base_transform_sink_activate),
30934 (gst_base_transform_src_activate),
30935 (gst_base_transform_change_state):
30936 * gst/base/gstbasetransform.h:
30937 * gst/elements/gstidentity.c: (gst_identity_class_init),
30938 (gst_identity_event), (gst_identity_check_perfect),
30939 (gst_identity_transform), (gst_identity_start),
30940 (gst_identity_stop):
30941 Added start/stop methods to transform base class so subclasses
30942 don't need to deal with state changes even.
30944 2005-03-31 Wim Taymans <wim@fluendo.com>
30946 * gst/gstevent.c: (gst_event_new_discontinuous_valist),
30947 (gst_event_new_discontinuous), (gst_event_discont_get_value):
30948 * gst/gstevent.h:
30949 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
30950 (gst_pad_pull_range):
30951 Added rate to the discont event to prepare for variable speed
30952 and reverse playback.
30954 2005-03-29 David Schleef <ds@schleef.org>
30956 * configure.ac:
30957 * testsuite/trigger/Makefile.am:
30958 * testsuite/trigger/trigger.c: A little example program to show
30959 how trigger-based elements can work.
30961 2005-03-29 Wim Taymans <wim@fluendo.com>
30963 * gst/base/Makefile.am:
30964 * gst/base/README:
30965 * gst/base/gstbasesink.c: (gst_basesink_get_type),
30966 (gst_basesink_base_init), (gst_basesink_class_init),
30967 (gst_basesink_pad_getcaps), (gst_basesink_init),
30968 (gst_basesink_activate), (gst_basesink_change_state):
30969 * gst/base/gstbasesink.h:
30970 * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
30971 (gst_base_transform_base_init), (gst_base_transform_finalize),
30972 (gst_base_transform_class_init), (gst_base_transform_init),
30973 (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
30974 (gst_base_transform_event), (gst_base_transform_getrange),
30975 (gst_base_transform_chain), (gst_base_transform_handle_buffer),
30976 (gst_base_transform_set_property),
30977 (gst_base_transform_get_property),
30978 (gst_base_transform_sink_activate),
30979 (gst_base_transform_src_activate),
30980 (gst_base_transform_change_state):
30981 * gst/base/gstbasetransform.h:
30982 * gst/elements/gstidentity.c: (gst_identity_finalize),
30983 (gst_identity_class_init), (gst_identity_init),
30984 (gst_identity_event), (gst_identity_check_perfect),
30985 (gst_identity_transform), (gst_identity_set_property),
30986 (gst_identity_get_property), (gst_identity_change_state):
30987 * gst/elements/gstidentity.h:
30988 * gst/gstelement.c: (gst_element_get_state_func),
30989 (gst_element_lost_state), (gst_element_pads_activate):
30990 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
30991 (gst_pad_check_pull_range), (gst_pad_pull_range):
30992 * gst/gstpad.h:
30993 Simplify pad activation.
30994 Added function to check if pull_range can be performed.
30995 Error out when pulling inactive or flushing pads.
30996 Removed const from refcounted types as it does not make sense.
30997 Simplify pad templates in basesink
30998 Added base class for simple 1-to-1 transforms.
30999 Make identity subclass the base transform.
31001 2005-03-29 Andy Wingo <wingo@pobox.com>
31003 * docs/libs/gstreamer-libs-overrides.txt:
31004 * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
31005 really don't understand what's going on, but like whatever. I want
31006 green buildbot!
31008 * docs/gst/Makefile.am:
31009 * docs/libs/Makefile.am: Dist the overrides files.
31011 * check/Makefile.am (clean-local): Remove .libs directories.
31013 * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
31014 elements to EXTRA_DIST, so po/ files are happy.
31016 * po/POTFILES.in: Er, remove it here.
31018 * po/POTFILES: Remove gstspider.c.
31020 * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
31022 * docs/libs/gstreamer-libs-docs.sgml:
31023 * docs/libs/gstreamer-libs-sections.txt: Remove the section on
31024 bytestream.
31026 * tests/complexity.c (main): Set the length of the preroll queue
31027 on the sinks to prevent a lockup.
31029 * libs/gst/dataprotocol/Makefile.am:
31030 * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
31031 the same as the one in check/gst-libs/gdp.c.
31033 * po/, docs/gst/: Commit automatic changes to docs and po files.
31035 * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
31036 the versioned libgstbase.
31038 * check/Makefile.am: Depend on an unversioned gst-register, seems
31039 to make autoconf happier.
31041 * gst/base/Makefile.am: Make libgstbase a versioned lib.
31043 2005-03-28 Wim Taymans <wim@fluendo.com>
31045 * configure.ac:
31046 * docs/design/part-gstelement.txt:
31047 * docs/design/part-negotiation.txt:
31048 * docs/design/part-preroll.txt:
31049 * docs/design/part-scheduling.txt:
31050 * docs/design/part-states.txt:
31051 * gst/Makefile.am:
31052 * gst/base/Makefile.am:
31053 * gst/base/README:
31054 * gst/base/gstbasesink.c: (gst_basesink_get_template),
31055 (gst_basesink_base_init), (gst_basesink_class_init),
31056 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
31057 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
31058 (gst_basesink_set_pad_functions),
31059 (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
31060 (gst_basesink_set_property), (gst_basesink_get_property),
31061 (gst_base_sink_get_template), (gst_base_sink_get_caps),
31062 (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
31063 (gst_basesink_preroll_queue_push),
31064 (gst_basesink_preroll_queue_empty),
31065 (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
31066 (gst_basesink_event), (gst_basesink_get_times),
31067 (gst_basesink_do_sync), (gst_basesink_handle_buffer),
31068 (gst_basesink_chain_unlocked), (gst_basesink_chain),
31069 (gst_basesink_loop), (gst_basesink_activate),
31070 (gst_basesink_change_state):
31071 * gst/base/gstbasesink.h:
31072 * gst/elements/Makefile.am:
31073 * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
31074 (gst_fakesink_class_init), (gst_fakesink_init),
31075 (gst_fakesink_set_property), (gst_fakesink_get_property),
31076 (gst_fakesink_get_times), (gst_fakesink_event),
31077 (gst_fakesink_preroll), (gst_fakesink_render),
31078 (gst_fakesink_change_state):
31079 * gst/elements/gstfakesink.h:
31080 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
31081 (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
31082 * gst/gstelement.c: (gst_element_add_pad),
31083 (gst_element_get_state_func), (gst_element_abort_state),
31084 (gst_element_commit_state), (gst_element_lost_state),
31085 (gst_element_set_state), (gst_element_pads_activate):
31086 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
31087 * gst/gstpipeline.c: (gst_pipeline_send_event),
31088 (gst_pipeline_change_state):
31089 Added state change code.
31090 Added/updated docs.
31091 Added sink base class, make fakesink extend the base class.
31092 Small cleanups in GstPipeline.
31094 2005-03-26 David Schleef <ds@schleef.org>
31096 * gst/Makefile.am: remove gstcpu.[ch]. The gst_cpu functionality
31097 is broken and should be implemented in a different library.
31098 * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
31099 * gst/gst.h: remove gstcpu.h
31100 * gst/gstcpu.c: remove
31101 * gst/gstcpu.h: remove
31102 * gst/Makefile.am.future: Remove this file. It's ancient.
31104 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
31106 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
31107 (gst_bin_send_event):
31108 Add default event/set_manager handlers. The set_manager handler
31109 takes care that the manager is distributed over kids that were
31110 already in the bin before the manager was set. The event handler
31111 is a utility virtual function that sends the event over all sinks,
31112 so that gst_element_send_event (bin, event); has the expected
31113 behaviour.
31114 * gst/gstpad.c: (gst_pad_event_default):
31115 Re-install default event handling for discontinuities, so that
31116 seeking works without requiring hacks in applications or extra
31117 code in sinks.
31118 * gst/gstpipeline.c: (gst_pipeline_class_init),
31119 (gst_pipeline_send_event):
31120 Half hack, half utility: set a pipeline to PAUSED for seek events,
31121 since that is the only way we can guarantee a/v sync. Means that
31122 you can do gst_element_seek (pipeline, method, pos); on a pipeline
31123 and it "just works".
31125 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
31127 * gst/gstpipeline.c: (gst_pipeline_use_clock):
31128 Lock/unlock mismatch.
31130 2005-03-25 Thomas Vander Stichele <thomas at apestaart dot org>
31132 * docs/faq/gst-uninstalled:
31133 add gst-plugins-base
31134 * docs/gst/Makefile.am:
31135 don't error out until docs are fixed
31136 * docs/gst/gstreamer.types:
31137 remove thread
31139 2005-03-22 Wim Taymans <wim@fluendo.com>
31141 * check/Makefile.am:
31142 * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
31143 * gst/gststructure.c: (gst_structure_set_valist),
31144 (gst_structure_copy_conditional):
31145 Activated more tests.
31146 Added message test.
31147 Added G_TYPE_POINTER to GstStructure.
31150 2005-03-22 Wim Taymans <wim@fluendo.com>
31152 * docs/design/part-TODO.txt:
31153 * docs/design/part-events.txt:
31154 * docs/design/part-gstbin.txt:
31155 * docs/design/part-gstbus.txt:
31156 * docs/design/part-gstpipeline.txt:
31157 * docs/design/part-messages.txt:
31158 * gst/gstbus.c:
31159 * gst/gstmessage.c:
31160 Docs updates
31162 2005-03-21 Wim Taymans <wim@fluendo.com>
31164 * gst/gstbus.c: (gst_bus_post):
31165 Fix copy-and-paste error.
31167 2005-03-21 Wim Taymans <wim@fluendo.com>
31169 * check/Makefile.am:
31170 * gst/Makefile.am:
31171 * gst/elements/Makefile.am:
31172 * gst/elements/gstelements.c:
31173 * gst/elements/gstfakesink.c: (gst_fakesink_init),
31174 (gst_fakesink_event), (gst_fakesink_chain):
31175 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
31176 (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
31177 (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
31178 (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
31179 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
31180 (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
31181 (gst_fakesrc_loop), (gst_fakesrc_activate),
31182 (gst_fakesrc_change_state):
31183 * gst/elements/gstfakesrc.h:
31184 * gst/elements/gstfilesrc.c: (gst_filesrc_init),
31185 (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
31186 (gst_filesrc_open_file), (gst_filesrc_loop),
31187 (gst_filesrc_activate), (gst_filesrc_change_state),
31188 (filesrc_find_peek), (filesrc_find_suggest),
31189 (gst_filesrc_type_find):
31190 * gst/elements/gstidentity.c: (gst_identity_finalize),
31191 (gst_identity_class_init), (gst_identity_init),
31192 (gst_identity_proxy_getcaps), (identity_queue_push),
31193 (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
31194 (gst_identity_getrange), (gst_identity_chain),
31195 (gst_identity_sink_loop), (gst_identity_src_loop),
31196 (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
31197 (gst_identity_set_property), (gst_identity_get_property),
31198 (gst_identity_change_state):
31199 * gst/elements/gstidentity.h:
31200 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
31201 (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
31202 (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
31203 (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
31204 (gst_tee_sink_activate):
31205 * gst/elements/gsttee.h:
31206 * gst/gst.c: (gst_register_core_elements), (init_post):
31207 * gst/gst.h:
31208 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
31209 (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
31210 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
31211 (gst_bin_change_state):
31212 * gst/gstbin.h:
31213 * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
31214 (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
31215 (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
31216 (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
31217 (gst_bus_set_sync_handler), (gst_bus_create_watch),
31218 (bus_watch_callback), (bus_watch_destroy),
31219 (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
31220 (poll_timeout), (gst_bus_poll):
31221 * gst/gstbus.h:
31222 * gst/gstcaps.h:
31223 * gst/gstdata.h:
31224 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
31225 (gst_element_post_message), (gst_element_message_full),
31226 (gst_element_get_state_func), (gst_element_get_state),
31227 (gst_element_abort_state), (gst_element_commit_state),
31228 (gst_element_lost_state), (gst_element_set_state),
31229 (gst_element_pads_activate), (gst_element_change_state),
31230 (gst_element_dispose), (gst_element_set_manager_func),
31231 (gst_element_set_bus_func), (gst_element_set_scheduler_func),
31232 (gst_element_set_manager), (gst_element_get_manager),
31233 (gst_element_set_bus), (gst_element_get_bus),
31234 (gst_element_set_scheduler), (gst_element_get_scheduler):
31235 * gst/gstelement.h:
31236 * gst/gstevent.c: (gst_event_new_segment_seek),
31237 (gst_event_new_flush):
31238 * gst/gstevent.h:
31239 * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
31240 (_gst_message_free), (gst_message_get_type), (gst_message_new),
31241 (gst_message_new_eos), (gst_message_new_error),
31242 (gst_message_new_warning), (gst_message_new_tag),
31243 (gst_message_new_state_changed), (gst_message_new_application),
31244 (gst_message_get_structure), (gst_message_parse_tag),
31245 (gst_message_parse_state_changed), (gst_message_parse_error),
31246 (gst_message_parse_warning):
31247 * gst/gstmessage.h:
31248 * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
31249 (gst_real_pad_set_property), (gst_pad_set_active),
31250 (gst_pad_is_active), (gst_pad_set_blocked_async),
31251 (gst_pad_set_blocked), (gst_pad_is_blocked),
31252 (gst_pad_set_activate_function), (gst_pad_set_loop_function),
31253 (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
31254 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
31255 (gst_pad_unlink), (gst_pad_link_prepare_filtered),
31256 (gst_pad_link_filtered), (gst_pad_relink_filtered),
31257 (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
31258 (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
31259 (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
31260 (gst_pad_set_caps), (gst_pad_configure_sink),
31261 (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
31262 (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
31263 (gst_real_pad_dispose), (gst_real_pad_finalize),
31264 (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
31265 (gst_pad_event_default_dispatch), (gst_pad_event_default),
31266 (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
31267 * gst/gstpad.h:
31268 * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
31269 (pipeline_bus_handler), (gst_pipeline_change_state),
31270 (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
31271 * gst/gstpipeline.h:
31272 * gst/gstprobe.h:
31273 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
31274 (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
31275 (gst_queue_link_src), (gst_queue_bufferalloc),
31276 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
31277 (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
31278 (gst_queue_loop), (gst_queue_handle_src_event),
31279 (gst_queue_handle_src_query), (gst_queue_src_activate),
31280 (gst_queue_change_state):
31281 * gst/gstqueue.h:
31282 * gst/gstscheduler.c: (gst_scheduler_init),
31283 (gst_scheduler_dispose), (gst_scheduler_create_task),
31284 (gst_scheduler_factory_create):
31285 * gst/gstscheduler.h:
31286 * gst/gststructure.c: (gst_structure_get_type),
31287 (gst_structure_copy_conditional):
31288 * gst/gststructure.h:
31289 * gst/gsttaginterface.h:
31290 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
31291 (gst_task_init), (gst_task_dispose), (gst_task_create),
31292 (gst_task_get_state), (gst_task_start), (gst_task_stop),
31293 (gst_task_pause):
31294 * gst/gsttask.h:
31295 * gst/gstthread.c:
31296 * gst/gstthread.h:
31297 * gst/gsttypes.h:
31298 * gst/schedulers/Makefile.am:
31299 * gst/schedulers/cothreads_compat.h:
31300 * gst/schedulers/entryscheduler.c:
31301 * gst/schedulers/faircothreads.c:
31302 * gst/schedulers/faircothreads.h:
31303 * gst/schedulers/fairscheduler.c:
31304 * gst/schedulers/gstbasicscheduler.c:
31305 * gst/schedulers/gstoptimalscheduler.c:
31306 * gst/schedulers/gthread-cothreads.h:
31307 * gst/schedulers/threadscheduler.c:
31308 (gst_thread_scheduler_task_get_type),
31309 (gst_thread_scheduler_task_class_init),
31310 (gst_thread_scheduler_task_init),
31311 (gst_thread_scheduler_task_start),
31312 (gst_thread_scheduler_task_stop),
31313 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
31314 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
31315 (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
31316 (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
31317 (plugin_init):
31318 * libs/gst/Makefile.am:
31319 * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
31320 * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
31321 (gst_file_pad_parent_set):
31322 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
31323 (gst_dp_event_from_packet):
31324 * tests/complexity.c: (main):
31325 * tests/mass_elements.c: (main):
31326 * testsuite/states/locked.c: (message_received), (main):
31327 * testsuite/states/parent.c: (main):
31328 * tools/gst-inspect.c: (print_element_flag_info),
31329 (print_implementation_info), (print_pad_info):
31330 * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
31331 (main):
31332 * tools/gst-md5sum.c: (event_loop), (main):
31333 * tools/gst-typefind.c: (main):
31334 * tools/gst-xmlinspect.c: (print_element_info):
31335 Next big merge.
31336 Added GstBus for mainloop integration.
31337 Added GstMessage for sending notifications on the bus.
31338 Added GstTask as an abstraction for pipeline entry points.
31339 Removed GstThread.
31340 Removed Schedulers.
31341 Simplified GstQueue for multithreaded core.
31342 Made _link threadsafe, removed old capsnego.
31343 Added STREAM_LOCK and PREROLL_LOCK in GstPad.
31344 Added pad blocking functions.
31345 Reworked scheduling functions in GstPad to prepare for
31346 scheduling updates soon.
31347 Moved events out of data stream.
31348 Simplified GstEvent types.
31349 Added return values to push/pull.
31350 Removed clocking from GstElement.
31351 Added prototypes for state change function for next merge.
31352 Removed iterate from bins and state change management.
31353 Fixed some elements, disabled others for now.
31354 Fixed -inspect and -launch.
31355 Added check for GstBus.
31357 2005-03-10 Wim Taymans <wim@fluendo.com>
31359 * docs/design/part-MT-refcounting.txt:
31360 * docs/design/part-clocks.txt:
31361 * docs/design/part-gstelement.txt:
31362 * docs/design/part-gstobject.txt:
31363 * docs/design/part-standards.txt:
31364 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
31365 (gst_bin_remove_func), (gst_bin_remove):
31366 * gst/gstbin.h:
31367 * gst/gstbuffer.c:
31368 * gst/gstcaps.h:
31369 * testsuite/clock/clock1.c: (main):
31370 * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
31371 (main):
31372 * testsuite/dlopen/loadgst.c: (do_test):
31373 * testsuite/refcounting/bin.c: (add_remove_test1),
31374 (add_remove_test2), (main):
31375 * testsuite/refcounting/element.c: (main):
31376 * testsuite/refcounting/element_pad.c: (main):
31377 * testsuite/refcounting/pad.c: (main):
31378 * tools/gst-launch.c: (sigint_handler_sighandler):
31379 * tools/gst-typefind.c: (main):
31380 Doc updates.
31381 Added doc about clock.
31382 removed gst_bin_iterate_recurse_up(), marked methods
31383 for removal.
31384 Fix more testsuites.
31386 2005-03-09 Wim Taymans <wim@fluendo.com>
31388 * gst/gstpad.c: (gst_pad_get_direction),
31389 (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
31390 (gst_pad_collect_valist):
31391 * testsuite/bins/interface.c: (main):
31392 * testsuite/caps/audioscale.c: (test_caps):
31393 * testsuite/caps/caps.c: (test1), (test2), (test3):
31394 * testsuite/caps/deserialize.c: (main):
31395 * testsuite/caps/enumcaps.c: (main):
31396 * testsuite/caps/filtercaps.c: (main):
31397 * testsuite/caps/intersect2.c: (main):
31398 * testsuite/caps/random.c: (main):
31399 * testsuite/caps/renegotiate.c: (my_fixate), (main):
31400 * testsuite/caps/sets.c: (check_caps):
31401 * testsuite/caps/simplify.c: (check_caps), (main):
31402 * testsuite/caps/subtract.c: (check_caps):
31403 Fix _pad_get_direction wrt ghostpads.
31404 Fix caps testsuite.
31406 2005-03-09 Wim Taymans <wim@fluendo.com>
31408 * check/Makefile.am:
31409 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
31410 * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
31411 (ok_callback), (error_callback), (gst_systemclock_suite), (main):
31412 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
31413 (gst_bin_set_clock_func), (gst_bin_get_clock_func),
31414 (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
31415 (gst_bin_remove), (gst_bin_iterate_recurse_up),
31416 (bin_element_is_sink), (gst_bin_iterate_sinks),
31417 (gst_bin_iterate_all_by_interface):
31418 * gst/gstbin.h:
31419 * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
31420 (gst_element_change_state), (gst_element_dispose),
31421 (gst_element_finalize), (gst_element_set_loop_function):
31422 * gst/gstelement.h:
31423 * gst/gstiterator.c: (find_custom_fold_func):
31424 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
31425 (gst_pad_collectv), (gst_pad_collect_valist),
31426 (gst_pad_template_new):
31427 * gst/gstpipeline.c: (gst_pipeline_class_init),
31428 (gst_pipeline_dispose), (gst_pipeline_set_property),
31429 (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
31430 (gst_pipeline_get_clock), (gst_pipeline_use_clock),
31431 (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
31432 * gst/gstutils.h:
31433 * gst/schedulers/entryscheduler.c:
31434 * gst/schedulers/gstbasicscheduler.c:
31435 (gst_basic_scheduler_cothreaded_chain),
31436 (gst_basic_scheduler_chain_add_element):
31437 * testsuite/bins/interface.c: (main):
31438 Added GstBin test.
31439 Added GstSystemClock test.
31440 Implemented clock distribution code in GstBin.
31441 Implemented iterate sinks method for future use.
31442 Rearranged gstelement.h
31443 Fix GstIterator comparison bug.
31444 Moved some code to GstPipeline, mostly clocking related.
31446 2005-03-09 Wim Taymans <wim@fluendo.com>
31448 * configure.ac:
31449 * gst/gst_private.h:
31450 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
31451 (gst_bin_remove_func), (gst_bin_remove),
31452 (gst_bin_get_by_name_recurse_up):
31453 * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
31454 (gst_clock_id_compare_func), (gst_clock_id_wait),
31455 (gst_clock_id_wait_async), (gst_clock_init),
31456 (gst_clock_adjust_unlocked), (gst_clock_get_time):
31457 * gst/gstelement.h:
31458 * gst/gstinfo.c: (_gst_debug_init):
31459 * gst/gstobject.h:
31460 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
31461 (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
31462 * gst/gstpad.h:
31463 Bump version number, we're now 0.9.0
31464 Add future debugging category.
31465 Fix NULL _unref() in _get_by_name_recurse_up
31466 Rearrange gstpad.h.
31467 Update some docs.
31469 2005-03-08 Wim Taymans <wim@fluendo.com>
31471 * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
31472 * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
31473 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
31474 * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
31475 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
31476 * gst/elements/gstfilesink.c: (gst_filesink_class_init):
31477 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
31478 * gst/elements/gstidentity.c: (gst_identity_class_init):
31479 * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
31480 * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
31481 * gst/elements/gstshaper.c: (gst_shaper_class_init):
31482 * gst/elements/gststatistics.c: (gst_statistics_class_init):
31483 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
31484 (gst_tee_link):
31485 * gst/gstelement.c: (gst_element_class_init),
31486 (gst_element_base_class_init), (gst_element_init),
31487 (gst_element_get_random_pad), (gst_element_wait_state_change),
31488 (gst_element_change_state), (gst_element_dispose),
31489 (gst_element_finalize), (gst_element_set_loop_function):
31490 * gst/gstelement.h:
31491 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
31492 * gst/gstthread.c: (gst_thread_class_init),
31493 (gst_thread_release_children_locks), (gst_thread_change_state):
31494 * gst/schedulers/gstbasicscheduler.c:
31495 (gst_basic_scheduler_loopfunc_wrapper),
31496 (gst_basic_scheduler_chain_wrapper),
31497 (gst_basic_scheduler_src_wrapper),
31498 (gst_basic_scheduler_remove_element):
31499 * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
31500 Remove threadsafe properties. Fix elements because GObject
31501 complains when installing a property before declaring a
31502 set/get_property handler.
31503 Rearrange gstelement.h file, use STATE macros for state locks.
31504 Free mutexes in the finalize method instead of dispose.
31506 2005-03-08 Wim Taymans <wim@fluendo.com>
31508 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
31509 * gst/gstthread.c: (gst_thread_release_children_locks):
31510 Added parentage check.
31511 Fix build og GstThread again.
31513 2005-03-08 Wim Taymans <wim@fluendo.com>
31515 * docs/design/part-MT-refcounting.txt:
31516 * docs/design/part-conventions.txt:
31517 * docs/design/part-gstobject.txt:
31518 * docs/design/part-relations.txt:
31519 * docs/design/part-standards.txt:
31520 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
31521 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
31522 (gst_bin_get_by_name), (gst_bin_get_by_interface),
31523 (gst_bin_iterate_all_by_interface):
31524 * gst/gstbuffer.h:
31525 * gst/gstclock.h:
31526 * gst/gstelement.c: (gst_element_class_init),
31527 (gst_element_change_state), (gst_element_set_loop_function):
31528 * gst/gstelement.h:
31529 * gst/gstiterator.c:
31530 * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
31531 (gst_object_unref), (gst_object_sink), (gst_object_dispose),
31532 (gst_object_dispatch_properties_changed), (gst_object_set_name),
31533 (gst_object_set_parent), (gst_object_unparent),
31534 (gst_object_check_uniqueness):
31535 * gst/gstobject.h:
31536 Docs updates, clean up some headers.
31538 2005-03-07 Wim Taymans <wim@fluendo.com>
31540 * check/.cvsignore:
31541 * check/Makefile.am:
31542 * check/gst-libs/.cvsignore:
31543 * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
31544 * check/gst/.cvsignore:
31545 * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
31546 (START_TEST), (gstbus_suite), (main):
31547 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
31548 * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
31549 (gst_data_suite), (main):
31550 * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
31551 (add_fold_func), (gstiterator_suite), (main):
31552 * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
31553 (thread_name_object), (thread_name_object_default),
31554 (gst_object_name_compare), (gst_object_suite), (main):
31555 * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
31556 (gst_pad_suite), (main):
31557 * check/gstcheck.c: (gst_check_log_message_func),
31558 (gst_check_log_critical_func), (gst_check_init):
31559 * check/gstcheck.h:
31560 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
31561 (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
31562 Added checks.
31564 2005-03-07 Wim Taymans <wim@fluendo.com>
31566 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
31567 (gst_list_iterator_next), (gst_list_iterator_resync),
31568 (gst_list_iterator_free), (gst_iterator_new_list),
31569 (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
31570 (gst_iterator_free), (gst_iterator_push), (filter_next),
31571 (filter_resync), (filter_uninit), (filter_free),
31572 (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
31573 (gst_iterator_foreach), (find_custom_fold_func),
31574 (gst_iterator_find_custom):
31575 * gst/gstiterator.h:
31576 Added missing files.
31578 2005-03-07 Wim Taymans <wim@fluendo.com>
31580 * Makefile.am:
31581 * configure.ac:
31582 * docs/design/part-MT-refcounting.txt:
31583 * docs/design/part-conventions.txt:
31584 * docs/design/part-gstobject.txt:
31585 * docs/design/part-relations.txt:
31586 * examples/mixer/mixer.c: (main):
31587 * examples/thread/thread.c: (eos), (main):
31588 * gst/Makefile.am:
31589 * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
31590 * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
31591 (gst_spider_plug_from_srcpad):
31592 * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
31593 (gst_spider_identity_change_state),
31594 (gst_spider_identity_sink_loop_type_finding):
31595 * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
31596 * gst/elements/gstidentity.c: (gst_identity_init):
31597 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
31598 (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
31599 * gst/elements/gsttypefindelement.c: (free_entry):
31600 * gst/gst.c:
31601 * gst/gst.h:
31602 * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
31603 (gst_bin_set_clock_func), (gst_bin_auto_clock),
31604 (gst_bin_set_index), (gst_bin_set_element_sched),
31605 (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
31606 (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
31607 (gst_bin_iterate_elements), (iterate_child_recurse),
31608 (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
31609 (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
31610 (compare_interface), (gst_bin_get_by_interface),
31611 (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
31612 * gst/gstbin.h:
31613 * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
31614 (gst_buffer_default_free), (gst_buffer_default_copy),
31615 (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
31616 (gst_buffer_create_sub):
31617 * gst/gstbuffer.h:
31618 * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
31619 (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
31620 (gst_caps_unref), (gst_static_caps_get),
31621 (gst_caps_remove_and_get_structure), (gst_caps_append),
31622 (gst_caps_append_structure), (gst_caps_remove_structure),
31623 (gst_caps_copy_nth), (gst_caps_set_simple),
31624 (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
31625 (gst_structure_is_equal_foreach), (gst_caps_is_subset),
31626 (gst_caps_structure_intersect_field), (gst_caps_intersect),
31627 (gst_caps_structure_subtract_field), (gst_caps_subtract),
31628 (gst_caps_normalize_foreach), (gst_caps_compare_structures),
31629 (gst_caps_structure_figure_out_union),
31630 (gst_caps_switch_structures), (gst_caps_do_simplify),
31631 (gst_caps_replace), (gst_caps_from_string),
31632 (gst_caps_copy_conditional):
31633 * gst/gstcaps.h:
31634 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
31635 (_gst_clock_id_free), (gst_clock_id_unref),
31636 (gst_clock_id_compare_func), (gst_clock_id_wait),
31637 (gst_clock_id_wait_async), (gst_clock_class_init),
31638 (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
31639 (gst_clock_get_time), (gst_clock_set_time_adjust),
31640 (gst_clock_set_property), (gst_clock_get_property):
31641 * gst/gstclock.h:
31642 * gst/gstcompat.h:
31643 * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
31644 * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
31645 * gst/gstdata.h:
31646 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
31647 (gst_element_requires_clock), (gst_element_provides_clock),
31648 (gst_element_set_clock), (gst_element_clock_wait),
31649 (gst_element_wait), (gst_element_set_time_delay),
31650 (gst_element_is_indexable), (gst_element_add_pad),
31651 (gst_element_add_ghost_pad), (gst_element_remove_pad),
31652 (pad_compare_name), (gst_element_get_static_pad),
31653 (gst_element_request_pad), (gst_element_get_request_pad),
31654 (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
31655 (gst_element_class_get_pad_template_list),
31656 (gst_element_class_get_pad_template), (gst_element_error_func),
31657 (gst_element_get_random_pad), (gst_element_get_event_masks),
31658 (gst_element_send_event), (gst_element_seek),
31659 (gst_element_get_query_types), (gst_element_query),
31660 (gst_element_get_formats), (gst_element_convert),
31661 (gst_element_is_locked_state), (gst_element_set_locked_state),
31662 (gst_element_sync_state_with_parent), (gst_element_change_state),
31663 (gst_element_finalize), (gst_element_yield),
31664 (gst_element_interrupt), (gst_element_set_scheduler),
31665 (gst_element_get_scheduler), (gst_element_set_loop_function):
31666 * gst/gstelement.h:
31667 * gst/gstevent.h:
31668 * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
31669 (gst_format_get_by_nick), (gst_format_get_details),
31670 (gst_format_iterate_definitions):
31671 * gst/gstformat.h:
31672 * gst/gstindex.c: (gst_index_gtype_resolver):
31673 * gst/gstinfo.c:
31674 * gst/gstinfo.h:
31675 * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
31676 (gst_mem_chunk_free):
31677 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
31678 (gst_object_ref), (gst_object_unref), (gst_object_sink),
31679 (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
31680 (gst_object_dispatch_properties_changed),
31681 (gst_object_set_name_default), (gst_object_set_name),
31682 (gst_object_get_name), (gst_object_set_name_prefix),
31683 (gst_object_get_name_prefix), (gst_object_set_parent),
31684 (gst_object_get_parent), (gst_object_unparent),
31685 (gst_object_check_uniqueness), (gst_object_save_thyself),
31686 (gst_object_restore_thyself), (gst_object_real_restore_thyself),
31687 (gst_object_set_property), (gst_object_get_property),
31688 (gst_object_get_path_string):
31689 * gst/gstobject.h:
31690 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
31691 (gst_real_pad_init), (gst_real_pad_get_property),
31692 (gst_pad_custom_new), (gst_pad_get_direction),
31693 (gst_pad_set_active), (gst_pad_is_active),
31694 (gst_pad_set_event_function), (gst_pad_is_linked),
31695 (gst_pad_link_free), (gst_pad_link_intersect),
31696 (gst_pad_link_fixate), (gst_pad_set_caps),
31697 (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
31698 (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
31699 (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
31700 (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
31701 (gst_pad_get_caps), (gst_pad_peer_get_caps),
31702 (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
31703 (gst_pad_realize), (gst_pad_get_allowed_caps),
31704 (gst_real_pad_dispose), (gst_real_pad_finalize),
31705 (gst_pad_collectv), (gst_pad_collect_valist),
31706 (gst_pad_template_dispose), (gst_pad_template_new),
31707 (gst_pad_get_internal_links):
31708 * gst/gstpad.h:
31709 * gst/gstpipeline.c: (gst_pipeline_dispose),
31710 (gst_pipeline_change_state):
31711 * gst/gstpipeline.h:
31712 * gst/gstplugin.c:
31713 * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
31714 (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
31715 * gst/gstpluginfeature.h:
31716 * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
31717 * gst/gstquery.c: (_gst_query_type_initialize),
31718 (gst_query_type_register), (gst_query_type_get_by_nick),
31719 (gst_query_type_get_details), (gst_query_type_iterate_definitions):
31720 * gst/gstquery.h:
31721 * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
31722 * gst/gstscheduler.c: (gst_scheduler_add_element),
31723 (gst_scheduler_factory_create):
31724 * gst/gststructure.c: (gst_structure_set_parent_refcount),
31725 (gst_structure_free), (gst_structure_set_name),
31726 (gst_structure_id_set_value), (gst_structure_set_value),
31727 (gst_structure_set_valist), (gst_structure_remove_field),
31728 (gst_structure_remove_fields),
31729 (gst_structure_remove_fields_valist),
31730 (gst_structure_remove_all_fields), (gst_structure_foreach),
31731 (gst_structure_map_in_place),
31732 (gst_caps_structure_fixate_field_nearest_int),
31733 (gst_caps_structure_fixate_field_nearest_double):
31734 * gst/gststructure.h:
31735 * gst/gstsystemclock.c: (gst_system_clock_class_init),
31736 (gst_system_clock_init), (gst_system_clock_dispose),
31737 (gst_system_clock_async_thread),
31738 (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
31739 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
31740 * gst/gstsystemclock.h:
31741 * gst/gsttag.c: (gst_tag_list_add_value_internal),
31742 (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
31743 * gst/gsttaginterface.c:
31744 * gst/gstthread.c: (gst_thread_dispose),
31745 (gst_thread_release_children_locks), (gst_thread_change_state),
31746 (gst_thread_main_loop):
31747 * gst/gsttrashstack.h:
31748 * gst/gsttypefind.c: (gst_type_find_factory_dispose):
31749 * gst/gsttypes.h:
31750 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
31751 (gst_element_request_pad), (gst_element_get_pad_from_template),
31752 (gst_element_request_compatible_pad),
31753 (gst_element_get_compatible_pad_filtered),
31754 (gst_element_get_compatible_pad), (gst_element_state_get_name),
31755 (gst_element_link_pads_filtered), (gst_element_link_filtered),
31756 (gst_element_link_many), (gst_element_link),
31757 (gst_element_link_pads), (gst_element_unlink_pads),
31758 (gst_element_unlink_many), (gst_element_unlink),
31759 (gst_pad_can_link_filtered), (gst_pad_can_link),
31760 (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
31761 (gst_object_default_error), (gst_bin_add_many),
31762 (gst_bin_remove_many), (gst_element_populate_std_props),
31763 (gst_element_class_install_std_props), (gst_buffer_merge),
31764 (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
31765 (link_fold_func), (gst_pad_proxy_setcaps):
31766 * gst/gstutils.h:
31767 * gst/gstvalue.c: (gst_value_deserialize_string):
31768 * gst/parse/grammar.y:
31769 * gst/schedulers/gstbasicscheduler.c:
31770 (gst_basic_scheduler_cothreaded_chain),
31771 (gst_basic_scheduler_chain_recursive_add),
31772 (gst_basic_scheduler_pad_link):
31773 * gst/schedulers/gstoptimalscheduler.c:
31774 (get_group_schedule_function),
31775 (gst_opt_scheduler_state_transition),
31776 (gst_opt_scheduler_add_element), (element_get_reachables_func):
31777 * libs/gst/bytestream/bytestream.c:
31778 * libs/gst/dataprotocol/dataprotocol.c:
31779 (gst_dp_header_from_buffer):
31780 * po/nb.po:
31781 * po/ru.po:
31782 * tests/threadstate/threadstate2.c: (eos):
31783 * tools/gst-compprep.c: (main):
31784 * tools/gst-inspect.c: (print_field), (print_element_flag_info),
31785 (print_pad_info), (print_children_info):
31786 * tools/gst-launch.c: (idle_func), (main):
31787 * tools/gst-md5sum.c: (idle_func), (main):
31788 * tools/gst-xmlinspect.c: (print_element_info):
31789 First THREADED backport attempt, focusing on adding locks and
31790 making sure the API is threadsafe. Needs more work. More docs
31791 follow this week.
31793 2005-02-24 Andy Wingo <wingo@pobox.com>
31795 * tests/bench-complexity.scm:
31796 * tests/complexity.gnuplot: New files, good for running complexity
31797 benchmarks.
31799 * tests/Makefile.am:
31800 * tests/complexity.c: New test, sets up N elements, at each level
31801 teeing into M streams per element. Eeeenteresting.
31803 * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
31804 benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
31805 running bench-mass_elements.scm.
31807 * tests/bench-mass_elements.scm: New script, runs mass_elements
31808 for various numbers of identities, outputting the results to a
31809 file. Requires guile 1.6. Just for testing.
31811 2005-02-23 Thomas Vander Stichele <thomas at apestaart dot org>
31813 * gst/schedulers/fairscheduler.c:
31814 compile with debug disabled
31816 2005-02-22 Thomas Vander Stichele <thomas at apestaart dot org>
31818 * configure.ac:
31819 hunting season on 0.9 is now OPEN