1 2008-04-09 Tim-Philipp Müller <tim at centricular dot net>
3 Based on patch by: Milosz Derezynski <internalerror gmail com>
5 * gst/gsterror.c: (_gst_stream_errors_init):
7 Add two new error codes for encrypted content. Fixes #524659.
8 API: GST_STREAM_ERROR_DECRYPT
9 API: GST_STREAM_ERROR_DECRYPT_NOKEY
11 2008-04-09 Tim-Philipp Müller <tim at centricular dot net>
16 * win32/common/libgstreamer.def:
19 2008-04-09 Sebastian Dröge <slomo@circular-chaos.org>
21 * plugins/elements/gstidentity.c: (gst_identity_event),
23 Fix imperfect timestamp/offset checks when we get another NEWSEGMENT
24 event after processing some data. Fixes bug #526042.
26 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
28 * docs/gst/gstreamer-sections.txt:
29 * gst/gstquery.c: (gst_query_parse_latency),
30 (gst_query_set_buffering_percent),
31 (gst_query_parse_buffering_percent),
32 (gst_query_set_buffering_range), (gst_query_parse_buffering_range):
34 Rename _avail -> _range
35 API: gst_query_set_buffering_range
36 API: gst_query_parse_buffering_range
38 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
40 * docs/design/part-buffering.txt:
43 * gst/gstquery.c: (gst_query_parse_latency),
44 (gst_query_new_buffering), (gst_query_set_buffering_percent),
45 (gst_query_parse_buffering_percent):
47 Add busy field and quark for the buffering query so that the app can
48 only use the query to see if buffering is in progress.
50 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
52 * docs/gst/gstreamer-sections.txt:
53 * gst/gstmessage.c: (gst_message_set_buffering_stats),
54 (gst_message_parse_buffering_stats):
56 * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
57 (gst_query_parse_latency), (gst_query_new_buffering),
58 (gst_query_set_buffering_percent),
59 (gst_query_parse_buffering_percent),
60 (gst_query_set_buffering_stats), (gst_query_parse_buffering_stats),
61 (gst_query_set_buffering_avail), (gst_query_parse_buffering_avail):
63 Reorder the message docs and headers for clarity.
64 Add aditional buffering stats API for messages.
66 Convert some leftover queries to use GstQuark.
67 API: gst_message_set_buffering_stats
68 API: gst_message_parse_buffering_stats
69 API: GST_QUERY_BUFFERING
71 API: gst_query_new_buffering
72 API: gst_query_set_buffering_percent
73 API: gst_query_parse_buffering_percent
74 API: gst_query_set_buffering_stats
75 API: gst_query_parse_buffering_stats
77 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
79 * gst/gstmessage.c: (gst_message_new_error),
80 (gst_message_new_warning), (gst_message_new_info),
81 (gst_message_new_buffering), (gst_message_new_state_changed),
82 (gst_message_new_clock_provide), (gst_message_new_clock_lost),
83 (gst_message_new_new_clock), (gst_message_new_segment_start),
84 (gst_message_new_segment_done), (gst_message_new_duration),
85 (gst_message_new_async_start), (gst_message_parse_buffering),
86 (gst_message_parse_state_changed),
87 (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
88 (gst_message_parse_new_clock), (gst_message_parse_error),
89 (gst_message_parse_warning), (gst_message_parse_info),
90 (gst_message_parse_segment_start),
91 (gst_message_parse_segment_done), (gst_message_parse_duration),
92 (gst_message_parse_async_start):
93 Use GstQuark for messages.
95 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
97 * gst/gstquark.c: (_priv_gst_quarks_initialize):
99 Add some more quarks needed for messages and queries.
101 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
103 * docs/design/part-buffering.txt:
104 Remove the "none" buffering mode, STREAM is a good default.
105 Move estimated-time to the avail query, that's when it will be needed.
106 Other small typo fixes and updates.
108 2008-04-07 Tim-Philipp Müller <tim at centricular dot net>
110 * gst/gstindex.c: (gst_index_resolver_get_type):
111 Don't put descriptions into the nick field of a GEnumValue: it's not
112 meant for that and some language bindings rely on the nick field to
113 construct constants and the like. Fixes #526705.
115 2008-04-07 Tim-Philipp Müller <tim at centricular dot net>
120 Merge other changes from 0.10.19 release branch.
122 2008-04-06 Sebastian Dröge <slomo@circular-chaos.org>
124 Patch by: Damien Lespiau <damien dot lespiau at gmail dot com>
127 Actually build dlls when cross-compiling with mingw32.
130 2008-04-05 Sebastian Dröge <slomo@circular-chaos.org>
132 Patch by: Damien Lespiau <damien dot lespiau at gmail dot com>
135 Fix compilation of GstPoll with mingw32. Fixes bug #526236.
137 2008-04-04 Wim Taymans <wim.taymans@collabora.co.uk>
139 * docs/design/draft-latency.txt:
142 * docs/design/part-buffering.txt:
143 Update design docs with more buffering ideas.
145 2008-04-03 Tim-Philipp Müller <tim at centricular dot net>
148 Bump version to 0.10.19.1 after the unscheduled 0.10.19 release.
150 2008-04-03 Stefan Kost <ensonic@users.sf.net>
153 Revert part that belongs to the preset patch.
155 2008-04-03 Stefan Kost <ensonic@users.sf.net>
158 Add qoutes to the define. Fixes # 525961.
160 2008-04-03 Sebastian Dröge <slomo@circular-chaos.org>
162 * plugins/indexers/gstfileindex.c: (_file_index_id_free),
163 (gst_file_index_load), (gst_file_index_add_id),
164 (gst_file_index_get_assoc_entry):
165 * plugins/indexers/gstmemindex.c: (gst_mem_index_free_format),
166 (gst_mem_index_free_id), (gst_mem_index_add_id),
167 (gst_mem_index_index_format):
168 Use GSlice when possible.
170 2008-04-02 Sebastian Dröge <slomo@circular-chaos.org>
172 * libs/gst/controller/gstinterpolationcontrolsource.c:
173 (gst_control_point_free),
174 (gst_interpolation_control_source_set_internal):
175 Use GSlice for allocating the control points.
177 2008-04-02 Wim Taymans <wim.taymans@collabora.co.uk>
179 * plugins/elements/gsttypefindelement.c:
180 (gst_type_find_element_class_init),
181 (gst_type_find_element_set_property),
182 (gst_type_find_element_get_property),
183 (gst_type_find_element_activate):
184 * plugins/elements/gsttypefindelement.h:
186 Fix pad leak when peer query fails.
187 We can still typefind when the peer returns -1.
188 Add property to force caps and bypass typefinding. This will be used in
192 2008-04-01 Sebastian Dröge <slomo@circular-chaos.org>
197 * gst/glib-compat-private.h:
198 * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free):
199 * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
200 Unconditionally use GSlice for allocation.
202 * gst/gstpoll.c: (gst_poll_new), (gst_poll_free):
203 * gst/gstsegment.c: (gst_segment_new), (gst_segment_free):
204 * gst/gststructure.c: (gst_structure_id_empty_new_with_size),
205 (gst_structure_free):
206 Use GSlice for allocation.
208 2008-04-01 Sebastian Dröge <slomo@circular-chaos.org>
210 * gst/parse/Makefile.am:
211 * gst/parse/grammar.tab.pre.c:
212 * gst/parse/grammar.tab.pre.h:
213 * gst/parse/lex._gst_parse_yy.pre.c:
214 Require a new enough flex and bison and remove the parser hacks to use
215 a pre-regenerated version.
217 2008-04-01 Julien Moutte <julien@fluendo.com>
219 patch by: Jason Zhao <E3423C@motorola.com>
221 * configure.ac: Add a configure switch to disable option parsing
225 2008-03-31 Stefan Kost <ensonic@users.sf.net>
229 MacOS has plugins under .so or under .dylib. Add detection for MacOS
230 and handle this case.
233 Add a comment here describing, why we stat each plugin and not try to
236 2008-03-31 Sebastian Dröge <slomo@circular-chaos.org>
238 * libs/gst/base/gstbasetransform.c:
239 (gst_base_transform_prepare_output_buffer):
240 Also unset the GAP flag on buffers if we're working inplace but
241 the element is not GAP-aware.
243 Mark a comment as FIXME 0.11.
245 2008-03-31 Stefan Kost <ensonic@users.sf.net>
248 Fix type in log message and add one to ease seeing how long registry
249 cache verification takes.
252 Only test plugin filenames against G_MODULE_SUFFIX.
254 2008-03-31 Stefan Kost <ensonic@users.sf.net>
256 * gst/gstdebugutils.c:
257 Improve handling ghost/proxy pads.
259 2008-03-27 Stefan Kost <ensonic@users.sf.net>
261 * docs/gst/gstreamer-sections.txt:
264 Expose macro to docs and fix link to it.
266 2008-03-27 Michael Smith <msmith@fluendo.com>
268 * libs/gst/dataprotocol/dataprotocol.c:
269 (gst_dp_packet_from_event_1_0):
270 When calculating GDP body CRC, use the correct pointer.
271 Fixes part of #522401.
273 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
275 Patch by: Mark Nauwelaerts <manauw at skynet be>
277 * plugins/elements/gstidentity.c: (gst_identity_class_init),
278 (gst_identity_init), (gst_identity_prepare_output_buffer):
279 Identity is not always a passthrough element, it can modify the buffer
280 timestamps when it has a datarate and operates in single-segment mode.
281 We therefore make it an in_place filter with a custom buffer prepare
282 function that conditionally makes the input buffer metadata writable
283 when needed. Fixes #523985.
285 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
287 Patch by: Mark Nauwelaerts <manauw at skynet be>
290 * libs/gst/base/gstbasesrc.h:
291 * libs/gst/base/gstbasetransform.c:
292 * libs/gst/check/gstcheck.c:
293 Small documentation fixes. Fixes #523978.
295 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
297 * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
298 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
299 Also retry our poll_wait when we get EAGAIN. Fixes #524041.
301 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
303 * plugins/elements/gstmultiqueue.c: (single_queue_overrun_cb),
304 (single_queue_underrun_cb):
305 When trying to make room in the queue, bump the max allowed buffers
306 bigger than the current amount of buffers in the queue. this fixes some
307 nasty deadlocks in multiqueue when dynamically changing the limits of
310 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
312 Patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
314 * gst/gstcaps.c: (gst_caps_set_simple),
315 (gst_caps_set_simple_valist), (gst_caps_intersect):
317 Constify the field gchar * params in set_simple and friends.
320 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
322 * gst/gstvalue.c: (gst_value_transform_object_string):
323 Transform a GstObject to a more meaningfull string that includes the
324 object type in addition to its name.
326 2008-03-23 Stefan Kost <ensonic@users.sf.net>
329 ChangeLog surgery to add bugnumber to commit.
331 2008-03-23 Rene Stadler <mail@renestadler.de>
333 * libs/gst/base/gstbasetransform.c:
334 (gst_base_transform_set_gap_aware): Fix confusing documentation.
336 2008-03-23 Sebastian Dröge <slomo@circular-chaos.org>
338 * gst/gstregistrybinary.c: (gst_registry_binary_write):
339 Rename constant everywhere and don't forget one occurence.
341 2008-03-23 Sebastian Dröge <slomo@circular-chaos.org>
343 * gst/gstregistrybinary.c: (gst_registry_binary_write):
344 Align memory to the pointer size even if the architecture allows
345 unaligned memory access. Unaligned memory access usually comes with
346 performance penality.
348 2008-03-23 Sebastian Dröge <slomo@circular-chaos.org>
350 * gst/gstregistrybinary.c: (gst_registry_binary_write),
351 (gst_registry_binary_check_magic),
352 (gst_registry_binary_load_pad_template),
353 (gst_registry_binary_load_feature),
354 (gst_registry_binary_load_plugin):
355 Align memory to the pointer size instead of always 32 bit. Fixes
356 unaligned memory accesses on ia64 and friends.
358 * gst/gstregistrybinary.h:
359 Bump binary registry format version for this as it changes the
360 format on those architectures that don't have unaligned access
363 2008-03-22 Sebastian Dröge <slomo@circular-chaos.org>
365 * docs/pwg/advanced-dparams.xml:
366 * docs/pwg/building-props.xml:
367 * docs/pwg/other-source.xml:
369 * gst/gstbin.c: (gst_bin_class_init):
370 * gst/gstclock.c: (gst_clock_class_init):
371 * gst/gstindex.c: (gst_index_class_init):
372 * gst/gstobject.c: (gst_object_class_init):
373 * gst/gstpad.c: (gst_pad_class_init):
374 * gst/gstpipeline.c: (gst_pipeline_class_init):
375 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
376 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
377 * libs/gst/base/gstbasetransform.c:
378 (gst_base_transform_class_init):
379 * libs/gst/base/gstdataqueue.c: (gst_data_queue_class_init):
380 * libs/gst/check/gstcheck.c: (_gst_check_fault_handler_restore),
381 (_gst_check_fault_handler_sighandler),
382 (_gst_check_fault_handler_setup), (gst_check_init):
383 * libs/gst/controller/gstcontroller.c:
384 (_gst_controller_class_init):
385 * libs/gst/controller/gstlfocontrolsource.c:
386 (gst_lfo_control_source_class_init):
387 * libs/gst/net/gstnetclientclock.c:
388 (gst_net_client_clock_class_init):
389 * libs/gst/net/gstnettimeprovider.c:
390 (gst_net_time_provider_class_init):
391 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
392 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
393 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
394 * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
395 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
396 * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
397 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
398 * plugins/elements/gstidentity.c: (gst_identity_class_init):
399 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_class_init):
400 * plugins/elements/gstqueue.c: (gst_queue_class_init):
401 * plugins/elements/gsttee.c: (gst_tee_class_init):
402 * plugins/elements/gsttypefindelement.c:
403 (gst_type_find_element_class_init):
404 * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
405 Define G_PARAM_STATIC_STRINGS if it's undefined (GLib < 2.13.0) and
406 use it everywhere for GParamSpecs that use static strings (i.e. all).
407 This gives us less memory usage, fewer allocations and thus less
408 memory defragmentation. Fixes bug #523806.
410 2008-03-22 Sebastian Dröge <slomo@circular-chaos.org>
412 * gst/gstminiobject.c: (gst_value_dup_mini_object),
413 (gst_param_spec_mini_object):
414 * gst/gstminiobject.h:
415 * win32/common/libgstreamer.def:
416 * docs/gst/gstreamer-sections.txt:
417 API: Add GST_IS_PARAM_SPEC_MINI_OBJECT, GST_PARAM_SPEC_MINI_OBJECT
418 GST_TYPE_PARAM_MINI_OBJECT and gst_value_dup_mini_object. Also move
419 GstParamSpecMiniObject into a public header for this.
421 This make GstMiniObject a bit more consistent with GObject and makes
422 it possible to extend the param specs.
424 gst_value_dup_mini_object is mainly useful for set_property methods.
428 * tools/gst-inspect.c: (print_element_properties_info):
429 Print something useful for GstMiniObject properties and not just
432 2008-03-21 Sebastian Dröge <slomo@circular-chaos.org>
434 * docs/gst/gstreamer-sections.txt:
435 * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic),
436 (gst_registry_binary_check_magic):
437 * gst/gstregistrybinary.h:
438 Call the version GST_MAGIC_BINARY_VERSION_STR to be more consistent
439 and add it to the (private part) of the docs to fix the build.
441 2008-03-21 Sebastian Dröge <slomo@circular-chaos.org>
443 * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic),
444 (gst_registry_binary_check_magic),
445 (gst_registry_binary_read_cache):
446 * gst/gstregistrybinary.h:
447 Don't use GST_MAJORMINOR for the binary registry version. Instead
448 hardcode a value that must be changed whenever the format changes
449 in an incompatible way.
450 Also don't GST_ERROR when there is a version mismatch, just
451 regenerate the registry silently.
453 2008-03-21 Jan Schmidt <jan.schmidt@sun.com>
456 Back to development - 0.10.18.1
458 === release 0.10.18 ===
460 2008-03-20 Jan Schmidt <jan.schmidt@sun.com>
463 releasing 0.10.18, "So far away"
465 2008-03-18 Jan Schmidt <jan.schmidt@sun.com>
468 * win32/common/config.h:
469 0.10.17.4 pre-release
471 2008-03-18 Wim Taymans <wim.taymans@collabora.co.uk>
473 Patch by: Ole André Vadla Ravnås
474 <ole dot andre dot ravnas at tandberg dot com>
476 * docs/gst/gstreamer-sections.txt:
477 * gst/gstpoll.c: (gst_poll_winsock_error_to_errno),
478 (gst_poll_update_winsock_event_mask),
479 (gst_poll_prepare_winsock_active_sets),
480 (gst_poll_collect_winsock_events), (gst_poll_new), (gst_poll_free),
481 (gst_poll_add_fd_unlocked), (gst_poll_fd_ctl_write),
482 (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_ignored),
483 (gst_poll_fd_has_error), (gst_poll_fd_can_read_unlocked),
484 (gst_poll_check_ctrl_commands), (gst_poll_wait):
486 * win32/common/libgstreamer.def:
487 Add new function gst_poll_fd_ignored() for improved Windows
489 Various minor fixes and cleanups. See #520808.
491 2008-03-17 Tim-Philipp Müller <tim at centricular dot net>
493 * gst/gstindex.c: (gst_index_entry_free):
495 Don't free key strings which we don't own. Fixes crash in
496 gst_index_entry_free() (#522741).
498 * tests/check/Makefile.am:
499 * tests/check/gst/.cvsignore:
500 * tests/check/gst/gstindex.c: (test_index_entries),
501 (gst_index_suite), (gst_index):
502 Add unit test for the above.
504 2008-03-11 Sebastian Dröge <slomo@circular-chaos.org>
506 * win32/common/libgstreamer.def:
507 Remove symbols that were removed recently. Fixes bug #521740.
509 2008-03-11 Jan Schmidt <jan.schmidt@sun.com>
512 * win32/common/config.h:
513 0.10.17.3 pre-release
515 2008-03-07 Wim Taymans <wim.taymans@collabora.co.uk>
517 Patch by: Ole André Vadla Ravnås
518 <ole dot andre dot ravnas at tandberg dot com>
520 * docs/gst/gstreamer-sections.txt:
521 * gst/gstpoll.c: (find_index), (gst_poll_free_winsock_event),
522 (gst_poll_update_winsock_event_mask), (gst_poll_new),
523 (gst_poll_free), (gst_poll_fd_init), (gst_poll_add_fd_unlocked),
524 (gst_poll_remove_fd), (gst_poll_fd_ctl_write),
525 (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_has_closed),
526 (gst_poll_fd_has_error), (gst_poll_fd_can_read_unlocked),
527 (gst_poll_fd_can_write), (gst_poll_wait),
528 (gst_poll_set_controllable), (gst_poll_restart),
529 (gst_poll_set_flushing):
531 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_new):
532 * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_start),
533 (gst_net_time_provider_new):
534 * plugins/elements/gstfdsink.c: (gst_fd_sink_start):
535 * plugins/elements/gstfdsrc.c: (gst_fd_src_start):
536 * tests/benchmarks/gstpollstress.c: (main):
537 * tests/check/gst/gstpoll.c: (GST_START_TEST), (gst_poll_suite):
538 Remove GstPollMode from the API, it does not make sense to let the
539 application control this.
540 Add support for Win32.
541 Fix the testsuite. Fixes #520671.
543 2008-03-07 Sebastian Dröge <slomo@circular-chaos.org>
545 Patch by: Ole André Vadla Ravnås
546 <ole dot andre dot ravnas at tandberg dot com>
548 * gst/gstregistrybinary.c:
549 Include io.h for write() and close() when building with MSVC. Fixes
552 2008-03-07 Stefan Kost <ensonic@users.sf.net>
556 * gst/gstconfig.h.in:
558 * gst/gstregistrybinary.c:
559 * win32/common/gstconfig.h:
560 Move registry backend API to private headers where we can. Add
561 fixme-0.11 comments for the others. Add stubs for the xml backend when
562 using the binary to ensure they functions exists (they should not be
563 used though). Fixes #520756.
565 2008-03-04 Jan Schmidt <jan.schmidt@sun.com>
568 * win32/common/config.h:
571 2008-03-03 Edward Hervey <edward.hervey@collabora.co.uk>
573 * gst/gstregistrybinary.c: (gst_registry_binary_write),
574 (gst_registry_binary_read_cache):
575 * gst/gstregistryxml.c: (gst_registry_save):
576 * gst/gsturi.c: (unescape_string), (gst_uri_has_protocol):
577 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file):
578 * plugins/elements/gstfilesrc.c: (gst_file_src_map_region),
579 (gst_file_src_map_small_region), (gst_file_src_create_mmap):
580 Switch to using portabl gsize/gssize instead of size_t/ssize_t
583 2008-03-03 Edward Hervey <edward.hervey@collabora.co.uk>
585 * gst/gstminiobject.c:
586 Import gst_private.h before any other header that might include other
587 glib headers. This fixes the build on windows using native compilers.
589 2008-03-03 Tim-Philipp Müller <tim at centricular dot net>
591 * win32/common/gstconfig.h:
592 Add here too, just for completeness.
594 2008-03-03 Tim-Philipp Müller <tim at centricular dot net>
597 * gst/gstconfig.h.in:
599 Fix broken use of config.h-defined preprocessor directive in a public
600 header file. Add a corresponding define to gstconfig.h, since we can't
601 really remove those function declarations from the header file now
602 (or can we? and why are they there in the first place?).
604 2008-03-03 Andy Wingo <wingo@pobox.com>
606 * tests/check/gst/gststructure.c (GST_START_TEST): Add a check for
609 * gst/gststructure.c (gst_structure_from_string): Warn if
610 structure_from_string didn't consume the whole string, but the
611 caller did not provide an end pointer.
613 2008-03-01 Tim-Philipp Müller <tim at centricular dot net>
615 Patch by: Fabrizio Gennari <fabrizio.ge at tiscali it>
617 * gst/gstregistryxml.c: (read_string), (load_feature):
618 Strings allocated by libxml2 should be freed with xmlFree(), not
619 with g_free(). Fixes issues on windows in certain contexts (#519698).
621 2008-02-29 Tim-Philipp Müller <tim at centricular dot net>
623 * gst/gstinterface.c: (gst_element_implements_interface):
624 Don't crash if the element supports the interface queried, but does
625 not implement GstImplementsInterface. Fixes #519584.
627 * tests/check/Makefile.am:
628 * tests/check/gst/.cvsignore:
629 * tests/check/gst/gstinterface.c:
630 Add unit test for the above.
632 2008-02-29 Wim Taymans <wim.taymans@collabora.co.uk>
634 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
637 2008-02-29 Wim Taymans <wim.taymans@collabora.co.uk>
639 * gst/gstsegment.c: (gst_segment_set_seek),
640 (gst_segment_to_stream_time):
641 Improve some comment.
642 Update variables where it makes more sense.
644 2008-02-29 Rene Stadler <mail@renestadler.de>
646 * gst/gsturi.c: (gst_uri_handler_get_protocols):
647 Use the get_protocols_full vfunc if get_protocols is NULL. Fixes
648 URIHandlers implemented using language bindings.
650 2008-02-29 Sebastian Dröge <slomo@circular-chaos.org>
652 * gst/gstelementfactory.h:
653 * tests/check/elements/fakesink.c:
654 * tests/check/elements/fakesrc.c: (setup_fakesrc):
655 * tests/check/elements/fdsrc.c: (setup_fdsrc):
656 * tests/check/elements/filesink.c: (setup_filesink):
657 * tests/check/elements/filesrc.c: (setup_filesrc):
658 * tests/check/elements/identity.c: (setup_identity):
659 * tests/check/elements/tee.c:
660 * tests/check/generic/sinks.c:
661 * tests/check/generic/states.c: (setup), (teardown):
662 * tests/check/gst/gst.c:
663 * tests/check/gst/gstabi.c:
664 * tests/check/gst/gstbin.c:
665 * tests/check/gst/gstbus.c: (pull_messages):
666 * tests/check/gst/gstcaps.c:
667 * tests/check/gst/gstelement.c:
668 * tests/check/gst/gstevent.c:
669 * tests/check/gst/gstghostpad.c:
670 * tests/check/gst/gstiterator.c:
671 * tests/check/gst/gstmessage.c:
672 * tests/check/gst/gstminiobject.c: (my_foo_init):
673 * tests/check/gst/gstobject.c: (thread_name_object),
675 * tests/check/gst/gstpad.c:
676 * tests/check/gst/gstplugin.c:
677 * tests/check/gst/gstpoll.c:
678 * tests/check/gst/gstquery.c:
679 * tests/check/gst/gstsegment.c:
680 * tests/check/gst/gststructure.c:
681 * tests/check/gst/gstsystemclock.c:
682 * tests/check/gst/gsttask.c:
683 * tests/check/gst/gstutils.c:
684 * tests/check/gst/gstvalue.c:
685 * tests/check/gst/struct_hppa.h:
686 * tests/check/gst/struct_i386.h:
687 * tests/check/gst/struct_ppc32.h:
688 * tests/check/gst/struct_ppc64.h:
689 * tests/check/gst/struct_x86_64.h:
690 * tests/check/libs/adapter.c: (create_and_fill_adapter):
691 * tests/check/libs/basesrc.c:
692 * tests/check/libs/controller.c: (GST_START_TEST):
693 * tests/check/libs/gdp.c:
694 * tests/check/libs/gstnetclientclock.c:
695 * tests/check/libs/gstnettimeprovider.c:
696 * tests/check/libs/libsabi.c:
697 * tests/check/libs/struct_hppa.h:
698 * tests/check/libs/struct_i386.h:
699 * tests/check/libs/struct_ppc32.h:
700 * tests/check/libs/struct_ppc64.h:
701 * tests/check/libs/struct_x86_64.h:
702 * tests/check/pipelines/cleanup.c:
703 * tests/check/pipelines/simple-launch-lines.c:
704 * tests/check/pipelines/stress.c:
705 And correct even more valid sparse warnings.
707 * win32/common/libgstreamer.def:
708 Add gst_poll_fd_init to the list of symbols.
710 2008-02-29 Sebastian Dröge <slomo@circular-chaos.org>
712 * gst/gstconfig.h.in:
713 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_read_buffer):
714 * libs/gst/check/gstcheck.c: (gst_check_log_message_func),
715 (gst_check_log_critical_func), (gst_check_drop_buffers),
716 (gst_check_element_push_buffer_list):
717 * libs/gst/controller/gstcontroller.c: (gst_controller_get),
718 (gst_controller_get_type):
719 * libs/gst/controller/gsthelper.c: (gst_object_control_properties),
720 (gst_object_get_controller), (gst_object_get_control_source):
721 * libs/gst/controller/gstinterpolationcontrolsource.c:
722 (gst_interpolation_control_source_new):
723 * libs/gst/controller/gstlfocontrolsource.c:
724 (gst_lfo_control_source_new):
725 * libs/gst/dataprotocol/dataprotocol.c:
726 (gst_dp_event_from_packet_0_2):
727 * plugins/elements/gstfdsrc.c:
728 * plugins/elements/gstmultiqueue.c:
729 * plugins/elements/gsttee.c:
730 * plugins/elements/gsttypefindelement.c:
731 * plugins/indexers/gstfileindex.c: (_file_index_id_save_xml),
732 (gst_file_index_add_association):
733 * plugins/indexers/gstmemindex.c:
734 * tests/benchmarks/gstpollstress.c: (mess_some_more):
735 * tests/check/elements/queue.c: (setup_queue):
736 * tests/check/gst/gstpipeline.c:
737 * tests/check/libs/collectpads.c: (setup), (teardown),
738 (gst_collect_pads_suite):
739 * tests/examples/adapter/adapter_test.c:
740 * tests/examples/metadata/read-metadata.c: (make_pipeline):
741 * tests/examples/xml/createxml.c:
742 * tests/examples/xml/runxml.c:
743 * tools/gst-inspect.c:
745 Correct all relevant warnings found by the sparse semantic code
746 analyzer. This include marking several symbols static, using
747 NULL instead of 0 for pointers, not using variable sized arrays
748 on the stack, moving variable declarations to the beginning of
749 a block and using "foo (void)" instead of "foo ()" for declarations.
751 2008-02-29 Sebastian Dröge <slomo@circular-chaos.org>
753 * plugins/elements/gstfdsink.c: (gst_fd_sink_update_fd):
754 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
755 Don't reset GstPollFDs, this is not necessary at all.
757 * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
758 (delayed_restart), (delayed_control):
759 Use GST_POLL_FD_INIT.
761 2008-02-29 Wim Taymans <wim.taymans@collabora.co.uk>
763 * gst/gstpoll.c: (gst_poll_fd_init):
767 * plugins/elements/gstfdsink.c: (gst_fd_sink_update_fd):
768 Use some more init macros.
770 2008-02-29 Wim Taymans <wim.taymans@collabora.co.uk>
772 * plugins/elements/gstfdsink.c: (gst_fd_sink_start):
773 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
774 Use init macros and functions.
776 2008-02-29 Wim Taymans <wim.taymans@collabora.co.uk>
778 * docs/gst/gstreamer-sections.txt:
779 * gst/gstpoll.c: (gst_poll_fd_init):
781 Add INIT macro and _init method for initializing the GstPollFD.
783 2008-02-28 Sebastian Dröge <slomo@circular-chaos.org>
785 * plugins/elements/gstfdsink.c: (gst_fd_sink_start),
786 (gst_fd_sink_update_fd):
787 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
788 * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
789 (delayed_restart), (delayed_control):
790 Initialize some uninitialized variables as spotted by valgrind.
792 2008-02-28 Wim Taymans <wim.taymans@collabora.co.uk>
794 * tests/benchmarks/Makefile.am:
795 * tests/benchmarks/gstpollstress.c: (mess_some_more), (run_test),
797 Add poll stress test.
799 2008-02-28 Wim Taymans <wim.taymans@collabora.co.uk>
801 Patch by: Peter Kjellerstedt <pkj at axis dot com>
803 * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
804 (gst_fd_sink_start), (gst_fd_sink_stop), (gst_fd_sink_unlock),
805 (gst_fd_sink_unlock_stop), (gst_fd_sink_update_fd):
806 * plugins/elements/gstfdsink.h:
807 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
808 (gst_fd_src_start), (gst_fd_src_stop), (gst_fd_src_unlock),
809 (gst_fd_src_unlock_stop), (gst_fd_src_create),
810 (gst_fd_src_uri_set_uri):
811 * plugins/elements/gstfdsrc.h:
812 Port to GstPoll. See #505417.
814 2008-02-27 Jan Schmidt <jan.schmidt@sun.com>
816 * win32/common/libgstreamer.def:
817 Add new gst_poll_ symbols to win32 defs.
819 2008-02-27 Wim Taymans <wim.taymans@collabora.co.uk>
821 * docs/libs/gstreamer-libs-sections.txt:
822 * libs/gst/net/gstnetclientclock.c:
823 (gst_net_client_clock_class_init), (gst_net_client_clock_init),
824 (gst_net_client_clock_finalize), (gst_net_client_clock_do_select),
825 (gst_net_client_clock_thread), (gst_net_client_clock_start),
826 (gst_net_client_clock_stop), (gst_net_client_clock_new):
827 * libs/gst/net/gstnetclientclock.h:
828 * libs/gst/net/gstnettimeprovider.c:
829 (gst_net_time_provider_class_init), (gst_net_time_provider_init),
830 (gst_net_time_provider_finalize), (gst_net_time_provider_thread),
831 (gst_net_time_provider_start), (gst_net_time_provider_stop),
832 (gst_net_time_provider_new):
833 * libs/gst/net/gstnettimeprovider.h:
834 Use a private stuct to not break ABI.
836 2008-02-27 Wim Taymans <wim.taymans@collabora.co.uk>
838 Patch by: Peter Kjellerstedt <pkj at axis dot com>
840 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_init),
841 (gst_net_client_clock_finalize), (gst_net_client_clock_do_select),
842 (gst_net_client_clock_thread), (gst_net_client_clock_start),
843 (gst_net_client_clock_stop), (gst_net_client_clock_new):
844 * libs/gst/net/gstnetclientclock.h:
845 * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_init),
846 (gst_net_time_provider_finalize), (gst_net_time_provider_thread),
847 (gst_net_time_provider_start), (gst_net_time_provider_stop),
848 (gst_net_time_provider_new):
849 * libs/gst/net/gstnettimeprovider.h:
850 Massive code removal and cleanups because of GstPoll.
853 2008-02-27 Wim Taymans <wim.taymans@collabora.co.uk>
856 Add checks for poll, ppoll and pselect.
858 * docs/gst/gstreamer-docs.sgml:
859 * docs/gst/gstreamer-sections.txt:
860 Add docs for GstPoll.
864 * gst/gstpoll.c: (find_index), (selectable_fds),
865 (pollable_timeout), (choose_mode), (pollfd_to_fd_set),
866 (fd_set_to_pollfd), (gst_poll_new), (gst_poll_free),
867 (gst_poll_set_mode), (gst_poll_get_mode),
868 (gst_poll_add_fd_unlocked), (gst_poll_add_fd),
869 (gst_poll_remove_fd), (gst_poll_fd_ctl_write),
870 (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_ctl_read),
871 (gst_poll_fd_has_closed), (gst_poll_fd_has_error),
872 (gst_poll_fd_can_read_unlocked), (gst_poll_fd_can_read),
873 (gst_poll_fd_can_write), (gst_poll_wait),
874 (gst_poll_set_controllable), (gst_poll_restart),
875 (gst_poll_set_flushing):
877 Add generic poll abstraction. We ideally don't want to have this in core
878 here but in glib intead...
879 This code will be used in various network elements and ultimately for
880 the nanosecond precision monotonic clock (that's why it's here in core).
881 It'll allow us to implement cancelable socket operations for windows too.
883 * tests/check/Makefile.am:
884 * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
885 (delayed_stop), (delayed_restart), (delayed_flush),
886 (delayed_control), (gst_poll_suite):
887 Add GstPoll unit test.
889 2008-02-25 Tim-Philipp Müller <tim at centricular dot net>
892 Improve documentation of gst_filter_run(). Fixes #518627.
894 2008-02-23 Tim-Philipp Müller <tim at centricular dot net>
897 Add a few lines about the new 'check-inspected-versions' target.
899 2008-02-21 Stefan Kost <ensonic@users.sf.net>
901 * tests/check/gst/gstevent.c:
902 Add qos to the event test. Rename tcase/tsuite; is not only about
905 2008-02-21 Stefan Kost <ensonic@users.sf.net>
907 * plugins/elements/gstqueue.c:
908 Ensure that buffer metadata is writeable, before modifying. Spotted by
911 2008-02-20 Stefan Kost <ensonic@users.sf.net>
913 * plugins/elements/gstqueue.c:
914 * plugins/elements/gstqueue.h:
915 When dropping buffers in leaky modes, mark next buffers we sent as
918 2008-02-20 Tim-Philipp Müller <tim at centricular dot net>
920 * plugins/elements/gstfilesrc.c: (gst_file_src_map_region):
921 Also, if mmap() fails that would be a READ error, not OPEN_READ.
923 2008-02-20 Tim-Philipp Müller <tim at centricular dot net>
925 * plugins/elements/Makefile.am:
926 * plugins/elements/gstbufferstore.c:
927 * plugins/elements/gstbufferstore.h:
928 * plugins/elements/gsttypefindelement.h:
929 Remove GstBufferStore, no idea why we were still building it.
930 It's not used anywhere and superseded by GstAdapter.
932 * plugins/elements/gstfilesrc.c: (gst_file_src_map_region),
933 (gst_file_src_create_mmap):
934 * plugins/indexers/gstfileindex.c: (gst_file_index_add_association):
935 Printf format fixes for 64-bit integers.
937 2008-02-19 Sebastian Dröge <slomo@circular-chaos.org>
940 Don't set GST_CACHE_DIR and allow to set it by a configure parameter.
941 We're not in 0.8 times anymore.
943 2008-02-19 Jan Schmidt <Jan.Schmidt@sun.com>
945 * libs/gst/check/gstcheck.c: (gst_check_drop_buffers),
946 (gst_check_element_push_buffer_list):
947 * libs/gst/check/gstcheck.h:
948 Make the declaration in the header for
949 gst_check_element_push_buffer_list match the implementation.
951 Fix up spelling, grammar and wording of the documentation in a few
952 places, and add the Since keyword to new API functions.
953 Use g_list_delete_link instead of g_list_remove in
954 gst_check_drop_buffers, since it's immeasurably more efficient.
956 * tests/check/elements/fakesrc.c: (GST_START_TEST):
957 Use new gst_check_drop_buffers function where appropriate.
959 * win32/common/libgstbase.def:
960 * win32/common/libgstreamer.def:
961 Add new symbols gst_collect_pads_take_buffer,
962 gst_collect_pads_read_buffer, gst_index_set_resolver_full to the
965 Changelog surgery to add API keyword to new gst_check API.
967 2008-02-19 Sebastian Dröge <slomo@circular-chaos.org>
969 * gst/parse/lex._gst_parse_yy.pre.c: (yy_get_next_buffer),
970 (_gst_parse_yyensure_buffer_stack), (_gst_parse_yylex_init_extra):
971 Update pre-generated flex files with flex 2.3.34.
973 2008-02-19 Sebastian Dröge <slomo@circular-chaos.org>
975 * gst/gstminiobject.c:
976 Add FIXME for 0.11 to make GstMiniObjectClass::copy() a bit more
977 friendly to subclasses and not require them to know all internals
978 of their parent class.
980 2008-02-15 Stefan Kost <ensonic@users.sf.net>
982 * docs/libs/gstreamer-libs-sections.txt:
983 * libs/gst/base/gstcollectpads.c:
984 * libs/gst/base/gstcollectpads.h:
985 Add sub-buffer functions to collectpads. Fixes #516187.
986 API: gst_collect_pads_take_buffer(), gst_collect_pads_read_buffer()
988 2008-02-15 Stefan Kost <ensonic@users.sf.net>
991 Copy selected buffer-flags when creating subbuffers.
994 2008-02-12 Sebastian Dröge <slomo@circular-chaos.org>
996 * gst/gstbuffer.c: (gst_buffer_class_init), (gst_buffer_finalize):
997 * gst/gstevent.c: (gst_event_class_init), (gst_event_finalize):
998 * gst/gstmessage.c: (gst_message_class_init),
999 (gst_message_finalize):
1000 * gst/gstquery.c: (gst_query_class_init), (gst_query_finalize):
1001 * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_class_init),
1002 (gst_mmap_buffer_finalize):
1003 Properly chain up finalize functions to the parent class.
1005 2008-02-11 Wim Taymans <wim.taymans@collabora.co.uk>
1007 Patch by: Siavash Safi <siavash dot safi at gmail dot com>
1009 * gst/gstindex.c: (gst_index_finalize), (gst_index_set_resolver),
1010 (gst_index_set_resolver_full):
1012 Add new function with option to dispose of user_data in resolver.
1013 Actually call the dispose function when finalizing the object and not
1014 just when changing the resolver/filter.
1015 API: GstIndex::gst_index_set_resolver_full()
1017 * docs/gst/gstreamer-sections.txt:
1018 Add new function to docs. Fixes #515469.
1020 2008-02-11 Sebastian Dröge <slomo@circular-chaos.org>
1022 * gst/gstindex.c: (gst_index_finalize):
1023 Chain up finalize to the parent class. Fixes leaking the GstObject
1024 name and other things.
1026 2008-02-08 Jan Schmidt <jan.schmidt@sun.com>
1029 Make DISABLE_DEPRECATED defined *only* during CVS, not during
1030 pre-releases or releases.
1032 * docs/faq/gst-uninstalled:
1035 * docs/random/release:
1036 Change one of the steps - we only upload core & base to Gnome FTP
1038 2008-02-06 Stefan Kost <ensonic@users.sf.net>
1040 * gst/gstconfig.h.in:
1041 Add 'id' for example.
1045 * plugins/elements/gstfdsink.c:
1046 Link to signals. Doc and comment fixes.
1048 2008-02-05 Tim-Philipp Müller <tim at centricular dot net>
1050 * gst/gstpad.h: (GST_PAD_LINK_SUCCESSFUL):
1051 * gst/gstpluginfeature.h: (GstPluginFeatureClass):
1052 Some minor docs fixes: fix typo, mention that GST_FLOW_RESEND is
1053 unused and unimplemented; finally, it is plugin features, not
1054 plugins, that have ranks.
1056 2008-02-05 Stefan Kost <ensonic@users.sf.net>
1058 * gst/gstpluginfeature.h:
1059 Clarify GstRank range docs.
1061 2008-02-05 David Schleef <ds@schleef.org>
1063 * gst/gst.c: Add a separate gst_deinitialized that prevents
1064 gst_init() from being called after gst_deinit(). Fixes #509559
1066 2008-02-05 Sebastian Dröge <slomo@circular-chaos.org>
1068 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_base_init),
1069 (gst_bin_class_init):
1070 * gst/gstelement.c: (gst_element_base_class_init),
1071 (gst_element_class_add_pad_template):
1072 * gst/gstpadtemplate.c: (gst_pad_template_init):
1073 * gst/gstpipeline.c: (gst_pipeline_get_type),
1074 (gst_pipeline_base_init), (gst_pipeline_class_init):
1075 * libs/gst/base/gstbasesink.c:
1076 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type),
1077 (gst_base_src_base_init), (gst_base_src_class_init):
1078 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init),
1079 (gst_capsfilter_class_init):
1080 * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init),
1081 (gst_fake_sink_class_init):
1082 * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init),
1083 (gst_fake_src_class_init):
1084 * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init),
1085 (gst_fd_sink_class_init):
1086 * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init),
1087 (gst_fd_src_class_init):
1088 * plugins/elements/gstfilesink.c: (gst_file_sink_base_init),
1089 (gst_file_sink_class_init):
1090 * plugins/elements/gstfilesrc.c: (gst_file_src_base_init),
1091 (gst_file_src_class_init):
1092 * plugins/elements/gstidentity.c: (gst_identity_base_init),
1093 (gst_identity_class_init):
1094 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
1095 (gst_multi_queue_class_init):
1096 * plugins/elements/gstqueue.c: (gst_queue_base_init),
1097 (gst_queue_class_init):
1098 * plugins/elements/gsttee.c: (gst_tee_base_init),
1099 (gst_tee_class_init):
1100 * plugins/elements/gsttypefindelement.c:
1101 (gst_type_find_element_base_init),
1102 (gst_type_find_element_class_init):
1103 * tests/check/gst/gstelement.c: (gst_element_suite):
1104 Revert previous changes to the behaviour of GstPadTemplates, etc
1105 and the possiblity to call them in class_init as it breaks too
1106 many elements. Reopens bug #491501.
1108 Should be applied again for 0.11, thus added a few FIXME 0.11 at
1111 2008-02-05 Stefan Kost <ensonic@users.sf.net>
1113 * tools/gst-launch.c:
1114 Dump one graph per pipeline state-change and state change name
1115 (if GST_DEBUG_DUMP_DOT_DIR is set).
1117 2008-02-04 Thijs Vermeir <thijsvermeir@gmail.com>
1120 * tests/check/gst/gstpad.c:
1121 Be sure that we have a new copy of the caps and not
1122 reffed caps from a template
1124 2008-02-03 Sebastian Dröge <slomo@circular-chaos.org>
1126 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
1127 * gst/gstpipeline.c: (gst_pipeline_get_type),
1128 (gst_pipeline_class_init):
1129 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
1130 (gst_base_sink_class_init):
1131 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type),
1132 (gst_base_src_class_init):
1133 * libs/gst/base/gstbasetransform.c: (gst_base_transform_get_type),
1134 (gst_base_transform_class_init):
1135 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
1136 (gst_collect_pads_class_init):
1137 * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type):
1138 * libs/gst/net/gstnettimeprovider.c:
1139 (gst_net_time_provider_base_init),
1140 (gst_net_time_provider_class_init):
1141 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init),
1142 (gst_capsfilter_class_init):
1143 * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init),
1144 (gst_fake_sink_class_init):
1145 * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init),
1146 (gst_fake_src_class_init):
1147 * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init),
1148 (gst_fd_sink_class_init):
1149 * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init),
1150 (gst_fd_src_class_init):
1151 * plugins/elements/gstfilesink.c: (gst_file_sink_base_init),
1152 (gst_file_sink_class_init):
1153 * plugins/elements/gstfilesrc.c: (gst_file_src_base_init),
1154 (gst_file_src_class_init):
1155 * plugins/elements/gstidentity.c: (gst_identity_base_init),
1156 (gst_identity_class_init):
1157 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
1158 (gst_multi_queue_class_init):
1159 * plugins/elements/gstqueue.c: (gst_queue_base_init),
1160 (gst_queue_class_init):
1161 * plugins/elements/gsttee.c: (gst_tee_base_init),
1162 (gst_tee_class_init):
1163 * plugins/elements/gsttypefindelement.c:
1164 (gst_type_find_element_base_init),
1165 (gst_type_find_element_class_init):
1166 Don't use base_init where not absolutely necessary. For example it's
1167 not necessary anymore for adding pad templates or setting element
1170 Leave empty base_init functions in several places as GST_BOILERPLATE
1171 still defines and uses them.
1173 2008-02-03 Sebastian Dröge <slomo@circular-chaos.org>
1175 * gst/gstelement.c: (gst_element_base_class_init),
1176 (gst_element_class_add_pad_template):
1177 * gst/gstpadtemplate.c:
1178 Make it possible (and recommended) to set element details and add
1179 pad templates in the class_init functions by copying the details/pad
1180 templates in GstElement's base_init.
1182 Also make it possible to replace existing pad templates by adding
1183 a new one with the same name. This was done in a hackish fashion
1184 in same elements before already.
1186 Don't reference pad templates that are added a second time. A
1187 new pad template has a refcount of one and is not floating anymore
1188 and to be owned by the element's class. Make this more explicit by
1189 mentioning it in the docs of gst_element_class_add_pad_template().
1191 These changes are backwards compatible. Fixes bug #491501.
1193 * tests/check/gst/gstelement.c:
1194 Add unit test for setting element details, adding pad templates and
1195 replacing them in a subclass.
1197 2008-02-02 Sebastian Dröge <slomo@circular-chaos.org>
1199 * tools/gst-inspect.c: (print_interfaces),
1200 (print_element_properties_info), (print_pad_info),
1201 (print_signal_info), (print_element_info):
1202 Fix a few memory leaks.
1204 2008-02-01 Thijs Vermeir <thijsvermeir@gmail.com>
1206 * docs/libs/gstreamer-libs-sections.txt:
1207 * libs/gst/check/gstcheck.c:
1208 * libs/gst/check/gstcheck.h:
1209 Add more functions for unit testing: gst_check_drop_buffers,
1210 gst_check_caps_equal, gst_check_element_push_buffer_list,
1211 gst_check_element_push_buffer
1212 API: gst_check_drop_buffers
1213 API: gst_check_caps_equal
1214 API: gst_check_element_push_buffer_list
1215 API: gst_check_element_push_buffer
1217 2008-02-01 Julien Moutte <julien@fluendo.com>
1219 * docs/gst/gstreamer-sections.txt: Add GST_CHECK_VERSION to the docs
1220 * gst/gstindex.c: (gst_index_class_init), (gst_index_free_writer),
1221 (gst_index_finalize), (gst_index_entry_free),
1222 (gst_index_add_association): Fix memory leaks.
1223 * gst/gstversion.h.in: Add GST_CHECK_VERSION macro.
1224 * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init),
1225 (gst_mem_index_free_format), (gst_mem_index_free_id),
1226 (gst_mem_index_finalize): Fix memory leaks.
1227 * win32/common/config.h: Updated to CVS HEAD.
1229 2008-02-01 Stefan Kost <ensonic@users.sf.net>
1232 Some more details about how the plugin docs works.
1234 * docs/plugins/gstreamer-plugins-sections.txt:
1237 2008-02-01 Stefan Kost <ensonic@users.sf.net>
1239 * gst/parse/grammar.tab.pre.c:
1240 * gst/parse/grammar.tab.pre.h:
1241 * gst/parse/grammar.y:
1242 * gst/parse/lex._gst_parse_yy.pre.c:
1243 Add delayed set-property. This allows to set properties on dynamicaly
1244 created objects (pads in videomxer). Fixes #509391.
1246 2008-02-01 Thijs Vermeir <thijsvermeir@gmail.com>
1249 Check if caps are not NULL (fix bug #510194)
1251 2008-02-01 Wim Taymans <wim.taymans@collabora.co.uk>
1253 * libs/gst/base/gstbasesink.c: (gst_base_sink_loop),
1254 (gst_base_sink_get_position_paused):
1255 Add fixme regarding EOS in pull mode.
1256 Fix position reporting in PAUSED for negative rates.
1258 2008-02-01 Wim Taymans <wim.taymans@collabora.co.uk>
1260 * gst/gstminiobject.c: (gst_mini_object_replace):
1261 When replacing a miniobject, do a quick equality check first so that we
1262 can avoid a ref/unref pair.
1264 2008-02-01 Wim Taymans <wim.taymans@collabora.co.uk>
1266 * docs/design/part-synchronisation.txt:
1269 * docs/plugins/Makefile.am:
1270 * docs/plugins/gstreamer-plugins-docs.sgml:
1271 * docs/plugins/gstreamer-plugins-sections.txt:
1272 * plugins/elements/gstmultiqueue.c:
1273 Add multiqueue to the docs.
1275 2008-01-30 Jan Schmidt <jan.schmidt@sun.com>
1280 === release 0.10.17 ===
1282 2008-01-30 Jan Schmidt <jan.schmidt@sun.com>
1285 releasing 0.10.17, "Due Negligence"
1287 2008-01-30 Jan Schmidt <jan.schmidt@sun.com>
1290 Revert caps != NULL check temporarily for 0.10.17 release.
1292 2008-01-30 Thijs Vermeir <thijsvermeir@gmail.com>
1295 Check if caps are not NULL (fix bug #510194)
1297 2008-01-30 Jan Schmidt <jan.schmidt@sun.com>
1300 Fix compilation on systems that have posix timers but no
1303 Patch By: Cygwin Ports maintainer <yselkowitz at users dot sourceforge
1306 2008-01-30 Jan Schmidt <jan.schmidt@sun.com>
1308 * tools/gst-inspect.c:
1309 Revert previous commit in preparation for an impromptu 0.10.17 release
1311 2008-01-29 Sebastian Dröge <slomo@circular-chaos.org>
1313 * tools/gst-inspect.c: (print_interfaces),
1314 (print_element_properties_info), (print_pad_info),
1315 (print_signal_info), (print_element_info):
1316 Fix a few memory leaks.
1318 2008-01-28 Jan Schmidt <jan.schmidt@sun.com>
1323 === release 0.10.16 ===
1325 2008-01-28 Jan Schmidt <thaytan@noraisin.net>
1328 releasing 0.10.16, "Special Dispensation"
1330 2008-01-24 Tim-Philipp Müller <tim at centricular dot net>
1333 Use AC_TRY_COMPILE instead of AC_TRY_RUN to check for
1334 _POSIX_TIMER, _POSIX_MONOTONIC_CLOCK, etc. Makes configure
1335 not fail when trying to crosscompile on OpenEmbedded (#511750).
1337 2008-01-20 Sebastian Dröge <slomo@circular-chaos.org>
1340 Use $(MAKE) instead of make to fix the build if GNU make is
1341 called different. Fixes bug #510747.
1343 2008-01-20 Tim-Philipp Müller <tim at centricular dot net>
1345 * gst/gstplugin.c: (_gst_plugin_initialize):
1346 Fix old-style static plugins via GST_PLUGIN_DEFINE_STATIC
1347 again, which I broke two commits ago when changing the API
1348 of gst_plugin_register_static(): the g_list_foreach() in
1349 _gst_plugin_register_static still assumed the old function
1350 signature and would therefore fail (re-fixes #510187).
1352 * gst/gstplugin.c: (_num_static_plugins), (_static_plugins),
1353 (_gst_plugin_register_static), (gst_plugin_register_static):
1354 Revert the (technically correct) change to call g_thread_init() from
1355 the pre-main() constructor. This will break programs which call
1356 g_thread_init() without an if (!g_thread_supported()) guard in their
1357 main function. We could just blame it on GLib or the application, but
1358 it's probably best to just avoid this altogether and simply not use
1359 any GLib functions here and use plain old malloc() with a simple
1360 array to store the plugins to register later when gst_init() is
1361 finally called (re-fixes #510187).
1363 * tests/check/gst/gstplugin.c: (GST_GNUC_CONSTRUCTOR_DEFINED),
1364 (GST_GNUC_CONSTRUCTOR_DEFINED), (plugin_init_counter),
1365 (plugin1_init), (plugin2_init), (plugin3_init), (GST_START_TEST),
1366 (GST_START_TEST), (gst_plugin_suite):
1367 Dumb unit test to make sure the old GST_PLUGIN_DEFINE_STATIC still
1370 2008-01-17 Tim-Philipp Müller <tim at centricular dot net>
1372 * gst/gstplugin.h: (GST_PLUGIN_DEFINE_STATIC):
1373 Remove deprecation guards around GST_PLUGIN_DEFINE_STATIC.
1374 This makes gtk-doc complain, but results in slightly better
1375 compiler errors. The old _gst_plugin_register_static() is
1376 still guarded, so there'll be a compiler warning about that
1377 instead. Fixes #510187 too.
1379 2008-01-17 Tim-Philipp Müller <tim at centricular dot net>
1381 * gst/gst.c: (init_post):
1382 * gst/gstplugin.c: (_gst_plugin_register_static),
1383 (gst_plugin_register_static), (_gst_plugin_initialize):
1384 * gst/gstplugin.h: (GstPluginFilter):
1385 Change API of gst_plugin_register_static() to not take
1386 a GstPluginDesc, but rather just take all the arguments
1387 in a GstPluginDesc directly. This is more intuitive and
1388 avoids certain mistakes when porting code from
1389 GST_PLUGIN_DEFINE_STATIC to gst_plugin_register_static().
1392 * tests/check/gst/gstplugin.c:
1393 Fix up for changed API.
1395 2008-01-17 Thomas Vander Stichele <thomas at apestaart dot org>
1397 * docs/faq/legal.xml:
1398 Update FAQ, Totem actually has an exception these days.
1400 2008-01-14 Jan Schmidt <jan.schmidt@sun.com>
1402 * win32/common/libgstreamer.def:
1403 Add new API declarations
1405 2008-01-14 Stefan Kost <ensonic@users.sf.net>
1407 * gst/gstminiobject.c:
1408 Spelling fixes for the API docs.
1410 2008-01-14 Stefan Kost <ensonic@users.sf.net>
1412 * libs/gst/base/gstbasetransform.c:
1413 Fix long property description for QoS.
1415 2008-01-12 Jan Schmidt <Jan.Schmidt@sun.com>
1418 _gst_trace_on is already provided by gsttrace.h, no need to declare
1421 * docs/libs/gstreamer-libs-sections.txt:
1422 Add 'buffers', 'check_cond' and 'check_mutex' from libgstcheck
1423 and remove strange tcase_add_test which is outputting a warning.
1425 * libs/gst/check/gstcheck.c:
1426 * libs/gst/check/gstcheck.h:
1427 Properly declare 'buffers', 'check_cond', 'check_mutex' extern
1428 and define them in gstcheck.c instead of having every .c file whcih
1429 includes gstcheck.h be defining its own copy and relying on symbol
1430 interposing to marry them all, which doesn't work on Solaris.
1432 * tests/check/elements/identity.c: (GST_START_TEST):
1433 Don't define 'buffers' locally, it comes from libgstcheck.
1435 * tests/check/generic/sinks.c: (send_buffer):
1436 Fix type of variable (GstFlowReturn, not GstStateChangeReturn)
1438 * tests/check/gst/gststructure.c: (GST_START_TEST):
1439 * tests/check/gst/gstsystemclock.c: (GST_START_TEST):
1440 * tests/check/gst/gstutils.c: (GST_START_TEST):
1441 * tests/check/gst/gstvalue.c: (GST_START_TEST):
1442 Add a bunch of casts to make various constants fit the types
1443 they're being assigned to.
1445 2008-01-10 Stefan Kost <ensonic@users.sf.net>
1447 * gst/gstchildproxy.c:
1448 Improve docs and add some ideas for making this more general-purpose.
1450 2008-01-10 Tim-Philipp Müller <tim at centricular dot net>
1452 * gst/gst_private.h: (GST_CAT_TYPES):
1453 Add GST_CAT_TYPES, for consistency, and so that the other
1454 debug categories don't make fun of it. Spotted by Saur on IRC.
1456 2008-01-10 Sebastian Dröge <slomo@circular-chaos.org>
1458 * gst/parse/Makefile.am:
1459 Move types.h from EXTRA_DIST to noinst_HEADERS.
1461 2008-01-10 Sebastian Dröge <slomo@circular-chaos.org>
1464 Add -Wno-portability to the automake parameters to stop warnings
1465 about GNU make extensions being used. We require GNU make in almost
1466 every Makefile anyway.
1469 Use AM_PROG_CC_C_O as a compiler that accepts both -c and -o
1470 at the same time is required for per target flags.
1472 2008-01-09 Tim-Philipp Müller <tim at centricular dot net>
1475 Include glib/gmacros.h for G_BEGIN_DECLS. Check if
1476 __GNUC__ is defined before using it.
1478 2008-01-09 Tim-Philipp Müller <tim at centricular dot net>
1480 * docs/gst/gstreamer-sections.txt:
1481 * gst/gst.c: (init_post):
1482 * gst/gstplugin.c: (_gst_plugin_register_static),
1483 (gst_plugin_register_static), (_gst_plugin_initialize),
1484 (gst_plugin_register_func):
1485 * gst/gstplugin.h: (GST_PLUGIN_DEFINE_STATIC):
1486 API: add gst_plugin_register_static() and deprecate
1487 GST_PLUGIN_DEFINE_STATIC, since it's not portable
1489 Also, in _gst_plugin_register_static(), make sure to call
1490 g_thread_init() before calling GLib functions such as
1491 g_list_append() if we're not initialised yet, since that
1492 may lead to random crashes with older GSlice/GLib versions.
1494 * tests/check/gst/gstplugin.c:
1495 Adapt unit test to above changes.
1497 2008-01-09 Tim-Philipp Müller <tim at centricular dot net>
1499 * gst/gst_private.h: (STRUCTURE_ESTIMATED_STRING_LEN):
1500 * gst/gstcaps.c: (gst_caps_to_string):
1501 * gst/gststructure.c: (GST_ASCII_IS_STRING),
1502 (priv_gst_structure_append_to_gstring), (gst_structure_to_string):
1503 Yet another gratuitous GString micro-optimisation: add a (private)
1504 function that serialises a structure appending to an existing
1505 GString, so that when we serialise caps we don't need to alloc+free
1506 a throwaway GString for each structure (each of which also entailing
1507 multiple reallocs on the way); also use g_string_sized_new() in
1508 various places with an approximate string length to avoid reallocs
1509 within GString. See #500143.
1511 2008-01-09 Tim-Philipp Müller <tim at centricular dot net>
1513 * gst/gststructure.c: (gst_structure_id_set_value):
1514 Always check UTF-8 conformance of structure strings and not only
1515 if the debugging system is enabled; reasoning: the behaviour of
1516 the actual code shouldn't really change depending on whether the
1517 debugging system is enabled or not (#508291).
1519 2008-01-09 Stefan Kost <ensonic@users.sf.net>
1522 Remove old coverage target in favour of "make lcov".
1524 2008-01-09 Wim Taymans <wim.taymans@collabora.co.uk>
1526 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
1527 (gst_base_src_loop):
1528 The start segment for reverse playback goes from start to last_stop.
1530 2008-01-09 Wim Taymans <wim.taymans@collabora.co.uk>
1532 Patch by: Peter Kjellerstedt <pkj axis com>
1535 Cast the results from the timeval/spec_to_time macros to what the
1536 docs say it casts to, a GstClockTime. fixes #508175.
1538 2008-01-09 Wim Taymans <wim.taymans@collabora.co.uk>
1541 Update some comments.
1543 * tools/gst-inspect.c: (print_element_properties_info):
1544 Improve printing of flags.
1546 2008-01-08 Tim-Philipp Müller <tim at centricular dot net>
1548 * libs/gst/base/gstbasetransform.c:
1549 (gst_base_transform_transform_size):
1550 Print element name with g_warning() if there's a problem
1553 2008-01-07 David Schleef <ds@schleef.org>
1555 Patch by: Damien Lespiau <damien.lespiau@gmail.com>
1557 * libs/gst/controller/gstcontroller.h:
1558 * libs/gst/controller/gstcontrolsource.h:
1559 * libs/gst/controller/gstinterpolationcontrolsource.h:
1560 * libs/gst/controller/gstlfocontrolsource.h:
1561 * libs/gst/dataprotocol/dataprotocol.h:
1562 Fix empty prototypes. Fixes bug #507957.
1564 2008-01-07 David Schleef <ds@schleef.org>
1566 * docs/faq/dependencies.xml: Fix typo.
1568 2008-01-07 Wim Taymans <wim.taymans@collabora.co.uk>
1570 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_do_seek),
1571 (gst_base_src_loop):
1572 Don't update the last_stop position in do_seek, that's the position we
1574 Read backwards when we have a negative rate.
1576 * tests/check/elements/filesrc.c: (event_func), (wait_eos),
1577 (setup_filesrc), (cleanup_filesrc), (GST_START_TEST),
1579 Add check for reverse reading.
1581 2008-01-07 Tim-Philipp Müller <tim at centricular dot net>
1583 Patch by: Alexis Ballier <aballier at gentoo org>
1585 * tests/check/gst/gstabi.c:
1586 * tests/check/gst/struct_ppc64.h:
1587 * tests/check/libs/libsabi.c:
1588 * tests/check/libs/struct_ppc64.h:
1589 Decide which header to include based on the userland ABI target
1590 and not the kernel/cpu. Fix up structure sizes of ppc64 header
1591 for 64-bit userland (#503590). Might need something similar for
1594 2008-01-05 Tim-Philipp Müller <tim at centricular dot net>
1596 * gst/gstdebugutils.c: (_gst_debug_bin_to_dot_file):
1597 Log the reason why fopen fails in addition to the fact that it failed.
1599 2008-01-04 Sebastian Dröge <slomo@circular-chaos.org>
1601 * gst/parse/parse.l:
1602 Use "%option never-interactive" to prevent useless calls to isatty()
1603 on every input when parsing. Also use "%option noinput" to not define
1604 the static input/yyinput functions which we don't use anyway. This
1605 removes a compiler warning with gcc 4.3 and saves some bytes in the
1608 * gst/parse/lex._gst_parse_yy.pre.c:
1609 Regenerated for the above change.
1611 2008-01-04 Wim Taymans <wim.taymans@collabora.co.uk>
1613 * gst/gstpad.c: (fixate_value):
1614 Don't crash when trying to fixate and empty list.
1617 2008-01-03 Sebastian Dröge <slomo@circular-chaos.org>
1619 * docs/faq/gst-uninstalled:
1620 Clarify the comments to make the usage of this script and what it
1621 does easier to understand.
1623 2008-01-01 Thijs Vermeir <thijsvermeir@gmail.com>
1625 * tools/gst-plot-timeline.py:
1626 Add more options to gst-plot-timeline
1628 2007-12-31 Wim Taymans <wim.taymans@collabora.co.uk>
1630 * docs/design/part-synchronisation.txt:
1631 Some more info on how the stream_time in GstBaseSink is done.
1633 2007-12-30 Tim-Philipp Müller <tim at centricular dot net>
1635 * tests/check/generic/sinks.c: (gst_sinks_suite):
1636 Put back the tcase_set_timeout(), apparently it's needed after
1637 all; fix it up in a way that makes things work with valgrind too.
1639 2007-12-30 Thijs Vermeir <thijsvermeir@gmail.com>
1641 * gst/gstdebugutils.c:
1642 Add warning when failed to open file for writing.
1644 2007-12-28 Tim-Philipp Müller <tim at centricular dot net>
1646 Based on patch by: Laurent Glayal <spglegle yahoo fr>
1648 * gst/gstvalue.c: (gst_value_is_fixed):
1649 Optimisation: bail out of the loop as early as possible (#500143).
1651 2007-12-28 Tim-Philipp Müller <tim at centricular dot net>
1653 * gst/gstcaps.c: (gst_caps_to_string):
1654 * gst/gstinfo.c: (gst_debug_construct_term_color):
1655 * gst/gstparse.c: (gst_parse_launchv):
1656 * gst/gstutils.c: (gst_util_dump_mem):
1657 * gst/gstvalue.c: (gst_value_serialize_any_list),
1658 (gst_value_transform_any_list_string):
1659 Bunch of gratuitous nano-optimisations.
1661 2007-12-28 Tim-Philipp Müller <tim at centricular dot net>
1663 * tests/check/generic/sinks.c: (async_done_func),
1664 (async_done_eos_func):
1665 Fix leak in unit test (bus sync handler must unref the message
1666 if it returns GST_BUS_DROP). Don't fiddle with the default test
1667 timeout, this is smaller than the current preconfigured value
1668 via CK_DEFAULT_TIMEOUT, and also breaks things with valgrind
1669 because it overrides the value specified in CK_DEFAULT_TIMEOUT.
1671 2007-12-24 Wim Taymans <wim.taymans@collabora.co.uk>
1673 Based on Patch by: Laurent Glayal <spglegle at yahoo dot fr>
1676 Check for stdio_ext.h for the filesink changes.
1678 * plugins/elements/gstfilesink.c: (buffer_mode_get_type),
1679 (gst_file_sink_class_init), (gst_file_sink_init),
1680 (gst_file_sink_dispose), (gst_file_sink_set_property),
1681 (gst_file_sink_get_property), (gst_file_sink_open_file),
1682 (gst_file_sink_close_file):
1683 * plugins/elements/gstfilesink.h:
1684 Add two properties to control the buffering mode and size.
1685 API: GstFileSink::buffer-mode
1686 API: GstFileSink::buffer-size
1689 2007-12-24 Wim Taymans <wim.taymans@collabora.co.uk>
1691 * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked):
1692 Add some more docs to explain why a FIXME was wrongly added.
1694 2007-12-22 Sebastian Dröge <slomo@circular-chaos.org>
1697 Fix typo in the gst_object_{ref,unref} documentation.
1699 2007-12-21 Tim-Philipp Müller <tim at centricular dot net>
1701 * tests/check/libs/controller.c:
1702 * tests/check/libs/typefindhelper.c:
1703 * tests/check/pipelines/parse-launch.c:
1704 Don't use GST_PLUGIN_DEFINE_STATIC, it is not portable and is
1705 going to be deprecated (see #498924).
1707 2007-12-21 Tim-Philipp Müller <tim at centricular dot net>
1709 * gst/gsttypefind.c: (gst_type_find_register):
1710 Make gst_type_find_register work for static typefind functions,
1711 ie. allow passing plugin == NULL (prerequisite for #498924).
1713 * gst/gstelementfactory.c: (gst_element_register):
1714 Small docs addition.
1716 2007-12-21 Wim Taymans <wim.taymans@collabora.co.uk>
1718 * gst/gstpad.c: (gst_pad_dispose):
1719 Really unlink the peer pad instead of setting the peer pointer to NULL
1720 when we dispose the pad.
1721 This correctly calls the unlink functions and makes sure that the peer
1722 does not have a handle to invalid memory. See #504671.
1724 * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
1725 Add testsuite for above case.
1727 2007-12-20 Tim-Philipp Müller <tim at centricular dot net>
1729 Patch by: Peter Kjellerstedt <pkj axis com>
1731 * libs/gst/check/gstcheck.h:
1732 Fix detection of the check version we're compiling against (would
1733 otherwise break if check goes v0.10.0); correctly report the
1734 name of the failed test again in case of failure, instead of
1735 just 'tf' (fixes #504499).
1737 2007-12-19 Wim Taymans <wim.taymans@collabora.co.uk>
1739 * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event),
1740 (gst_base_src_get_range), (gst_base_src_pad_get_range),
1741 (gst_base_src_loop), (gst_base_src_set_flushing),
1742 (gst_base_src_change_state):
1743 Allow sending EOS to the source to make it send out an EOS event from
1744 the streaming thread.
1745 Update docs and deprecate the old NULL/READY shutdown method.
1747 * tests/check/libs/basesrc.c: (GST_START_TEST),
1748 (gst_basesrc_suite):
1749 Add unit test for controlled shutdown.
1751 2007-12-19 Wim Taymans <wim.taymans@collabora.co.uk>
1753 * docs/design/part-synchronisation.txt:
1756 * gst/gstsegment.c: (gst_segment_set_seek),
1757 (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
1758 (gst_segment_to_running_time):
1759 The seek format can be different from the segment format when the start
1760 and stop values are not to be updated, when we only do a rate change for
1763 * tests/check/gst/gstsegment.c: (GST_START_TEST),
1764 (gst_segment_suite):
1765 Add a testcase for the rate-only seeks, checking that the format is
1766 correctly ignored when start and stop are not updated.
1768 2007-12-18 Sebastian Dröge <slomo@circular-chaos.org>
1770 Patch by: Matthias Bolte <photon at mail dot upb dot de>
1772 * win32/vs8/grammar.vcproj:
1773 * win32/vs8/libgstcontroller.vcproj:
1774 * win32/vs8/libgstreamer.vcproj:
1775 Fix compilation with VS8 and include some missing files.
1777 2007-12-18 Tim-Philipp Müller <tim at centricular dot net>
1780 Small docs addition: mention that the strings returned by
1781 gst_tag_list_get_string*() are in UTF-8 encoding.
1783 2007-12-17 Tim-Philipp Müller <tim at centricular dot net>
1786 The check-exports stuff moved to common/win32.mak, so include that.
1788 2007-12-17 Wim Taymans <wim.taymans@collabora.co.uk>
1790 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
1791 (gst_base_src_perform_seek), (gst_base_src_get_range),
1792 (gst_base_src_set_playing), (gst_base_src_change_state):
1793 Make _wait_playing() not check any variables so that we can call this
1794 function from subclasses. Move the checks elsewhere similar to
1795 _wait_preroll() in basesink.
1797 Only signal the LIVE cond when we are going back to PLAYING.
1799 2007-12-16 Tim-Philipp Müller <tim at centricular dot net>
1801 * gst/gstregistrybinary.c: (gst_registry_binary_write_cache):
1802 Use g_remove() and g_rename(). Check result of g_rename(), and
1803 don't leak the open file descriptor if we error out when writing.
1805 * gst/gstregistryxml.c: (load_plugin), (gst_registry_xml_write_cache):
1806 Must check the return value of close() after writing out the new
1807 registry file. Sometimes write problems such as out-of-diskspace
1808 are only reported when the file is closed and not already during
1809 the write. This may have caused partial/broken registry files in
1810 some rare circumstances. Should fix #503675.
1812 2007-12-16 Edward Hervey <edward.hervey@collabora.co.uk>
1814 * docs/gst/.cvsignore:
1815 * docs/libs/.cvsignore:
1816 * docs/plugins/.cvsignore:
1817 Ignore files generated by new common/* modifications
1819 2007-12-15 Stefan Kost <ensonic@users.sf.net>
1821 * win32/common/libgstbase.def:
1822 Yes, you can also have a <TAB> if you want.
1824 2007-12-15 Stefan Kost <ensonic@users.sf.net>
1826 * win32/common/libgstbase.def:
1827 Add new basetransform API to win export file.
1829 2007-12-15 Stefan Kost <ensonic@users.sf.net>
1831 * tests/check/gst/gstbin.c:
1832 Adjust the test to the refcount change two days ago.
1834 2007-12-14 David Schleef <ds@schleef.org>
1836 * docs/faq/getting.xml: Fix typo.
1838 2007-12-14 Sebastian Dröge <slomo@circular-chaos.org>
1840 * docs/libs/gstreamer-libs-sections.txt:
1841 * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
1842 (gst_base_transform_prepare_output_buffer),
1843 (gst_base_transform_set_gap_aware):
1844 * libs/gst/base/gstbasetransform.h:
1845 API: Add gst_base_transform_set_gap_aware() to control whether
1846 the element correctly handles GST_BUFFER_FLAG_GAP or shouldn't
1847 get buffers with this flag at all. Fixes #503231.
1849 2007-12-13 Stefan Kost <ensonic@users.sf.net>
1851 * libs/gst/base/gstbasesink.c:
1852 * libs/gst/base/gstbasesrc.c:
1853 * libs/gst/base/gstbasetransform.c:
1854 Replace gst_pad_get_parent by GST_OBJECT_PARENT inside streaming
1855 thread. Correct log message in gstbasesrc.c.
1857 2007-12-13 Tim-Philipp Müller <tim at centricular dot net>
1859 * gst/gstutils.c: (element_find_unconnected_pad):
1860 Fix possible compiler warning (#503417).
1862 2007-12-13 Tim-Philipp Müller <tim at centricular dot net>
1864 * gst/gstobject.c: (gst_object_dispatch_properties_changed):
1865 Don't use GST_CAT_EVENT here for logging, it makes no sense.
1867 2007-12-13 Sebastian Dröge <slomo@circular-chaos.org>
1869 * tools/gst-inspect.c: (print_element_properties_info):
1870 Add support for GstFraction properties.
1872 2007-12-12 Tim-Philipp Müller <tim at centricular dot net>
1875 Add check-exports target and run it as part of 'make check'
1876 (see #499140 and #493983).
1878 * gst/gst_private.h:
1879 * gst/gstelementfactory.h:
1880 * gst/gstghostpad.c: (gst_proxy_pad_class_init):
1881 * gst/gstinfo.c: (_priv_gst_in_valgrind), (_gst_debug_init),
1882 (_priv_gst_in_valgrind):
1883 * gst/gstinfo.h: (GstLogFunction):
1884 * gst/gsttypefind.c: (type_find_debug), (GST_CAT_DEFAULT),
1885 (gst_type_find_register):
1886 * gst/gsttypefindfactory.c: (type_find_debug), (GST_CAT_DEFAULT),
1887 (gst_type_find_factory_get_type):
1888 * libs/gst/controller/gstcontroller.c: (GST_CAT_DEFAULT),
1889 (GST_CAT_DEFAULT), (parent_class), (priv_gst_controller_key),
1890 (gst_controller_new_valist), (gst_controller_new_list),
1891 (_gst_controller_dispose), (_gst_controller_class_init):
1892 * libs/gst/controller/gstcontrolsource.c: (GST_CAT_DEFAULT):
1893 * libs/gst/controller/gsthelper.c: (GST_CAT_DEFAULT),
1894 (GST_CAT_DEFAULT), (gst_object_uncontrol_properties),
1895 (gst_object_get_controller), (gst_object_set_controller),
1896 (gst_object_suggest_next_sync), (gst_object_sync_values),
1897 (gst_object_set_control_source), (gst_object_get_control_source),
1898 (gst_object_get_value_arrays), (gst_object_get_value_array),
1899 (gst_object_get_control_rate), (gst_object_set_control_rate):
1900 * libs/gst/controller/gstinterpolation.c: (GST_CAT_DEFAULT):
1901 * libs/gst/controller/lib.c: (GST_CAT_DEFAULT):
1902 Make some functions that should be static static; rename some
1903 private symbols so that they don't get exported; add some FIXME
1904 comments so we can move accidentally exported functions into
1905 our private section in 0.11.
1907 * win32/common/libgstreamer.def:
1908 Add gst_utils_get_timestamp().
1910 2007-12-12 Stefan Kost <ensonic@users.sf.net>
1914 Add more missing "Since:" tags to docs.
1916 2007-12-12 Stefan Kost <ensonic@users.sf.net>
1919 Add mising "Since:" to docs.
1921 2007-12-11 Stefan Kost <ensonic@users.sf.net>
1924 Include "glib-compat-private.h" to fix the build on system with
1925 glib < 2.10. Fixes #503131.
1927 2007-12-11 Stefan Kost <ensonic@users.sf.net>
1931 Actually its not PURE as it gets the time from elsewhere.
1933 2007-12-11 Stefan Kost <ensonic@users.sf.net>
1935 * docs/gst/gstreamer-sections.txt:
1937 * gst/gstdebugutils.c:
1941 * libs/gst/base/gstbasesink.c:
1942 * tools/gst-launch.c:
1943 Change GST_GET_TIMESTAMP into gst_util_get_timestamp and replace all
1944 uses as we don't have HAVE_POSIX_TIMERS in public headers.
1945 Thanks Tim for spotting.
1946 API: gst_util_get_timestamp
1948 2007-12-09 Sebastian Dröge <slomo@circular-chaos.org>
1951 Don't define GST_DISABLE_DEPRECATED for releases. Fixes #498181.
1953 2007-12-08 Tim-Philipp Müller <tim at centricular dot net>
1955 * gst/gststructure.c: (gst_structure_validate_name),
1956 (gst_structure_new_valist), (gst_structure_parse_value),
1957 (gst_structure_from_string):
1958 Don't crash in _from_string() if the structure name is not valid
1959 (fixes #501560). Allow structure names to start with a number
1960 again (this apparently broke the ubuntu codec installer).
1962 * tests/check/gst/gststructure.c: (GST_START_TEST), (GST_START_TEST),
1964 Add unit test for the crash; update unit tests for new behaviour.
1966 2007-12-03 Wim Taymans <wim.taymans@gmail.com>
1969 Clarify gst_element_get_compatible_pad() documentation.
1972 2007-12-02 Sebastian Dröge <slomo@circular-chaos.org>
1974 * tests/check/Makefile.am:
1975 Don't forget to dist {gst,libs}/struct_hppa.h.
1977 2007-11-28 Stefan Kost <ensonic@users.sf.net>
1979 * libs/gst/base/gstbasesink.c:
1980 Use new API to get elapsed time.
1982 2007-11-28 Stefan Kost <ensonic@users.sf.net>
1984 * gst/gstdebugutils.c:
1986 Fix wrong order of args in GST_CLOCK_DIFF() usage.
1988 * tools/gst-launch.c:
1989 Use new API to get elapsed time.
1991 2007-11-28 Stefan Kost <ensonic@users.sf.net>
1993 * docs/gst/gstreamer-sections.txt:
1995 * gst/gstdebugutils.c:
1997 Rename new API + ChangeLog surgery to remove old name from last entry..
1999 2007-11-28 Stefan Kost <ensonic@users.sf.net>
2001 * docs/gst/gstreamer-sections.txt:
2003 * gst/gstdebugutils.c:
2005 Now hide the different clock stuff behind a macro.
2007 2007-11-28 Stefan Kost <ensonic@users.sf.net>
2010 * gst/gstdebugutils.c:
2012 Apply the posix-timer check from #361155. Conditionally use the posix
2013 timer for logging. This gives better timestamp precission, less
2014 overhead and no ntp jitter.
2016 2007-11-28 Sebastian Dröge <slomo@circular-chaos.org>
2018 * gst/gstminiobject.c: (gst_mini_object_get_type),
2019 (gst_mini_object_class_init), (gst_mini_object_copy_default),
2020 (gst_mini_object_finalize), (gst_mini_object_copy),
2021 (gst_mini_object_is_writable), (gst_mini_object_make_writable),
2022 (gst_mini_object_replace), (param_mini_object_validate),
2023 (gst_param_spec_mini_object_get_type):
2024 Some cleanup and checking against invalid function parameters.
2026 2007-11-28 Wim Taymans <wim.taymans@gmail.com>
2028 * docs/gst/gstreamer-sections.txt:
2030 * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
2031 (gst_systemclock_suite):
2032 Start merging in the easy bits of #361155, the monotonic clock patch.
2033 This one adds a few handy macros with docs and a testsuite.
2035 2007-11-27 Wim Taymans <wim.taymans@gmail.com>
2037 * plugins/elements/gstfilesink.c: (gst_file_sink_event):
2038 Be a bit smarter when seeking, like, don't try to do a seek when it's
2039 not needed. This avoids errors when the file is not seekable.
2042 2007-11-26 Stefan Kost <ensonic@users.sf.net>
2044 * docs/gst/gstreamer-docs.sgml:
2045 * docs/gst/gstreamer-sections.txt:
2046 * docs/gst/gstreamer.types.in:
2051 * plugins/elements/gstqueue.c:
2052 Due to popular request remove preset interface again. :-(.
2054 2007-11-22 Stefan Kost <ensonic@users.sf.net>
2056 * tools/gst-inspect.c:
2057 Print 'default value' for enums and flags too.
2059 2007-11-22 Stefan Kost <ensonic@users.sf.net>
2061 * docs/random/ensonic/profiling.txt:
2065 Fix typo and give better log output.
2067 * gst/gstdebugutils.c:
2068 * gst/gstdebugutils.h:
2069 More ideas, make graphs a bit smaller and fix param name in macro.
2071 2007-11-22 Stefan Kost <ensonic@users.sf.net>
2074 Try harder to use the return value from fgets().
2076 2007-11-21 Stefan Kost <ensonic@users.sf.net>
2079 For theses two fgets we handle the error below.
2081 2007-11-21 Wim Taymans <wim.taymans@gmail.com>
2083 * libs/gst/base/gstbasesink.c: (gst_base_sink_send_event):
2084 Only send upstream events upstream. Fixes #498746.
2086 2007-11-21 Wim Taymans <wim.taymans@gmail.com>
2088 Patch by: Laurent Glayal <spglegle at yahoo dot fr>
2090 * plugins/elements/gstidentity.c: (gst_identity_class_init),
2091 (gst_identity_init), (gst_identity_transform_ip),
2092 (gst_identity_set_property), (gst_identity_get_property):
2093 * plugins/elements/gstidentity.h:
2094 Add property to disable handoff signal emission. Fixes #498694.
2095 API: GstIdentity::signal-handoffs
2097 2007-11-21 Julien Moutte <julien@fluendo.com>
2099 * docs/faq/gst-uninstalled: Yet another missing library for the
2100 uninstalled script (fft)
2102 2007-11-21 Jan Schmidt <jan.schmidt@sun.com>
2104 * docs/faq/developing.xml:
2105 Add a question about how to submit new translations.
2107 * docs/random/release:
2108 Update the contact email address for the Translation Project
2110 * plugins/elements/gstfdsrc.c:
2111 The parent_class for fdsrc is pushsrc, not GstElement.
2113 2007-11-20 Stefan Kost <ensonic@users.sf.net>
2116 Plug a leak and fix saving.
2118 2007-11-20 Sebastian Dröge <slomo@circular-chaos.org>
2120 * docs/gst/gstreamer-sections.txt:
2121 Add new gst_preset__get_property_names() function to the docs
2124 2007-11-20 Stefan Kost <ensonic@users.sf.net>
2128 Change _get_preset_names API to return a strv with copies. Add
2129 _get_property_names to allow implementations to filter and provide
2130 good default implementation.
2132 2007-11-20 Julien MOUTTE <julien@moutte.net>
2134 * docs/faq/gst-uninstalled: Add another library to the uninstalled
2137 2007-11-19 Stefan Kost <ensonic@users.sf.net>
2140 More cleanups, docs, and TODOs from comments that now slowly come in.
2142 2007-11-19 Julien MOUTTE <julien@moutte.net>
2144 * docs/faq/gst-uninstalled: Add new base libraries in the LD
2147 2007-11-19 Stefan Kost <ensonic@users.sf.net>
2150 Fix bogus warning and make the property type specific code more
2153 2007-11-19 Julien MOUTTE <julien@moutte.net>
2155 * gst/gstpreset.c: (gst_preset_default_create_preset): Make
2158 2007-11-19 Wim Taymans <wim.taymans@gmail.com>
2160 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
2161 (gst_bin_add_func), (gst_bin_remove_func),
2162 (gst_bin_change_state_func), (gst_bin_continue_func):
2163 Change email, cleanups add some more debug and comments.
2164 Also set bus and clock on new elements when the pipeline was in error.
2166 2007-11-18 Stefan Kost <ensonic@users.sf.net>
2169 * gst/gstdebugutils.c:
2170 Fix build with --disable-gst-debug. Fixes #497859.
2171 Spotted by Sameer Naik.
2173 2007-11-17 Stefan Kost <ensonic@users.sf.net>
2176 Little documentation improvment.
2179 More TODO cleanups. Remove c++ comments.
2181 * libs/gst/controller/gstcontroller.c:
2182 Add TODO and use quark from static string.
2184 * tests/check/gst/gstmessage.c:
2185 * tests/check/gst/gststructure.c:
2186 Use quark from static string.
2188 2007-11-17 Stefan Kost <ensonic@users.sf.net>
2191 Add some comments and TODOs.
2194 Add padding for future changes.
2196 * plugins/elements/gstqueue.c:
2197 Implement the iface.
2199 2007-11-17 Stefan Kost <ensonic@users.sf.net>
2201 * docs/gst/gstreamer-docs.sgml:
2202 * docs/gst/gstreamer-sections.txt:
2203 * docs/gst/gstreamer.types.in:
2208 Add the preset interface (Fixes #396779). Do some doc cleanups along.
2210 2007-11-16 Jan Schmidt <jan.schmidt@sun.com>
2216 === release 0.10.15 ===
2218 2007-11-15 Jan Schmidt <jan.schmidt@sun.com>
2221 releasing 0.10.15, "October"
2223 2007-11-14 Jan Schmidt <jan.schmidt@sun.com>
2225 * win32/vs6/libgstreamer.dsp:
2226 Convert line endings back to DOS.
2228 2007-11-13 Stefan Kost <ensonic@users.sf.net>
2230 * docs/design/draft-tagreading.txt:
2231 * docs/random/ensonic/profiling.txt:
2232 Update fast tagreading draft and performance profiling ideas.
2234 2007-11-09 Wim Taymans <wim.taymans@gmail.com>
2236 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_last_buffer):
2237 Don't hold the object lock when unreffing a buffer because it could
2238 cause a deadlock when the finalize function wants to grab the object
2239 lock too. Fixes #495133.
2241 2007-11-09 Wim Taymans <wim.taymans@gmail.com>
2243 * gst/gstsegment.c: (gst_segment_set_newsegment_full),
2244 (gst_segment_to_stream_time), (gst_segment_to_running_time):
2245 Also accumulate time correctly when doing reverse playback. Fixes
2247 When converting to running and stream time, use default values for
2248 start/stop/time/accum when comparing different formats. Fixes #494245.
2250 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
2251 Do running/stream time in TIME format.
2253 * tests/check/gst/gstsegment.c: (GST_START_TEST),
2254 (gst_segment_suite):
2255 2 new unit tests for segment accumulation.
2257 2007-11-07 Tim-Philipp Müller <tim at centricular dot net>
2259 * gst/gst.c: (init_pre):
2260 * gst/gstdebugutils.c: (priv_gst_dump_dot_dir), (debug_dump_element),
2261 (_gst_debug_bin_to_dot_file):
2262 Move getenv() back into gst_init, so everyone can live happily
2263 ever after. Make sure the symbol isn't exported though.
2265 2007-11-06 Tim-Philipp Müller <tim at centricular dot net>
2267 Patch by: Sebastien Moutte <sebastien moutte net>
2269 * win32/common/gstenumtypes.c:
2270 * win32/common/gstenumtypes.h:
2273 * win32/vs6/libgstreamer.dsp:
2274 Update vs6 project files (#494343).
2276 2007-11-06 Wim Taymans <wim.taymans@gmail.com>
2278 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query),
2279 (gst_base_src_perform_seek), (gst_base_src_default_event),
2280 (gst_base_src_set_flushing), (gst_base_src_activate_push),
2281 (gst_base_src_activate_pull):
2282 Unify flushing code, remove some old unlock code that is no longer used.
2283 Take the streaming lock when seeking to avoid races. Fixes #492729.
2284 Added some more comments.
2286 2007-11-06 Tim-Philipp Müller <tim at centricular dot net>
2288 * gst/gst.c: (_gst_disable_segtrap):
2289 Make _gst_disable_segtrap static, it's only used in gstplugin.c and
2290 we can use gst_segtrap_is_enabled() there now that we have that API.
2291 Move _gst_debug_dump_dot_dir into gstdebugutils.c, there's no reason
2292 to do the getenv here (and export the variable).
2294 * gst/gstdebugutils.c: (debug_dump_element),
2295 (_gst_debug_bin_to_dot_file), (_gst_debug_bin_to_dot_file_with_ts):
2296 Don't use VLAs which is a C99ism and throws off MSVC (#493983).
2298 * gst/gstinfo.c: (_priv_gst_info_start_time), (_gst_debug_init),
2299 (gst_debug_log_default):
2300 Rename _gst_info_start_time to priv_gst_info_start_time so it
2301 doesn't get exported (was never in any header).
2303 * gst/gstplugin.c: (_gst_plugin_fault_handler_setup),
2304 (gst_plugin_loading_mutex):
2305 Make static mutex gst_plugin_loading_mutex really static (was never
2306 in any header), and use gst_segtrap_is_enabled() instead of
2307 _gst_disable_segtrap.
2309 * gst/gsttrace.c: (_gst_trace_default):
2310 Make local _gst_trace_default static (was never in any header).
2312 2007-11-06 Tim-Philipp Müller <tim at centricular dot net>
2314 Patch by: Ole André Vadla Ravnås <ole.andre.ravnas@tandberg.com>
2316 * win32/common/libgstbase.def:
2317 * win32/common/libgstcontroller.def:
2318 * win32/common/libgstdataprotocol.def:
2319 * win32/common/libgstnet.def:
2320 * win32/common/libgstreamer.def:
2321 Add more missing symbols, remove some duplicates, and sort
2322 as the 'sort' command sorts it (partially fixes #493983).
2324 2007-11-06 Wim Taymans <wim.taymans@gmail.com>
2326 * gst/gstelement.c: (gst_element_set_state_func):
2327 Only change the state cookie if a different state was set on the
2328 element. See #492729.
2330 2007-11-06 Tim-Philipp Müller <tim at centricular dot net>
2333 Remove unused and uninitialised type variables that were still
2334 exported for some reason (they were never in any header files
2337 2007-11-06 Wim Taymans <wim.taymans@gmail.com>
2339 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
2340 (gst_base_sink_do_sync), (gst_base_sink_preroll_object),
2341 (gst_base_sink_event), (gst_base_sink_get_position_last),
2342 (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
2343 (gst_base_sink_change_state):
2344 Don't try to report a 0 position when we don't know, return -1 and FALSE
2345 instead. This mostly happens when we are prerolling.
2346 Make sure we can report the right position before we post the ASYNC_DONE
2347 message so that a message handler can query position without races.
2349 * tests/check/generic/sinks.c: (send_eos), (GST_START_TEST),
2350 (async_done_handoff), (async_done_func), (send_buffer),
2351 (async_done_eos_func), (gst_sinks_suite):
2352 Add two tests for the above.
2354 2007-11-06 Wim Taymans <wim.taymans@gmail.com>
2357 Update with new email address.
2359 * docs/design/part-TODO.txt:
2360 Add some more info about future pad-block and negotiation changes.
2362 * docs/design/part-buffering.txt:
2363 Add some ideas about buffering reporting.
2365 2007-11-06 Jan Schmidt <jan.schmidt@sun.com>
2367 * tests/check/gst/gstobject.c:
2368 Disable silly racy test that always fails on this combination of CPU
2371 2007-11-03 Tim-Philipp Müller <tim at centricular dot net>
2373 Patch by: Murray Cumming <murrayc@murrayc.com>
2376 Corrected the registration of the parent-set and parent-unset
2377 signals: The parameter is a GstObject, not a GObject (#493134).
2379 2007-11-02 Tim-Philipp Müller <tim at centricular dot net>
2381 * gst/gst_private.h:
2390 Move declaration of private _gst_foo_initialize() functions into
2391 our private header file where they should have been all along.
2393 2007-11-02 Tim-Philipp Müller <tim at centricular dot net>
2395 * docs/plugins/gstreamer-plugins-sections.txt:
2396 * gst/gstdebugutils.h:
2398 * plugins/elements/gstqueue.c:
2399 gtk-doc fixes; trailing-comma-in-enum fix.
2401 2007-11-02 Tim-Philipp Müller <tim at centricular dot net>
2403 * gst/gst.c: (gst_deinit):
2404 Clean up on deinit (not the external ones though, doesn't seem to be
2405 needed for some reason).
2407 2007-11-01 Tim-Philipp Müller <tim at centricular dot net>
2409 * gst/gstinfo.h: (GST_DEBUG_CATEGORY_EXTERN):
2410 Remove __declspec(dllimport) for MSVC that was copied over into core
2411 from a plugin, obviously without ever having been tested (note the
2412 single underscore in _declspec in the initial commit), and that doesn't
2413 really make sense. See #492077.
2415 2007-11-01 Tim-Philipp Müller <tim at centricular dot net>
2417 * gst/gst.c: (init_post):
2418 * gst/gstevent.c: (_gst_event_initialize):
2419 * gst/gstquery.c: (_gst_query_initialize):
2420 * libs/gst/dataprotocol/dataprotocol.c (gst_dp_init):
2421 g_type_class_ref() other types as well, see #349410 and #64764.
2423 * gst/gstbuffer.c: (_gst_buffer_initialize):
2424 * gst/gstmessage.c: (_gst_message_initialize):
2425 Simplify existing g_type_class_ref().
2427 2007-11-01 Tim-Philipp Müller <tim at centricular dot net>
2429 * gst/gstformat.c: (_gst_format_initialize):
2430 g_type_class_ref() our GstFormat type to make sure we avoid the
2431 thread-unsafe bits of the GObject/GType system, ie. bug #349410 and
2432 bug #64764. Should fix intermittent tee unit test failures (#474823).
2434 2007-11-01 Tim-Philipp Müller <tim at centricular dot net>
2436 * tests/check/elements/tee.c: (test_num_buffers):
2437 Simplify, simplify, simplify - or not. Rewrite unit test
2438 not to use gst_parse_launch(); allow N sub-streams. Increasing
2439 the number of sub-streams seems to reproduce #474823 more easily.
2441 2007-10-31 Tim-Philipp Müller <tim at centricular dot net>
2443 Patch by: Ole André Vadla Ravnås <ole.andre.ravnas@tandberg.com>
2446 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_new):
2447 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
2448 * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_new):
2449 Fix a couple of missing includes for MSVC2005 and a C99 issue. Also,
2450 starting with 2.14.0, GLib won't provide a pipe() macro any longer,
2451 so use _pipe() directly (#492077).
2453 * win32/common/dirent.c: (_treaddir):
2454 Add a couple of casts to make it build without warnings with MSVC.
2456 * win32/common/libgstreamer.def:
2457 Add some more symbols that need to be exported.
2459 2007-10-31 Tim-Philipp Müller <tim at centricular dot net>
2461 * tests/examples/metadata/read-metadata.c: (message_loop):
2462 Use _KEEP as merge mode rather than _KEEP_ALL, so tags
2463 arriving in a second or third tag message are added to
2464 the tag list as well.
2466 2007-10-31 Stefan Kost <ensonic@users.sf.net>
2468 * libs/gst/base/gstbasesrc.c:
2469 Its "Since:" and not "@Since:". And remove an superflous cast.
2471 2007-10-30 Wim Taymans <wim.taymans@gmail.com>
2473 * docs/libs/gstreamer-libs-sections.txt:
2474 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
2475 (gst_base_sink_get_last_buffer), (gst_base_sink_set_last_buffer),
2476 (gst_base_sink_get_property), (gst_base_sink_render_object),
2477 (gst_base_sink_preroll_object),
2478 (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
2479 (gst_base_sink_change_state):
2480 * libs/gst/base/gstbasesink.h:
2481 Add a new last-buffer property that contains the last buffer used in
2482 basesink for preroll or rendering. useful for making snapshots.
2483 API: gst_base_sink_get_last_buffer()
2484 API: GstBaseSink::last-buffer
2486 2007-10-29 Stefan Kost <ensonic@users.sf.net>
2488 * docs/gst/running.xml:
2490 * gst/gstdebugutils.c:
2491 * gst/gstdebugutils.h:
2492 * tools/gst-launch.c:
2493 Improve bin graph dumping, by using the envvar to specify a path.
2494 Rename the envvar to GST_DEBUG_DUMP_DOT_DIR.
2496 2007-10-29 Tim-Philipp Müller <tim at centricular dot net>
2498 * plugins/elements/gsttypefindelement.c:
2499 (gst_type_find_element_handle_event),
2500 (gst_type_find_element_activate):
2501 Post special error message if we can't determine the type of a stream
2504 2007-10-29 Stefan Kost <ensonic@users.sf.net>
2506 * docs/gst/running.xml:
2507 * gst/gstdebugutils.c:
2508 Document new env-var. Add one log-line after dumpng a graph.
2510 2007-10-26 Tim-Philipp Müller <tim at centricular dot net>
2513 Ugly hack to put the (recently removed and non-portable, apparently)
2514 -Wl,--export-dynamic back into libgstcheck's LDFLAGS when we're using
2515 GNU ld, because without that 'make check' fails miserably on my debian
2516 stable box. Someone with more knowledge of linker intricacies and
2517 portability issues than me fix this properly please.
2519 2007-10-25 Wim Taymans <wim.taymans@gmail.com>
2521 * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
2522 Reset last seen position after flushing so that we don't report the old
2525 2007-10-25 Jan Schmidt <Jan.Schmidt@sun.com>
2527 * gst/gstelementfactory.c: (gst_element_register):
2529 Patch from Alessandro Decina adding get_type_full and
2530 get_protocols_full private vfuncs to the URIHandler interface
2531 to allow bindings to support creating URI handlers.
2532 Partially fixes: #339279
2533 API: GstURIHandlerInterface::get_type_full
2534 API: GstURIHandlerInterface::get_protocols_full
2536 2007-10-25 Jan Schmidt <Jan.Schmidt@sun.com>
2538 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
2539 (gst_multi_queue_request_new_pad), (gst_single_queue_flush),
2540 (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push):
2541 Make it so that pads are considered linked until a buffer is pushed
2542 and discovered otherwise. This avoids problems with decodebin2 hanging
2543 after a seek in the filesrc ! decodebin2 name=d ! fakesink d. ! fakesink
2546 Make sure we lock the multiqueue when updating the max-size properties.
2548 Fix a crash on Solaris in a debug statement in get_request_pad that
2549 passes a NULL string to GST_DEBUG.
2551 * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
2552 (run_output_order_test):
2553 Fix the test to allow the first buffer on not-linked pads to come out
2554 of sequence while multiqueue discovers that they are not-linked.
2556 2007-10-25 Jan Schmidt <Jan.Schmidt@sun.com>
2559 * libs/gst/check/Makefile.am:
2560 Use a custom export symbol regex for libgstcheck, as it needs
2561 to export symbols that don't match the standard GStreamer gst_*
2562 pattern, and --export-dynamic is not portable (only works on
2565 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
2566 (gst_check_setup_sink_pad):
2567 Make sure to pass a message parameter to the fail_* macros.
2569 * tests/check/gst/gstinfo.c: (GST_START_TEST):
2570 Fix some compiler warnings.
2572 2007-10-25 Tim-Philipp Müller <tim at centricular dot net>
2574 * tests/check/gst/gststructure.c: (test_to_string):
2575 Disable test that checks that white spaces are not allowed
2576 in structure names or field names, since we need to
2577 support that for now for backwards compatibility reasons.
2579 2007-10-24 Tim-Philipp Müller <tim at centricular dot net>
2581 * docs/gst/gstreamer-sections.txt:
2584 API: add GST_TAG_ARTIST_SORTNAME
2585 API: add GST_TAG_ALBUM_SORTNAME
2586 API: add GST_TAG_TITLE_SORTNAME
2587 Add tag variants for sorting (#414539).
2589 2007-10-24 Tim-Philipp Müller <tim at centricular dot net>
2591 * gst/gststructure.c:
2592 Also allow white space for names so we don't break
2593 backwards compatibility.
2595 2007-10-22 Wim Taymans <wim.taymans@gmail.com>
2597 * docs/design/part-TODO.txt:
2598 * docs/design/part-segments.txt:
2599 * docs/design/part-streams.txt:
2602 2007-10-22 Edgard Lima <edgard.lima@indt.org.br>
2604 * docs/gst/gstreamer-sections.txt:
2605 Fixed documentation from my previous commit (added new API add
2606 gst_value_set_structure(), add gst_value_get_structure() and
2607 GST_VALUE_HOLDS_STRUCTURE).
2609 2007-10-22 Stefan Kost <ensonic@users.sf.net>
2611 * gst/gstdebugutils.c:
2612 Reflow code to fix uninitialized variable warning.
2614 2007-10-22 Edgard Lima <edgard.lima@indt.org.br>
2616 * gst/gstcaps.c: (gst_caps_to_string),
2617 (gst_caps_from_string_inplace):
2618 * gst/gststructure.c: (gst_structure_get_abbrs),
2619 (gst_structure_to_string), (gst_structure_from_string):
2620 * gst/gstvalue.c: (gst_value_set_structure),
2621 (gst_value_get_structure), (gst_value_serialize_structure),
2622 (gst_value_deserialize_structure), (_gst_value_initialize):
2624 * tests/check/gst/gststructure.c: (GST_START_TEST),
2625 (gst_structure_suite):
2626 * tests/check/gst/gstvalue.c: (GST_START_TEST):
2627 Added GstStructure to gst_value_table and its related functions.
2628 Changed gst_structure_to_string to print ';' in the end.
2629 Changed gst_caps_to_string to not print ';' beteween its
2630 fields (structures) anymore and remove the lastes ';' from latest
2631 structure. Now it is possible to have nested structures.
2632 In addition, backward compatibilty is assured by accepting '\0' as
2633 end delimiter. Fixes: #487969.
2634 API: add gst_value_set_structure()
2635 API: add gst_value_get_structure()
2636 API: add GST_VALUE_HOLDS_STRUCTURE
2638 2007-10-19 Tim-Philipp Müller <tim at centricular dot net>
2641 When no GSource callback has been set up, tell developer
2642 to use a function that actually exists.
2644 2007-10-17 Stefan Kost <ensonic@users.sf.net>
2646 * docs/gst/gstreamer-sections.txt:
2650 * gst/gstdebugutils.c:
2651 * gst/gstdebugutils.h:
2654 * tools/gst-launch.c:
2655 Allow dumping pipelines as dot graphs. Fixes #456573.
2657 2007-10-16 Tim-Philipp Müller <tim at centricular dot net>
2659 * gst/gststructure.c:
2660 Allow '+' as well, it can be part of media or mime types
2661 such as image/svg+xml.
2663 2007-10-16 Tim-Philipp Müller <tim at centricular dot net>
2665 * docs/gst/gstreamer-sections.txt:
2668 API: add gst_bus_pop_filtered
2669 API: add gst_bus_timed_pop_filtered
2670 Two new functions for waiting for specific message types on the
2671 bus for a specified amount of time without iterating any main
2672 loops or main contexts.
2674 * tests/check/gst/gstbus.c:
2675 Some tests for the new functions.
2677 2007-10-16 Tim-Philipp Müller <tim at centricular dot net>
2679 * docs/libs/gstreamer-libs-sections.txt:
2680 Make gtk-doc ignore stuff it should ignore.
2682 2007-10-16 Tim-Philipp Müller <tim at centricular dot net>
2684 * libs/gst/check/gstcheck.c:
2685 * libs/gst/check/gstcheck.h:
2686 Allow runtime selection of unit tests to run via the GST_CHECKS
2687 environment variable (test case function names, comma-separated).
2689 2007-10-16 Stefan Kost <ensonic@users.sf.net>
2691 * gst/gststructure.c:
2692 * tests/check/gst/gststructure.c:
2693 Revert serialisation change and constrain structure-names after
2694 consensus on irc. Update api documentation to reflect the change.
2696 2007-10-16 Stefan Kost <ensonic@users.sf.net>
2698 * gst/gststructure.c:
2699 Improve serialization and fix tests.
2701 * tests/check/gst/gststructure.c:
2702 Add another test that covers why I actually did the previous structure
2705 2007-10-15 Wim Taymans <wim.taymans@gmail.com>
2707 * tools/gst-inspect.c: (print_element_info):
2708 Don't crash when inspecting an element.
2710 2007-10-15 Tim-Philipp Müller <tim at centricular dot net>
2712 * tests/check/gst/gststructure.c:
2713 Add unit test for escaping of structure name when serialising
2714 and deserialising to/from strings.
2716 2007-10-15 Wim Taymans <wim.taymans@gmail.com>
2718 * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
2719 (gst_single_queue_new):
2720 * plugins/elements/gstqueue.c: (gst_queue_init),
2721 (gst_queue_push_one):
2722 Fix queue negotiation. If acceptcaps unconditionally returns TRUE,
2723 upstream is tricked into thinking it can suggest a format downstream
2724 while downstream does not support that format. The real problem is that
2725 core calls acceptcaps when pushing a buffer with new caps, for which we
2726 do a little workaround by setting the caps on the srcpad ourselves
2727 before pushing the buffer (until this is figured out). Fixes #486758.
2729 2007-10-15 Stefan Kost <ensonic@users.sf.net>
2731 * gst/gststructure.c:
2733 Add some more comments and debug output. Quote structure name to fix
2734 deserialisation of some strings.
2736 2007-10-15 Stefan Kost <ensonic@users.sf.net>
2739 Define GST_BUFFER_FLAG_GAP more strictly to enable optimizations based
2740 on it. Fix docs for GST_BUFFER_MALLOCDATA and GstBuffer.malloc_data.
2742 2007-10-15 Stefan Kost <ensonic@users.sf.net>
2744 * tools/gst-inspect.c:
2745 Save approx. 400 1 byte allocs when printing. Use API to acces element
2751 * tools/gst-xmlinspect.c:
2752 Use API to acces element details.
2754 2007-10-15 Stefan Kost <ensonic@users.sf.net>
2757 Fix some spelling errors.
2759 2007-10-14 Wim Taymans <wim.taymans@gmail.com>
2761 * gst/gstbin.c: (bin_handle_async_done):
2762 Correctly set the next state if all of our async children commited their
2763 state. This makes sure we can actually cancel the state change in
2764 progress. Fixes a regression in Rhythmbox when seeking.
2766 2007-10-13 Tim-Philipp Müller <tim at centricular dot net>
2769 Don't shadow local variable.
2772 Don't shadow global function name.
2774 2007-10-13 Tim-Philipp Müller <tim at centricular dot net>
2776 * gst/gstelementfactory.c:
2777 * gst/gstpluginfeature.c:
2778 * gst/gstpluginfeature.h:
2779 * gst/gstregistrybinary.c:
2780 * gst/gstregistryxml.c:
2781 * gst/gsttypefind.c:
2782 Use already-interned string for the private GstPluginFeature
2785 2007-10-10 Tim-Philipp Müller <tim at centricular dot net>
2787 * docs/libs/gstreamer-libs-sections.txt:
2788 Add new API to docs; fixes the build.
2790 2007-10-10 Wim Taymans <wim.taymans@gmail.com>
2792 Patch inspired by: Benoit Fouet <benoit dot fouet at purplelabs dot com>
2794 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_eos),
2795 (gst_base_sink_event):
2796 * libs/gst/base/gstbasesink.h:
2797 Add function to wait for EOS, subclasses can use this to correctly wait
2798 for devices to drain before performing the EOS logic. Fixes #485343.
2799 API: gst_base_sink_wait_eos()
2801 2007-10-10 Tim-Philipp Müller <tim at centricular dot net>
2804 Cast description string constants in GST_PLUGIN_DEFINE macros
2805 to a (gchar*) to make C++ code using these macros compile
2806 without warning with g++-4.2 (see #462737). Even if slightly
2807 ugly, this seems preferable to putting the description strings
2808 into the GLib quark table or making the structure member a
2809 const gchar * and doing casts in core code that allocs and
2810 frees these strings, or requiring a cast in the C++ code.
2812 2007-10-09 Tim-Philipp Müller <tim at centricular dot net>
2815 Use __FUNCTION__ instead of __PRETTY_FUNCTION__, it's silly
2816 to print the entire class/function signature into the log
2817 file for C++ code. This only affects C++ code, for C code
2818 everything remains the same.
2820 2007-10-09 Wim Taymans <wim.taymans@gmail.com>
2822 * gst/gstbin.c: (remove_from_queue):
2823 Work around a problem with pipelines containing (semi)loops until a
2824 proper, more complicated solution is ready. See #475455.
2826 2007-10-09 Tim-Philipp Müller <tim at centricular dot net>
2830 * gst/gstregistrybinary.c:
2831 * gst/gstregistryxml.c:
2832 Put more strings into the GLib quark table. No need to keep
2833 a hundred-something copies of identical version strings,
2834 license strings, package name strings and package origin
2837 2007-10-09 Tim-Philipp Müller <tim at centricular dot net>
2839 * docs/manual/advanced-dataaccess.xml:
2840 Don't imply that it's okay to unconditionally change
2841 buffer data or buffer metadata in a pad probe callback,
2842 and a bunch of other comments. Fixes #430031.
2844 2007-10-08 Tim-Philipp Müller <tim at centricular dot net>
2846 * win32/common/gstenumtypes.c:
2847 * win32/common/gstenumtypes.h:
2848 * win32/common/gstversion.h:
2849 Update generated files.
2851 2007-10-08 Tim-Philipp Müller <tim at centricular dot net>
2853 * docs/manual/advanced-autoplugging.xml:
2854 Prefix section with broken code with a warning (see #342432).
2856 2007-10-08 Tim-Philipp Müller <tim at centricular dot net>
2858 * docs/manual/appendix-integration.xml:
2859 * docs/manual/basics-init.xml:
2860 Call g_thread_init() before g_option_context_new() to
2861 avoid warnings. Spotted by Ritesh Khadgaray. Fixes #484225.
2863 2007-10-08 Wim Taymans <wim.taymans@gmail.com>
2865 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
2866 (gst_base_sink_queue_object_unlocked),
2867 (gst_base_sink_queue_object), (gst_base_sink_event),
2868 (gst_base_sink_needs_preroll), (gst_base_sink_chain_unlocked):
2869 When we received EOS and are waiting for when to post the EOS message,
2870 our state is prerolled and we should not return ASYNC.
2871 Reorganize some code paths to implement this behavior.
2873 * tests/check/generic/sinks.c: (send_eos), (GST_START_TEST),
2875 Add unit test to verify above EOS fix.
2877 2007-10-08 Wim Taymans <wim.taymans@gmail.com>
2879 * plugins/elements/gsttypefindelement.c:
2880 (gst_type_find_element_have_type), (gst_type_find_element_init),
2881 (gst_type_find_element_setcaps), (gst_type_find_element_chain):
2882 Move detecting the input caps of the sinkpad to the setcaps function.
2883 This allows us to update the output caps when we receive new input caps
2884 instead of always using the first detected caps.
2886 2007-10-08 Wim Taymans <wim.taymans@gmail.com>
2888 * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
2889 (gst_base_sink_get_position):
2890 Don't try to preroll non-async elements after a flush.
2891 Subtract latency form clock times when reporting position.
2893 2007-10-05 Wim Taymans <wim.taymans@gmail.com>
2895 * gst/gstpad.c: (gst_pad_pause_task):
2897 Small comment and documentation update.
2899 2007-10-05 Wim Taymans <wim.taymans@gmail.com>
2901 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
2902 (gst_base_src_set_live), (gst_base_src_is_live),
2903 (gst_base_src_query_latency), (gst_base_src_perform_seek),
2904 (gst_base_src_default_event), (gst_base_src_wait),
2905 (gst_base_src_do_sync), (gst_base_src_get_range),
2906 (gst_base_src_pad_get_range), (gst_base_src_loop),
2907 (gst_base_src_unlock), (gst_base_src_unlock_stop),
2908 (gst_base_src_set_flushing), (gst_base_src_set_playing),
2909 (gst_base_src_activate_push), (gst_base_src_activate_pull),
2910 (gst_base_src_change_state):
2911 Rework the locking of basesrc in a similar fashion to basesink. We
2912 basically have one lock (LIVE_LOCK) protecting the dataflow. This allows
2913 us to handle live sources and semi live ones much better.
2915 Fix unlocking when seeking, shutting down and pausing in live sources.
2917 2007-10-05 Wim Taymans <wim.taymans@gmail.com>
2919 * tests/check/pipelines/simple-launch-lines.c: (run_pipeline):
2920 Fix compilation again.
2922 2007-10-03 Stefan Kost <ensonic@users.sf.net>
2925 Use meaningful categories for the logs to clean the default one.
2927 2007-10-03 Stefan Kost <ensonic@users.sf.net>
2929 * tests/check/pipelines/cleanup.c:
2930 Print message name and not just number.
2932 2007-10-03 Stefan Kost <ensonic@users.sf.net>
2934 * docs/design/draft-tagreading.txt:
2935 Add some more thoughts.
2937 2007-10-03 Stefan Kost <ensonic@users.sf.net>
2939 * tests/check/pipelines/simple-launch-lines.c:
2940 Print message name and not just number.
2942 2007-10-03 Stefan Kost <ensonic@users.sf.net>
2944 * libs/gst/base/gsttypefindhelper.c:
2945 Speedup typefinding. This is work in progress (see #459862).
2947 2007-10-03 Stefan Kost <ensonic@users.sf.net>
2950 Fix docs that mention 'plugin_desc' instead of 'gst_plugin_desc'.
2951 Spotted by Josep Torra Valles <josep@fluendo.com>.
2953 2007-10-03 Tim-Philipp Müller <tim at centricular dot net>
2956 Fix up broken GST_CLOCK_FLAGS macro and GstClock docs. The flags
2957 field has moved to GstObject.
2959 2007-10-02 Wim Taymans <wim.taymans@gmail.com>
2961 * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync),
2962 (gst_base_src_get_range), (gst_base_src_change_state):
2963 Call unlock for live sources so that they can't get stuck in _create and
2964 produce a buffer before they are set back to PLAYING.
2966 2007-10-02 Edward Hervey <bilboed@bilboed.com>
2968 * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
2969 (gst_queue_locked_dequeue):
2970 Comment the segment-related code... in the PROPER function.
2971 See #482147 and my commit from yesterday.
2973 2007-10-01 Wim Taymans <wim.taymans@gmail.com>
2975 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
2976 Also initialize the counter that calculates the first timestamp on a
2977 buffer correctly for non-live sources.
2979 2007-10-01 Edward Hervey <bilboed@bilboed.com>
2981 * plugins/elements/gstqueue.c: (gst_queue_locked_dequeue):
2982 Disable code that's breaking the current-time-level reporting.
2985 2007-09-30 Sebastian Dröge <slomo@circular-chaos.org>
2987 * docs/gst/gstreamer-sections.txt:
2988 Add M_PI and IMPORT_SYMBOL to the private part of the GstInfo section
2989 as they shouldn't show up. Fixes the docs build.
2991 2007-09-29 Sebastien Moutte <sebastien@moutte.net>
2994 Add an explicit variable importation needed on VS6 (only for MSC_VER)
2995 Define M_PI which is used in files which are including gstinfo.h.
2996 VS6 includes doesn't define it.
2997 * win32/common/libgstbase.def:
2998 * win32/common/libgstcontroller.def:
2999 * win32/common/libgstreamer.def:
3000 Add new exported functions and variables.
3001 * win32/vs6/libgstcontroller.dsp:
3002 * win32/vs6/libgstreamer.dsp:
3003 Update the list of files to build.
3005 2007-09-28 Wim Taymans <wim.taymans@gmail.com>
3007 Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
3009 * plugins/elements/gstqueue.c: (update_time_level), (apply_buffer),
3010 (gst_queue_locked_dequeue), (gst_queue_handle_sink_event),
3011 (gst_queue_chain), (gst_queue_loop), (gst_queue_src_activate_push):
3012 Improve debugging. Fixes #480858.
3014 2007-09-28 Wim Taymans <wim.taymans@gmail.com>
3016 Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
3018 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
3019 First patch of code cleanups, use the macros and right arguments in the
3020 macros to signal and lock the queue. See #480858.
3022 2007-09-26 Wim Taymans <wim.taymans@gmail.com>
3024 * gst/gstbus.c: (poll_func):
3025 Improve debugging when dealing with _poll().
3027 2007-09-26 Tim-Philipp Müller <tim at centricular dot net>
3029 * gst/gstregistryxml.c:
3030 Fix memory leak I introduced a few days ago.
3032 2007-09-26 Michael Smith <msmith@fluendo.com>
3034 * gst/gstbuffer.c: (gst_buffer_finalize):
3035 Make it once again possible to free GstBuffers in the default
3037 The poisoning scribbles on parts of the miniobject we need in
3041 2007-09-25 Tim-Philipp Müller <tim at centricular dot net>
3043 * docs/gst/gstreamer-sections.txt:
3046 API: add GST_TAG_COMPOSER, fixes #459809.
3048 2007-09-24 Sebastian Dröge <slomo@circular-chaos.org>
3052 Add the 3-clause BSD license and the MIT/X11 license to the license
3053 list. Fixes #479784.
3055 2007-09-24 Tim-Philipp Müller <tim at centricular dot net>
3057 * docs/faq/getting.xml:
3058 Add Q+A about different GStreamer versions (#364056).
3060 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
3062 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
3063 (gst_base_sink_event), (gst_base_sink_change_state):
3064 Return correct gboolean from query function.
3066 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
3068 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
3069 (gst_base_sink_event), (gst_base_sink_query),
3070 (gst_base_sink_change_state):
3071 Simplify latency query.
3072 When not synchronizing, we can report latency without querying the peer
3075 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
3079 Fix small typos in the docs.
3081 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
3083 * docs/design/draft-latency.txt:
3084 * docs/design/draft-push-pull.txt:
3085 * docs/design/draft-tagreading.txt:
3086 * docs/design/part-MT-refcounting.txt:
3087 * docs/design/part-activation.txt:
3088 * docs/design/part-block.txt:
3089 * docs/design/part-element-source.txt:
3090 * docs/design/part-events.txt:
3091 * docs/design/part-gstbin.txt:
3092 * docs/design/part-gstelement.txt:
3093 * docs/design/part-gstobject.txt:
3094 * docs/design/part-gstpipeline.txt:
3095 * docs/design/part-messages.txt:
3096 * docs/design/part-preroll.txt:
3097 * docs/design/part-push-pull.txt:
3098 * docs/design/part-qos.txt:
3099 * docs/design/part-query.txt:
3100 * docs/design/part-scheduling.txt:
3101 * docs/design/part-seeking.txt:
3102 * docs/design/part-segments.txt:
3103 * docs/design/part-states.txt:
3104 Documentation updates and typo fixes.
3106 2007-09-23 Tim-Philipp Müller <tim at centricular dot net>
3108 * plugins/elements/gstfakesink.c:
3109 Add some debug text to error message to indicate that
3110 we errored out on request.
3112 * tools/gst-launch.c:
3113 When the state change to PLAYING fails, check for an
3114 error message on the bus and print it.
3116 2007-09-22 Thomas Vander Stichele <thomas at apestaart dot org>
3118 translated by: Jorge González González <aloriel@gmail.com>
3122 Added Spanish translation.
3124 2007-09-21 Wim Taymans <wim.taymans@gmail.com>
3126 * plugins/elements/gstqueue.c: (gst_queue_push_one):
3127 Fix printf arguments.
3129 2007-09-20 Stefan Kost <ensonic@users.sf.net>
3131 * tests/check/generic/states.c:
3132 Improved state change unit test.
3134 2007-09-20 Stefan Kost <ensonic@users.sf.net>
3137 Move priv to the right place.
3139 * gst/gstsystemclock.c:
3140 Add FIXME: and improve log.
3142 * tests/check/Makefile.am:
3143 * tests/examples/manual/Makefile.am:
3144 Work with all types of registries.
3146 2007-09-19 Wim Taymans <wim.taymans@gmail.com>
3148 * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
3149 Don't unref the event after pushing it. Fixes #478401.
3151 2007-09-19 Stefan Kost <ensonic@users.sf.net>
3154 * tests/examples/manual/.cvsignore:
3155 Ignore registries in any format.
3157 2007-09-19 Tim-Philipp Müller <tim at centricular dot net>
3159 * gst/glib-compat-private.h:
3160 Add compatibility macro for g_intern_string() for
3161 GLib-2.8 (any reason we can't just bump the
3162 requirement to at least 2.10?)
3164 * gst/gstpadtemplate.h:
3165 * gst/gstelementfactory.c:
3166 * gst/gstregistryxml.c:
3167 * gst/gstregistrybinary.c:
3168 Make GstStaticPadTemplate's templ_name field a const gchar * and fix
3169 up the internal code accordingly. This shouldn't be a problem, since
3170 there is no reason external code could ever assume the string in such
3171 a structure is dynamically allocated unless it did that itself; the
3172 use of g_strdup() is private to element factories. The new code also
3173 saves some memory by putting pad template name strings into the GLib
3174 quark table instead of allocating them dynamically.
3175 Declaring this field constant fixes warnings with g++-4.2 when using
3176 the GST_STATIC_PAD_TEMPLATE macro in c++ code (#478092).
3178 2007-09-19 Stefan Kost <ensonic@users.sf.net>
3180 * gst/gstelementfactory.c:
3181 Release static caps. Fixes #475723.
3183 2007-09-18 Tim-Philipp Müller <tim at centricular dot net>
3187 Make some internal API take const gchar * instead of just
3188 gchar * to avoid compiler warnings with g++-4.2.2 when
3189 passing string constants (partially fixes #478092).
3191 2007-09-17 Wim Taymans <wim.taymans@gmail.com>
3193 * gst/gstbin.c: (bin_query_latency_fold), (gst_bin_query):
3194 A latency query fails when one of the sinks fail.
3196 * gst/gstelement.c: (gst_element_set_base_time):
3199 2007-09-17 Jan Schmidt - Sun Microsystems <jan.schmidt@sun.com>
3201 * gst/gstbin.c: (gst_bin_continue_func):
3202 * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
3203 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad_full):
3204 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_loop):
3206 Fix minor compilation warnings shown with Forte.
3208 2007-09-17 Wim Taymans <wim.taymans@gmail.com>
3210 * plugins/elements/gstqueue.c: (apply_buffer),
3211 (gst_queue_locked_enqueue), (gst_queue_locked_dequeue):
3212 Measure queue level based on the diff between head and tail timestamps
3213 even when pushing the first buffer.
3215 2007-09-14 Wim Taymans <wim.taymans@gmail.com>
3217 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
3218 (gst_base_sink_event), (gst_base_sink_change_state):
3219 Sinks that don't preroll can always be queried for the latency.
3220 Don't post ASYNC start when we are not async.
3222 2007-09-14 Wim Taymans <wim.taymans@gmail.com>
3224 * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
3225 (gst_queue_handle_sink_event), (gst_queue_chain),
3226 (gst_queue_push_one), (gst_queue_handle_src_query),
3227 (gst_queue_sink_activate_push), (gst_queue_src_activate_push):
3228 * plugins/elements/gstqueue.h:
3229 When downstream returns UNEXPECTED from pushing a buffer, don't try to
3230 push more buffers but allow pushing of EOS and NEWSEGMENT.
3231 Add some more debug info here and there. Fixes #476514.
3233 2007-09-14 Wim Taymans <wim.taymans@gmail.com>
3235 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
3236 (gst_base_sink_preroll_queue_flush), (gst_base_sink_commit_state),
3237 (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
3238 (gst_base_sink_set_flushing), (gst_base_sink_query),
3239 (gst_base_sink_change_state):
3240 Latency query is allowed after we are prerolled. Introduce a new flag
3241 for this and stop abusing other variables.
3243 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
3245 * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
3246 Push OOB events downstream when we get them in send_event. This allows
3247 the application to insert events in the pipeline.
3248 Add some more comments.
3250 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
3252 * gst/gstbin.c: (gst_bin_class_init), (clear_queue),
3253 (do_bin_latency), (gst_bin_change_state_func):
3254 * gst/gstpipeline.c: (gst_pipeline_change_state):
3255 Move latency query from GstPipeline to GstBin so that we can also
3256 use it when async-handling is enabled on bins.
3258 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
3260 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
3261 (gst_base_src_do_sync), (gst_base_src_change_state):
3263 Clean up the timestamping and syncing code for pseudo live sources.
3265 2007-09-13 Tim-Philipp Müller <tim at centricular dot net>
3267 Patch by: Steve Fink <sphink gmail com>
3269 * docs/manual/appendix-checklist.xml:
3270 Mention less -R switch in the section about debug output (#474055).
3272 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
3274 * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
3275 Queue can latency to the pipeline up to the configured max size in time.
3276 Report this fact in the latency query.
3278 2007-09-13 Sebastian Dröge <slomo@circular-chaos.org>
3280 Patch by: Sebastien Moutte <sebastien at moutte dot net>
3282 * libs/gst/controller/gstinterpolation.c:
3283 * libs/gst/controller/gstlfocontrolsource.c:
3284 Use gst_guint64_to_gdouble() when converting from a uint64 or
3285 GstClockTime to double to fix the build on win32. Fixes #474371.
3287 2007-09-13 Sebastian Dröge <slomo@circular-chaos.org>
3289 * gst/gstbuffer.c: (gst_buffer_finalize):
3290 Implement poisoning for GstBuffer if --enable-poisoning is specified.
3291 When finalizing a buffer the complete struct is filled with 0xff,
3292 thus making a use of the buffer after the final unref impossible.
3294 2007-09-13 Sebastian Dröge <slomo@circular-chaos.org>
3296 * tests/check/libs/controller.c: (GST_START_TEST):
3297 Use fail_unless_equals_int(a, b) instead of
3298 fail_unless_equals (a == b) to get better output on failures.
3300 2007-09-12 Tim-Philipp Müller <tim at centricular dot net>
3302 * tests/check/gst/gsturi.c:
3303 Also check for the other file URI variant on win32.
3305 2007-09-12 Tim-Philipp Müller <tim at centricular dot net>
3307 * gst/gsturi.c: (gst_uri_get_location):
3308 If there's no hostname, we want to return 'c:/foo/bar.txt'
3309 and not '/c:/foo/bar.txt' on Windows. Fixes #469402.
3311 * tests/check/gst/gsturi.c:
3312 Unit test for the above and a few more things.
3314 2007-09-11 Wim Taymans <wim.taymans@gmail.com>
3316 * docs/design/part-live-source.txt:
3317 Add docs on how live sources should timestamp.
3319 * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
3320 Add some more debug info.
3321 For subclasses that are live and like to sync, add aditional startup
3322 latency to sync time and timestamps so that we timstamp according to the
3325 2007-09-11 Tim-Philipp Müller <tim at centricular dot net>
3328 Also do a g_type_class_ref() for the subbuffer type in
3331 2007-09-11 Wim Taymans <wim.taymans@gmail.com>
3333 * docs/gst/gstreamer-sections.txt:
3334 * gst/gstpad.c: (gst_pad_peer_query):
3336 Add function to perform a query on the peer of a pad.
3337 API: gst_pad_peer_query()
3339 2007-09-11 Stefan Kost <ensonic@users.sf.net>
3341 * tests/check/gst/gstsystemclock.c:
3342 Cleanup the test a little (use gst-logging and not g_message). Improve
3343 test to check if a wait reached the target.
3345 2007-09-11 Tim-Philipp Müller <tim at centricular dot net>
3347 * docs/libs/gstreamer-libs-sections.txt:
3348 Add new API to docs and fix the build.
3350 2007-09-10 Wim Taymans <wim.taymans@gmail.com>
3352 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
3353 (gst_base_src_init), (gst_base_src_set_do_timestamp),
3354 (gst_base_src_get_do_timestamp), (gst_base_src_set_property),
3355 (gst_base_src_get_property), (gst_base_src_do_sync):
3356 * libs/gst/base/gstbasesrc.h:
3357 Add property to make the basesrc timestamp buffers based on the current
3359 API: GstBaseSrc::do-timestamp
3360 API: gst_base_src_set_do_timestamp()
3361 API: gst_base_src_get_do_timestamp()
3363 2007-09-08 Tim-Philipp Müller <tim at centricular dot net>
3365 * docs/random/release:
3366 Really make sure translations are up-to-date before
3367 a release (#465010).
3369 2007-09-07 Sebastian Dröge <slomo@circular-chaos.org>
3371 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
3372 Always destroy the timer, also in error cases.
3374 2007-09-05 Wim Taymans <wim.taymans@gmail.com>
3376 * docs/manual/highlevel-xml.xml:
3377 Fix XML example code. Fixes #472714.
3379 2007-09-05 Wim Taymans <wim.taymans@gmail.com>
3381 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
3382 (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
3383 (gst_base_sink_query):
3384 Protect eos and have_preroll with the OBJECT lock so we don't need to
3385 take the PREROLL lock when querying the latency. Fixes #473846.
3387 2007-09-05 Stefan Kost <ensonic@users.sf.net>
3390 Give some log-messages a category.
3392 2007-09-04 Wim Taymans <wim.taymans@gmail.com>
3394 * gst/gststructure.c:
3395 (gst_structure_fixate_field_nearest_fraction):
3396 Fix fraction list fixation code. Take the fraction with the smallest
3397 difference with the target instead of the first one in the list.
3399 * tests/check/gst/gststructure.c: (GST_START_TEST),
3400 (gst_structure_suite):
3401 Added test to verify correct fraction list fixation behaviour.
3403 2007-09-02 Tim-Philipp Müller <tim at centricular dot net>
3405 * win32/common/libgstreamer.def:
3406 Export gst_bus_add_signal_watch too.
3408 2007-08-30 Wim Taymans <wim.taymans@gmail.com>
3410 * docs/libs/gstreamer-libs-sections.txt:
3411 Add new methods to docs.
3413 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
3414 (gst_base_sink_init), (gst_base_sink_set_ts_offset),
3415 (gst_base_sink_get_ts_offset), (gst_base_sink_set_property),
3416 (gst_base_sink_get_property), (gst_base_sink_wait_clock):
3417 * libs/gst/base/gstbasesink.h:
3418 Add ts-offset property to fine-tune the synchronisation.
3419 API: GstBaseSink::ts-offset property
3420 API: gst_base_sink_set_ts_offset()
3421 API: gst_base_sink_get_ts_offset()
3423 2007-08-29 Wim Taymans <wim.taymans@gmail.com>
3425 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
3426 (gst_base_sink_init), (gst_base_sink_set_sync),
3427 (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
3428 (gst_base_sink_get_max_lateness), (gst_base_sink_set_qos_enabled),
3429 (gst_base_sink_is_qos_enabled), (gst_base_sink_set_async_enabled),
3430 (gst_base_sink_is_async_enabled), (gst_base_sink_set_property),
3431 (gst_base_sink_get_property), (gst_base_sink_change_state):
3432 * libs/gst/base/gstbasesink.h:
3433 Add async property to instruct the sink never to inform the parent about
3434 ASYNC state changes, update docs.
3435 Check argument with g_return_* for the public functions.
3436 API: GstBaseSink::async property
3437 API: gst_base_sink_set_async_enabled()
3438 API: gst_base_sink_is_async_enabled()
3440 2007-08-28 Wim Taymans <wim.taymans@gmail.com>
3442 * libs/gst/base/gstbasesink.c: (gst_base_sink_loop):
3445 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
3446 (gst_base_src_default_query), (gst_base_src_wait),
3447 (gst_base_src_do_sync), (gst_base_src_change_state):
3448 Rearrange some code so that we can add support for measuring the
3451 2007-08-27 Stefan Kost <ensonic@users.sf.net>
3453 * docs/random/ensonic/dynlink.txt:
3454 More thoughs on this.
3456 * plugins/elements/gstcapsfilter.c:
3457 Add bugzilla ticket number to FIXME comment.
3459 2007-08-24 Wim Taymans <wim.taymans@gmail.com>
3461 * docs/design/part-TODO.txt:
3462 * docs/design/part-block.txt:
3465 2007-08-24 Jan Schmidt <thaytan@mad.scientist.com>
3468 Revert patch which uses $(gst_headers) instead of $^ because it
3471 2007-08-24 Jan Schmidt <thaytan@mad.scientist.com>
3473 * tests/check/gst/gstbin.c: (GST_START_TEST):
3474 Fix leaks in the new unit test.
3476 2007-08-23 Tim-Philipp Müller <tim at centricular dot net>
3479 Don't use GST_INFO before the debug system is actually initialised
3480 (shouldn't do any harm, but won't print anything either, so we can
3481 just as well remove it).
3484 GST_CAT_LEVEL_LOG_valist(), which is our inline helper function for
3485 compilers that don't support variadic macros (such as MSVC), should
3486 check for debug_level <= __gst_debug_min as well, since that's the
3487 function called from all the level-specific GST_CAT_*_LOG_OBJECT()
3488 inline helper functions. Should improve performance a bit, but also
3489 makes sure uses of GST_INFO et.al are ignored if the debugging
3490 system isn't initialised yet (instead of printing an assertion
3493 2007-08-23 Stefan Kost <ensonic@users.sf.net>
3495 patch by: David Nečas <yeti@physics.muni.cz>
3498 Replace some non portable makefile constructs.
3500 2007-08-21 Stefan Kost <ensonic@users.sf.net>
3502 * common/gtk-doc-plugins.mak:
3503 Grrrrr. Don't remove the types file on make clean.
3505 2007-08-20 Wim Taymans <wim.taymans@gmail.com>
3507 * tools/gst-launch.1.in:
3508 Add colorspace to example pipeline. Fixes #458274.
3510 2007-08-20 Tim-Philipp Müller <tim at centricular dot net>
3512 * docs/random/release:
3513 The release manager should run 'make download-po' before making a
3514 release to make sure translations are up-to-date.
3520 Add some new translations.
3522 2007-08-17 Wim Taymans <wim.taymans@gmail.com>
3524 * tools/gst-launch.c: (event_loop), (main):
3525 Don´t try to do any state management when a live pipeline posts
3527 Also make the buffering string translatable.
3529 2007-08-16 Wim Taymans <wim.taymans@gmail.com>
3531 * gst/gstbin.c: (is_eos), (gst_bin_add_func),
3532 (bin_handle_async_start), (gst_bin_handle_message_func):
3534 When adding elements, insert messages into the bus of the newly added
3535 element and make sure the element is the source of the message. This
3536 allows the parent bin to intercept the message and do the
3537 right thing. It also avoids us posting ASYNC_START and CLOCK_PROVIDE
3538 messages to the app (which is not allowed).
3541 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
3542 Fix testsuite so that is does not work around messages that should not
3543 have been posted in the first place.
3545 2007-08-16 Wim Taymans <wim.taymans@gmail.com>
3547 * gst/gstbin.c: (add_to_queue), (remove_from_queue), (clear_queue),
3548 (update_degree), (gst_bin_sort_iterator_next):
3549 Fix annoying bug in the sorted iterator where a sink that is not really
3550 a sink (when it has downstream links) screwed up the iterator.
3552 * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
3553 Unit test to verify the fix.
3555 2007-08-16 Wim Taymans <wim.taymans@gmail.com>
3558 Add some more docs for the messages.
3560 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
3561 (gst_base_sink_query):
3562 Add some more debugging.
3564 * tools/gst-launch.c: (event_loop):
3565 When interrupting, don't try to set pipeline to PAUSED twice.
3567 2007-08-14 Wim Taymans <wim.taymans@gmail.com>
3570 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_element_set_state),
3571 (bin_handle_async_start), (gst_bin_handle_message_func):
3572 Move ASYNC_START message posting to where it belongs, similar to
3574 Don't post ASYNC_START when we are in error.
3575 Post ASYNC_START when we added an async element to a bin.
3577 2007-08-14 Julien MOUTTE <julien@moutte.net>
3579 * gst/gstindex.c: (gst_index_add_association): Fix index entry
3580 generation from vargs. Fixes #466595.
3582 2007-08-14 Wim Taymans <wim.taymans@gmail.com>
3584 * gst/gstbin.c: (gst_bin_element_set_state):
3585 Always change the state of a NO_PREROLL element even if it has ASYNC
3586 elements inside (in case of a bin).
3588 * tests/check/generic/sinks.c: (GST_START_TEST), (gst_sinks_suite):
3589 Unit test for this case.
3591 2007-08-13 Stefan Kost <ensonic@users.sf.net>
3593 * libs/gst/check/gstbufferstraw.c:
3594 * libs/gst/check/gstcheck.h:
3595 * libs/gst/controller/gstcontroller.c:
3596 * libs/gst/controller/gstcontrolsource.h:
3597 * libs/gst/controller/gstlfocontrolsource.h:
3598 * plugins/elements/gstcapsfilter.h:
3599 * plugins/elements/gstfdsink.h:
3600 * plugins/elements/gstfdsrc.h:
3601 Add more missing docs.
3603 2007-08-12 Wim Taymans <wim.taymans@gmail.com>
3605 * gst/gststructure.c:
3606 Add Since tag to docs.
3608 2007-08-12 Wim Taymans <wim.taymans@gmail.com>
3610 * docs/gst/gstreamer-sections.txt:
3611 * gst/gststructure.c: (gst_structure_get_uint):
3612 * gst/gststructure.h:
3613 Add function to get uint from a structure.
3614 API: gst_structure_get_uint()
3616 2007-08-12 Wim Taymans <wim.taymans@gmail.com>
3618 * gst/gstcaps.c: (gst_caps_set_simple_valist),
3619 (gst_caps_intersect):
3620 Fix proper check for simple caps.
3622 2007-08-10 Stefan Kost <ensonic@users.sf.net>
3624 * docs/gst/Makefile.am:
3625 * docs/libs/Makefile.am:
3626 Remove cruft and do some cleanups.
3628 * docs/gst/gstreamer-docs.sgml:
3629 * docs/libs/gstreamer-libs-docs.sgml:
3630 Prepare for comming gtkdoc features (rebase against online docs).
3632 2007-08-10 Michael Smith <msmith@fluendo.com>
3634 * docs/gst/gstreamer-sections.txt:
3635 Add gst_registry_add_path to docs.
3637 2007-08-10 Michael Smith <msmith@fluendo.com>
3639 * gst/gstregistry.h:
3640 Add gst_registry_add_path, which was missing from this header.
3642 2007-08-10 Tim-Philipp Müller <tim at centricular dot net>
3644 * libs/gst/controller/gstlfocontrolsource.c:
3647 2007-08-09 Philippe Kalaf <philippe.kalaf@collabora.co.uk>
3649 * libs/gst/base/gstbasesink.c:
3650 Don't send an async_start message during downwards state change if
3651 target state is less than READY
3653 2007-08-09 Thomas Vander Stichele <thomas at apestaart dot org>
3655 translated by: Gabor Kelemen <kelemeng@gnome.hu>
3659 Added Hungarian translation.
3661 2007-08-09 Thomas Vander Stichele <thomas at apestaart dot org>
3668 Updated translations.
3670 2007-08-07 Jan Schmidt <thaytan@mad.scientist.com>
3672 * libs/gst/controller/Makefile.am:
3673 Dist gstlfocontrolsourceprivate.h
3675 2007-08-07 Jan Schmidt <thaytan@mad.scientist.com>
3677 * docs/libs/gstreamer-libs.types:
3678 Don't register the enum type gst_lfo_waveform_get_type() in the
3679 .types file - only GObject derived types belong.
3681 2007-08-07 Wim Taymans <wim.taymans@gmail.com>
3683 Patch by: <arenevier at fdn dot fr>
3686 Remove comma from last element in enum to avoid compile errors when
3687 using -pendantic. Fixes #464366.
3689 2007-08-07 Wim Taymans <wim.taymans@gmail.com>
3691 * docs/design/part-TODO.txt:
3692 Add some more TODO items
3694 * gst/gstbin.c: (find_message), (gst_bin_change_state_func):
3697 * gst/gstcaps.c: (gst_caps_intersect):
3698 Optimize trivial intersection case between identical caps pointers.
3700 * gst/gstelement.c: (gst_element_continue_state),
3701 (gst_element_set_state_func):
3703 Fix spelling and grammar mistakes.
3705 2007-08-05 Stefan Kost <ensonic@users.sf.net>
3709 Update POTFILES. Fixes #461599.
3711 2007-08-03 Sebastian Dröge <slomo@circular-chaos.org>
3714 Fix confusing typo in debug output.
3716 2007-08-03 Sebastian Dröge <slomo@circular-chaos.org>
3718 reviewed by: Stefan Kost <ensonic@users.sf.net>
3720 * libs/gst/controller/Makefile.am:
3721 * libs/gst/controller/gstlfocontrolsource.c: (_calculate_pos),
3722 (gst_lfo_waveform_get_type), (gst_lfo_control_source_reset),
3723 (gst_lfo_control_source_new),
3724 (gst_lfo_control_source_set_waveform),
3725 (gst_lfo_control_source_bind), (gst_lfo_control_source_init),
3726 (gst_lfo_control_source_finalize),
3727 (gst_lfo_control_source_dispose),
3728 (gst_lfo_control_source_set_property),
3729 (gst_lfo_control_source_get_property),
3730 (gst_lfo_control_source_class_init):
3731 * libs/gst/controller/gstlfocontrolsource.h:
3732 * libs/gst/controller/gstlfocontrolsourceprivate.h:
3733 API: Add GstLFOControlSource, a control source that gives values
3734 for specific timestamps based on several periodic waveforms.
3737 * tests/check/libs/controller.c: (GST_START_TEST),
3738 (gst_controller_suite):
3739 * docs/libs/gstreamer-libs-docs.sgml:
3740 * docs/libs/gstreamer-libs-sections.txt:
3741 * docs/libs/gstreamer-libs.types:
3742 Add documentation and unit tests for GstLFOControlSource.
3744 2007-08-03 Jan Schmidt <thaytan@mad.scientist.com>
3749 === release 0.10.14 ===
3751 2007-08-03 Jan Schmidt <thaytan@mad.scientist.com>
3754 releasing 0.10.14, "Breathing Vacuum"
3756 2007-08-02 Tim-Philipp Müller <tim at centricular dot net>
3758 * gst/gstelement.c: (gst_element_class_set_details_simple):
3760 Make strings passed to gst_element_class_set_details_simple()
3761 constant, as they should be (#462752).
3763 2007-08-02 Wim Taymans <wim.taymans@gmail.com>
3765 * gst/gstbin.c: (gst_bin_change_state_func),
3766 (bin_handle_async_done), (gst_bin_handle_message_func):
3767 Don't forget about the fact that some element went ASYNC even after a
3768 resync. This makes us post the ASYNC_DONE message correctly.
3771 2007-07-31 Jan Schmidt <thaytan@mad.scientist.com>
3773 * gst/gstregistry.c: (gst_registry_add_feature):
3774 When replacing an existing feature in the registry, make sure to
3775 continue holding a reference until we've replaced the name string
3776 within our feature hash table. Make sure to use g_hash_table_replace
3777 instead of g_hash_table_insert to ensure the new name string is used
3778 as a key instead of the old one that we're about to free.
3781 2007-07-31 Jan Schmidt <thaytan@mad.scientist.com>
3783 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
3784 (gst_plugin_feature_set_name):
3785 Revert patch from #459466 until after the release and we can work
3786 out exactly what the problem is (if any).
3788 2007-07-26 Tim-Philipp Müller <tim at centricular dot net>
3790 * docs/gst/gstreamer-sections.txt:
3793 API: add GST_TAG_LICENSE_URI and GST_TAG_COPYRIGHT_URI (#451939).
3795 2007-07-26 Jan Schmidt <thaytan@mad.scientist.com>
3797 * docs/libs/Makefile.am:
3798 Include our build-prefix libs and includes before the generic ones to
3799 avoid linking against the installed libs when we want the build-tree
3802 2007-07-26 Tim-Philipp Müller <tim at centricular dot net>
3804 Patch by: Steve Fink <sphink gmail com>
3806 * docs/pwg/building-testapp.xml:
3807 Mention that GST_PLUGIN_PATH or --gst-plugin-path might be needed
3808 if people try to build or install the example from the plugin
3809 template against a GStreamer from package using the configure
3812 2007-07-25 Tim-Philipp Müller <tim at centricular dot net>
3814 Patch by: Steve Fink <sphink gmail com>
3816 * tools/gst-inspect.1.in:
3817 Document --print-all and --print-plugin-auto-install-info command
3818 line options in man page.
3820 2007-07-25 Wim Taymans <wim.taymans@gmail.com>
3822 * docs/gst/gstreamer-sections.txt:
3823 Add docs for new api function.
3825 2007-07-25 Wim Taymans <wim.taymans@gmail.com>
3827 * gst/gstelementfactory.c: (gst_element_factory_has_interface):
3828 * gst/gstelementfactory.h:
3829 API: gst_element_factory_has_interface()
3830 Added method to check if an element factory implements a named
3833 2007-07-25 Stefan Kost <ensonic@users.sf.net>
3836 * docs/gst/gstreamer.types.in:
3837 Another conditional doc check.
3840 * gst/gstparamspecs.h:
3841 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
3846 2007-07-24 Stefan Kost <ensonic@users.sf.net>
3848 * gst/gstregistrybinary.c: (gst_registry_binary_check_magic),
3849 (gst_registry_binary_load_feature),
3850 (gst_registry_binary_load_plugin),
3851 (gst_registry_binary_read_cache):
3852 Print error just once and with additional info.
3854 2007-07-24 Stefan Kost <ensonic@users.sf.net>
3856 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
3857 (helper_find_suggest), (helper_find_get_length),
3858 (gst_type_find_helper_get_range), (buf_helper_find_suggest),
3859 (gst_type_find_helper_for_buffer):
3860 Cleanup the typefindhelper code and add private doc comments.
3862 2007-07-24 Edward Hervey <bilboed@bilboed.com>
3864 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
3865 (gst_capsfilter_transform_size), (gst_capsfilter_prepare_buf):
3866 Fix capsfilter for cases where the caps set on capsfilter will provide
3867 additional information.
3870 2007-07-24 Stefan Kost <ensonic@users.sf.net>
3872 * gst/gsttypefindfactory.c:
3873 Fix docs that recommened wrong function to use.
3875 2007-07-23 Stefan Kost <ensonic@users.sf.net>
3877 * tools/gst-inspect.c: (print_plugin_features):
3878 Also give media-type for typefinders in element output.
3880 2007-07-23 Stefan Kost <ensonic@users.sf.net>
3882 * gst/gstregistry.c: (gst_registry_init), (gst_registry_finalize),
3883 (gst_registry_remove_features_for_plugin_unlocked),
3884 (gst_registry_add_feature), (gst_registry_remove_feature),
3885 (gst_registry_lookup_feature_locked):
3886 * gst/gstregistry.h:
3887 Speed up gst_registry_lookup_feature_locked() by using a hashmap.
3890 2007-07-23 Stefan Kost <ensonic@users.sf.net>
3892 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
3893 (gst_plugin_feature_set_name):
3894 Avoid double memory usage for pluginfeature names. Fixes #459466.
3896 2007-07-22 Tim-Philipp Müller <tim at centricular dot net>
3899 Small addition to GST_FLOW_IS_FATAL() docs: mention that elements
3900 driving the pipeline may need to explicitly check for NOT_LINKED as
3901 well, since IS_FATAL doesn't cover that.
3903 2007-07-22 Tim-Philipp Müller <tim at centricular dot net>
3905 * docs/pwg/advanced-types.xml:
3906 Fix typo and duplicate entry in video formats list.
3908 2007-07-22 Sebastian Dröge <slomo@circular-chaos.org>
3910 * libs/gst/controller/gstinterpolation.c:
3911 Also round to the nearest int when using cubic interpolation.
3913 2007-07-19 Jan Schmidt <thaytan@noraisin.net>
3915 * libs/gst/controller/gstinterpolation.c:
3916 When linearly interpolating integer types, round to the nearest int
3917 by adding 0.5. Don't do it for float/double types.
3918 Fixes the failing controller test on my machine, which is somehow
3919 rounding differently than on the buildbots.
3921 2007-07-20 Stefan Kost <ensonic@users.sf.net>
3923 * tools/gst-plot-timeline.py:
3924 Better log parsing (categories can have -). Adjust text vs. lines, so
3925 that they span the same y-range.
3927 2007-07-20 Stefan Kost <ensonic@users.sf.net>
3929 * docs/random/ensonic/audiobaseclasses.txt:
3930 * docs/random/ensonic/dynlink.txt:
3931 * docs/random/ensonic/profiling.txt:
3934 * docs/random/moving-plugins:
3935 Add note to use g_assert type macros.
3937 2007-07-20 Stefan Kost <ensonic@users.sf.net>
3940 * libs/gst/check/Makefile.am:
3941 Add libm check as we use in for plugins.
3943 2007-07-18 Jan Schmidt <thaytan@noraisin.net>
3945 * gst/gstbin.c: (gst_bin_continue_func):
3946 Check that the state_cookie hasn't changed since the continue_func
3947 was scheduled. Avoids problems where the state changes back to
3948 something it shouldn't be because it was changed in the meantime.
3950 2007-07-17 Stefan Kost <ensonic@users.sf.net>
3952 * gst/gstregistrybinary.c: (gst_registry_binary_save_const_string),
3953 (gst_registry_binary_save_string),
3954 (gst_registry_binary_save_pad_template),
3955 (gst_registry_binary_save_feature),
3956 (gst_registry_binary_save_plugin),
3957 (gst_registry_binary_load_feature),
3958 (gst_registry_binary_load_plugin),
3959 (gst_registry_binary_read_cache):
3960 Fix memory leak. Be less verbose in the log.
3962 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
3964 * tests/check/elements/.cvsignore:
3965 Add file to cvsignore as commanded.
3967 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
3969 * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
3970 (mq_dummypad_event), (run_output_order_test):
3971 Use a GStaticMutex to protect all cases where libcheck
3972 fail_if/fail_unless macros might be called from multiple threads
3973 simultaneously to avoid errors like:
3974 "check_pack.c:107: :-1081725400:Bad message type arg"
3976 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
3978 * tests/check/pipelines/stress.c: (GST_START_TEST):
3979 Make sure we set the pipeline back to the NULL state before
3980 dropping our final reference.
3982 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
3984 * tests/check/elements/tee.c: (GST_START_TEST):
3985 Make the tee stress-test a little less stressful so it doesn't just
3986 time out on slow-machines, and remove a small race when it's starting
3987 up by adding a get_state() call.
3989 2007-07-16 Stefan Kost <ensonic@users.sf.net>
3992 Avoid reading registry twice on startup. Fixes #457322.
3994 2007-07-13 Jan Schmidt <thaytan@mad.scientist.com>
3996 * pkgconfig/gstreamer-check-uninstalled.pc.in:
3997 * pkgconfig/gstreamer-check.pc.in:
3998 Substitute the CFLAGS for libcheck into our .pc file too so that
3999 dependent modules will pick it up properly if libcheck is installed
4000 into some other prefix.
4002 2007-07-13 Jan Schmidt <thaytan@mad.scientist.com>
4005 Revert the pkg-config check for libcheck, since it pulls in the
4006 wrong non-PIC libcheck.a on Ubuntu and probably Fedora too. We need
4007 a proper solution, either from the check project, or something else.
4009 2007-07-12 Stefan Kost <ensonic@users.sf.net>
4012 Use pkg-config to locate check.
4014 2007-07-10 Stefan Kost <ensonic@users.sf.net>
4021 Add deprecation guards.
4023 * libs/gst/base/gstcollectpads.h:
4024 Don't document object (this is implicitly private).
4026 2007-07-08 Tim-Philipp Müller <tim at centricular dot net>
4028 * gst/gststructure.c: (gst_structure_parse_value):
4029 When deserialising foo=bar without a type cast, check if it's a
4030 boolean before falling back to a string type, otherwise things like
4031 audiotestsrc ! audio/x-raw-int,signed=true ! fakesink won't work,
4032 because the filtercaps end up having a signed=(string)true field,
4033 which causes problems later when intersection caps.
4035 * tests/check/gst/gststructure.c: (GST_START_TEST):
4036 Add a unit test for this.
4038 2007-07-06 Sebastian Dröge <slomo@circular-chaos.org>
4040 Reviewed by: Stefan Kost <ensonic@users.sf.net>
4042 * libs/gst/controller/Makefile.am:
4043 * libs/gst/controller/gstcontroller.c:
4044 (gst_controlled_property_add_interpolation_control_source),
4045 (gst_controlled_property_new), (gst_controlled_property_free),
4046 (gst_controller_find_controlled_property),
4047 (gst_controller_new_valist), (gst_controller_new_list),
4048 (gst_controller_new), (gst_controller_remove_properties_valist),
4049 (gst_controller_remove_properties_list),
4050 (gst_controller_remove_properties),
4051 (gst_controller_set_property_disabled),
4052 (gst_controller_set_disabled), (gst_controller_set_control_source),
4053 (gst_controller_get_control_source), (gst_controller_get),
4054 (gst_controller_sync_values), (gst_controller_get_value_array),
4055 (_gst_controller_dispose), (gst_controller_get_type),
4056 (gst_controlled_property_set_interpolation_mode),
4057 (gst_controller_set), (gst_controller_set_from_list),
4058 (gst_controller_unset), (gst_controller_unset_all),
4059 (gst_controller_get_all), (gst_controller_set_interpolation_mode):
4060 * libs/gst/controller/gstcontroller.h:
4061 * libs/gst/controller/gstcontrollerprivate.h:
4062 * libs/gst/controller/gstcontrolsource.c:
4063 (gst_control_source_class_init), (gst_control_source_init),
4064 (gst_control_source_get_value),
4065 (gst_control_source_get_value_array), (gst_control_source_bind):
4066 * libs/gst/controller/gstcontrolsource.h:
4067 * libs/gst/controller/gsthelper.c: (gst_object_set_control_source),
4068 (gst_object_get_control_source):
4069 * libs/gst/controller/gstinterpolation.c:
4070 (gst_interpolation_control_source_find_control_point_node),
4071 (gst_interpolation_control_source_get_first_value),
4072 (_interpolate_none_get), (interpolate_none_get),
4073 (interpolate_none_get_boolean_value_array),
4074 (interpolate_none_get_enum_value_array),
4075 (interpolate_none_get_string_value_array),
4076 (_interpolate_trigger_get), (interpolate_trigger_get),
4077 (interpolate_trigger_get_boolean_value_array),
4078 (interpolate_trigger_get_enum_value_array),
4079 (interpolate_trigger_get_string_value_array):
4080 * libs/gst/controller/gstinterpolationcontrolsource.c:
4081 (gst_control_point_free), (gst_interpolation_control_source_reset),
4082 (gst_interpolation_control_source_new),
4083 (gst_interpolation_control_source_set_interpolation_mode),
4084 (gst_interpolation_control_source_bind),
4085 (gst_control_point_compare), (gst_control_point_find),
4086 (gst_interpolation_control_source_set_internal),
4087 (gst_interpolation_control_source_set),
4088 (gst_interpolation_control_source_set_from_list),
4089 (gst_interpolation_control_source_unset),
4090 (gst_interpolation_control_source_unset_all),
4091 (gst_interpolation_control_source_get_all),
4092 (gst_interpolation_control_source_get_count),
4093 (gst_interpolation_control_source_init),
4094 (gst_interpolation_control_source_finalize),
4095 (gst_interpolation_control_source_dispose),
4096 (gst_interpolation_control_source_class_init):
4097 * libs/gst/controller/gstinterpolationcontrolsource.h:
4098 * libs/gst/controller/gstinterpolationcontrolsourceprivate.h:
4099 API: Refactor GstController into the core controller which can take
4100 a GstControlSource for providing actual values for timestamps.
4101 Implement a interpolation control source and use this for backward
4102 compatibility, deprecate a bunch of functions that are now handled
4103 by GstControlSource or GstInterpolationControlSource.
4104 Make it possible to disable the controller completely or only for
4105 specific properties. Fixes #450711.
4106 * docs/libs/gstreamer-libs-docs.sgml:
4107 * docs/libs/gstreamer-libs-sections.txt:
4108 * docs/libs/gstreamer-libs.types:
4109 Add new functions and classes to the docs.
4110 * tests/check/libs/controller.c: (GST_START_TEST),
4111 (gst_controller_suite):
4112 * tests/examples/controller/audio-example.c: (main):
4113 Port unit test and example to the new API and add some new
4116 2007-07-05 Wim Taymans <wim.taymans@gmail.com>
4118 Patch by: Mark Nauwelaerts <manauw at skynet be>
4120 * plugins/elements/gstmultiqueue.c:
4121 (gst_multi_queue_get_internal_links), (apply_buffer),
4122 (single_queue_overrun_cb), (gst_single_queue_new):
4123 Implement non-default GstPadIntLinkFunction for multiqueue pads so that
4124 the pipeline layout can be tracked correctly. Fixes #453732.
4126 2007-07-05 Stefan Kost <ensonic@users.sf.net>
4128 * docs/gst/Makefile.am:
4129 * docs/libs/Makefile.am:
4130 * docs/plugins/Makefile.am:
4131 Simplify --extra-dir as gtkdoc scans recursively.
4133 2007-07-03 Wim Taymans <wim.taymans@gmail.com>
4135 * tools/gst-launch.c: (main):
4136 When we got an error, there is no point in waiting for preroll when
4139 2007-07-03 Wim Taymans <wim.taymans@gmail.com>
4141 * plugins/elements/gsttee.c: (gst_tee_base_init),
4142 (gst_tee_request_new_pad), (gst_tee_release_pad),
4143 (gst_tee_find_buffer_alloc), (gst_tee_buffer_alloc),
4144 (gst_tee_do_push), (clear_pads), (gst_tee_handle_buffer),
4146 Be a lot smarter when deciding what srcpad to use for proxying
4147 the buffer_alloc. Also handle pad added/removed when doing so.
4149 Keep track of what pads we already pushed on in case we have pads
4150 added/removed while pushing. Fixes #374639
4152 * tests/check/Makefile.am:
4153 * tests/check/elements/tee.c: (handoff), (GST_START_TEST),
4155 Added unit test for pad resync.
4157 2007-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
4161 Updated translations.
4163 2007-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
4165 translation by: Tommi Vainikainen <Tommi.Vainikainen@iki.fi>
4169 Added new Finnish translation.
4171 2007-06-28 Wim Taymans <wim@fluendo.com>
4173 * plugins/elements/gstmultiqueue.c: (apply_buffer),
4174 (single_queue_overrun_cb):
4175 When figuring out when a queue is filled, use our internal time estimate
4176 based on segments, just like check_full does.
4178 2007-06-27 Stefan Kost <ensonic@users.sf.net>
4180 * gst/gstminiobject.c: (gst_mini_object_get_type):
4181 Remove 3 do-nothing methods.
4183 2007-06-27 Wim Taymans <wim@fluendo.com>
4185 Patch by: Tim Angus <tim at ngus dot net>
4187 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
4188 (gst_capsfilter_set_property):
4189 Take a reference instead of a copy when setting "caps".
4190 Fix documentation to clarify this behaviour. Fixes #449414.
4192 2007-06-27 Stefan Kost <ensonic@users.sf.net>
4194 * gst/gstindexfactory.c: (gst_index_factory_get_type):
4195 * gst/gstplugin.c: (gst_plugin_init):
4196 * gst/gstpluginfeature.c: (gst_plugin_feature_init):
4197 * gst/gstquery.c: (gst_query_get_type):
4198 * gst/gstregistry.c: (gst_registry_init):
4199 * gst/gsturi.c: (gst_uri_handler_base_init):
4200 Remove empty instance_init() functions to save relocs and lessen the
4201 noise. Remove some of the function prototypes that are doubled by
4204 2007-06-27 Wim Taymans <wim@fluendo.com>
4206 Patch by: Étienne Noreau-Hébert <etienne at deepunder dot org>
4208 * gst/gstghostpad.c: (gst_proxy_pad_save_thyself):
4209 Add peer and direction in the XML serialisation of ghostpads.
4212 2007-06-26 Stefan Kost <ensonic@users.sf.net>
4215 Preserve useful information, thanks Tim.
4217 2007-06-26 Jan Schmidt <thaytan@noraisin.net>
4219 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
4220 (gst_single_queue_flush), (apply_segment), (apply_buffer),
4221 (gst_single_queue_push_one), (gst_multi_queue_loop),
4222 (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
4223 (gst_multi_queue_src_activate_push), (wake_up_next_non_linked),
4224 (compute_high_id), (gst_single_queue_new):
4225 * plugins/elements/gstmultiqueue.h:
4226 Take the multiqueue lock when updating the fill level so we don't get
4229 After applying a buffer or event on the src pad segment, make sure to
4230 call gst_data_queue_limits_changed() to get the data queue to unblock
4231 and check the filled state again.
4233 Rework the not-linked pad handling so the logic is that not-linked
4234 pads can push as fast as they like, but only so they never get
4235 ahead of any linked pads.
4237 * tests/check/elements/multiqueue.c: (mq_sinkpad_to_srcpad),
4238 (mq_dummypad_getcaps), (mq_dummypad_chain), (mq_dummypad_event),
4239 (run_output_order_test), (GST_START_TEST), (multiqueue_suite):
4241 Add a test to check that not-linked pads always stay behind
4246 2007-06-26 Jan Schmidt <thaytan@mad.scientist.com>
4248 * docs/random/release:
4249 Some updates to the release procedure.
4251 2007-06-26 Stefan Kost <ensonic@users.sf.net>
4253 * gst/gstelementfactory.c: (__gst_element_details_clear):
4254 Microoptimization that saves stunning 80 bytes.
4256 2007-06-25 Stefan Kost <ensonic@users.sf.net>
4258 * docs/plugins/gstreamer-plugins.args:
4259 * docs/plugins/inspect/plugin-coreelements.xml:
4260 * docs/plugins/inspect/plugin-coreindexers.xml:
4261 Update docs with caps info.
4263 2007-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
4266 Updated Italian translation.
4268 2007-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
4272 Update Vietnamese translations.
4274 2007-06-21 Tim-Philipp Müller <tim at centricular dot net>
4276 * libs/gst/base/gstbasesink.c:
4277 Remove unused signal enum.
4279 2007-06-21 Jan Schmidt <thaytan@mad.scientist.com>
4281 * docs/gst/gstreamer-sections.txt:
4283 * gst/gstutils.c: (gst_type_register_static_full):
4284 Beef up and include the docs for gst_type_register_static_full and
4285 gst_element_class_set_details_simple and add the API keyword
4288 2007-06-21 Jan Schmidt <thaytan@mad.scientist.com>
4290 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
4291 (update_time_level), (gst_single_queue_push_one),
4292 (gst_multi_queue_chain), (gst_multi_queue_sink_event),
4293 (single_queue_overrun_cb), (single_queue_underrun_cb),
4294 (single_queue_check_full):
4295 Fix setting max-* properties after adding queues.
4296 Use IS_FILLED for checking visible items.
4297 Signal overrun if multiple queues overrun.
4298 Add extra debug output.
4299 Patch by: Wim Taymans <wim@fluendo.com>
4301 2007-06-21 Stefan Kost <ensonic@users.sf.net>
4303 * gst/gstelement.c: (gst_element_class_set_details_simple):
4305 * gst/gstutils.c: (gst_type_register_static_full):
4307 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init):
4308 * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init):
4309 * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init):
4310 * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init):
4311 * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init):
4312 * plugins/elements/gstfilesink.c: (gst_file_sink_base_init):
4313 * plugins/elements/gstfilesrc.c: (gst_file_src_base_init):
4314 * plugins/elements/gstidentity.c: (gst_identity_base_init):
4315 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init):
4316 * plugins/elements/gstqueue.c: (gst_queue_base_init),
4317 (apply_buffer), (gst_queue_chain):
4318 * plugins/elements/gsttee.c: (gst_tee_base_init):
4319 * plugins/elements/gsttypefindelement.c:
4320 (gst_type_find_element_base_init),
4321 (gst_type_find_element_class_init):
4322 Saving relocations for GTypeInfo and GstElementDetails. Fixes #437457.
4323 API: add gst_type_register_static_full
4324 API: add gst_element_class_set_details_simple
4326 2007-06-21 Tim-Philipp Müller <tim at centricular dot net>
4328 * docs/pwg/advanced-types.xml:
4329 Fix typo in iana.org URI.
4331 2007-06-19 Andy Wingo <wingo@pobox.com>
4333 * tests/check/pipelines/simple-launch-lines.c
4334 (test_state_change_returns): Enable pull-mode tests now that
4335 basesink has been fixed.
4337 * libs/gst/base/gstbasesink.c (gst_base_sink_needs_preroll):
4338 Changed from gst_base_sink_is_prerolled, reversing the sense of
4339 the return value. Returns FALSE also if the sink is in pull mode,
4340 in which case it needs no preroll.
4341 (gst_base_sink_query, gst_base_sink_change_state): Update for
4342 needs_preroll change.
4343 (gst_base_sink_change_state): Add a case for READY_TO_PAUSED after
4344 chaining up, in which we return SUCCESS directly if we activated
4345 in pull mode instead of ASYNC. Involves countering an async_start
4346 message sent before chaining up; not sure if this is correct, in
4347 an ideal world we only send async-start when activating in push
4350 * tests/check/pipelines/simple-launch-lines.c
4351 (test_state_change_returns): New test, partially disabled until
4354 2007-06-19 Wim Taymans <wim@fluendo.com>
4356 * plugins/elements/gstmultiqueue.c: (apply_buffer),
4357 (gst_multi_queue_sink_event):
4360 2007-06-19 Wim Taymans <wim@fluendo.com>
4362 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
4363 (gst_bin_change_state_func), (bin_push_state_continue),
4364 (bin_handle_async_start), (bin_handle_async_done),
4365 (gst_bin_handle_message_func):
4366 Move the common code for posting state-change messages into
4368 Broadcast the state signal after we posted the messages.
4369 Mark the bin as busy when it's doing a state-change.
4370 Make sure async-start/done messages don't interfere with the bin's
4371 state when it's busy.
4372 After the state change, let the bin check which elements completed the
4373 state change while it was busy so that it can update its state.
4375 2007-06-19 Jan Schmidt <thaytan@mad.scientist.com>
4377 * docs/random/release:
4378 Add a note about updating the doap file to the release checklist
4380 2007-06-18 Wim Taymans <wim@fluendo.com>
4382 * plugins/elements/gstmultiqueue.c: (apply_buffer),
4383 (gst_single_queue_push_one), (gst_multi_queue_chain),
4384 (gst_multi_queue_sink_event):
4385 Make sure we don't reference the buffer/event after we have given away
4386 ownership in the queue.
4388 2007-06-18 Wim Taymans <wim@fluendo.com>
4390 * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
4391 (gst_multi_queue_chain), (gst_multi_queue_sink_event):
4392 Update queue state _after_ adding the item in the queue because else we
4393 could end up being full without the element added yet.
4395 2007-06-18 Wim Taymans <wim@fluendo.com>
4397 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
4398 (gst_bin_remove_func), (gst_bin_get_state_func),
4399 (gst_bin_element_set_state), (gst_bin_continue_func),
4400 (bin_push_state_continue), (bin_handle_async_start),
4401 (bin_handle_async_done), (gst_bin_handle_message_func):
4403 Immediatly commit the toplevel bin state when receiving an async-done
4404 message. This enables us to avoid spawning a thread to commit the state
4405 in some common cases and it also avoids some races.
4406 Avoid spawning a state thread when adding/removing async elements to a
4407 toplevel bin. Instead we immediatly update the bin state.
4408 Get rid of iterating all the children when getting the state in the bin
4409 because it is now always up-to-date.
4410 Fix bug where locked elements would always return _SUCCESS even it they
4411 returned NO_PREROLL before being locked.
4412 Fix the order of the state_change, async-start/done messages that was
4413 sometimes incorrect.
4414 Mark the state_dirty field as deprecated, we don't need it anymore as we
4415 are always up-to-date.
4417 * gst/gstelement.c: (gst_element_get_state_func),
4418 (gst_element_continue_state):
4419 Small debug inprovements.
4420 Return the previous element state return when nothing is pending instead
4421 of blindly returning SUCCESS.
4423 * tests/check/generic/sinks.c: (GST_START_TEST), (pad_blocked_cb),
4425 Add a whole bunch of new testcases.
4427 2007-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
4431 Update translations.
4433 2007-06-15 Jan Schmidt <thaytan@mad.scientist.com>
4436 Fix typo in the docs.
4438 2007-06-15 Wim Taymans <wim@fluendo.com>
4440 * docs/libs/gstreamer-libs-sections.txt:
4441 Add docs for new methods.
4443 2007-06-15 Wim Taymans <wim@fluendo.com>
4445 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_item_destroy),
4446 (gst_multi_queue_item_new):
4447 Don't use GSlice because we don't depend on >= 2.10 yet.
4449 2007-06-15 Wim Taymans <wim@fluendo.com>
4451 * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
4452 (update_time_level), (apply_segment), (apply_buffer),
4453 (gst_single_queue_push_one), (gst_multi_queue_item_new),
4454 (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push),
4455 (gst_multi_queue_sink_event), (single_queue_overrun_cb),
4456 (single_queue_underrun_cb), (single_queue_check_full):
4457 Remove debug printf.
4459 2007-06-15 Wim Taymans <wim@fluendo.com>
4461 * libs/gst/base/gstdataqueue.c: (gst_data_queue_cleanup),
4462 (gst_data_queue_finalize), (gst_data_queue_locked_is_empty),
4463 (gst_data_queue_set_flushing), (gst_data_queue_push),
4464 (gst_data_queue_pop), (gst_data_queue_drop_head),
4465 (gst_data_queue_limits_changed), (gst_data_queue_get_level):
4466 * libs/gst/base/gstdataqueue.h:
4468 Added methods to get the current levels and to inform the queue that the
4469 'full' limits changed.
4471 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
4472 (gst_multi_queue_finalize), (gst_multi_queue_set_property),
4473 (gst_single_queue_flush), (update_time_level), (apply_segment),
4474 (apply_buffer), (gst_single_queue_push_one),
4475 (gst_multi_queue_item_steal_object),
4476 (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
4477 (gst_multi_queue_loop), (gst_multi_queue_chain),
4478 (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
4479 (gst_multi_queue_getcaps), (gst_multi_queue_src_activate_push),
4480 (gst_multi_queue_src_query), (single_queue_overrun_cb),
4481 (single_queue_underrun_cb), (single_queue_check_full),
4482 (gst_single_queue_new):
4483 Keep track of time in the queue by measuring the difference between
4484 running_time on input and output. This gives more accurate results and
4485 can compensate for segments correctly.
4486 Make a queue by default only 5 buffers deep. We will now increase the
4487 buffer size depending on the filledness of the other queues.
4488 Factor out commong flush code.
4489 Make sure we don't add additional refcounts to buffers when we can avoid
4491 Propagate GstFlowReturn differently.
4492 Use GSlice for intermediate GstMultiQueueItems.
4494 Resize queues on over and underruns based on filled level of other
4496 When checking if the queue is filled, prefer to measure in time if we
4497 can and fall back to bytes when no time is known.
4499 * plugins/elements/gstqueue.c:
4502 2007-06-15 Wim Taymans <wim@fluendo.com>
4504 * libs/gst/base/gstbasetransform.c:
4505 (gst_base_transform_sink_event):
4506 Work around the brokenness of the event vmethod in basetransform. Prefer
4507 to return TRUE when the subclass returned FALSE (meaning don't forward
4510 * libs/gst/base/gstbasetransform.h:
4513 2007-06-15 Wim Taymans <wim@fluendo.com>
4515 * gst/gstpad.c: (gst_pad_push_event), (gst_pad_send_event):
4516 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
4517 (gst_base_src_default_query), (gst_base_src_get_range),
4518 (gst_base_src_start):
4519 * tests/check/pipelines/parse-launch.c: (setup_pipeline):
4522 2007-06-15 Stefan Kost <ensonic@users.sf.net>
4524 * docs/pwg/advanced-types.xml:
4525 Added more formats to caps table.
4527 2007-06-15 Stefan Kost <ensonic@users.sf.net>
4529 * tools/gst-launch.c: (main):
4530 Remove crufy code. GOption does not need this workaround.
4532 2007-06-14 Stefan Kost <ensonic@users.sf.net>
4534 * libs/gst/controller/gstcontroller.c:
4535 (gst_controlled_property_set_interpolation_mode):
4536 Fix wrong getter for enums in controller.
4538 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
4540 * libs/gst/check/gstcheck.c: (gst_check_init):
4541 Intercept criticals and warnings in the Gst-Phonon log domain, so
4542 ASSERT_CRITICAL() etc. can be used in gst-phonon's unit tests as
4545 2007-06-14 Edward Hervey <edward@fluendo.com>
4547 * gst/gstparamspecs.c: (_gst_param_fraction_validate):
4548 Since this file doesn't include "gst.h" it will not go through the
4549 macros that disable GST_LOG if debugging was disabled.
4551 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
4553 * libs/gst/check/Makefile.am:
4554 * libs/gst/check/gstcheck.h:
4555 * pkgconfig/gstreamer-check-uninstalled.pc.in:
4556 * pkgconfig/gstreamer-check.pc.in:
4557 Ugly 'fix' for the controller unit test on the p5 bot: in
4558 fail_unless_equals_float() check whether the values are 'almost
4559 equal' by allowing a small absolute error, which should be good
4560 enough for our use cases (normal numbers and values close to 0).
4561 Proper fixage left to floating point arithmetic aficionados.
4563 2007-06-14 Stefan Kost <ensonic@users.sf.net>
4565 * libs/gst/base/gstbasesink.c: (gst_base_sink_reset_qos),
4566 (gst_base_sink_render_object), (gst_base_sink_get_position):
4567 Add two breaks thats where missing.
4569 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
4571 * docs/libs/gstreamer-libs-sections.txt:
4572 * libs/gst/check/gstcheck.h:
4573 API: add fail_unless_equals_float() and assert_equals_float().
4574 Add documentation for some of the macros.
4576 * tests/check/libs/controller.c: (GST_START_TEST):
4577 Use newly-added asserts.
4579 2007-06-14 Stefan Kost <ensonic@users.sf.net>
4581 * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_push):
4582 Show the caps change in the log to help spotting the case of not
4583 exactly matching caps.
4585 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
4587 * docs/pwg/building-boiler.xml:
4588 Fix typos, spotted by Thijs Vermeir (#447190).
4590 2007-06-13 Jan Schmidt <thaytan@mad.scientist.com>
4592 * docs/plugins/tmpl/.cvsignore:
4593 Ignore file to keep the buildbots happy
4595 2007-06-13 Jan Schmidt <thaytan@mad.scientist.com>
4597 * docs/plugins/Makefile.am:
4598 * docs/plugins/gstreamer-plugins-docs.sgml:
4599 * docs/plugins/gstreamer-plugins-sections.txt:
4600 Pull fdsink into the docs too.
4602 2007-06-11 Sebastian Dröge <slomo@circular-chaos.org>
4604 * libs/gst/controller/gstinterpolation.c:
4605 Actually use the new functions with min/max checks for the trigger and
4606 none interpolation modes for get() and get_value_array() instead of
4609 2007-06-10 Sebastian Dröge <slomo@circular-chaos.org>
4611 * libs/gst/controller/gstcontroller.c:
4612 (gst_controlled_property_free):
4613 Unset the minimum and maximum GValues when freeing the corresponding
4614 GstControllerProperty struct.
4616 2007-06-09 Sebastian Dröge <slomo@circular-chaos.org>
4618 * libs/gst/controller/gstcontroller.c:
4619 (gst_controlled_property_new):
4620 * libs/gst/controller/gstcontrollerprivate.h:
4621 * libs/gst/controller/gstinterpolation.c:
4622 (gst_controlled_property_find_control_point_node),
4623 (interpolate_none_get), (interpolate_none_get_enum_value_array),
4624 (interpolate_none_get_string_value_array),
4625 (interpolate_trigger_get),
4626 (interpolate_trigger_get_enum_value_array),
4627 (interpolate_trigger_get_string_value_array):
4628 Protect against values larger or smaller than the minimum or maximum
4629 allowed value for the property when using values that can be compared.
4631 Optimize trigger interpolator a bit by taking the last requested value
4632 into account instead of always looping through the complete list.
4634 Fix coding style a bit, everywhere else we use "return foo" instead
4637 * tests/check/libs/controller.c: (GST_START_TEST),
4638 (gst_controller_suite):
4639 Add unit test for the protection against too large or too small
4642 2007-06-08 Sebastian Dröge <slomo@circular-chaos.org>
4644 * docs/random/slomo/controller.txt:
4645 Add some thoughts about the future of the controller.
4647 2007-06-08 Wim Taymans <wim@fluendo.com>
4649 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
4650 Don't overflow in retimestamping code.
4652 2007-06-07 Sebastien Moutte <sebastien@moutte.net>
4654 * libs/gst/controller/gstinterpolation.c: (DEFINE_CUBIC_GET):
4655 Use gst_util_guint64_to_gdouble for conversions.
4656 * win32/common/libgstreamer.def:
4657 Add new exported functions.
4659 2007-06-07 Tim-Philipp Müller <tim at centricular dot net>
4662 Small docs addition.
4664 2007-06-07 Stefan Kost <ensonic@users.sf.net>
4667 Remove that test line again.
4669 2007-06-07 Stefan Kost <ensonic@users.sf.net>
4672 Test commit mail sending.
4674 2007-06-07 Stefan Kost <ensonic@users.sf.net>
4677 Fix typo and test commit mail sending.
4679 2007-06-07 Stefan Kost <ensonic@users.sf.net>
4681 * tests/examples/controller/audio-example.c:
4682 Improve comment and test commit mail sending.
4684 2007-06-07 Wim Taymans <wim@fluendo.com>
4686 * gst/gstbin.c: (find_message), (bin_replace_message), (is_eos),
4687 (gst_bin_remove_func), (gst_bin_element_set_state),
4688 (bin_handle_async_start), (bin_handle_async_done),
4689 (gst_bin_handle_message_func):
4690 Add helper function to find messages.
4691 Generate the async-done messages together with the state change
4693 Small cleanups in handling toplevel bins.
4695 2007-06-06 Tim-Philipp Müller <tim at centricular dot net>
4697 * libs/gst/base/gstdataqueue.c:
4698 * libs/gst/base/gstdataqueue.h:
4699 * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
4700 (gst_multi_queue_item_new), (gst_multi_queue_chain),
4701 (gst_multi_queue_sink_event):
4702 * tests/check/elements/multiqueue.c: (multiqueue_suite):
4703 Fix multiqueue leaking buffers and events when downstream or the
4704 queue are flushing. Make refcounting assumptions explicit and
4705 document them (shouldn't break existing code that uses it other than
4706 maybe leak miniobjects, but that already happens anyway). Add unit
4707 test for the most common flushing case. Fixes #423700.
4709 2007-06-06 Sebastian Dröge <slomo@circular-chaos.org>
4711 * libs/gst/controller/gstcontroller.c:
4712 Clarify docs: The get_all, get_value_array(s) functions
4713 don't modify the GObject properties.
4715 2007-06-06 Sebastian Dröge <slomo@circular-chaos.org>
4717 * libs/gst/controller/gstcontroller.c:
4718 (gst_controlled_property_set_interpolation_mode),
4719 (gst_controlled_property_prepend_default),
4720 (gst_controlled_property_new), (gst_controller_set_unlocked),
4721 (gst_controller_set), (gst_controller_set_from_list),
4722 (gst_controller_unset), (gst_controller_unset_all):
4723 * libs/gst/controller/gstcontrollerprivate.h:
4724 * libs/gst/controller/gstinterpolation.c:
4725 Factor out the 'set' logic into gst_controller_set_unlocked for the
4726 gst_controller_set and gst_controller_set_from_list functions.
4728 To make life of the interpolators easier always add a control point
4729 at timestamp zero with the default value.
4731 In the linear interpolator make things more obvious by better variable
4734 Implement cubic interpolation mode (by using a natural cubic spline)
4735 and map the quadratic interpolation mode to this too (as quadratic
4736 doesn't make much sense, see discussion on the list).
4738 * tests/check/libs/controller.c: (GST_START_TEST),
4739 (gst_controller_suite):
4740 Add unit test for the cubic interpolation mode and check everywhere
4741 if the interpolation mode could be set as expected.
4743 2007-06-06 Tim-Philipp Müller <tim at centricular dot net>
4745 * gst/gstparamspecs.c: (gst_param_spec_fraction_get_type):
4746 Don't use GLib-2.10 functions, we still depend on
4747 GLib-how-old-is-it-again-2.8.
4749 2007-06-06 Tim-Philipp Müller <tim at centricular dot net>
4751 * docs/gst/gstreamer-sections.txt:
4755 * gst/gstparamspecs.c: (_gst_param_fraction_init),
4756 (_gst_param_fraction_set_default), (_gst_param_fraction_validate),
4757 (_gst_param_fraction_values_cmp),
4758 (gst_param_spec_fraction_get_type), (gst_param_spec_fraction):
4759 * gst/gstparamspecs.h:
4761 * tests/check/Makefile.am:
4762 * tests/check/gst/.cvsignore:
4763 * tests/check/gst/gstparamspecs.c: (gst_dummy_obj_base_init),
4764 (gst_dummy_obj_class_init), (gst_dummy_obj_init),
4765 (gst_dummy_obj_set_property), (gst_dummy_obj_get_property),
4766 (GST_START_TEST), (gst_param_spec_suite):
4767 API: add GstParamSpecFraction, so elements can have fraction
4768 properties without lots of painful string parsing (#444648).
4770 2007-06-05 Wim Taymans <wim@fluendo.com>
4772 * gst/gstobject.c: (gst_object_class_init):
4773 Fix signal signature.
4776 Add small clarification in the api docs.
4778 * plugins/elements/gstfilesrc.c: (gst_file_src_set_location):
4779 States are protected with object lock.
4781 2007-06-05 Jan Schmidt <thaytan@mad.scientist.com>
4784 I should probably be listed as an author by now.
4786 * docs/random/release:
4787 Update the release doc
4789 2007-06-05 Tim-Philipp Müller <tim at centricular dot net>
4792 Make docs for gst_value_compare() mention return enums that
4795 2007-06-05 Jan Schmidt <thaytan@mad.scientist.com>
4800 === release 0.10.13 ===
4802 2007-06-05 Jan Schmidt <thaytan@mad.scientist.com>
4805 releasing 0.10.13, "With or without you"
4807 2007-05-25 Wim Taymans <wim@fluendo.com>
4809 * gst/gstbin.c: (bin_handle_async_done):
4810 Make sure that the child bin stops after completing the async state
4811 change so that the parent can continue the state change to PLAYING.
4814 2007-05-25 Wim Taymans <wim@fluendo.com>
4816 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
4817 (unref_data), (gst_collect_pads_remove_pad),
4818 (gst_collect_pads_check_pads):
4819 Use additional refcounting to avoid crashes when dynamically adding and
4820 removing pads. Fixes #420206.
4822 2007-05-24 Wim Taymans <wim@fluendo.com>
4824 * tools/gst-launch.c: (event_loop):
4825 When buffering goes from a two digit to a single digit number, make sure
4826 to remove the old second digit by writing a blank over it.
4828 2007-05-24 Tim-Philipp Müller <tim at centricular dot net>
4830 * libs/gst/base/gstdataqueue.c:
4831 Eliminate tabs and trailing comma in enum list; fix some typos.
4833 2007-05-24 Wim Taymans <wim@fluendo.com>
4835 * tests/check/gst/gstbin.c: (GST_START_TEST):
4836 Allow refcount of 3 and 4 because some state thread might still be busy
4839 2007-05-24 Tim-Philipp Müller <tim at centricular dot net>
4841 * plugins/elements/Makefile.am:
4842 * plugins/elements/gstmultiqueue.h:
4843 * plugins/elements/gstqueue.h:
4844 These are not installed headers, no need for padding.
4846 2007-05-24 Wim Taymans <wim@fluendo.com>
4848 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
4849 (gst_bin_continue_func):
4850 Enable latency for next release.
4851 Restore STATE_LOCK around recalc_state that was left out during the
4852 rewrite and could result in racy behaviour when _get_state and
4853 recalc_state are run concurrently. See #440463.
4855 2007-05-23 Wim Taymans <wim@fluendo.com>
4857 * tests/check/gst/gstsystemclock.c: (store_callback),
4859 Improve test_async_order to also work when both timers are already
4860 expired when we get scheduled to check it.
4862 2007-05-22 Tim-Philipp Müller <tim at centricular dot net>
4864 * gst/gstbin.c: (gst_bin_init), (gst_bin_dispose),
4865 (gst_bin_set_property), (gst_bin_get_property),
4866 (gst_bin_remove_func), (gst_bin_handle_message_func):
4868 'private' is a c++ keyword, let's not use that in header files,
4869 otherwise c++ compilers will throw a tantrum.
4871 2007-05-22 Tim-Philipp Müller <tim at centricular dot net>
4873 * plugins/elements/gstelements.c:
4874 * plugins/elements/gstfilesink.c: (gst_file_sink_do_seek),
4875 (gst_file_sink_get_current_offset):
4876 * plugins/indexers/gstindexers.c: (plugin_init):
4877 Use #ifdef for HAVE_XYZ for consistency.
4879 * tests/check/Makefile.am:
4880 * tests/check/elements/.cvsignore:
4881 * tests/check/elements/filesink.c: (setup_filesink),
4882 (cleanup_filesink), (GST_START_TEST), (filesink_suite):
4883 Add some unit tests for filesink.
4885 2007-05-22 Tim-Philipp Müller <tim at centricular dot net>
4887 Patch by: Mark Nauwelaerts <manauw at skynet be>
4889 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
4890 (gst_file_sink_query), (gst_file_sink_do_seek),
4891 (gst_file_sink_get_current_offset), (gst_file_sink_render):
4892 * plugins/elements/gstfilesink.h:
4893 Fix position reporting; rename data_written member to current_pos to
4894 reflect its real meaning (fixes #412648).
4896 2007-05-22 Edward Hervey <edward@fluendo.com>
4898 * docs/gst/gstreamer-sections.txt:
4899 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
4900 (gst_bin_dispose), (gst_bin_set_property), (gst_bin_get_property),
4901 (gst_bin_remove_func), (gst_bin_handle_message_func):
4903 Add a property for bins that handle the state change of their childs.
4906 2007-05-22 Sebastian Dröge <slomo@circular-chaos.org>
4908 * libs/gst/controller/gstinterpolation.c:
4909 Use an array of the correct type when using _get_value_array with
4910 linear interpolation.
4912 2007-05-22 Stefan Kost <ensonic@users.sf.net>
4914 * gst/gstelement.c (gst_element_requires_clock,
4915 gst_element_provides_clock, gst_element_request_pad,
4916 gst_element_class_set_details, gst_element_class_set_details_simple,
4917 gst_element_default_send_event, gst_element_abort_state,
4918 gst_element_continue_state, gst_element_set_state,
4919 gst_element_set_state_func, iterator_activate_fold_with_resync):
4920 * gst/gstpad.c (gst_pad_activate_pull, gst_pad_set_getcaps_function,
4921 gst_pad_fixate_caps, gst_pad_configure_sink, gst_pad_configure_src,
4922 gst_pad_query, gst_pad_save_thyself, handle_pad_block, gst_pad_push,
4923 gst_pad_get_range, gst_pad_pull_range):
4924 * gst/gstpad.h (GST_PAD_LINK_SUCCESSFUL, GST_FLOW_CUSTOM_SUCCESS,
4925 GST_FLOW_NOT_SUPPORTED, GST_FLOW_IS_FATAL, GstPadActivateFunction,
4926 GstPadActivateModeFunction, GstPadChainFunction,
4927 GstPadGetCapsFunction, GstPadAcceptCapsFunction,
4928 GstPadFixateCapsFunction, GstPadTemplate):
4929 * gst/gstpipeline.c (gst_pipeline_change_state,
4930 gst_pipeline_set_new_stream_time, gst_pipeline_use_clock,
4931 gst_pipeline_set_clock, gst_pipeline_auto_clock,
4932 gst_pipeline_get_delay):
4933 Whitespace and docs fixes.
4935 2007-05-21 Sebastian Dröge <slomo@circular-chaos.org>
4937 * libs/gst/controller/gstinterpolation.c:
4938 (interpolate_trigger_get_enum_value_array),
4939 (interpolate_trigger_get_string_value_array):
4940 Add support for retrieving value arrays when using the trigger
4943 2007-05-21 Sebastian Dröge <slomo@circular-chaos.org>
4945 * libs/gst/controller/gstcontroller.c:
4946 (gst_controller_get_value_array):
4947 * libs/gst/controller/gstcontroller.h:
4948 Clarify the docs of gst_controller_get_value_array(): The array where
4949 the values should be written to must be allocated as there seems to be
4950 no way to get the size of a random GType. This doesn't change any
4951 behaviour. Also fix some typos all over the place and remove an unused,
4952 commented function that is not necessary as g_object_set() could be
4954 * tests/check/libs/controller.c: (GST_START_TEST),
4955 (gst_controller_suite):
4956 Add unit test for gst_controller_get_value_array().
4958 2007-05-21 Jan Schmidt <thaytan@mad.scientist.com>
4960 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
4962 Disable part of the gst_buffer_try_new_and_alloc test, because
4963 it can happily succeed on 64-bit systems where there's more address
4966 2007-05-21 Sebastian Dröge <slomo@circular-chaos.org>
4968 * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
4969 Add unit test for the improved caps checking from bug #421543.
4971 2007-05-21 Wim Taymans <wim@fluendo.com>
4973 * docs/design/part-synchronisation.txt:
4976 * gst/gstbin.c: (gst_bin_query):
4977 * plugins/elements/gstqueue.c: (apply_segment):
4983 2007-05-21 Wim Taymans <wim@fluendo.com>
4985 * gst/gstpad.c: (gst_pad_get_caps_unlocked),
4986 (gst_pad_acceptcaps_default), (gst_pad_configure_sink),
4987 (gst_pad_configure_src):
4988 Added simple version of improved caps checking. It was previously
4989 assumed that a setcaps function would check the validity of the caps but
4990 people prefer us to check caps against the template automatically.
4993 2007-05-21 Wim Taymans <wim@fluendo.com>
4995 * libs/gst/base/gstbasetransform.h:
4996 Fix macro for locking/unlocking the transform lock.
4998 2007-05-19 Tim-Philipp Müller <tim at centricular dot net>
5000 * docs/plugins/tmpl/.cvsignore:
5003 2007-05-18 Edward Hervey <edward@fluendo.com>
5005 * plugins/elements/gstqueue.c: (gst_queue_loop):
5006 Hello, I am Mr Taymans' personal debugger. Today I will introduce a fix
5007 for the subtle art of warning a potentially blocking thread that it
5008 should check the source pad return value, and relay the information
5011 2007-05-18 Edward Hervey <edward@fluendo.com>
5013 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
5014 Release the queue lock !
5016 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
5018 * docs/libs/gstreamer-libs-sections.txt:
5019 Add the two new controller functions to the appropiate places.
5021 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
5023 reviewed by: Stefan Kost <ensonic@users.sf.net>
5025 * libs/gst/controller/gstcontroller.c:
5026 (gst_controller_suggest_next_sync), (gst_controller_sync_values),
5027 (_gst_controller_get_property), (_gst_controller_set_property),
5028 (_gst_controller_init), (_gst_controller_class_init):
5029 * libs/gst/controller/gstcontroller.h:
5030 * libs/gst/controller/gsthelper.c: (gst_object_suggest_next_sync),
5031 (gst_object_get_control_rate), (gst_object_set_control_rate):
5032 API: gst_controller_suggest_next_sync(), gst_object_suggest_next_sync()
5033 Add API that provides sync suggestion timestamps for elements that
5034 call gst_object_sync_values() from which those elements can subdivide
5035 their processing loop to get the best results for the controlled
5036 properties. For now it just suggests last_sync + control_rate as
5037 new timestamp but this will be improved in the future.
5039 While doing that change the control-rate property to a GstClockTime
5040 from guint and change it's meaning from samples to nanoseconds as
5041 the GstController doesn't know anything about sampling rate. Strictly
5042 speaking this breaks ABI but as the control-rate property didn't do
5043 anything in the past and as such couldn't be used this should be no
5046 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
5048 reviewed by: Stefan Kost <ensonic@users.sf.net>
5050 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
5051 (gst_controller_unset_all):
5052 * libs/gst/controller/gstcontrollerprivate.h:
5053 * libs/gst/controller/gstinterpolation.c:
5054 (gst_controlled_property_find_control_point_node):
5055 Save last synced value from the list to continue searching from there
5056 in future syncs. This speeds everything up a bit.
5058 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
5060 reviewed by: Stefan Kost <ensonic@users.sf.net>
5062 * libs/gst/controller/gstcontroller.c: (gst_control_point_compare),
5063 (gst_control_point_find), (gst_controlled_property_new),
5064 (gst_control_point_free), (gst_controlled_property_free),
5065 (gst_controller_set), (gst_controller_set_from_list),
5066 (gst_controller_unset), (gst_controller_unset_all),
5067 (gst_controller_sync_values):
5068 * libs/gst/controller/gstcontroller.h:
5069 * libs/gst/controller/gstcontrollerprivate.h:
5070 * libs/gst/controller/gstinterpolation.c:
5071 (gst_controlled_property_find_control_point_node),
5072 (interpolate_none_get), (interpolate_trigger_get):
5073 Add a new private GstControlPoint struct which "inherits" from
5074 GstTimedValue to allow different interpolators to store internal
5075 values next to each control point. From the outside everything is
5076 still a GstControlPoint so we don't loose binary compatibility.
5077 Also fixup all the GValue handling to not leak GValues or list nodes.
5078 * tests/check/libs/controller.c: (GST_START_TEST):
5079 Free the list nodes and GValues in the controller_misc test.
5081 2007-05-17 Edward Hervey <edward@fluendo.com>
5086 2007-05-16 Tim-Philipp Müller <tim at centricular dot net>
5088 * gst/gstplugin.c: (gst_plugin_load_file):
5089 If we fail to load a plugin because of unresolved symbols or missing
5090 libraries and spew a warning to stderr, we may just as well mention
5091 which plugin it was that failed to load.
5093 2007-05-13 David Schleef <ds@schleef.org>
5095 * docs/Makefile.am: the gtk-doc makefile snippet correctly
5096 handles the case when ENABLE_GTK_DOC is false, and installs
5097 the prebuilt documentation. So gtk-doc subdirs are
5098 unconditionally enabled. Fixes: #349099.
5100 2007-05-13 David Schleef <ds@schleef.org>
5102 * gst/gstutils.h: Reword some documentation.
5104 2007-05-12 David Schleef <ds@schleef.org>
5106 * gst/gstplugin.c: gst_plugin_register_func() doesn't actually
5107 do anything with the passed "module" parameter, so remove it.
5108 Allows removal of additional vestigal code.
5110 2007-05-12 David Schleef <ds@schleef.org>
5113 Using sigaction should depend on HAVE_SIGACTION, not HAVE_WIN32.
5114 Switch to using g_stat() because it's more portable.
5116 2007-05-12 David Schleef <ds@schleef.org>
5119 Add GST_DISABLE_OPTION_PARSING, in order to disable option
5120 parsing for embedded systems.
5121 * gst/gstelementfactory.c:
5122 Allow gst_element_register() to be called with plugin==NULL.
5123 Did nobody notice that static elements were broken?
5125 2007-05-12 Wim Taymans <wim@fluendo.com>
5127 * tools/gst-launch.c: (event_loop):
5128 Give more interesting info when buffering starts and stops.
5129 Fix case where buffering starts but we fail to update the buffering flag
5130 because the target state is not PLAYING.
5132 2007-05-12 Wim Taymans <wim@fluendo.com>
5134 * plugins/elements/gstqueue.c: (gst_queue_init),
5135 (gst_queue_finalize), (update_time_level), (apply_segment),
5136 (apply_buffer), (gst_queue_locked_flush),
5137 (gst_queue_locked_enqueue), (gst_queue_locked_dequeue),
5138 (gst_queue_handle_sink_event), (gst_queue_chain),
5139 (gst_queue_push_one), (gst_queue_loop):
5140 * plugins/elements/gstqueue.h:
5141 Refactor an cleanup queue a bit.
5142 Do better time level calculations that also work when the srcpad is not
5144 Remove some unneeded debug lines.
5146 * tests/check/elements/queue.c: (GST_START_TEST), (queue_suite):
5147 Added testcase for time level measurement.
5148 Try to make some stuff more racefree.
5150 2007-05-11 Tim-Philipp Müller <tim at centricular dot net>
5152 * gst/gsturi.c: (gst_element_make_from_uri):
5153 Don't leak plugin feature.
5155 * tests/check/Makefile.am:
5156 * tests/check/gst/.cvsignore:
5157 * tests/check/gst/gsturi.c: (GST_START_TEST), (gst_uri_suite):
5158 Add brain-dead unit test.
5160 2007-05-11 Tim-Philipp Müller <tim at centricular dot net>
5162 Patch by: Jeroen Wouters <woutersj at gmail com>
5164 * gst/gsturi.c: (gst_uri_get_protocol), (search_by_entry):
5165 Treat protocol strings in a case-insensitive way (#437563).
5167 2007-05-11 Michael Smith <msmith@fluendo.com>
5169 * gst/gstplugin.c: (gst_plugin_load_file):
5170 * gst/gstregistry.c: (gst_registry_scan_path_level):
5171 Don't print a g_warning for any failure to load a shared object.
5172 Instead, push this down into gstplugin.c, and warn _only_ if we
5173 failed to open the module (i.e. failure to link).
5174 Avoids warnings on normal, working, non-plugin .so files.
5176 2007-05-11 Stefan Kost <ensonic@users.sf.net>
5178 * gst/gstplugin.c (gst_plugin_load_file):
5179 * gst/gstregistry.c (GST_CAT_DEFAULT,
5180 gst_registry_lookup_feature_locked, gst_registry_scan_path_level):
5181 Print a g_warning if there was an error when loading a plugins during
5182 registry scan. The shuld help beginners starting with gst-plugin
5185 2007-05-10 Wim Taymans <wim@fluendo.com>
5187 * plugins/elements/gstqueue.c: (gst_queue_class_init),
5188 (update_time_level), (gst_queue_locked_flush),
5189 (gst_queue_handle_sink_event), (gst_queue_chain),
5190 (gst_queue_push_one), (gst_queue_loop):
5191 * plugins/elements/gstqueue.h:
5192 Be smarter when calculating the current amount of data in the queue by
5193 measuring the difference between start and end timestamps (in running
5194 time) inside the queue. Fixes #432876.
5195 API: GstQueue::pushing to notify elements that we are pushing data again
5196 since the running signal is rather broken for this purpose.
5198 2007-05-10 Stefan Kost <ensonic@users.sf.net>
5200 * plugins/elements/gstqueue.c (_do_init, gst_queue_signals,
5201 gst_queue_base_init, gst_queue_init):
5204 2007-05-09 Sebastien Moutte <sebastien@moutte.net>
5206 * win32/common/libgstreamer.def:
5207 Add new exported functions.
5208 * win32/vs6/grammar.dsp:
5209 Use grammar pre-generated files.
5211 2007-05-09 Tim-Philipp Müller <tim at centricular dot net>
5213 Based on patch by: Peter Kjellerstedt <pkj at axis com>
5216 * gst/gstparse.c: (gst_parse_launchv), (gst_parse_launch):
5218 * gst/gstutils.c: (gst_parse_bin_from_description):
5220 Maintain API and ABI when --disable-parse is used. Now that
5221 we have an appropriate error code, we can just return NULL and the
5222 appropriate error when gst_parse_launch() is used despite it having
5223 been disabled (#342564).
5225 * tests/check/Makefile.am:
5226 * tests/check/pipelines/.cvsignore:
5227 * tests/check/pipelines/parse-disabled.c:
5228 Make sure these functions exist and return NULL plus a GError when
5229 --disable-parse is used.
5231 2007-05-09 Tim-Philipp Müller <tim at centricular dot net>
5233 * tests/benchmarks/complexity.c: (main):
5234 * tests/benchmarks/mass-elements.c: (main):
5235 Set a good example and don't leak messages.
5237 2007-05-06 Stefan Kost <ensonic@users.sf.net>
5239 * docs/gst/Makefile.am:
5240 * docs/libs/Makefile.am:
5241 Correct fixxrefs options.
5243 * docs/plugins/Makefile.am:
5244 * docs/plugins/gstreamer-plugins-docs.sgml:
5245 * docs/plugins/gstreamer-plugins-sections.txt:
5246 * plugins/elements/Makefile.am:
5247 * plugins/elements/gstcapsfilter.c (gst_capsfilter_details):
5248 * plugins/elements/gstcapsfilter.h (__GST_CAPSFILTER_H__,
5249 GST_TYPE_CAPSFILTER, GST_CAPSFILTER, GST_CAPSFILTER_CLASS,
5250 GST_IS_CAPSFILTER, GST_IS_CAPSFILTER_CLASS, GstCapsFilter,
5251 GstCapsFilterClass, _GstCapsFilter, trans, filter_caps,
5252 _GstCapsFilterClass, trans_class):
5253 * plugins/elements/gstelements.c (name, rank, type, _elements):
5254 * plugins/elements/gstidentity.c
5255 (gst_identity_check_imperfect_timestamp,
5256 gst_identity_check_imperfect_offset):
5257 Document capsfilter and add doc-blurb to identity.
5259 2007-05-04 Tim-Philipp Müller <tim at centricular dot net>
5261 * libs/gst/controller/gstcontroller.c:
5262 (gst_controlled_property_set_interpolation_mode):
5263 * libs/gst/controller/gstinterpolation.c:
5264 Don't crash if someone tries to set an interpolation mode that
5265 is invalid or that isn't supported yet. Fixes #422295.
5267 * tests/check/libs/controller.c: (GST_START_TEST),
5268 (gst_controller_suite):
5269 Add a test case for the above.
5271 2007-05-03 Edward Hervey <edward@fluendo.com>
5273 * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
5274 Properly set the last_stop position on GstSegment. This will only happen
5275 if there is a buffer to push out.
5277 2007-05-03 Wim Taymans <wim@fluendo.com>
5279 * libs/gst/base/gstbasetransform.c:
5280 (gst_base_transform_buffer_alloc):
5281 always_in_place does not mean that the sink and source caps are the
5282 same! Make sure we don't blindly proxy the buffer_alloc in this case.
5284 2007-05-03 Wim Taymans <wim@fluendo.com>
5286 * docs/libs/gstreamer-libs-sections.txt:
5287 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
5288 (gst_base_src_default_query), (gst_base_src_get_range):
5289 * libs/gst/base/gstbasesrc.h:
5290 API: gst_base_src_query_latency(). Added method so that subclasses can
5291 easily get the latency values of the base source class.
5293 2007-05-02 Zaheer Abbas Merali <<zaheerabbas at merali dot org>>
5295 * tools/gst-inspect.c (print_implementation_info):
5298 2007-05-02 Tim-Philipp Müller <tim at centricular dot net>
5300 * tools/Makefile.am:
5301 * tools/gst-launch.1.in:
5302 Don't create a customised man page based on the host architecture,
5303 describe the default registry path generically. That way the man
5304 page is the same for all architectures and packagers have one
5305 multilib issue less to deal with. Fixes #434926.
5307 2007-05-02 Wim Taymans <wim@fluendo.com>
5310 Fix documentation as spotted by rg on IRC.
5312 2007-04-29 Stefan Kost <ensonic@users.sf.net>
5315 Improve docs for gst_element_{link,unlink}.
5317 2007-04-28 Tim-Philipp Müller <tim at centricular dot net>
5319 * docs/design/part-events.txt:
5320 * docs/design/part-overview.txt:
5324 * libs/gst/base/gstbasesink.c:
5325 Typo fixes; minor docs addition.
5327 2007-04-27 Sebastian Dröge <slomo@circular-chaos.org>
5329 * docs/gst/gstreamer-sections.txt:
5330 * gst/gsturi.c: (get_element_factories_from_uri_protocol),
5331 (gst_uri_protocol_is_supported), (gst_element_make_from_uri):
5333 API: Add gst_uri_protocol_is_supported(), which checks if a sink
5334 or src that supports a given URI protocol exists.
5336 2007-04-27 Sebastian Dröge <slomo@circular-chaos.org>
5338 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
5339 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
5340 Set the location to NULL if "file://" is set as URI. Otherwise
5341 some random previous URI would still be set if "file://" is
5342 set on an already used filesink/filesrc.
5344 2007-04-27 Sebastian Dröge <slomo@circular-chaos.org>
5346 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
5347 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
5348 Special case the "file://" URI as as this is used by some
5349 applications to test with gst_element_make_from_uri if there's
5350 an element that supports the URI protocol.
5351 Also move the g_path_is_absolute() check for the location part
5352 of the URI to also check this for "file://localhost/bla" URIs.
5354 2007-04-26 Tim-Philipp Müller <tim at centricular dot net>
5356 * docs/gst/gstreamer-sections.txt:
5357 * gst/gstbuffer.c: (gst_buffer_try_new_and_alloc):
5359 * tests/check/gst/gstbuffer.c: (GST_START_TEST),
5361 API: add gst_buffer_try_new_and_alloc() plus unit test (#431940).
5363 2007-04-26 Stefan Kost <ensonic@users.sf.net>
5365 * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
5366 (gst_registry_binary_load_pad_template),
5367 (gst_registry_binary_load_plugin),
5368 (gst_registry_binary_read_cache):
5369 * gst/gstregistrybinary.h:
5370 Implement no-mmap alternative for registry reading. Do code cleanups.
5371 Add more comments about avoiding strdups for all text data. Comments
5374 2007-04-25 Stefan Kost <ensonic@users.sf.net>
5376 * gst/gstregistrybinary.h (GstBinaryPluginElement,
5377 GstBinaryPluginFeature, _GstBinaryElementFactory, plugin_feature,
5378 GstBinaryElementFactory, _GstBinaryTypeFindFactory, plugin_feature):
5379 Comment structs and reformat to fix the build (that stuff should go
5380 into a priv. header).
5382 2007-04-25 Stefan Kost <ensonic@users.sf.net>
5384 * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
5385 (gst_registry_binary_load_feature):
5386 * gst/gstregistrybinary.h:
5387 Refactor so that we can implement multiple features. Add support for
5388 TypeFindFactory features.
5390 2007-04-24 Stefan Kost <ensonic@users.sf.net>
5392 Patch by: Peter Kjellerstedt <Peter.Kjellerstedt@axis.com>
5395 Fix AM_CONDITIONAL(GST_DISABLE_GST_DEBUG,...) and update comment.
5397 2007-04-23 Stefan Kost <ensonic@users.sf.net>
5399 * gst/gstbin.c: (gst_bin_element_set_state),
5400 (iterator_activate_fold_with_resync), (gst_bin_continue_func),
5401 (bin_handle_async_done), (gst_bin_handle_message_func):
5402 Fix build with --gst-disable-gst-debug
5404 2007-04-21 Tim-Philipp Müller <tim at centricular dot net>
5406 * libs/gst/base/gstbasetransform.c: (gst_base_transform_activate):
5407 Make sure streaming has finished before calling the ::stop() vfunc,
5408 since that vfunc might clear state which is being used in the
5409 streaming thread. This fixes a race that caused crashes in
5410 audioresample when shutting down a pipeline (#420106).
5412 2007-04-20 Stefan Kost <ensonic@users.sf.net>
5414 * docs/gst/gstreamer-sections.txt:
5415 That was one byte missing.
5417 2007-04-20 Stefan Kost <ensonic@users.sf.net>
5420 * docs/gst/gstreamer-sections.txt:
5422 * gst/gstconfig.h.in:
5423 * gst/gstobject.c: (gst_object_class_init),
5424 (gst_signal_object_class_init):
5426 2nd attempt to have a xml-less build as a joined effort of #413123
5429 2007-04-20 Stefan Kost <ensonic@users.sf.net>
5431 * docs/design/draft-tagreading.txt:
5432 Added open issues/thoughts to draft.
5434 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
5436 * gst/parse/grammar.tab.pre.c:
5437 * gst/parse/grammar.tab.pre.h:
5438 * gst/parse/lex._gst_parse_yy.pre.c:
5439 Update the prebuild parser sources.
5441 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
5443 * gst/parse/Makefile.am:
5444 And now fix the building of the flex sources. Now everything should
5447 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
5449 * gst/parse/Makefile.am:
5450 Now hopefully fix the build failures by setting proper rule
5451 dependencies and moving instead of copying.
5453 2007-04-19 Stefan Kost <ensonic@users.sf.net>
5455 * tests/benchmarks/complexity.gnuplot:
5456 * tests/benchmarks/complexity.scm:
5457 * tests/benchmarks/mass-elements.gnuplot:
5458 * tests/benchmarks/mass-elements.scm:
5459 Total licensification.
5461 2007-04-19 Stefan Kost <ensonic@users.sf.net>
5463 * gst/parse/Makefile.am:
5464 Fix the build by correcting the rule that gave wrong files to flex.
5466 2007-04-19 Stefan Kost <ensonic@users.sf.net>
5468 * tests/benchmarks/complexity.c:
5469 * tests/benchmarks/mass-elements.c:
5470 Change licence to LGPL as granted by Benjamin and Andy.
5472 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
5474 * gst/parse/Makefile.am:
5475 Add correct grammar.tab.h dependency if compiling without new enough
5476 flex. Fixes #431150.
5478 2007-04-18 Sebastian Dröge <slomo@circular-chaos.org>
5480 * gst/parse/Makefile.am:
5481 Fix typo and use outdated sources if the flex/bison sources are newer
5482 than the pregenerated ones but flex is too old. Print a warning in
5483 that case. This should fix the build on the build bot.
5485 2007-04-18 Sebastian Dröge <slomo@circular-chaos.org>
5487 Patch by: Marc-Andre Lureau <marcandre dot lureau at gmail dot com>
5488 * gst/parse/Makefile.am:
5489 * gst/parse/grammar.y:
5490 * gst/parse/parse.l:
5491 Make the parser reentrant and recursively callable. This requires flex
5492 >= 2.5.31, for older versions pregenerated sources are used as we
5493 can't bump the build dependency. Finally fixes #349180.
5495 * gst/gstparse.c: (gst_parse_launch):
5496 Drop the HAVE_MT_SAVE_FLEX #ifdefs as we always use a new enough flex
5499 * docs/gst/Makefile.am:
5500 * docs/gst/Makefile.am:
5501 * gst/parse/grammar.tab.pre.c: (__gst_parse_strdup),
5502 (__gst_parse_strfree), (__gst_parse_link_new),
5503 (__gst_parse_link_free), (__gst_parse_chain_new),
5504 (__gst_parse_chain_free), (SET_ERROR), (YYPRINTF),
5505 (gst_parse_element_set), (gst_parse_free_link),
5506 (gst_parse_found_pad), (gst_parse_perform_delayed_link),
5507 (gst_parse_perform_link), (yytnamerr), (yysyntax_error), (yyerror),
5508 (_gst_parse_launch):
5509 * gst/parse/grammar.tab.pre.h:
5510 * gst/parse/lex._gst_parse_yy.pre.c: (PRINT), (yy_get_next_buffer),
5511 (yy_get_previous_state), (yy_try_NUL_trans), (input),
5512 (_gst_parse_yyrestart), (_gst_parse_yy_switch_to_buffer),
5513 (_gst_parse_yy_load_buffer_state), (_gst_parse_yy_create_buffer),
5514 (_gst_parse_yy_delete_buffer), (_gst_parse_yy_init_buffer),
5515 (_gst_parse_yy_flush_buffer), (_gst_parse_yypush_buffer_state),
5516 (_gst_parse_yypop_buffer_state),
5517 (_gst_parse_yyensure_buffer_stack), (_gst_parse_yy_scan_buffer),
5518 (_gst_parse_yy_scan_string), (_gst_parse_yy_scan_bytes),
5519 (yy_fatal_error), (_gst_parse_yyget_extra),
5520 (_gst_parse_yyget_lineno), (_gst_parse_yyget_column),
5521 (_gst_parse_yyget_in), (_gst_parse_yyget_out),
5522 (_gst_parse_yyget_leng), (_gst_parse_yyget_text),
5523 (_gst_parse_yyset_extra), (_gst_parse_yyset_lineno),
5524 (_gst_parse_yyset_column), (_gst_parse_yyset_in),
5525 (_gst_parse_yyset_out), (_gst_parse_yyget_debug),
5526 (_gst_parse_yyset_debug), (_gst_parse_yyget_lval),
5527 (_gst_parse_yyset_lval), (_gst_parse_yylex_init),
5528 (yy_init_globals), (_gst_parse_yylex_destroy), (yy_flex_strncpy),
5529 (yy_flex_strlen), (_gst_parse_yyalloc), (_gst_parse_yyrealloc),
5530 (_gst_parse_yyfree):
5531 If the installed flex version is too old use pre-generated parser
5532 sources. These pre-generated parser sources are always updated when
5533 the actual flex/bison sources change but require everybody who wants
5534 to change something in the parser to have flex >= 2.5.31 installed.
5536 2007-04-18 Stefan Kost <ensonic@users.sf.net>
5538 * common/m4/gst-gettext.m4:
5539 * gst/gst-i18n-lib.h:
5540 Make --disable-nls to work
5542 2007-04-17 Wim Taymans <wim@fluendo.com>
5544 * gst/gstconfig.h.in:
5545 Revert previous change that broke the build.
5547 2007-04-17 Stefan Kost <ensonic@users.sf.net>
5551 * gst/gstconfig.h.in:
5552 Drop libxml2 dependency when building with
5553 --enable-binary-registry --disable-loadsave
5555 2007-04-16 Tim-Philipp Müller <tim at centricular dot net>
5557 * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
5558 (gst_registry_binary_read_cache):
5559 * gst/gstregistrybinary.h:
5560 Remove unnecessary <sys/mman.h> include which broke the win32 build
5561 with MingW; move includes from header file to .c file, even if the
5562 header file isn't installed; use g_strerror() where UTF-8 strings
5563 are expected, such as in GST_DEBUG messages.
5565 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
5567 * docs/libs/gstreamer-libs-sections.txt:
5568 Remove bogus addition for API I didn't end up keeping.
5570 * libs/gst/base/gstbasesrc.h:
5571 Mention Since: 0.10.13 in the documentation.
5573 Add the API keyword to the previous ChangeLog entry.
5575 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
5577 * docs/libs/gstreamer-libs-sections.txt:
5578 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
5579 (gst_base_src_default_prepare_seek_segment),
5580 (gst_base_src_prepare_seek_segment), (gst_base_src_perform_seek):
5581 * libs/gst/base/gstbasesrc.h:
5582 Allow basesrc derived classes to execute seeks in other formats
5583 by providing a prepare_seek_segment vmethod. Sub-classes can choose
5584 to prepare the GstSegment in any format that their perform_seek method
5585 will be able to understand. The default implementation provides the
5586 old behaviour of attempting to convert the seek offsets to the
5587 configured native format.
5589 API: basesrc::prepare_seek_segment vmethod.
5591 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
5593 * gst/gstelement.c: (gst_element_get_state_func):
5594 Don't output the same debug statement twice.
5596 * libs/gst/base/gstadapter.c: (gst_adapter_try_to_merge_up),
5597 (gst_adapter_peek), (gst_adapter_take_buffer):
5598 Optimise the case where we have buffers at the head of the queue that
5599 can be joined quickly (because they're contiguous sub-buffers) by
5600 merging them together rather than copying data out into new memory.
5602 * gst/parse/grammar.y:
5603 * tests/check/pipelines/parse-launch.c:
5604 Fix a leak in an error path for parse_launch, and add a check
5605 for it to the testsuite.
5607 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
5609 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
5610 Don't deadlock when releasing a pad - gst_pad_set_active may try
5611 and take the multiqueue lock too.
5613 2007-04-12 Tim-Philipp Müller <tim at centricular dot net>
5615 * gst/gsterror.c: (_gst_core_errors_init):
5617 API: add GST_CORE_ERROR_DISABLED (#392804).
5619 2007-04-12 Thomas Vander Stichele <thomas at apestaart dot org>
5621 * docs/faq/gst-uninstalled:
5622 don't get empty paths on the PATH variables
5623 * gst/gstpad.c (gst_pad_is_active, gst_pad_set_blocked_async):
5624 Don't format for the uncommon terminal width of 84 characters.
5626 2007-04-06 Wim Taymans <wim@fluendo.com>
5628 * gst/gstpipeline.c: (reset_stream_time),
5629 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time):
5630 Only try to select a different pipeline clock when we went back to
5631 PAUSED and not when we merely got flushed.
5633 2007-04-05 Michael Smith <msmith@fluendo.com>
5635 * tools/gst-launch.1.in:
5636 fractions are better supported in gstreamer than ractions, so
5637 suggest using those.
5639 2007-04-05 Thomas Vander Stichele <thomas at apestaart dot org>
5641 Submitted by: Mogens Jaeger <mogens@jaeger.tf>
5645 Added Danish translation.
5647 2007-04-05 Wim Taymans <wim@fluendo.com>
5649 * libs/gst/base/gstbasesink.c:
5650 (gst_base_sink_queue_object_unlocked), (gst_base_sink_event):
5651 Fix leak caused when refusing newsegment after EOS.
5653 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
5654 (gst_fake_sink_init), (gst_fake_sink_set_property),
5655 (gst_fake_sink_get_property), (gst_fake_sink_preroll),
5656 (gst_fake_sink_render), (gst_fake_sink_change_state):
5657 * plugins/elements/gstfakesink.h:
5658 Add num-buffers property to make the element generate EOS after a
5659 configurable amount of buffers.
5660 API: fakesink::num-buffers property.
5662 * tests/check/elements/fakesink.c: (GST_START_TEST),
5664 Fix GstBus leak in test.
5665 Test for fakesink num-buffers.
5667 2007-04-05 Wim Taymans <wim@fluendo.com>
5669 * libs/gst/base/gstbasesink.c:
5670 (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
5671 (gst_base_sink_change_state):
5672 Don't accept anything after an EOS, return UNEXPECTED instead.
5674 * tests/check/elements/fakesink.c: (GST_START_TEST),
5676 Unit test for new EOS behaviour.
5678 2007-04-05 Wim Taymans <wim@fluendo.com>
5680 * gst/gstelement.c: (gst_element_get_request_pad):
5681 Make padtemplates also work when they don't contain %s or %d.
5683 2007-04-05 Wim Taymans <wim@fluendo.com>
5685 * docs/gst/gstreamer-sections.txt:
5686 * gst/gstclock.c: (gst_clock_adjust_unlocked),
5687 (gst_clock_unadjust_unlocked), (gst_clock_set_calibration):
5689 Improve _adjust_unlocked() so that it overflows less.
5690 Add gst_clock_unadjust_unlocked to convert from external time to
5691 internal time based on calibration.
5692 Add some more debug.
5693 API: GstClock::gst_clock_unadjust_unlocked()
5695 2007-04-03 Wim Taymans <wim@fluendo.com>
5697 Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
5699 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
5700 Deactivate pads and free GstSingleQueue with gst_single_queue_free()
5701 when releasing sink pad. Fixes #425400.
5703 2007-04-02 Stefan Kost <ensonic@users.sf.net>
5705 * docs/random/ensonic/dynlink.txt:
5706 More work on proposal for new core api.
5708 * docs/libs/gstreamer-libs-sections.txt:
5709 * libs/gst/base/gstbasetransform.h:
5710 API: GST_BASE_TRANSFORM_LOCK/UNLOCK added
5712 * libs/gst/controller/gstcontroller.c:
5713 (on_object_controlled_property_changed),
5714 (gst_controller_sync_values),
5715 (gst_controller_set_interpolation_mode):
5716 * libs/gst/controller/gstcontroller.h:
5717 Less verbose logging add docs for unimplemented parts and correctly
5718 return when using unavailable parts.
5720 2007-03-29 Jan Schmidt <thaytan@mad.scientist.com>
5722 * gst/gstclock.c: (gst_clock_set_master), (do_linear_regression):
5723 Move all the debug to the CLOCK category, and associate it with
5726 2007-03-29 Jan Schmidt <thaytan@mad.scientist.com>
5728 * libs/gst/base/gstadapter.c: (gst_adapter_take_buffer):
5729 Make take_buffer a bit quicker by removing redundant checks
5730 caused by calling gst_adapter_take.
5732 2007-03-28 Tim-Philipp Müller <tim at centricular dot net>
5734 * plugins/elements/gstmultiqueue.c: (gst_single_queue_free):
5737 * tests/check/Makefile.am:
5738 * tests/check/elements/.cvsignore:
5739 * tests/check/elements/multiqueue.c: (setup_multiqueue),
5740 (GST_START_TEST), (multiqueue_suite):
5741 Add some dead simple unit tests for the 'multiqueue' element
5742 (some bits don't work yet and are disabled for now).
5744 2007-03-28 Tim-Philipp Müller <tim at centricular dot net>
5746 * gst/gstelement.c: (gst_element_get_request_pad),
5747 (gst_element_class_get_request_pad_template):
5748 Make gst_element_get_request_pad() create request pads only for
5749 request pad templates and not for, say, sometimes pad templates.
5751 2007-03-28 Stefan Kost <ensonic@users.sf.net>
5753 * docs/design/draft-klass.txt:
5754 Add example that needs more thinking.
5756 * docs/design/draft-missing-plugins.txt:
5757 More thoughts about wrapper plugins.
5759 * docs/random/ensonic/embedded.txt:
5760 * docs/random/ensonic/profiling.txt:
5763 2007-03-25 Wim Taymans <wim@fluendo.com>
5765 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range),
5766 (gst_base_src_loop):
5767 Only push the segment events in the PLAYING state for live sources.
5769 2007-03-23 Jan Schmidt <thaytan@mad.scientist.com>
5771 * gst/gstpipeline.c: (gst_pipeline_change_state):
5772 Modify the clock distribution path in PAUSED->PLAYING so that we
5773 never attempt to choose a new clock unless we're actually leaving
5774 the PAUSED state for the first time. This prevents choosing a
5775 different clock when the state_change gets called for a 2nd time due
5776 to some element doing an async state change.
5778 2007-03-22 Sebastian Dröge <slomo@circular-chaos.org>
5780 * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_configure_sink),
5781 (gst_pad_configure_src), (gst_pad_alloc_buffer_full),
5782 (gst_pad_chain_unchecked), (gst_pad_push):
5783 Revert last commit. This needs some more thoughts.
5785 2007-03-22 Sebastian Dröge <slomo@circular-chaos.org>
5787 * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_alloc_buffer_full),
5788 (gst_pad_chain_unchecked), (gst_pad_push):
5789 Check in set_caps if the caps are compatible with the pad and remove
5790 two functions that are redundant now. Fixes #421543.
5792 2007-03-22 Wim Taymans <wim@fluendo.com>
5794 * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
5795 (mixed_thread), (mixed_async_cb), (gst_systemclock_suite):
5796 Unref some more to make valgrind happy.
5798 2007-03-22 Wim Taymans <wim@fluendo.com>
5800 * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked),
5801 (gst_system_clock_id_wait_jitter),
5802 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
5803 Fix anoying regression that survived a few releases. When adding an
5804 async entry while blocking on a sync entry, the sync entry will unblock
5805 but still be busy, so it should continue to wait instead of returning
5807 Add some comments here and there.
5809 * tests/check/gst/gstsystemclock.c: (mixed_thread),
5810 (mixed_async_cb), (GST_START_TEST), (gst_systemclock_suite):
5811 Add testcase for this.
5813 2007-03-22 Wim Taymans <wim@fluendo.com>
5815 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
5816 Handle errors from the clock sync better, only UNSCHEDULED indicates a
5817 WRONG_STATE and can silently pause the task. All other cases should
5820 2007-03-22 Wim Taymans <wim@fluendo.com>
5822 Patch by: Ville Syrjala <syrjala at sci dot fi>
5824 * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_send_event):
5825 Fix possible deadlock if pad eventfunc is not specified. Fixes #421177.
5828 2007-03-21 Michael Smith <msmith@fluendo.com>
5830 * docs/pwg/advanced-types.xml:
5831 Fix some errors in the typefinding docs pointed out on irc.
5833 2007-03-21 Jan Schmidt <thaytan@mad.scientist.com>
5835 * libs/gst/base/gstbasesrc.c:
5836 Clarify FIXME comment in the face of having added unlock_stop()
5838 2007-03-21 Wim Taymans <wim@fluendo.com>
5840 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_element_set_state):
5841 Prepare for release where we warn against possible app breakage in the
5842 case of live pipelines along with an env var to enable/disable live
5843 preroll mode (GST_COMPAT=[no-]live-preroll).
5845 2007-03-20 Zaheer Abbas Merali <zaheerabbas at merali dot org>
5847 * plugins/elements/gstidentity.c (gst_identity_check_imperfect_offset):
5848 So we should use correct constants for checking for None offset.
5850 2007-03-20 Wim Taymans <wim@fluendo.com>
5852 * docs/design/part-block.txt:
5853 Mention the fact that the newly switched element should be set to at
5856 2007-03-20 Wim Taymans <wim@fluendo.com>
5859 Fix compilation with registry disabled as spotted by Saur.
5861 2007-03-20 Wim Taymans <wim@fluendo.com>
5863 Patch by: Olivier Crete <tester at tester dot ca>
5865 * gst/gstelement.c: (gst_element_sync_state_with_parent):
5866 Look at the pending state too when syncing the element state to the
5867 parent. Fixes #420133.
5869 2007-03-19 Jan Schmidt <thaytan@mad.scientist.com>
5871 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
5872 (gst_base_sink_change_state):
5873 * libs/gst/base/gstbasesink.h:
5874 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
5875 (gst_base_src_default_event), (gst_base_src_unlock_stop),
5876 (gst_base_src_deactivate):
5877 * libs/gst/base/gstbasesrc.h:
5878 Add ::unlock_stop to basesrc and basesink. This allows an opportunity
5879 for sub-classes to correctly clear any state they set trying to
5880 unlock, such as clearing out unlock commands from a command fd.
5881 API: basesrc::unlock_stop
5882 API: basesink::unlock_stop
5884 * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init),
5885 (gst_fd_sink_render), (gst_fd_sink_unlock),
5886 (gst_fd_sink_unlock_stop):
5887 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
5888 (gst_fd_src_init), (gst_fd_src_unlock), (gst_fd_src_unlock_stop),
5889 (gst_fd_src_create), (gst_fd_src_get_size), (gst_fd_src_do_seek):
5891 Implement unlock_stop in fdsrc and fdsink.
5892 Implement seeking in fdsrc when a seekable fd is passed, as in
5893 gst-launch-0.10 fdsrc ! ... ! xvimagesink < /path/to/file
5895 2007-03-19 Wim Taymans <wim@fluendo.com>
5897 Patch by: Evan Nemerson <evan at coeus dash group dot com>
5899 * gst/gstelement.c: (gst_element_class_init):
5900 Fix pad-added and pad-removed signal signatures so that the pad type is
5901 stated as GST_TYPE_PAD instead of G_TYPE_OBJECT. Fixes #419851.
5903 2007-03-19 Wim Taymans <wim@fluendo.com>
5905 * docs/gst/gstreamer-sections.txt:
5906 Add new element field and method.
5908 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
5909 (bin_remove_messages), (gst_bin_add_func), (gst_bin_remove_func),
5910 (gst_bin_recalc_state), (gst_bin_get_state_func),
5911 (gst_bin_element_set_state), (gst_bin_change_state_func),
5912 (gst_bin_continue_func), (bin_bus_handler),
5913 (bin_push_state_continue), (bin_handle_async_start),
5914 (bin_handle_async_done), (gst_bin_handle_message_func):
5915 Make async state changes a bit smarter by using new ASYNC_START and
5916 ASYNC_DONE messages. This reduces the number of times we run the state
5917 recalculation thread.
5918 Don't change state of element with a pending ASYNC_START message.
5919 Deprecate STATE_DIRTY messages.
5921 * gst/gstelement.c: (gst_element_init), (gst_element_send_event),
5922 (gst_element_get_state_func), (gst_element_continue_state),
5923 (gst_element_lost_state), (gst_element_set_state_func),
5924 (gst_element_change_state):
5926 Keep the state that was last set by the app in a new element field.
5927 Don't allow state changes when handling an element event.
5928 Post ASYNC_START and ASYNC_DONE messages.
5929 Change lost_state so that we go to PAUSED and wait for the parent to set
5930 us to PLAYING again (so latency calculation can be performed)
5931 Export gst_element_change_state() method so that subclasses can use it.
5932 API: gst_element_change_state()
5933 API: GST_STATE_TARGET
5935 * gst/gstpipeline.c: (gst_pipeline_class_init),
5936 (reset_stream_time), (gst_pipeline_change_state),
5937 (gst_pipeline_handle_message), (gst_pipeline_set_new_stream_time):
5938 Using the new ASYNC_START message we can reset the base_time when
5939 needed. This can then be used to implement base_time redistribution in
5940 flushing seeks so that we can remove the explicit seek handling.
5941 Perform latency query and configuration when going to PLAYING.
5943 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
5944 (gst_base_sink_query), (gst_base_sink_change_state):
5945 Post new ASYNC_START/ASYNC_DONE messages.
5947 * tests/check/generic/sinks.c: (GST_START_TEST):
5948 Fix test because the bin will not set the async element to PLAYING right
5951 * tests/check/gst/gstbin.c: (pop_async_done), (GST_START_TEST):
5952 Make the message check a little stronger.
5953 Handle ASYNC messages.
5955 * tests/check/pipelines/cleanup.c: (GST_START_TEST):
5956 * tests/check/pipelines/simple-launch-lines.c: (GST_START_TEST):
5957 Expect ASYNC_DONE messages.
5959 2007-03-19 Wim Taymans <wim@fluendo.com>
5961 * docs/gst/gstreamer-sections.txt:
5962 * gst/gstmessage.c: (gst_message_new_async_start),
5963 (gst_message_new_async_done), (gst_message_parse_info),
5964 (gst_message_parse_async_start):
5966 Add ASYNC_START and ASYNC_DONE messages to prepare for latency
5969 2007-03-15 Tim-Philipp Müller <tim at centricular dot net>
5971 * tools/gst-inspect.c:
5972 (print_plugin_automatic_install_info_codecs):
5973 Now that we don't check for the 'Codec' keyword any longer in the
5974 klass, we shouldn't spew a warning if the klass isn't a decoder or
5975 encoder (since it might be a Source/Network, for example).
5977 2007-03-14 Tim-Philipp Müller <tim at centricular dot net>
5979 * tools/gst-inspect.c:
5980 (print_plugin_automatic_install_info_codecs):
5981 Don't require decoder/demuxer/depayloader elements or
5982 encoder/muxer/paylader elements to have 'Codec' as part of their
5983 factory class string when introspecting a plugin's capabilities.
5984 draft-klass.txt mentions that it might be removed in future, and
5985 flump3dec doesn't have it as part of its class string, so chances
5986 are others might also not have it.
5988 2007-03-14 Thomas Vander Stichele <thomas at apestaart dot org>
6010 Update translations from translation project
6012 2007-03-14 Stefan Kost <ensonic@users.sf.net>
6014 * gst/gstchildproxy.c: (gst_child_proxy_get_property),
6015 (gst_child_proxy_set_property):
6016 Invert precondition check to be alike the ones in the mimiced gobject
6019 2007-03-13 Stefan Kost <ensonic@users.sf.net>
6021 * docs/design/draft-tagreading.txt:
6022 * docs/random/ensonic/audiobaseclasses.txt:
6023 Do some Architect work.
6025 * gst/gstobject.c: (gst_object_set_name):
6029 Add docs that point from gst_pad_get_range to gst_pad_pull_range
6031 2007-03-12 Jan Schmidt <thaytan@mad.scientist.com>
6033 * gst/gstsystemclock.c: (gst_system_clock_init),
6034 (gst_system_clock_start_async), (gst_system_clock_id_wait_async):
6035 Defer starting the async system clock thread until the first async
6036 wait is scheduled. Fixes #414986.
6038 2007-03-12 Tim-Philipp Müller <tim at centricular dot net>
6040 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_finalize),
6041 (gst_single_queue_free):
6042 Fix small leak (free GstSingleQueue structure too, not only contents).
6044 2007-03-10 Sebastien Moutte <sebastien@moutte.net>
6046 * gst/gstbin.c:(gst_bin_add):
6047 Use GST_STR_NULL to prevent NULL pointer to be passed to GST_CAT_DEBUG.
6048 * win32/common/libgstbase.def:
6049 * win32/common/libgstreamer.def:
6050 Add new exported functions.
6052 2007-03-09 Wim Taymans <wim@fluendo.com>
6054 * docs/plugins/gstreamer-plugins-sections.txt:
6057 2007-03-09 Wim Taymans <wim@fluendo.com>
6059 * docs/gst/gstreamer-sections.txt:
6060 * gst/gstbuffer.c: (gst_buffer_copy_metadata), (_gst_buffer_copy):
6062 Add metadata copy functions. Fixes #393099.
6063 API: gst_buffer_copy_metadata()
6065 * gst/gstutils.c: (gst_buffer_stamp):
6066 * libs/gst/base/gstbasetransform.c:
6067 (gst_base_transform_prepare_output_buffer):
6068 Use new metadata copy functions.
6070 2007-03-09 Thomas Vander Stichele <thomas at apestaart dot org>
6072 * plugins/elements/gstidentity.c: (gst_identity_class_init),
6073 (gst_identity_init), (gst_identity_check_perfect),
6074 (gst_identity_check_imperfect_timestamp),
6075 (gst_identity_check_imperfect_offset), (gst_identity_transform_ip),
6076 (gst_identity_set_property), (gst_identity_get_property):
6077 * plugins/elements/gstidentity.h:
6078 Separate out check-imperfect-timestamp and check-imperfect-offset.
6079 Put back check-perfect as it was to keep compatibility.
6081 2007-03-09 Jan Schmidt <thaytan@mad.scientist.com>
6083 * gst/gstelement.c: (gst_element_dispose):
6084 There's no need to warn if VOID_PENDING is not NONE here, as
6085 long as the state is NULL it's ok, and that's checked immediately
6088 2007-03-08 Zaheer Abbas Merali <zaheerabbas at merali dot org>
6090 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
6091 Fix check for perfect stream to ignore buffers with -1
6092 offsets/offset ends when checking data contiguity.
6094 2007-03-08 Wim Taymans <wim@fluendo.com>
6096 * tools/gst-launch.c: (event_loop):
6097 Print INFO messages.
6099 2007-03-08 Wim Taymans <wim@fluendo.com>
6101 * libs/gst/base/gstbasetransform.c:
6102 (gst_base_transform_sink_eventfunc),
6103 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
6104 (gst_base_transform_activate):
6105 * libs/gst/base/gstbasetransform.h:
6106 Add support for dropping buffers with custom GstFlowReturn.
6107 Set DISCONT flags on outgoing buffers based on QoS, incomming DISCONT
6108 buffers or dropped buffers.
6110 * docs/libs/gstreamer-libs-sections.txt:
6111 docs for new custom return code.
6113 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
6114 Use drop support in base class to implement drop-probability.
6116 2007-03-07 Tim-Philipp Müller <tim at centricular dot net>
6118 * gst/gst.c: (load_plugin_func):
6119 * gst/gstplugin.c: (gst_plugin_load_by_name), (gst_plugin_load):
6120 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
6121 * gst/gsttrace.c: (gst_trace_new), (gst_alloc_trace_set_flags_all):
6122 Remove newlines at end of debug log strings.
6124 2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
6126 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
6127 Only post bus message at max, once per buffer received.
6129 2007-03-07 Wim Taymans <wim@fluendo.com>
6131 * docs/design/Makefile.am:
6132 * docs/design/part-synchronisation.txt:
6133 Add doc about synchronisation
6135 * docs/design/draft-latency.txt:
6136 * docs/design/part-TODO.txt:
6137 * docs/design/part-clocks.txt:
6138 * docs/design/part-events.txt:
6139 * docs/design/part-gstbus.txt:
6140 * docs/design/part-gstpipeline.txt:
6141 * docs/design/part-live-source.txt:
6142 * docs/design/part-messages.txt:
6143 * docs/design/part-overview.txt:
6144 * docs/design/part-streams.txt:
6145 * docs/design/part-trickmodes.txt:
6146 Documentation updates.
6148 2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
6151 Update the doap file.
6153 2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
6155 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
6156 Rename non-perfect to imperfect for Mike and for the sanctity of the
6158 Also make sure bus message gets emitted for data-incontiguities.
6160 2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
6162 * plugins/elements/gstidentity.c: (gst_identity_check_perfect),
6163 (gst_identity_start):
6164 * plugins/elements/gstidentity.h:
6165 Emit bus message if check-perfect is true and we encounter a
6166 non-perfect stream between 2 consecutive buffers.
6169 2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
6174 === release 0.10.12 ===
6176 2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
6179 releasing 0.10.12, "Inevitable Demise"
6181 2007-03-01 Jan Schmidt <thaytan@mad.scientist.com>
6184 Version 0.10.11.2 (0.10.12 pre-release)
6185 Bump libtool versioning.
6187 2007-03-01 Stefan Kost <ensonic@users.sf.net>
6189 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
6190 Log flow-names and not numbers.
6192 2007-02-28 Thomas Vander Stichele <thomas at apestaart dot org>
6195 Convert to new AG_GST style.
6197 2007-02-28 Wim Taymans <wim@fluendo.com>
6199 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency):
6200 Don't unref query twice.
6202 2007-02-28 Wim Taymans <wim@fluendo.com>
6204 * gst/gstvalue.c: (gst_value_transform_object_string),
6205 (_gst_value_initialize):
6206 Implement GstObject -> string transform so we print object names
6207 when serializing GValues containing GstObjects.
6209 2007-02-28 Wim Taymans <wim@fluendo.com>
6211 * docs/gst/gstreamer-sections.txt:
6212 Add new stuff to docs.
6214 2007-02-28 Wim Taymans <wim@fluendo.com>
6216 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
6217 (gst_base_sink_queue_object_unlocked), (gst_base_sink_send_event),
6218 (gst_base_sink_change_state):
6219 Improve latency query code.
6220 Don't leak latency events.
6222 * tests/check/gst/gstbin.c: (GST_START_TEST):
6225 2007-02-28 Wim Taymans <wim@fluendo.com>
6227 * gst/gstelement.c: (gst_element_message_full),
6228 (gst_element_get_state_func):
6230 Improve docs a little. Added Since: for new macro.
6232 * gst/gstobject.c: (gst_object_sink):
6233 * gst/gstpipeline.c: (gst_pipeline_change_state),
6234 (gst_pipeline_set_new_stream_time):
6235 * gst/gstpipeline.h:
6236 Improve debugging and docs.
6238 * gst/gstutils.c: (gst_element_state_change_return_get_name):
6241 2007-02-28 Wim Taymans <wim@fluendo.com>
6243 * gst/gstelement.c: (gst_element_message_full),
6244 (gst_element_set_locked_state), (gst_element_get_state_func),
6245 (gst_element_change_state):
6246 Handle INFO messages from the GST_ELEMENT_INFO macro as well.
6247 Documentation updates.
6248 Small code cleanups.
6250 * gst/gstmessage.c: (gst_message_new_info),
6251 (gst_message_parse_info):
6253 API: gst_message_new_info()
6254 API: gst_message_parse_info()
6255 Add INFO message create and parse code.
6257 2007-02-28 Wim Taymans <wim@fluendo.com>
6259 * gst/gstbin.c: (bin_query_min_max_init), (bin_query_latency_fold),
6260 (bin_query_latency_done):
6261 Also report the live parameter of a latency query.
6263 2007-02-28 Thomas Vander Stichele <thomas at apestaart dot org>
6265 * tests/check/generic/states.c: (GST_START_TEST), (states_suite):
6266 Copy the current generic/states example from -base and adapt so
6267 we can use the exact same code everywhere.
6268 Check a STATES_IGNORE_ELEMENTS env var which can be used
6269 to ignore certain element factories for this test, which is
6270 what is being done in -base
6271 * tests/check/Makefile.am:
6272 Mention this environment variable.
6274 2007-02-27 Wim Taymans <wim@fluendo.com>
6276 * docs/gst/gstreamer-sections.txt:
6277 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
6278 (gst_bus_timed_pop), (gst_bus_pop):
6280 API: gst_bus_timed_pop()
6281 Implement gst_bus_timed_pop() to do a blocking timed wait for a
6282 message to arrive on the bus.
6284 * tests/check/gst/gstbus.c: (GST_START_TEST), (pop_thread),
6286 Two unit tests for new _timed_pop() function.
6288 2007-02-23 Wim Taymans <wim@fluendo.com>
6290 * gst/gstpipeline.c: (gst_pipeline_change_state),
6291 (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay):
6292 Don't ref a NULL clock in _provide_clock_func().
6293 Don't allow an INVALID delay.
6294 Don't try to calculate base_time with an invalid start_time.
6295 Also distribute and notify a NULL clock when it was selected.
6297 * tools/gst-launch.c: (event_loop):
6298 Don't crash when a NULL clock was selected in the pipeline.
6300 2007-02-23 Tim-Philipp Müller <tim at centricular dot net>
6302 * docs/design/Makefile.am:
6303 * docs/design/draft-missing-plugins.txt:
6304 * docs/random/draft-missing-plugins.txt:
6305 Some small updates: update plugin system identifier prefix
6306 ('gstreamer.net' to 'gstreamer'), mention our new install
6307 API in libgstbaseutils rather than libgimme-codec, add
6308 reference to the online docs.
6310 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
6312 * win32/common/config.h:
6313 Pretty sure Bill never made a powerpc version. Powerpc hackers,
6314 use moap cl ci to only check in what is mentioned in the ChangeLog.
6316 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
6318 * docs/gst/gstreamer-sections.txt:
6320 Fix up documentation to link to the correct GstGError section.
6321 Add GST_ELEMENT_INFO macro since someone else added a Info message.
6323 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
6325 * tools/gst-launch.c: (event_loop):
6326 Make sure that we actually show the important message part of a
6328 No need to check if the gerror is not NULL to free; first of all
6329 g_free accepts NULL; and second the default error handler would
6330 segfault if gerror was NULL.
6332 2007-02-21 Wim Taymans <wim@fluendo.com>
6334 * docs/gst/gstreamer-sections.txt:
6335 Removed docs as well.
6337 2007-02-21 Wim Taymans <wim@fluendo.com>
6339 * gst/gstmessage.c: (gst_message_parse_duration):
6341 Remove new messages for release.
6343 2007-02-20 Wim Taymans <wim@fluendo.com>
6345 * docs/design/part-gstghostpad.txt:
6346 * gst/gstghostpad.c: (gst_ghost_pad_dispose),
6347 (gst_ghost_pad_new_full):
6348 Make the ghostpad a parent of the internal pad again for better backward
6349 compatibility. Don't write code that relies on this however.
6351 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
6352 (gst_pad_link_check_hierarchy):
6353 Require that parents should be GstElements in the hierarchy check.
6355 2007-02-20 Wim Taymans <wim@fluendo.com>
6357 * gst/gstbin.c: (bin_replace_message), (gst_bin_add_func),
6358 (gst_bin_change_state_func), (bin_query_min_max_init),
6359 (bin_query_latency_fold), (bin_query_latency_done),
6362 Implement latency query.
6364 2007-02-20 Wim Taymans <wim@fluendo.com>
6366 * docs/design/part-gstghostpad.txt:
6367 * gst/gstghostpad.c: (gst_ghost_pad_class_init),
6368 (gst_ghost_pad_internal_do_activate_push),
6369 (gst_ghost_pad_internal_do_activate_pull),
6370 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
6371 (gst_ghost_pad_do_link), (gst_ghost_pad_dispose),
6372 (gst_ghost_pad_new_full), (gst_ghost_pad_set_target):
6373 Do not set the internal pad as a parent anymore so we can avoid
6374 hierarchy linking errors when the ghostpad has no parent yet. This also
6375 fixes failed activation because of unlinked internal pads, which in
6376 turn fixes the impossible case where you have to activate a pad before
6377 you can add it to a running element.
6380 * gst/gstpad.c: (pre_activate), (post_activate),
6381 (gst_pad_set_active), (gst_pad_activate_pull),
6382 (gst_pad_activate_push), (gst_pad_check_pull_range):
6383 Add some more debug info.
6384 Mark activation mode in pre_activate so that we don't try to activate in
6385 endless loops. Fixes #385084.
6387 2007-02-19 Wim Taymans <wim@fluendo.com>
6389 * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
6390 (gst_base_transform_check_get_range):
6391 Implement a checkgetrange function instead of relying on the default
6392 core behaviour that assumes we can operate in pull mode if we have a
6393 getrange function. First step at fixing #385084.
6395 2007-02-15 Stefan Kost <ensonic@users.sf.net>
6397 * gst/gstchildproxy.h:
6398 * libs/gst/base/gstbasesink.h:
6399 * libs/gst/base/gstbasesrc.h:
6400 * libs/gst/base/gstbasetransform.h:
6401 More docs coverage and some ChangeLog surgery (add missing names)
6403 2007-02-15 Wim Taymans <wim@fluendo.com>
6405 * docs/design/part-TODO.txt:
6406 * docs/design/part-activation.txt:
6407 * docs/design/part-block.txt:
6408 * docs/design/part-buffering.txt:
6409 * docs/design/part-clocks.txt:
6410 * docs/design/part-element-source.txt:
6411 * docs/design/part-events.txt:
6412 * docs/design/part-gstbin.txt:
6413 * docs/design/part-gstbus.txt:
6414 * docs/design/part-gstpipeline.txt:
6415 * docs/design/part-live-source.txt:
6416 * docs/design/part-messages.txt:
6417 * docs/design/part-overview.txt:
6418 * docs/design/part-qos.txt:
6419 * docs/design/part-query.txt:
6420 * docs/design/part-states.txt:
6421 * docs/design/part-trickmodes.txt:
6422 Some doc updates. Start renaming from stream_time to running_time where
6423 it was used wrongly.
6425 2007-02-15 Wim Taymans <wim@fluendo.com>
6427 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
6428 Answer LATENCY query.
6430 2007-02-15 Wim Taymans <wim@fluendo.com>
6432 * tests/check/gst/gstevent.c: (event_probe), (test_event),
6436 2007-02-15 Wim Taymans <wim@fluendo.com>
6438 * gst/gstpad.c: (gst_pad_get_internal_links_default),
6439 (gst_pad_dispatcher):
6440 Improve debugging of default pad dispatcher and query functions.
6442 2007-02-15 Wim Taymans <wim@fluendo.com>
6444 * docs/gst/gstreamer-sections.txt:
6445 Remove old unused method.
6447 2007-02-13 Wim Taymans <wim@fluendo.com>
6449 * tests/check/gst/gstsegment.c: (GST_START_TEST):
6452 2007-02-13 Wim Taymans <wim@fluendo.com>
6454 * docs/design/part-seeking.txt:
6457 * gst/gstsegment.c: (gst_segment_set_seek):
6458 Revert old bogus change that should make seeking work again.
6460 2007-02-13 Stefan Kost <ensonic@users.sf.net>
6462 * docs/random/ensonic/dynlink.txt:
6463 * docs/random/ensonic/interfaces.txt:
6464 * docs/random/ensonic/receipies.txt:
6465 Possible dynamic reconnection api, plus some type fixes the other two
6468 2007-02-13 Sebastian Dröge <slomo@circular-chaos.org>
6470 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
6471 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
6472 Also check for an absolute path following file:// in the filesrc
6473 element. Remove redundant check and call g_path_is_absolute() on the
6476 2007-02-13 Stefan Kost <ensonic@users.sf.net>
6478 * docs/design/draft-klass.txt:
6479 Add existing category analysis.
6482 Fix doc example, framerate is a fraction.
6484 2007-02-12 Stefan Kost <ensonic@users.sf.net>
6487 * docs/gst/Makefile.am:
6488 * docs/gst/gstreamer-sections.txt:
6489 * docs/libs/Makefile.am:
6490 Erm, forgot a bunch of --extra-dir.
6492 2007-02-12 Stefan Kost <ensonic@users.sf.net>
6495 * docs/gst/Makefile.am:
6496 * docs/libs/Makefile.am:
6497 * docs/plugins/Makefile.am:
6498 Add crossreferences to glib/gobject docs.
6500 2007-02-12 Wim Taymans <wim@fluendo.com>
6502 * docs/design/draft-latency.txt:
6505 * docs/libs/gstreamer-libs-sections.txt:
6506 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
6507 (gst_base_sink_get_latency), (gst_base_sink_query_latency),
6508 (gst_base_sink_wait_clock), (gst_base_sink_send_qos),
6509 (gst_base_sink_perform_qos), (gst_base_sink_queue_object_unlocked),
6510 (gst_base_sink_chain_unlocked), (gst_base_sink_send_event),
6511 (gst_base_sink_get_position), (gst_base_sink_query),
6512 (gst_base_sink_change_state):
6513 * libs/gst/base/gstbasesink.h:
6514 API: gst_base_sink_query_latency() to let subclasses query the upstream
6516 API: gst_base_sink_get_latency() to let subclasses query the configured
6517 latency in the sink.
6518 Implement query and set latency.
6520 As spotted by Will Newton <will dot newton at gmail dot com>: Make sure we
6521 don't continue preroll when we are flushing. Fixes #405284.
6523 * tests/check/pipelines/stress.c: (change_state_timeout),
6524 (quit_timeout), (GST_START_TEST), (stress_suite):
6527 2007-02-09 Tim-Philipp Müller <tim at centricular dot net>
6529 Patch by: René Stadler <mail at renestadler de>
6531 * docs/gst/gstreamer-sections.txt:
6532 * gst/gsttaglist.c: (_gst_tag_initialize):
6534 API: add GST_TAG_REFERENCE_LEVEL (#403597).
6536 2007-02-11 Stefan Kost <ensonic@users.sf.net>
6538 * docs/libs/Makefile.am:
6539 Fix path to core docs.
6541 * gst/gstbin.c: (gst_bin_get_by_interface),
6542 (gst_bin_iterate_all_by_interface):
6543 Refix docs by also renaming 'interface' to 'iface' in implementation.
6545 * docs/gst/gstreamer-sections.txt:
6547 * gst/gstchildproxy.c: (gst_child_proxy_base_init):
6548 * gst/gstchildproxy.h:
6549 * gst/gstelementfactory.c:
6550 * gst/gstpadtemplate.h:
6551 * libs/gst/controller/gstcontroller.c:
6552 (gst_controlled_property_new):
6555 2007-02-10 Sébastien Moutte <sebastien@moutte.net>
6557 * gst/gstbin.h:(gst_bin_get_by_interface),
6558 (gst_bin_iterate_all_by_interface):
6559 Replace interface parameter name by iface as interface is
6560 a reserved keyword in Visual Studio for C++ projects so it removes
6561 a build error for application developpers using VS.
6562 * plugins/elements/gstfilesrc.c:(gst_file_src_uri_set_uri):
6563 Fix a bug on Windows in uri format check. Now the prefix checked
6564 is file:// and next we check if the path after file:// is absolute.
6565 * win32/common/libgstbase.def:
6566 * win32/common/libgstdataprotocol.def:
6567 * win32/common/libgstgstreamer.def:
6568 Add new exported functions.
6570 2007-02-09 Andy Wingo <wingo@pobox.com>
6572 * tests/check/pipelines/simple-launch-lines.c
6573 (simple_launch_lines_suite, test_tee): Disable tee test until I
6574 have time to fix it :-(
6576 * tests/check/Makefile.am (noinst_HEADERS):
6577 * tests/check/libs/libsabi.c:
6578 * tests/check/libs/struct_ppc32.h: Add ABI checks for PPC32.
6579 * tests/check/gst/gstabi.c:
6580 * tests/check/gst/struct_ppc32.h: Add ABI checks for PPC32.
6582 * tests/check/pipelines/simple-launch-lines.c (test_tee): Add
6583 tests for push and pull tee behavior.
6585 * plugins/elements/gsttee.h:
6586 * plugins/elements/gsttee.c: Describe has-sink-loop better, and
6587 mark as deprecated as well as unimplemented. It was a crack idea.
6588 Add support for tee operating in pull mode, off by default.
6590 * gst/gstregistryxml.c (load_feature, load_plugin): Drop some
6591 normal-case logs down to LOG, raise errors to WARNING.
6592 (gst_registry_xml_read_cache): Don't log before calling a function
6595 * gst/gstregistry.c (gst_registry_finalize): Less debug on program
6596 exit (registry finalize).
6597 (gst_registry_add_plugin, gst_registry_add_feature): No need for a
6598 DEBUG log when we emit signals that people don't even have the
6599 chance to connect to.
6600 (gst_registry_scan_path_level): Less logging in the normal case.
6602 2007-02-05 Sebastian Dröge <slomo@circular-chaos.org>
6604 Patch by: Michal Benes <michal dot benes at itonis dot tv>
6606 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
6607 Correctly generate EOS for non-seekable files. We don't have a total
6608 length for them and would get an unexpected end of file if we only
6609 special-cased for regular files. (Fixes: #404569)
6611 2007-02-05 Sebastian Dröge <slomo@circular-chaos.org>
6613 * tests/check/elements/filesrc.c: (GST_START_TEST),
6615 Add unit test for the GstURIHandler interface in filesrc. This also
6616 tests the newly added file://localhost/foo/bar support.
6618 2007-02-04 Tim-Philipp Müller <tim at centricular dot net>
6620 * gst/gstelementfactory.h:
6621 The klass string is not a hierarchy. Add reference to the design doc
6622 for more information and common types.
6624 2007-02-02 Wim Taymans <wim@fluendo.com>
6626 * gst/gstquery.c: (gst_query_new_latency):
6627 Remove old structure field.
6629 2007-02-02 Stefan Kost <ensonic@users.sf.net>
6631 * tools/gst-launch.1.in:
6632 Give example for network streaming (#351998)
6634 2007-02-02 Wim Taymans <wim@fluendo.com>
6636 * docs/gst/gstreamer-sections.txt:
6637 Add docs for new methods.
6639 * gst/gstevent.c: (gst_event_new_latency),
6640 (gst_event_parse_latency):
6642 Add new LATENCY event to configure latency in a pipeline.
6643 API: gst_event_new_latency
6644 API: gst_event_parse_latency
6646 * gst/gstmessage.c: (gst_message_new_buffering),
6647 (gst_message_new_lost_preroll), (gst_message_new_prerolled),
6648 (gst_message_new_latency), (gst_message_parse_buffering),
6649 (gst_message_parse_lost_preroll):
6651 Added messages used in draft-latency.
6652 API: gst_message_new_lost_preroll
6653 API: gst_message_parse_lost_preroll
6654 API: gst_message_new_prerolled
6655 API: gst_message_new_latency
6657 * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
6658 (gst_query_parse_latency):
6660 Implemented new latency query as in design doc.
6661 API: gst_query_new_latency
6662 API: gst_query_set_latency
6663 API: gst_query_parse_latency
6665 2007-02-02 Wim Taymans <wim@fluendo.com>
6667 * docs/design/draft-latency.txt:
6668 Slight redesign to allow for dynamic latency adjustments.
6670 * docs/design/part-negotiation.txt:
6673 2007-02-02 Sebastian Dröge <slomo@circular-chaos.org>
6675 reviewed by: Wim Taymans <wim@fluendo.com>
6677 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
6678 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
6679 Allow file://localhost/foo/bar URLs and correctly fail for every other
6680 hostname that one sets. This was gnomevfssrc is linked for those if
6681 installed as it can handle it (#403172)
6683 2007-02-01 Sebastian Dröge <slomo@circular-chaos.org>
6685 reviewed by: Tim-Philipp Müller <tim at centricular dot net>
6687 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
6688 (unref_data), (gst_collect_pads_add_pad_full):
6689 * libs/gst/base/gstcollectpads.h:
6690 Don't put the previously added destroy notify in the GstCollectData
6691 struct as all it's padding is already used and we don't want to break
6692 ABI. Instead put in the pad's GObject data for now. This should be
6693 cleaned up for 0.11 (#402393).
6695 2007-02-01 Sebastian Dröge <slomo@circular-chaos.org>
6697 reviewed by: Wim Taymans <wim@fluendo.com>
6699 * docs/libs/gstreamer-libs-sections.txt:
6700 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
6701 (unref_data), (gst_collect_pads_add_pad),
6702 (gst_collect_pads_add_pad_full):
6703 * libs/gst/base/gstcollectpads.h:
6704 API: Add function to specify a destroy notification for custom
6705 GstCollectData when adding new pads in GstCollectPads (#402393).
6707 2007-02-01 Tim-Philipp Müller <tim at centricular dot net>
6710 Update Swedish translation (#378255).
6712 2007-01-31 Stefan Kost <ensonic@users.sf.net>
6714 * docs/design/draft-klass.txt:
6715 Fix the previous change, this is a list of categories and not a hierarchy.
6717 2007-01-31 Stefan Kost <ensonic@users.sf.net>
6719 * docs/design/draft-klass.txt:
6720 Add info about how to get a list of used classes.
6722 2007-01-30 Tim-Philipp Müller <tim at centricular dot net>
6724 * plugins/elements/gsttypefindelement.c:
6725 (gst_type_find_element_chain_do_typefinding),
6726 (gst_type_find_element_change_state):
6727 Don't leak found caps in chain function (no idea why that never
6728 showed up as a leak anywhere).
6730 2007-01-30 Stefan Kost <ensonic@users.sf.net>
6733 Fix and expand GstPluginDesc API docs.
6735 2007-01-29 Stefan Kost <ensonic@users.sf.net>
6738 * gst/gstelementfactory.c:
6739 * gst/gstpadtemplate.h:
6742 * libs/gst/controller/gstcontroller.c:
6743 (gst_controlled_property_new):
6744 * tests/examples/controller/audio-example.c:
6747 2007-01-29 Stefan Kost <ensonic@users.sf.net>
6750 comment about refining the xml deps
6753 comments about moving away from jade for docs
6756 recommit the ifdefs to use the binary registry
6758 * gst/gstbin.c: (gst_bin_change_state_func):
6759 this break is obsolete
6761 * gst/gstelementfactory.h:
6762 better GST_ELEMENT_DETAILS docs, add comment about translation
6767 * gst/gstobject.c: (gst_signal_object_get_type):
6768 add G_UNLIKELY as usual
6770 * gst/gstpad.c: (gst_pad_event_default):
6771 add fall trhu comment
6773 * gst/gstregistrybinary.c: (gst_registry_binary_write),
6774 (gst_registry_binary_initialize_magic),
6775 (gst_registry_binary_save_string),
6776 (gst_registry_binary_save_pad_template),
6777 (gst_registry_binary_save_feature),
6778 (gst_registry_binary_save_plugin),
6779 (gst_registry_binary_write_cache),
6780 (gst_registry_binary_check_magic),
6781 (gst_registry_binary_load_pad_template),
6782 (gst_registry_binary_load_feature),
6783 (gst_registry_binary_load_plugin),
6784 (gst_registry_binary_read_cache):
6785 comment typo and formatting
6787 * gst/gstutils.c: (gst_element_state_get_name),
6788 (gst_element_state_change_return_get_name):
6789 remove obsolete breaks
6791 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
6792 add FIXME 0.11 and remove cpp comment
6794 2007-01-29 Edward Hervey <edward@fluendo.com>
6796 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
6797 Fix print statement in an even more portable way.
6799 2007-01-29 Tim-Philipp Müller <tim at centricular dot net>
6801 * docs/gst/gstreamer-sections.txt:
6803 API: add GST_ROUND_DOWN_* macros (#401781).
6805 2007-01-27 Tim-Philipp Müller <tim at centricular dot net>
6807 * docs/gst/gstreamer.types.in:
6808 * gst/gstregistry.c: (gst_registry_class_init):
6809 Document registry signals and make gtk-doc pick them up (#401381).
6811 2007-01-26 Tim-Philipp Müller <tim at centricular dot net>
6813 * docs/pwg/building-testapp.xml:
6814 Add some audioconverts and audioresample to the pipeline, and some
6815 more comments and error handling.
6817 2007-01-26 Tim-Philipp Müller <tim at centricular dot net>
6819 * docs/manual/manual.xml:
6823 2007-01-26 Wim Taymans <wim@fluendo.com>
6825 * gst/gstcaps.c: (gst_static_caps_get):
6826 Init caps flags too.
6828 2007-01-25 Sebastian Dröge <slomo@circular-chaos.org>
6830 Patch by: Jindrich Makovicka <jindrich.makovick at itonis dot tv>
6832 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
6833 If not using mmap'ed files try to seek to the end instead of the
6834 start to determine whether we can seek at all. This fixes the case
6835 of 2GB+ files over NFS, where seeks in the first 2GB can succeed but
6836 seeks for everything afterwards fail. Fixes #400656
6838 2007-01-25 Wim Taymans <wim@fluendo.com>
6840 * gst/gstcaps.c: (_gst_caps_free), (gst_static_caps_get):
6841 Add some refcount debugging.
6842 Make gst_static_caps_get threadsafe, which is needed when autoplugging
6843 in multiple streaming threads.
6845 2007-01-25 Wim Taymans <wim@fluendo.com>
6847 Patch by: David Schleef <ds at schleef dot org>
6849 * docs/libs/gstreamer-libs-sections.txt:
6850 * libs/gst/base/gstadapter.c: (gst_adapter_copy):
6851 * libs/gst/base/gstadapter.h:
6852 API: gst_adapter_copy() that can reduce the amount of memcpy when
6853 getting data from the adapter. Fixes #388201.
6855 2007-01-25 Edward Hervey <edward@fluendo.com>
6857 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
6858 In print statements, "%x" is for guint. Fixes build on macosx.
6860 2007-01-24 Edward Hervey <edward@fluendo.com>
6862 * plugins/elements/gstmultiqueue.c:
6863 (gst_multi_queue_loop):
6865 (single_queue_overrun_cb), (single_queue_underrun_cb),
6866 (single_queue_check_full), (gst_single_queue_new):
6867 Implement single queue growth system.
6868 This uses the extra-size properties, and will grow single queues by
6869 that much if one goes full whereas there are others empty. This is
6870 called extra-mode in the code.
6871 When a single queue's levels go back below the initial max-size
6872 limits, it is no longer in extra-mode. This is to ensure we don't
6873 consume too much memory.
6876 2007-01-23 Tim-Philipp Müller <tim at centricular dot net>
6878 * gst/gst.c: (gst_init_get_option_group):
6879 Make warning about late g_thread_init() calls a bit more explicit,
6880 so that it's more obvious to application developers what they need
6881 to do if a user files a bug against their application.
6883 2007-01-22 Edward Hervey <edward@fluendo.com>
6885 * plugins/elements/gstmultiqueue.c:
6886 (gst_multi_queue_src_activate_push), (gst_single_queue_new):
6887 Remove previous hack of unsetting the flushing flag for the source pad
6888 instead of activating it. Instead, fix the source pad activate function
6889 so that it no longer depends on having a parent set or not.
6891 2007-01-22 Tim-Philipp Müller <tim at centricular dot net>
6893 Patch by: Carlos Sanmartin Dominguez <csanmartin@igalia.com>
6895 * docs/manual/basics-bus.xml:
6896 Fix example code, gst_element_unref() doesn't exist any longer.
6898 2007-01-21 Tim-Philipp Müller <tim at centricular dot net>
6900 Patch by: Mark Nauwelaerts <manauw at skynet be>
6903 Fix two docs typoes (#399094).
6905 2007-01-19 Edward Hervey <edward@fluendo.com>
6907 * docs/faq/gst-uninstalled:
6908 Add gst-plugins-base/gst/utils/ to LD_LIBRARY_PATH so that plugins
6909 depending on libgstbaseutils can work in uninstalled environment.
6911 2007-01-18 Stefan Kost <ensonic@users.sf.net>
6914 * gst/gsttagsetter.c:
6915 Add more docs regarding tag merge-modes and when to send tags. Fix 'since'
6916 statement for new tag.
6918 2007-01-17 Edward Hervey <edward@fluendo.com>
6920 * plugins/elements/gstmultiqueue.c: (gst_single_queue_new):
6921 When dynamically creating single queues, activate sinkpad before adding
6923 We should be doing the same thing for the source pad, but we can't
6924 since it would call a method which needs the parent to be set in order
6925 to work propertly. Instead of activating the source pad, we just unset
6926 the flushing flag, which is the minimal requirement for adding a pad
6927 to an element in a state greater than READY.
6929 2007-01-17 Edward Hervey <edward@fluendo.com>
6931 * docs/faq/gst-uninstalled:
6932 Add DYLD_LIBRARY_PATH declarations so we can also use this script on
6935 2007-01-17 Tim-Philipp Müller <tim at centricular dot net>
6937 * tests/check/gst/gstabi.c:
6938 * tests/check/gst/struct_hppa.h:
6939 * tests/check/libs/libsabi.c:
6940 * tests/check/libs/struct_hppa.h:
6941 Add ABI structs for HPPA (see #393796).
6943 2007-01-16 Tim-Philipp Müller <tim at centricular dot net>
6945 * libs/gst/check/gstcheck.c: (gst_check_abi_list):
6946 Actually write ABI structs to the file specified in the GST_ABI
6947 environment variable, as the message we print claims we would.
6949 2007-01-15 Stefan Kost <ensonic@users.sf.net>
6951 * tests/check/gst/gsttask.c:
6954 2007-01-15 Stefan Kost <ensonic@users.sf.net>
6956 * gst/gsttaglist.c: (_gst_tag_initialize):
6957 Change tag type from STRING to DOUBLE. Apply ChangeLog surgery for my
6958 previous two entries.
6960 2007-01-15 Stefan Kost <ensonic@users.sf.net>
6962 * docs/gst/gstreamer-sections.txt:
6963 * gst/gsttaglist.c: (_gst_tag_initialize):
6965 Add tag support for beat-per-minute.
6967 2007-01-15 Stefan Kost <ensonic@users.sf.net>
6969 * gst/gstregistrybinary.c: (gst_registry_binary_write),
6970 (gst_registry_binary_initialize_magic),
6971 (gst_registry_binary_save_string), (gst_registry_binary_make_data),
6972 (gst_registry_binary_save_pad_template),
6973 (gst_registry_binary_save_feature),
6974 (gst_registry_binary_save_plugin),
6975 (gst_registry_binary_write_cache),
6976 (gst_registry_binary_check_magic),
6977 (gst_registry_binary_load_pad_template),
6978 (gst_registry_binary_load_feature),
6979 (gst_registry_binary_load_plugin),
6980 (gst_registry_binary_read_cache):
6981 * gst/gstregistrybinary.h:
6982 Use glib types, cleanup comments, impement interfaces and uri-types.
6984 2007-01-13 Andy Wingo <wingo@pobox.com>
6986 * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Allow
6987 getrange() to return buffers with other caps, while we fix
6988 demuxers and typefind, or otherwise change part-negotiation.txt.
6990 2007-01-12 Andy Wingo <wingo@pobox.com>
6992 * libs/gst/base/gstbasetransform.c (gst_base_transform_activate):
6993 Factor start/stop into this private function instead of partially
6994 in activate functions and partially in the change_state function.
6995 Fixes setup before the element has changed from READY->PAUSED, as
6996 is the case in pull-mode pipelines.
6997 (gst_base_transform_sink_activate_push)
6998 (gst_base_transform_src_activate_pull): Refactor to use
6999 gst_base_transform_activate().
7000 (gst_base_transform_change_state): Removed, not needed any more.
7002 * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
7003 Truncate before fixating.
7005 * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
7006 Don't set_caps() if the result of fixating is ANY, as it's not
7007 supported, and not necessary in the case of a link with no
7008 template caps on either side. Fixes tests/check/libs/basesrc in
7009 some pull-mode tests.
7011 * libs/gst/base/gstbasetransform.c (_GstBaseTransformPrivate):
7012 (gst_base_transform_init, gst_base_transform_sink_activate_push)
7013 (gst_base_transform_src_activate_pull):
7014 Track the activation mode.
7015 (gst_base_transform_setcaps): In pull mode, when activating the
7016 src pad, after activating the sink pad, activate the sink pad's
7017 peer, as discussed in part-negotiation.txt.
7019 * libs/gst/base/gstbasesrc.h:
7020 * libs/gst/base/gstbasesrc.c (gst_base_src_fixate): Add fixate
7021 vmethod, as in basesink.
7023 * libs/gst/base/gstbasesink.h: Reformat docs, add fixate vmethod.
7025 * libs/gst/base/gstbasesink.c (gst_base_sink_pad_setcaps): In pull
7026 mode, first proxy the setcaps to the peer pad.
7027 (gst_base_sink_pad_fixate): Add a fixate function that calls the
7029 (gst_base_sink_default_activate_pull): Rename from
7030 gst_base_sink_activate_pull.
7031 (gst_base_sink_negotiate_pull): New function, performs negotiation
7032 in pull mode before calling ::activate_pull().
7033 (gst_base_sink_pad_activate_pull): Actually call the activate_pull
7034 vmethod instead of the default implementation. I have no idea how
7035 this worked before. Negotiate before calling activate_pull.
7037 * gst/gstpad.c (gst_pad_activate_pull): Refuse to activate unlinked
7038 sink pads in pull mode. In addition to being correct, fixes
7039 filesrc ! decodebin ! identity ! fakesink.
7040 (gst_pad_get_range, gst_pad_pull_range): Don't call
7041 gst_pad_set_caps() if the caps changes; instead error out with
7042 GST_FLOW_NOT_NEGOTIATED, as discussed in part-negotiation.txt.
7044 2007-01-12 Andy Wingo <wingo@pobox.com>
7046 * docs/design/part-negotiation.txt: Update with more policy.
7048 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
7050 * libs/gst/check/gstbufferstraw.h:
7051 * libs/gst/check/gstcheck.h:
7052 Add G_BEGIN_DECLS and G_END_DECLS. Move GST_CHECK_MAIN where it
7055 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
7057 * tests/check/Makefile.am:
7058 * tests/check/gst/.cvsignore:
7059 * tests/check/gst/gsttagsetter.c: (gst_dummy_enc_add_interfaces),
7060 (gst_dummy_enc_base_init), (gst_dummy_enc_class_init),
7061 (gst_dummy_enc_init), (tag_list_foreach), (tag_setter_list_length),
7062 (GST_START_TEST), (gst_tag_setter_suite):
7063 Add minimal unit test for beforementioned GstTagSetter bug.
7065 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
7067 Patch by: René Stadler <mail at renestadler dot de>
7069 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
7070 gst_tag_list_merge() returns a new list, so it's not the best idea
7071 to ingore its return value. Effectively meant that tags could only
7072 be merged on a GstTagSetter once using _merge_tags(). Fixes #395554.
7073 Also add function guard to require a non-NULL taglist as input (has
7074 always been so due to gst_tag_list_copy(), just making it explicit).
7076 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
7078 * docs/random/draft-missing-plugins.txt:
7079 Some additions: mention new API that is supposed to be used at the
7080 various stages; short blob about new gst-inspect introspection
7081 option; mention potential future problem with plugins that have
7082 a dynamic list of elements (such as ladspa, pitfdll, libvisual).
7084 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
7086 * tools/gst-inspect.c:
7087 (print_plugin_automatic_install_info_codecs),
7088 (print_plugin_automatic_install_info_protocols),
7089 (print_plugin_automatic_install_info), (main):
7090 Add --print-plugin-auto-install-info option to gst-inspect, so we can
7091 introspect plugin files and get machine-parsable output that corresponds
7092 to the last bit of the missing-plugin installer string (small gotcha:
7093 doesn't take into account ranks).
7095 2007-01-11 Stefan Kost <ensonic@users.sf.net>
7098 * docs/gst/gstreamer-sections.txt:
7100 * gst/gstregistry.c: (gst_registry_lookup_feature_locked),
7101 (gst_registry_lookup_locked):
7102 * gst/gstregistry.h:
7103 * gst/gstregistrybinary.c: (gst_registry_binary_write),
7104 (gst_registry_binary_initialize_magic),
7105 (gst_registry_binary_save_string),
7106 (gst_registry_binary_save_pad_template),
7107 (gst_registry_binary_save_feature),
7108 (gst_registry_binary_save_plugin),
7109 (gst_registry_binary_write_cache),
7110 (gst_registry_binary_check_magic),
7111 (gst_registry_binary_load_pad_template),
7112 (gst_registry_binary_load_feature),
7113 (gst_registry_binary_load_plugin),
7114 (gst_registry_binary_read_cache):
7115 * gst/gstregistrybinary.h:
7116 * gst/gstregistryxml.c: (load_feature),
7117 (gst_registry_xml_read_cache):
7118 commit binary registry (disabled by default, see #359653)
7120 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
7122 * tests/check/gst/gstpad.c: (test_get_allowed_caps):
7123 Fix 'make check' too.
7125 2007-01-10 Andy Wingo <wingo@pobox.com>
7127 * docs/design/part-negotiation.txt: Fix a typo, add a couple
7130 * docs/design/part-negotiation.txt: Update with, um, one way that
7131 pull-mode negotiation might work?
7134 * gst/gstpad.c (gst_pad_get_allowed_caps): Remove the restriction
7135 that the pad must be a src pad; makes sense to call it the other
7136 way in pull mode, and the logic is symmetric anyway.
7138 2007-01-10 Tim-Philipp Müller <tim at centricular dot net>
7140 * plugins/elements/gstfilesink.c:
7141 Include <stdio.h> for fseeko().
7143 2007-01-10 Wim Taymans <wim@fluendo.com>
7147 Reserve LATENCY event.
7149 2007-01-09 Wim Taymans <wim@fluendo.com>
7151 * docs/design/draft-latency.txt:
7154 2007-01-09 Wim Taymans <wim@fluendo.com>
7156 * docs/design/draft-latency.txt:
7160 * gst/gststructure.c:
7164 2007-01-09 Tim-Philipp Müller <tim at centricular dot net>
7166 * tests/check/.cvsignore:
7167 Ignore test-registry.xml as well.
7169 2007-01-09 Wim Taymans <wim@fluendo.com>
7171 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
7172 unref data at the end when we are done with the pad.
7174 2007-01-08 Tim-Philipp Müller <tim at centricular dot net>
7176 * docs/gst/gstreamer-sections.txt:
7177 * gst/gst.c: (load_plugin_func), (scan_and_update_registry),
7178 (init_post), (gst_deinit), (gst_update_registry):
7180 API: add gst_update_registry() (#391296).
7182 * tests/check/Makefile.am:
7183 * tests/check/gst/gstregistry.c:
7184 * tests/check/gst/.cvsignore:
7185 Simple unit test for the above.
7187 2007-01-08 Tim-Philipp Müller <tim at centricular dot net>
7189 * gst/gstregistry.c: (gst_registry_scan_path_level):
7190 Plugin extension on HP-UX is .sl, add that to the list of approved
7191 plugin extensions (see #393796).
7193 * tests/check/gst/gstpad.c: (GST_START_TEST):
7194 ulong => gulong. Fixes compilation with HP-UX compiler.
7196 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
7197 Fix compilation if valgrind headers are not available.
7199 2007-01-07 Sébastien Moutte <sebastien@moutte.net>
7201 * win32/common/libgstreamer.def:
7202 Add new exported function.
7203 * win32/vs6/libgstbase.dsp:
7204 Add gstdataqueue.c to the build.
7205 * win32/vs6/libgstcoreelements.dsp:
7206 Add gstmultiqueue.c to the build.
7208 2007-01-06 Andy Wingo <wingo@pobox.com>
7210 * libs/gst/base/gstbasesink.h: New GstBaseSinkClass vmethod,
7211 activate_pull(), providing for a way to specialize the process of
7212 spawning a thread to pull on the sink pad. There is a default
7215 * libs/gst/base/gstbasesink.c (gst_base_sink_pad_activate_pull)
7216 (gst_base_sink_pad_activate_push, gst_base_sink_pad_activate)
7217 (gst_base_sink_init): Renamed pad activation functions (inserting
7218 "_pad" in their names). Refactor to use the new activate_pull
7219 vmethod, as appropriate.
7220 (gst_base_sink_class_init, gst_base_sink_activate_pull): Set the
7221 default activate_pull function to start a task pulling from the
7222 sink pad, as before.
7224 * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Set caps
7225 on the pads if necessary, as in push()/chain(). Update docs.
7226 Shouldn't affect existing pull() usage as it is currently only
7227 being used on buffers without caps.
7229 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
7231 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
7233 Call g_thread_init() first thing in gst_init() / gst_check_init().
7234 When initialisation is done via gst_init_get_option_group() and
7235 GOption parsing, issue a warning if the GLib thread system has not
7236 been initialised yet by the time gst_init_get_option_group() is
7237 called, as it's quite likely other GLib functions such as
7238 g_option_context_new() have been called already then, and
7239 g_thread_init() must be called before any other GLib function. The
7240 application in question must be fixed in that case, since memory
7241 corruption might happen otherwise.
7242 We issue the warning because even if the GLib folks decide to work
7243 around the problem on their end in future, this is still an issue
7244 with all GLib versions >= 2.10.0, so we should warn until we depend
7245 on a GLib version we know to be safe.
7246 Update documentation as well.
7249 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
7251 * tools/gst-inspect.c: (main):
7252 * tools/gst-launch.c: (main):
7253 * tools/gst-typefind.c: (main):
7254 * tools/gst-xmlinspect.c: (main):
7255 Call g_thread_init() really really early, before any other GLib
7256 function (see #342564 and recent discussion on gtk-devel-list).
7258 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
7260 Patch by: Vincent Torri <vtorri at univ-evry dot fr>
7262 * gst/gst_private.h:
7263 * gst/gstconfig.h.in:
7265 On win32, all the __declspec stuff for symbol exporting is
7266 apparently only needed with MSVC, but doesn't work with MingW.
7267 Fixes compilation with MingW and #391909.
7269 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
7271 * libs/gst/base/gstbasesrc.c: (gst_base_src_activate_push):
7272 Change some GST_ERROR_OBJECT that aren't really errors to
7273 GST_WARNING_OBJECT in order to reduce terminal spam.
7275 2007-01-04 Stefan Kost <ensonic@users.sf.net>
7277 * tests/check/Makefile.am:
7278 disable test again, as there seem to be still race problems
7280 2007-01-04 Stefan Kost <ensonic@users.sf.net>
7282 * tests/check/Makefile.am:
7283 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
7284 (GST_START_TEST), (queue_suite):
7285 enable queue test again, add tests for the leaky behaviour
7287 2007-01-02 Tim-Philipp Müller <tim at centricular dot net>
7290 * tests/examples/Makefile.am:
7291 Compile adapter test/example only if the required headers are
7292 available (fixes #391915).
7294 2007-01-01 David Schleef <ds@schleef.org>
7297 Restore the previous signal handler for SIGSEGV instead of
7298 setting to default, since we may have stolen it away from
7299 someone. (i.e., Mono)
7301 2006-12-26 Tim-Philipp Müller <tim at centricular dot net>
7303 * docs/random/draft-missing-plugins.txt:
7304 Some small additions and clarifications.
7306 2006-12-26 Tim-Philipp Müller <tim at centricular dot net>
7308 * gst/gstregistryxml.c: (gst_registry_save_escaped):
7309 Make sure we don't pass non-UTF-8 strings to g_markup_escape(),
7310 since that can lead to random memory corruptions and crashes
7311 (may or may not be related to #383244, #386711, and #386711).
7313 2006-12-21 Stefan Kost <ensonic@users.sf.net>
7315 * tests/check/.cvsignore:
7316 * tests/check/Makefile.am:
7317 sync .cvsignome and CLEANFILES
7319 2006-12-21 Stefan Kost <ensonic@users.sf.net>
7321 * tests/check/Makefile.am:
7324 2006-12-21 Stefan Kost <ensonic@users.sf.net>
7326 * docs/design/part-states.txt:
7327 two tiny additional comments
7329 * gst/gststructure.c:
7332 * tests/check/Makefile.am:
7333 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
7335 disable test for now, unless it gets fixed
7337 2006-12-21 Stefan Kost <ensonic@users.sf.net>
7339 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
7341 fix race in underrun test
7343 2006-12-21 Stefan Kost <ensonic@users.sf.net>
7345 * tests/check/elements/.cvsignore:
7348 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
7350 try to narrow test failure
7352 2006-12-21 David Schleef <ds@schleef.org>
7354 * plugins/elements/gstfakesrc.c:
7355 Use g_random_int_range(), since it produces better random
7356 numbers in a range than almost-correct floating point code.
7358 2006-12-21 Stefan Kost <ensonic@users.sf.net>
7360 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
7361 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
7362 (gst_check_teardown_sink_pad):
7363 do not automatically (de)activate pads
7365 * tests/check/Makefile.am:
7366 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
7367 (setup_queue), (cleanup_queue), (GST_START_TEST), (queue_suite):
7368 add new, yet simple tests for queue
7370 * tests/check/elements/fakesrc.c: (cleanup_fakesrc):
7371 * tests/check/elements/fdsrc.c: (cleanup_fdsrc):
7372 * tests/check/elements/filesrc.c: (cleanup_filesrc),
7374 * tests/check/elements/identity.c: (cleanup_identity):
7375 consistent pad (de)activation
7377 2006-12-20 Tim-Philipp Müller <tim at centricular dot net>
7379 Patch by: Sebastian Dröge <slomo ubuntu com>
7381 * libs/gst/base/gstcollectpads.c:
7382 Fix two doc typos (#387866).
7384 2006-12-19 Tim-Philipp Müller <tim at centricular dot net>
7386 * docs/manual/advanced-dparams.xml:
7387 Fix typo (g_object_control_properties() doesn't exist).
7389 2006-12-19 Edward Hervey <edward@fluendo.com>
7391 * gst/gstsegment.c: (gst_segment_set_seek):
7392 Fine tune the cases where the segment start/stop values are really
7394 * tests/check/gst/gstsegment.c: (GST_START_TEST):
7395 Add tests for the return values of gst_segment_set_seek().
7397 2006-12-19 Tim-Philipp Müller <tim at centricular dot net>
7402 * plugins/elements/gstqueue.c: (gst_queue_class_init),
7404 Fix incorrect documentation and flesh it out a bit more.
7405 Set default values for the max properties on the GParamSpec as well,
7406 so it shows up correctly in gst-inspect.
7408 2006-12-18 Stefan Kost <ensonic@users.sf.net>
7410 * plugins/elements/gstqueue.c: (queue_leaky_get_type):
7411 Correct docs of queue, add more detail and crosslink it more.
7413 2006-12-16 Tim-Philipp Müller <tim at centricular dot net>
7415 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
7416 Print additional debug info when the stream isn't perfectly
7417 timestamped; don't try to use invalid durations.
7419 2006-12-16 Tim-Philipp Müller <tim at centricular dot net>
7421 * docs/design/Makefile.am:
7422 Dist new design docs.
7424 2006-12-16 Wim Taymans <wim@fluendo.com>
7426 Patch by: Sjoerd Simons <sjoerd at luon dot net>
7428 * libs/gst/base/gstcollectpads.c: (ref_data), (unref_data),
7429 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
7430 (gst_collect_pads_stop), (gst_collect_pads_event),
7431 (gst_collect_pads_chain):
7432 * libs/gst/base/gstcollectpads.h:
7433 Add refcounting to the collectpads data so we can track when it's safe
7434 to free the data. Fixes #383382.
7436 2006-12-15 Wim Taymans <wim@fluendo.com>
7438 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
7439 (gst_collect_pads_remove_pad):
7440 Automatically activate/deactivate pads when they are added to a
7441 started/stoped collectpads.
7443 2006-12-15 Wim Taymans <wim@fluendo.com>
7445 * gst/gstelement.c: (gst_element_add_pad):
7446 * gst/gstghostpad.c: (gst_ghost_pad_new_full):
7447 * gst/gstpad.c: (gst_pad_init):
7448 Set pads to FLUSHING when they are created. Check, warn and fix when a
7449 demuxer adds an inactive pad to itself when running. Fixes #339326.
7451 2006-12-15 Wim Taymans <wim@fluendo.com>
7453 * gst/gstelement.c: (gst_element_class_init),
7454 (gst_element_default_send_event), (gst_element_send_event),
7455 (gst_element_default_query), (gst_element_query):
7456 Expose default element send_event and query handling as vmethods that
7457 subclasses can chain up to.
7459 2006-12-15 Wim Taymans <wim@fluendo.com>
7461 * gst/gstelement.c: (gst_element_set_state_func):
7462 Small documentation fixes.
7464 2006-12-15 Wim Taymans <wim@fluendo.com>
7466 * docs/design/draft-latency.txt:
7467 Checked in draft for handling latency in pipelines.
7469 2006-12-15 Thomas Vander Stichele <thomas at apestaart dot org>
7473 * gstreamer.spec.in:
7476 2006-12-14 Tim-Philipp Müller <tim at centricular dot net>
7478 * gst/gst.c: (init_pre), (init_post):
7479 init_pre() and init_post() might be called via our GOptionGroup or
7480 from gst_init(), and we should skip both of them if we've already
7481 been initialised, otherwise we will init some things twice or add
7482 two default log functions.
7484 2006-12-13 Edward Hervey <edward@fluendo.com>
7486 * docs/manual/basics-bus.xml:
7487 No, gst_main_loop does not exist. Its g_main_loop.
7488 Discovered by somebody who abused the copy-paste technique of coding :)
7490 2006-12-13 Tim-Philipp Müller <tim at centricular dot net>
7492 * gst/gstghostpad.c:
7493 Log ghostpad debug stuff to the GST_PADS category as well rather
7494 than just to the default category.
7496 2006-12-12 Tim-Philipp Müller <tim at centricular dot net>
7499 * gst/gst.c: (init_pre):
7500 Add some basic system details such as OS and architecture
7501 to the debug output if possible, courtesy of uname().
7503 2006-12-11 Tim-Philipp Müller <tim at centricular dot net>
7505 * docs/gst/running.xml:
7506 Document GST_REGISTRY_FORK and GST_DEBUG_NO_COLOR
7507 environment variables.
7509 2006-12-09 Jan Schmidt <thaytan@mad.scientist.com>
7511 * tests/check/gst/gstbin.c: (GST_START_TEST):
7512 It is acceptable to have a refcount of 2 or 3 at this point in the
7513 test, because the pipeline might be just posting its state_change
7514 message. The next line then waits for that message to appear using
7515 bus_poll, so that should be fine too.
7517 2006-12-09 Jan Schmidt <thaytan@mad.scientist.com>
7519 * gst/gst.c: (ensure_current_registry_forking):
7520 Ignore EINTR when reading from the child registry pipe.
7521 Explicitly ignore the return value from close, since it makes no
7524 * gst/gstminiobject.c: (gst_mini_object_ref),
7525 (gst_mini_object_unref):
7526 When debugging refcounts, check GST_IS_MINI_OBJECT and warn.
7528 * gst/gstregistry.c: (_priv_gst_registry_remove_cache_plugins):
7529 When removing cached plugins, remove their features too, so they're
7530 not visible after they've disappeared.
7532 * gst/gstutils.c: (prepare_link_maybe_ghosting):
7533 In the unlikely case that we are linking pads with no parents, don't
7534 crash trying to get the non-existent parent bin.
7536 * gst/parse/grammar.y:
7537 Output debug in the PIPELINE category
7539 2005-03-08 Wim Taymans <wim@fluendo.com>
7541 Patch by: René Stadler <mail at renestadler dot de>
7543 * gst/gstclock.c: (gst_clock_new_periodic_id):
7544 Reject invalid clock times for interval of periodic ids.
7547 2006-12-07 Jan Schmidt <thaytan@mad.scientist.com>
7549 * gst/gstelementfactory.c: (gst_element_factory_create):
7550 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
7551 * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
7552 * tools/gst-inspect.c: (print_element_info):
7553 Fix refcounting of gst_plugin_feature_load to match the docs.
7556 2006-12-07 Wim Taymans <wim@fluendo.com>
7558 * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
7559 (gst_base_sink_get_position):
7560 Improve debugging of events.
7562 2006-12-07 Wim Taymans <wim@fluendo.com>
7564 Patch by: René Stadler <mail at renestadler dot de>
7566 * gst/gstclock.c: (gst_clock_id_wait):
7567 Make period ids add the interval to the origial requested time instead
7568 of the possibly updated time which can be wrong when there are multiple
7569 waiters for the same id. Fixes #382592.
7571 * gst/gstsystemclock.c: (gst_system_clock_async_thread),
7572 (gst_system_clock_id_wait_jitter_unlocked),
7573 (gst_system_clock_id_wait_jitter):
7574 Fix restart in the async notify thread when an async entry is added to
7575 the front of the list. Fixes #381492.
7577 * tests/check/gst/gstsystemclock.c: (store_callback),
7578 (notify_callback), (GST_START_TEST), (gst_systemclock_suite):
7579 Added test for multiple async waits.
7580 Added test for async wait order.
7582 2006-12-07 Wim Taymans <wim@fluendo.com>
7584 * gst/gstbin.c: (gst_bin_query):
7585 Add some more docs about the POSITION query.
7587 2006-12-07 Jan Schmidt <thaytan@mad.scientist.com>
7590 Bump version nano - back to CVS.
7592 === release 0.10.11 ===
7594 2006-12-06 Jan Schmidt <thaytan@mad.scientist.com>
7597 releasing 0.10.11, "Love never runs on time"
7599 2006-12-01 Jan Schmidt <thaytan@mad.scientist.com>
7601 * win32/common/libgstbase.def:
7602 * win32/common/libgstreamer.def:
7603 * win32/vs8/libgstbase.vcproj:
7604 * win32/vs8/libgstcoreelements.vcproj:
7605 * win32/vs8/libgstreamer.vcproj:
7606 Fix compilation on win32 under VS8
7607 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
7608 Partially fixes #381175
7610 2006-11-29 Jan Schmidt <thaytan@mad.scientist.com>
7612 * gst/gstvalue.c: (gst_value_compare_fraction):
7613 If someone is foolish enough to compare 2 fractions with denominator =
7614 0, return UNORDERED rather than aborting.
7616 2006-11-28 Edward Hervey <edward@fluendo.com>
7618 * libs/gst/base/Makefile.am:
7619 * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type),
7620 (gst_data_queue_base_init), (gst_data_queue_class_init),
7621 (gst_data_queue_init), (gst_data_queue_new),
7622 (gst_data_queue_cleanup), (gst_data_queue_finalize),
7623 (gst_data_queue_locked_flush), (gst_data_queue_locked_is_empty),
7624 (gst_data_queue_locked_is_full), (gst_data_queue_flush),
7625 (gst_data_queue_is_empty), (gst_data_queue_is_full),
7626 (gst_data_queue_set_flushing), (gst_data_queue_push),
7627 (gst_data_queue_pop), (gst_data_queue_drop_head),
7628 (gst_data_queue_set_property), (gst_data_queue_get_property):
7629 * libs/gst/base/gstdataqueue.h:
7630 New GstDataQueue object for threadsafe queueing. Most useful for
7631 elements that need some queueing functionnality.
7632 * docs/libs/gstreamer-libs-docs.sgml:
7633 * docs/libs/gstreamer-libs-sections.txt:
7634 Insert documentation for GstDataQueue
7635 * plugins/elements/Makefile.am:
7636 * plugins/elements/gstelements.c:
7637 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
7638 (gst_multi_queue_class_init), (gst_multi_queue_init),
7639 (gst_multi_queue_finalize), (gst_multi_queue_set_property),
7640 (gst_multi_queue_get_property), (gst_multi_queue_request_new_pad),
7641 (gst_multi_queue_release_pad), (gst_single_queue_push_one),
7642 (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
7643 (gst_multi_queue_loop), (gst_multi_queue_chain),
7644 (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
7645 (gst_multi_queue_getcaps), (gst_multi_queue_bufferalloc),
7646 (gst_multi_queue_src_activate_push), (gst_multi_queue_acceptcaps),
7647 (gst_multi_queue_src_event), (gst_multi_queue_src_query),
7648 (wake_up_next_non_linked), (compute_next_non_linked),
7649 (single_queue_overrun_cb), (single_queue_underrun_cb),
7650 (single_queue_check_full), (gst_single_queue_new):
7651 * plugins/elements/gstmultiqueue.h:
7652 New multiqueue element, using GstDataQueue. Used for queuing multiple
7654 Closes #344639 and #347785
7656 2006-11-22 Stefan Kost <ensonic@users.sf.net>
7658 * docs/pwg/advanced-types.xml:
7659 add more missing type details
7661 * tools/gst-run.c: (main):
7662 remove unused variable
7664 2006-11-21 Stefan Kost <ensonic@users.sf.net>
7666 * docs/libs/Makefile.am:
7667 * docs/libs/gstreamer-libs.types:
7668 add types of base classes to enable gobject specific stuff in the docs
7670 * docs/random/ensonic/embedded.txt:
7671 more ideas about isolating platform specific things
7673 2006-11-20 Wim Taymans <wim@fluendo.com>
7675 Patch by: Sebastian Dröge <slomo at ubuntu dot com>
7677 * libs/gst/check/gstcheck.h:
7678 Fix compilation and running against 0.9.4. Fixes #377332.
7680 2006-11-20 Wim Taymans <wim@fluendo.com>
7682 * gst/gstsegment.c: (gst_segment_set_seek),
7683 (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
7684 (gst_segment_to_running_time):
7685 Fix boundary checking in to_running_time() and to_stream_time().
7688 * tests/check/gst/gstsegment.c: (GST_START_TEST):
7689 stream and running time can now be calculated for the complete
7692 2006-11-15 Tim-Philipp Müller <tim at centricular dot net>
7694 * gst/gstpad.c: (gst_pad_push_event):
7695 Can't access event structure after giving away ownership of
7698 2006-11-15 Stefan Kost <ensonic@users.sf.net>
7700 * docs/random/ensonic/embedded.txt:
7701 * docs/random/ensonic/profiling.txt:
7702 * docs/random/ensonic/receipies.txt:
7705 2006-11-13 Wim Taymans <wim@fluendo.com>
7707 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
7710 Fix documentation for gst_pad_dispatcher. Fixes #374475.
7712 2006-11-13 Wim Taymans <wim@fluendo.com>
7714 Patch by: Jonathan Matthew <jonathan at kaolin dot wh9 dot net>
7716 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
7717 Store new length in segment duration so we don't keep on calling the
7718 potentially expensize get_size() call. Fixes #370865.
7720 2006-11-10 Tim-Philipp Müller <tim at centricular dot net>
7722 Patch by: Sergey Scobich <sergey.scobich at gmail com>
7724 * win32/common/libgstreamer.def:
7725 Add two missing symbols (#366492).
7727 2006-11-10 Jan Schmidt <thaytan@mad.scientist.com>
7729 * libs/gst/base/gstadapter.c: (gst_adapter_flush),
7730 (gst_adapter_take_buffer):
7731 Fix format string to use all its arguments.
7732 Remove useless >= check on a guint
7734 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
7736 * tests/examples/adapter/.cvsignore:
7737 Ignore build file as commanded by the build-bot
7739 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
7741 * tests/examples/adapter/Makefile.am:
7742 * tests/examples/adapter/adapter_test.c: (run_test_take),
7743 (run_test_take_buffer), (run_tests), (main):
7745 Add new files from the previous commit
7747 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
7751 * libs/gst/base/gstadapter.c: (gst_adapter_clear),
7752 (gst_adapter_push), (gst_adapter_peek_into), (gst_adapter_peek),
7753 (gst_adapter_flush), (gst_adapter_take), (gst_adapter_take_buffer):
7754 * libs/gst/base/gstadapter.h:
7755 * tests/check/libs/adapter.c: (create_and_fill_adapter),
7756 (GST_START_TEST), (gst_adapter_suite):
7757 * tests/examples/Makefile.am:
7758 Do some optimisation work in GstAdapter to avoid copies in more cases.
7759 It could still do slightly better by merging buffers when
7760 gst_buffer_is_span_fast is true, but is already faster.
7762 Also, avoid traversing a single-linked list to append each incoming
7763 buffer inside the adapter.
7765 Add simple test app that times the adapter behaviour in different
7766 situations, and extend the unit test to check that bytes enter and
7767 exit the adapter in their original order.
7769 2006-11-08 Tim-Philipp Müller <tim at centricular dot net>
7771 * docs/random/draft-missing-plugins.txt:
7772 Update: use element message instead of adding a new message
7773 type to the core; don't provide GStreamer API to initiate the
7774 plugin download, just provide API to compose the strings needed
7775 and let an external libgimmestuff handle the rest.
7777 2006-11-08 Jan Schmidt <thaytan@mad.scientist.com>
7779 * tools/gst-inspect.c: (print_element_properties_info):
7780 Print a string instead of 'unknown type' for GValueArray properties
7782 2006-11-08 Christian F.K. Schaller <christian@fluendo.com>
7784 * docs/random/draft-missing-plugins.txt:
7787 2006-11-07 Tim-Philipp Müller <tim at centricular dot net>
7789 * tests/examples/typefind/typefind.c: (type_found), (main):
7790 Make typefind element example work again (#371894); add a
7793 2006-11-07 Tim-Philipp Müller <tim at centricular dot net>
7795 * docs/random/draft-missing-plugins.txt:
7796 Commit initial draft about how to deal with missing plugins,
7797 needs work (API too).
7799 2006-11-07 Stefan Kost <ensonic@users.sf.net>
7801 * docs/pwg/advanced-types.xml:
7802 documents the new caps elements (see #363118)
7804 2006-11-06 Tim-Philipp Müller <tim at centricular dot net>
7806 * gst/gstplugin.c: (gst_plugin_load_file):
7807 * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_finalize),
7808 (gst_file_src_map_region), (gst_file_src_start):
7809 * plugins/indexers/gstfileindex.c: (gst_file_index_load),
7810 (gst_file_index_commit):
7811 Use g_strerror() instead of strerror() - we want UTF-8.
7813 2006-11-06 Tim-Philipp Müller <tim at centricular dot net>
7815 Patch by: Peter Kjellerstedt <pkj at axis com>
7817 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
7818 Another printf fix (#371493).
7820 2006-11-06 Stefan Kost <ensonic@users.sf.net>
7822 * tests/check/gst/gsttag.c:
7823 relicence (okay with author=company)
7825 2006-11-06 Stefan Kost <ensonic@users.sf.net>
7827 * gst/gstpad.c: (gst_pad_event_default_dispatch),
7828 (gst_pad_push_event):
7829 Enhance debug and improve docs
7834 2006-11-06 Stefan Kost <ensonic@users.sf.net>
7836 * docs/random/ensonic/distributed.txt:
7837 * docs/random/ensonic/profiling.txt:
7840 2006-11-06 Stefan Kost <ensonic@users.sf.net>
7842 * docs/gst/gstreamer-sections.txt:
7843 add new API and fix the build
7845 * gst/gstbin.c: (gst_bin_recalc_state):
7846 * gst/gstelement.c: (gst_element_message_full),
7847 (gst_element_get_state_func), (gst_element_set_state_func):
7848 use new API and improve logging
7850 * gst/gstutils.c: (gst_element_state_change_return_get_name):
7852 API: add function to get StateChangereturn names to improve logs
7854 2006-11-04 Thomas Vander Stichele <thomas at apestaart dot org>
7856 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
7857 I'm considering shooting the next person to put strerror stuff
7858 in the translateable part of the message.
7860 2006-11-03 Wim Taymans <wim@fluendo.com>
7862 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
7863 Get the type and printf conversion specifiers right.
7865 2006-11-03 Wim Taymans <wim@fluendo.com>
7867 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
7869 * gst/gstpad.c: (gst_pad_init), (pre_activate),
7870 (gst_pad_set_blocked_async), (gst_pad_acceptcaps_default),
7871 (gst_pad_accept_caps), (handle_pad_block), (gst_pad_push_event):
7872 Some small cleanups. Improve debugging.
7874 Signal all waiting threads with a broadcast instead of just one.
7877 2006-11-03 Wim Taymans <wim@fluendo.com>
7879 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
7880 (gst_fd_src_create):
7882 Only update fd when it's different from the old.
7884 2006-11-02 Tim-Philipp Müller <tim at centricular dot net>
7886 * plugins/elements/gstfilesrc.c: (gst_file_src_create_mmap):
7887 Printf fixes for PPC/OSX, take two (#369366).
7889 2006-11-02 Tim-Philipp Müller <tim at centricular dot net>
7891 Based on patch by: Jan David Mol <j.j.d.mol at tudelft nl>
7893 * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
7894 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
7895 (gst_file_src_map_small_region), (gst_file_src_create_mmap):
7896 Printf fixes for gsize parameters on PPC/OSX (#369366). Also,
7897 don't cast to long long for portability reasons, but use
7898 GLib's types instead.
7900 2006-10-30 Michael Smith <msmith@fluendo.com>
7902 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
7903 Get the arguments to lseek() the right way around.
7906 2006-10-30 Wim Taymans <wim@fluendo.com>
7908 Patch by: gorshkov <gorshkov at oghma dot on dot ca>
7911 _declspec should be __declspec (two underscores, not one). Fixes 366572.
7913 2006-10-28 Tim-Philipp Müller <tim at centricular dot net>
7915 Patch by: Kjartan Maraas <kmaraas at gnome org>
7917 * docs/design/part-MT-refcounting.txt:
7918 * docs/random/wtay/capsnego2-docs:
7921 Typo fixes (#366212).
7923 2006-10-28 Wim Taymans <wim@fluendo.com>
7925 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
7928 * win32/common/libgstbase.def:
7929 * win32/common/libgstreamer.def:
7930 * win32/vs8/libgstbase.vcproj:
7931 * win32/vs8/libgstcontroller.vcproj:
7932 Add needed entries in .def files.
7934 Rearrange def files in vs8 solutions. Fixes #366286.
7936 2006-10-28 Tim-Philipp Müller <tim at centricular dot net>
7938 * win32/common/gstconfig.h:
7939 Add GST_SEGMENT_FORMAT and GST_USING_PRINTF_EXTENSION to the
7940 hand-made win32 gstconfig.h. Fixes #366321.
7942 2006-10-27 Wim Taymans <wim@fluendo.com>
7944 * gst/gstghostpad.c: (gst_proxy_pad_do_acceptcaps),
7945 (gst_ghost_pad_new_full):
7946 Make acceptcaps return TRUE when we don't have a target, just like
7949 2006-10-27 Wim Taymans <wim@fluendo.com>
7951 * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
7952 Revert previous commit, 0 sized buffers are allowed. Reopens #363095.
7954 2006-10-26 Tim-Philipp Müller <tim at centricular dot net>
7956 * gst/gststructure.c: (gst_structure_id_set_value):
7957 If someone tries to set a non-UTF8 string field on a structure,
7958 don't just print a warning, but also ignore the request and do
7959 not change/add that field to the structure.
7961 * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
7964 2006-10-25 David Schleef <ds@schleef.org>
7967 g_hash_table_insert() needs a cast to a non-const pointer duh.
7969 2006-10-25 David Schleef <ds@schleef.org>
7973 Change name parameter of _gst_debug_register_funcptr to const
7974 to reflect the constness of its use in the function as well
7975 as to quiet a gcc warning.
7977 2006-10-25 Edward Hervey <edward@fluendo.com>
7979 * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
7980 Don't push the buffer if it's empty.
7983 2006-10-24 Wim Taymans <wim@fluendo.com>
7988 * libs/gst/base/gstbasetransform.c:
7989 (gst_base_transform_sink_eventfunc):
7990 Debug segment values *after* updating them as this is more
7993 2006-10-23 Wim Taymans <wim@fluendo.com>
7995 * docs/design/part-events.txt:
7998 * docs/design/part-block.txt:
7999 * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
8000 (gst_pad_push_event):
8001 Revert BLOCKING patch, it tries to be smart without really having a
8002 clear idea what or how. So, now we discard all FLUSHING events again on
8003 a blocking pad. Should fix gnonlin again.
8005 2006-10-23 Wim Taymans <wim@fluendo.com>
8007 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
8009 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
8010 (gst_base_src_start), (gst_base_src_activate_push):
8011 Make sure size is always initialized. Fixes #364388.
8013 2006-10-20 Stefan Kost <ensonic@users.sf.net>
8015 * docs/random/ensonic/distributed.txt:
8016 add some ideas about doing distributed processing
8018 * docs/random/ensonic/profiling.txt:
8019 get_rusage look promising
8021 2006-10-18 Stefan Kost <ensonic@users.sf.net>
8023 * docs/manual/basics-helloworld.xml:
8024 Add a cast in example to fix compile warning
8026 2006-10-18 Wim Taymans <wim@fluendo.com>
8028 * gst/gstsegment.c: (gst_segment_set_last_stop),
8029 (gst_segment_set_seek), (gst_segment_set_newsegment_full):
8030 Relax arg checking again, -1 is allowed.
8032 2006-10-18 Wim Taymans <wim@fluendo.com>
8034 * gst/gstsegment.c: (gst_segment_set_last_stop),
8035 (gst_segment_set_seek), (gst_segment_set_newsegment_full):
8036 _set_last_stop() must be with a value != -1
8037 A _TYPE_SET to -1 means seek to 0.
8038 Calc last_stop correctly for negative rates.
8039 Make sure we work with positive durations when updating a segment.
8041 2006-10-18 Wim Taymans <wim@fluendo.com>
8043 * docs/design/part-live-source.txt:
8047 2006-10-18 Tim-Philipp Müller <tim at centricular dot net>
8050 Add an explicit cast to GstBuffer** to keep old code that added an
8051 explicit cast to GstMiniObject** for gst_mini_object_replace()
8052 compiling without warning.
8054 2006-10-18 Stefan Kost <ensonic@users.sf.net>
8056 * gst/gstvalue.c: (gst_value_set_date), (gst_date_copy):
8057 check for validity of dates
8059 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
8061 * docs/gst/gstreamer-sections.txt:
8062 Forgot this one, makes gtk-doc shut up.
8064 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
8066 Patch by: Peter Kjellerstedt <pkj at axis com>
8069 Don't define xmlNodePtr to gpointer if the core was built with
8070 --disable-loadsave and --disable-registry, this will break
8071 applications that want to use libxml2 but are buildling against a
8072 core that doesn't use libxml2. Use an intermediary type GstXmlNodePtr
8073 instead so we don't have to mess with the libxml2 namespace
8076 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
8079 Fix gst_buffer_replace() macro to avoid gst_mini_object_replace()-related
8080 type-punned pointer warnings.
8082 2006-10-16 Tim-Philipp Müller <tim at centricular dot net>
8085 Add casts to the correct return type to state <=> state transition
8088 2006-10-16 Stefan Kost <ensonic@users.sf.net>
8090 * docs/design/part-live-source.txt:
8091 describe howto handle latency
8093 * docs/random/ensonic/profiling.txt:
8096 * tools/gst-plot-timeline.py:
8097 fix log parsing for solaris, remove unused function
8099 2006-10-16 Wim Taymans <wim@fluendo.com>
8101 * docs/design/part-trickmodes.txt:
8103 Update some docs regarding reverse playback.
8105 2006-10-15 Tim-Philipp Müller <tim at centricular dot net>
8107 Patch by: Marcus Granado <mrc dot gran at gmail com>
8109 * win32/vs8/grammar.vcproj:
8110 Error out with a warning if glib-genmarshal.exe is not in path,
8111 instead of creating bogus gstmarshal.[ch] files. Fixes #361720.
8113 2006-10-13 Wim Taymans <wim@fluendo.com>
8115 * gst/gstsegment.c: (gst_segment_set_seek):
8116 When seeking to stop -1, set last_stop (current position) to the
8117 duration of the segment.
8119 2006-10-13 Wim Taymans <wim@fluendo.com>
8122 Clarify _NO_PREROLL a bit more.
8127 * gst/gstpad.c: (gst_pad_link_check_hierarchy),
8128 (gst_pad_get_caps_unlocked), (gst_pad_save_thyself),
8129 (handle_pad_block), (gst_pad_push_event), (gst_pad_send_event):
8130 Patch by: Yves Lefebvre <ivanohe at abacom dot com> Fix possible deadlock
8131 due to wrong locking order. Fixes #361769.
8132 Remove some redundant/misplaced checks in pad_block.
8134 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
8135 For negative rates, count backwards from the duration.
8137 2006-10-13 Tim-Philipp Müller <tim at centricular dot net>
8139 * gst/gsterror.c: (_gst_library_errors_init):
8140 Fix error message for GST_LIBRARY_ERROR_SETTINGS (feel free to come
8141 up with something better).
8143 2006-10-12 Tim-Philipp Müller <tim at centricular dot net>
8145 * win32/vs6/libgstreamer.dsp:
8146 * win32/vs7/libgstreamer.vcproj:
8147 * win32/vs8/libgstreamer.vcproj:
8148 Don't reference glib-compat.c which is currently not used and not
8149 disted; add gstquark.c which was recently added. Fixes #361730.
8151 2006-10-12 Tim-Philipp Müller <tim at centricular dot net>
8153 * win32/common/libgstbase.def:
8154 * win32/common/libgstcontroller.def:
8155 * win32/common/libgstreamer.def:
8156 Add gst_caps_merge() and a bunch of other recently-added functions.
8159 2006-10-11 Wim Taymans <wim@fluendo.com>
8161 * docs/plugins/gstreamer-plugins.args:
8162 * docs/plugins/inspect/plugin-coreelements.xml:
8163 * docs/plugins/inspect/plugin-coreindexers.xml:
8164 Update element args.
8166 * gst/gstsystemclock.c:
8167 Small comment update.
8169 * plugins/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
8170 (gst_tee_request_new_pad), (gst_tee_release_pad),
8171 (gst_tee_buffer_alloc), (gst_tee_sink_activate_push),
8172 (gst_tee_sink_activate_pull):
8173 * plugins/elements/gsttee.h:
8175 Add default property defines.
8176 Implement release pad function.
8177 Give properties better blubs etc.
8178 Activate pads before adding them to a running tee.
8179 Do simple buffer_alloc on the first requested pad.
8180 Post error when activation fails.
8182 2006-10-11 Tim-Philipp Müller <tim at centricular dot net>
8184 * gst/gst.c: (ensure_current_registry_forking):
8185 Check return value of write() to make compiler happy.
8187 2006-10-11 Wim Taymans <wim@fluendo.com>
8189 Patch by: Sjoerd Simons <sjoerd at luon dot net>
8191 * plugins/elements/gstqueue.c: (gst_queue_chain):
8192 Recheck queue filledness after signalling the overrun when we're about
8193 to leak downstream because we released the lock when emitting the signal
8194 and the queue could be empty again. Fixes #352345.
8196 2006-10-11 Tim-Philipp Müller <tim at centricular dot net>
8198 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
8199 Fix refcounting here too, just like we did for _new_valist() a few
8200 days ago (#357180) (thanks to René Stadler). Also remove all those
8201 'Since: 0.9' from the gtk-doc blobs.
8203 * tests/check/libs/controller.c: (controller_refcount_new_list),
8204 (gst_controller_suite):
8205 Unit test for the above.
8207 2006-10-10 Wim Taymans <wim@fluendo.com>
8209 Patch by: Sebastien Cote <sebas642 at yahoo dot ca>
8211 * gst/gstpad.c: (gst_pad_get_caps_unlocked),
8212 (gst_pad_save_thyself):
8214 Write pad direction in XML output. Fixes #345496.
8216 2006-10-10 Wim Taymans <wim@fluendo.com>
8218 Patch by: René Stadler <mail at renestadler dot de>
8220 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
8221 (gst_controller_new_list), (_gst_controller_dispose),
8222 (_gst_controller_finalize), (_gst_controller_class_init):
8223 Take ref to controlled object so that it cannot disappear.
8226 2006-10-10 Wim Taymans <wim@fluendo.com>
8228 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
8229 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
8230 (gst_check_teardown_sink_pad):
8231 Activate/deactivate pads in setup/teardown respectively.
8233 2006-10-10 Zaheer Abbas Merali <zaheerabbas at merali dot org>
8235 Patch by: Josep Torra Valles <josep@fluendo.com>
8238 Cast values when making gstenumtypes.h. This pacifies Forte
8239 so it doesn't warn about the ~0 as GST_MESSAGE_ANY not fitting
8242 2006-10-09 Wim Taymans <wim@fluendo.com>
8244 * gst/gstevent.c: (gst_event_new_seek), (gst_event_parse_seek):
8245 Rename some more @cur to @start to fix docs.
8247 * gst/gstsegment.c: (gst_segment_set_seek):
8249 time and start must always stay in sync as defined in design doc.
8251 * gst/gsttaglist.c: (gst_tag_list_is_empty):
8252 Rename param to fix docs.
8254 * tests/check/gst/gstsegment.c: (GST_START_TEST):
8255 Check that start and time are in sync.
8257 * tests/check/pipelines/parse-launch.c:
8258 (gst_parse_test_element_change_state):
8259 Activate pad before adding to the element.
8261 2006-10-09 Wim Taymans <wim@fluendo.com>
8263 * docs/design/part-qos.txt:
8268 Update seek event docs regarding negative rates.
8269 Rename @cur to @start.
8271 * gst/gstsegment.c: (gst_segment_set_seek):
8273 Update set_seek docs regarding negative rates.
8274 Correctly update last_stop to @stop when dealing with negative
8276 Rename @cur to @start.
8278 * tests/check/gst/gstpad.c: (GST_START_TEST):
8279 Activate pads before trying to use them.
8281 * tests/check/gst/gstsegment.c: (GST_START_TEST),
8282 (gst_segment_suite):
8283 Add simple check for segments and negative rates.
8285 2006-10-09 Tim-Philipp Müller <tim at centricular dot net>
8287 * gst/gsttaglist.c: (gst_tag_list_is_empty):
8289 * docs/gst/gstreamer-sections.txt:
8290 API: add gst_tag_list_is_empty() (#360467).
8292 * tests/check/gst/gsttag.c: (GST_START_TEST):
8295 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
8298 Revert change from earlier wrt GST_MESSAGE_TYPE_ANY having
8299 a value that doesn't fit on enumeration.
8301 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
8303 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
8304 Remove local debugging system and use Gstreamer's instead.
8306 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
8308 Patch by: Josep Torra Valles <josep@fluendo.com>
8310 * common/m4/gst-error.m4:
8311 Disable warning of statement not reached on Forte.
8313 Fix warning on Forte (value doesn't fit on enumeration).
8314 * libs/gst/base/gstbasesink.c: (gst_base_sink_chain_unlocked):
8315 Fix warning on Forte (value doesn't fit on enumeration).
8316 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
8317 DEBUG macro says it takes minimum of 2 args and so Forte
8318 complains about the use with just 1 arg.
8319 * plugins/elements/gstfdsink.c:
8320 * plugins/elements/gstfdsrc.c:
8321 * plugins/elements/gstfilesink.c:
8322 * plugins/elements/gstfilesrc.c:
8323 Use correct return type for the uri handler implementations.
8325 All these fix warnings in Forte. Fixes bug #360860.
8327 2006-10-08 Tim-Philipp Müller <tim at centricular dot net>
8330 gcc versions prior to gcc 3.3 apparently complain about a NULL printf
8331 format string, so don't use G_GNUC_PRINTF for those versions.
8333 2006-10-07 Tim-Philipp Müller <tim at centricular dot net>
8335 * gst/gsttaglist.c: (gst_is_tag_list):
8337 Minor fixes to GST_IS_TAG_LIST and gst_is_tag_list().
8339 * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
8340 Small test for the above.
8342 2006-10-07 Tim-Philipp Müller <tim at centricular dot net>
8345 Less tabs, more spaces.
8347 2006-10-06 Tim-Philipp Müller <tim at centricular dot net>
8350 Those two function declarations do actually belong there, revert
8351 commit from yesterday that turned them intro macros.
8353 2006-10-06 Zaheer Abbas Merali <zaheerabbas at merali dot org>
8355 Patch by: Josep Torra Valles <josep@fluendo.com>
8357 * gst/gst.c: (gst_init_get_option_group):
8358 Fix empty declaration and type mismatch.
8359 * gst/gstbin.c: (gst_bin_change_state_func):
8361 * gst/gstelement.c: (gst_element_continue_state),
8362 (gst_element_set_state_func), (gst_element_change_state),
8363 (gst_element_change_state_func):
8364 Fix type mismatches.
8365 * gst/gstinfo.c: (gst_debug_compare_log_function_by_func),
8366 (gst_debug_remove_log_function), (_gst_debug_nameof_funcptr):
8367 Cast as appropriate.
8368 * gst/gstobject.c: (gst_class_signal_connect):
8369 Cast as appropriate. The function pointer parameter really
8370 has the wrong type but would break API if we change it.
8372 Fix redefinition of _FILE_OFFSET_BITS caused on Solaris wrt
8373 order of including string.h.
8374 * gst/gstutils.c: (gst_element_state_get_name):
8375 Remove unreachable line.
8376 * gst/gstxml.c: (gst_xml_parse_doc):
8378 All these caught by Forte.
8380 2006-10-06 Zaheer Abbas Merali <zaheerabbas at merali dot org>
8382 Patch by: Josep Torra Valles <josep@fluendo.com>
8384 * common/m4/gst-error.m4:
8386 We need to disable warnings on Forte for empty declarations
8387 due to gst-indent adding ;s to lines that just use macros
8388 where the macro actually doesn't need a ; at end to end
8391 2006-10-06 Wim Taymans <wim@fluendo.com>
8393 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
8394 (gst_file_sink_close_file), (gst_file_sink_event),
8395 (gst_file_sink_render):
8396 Add some FIXME for the NEWSEGMENT handling.
8398 2006-10-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
8400 * gst/parse/grammar.y:
8401 Remove static function gst_parse_element_lock as all it does
8402 is return. Looks like cruft from 0.8.
8404 2006-10-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
8406 Patch by: Josep Torra Valles <josep@fluendo.com>
8408 * common/m4/gst-error.m4:
8410 * libs/gst/net/Makefile.am:
8411 Fix a compilation issue with Forte on Solaris. inet_aton is in
8414 2006-10-05 Tim-Philipp Müller <tim at centricular dot net>
8416 * gst/gstpad.c: (pre_activate):
8417 * gst/gstregistry.c: (gst_registry_scan_path_level):
8418 * gst/gstregistryxml.c: (load_plugin):
8419 * libs/gst/controller/gstcontroller.c:
8420 (gst_controlled_property_set_interpolation_mode):
8421 * libs/gst/dataprotocol/dataprotocol.c:
8422 (gst_dp_packet_from_event_1_0):
8423 * libs/gst/net/gstnetclientclock.c:
8424 (gst_net_client_clock_observe_times):
8425 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
8428 2006-10-05 Tim-Philipp Müller <tim at centricular dot net>
8431 * docs/gst/gstreamer-sections.txt:
8432 * gst/gstconfig.h.in:
8435 Add GST_USING_PRINTF_EXTENSION to gstconfig.h so that we know
8436 whether we can use G_GNUC_PRINTF in other header files and at
8437 least check the printf format/arguments of debug messages and
8438 GST_ELEMENT_ERROR messages when the printf extension is not
8440 Replace more tabs with spaces in gstinfo.h and remove two spurious
8441 function declarations in GST_DISABLE_DEBUG part with macros.
8443 2006-10-03 Tim-Philipp Müller <tim at centricular dot net>
8445 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_post):
8446 More docs for the sync-message signal (mention that it is not
8447 emitted by default); log message structures of messages posted on
8450 2006-10-03 Jan Schmidt <thaytan@mad.scientist.com>
8452 * gst/gst.c: (ensure_current_registry_forking):
8453 Use a pipe pair to receive status results from the forked child, and
8454 ignore the result from waitpid. Fixes #355499
8456 2006-10-02 Wim Taymans <wim@fluendo.com>
8458 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
8459 (gst_ghost_pad_suite):
8462 2006-10-02 Tim-Philipp Müller <tim at centricular dot net>
8465 Add 'Since: 0.10.11' to gst_pad_is_blocking() gtk-doc blurb.
8467 2006-10-02 Edward Hervey <edward@fluendo.com>
8469 * docs/design/part-block.txt:
8470 Further explain the use of flushing on blocked pads.
8471 * docs/gst/gstreamer-sections.txt:
8472 * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
8473 (gst_pad_push_event):
8475 Added new GstPadFlag : GST_PAD_BLOCKING.
8476 Adds the notion of pads really blocking, which enables to properly
8477 handle FLUSH_START/FLUSH_STOP events on blocked pads.
8479 API: gst_pad_is_blocking()
8480 API: GST_PAD_IS_BLOCKING() macro
8481 API: GST_PAD_BLOCKING GstPadFlag
8483 2006-10-02 Wim Taymans <wim@fluendo.com>
8485 Patch by: mrcgran <mrc.gran at gmail dot com>
8487 * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps):
8488 Filter the proxied caps against the padtemplate if we have one.
8490 * gst/gstquery.c: (gst_query_new_segment):
8491 Add include for gstinfo.h so that compilation with
8492 -DGST_DISABLE_GST_DEBUG works again. Fixes #358436.
8494 2006-10-02 Wim Taymans <wim@fluendo.com>
8496 Patch by: Alessandro Decina <alessandro at nnva org>
8498 * plugins/elements/gstfilesink.c: (gst_file_sink_init),
8499 (gst_file_sink_set_location), (gst_file_sink_open_file),
8500 (gst_file_sink_close_file), (gst_file_sink_event),
8501 (gst_file_sink_render):
8502 Set file to NULL when closing filesink so that we can set a new filename
8503 in READY. Fixes #358613.
8505 2006-10-02 Tim-Philipp Müller <tim at centricular dot net>
8507 Patch by: Alessandro Decina <alessandro at nnva org>
8509 * gst/gstevent.c: (_gst_event_copy):
8510 Fix gst_mini_object_make_writable() and gst_event_copy() for events
8511 with event structures by setting the parent refcount address of the
8512 copied structure to the address of the refcount member of the newly
8513 copied event rather than the address of the refcount member of the
8514 original event. Fixes #358737.
8516 * tests/check/gst/gstevent.c: (GST_START_TEST):
8517 Unit test for the above.
8519 2006-09-29 Stefan Kost <ensonic@users.sf.net>
8521 * docs/design/Makefile.am:
8522 Dist some more files.
8524 2006-09-29 Tim-Philipp Müller <tim at centricular dot net>
8526 * tests/check/libs/controller.c: (GST_START_TEST),
8527 (gst_controller_suite):
8528 Add test for the previous fix; add some more tests
8529 for correct refcounting behaviour; fix a few leaks
8530 in test cases; call gst_controller_init() at start
8533 2006-09-29 Tim-Philipp Müller <tim at centricular dot net>
8535 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
8536 (gst_controller_set_from_list):
8537 Don't g_return_val_if_fail() on timed values with invalid timestamps
8538 inside a critical section without unlocking the mutex. Spotted by
8539 René Stadler. (#357617)
8540 Also, fix up refcounting properly: when returning an existing
8541 controller, we should increase the reference only once and not
8542 once per property and when trying to control a property again
8543 we should also increase the refcount.
8545 2006-09-29 Wim Taymans <wim@fluendo.com>
8547 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
8548 * libs/gst/net/gstnettimeprovider.c:
8549 (gst_net_time_provider_thread):
8550 Stop reading commands when EOF as well.
8552 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
8553 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
8554 * plugins/elements/gstidentity.c: (gst_identity_class_init):
8555 Unify description of the dump property.
8557 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
8559 * tests/examples/manual/.cvsignore:
8560 OK, so it's actually cvsignore that needs changing. Stop laughing.
8562 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
8564 * tests/examples/manual/Makefile.am:
8565 Gah, declare vars *before* using them
8567 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
8569 * gst/gst.c: (init_pre), (scan_and_update_registry),
8570 (ensure_current_registry_nonforking),
8571 (ensure_current_registry_forking), (ensure_current_registry),
8572 (init_post), (gst_debug_help), (gst_deinit):
8573 * gst/gst_private.h:
8574 * gst/gstregistry.c: (gst_registry_finalize),
8575 (gst_registry_remove_features_for_plugin_unlocked),
8576 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
8577 (gst_registry_scan_path),
8578 (_priv_gst_registry_remove_cache_plugins),
8579 (_priv_gst_registry_cleanup):
8580 * gst/gstregistry.h:
8581 Re-commit the registry changes, along with an extra fix:
8582 When a cached plugin is encountered at a different file path,
8583 update the stored path in the registry cache so that the parent
8584 process knows where it actually is now when it re-reads the registry
8585 cache. Fixes the thing that broke distcheck with the previous commit.
8587 * tests/check/Makefile.am:
8588 Clean up files named 'core' too when running make clean.
8590 * tests/examples/manual/Makefile.am:
8591 Set up a registry path for running these tests, and clean it properly
8594 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
8597 Don't pull in gmodule-2.0.pc as a dependency in our .pc files - we
8598 want gmodule-no-export-2.0.pc instead so that we don't drag in
8599 --export-dynamic on every project that links to GStreamer.
8601 Also, make our export regex only match the start of symbols, rather
8602 than any symbol that contains '_gst' somewhere.
8604 * libs/gst/check/Makefile.am:
8605 The libgstcheck we build does however need export-dynamic, as it
8606 produces some symbols that don't match our _gst... style regex.
8609 2006-09-27 Jan Schmidt <thaytan@mad.scientist.com>
8611 * gst/gst.c: (init_pre), (scan_and_update_registry),
8612 (ensure_current_registry_nonforking),
8613 (ensure_current_registry_forking), (ensure_current_registry),
8614 (init_post), (gst_debug_help), (gst_deinit):
8615 * gst/gst_private.h:
8616 * gst/gstregistry.c: (gst_registry_finalize),
8617 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
8618 (gst_registry_scan_path), (_gst_registry_remove_cache_plugins),
8619 (_gst_registry_cleanup):
8620 * gst/gstregistry.h:
8621 Revert previous change until I figure out why it breaks distcheck.
8623 2006-09-27 Jan Schmidt <thaytan@mad.scientist.com>
8625 * gst/gst.c: (init_pre), (scan_and_update_registry),
8626 (ensure_current_registry_nonforking),
8627 (ensure_current_registry_forking), (ensure_current_registry),
8628 (init_post), (gst_debug_help), (gst_deinit):
8630 Make init_pre and init_post take the full complement of GOptionFunc
8631 args so they can return useful GErrors. Make the registry updating
8634 Call _priv_gst_registry_remove_cache_plugins after scanning files to
8635 ensure that the registry we're about to write out doesn't contain
8636 stale information about old-deleted plugin files.
8638 Make _priv_gst_registry_remove_cache_plugins return a boolean so
8639 that deletion of plugin files is considered a registry change.
8641 * gst/gst_private.h:
8642 * gst/gstregistry.c: (gst_registry_finalize),
8643 (gst_registry_remove_features_for_plugin_unlocked),
8644 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
8645 (gst_registry_scan_path),
8646 (_priv_gst_registry_remove_cache_plugins),
8647 (_priv_gst_registry_cleanup):
8648 * gst/gstregistry.h:
8649 Rename _gst_registry_remove_cache_plugins and _gst_registry_cleanup
8650 by adding _priv prefix, so that they won't appear in the global
8651 symbol table. They still do atm though because of #318031. Move the
8652 prototypes to gst_private.h
8654 When removing a plugin, remove all features for that plugin too.
8657 2006-09-27 Wim Taymans <wim@fluendo.com>
8659 * docs/random/moving-plugins:
8660 Make it clear that the "compiled-in descriptions" really mean
8661 the element details.
8663 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
8664 (gst_base_sink_wait_preroll):
8667 * docs/libs/gstreamer-libs-sections.txt:
8668 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
8669 (gst_base_src_get_range), (gst_base_src_activate_push):
8670 * libs/gst/base/gstbasesrc.h:
8671 Added function to block while waiting for PLAYING, this function
8672 is used by live sources that block on the clock.
8673 API: gst_base_src_wait_playing()
8675 2006-09-27 Tim-Philipp Müller <tim at centricular dot net>
8677 Patch by: Peter Kjellerstedt <pkj at axis com>
8680 gst-element-check.m4 is generated and should therefore be
8681 copied from the build dir rather than the source dir (#357593).
8682 'make distcheck' hasn't noticed this because we were disting
8683 the file as well, so stop doing that.
8685 2006-09-27 Tim-Philipp Müller <tim at centricular dot net>
8687 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
8688 Add some tests for gst_caps_intersect().
8690 * tools/gst-launch.c: (event_loop):
8691 Print all buffering percentages we get, even the 100% one.
8693 2006-09-26 Wim Taymans <wim@fluendo.com>
8695 * tools/gst-inspect.c: (print_element_properties_info),
8696 (print_signal_info):
8697 Fix printing of flags to match the look of enums.
8699 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
8701 * gst/gstelementfactory.c:
8702 Fix typo in docs blurb.
8704 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
8706 * gst/gsturi.c: (search_by_entry):
8707 Don't assert/crash here if a uri handler doesn't return any
8708 supported protocols. The list of protocols could be generated
8709 dynamically at runtime or at plugin registration, and an error
8710 in the underlying library shouldn't be fatal (#353301).
8712 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
8715 Fix warning if HAVE_PRINTF_EXTENSION is undefined
8716 (spotted by Peter Kjellerstedt).
8718 2006-09-23 Wim Taymans <wim@fluendo.com>
8720 Based on patch by: Antoine Tremblay <hexa00 at gmail dot com>
8722 * libs/gst/base/gstbasesrc.c:
8723 (gst_base_src_default_check_get_range), (gst_base_src_start),
8724 (gst_base_src_activate_push), (gst_base_src_activate_pull),
8725 (gst_base_src_change_state):
8726 Match _start/_stop calls in the activate functions. Remove redundant
8727 _stop call from the state change function. Fixes #356910.
8728 Turn failure DEBUG into ERROR.
8730 2006-09-22 Wim Taymans <wim@fluendo.com>
8732 * docs/design/part-buffering.txt:
8733 * gst/gstmessage.c: (gst_message_new_buffering),
8734 (gst_message_parse_buffering):
8735 Update docs about buffering.
8737 * docs/design/part-trickmodes.txt:
8740 2006-09-22 Stefan Kost <ensonic@users.sf.net>
8742 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
8743 (gst_controller_new_list):
8744 Ref instances when returning them again (fixes #357180)
8746 2006-09-22 Tim-Philipp Müller <tim at centricular dot net>
8748 * gst/gstghostpad.c: (gst_ghost_pad_set_target):
8749 Don't forget to release proxy lock when there's an error.
8751 2006-09-20 Jan Schmidt <thaytan@mad.scientist.com>
8754 Add extra initialisers for Caps things, to fix some plugin warnings
8757 2006-09-18 Wim Taymans <wim@fluendo.com>
8759 * gst/gstghostpad.c: (gst_ghost_pad_new_full):
8760 Also set template on the internal pad so that a getcaps from the
8761 target pad returns the template caps.
8763 2006-09-18 Wim Taymans <wim@fluendo.com>
8765 * gst/gstelement.c: (gst_element_post_message),
8766 (gst_element_dispose):
8767 Use _DEBUG_OBJECT some more.
8769 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
8772 * tools/gst-launch.c: (main):
8773 If the toplevel element is not a GstPipeline, it must be put in a
8774 pipeline so that a bus and clock is selected.
8776 2006-09-17 Tim-Philipp Müller <tim at centricular dot net>
8778 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
8779 JITTER, RATE, and LATENCY query should be handled by the
8780 default case and not by the CONVERT query code.
8782 2006-09-17 Tim-Philipp Müller <tim at centricular dot net>
8784 * gst/gstformat.c: (gst_format_register):
8785 Fix locking order (must take lock before using n_values).
8787 * gst/gstvalue.c: (gst_value_serialize_enum),
8788 (gst_value_deserialize_enum_iter_cmp),
8789 (gst_value_deserialize_enum):
8790 Fix serialisation/deserialisation of custom registered GstFormats.
8792 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
8793 Unit test for custom format serialisation/deserialisation.
8795 2006-09-17 Stefan Kost <ensonic@users.sf.net>
8797 * docs/pwg/building-boiler.xml:
8798 * plugins/elements/gstcapsfilter.c:
8799 More G_OBJECT macro fixing. Also Fix some details on the plugin-stamp
8802 2006-09-16 Edward Hervey <edward@fluendo.com>
8804 * libs/gst/base/gstbasetransform.c:
8805 (gst_base_transform_buffer_alloc):
8806 Check if requested caps are the same as the sinks caps IF
8807 ->have_same_caps is TRUE. If they are not, act as if have_same_caps
8809 This fixes the renegotiation issues stated in #352827.
8811 2006-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
8814 * docs/manual/advanced-autoplugging.xml:
8815 * tests/examples/Makefile.am:
8816 * tests/examples/manual/.cvsignore:
8817 * tests/examples/manual/Makefile.am:
8818 * tests/examples/manual/extract.pl:
8819 Extract the manual examples again like we used to do.
8822 2006-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
8824 * win32/common/config.h:
8827 2006-09-16 Stefan Kost <ensonic@users.sf.net>
8830 Documents how to receive errors.
8832 2006-09-15 Wim Taymans <wim@fluendo.com>
8834 * tools/gst-launch.c: (sigint_handler_sighandler), (check_intr),
8835 (event_loop), (main):
8836 Added some comments here and there.
8837 Post an application message when an interrupt is caught instead of doing
8838 an uncontrolled state change.
8839 Clean up the event loop.
8840 Handle buffering messages, pause/resume the pipeline.
8841 Make shutdown because of an interrupt more reliable.
8843 2006-09-15 Wim Taymans <wim@fluendo.com>
8845 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
8846 (gst_base_sink_wait_preroll), (gst_base_sink_do_sync),
8847 (gst_base_sink_preroll_object):
8848 Make sure that our internal state is correct when we commit our state
8849 asynchronously. This solves a race where a state change to PLAYING
8850 could cause the sink to remain blocked in preroll in some situations.
8852 2006-09-15 Wim Taymans <wim@fluendo.com>
8854 * tools/gst-inspect.c: (print_element_properties_info),
8855 (print_signal_info):
8856 List flags as hex so it's easier to deal with.
8858 2006-09-15 Wim Taymans <wim@fluendo.com>
8860 * docs/libs/gstreamer-libs-sections.txt:
8861 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_preroll),
8862 (gst_base_sink_do_sync):
8863 * libs/gst/base/gstbasesink.h:
8864 Expose logic to wait for preroll so that subclasses such as audiosink
8865 can also use this method.
8866 API: gst_base_sink_wait_preroll()
8868 2006-09-15 Wim Taymans <wim@fluendo.com>
8870 * gst/gstobject.c: (gst_object_set_parent):
8871 * gst/gstpipeline.c: (do_pipeline_seek):
8872 Small cleanups in docs and code.
8874 * gst/gstsegment.c: (gst_segment_clip):
8875 * tests/check/gst/gstsegment.c: (GST_START_TEST):
8876 if stop == start and start is in the segment, no clipping should be
8877 done. Also add a test for this.
8879 2006-09-15 Wim Taymans <wim@fluendo.com>
8881 * docs/design/part-buffering.txt:
8882 * docs/gst/gstreamer-sections.txt:
8883 * gst/gstmessage.c: (gst_message_new_buffering),
8884 (gst_message_parse_buffering):
8886 Added methods to create and parse BUFFERING messages.
8887 Added preliminary docs about buffering.
8888 API: gst_message_new_buffering
8889 API: gst_message_parse_buffering
8891 2006-09-06 Wim Taymans <wim@fluendo.com>
8894 Update documentation.
8896 * gst/gstelement.c: (gst_element_class_init),
8897 (gst_element_release_request_pad), (gst_element_set_clock),
8898 (gst_element_get_index), (gst_element_add_pad),
8899 (gst_element_remove_pad), (gst_element_get_random_pad),
8900 (gst_element_send_event), (gst_element_get_query_types),
8901 (gst_element_query), (gst_element_post_message),
8902 (gst_element_message_full), (gst_element_continue_state),
8903 (gst_element_lost_state), (gst_element_save_thyself),
8904 (gst_element_restore_thyself):
8905 Documentation updates.
8906 Rename last bit of the new-pad -> pad-added signal rename.
8907 Fix the case where an element query would only work if the source
8909 Avoid some useless type checking in message handling.
8914 Documentation updates.
8916 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
8918 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
8919 add an INFO line for when we actually update the fd
8921 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
8926 === release 0.10.10 ===
8928 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
8931 releasing 0.10.10, "Pais"
8933 2006-09-05 Tim-Philipp Müller <tim at centricular dot net>
8935 * docs/manual/advanced-position.xml:
8936 Fix typo in sample code.
8938 2006-09-05 Wim Taymans <wim@fluendo.com>
8940 * libs/gst/net/gstnetclientclock.c: (inet_aton),
8941 (gst_net_client_clock_init), (gst_net_client_clock_finalize),
8942 (gst_net_client_clock_do_select), (gst_net_client_clock_new):
8943 * libs/gst/net/gstnetclientclock.h:
8944 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
8945 * libs/gst/net/gstnettimepacket.h:
8946 * libs/gst/net/gstnettimeprovider.c: (inet_aton),
8947 (gst_net_time_provider_init), (gst_net_time_provider_finalize),
8948 (gst_net_time_provider_thread), (gst_net_time_provider_new):
8949 * libs/gst/net/gstnettimeprovider.h:
8950 Make stuff compile on windows. Fixes #345295.
8952 2006-09-03 Tim-Philipp Müller <tim at centricular dot net>
8954 * gst/gst.c: (ensure_current_registry_forking):
8955 Print better details when child was terminated by signal.
8957 2006-09-03 Tim-Philipp Müller <tim at centricular dot net>
8959 * gst/gstregistryxml.c: (gst_registry_xml_save_feature):
8960 Print a warning rather than g_assert() if a plugin feature
8961 is a URI handler but returns no protocols (#353976).
8963 2006-09-02 Stefan Kost <ensonic@users.sf.net>
8965 * docs/random/moving-plugins:
8968 2006-09-01 Tim-Philipp Müller <tim at centricular dot net>
8970 * gst/gstinfo.c: (_gst_debug_nameof_funcptr):
8971 Fix locking order, handle NULL function values properly.
8976 * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
8977 Initialise variable before using it and fix debug statement to
8978 print the address of the function rather than the address of the
8979 variable on the stack holding the address of the function.
8981 2006-09-01 Wim Taymans <wim@fluendo.com>
8983 * gst/gstghostpad.c: (gst_proxy_pad_do_event),
8984 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_chain),
8985 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
8986 (gst_proxy_pad_set_target_unlocked), (gst_ghost_pad_parent_set),
8987 (gst_ghost_pad_parent_unset),
8988 (gst_ghost_pad_internal_do_activate_push),
8989 (gst_ghost_pad_internal_do_activate_pull),
8990 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
8991 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
8992 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
8993 (gst_ghost_pad_new_full), (gst_ghost_pad_new_no_target),
8994 (gst_ghost_pad_new), (gst_ghost_pad_new_from_template),
8995 (gst_ghost_pad_new_no_target_from_template),
8996 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
8998 Avoid needless typechecking in macros.
8999 Since the internal pad is always present and never changes, there is
9000 no need to locking or ref when retrieving it.
9001 Improve debugging a bit.
9002 Handle link errors when setting the target. Fixes #341029.
9004 2006-09-01 Wim Taymans <wim@fluendo.com>
9006 * docs/libs/gstreamer-libs-sections.txt:
9007 * docs/plugins/gstreamer-plugins-sections.txt:
9010 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
9011 (gst_collect_pads_event):
9012 * libs/gst/base/gstcollectpads.h:
9013 Documentation updates.
9014 Free queued buffer when removing a pad.
9016 2006-08-31 Michael Smith <msmith@fluendo.com>
9018 * gst/gstutils.c: (gst_element_link_pads),
9019 (gst_element_link_pads_filtered):
9020 Ensure that we set a capsfilter to NULL if we failed to link it
9021 when doing filtered linking, to avoid criticals.
9023 No need to check for unreffing srcpad, which is explicly NULLed
9024 above (a trivial code cleanup).
9026 2006-08-31 Wim Taymans <wim@fluendo.com>
9028 * docs/design/part-gstghostpad.txt:
9029 Update ascii art in documentation.
9031 * gst/gstghostpad.c: (gst_proxy_pad_do_internal_link),
9032 (gst_proxy_pad_set_target_unlocked), (gst_proxy_pad_init),
9033 (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
9034 (gst_ghost_pad_internal_do_activate_push),
9035 (gst_ghost_pad_internal_do_activate_pull),
9036 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
9037 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
9038 (gst_ghost_pad_dispose), (gst_ghost_pad_new_full),
9039 (gst_ghost_pad_set_target):
9040 Small cleanups and leak fixes.
9041 Remove some checks now that the internal pad is never NULL.
9042 Fix the case where linking pads without a target would create nasty
9043 criticals. Fixes #341029.
9044 Don't assign a GstPadLinkReturn to a gboolean and mess up the return
9045 value of _set_target().
9047 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
9048 (gst_ghost_pad_suite):
9049 Some more tests for creating and linking untargeted ghostpads.
9051 2006-08-31 Edward Hervey <edward@fluendo.com>
9053 * docs/gst/gstreamer-sections.txt:
9054 * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps),
9055 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
9056 (gst_proxy_pad_dispose), (gst_ghost_pad_new_full),
9057 (gst_ghost_pad_new_no_target), (gst_ghost_pad_new),
9058 (gst_ghost_pad_new_from_template),
9059 (gst_ghost_pad_new_no_target_from_template):
9060 * gst/gstghostpad.h:
9061 Refactored *_new() functions.
9062 Templates are now used as a g_object_new() parameter.
9063 Use template in _do_getcaps() if we don't have a target.
9064 Small documentation cleanups.
9065 Added two new constructors:
9066 gst_ghost_pad_new_from_template()
9067 gst_ghost_pad_new_no_target_from_template()
9068 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
9069 (gst_ghost_pad_suite):
9070 Added tests for new ghostpad instanciation functions.
9072 API additions: gst_ghost_pad_new_from_template,
9073 gst_ghost_pad_new_no_target_from_template
9075 2006-08-30 Stefan Kost <ensonic@users.sf.net>
9077 * docs/random/ensonic/profiling.txt:
9078 Ideas about qos profiling.
9080 2006-08-29 Wim Taymans <wim@fluendo.com>
9082 * gst/gstcaps.c: (gst_caps_structure_is_subset_field):
9086 2006-08-29 Tim-Philipp Müller <tim at centricular dot net>
9089 Improve and detypofy docs.
9091 * tests/check/Makefile.am:
9092 * tests/check/gst/.cvsignore:
9093 * tests/check/gst/gstxml.c: (GST_START_TEST), (gst_xml_suite):
9094 Add a basic test suite for GstXML.
9096 2006-08-29 Wim Taymans <wim@fluendo.com>
9098 * gst/gstelement.c: (activate_pads), (clear_caps),
9099 (iterator_activate_fold_with_resync), (gst_element_pads_activate):
9100 Clear the pad caps when the element shut down all of the pads and
9101 is not streaming data that could modify the caps.
9104 2006-08-28 Michael Smith <msmith@fluendo.com>
9106 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
9107 Revert previous change; I misunderstood single-segment mode.
9109 2006-08-28 Michael Smith <msmith@fluendo.com>
9111 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
9112 Unset DISCONT on buffers when using single-segment mode.
9114 2006-08-28 Wim Taymans <wim@fluendo.com>
9116 * gst/gstcaps.c: (gst_caps_merge_structure):
9118 Fix docs and indentation again.
9120 * tests/check/gst/gstquery.c: (GST_START_TEST):
9121 Fix leak in tests and add some more tests.
9123 2006-08-28 Edward Hervey <edward@fluendo.com>
9125 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
9126 Inform GstSegment of the last stop position in order for the current
9127 segment to have a proper duration if it doesn't have a specific stop
9128 position from which a duration could be calculated.
9129 This bug was noticeable when a non-flushing, non-update new segment was
9130 followed by another segment (all buffers from the new segment were being
9133 2006-08-28 Wim Taymans <wim@fluendo.com>
9135 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
9136 Small comment update.
9138 * plugins/elements/gstidentity.c: (gst_identity_class_init),
9139 (gst_identity_transform_ip):
9140 Drop-probability is broken, mention this in the code with a
9141 FIXME and also in the property description.
9142 Make silent also be silent about the drop messages.
9144 2006-08-28 Tim-Philipp Müller <tim at centricular dot net>
9146 * docs/manual/appendix-win32.xml:
9147 Remove mention of popt, we don't depend on that any
9148 longer (#353136). Add some comments pointing out that
9149 this section is slightly outdated.
9151 2006-08-28 Wim Taymans <wim@fluendo.com>
9153 Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
9155 * gst/gstquery.c: (gst_query_new_segment):
9156 * tests/check/gst/gstquery.c: (GST_START_TEST):
9157 Initialize variables when creating a new segment query.
9160 2006-08-28 Wim Taymans <wim@fluendo.com>
9162 Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
9164 * gst/gstelement.c: (gst_element_get_bus):
9165 * tests/check/gst/gstelement.c: (GST_START_TEST):
9166 Check for NULL before _reffing the bus. Fixes #353122.
9168 2006-08-25 Tim-Philipp Müller <tim at centricular dot net>
9170 * docs/manual/basics-bus.xml:
9171 Docs update: fix wrong callback return value explanation; add
9172 some lines about the implicit relationship between main loop
9173 and main context; remove duplicate main loop variable declaration.
9175 2006-08-24 Tim-Philipp Müller <tim at centricular dot net>
9177 * tests/check/gst/gstcaps.c: (GST_START_TEST):
9178 Don't leak caps in unit test; add a few more simple
9181 2006-08-24 Stefan Kost <ensonic@users.sf.net>
9183 * docs/gst/gstreamer-sections.txt:
9184 * gst/gstcaps.c: (gst_caps_structure_is_subset_field),
9185 (gst_caps_structure_is_subset), (gst_caps_merge),
9186 (gst_caps_merge_structure):
9188 * libs/gst/base/gstbasetransform.c:
9189 (gst_base_transform_transform_caps):
9190 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
9191 implement caps merging (fixes #352580)
9193 2006-08-23 Stefan Kost <ensonic@users.sf.net>
9195 * tools/Makefile.am:
9196 * tools/gst-plot-timeline.py:
9197 add debug-log plotting developer tool (#340674)
9199 2006-08-23 Wim Taymans <wim@fluendo.com>
9201 * gst/gstpad.c: (gst_pad_start_task), (gst_pad_pause_task),
9202 (gst_pad_stop_task):
9203 Improve debugging for task functions.
9205 * gst/gsttask.c: (gst_task_func), (gst_task_set_lock),
9206 (gst_task_start), (gst_task_pause), (gst_task_join):
9207 Make sure that the task function started and finished after a
9209 Don't try to push the task function on the threadpool multiple
9211 Improve the g_warning message with some useful suggestions
9212 about how to fix the problem.
9214 2006-08-23 Wim Taymans <wim@fluendo.com>
9216 * gst/gstutils.c: (gst_pad_proxy_getcaps):
9217 Handle RESYNC correctly in _proxy_getcaps.
9219 2006-08-21 Tim-Philipp Müller <tim at centricular dot net>
9221 * gst/gstxml.c: (gst_xml_dispose), (gst_xml_parse_file),
9222 (gst_xml_parse_memory), (gst_xml_get_element):
9223 Chain up to parent class in dispose function and also
9224 unref the elements in the toplevel_elements GList.
9225 Don't leak XmlDocPtr in _parse_file() and _parse_memory().
9226 Always return a reference in gst_xml_get_element() rather
9227 than only sometimes.
9229 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
9230 Don't leak GstXml object.
9232 2006-08-21 Stefan Kost <ensonic@users.sf.net>
9234 * docs/gst/gstreamer-sections.txt:
9235 * gst/gstcaps.c: (gst_structure_is_equal_foreach),
9238 * libs/gst/base/gstbasetransform.c:
9239 (gst_base_transform_transform_caps):
9240 API: Add gst_caps_merge() and use it in basetransform, fixes #345444
9243 2006-08-21 Edward Hervey <edward@fluendo.com>
9245 * gst/gstxml.c: (gst_xml_class_init), (gst_xml_dispose):
9246 Implement GObject::dispose virtual method in GstXML so we can free the
9249 2006-08-21 Wim Taymans <wim@fluendo.com>
9251 * gst/gstbuffer.c: (gst_buffer_make_metadata_writable),
9252 (gst_buffer_create_sub):
9253 Copy duration/offset_end/caps when creating a subbuffer of the
9255 Make the subbuffer read-only when we make the metadata writable for
9258 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
9259 Added check for metadata copy when creating subbuffers.
9261 2006-08-21 Edward Hervey <edward@fluendo.com>
9263 * libs/gst/base/gstbasetransform.c:
9264 (gst_base_transform_buffer_alloc):
9265 Only call downstream buffer_alloc if transform element is passthrough
9266 or always_in_place. Closes #350449.
9268 2006-08-20 Stefan Kost <ensonic@users.sf.net>
9271 ChangeLog surgery to add comments to previous changes
9273 2006-08-20 Stefan Kost <ensonic@users.sf.net>
9278 * gst/gstpad.c: (gst_pad_set_active):
9279 Be more verbose in the log
9281 * libs/gst/base/gstbasetransform.c:
9282 (gst_base_transform_transform_caps):
9283 Simplify caps to get rid of duplicates, fixes #345444
9285 2006-08-20 Stefan Kost <ensonic@users.sf.net>
9289 Use these optimizations only internally.
9291 2006-08-20 Stefan Kost <ensonic@users.sf.net>
9293 * gst/gstvalue.c: (gst_value_compare_list),
9294 (gst_value_compare_fraction_range),
9295 (gst_value_intersect_fraction_fraction_range),
9296 (gst_value_intersect_fraction_range_fraction_range),
9297 (gst_value_subtract_fraction_fraction_range),
9298 (gst_value_subtract_fraction_range_fraction_range),
9299 (gst_value_get_compare_func), (gst_value_compare),
9300 (gst_value_compare_with_func):
9302 Saves the expensive lookup of the compare function in many cases
9305 2006-08-18 Edward Hervey <edward@fluendo.com>
9307 * tests/check/gst/gstinfo.c: (gst_info_suite):
9308 Disable test that require gstdebug if it wasn't built in core.
9310 2006-08-18 Stefan Kost <ensonic@users.sf.net>
9312 * docs/random/ensonic/logging.txt:
9315 * gst/gstinfo.c: (gst_debug_log_default):
9316 reorder fields, save some columns, add optional color codes for log
9319 2006-08-18 Stefan Kost <ensonic@users.sf.net>
9321 * docs/random/ensonic/logging.txt:
9322 add ideas about making the logs a bit more useful
9324 2006-08-17 Tim-Philipp Müller <tim at centricular dot net>
9326 * docs/pwg/advanced-events.xml:
9327 * docs/pwg/titlepage.xml:
9328 Update for 0.10 API (#340627). Add myself
9331 2006-08-17 Tim-Philipp Müller <tim at centricular dot net>
9333 * docs/libs/gstreamer-libs-docs.sgml:
9334 * docs/libs/gstreamer-libs-sections.txt:
9335 * libs/gst/check/gstbufferstraw.c:
9336 Make gstcheck stuff show up in docs (still needs to
9337 be documented properly though).
9339 2006-08-16 Jan Schmidt <thaytan@mad.scientist.com>
9341 * docs/gst/gstreamer-sections.txt:
9343 * gst/gst.c: (init_post):
9344 * gst/gst_private.h:
9345 * gst/gstquark.c: (_priv_gst_quarks_initialize):
9347 * gst/gstquery.c: (gst_query_new_position),
9348 (gst_query_set_position), (gst_query_parse_position),
9349 (gst_query_new_duration), (gst_query_set_duration),
9350 (gst_query_parse_duration), (gst_query_new_convert),
9351 (gst_query_set_convert), (gst_query_parse_convert),
9352 (gst_query_new_segment), (gst_query_set_segment),
9353 (gst_query_parse_segment), (gst_query_new_seeking),
9354 (gst_query_set_seeking), (gst_query_parse_seeking):
9355 Add internal helpers for pre-registering quarks from static strings
9356 and using the quark values directly instead of looking them up when
9357 creating and parsing queries. Can be used for event construction too.
9360 2006-08-16 Wim Taymans <wim@fluendo.com>
9365 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
9367 * gst/gstutils.c: (gst_util_set_value_from_string):
9368 Fix memleak (#351502).
9370 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
9371 Add unit test for most of gst_util_set_value_from_string()
9372 (not that one would want to encourage use of this function).
9374 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
9376 * libs/gst/check/gstcheck.h:
9377 Use const gchar * variables in fail_unless_equals_string
9378 macro to avoid compiler warnings (and don't use tabs for
9381 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
9383 * tools/gst-launch.c: (print_tag):
9384 More space on the left for the tag names, to cater
9385 for the 'extended comment' tag (not touching the
9386 string for the first line since it's translated).
9388 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
9390 * libs/gst/check/gstcheck.h:
9391 Fix ASSERT_CRITICAL and ASSERT_WARNING macros to actually
9392 print something when they fail.
9394 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
9396 * docs/gst/gstreamer-sections.txt:
9397 * gst/gsttaglist.c: (_gst_tag_initialize):
9399 API: add GST_TAG_EXTENDED_COMMENT (#350935).
9400 Also change merge function for GST_TAG_COMMENT to
9403 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
9405 * gst/gstinfo.c: (gst_debug_print_object):
9406 Make GST_PTR_FORMAT print messages as well.
9408 * tests/check/gst/gstinfo.c: (printf_extension_log_func),
9409 (GST_START_TEST), (gst_info_suite):
9412 2006-08-14 Edward Hervey <edward@fluendo.com>
9414 * gst/gstelementfactory.c: (gst_element_register):
9415 If the GstElementClass doesn't have a GstElementDetails with all fields
9416 filled up correctly (longname, description AND author), then error out
9417 nicely instead of crashing.
9419 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
9421 * gst/gststructure.c:
9422 Fix typo in docs and re-wrap docs blurb to not exceed 80 chars/line.
9425 Expand on the difference between arrays and lists as we use them.
9427 2006-08-14 Wim Taymans <wim@fluendo.com>
9429 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
9430 If the parent state change function failed, don't assume we can safely
9431 stop the source, this will be done when the pads are deactivated.
9433 2006-08-14 Wim Taymans <wim@fluendo.com>
9436 * gst/gsttask.c: (gst_task_join):
9439 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
9440 (gst_pad_stop_task):
9441 When pad (de)activation failed for some reason, restore the old
9442 activation mode and set the pad to flushing instead of assuming the
9444 If the _task_join() failed, reinstall the task on the pad so that it can
9445 be stopped later and return an error.
9447 2006-08-11 Andy Wingo <wingo@pobox.com>
9450 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
9451 * tests/check/libs/gdp.c: (gst_dp_suite): GST_DISABLE_DEPRECATED
9452 is only for users of API that don't want to see deprecated
9453 functions in the headers; people that want to compile out
9454 deprecated code should pass -DGST_REMOVE_DEPRECATED into the
9455 CFLAGS. Fixes the build of multifdsink, or will soon..
9457 2006-08-11 Wim Taymans <wim@fluendo.com>
9459 * docs/gst/gstreamer-sections.txt:
9460 Add GstClockClass vmethod docs.
9463 Mark #endif with comment for associated #if
9465 * gst/gstclock.c: (gst_clock_id_wait):
9467 Add vmethod wait_jitter to avoid an unneeded _get_time() for
9468 most clock implementations.
9470 Flesh out docs about resolution methods.
9471 API: GstClockClass::wait_jitter
9473 * gst/gstsystemclock.c: (gst_system_clock_class_init),
9474 (gst_system_clock_async_thread),
9475 (gst_system_clock_id_wait_jitter_unlocked),
9476 (gst_system_clock_id_wait_jitter):
9477 Use base class wait_jitter variant for improved performance
9478 due to less clock polling.
9480 2006-08-11 Edward Hervey <edward@fluendo.com>
9482 * gst/gst.c: (gst_init_check), (init_post):
9483 Set gst as being initialized before scanning/updating the registry,
9484 since there might be my python plugin loader that calls gst_init() and
9485 we don't want to loop back in.
9488 2006-08-11 Wim Taymans <wim@fluendo.com>
9490 * docs/design/part-qos.txt:
9491 Bring docs in line with the code. Mostly the sign of the jitter was
9492 wrong in the docs. Fixes #349943.
9495 Fix the docs for the jitter.
9497 * gst/gstevent.c: (gst_event_new_custom), (gst_event_new_tag),
9498 (gst_event_parse_tag), (gst_event_new_buffer_size),
9499 (gst_event_parse_buffer_size), (gst_event_parse_qos),
9500 (gst_event_new_seek), (gst_event_parse_seek),
9501 (gst_event_new_navigation):
9502 Make sure the GstStructure has no parent when creating custom
9504 Add some more argument checking so that we avoid 0.0 rates.
9505 Flesh out the docs for the QoS event some more.
9507 2006-08-11 Wim Taymans <wim@fluendo.com>
9509 * docs/gst/gstreamer-sections.txt:
9510 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
9511 (ensure_current_registry_forking), (ensure_current_registry),
9512 (parse_one_option), (parse_goption_arg), (gst_deinit),
9513 (gst_registry_fork_is_enabled), (gst_registry_fork_set_enabled):
9516 Added API and command line option to disable registry forking in
9517 addition to the environment variable.
9518 Constify some static arrays.
9519 Added some more debug.
9521 API: gst_registry_fork_is_enabled()
9522 API: gst_registry_fork_set_enabled()
9523 API: --gst-disable-registry-fork command line option
9526 2006-08-11 Tim-Philipp Müller <tim at centricular dot net>
9528 * gst/gst.c: (gst_init):
9529 Fix typo in error message.
9531 2006-08-10 Stefan Kost <ensonic@users.sf.net>
9533 * libs/gst/controller/gstcontroller.h:
9534 fix ABI size-correction
9536 * tests/check/libs/gdp.c: (gst_dp_suite):
9537 make tests that use deprecated API conditional
9539 2006-08-10 Stefan Kost <ensonic@users.sf.net>
9541 * docs/libs/gstreamer-libs-sections.txt:
9542 * libs/gst/controller/gstcontroller.c:
9543 (_gst_controller_get_property), (_gst_controller_set_property),
9544 (_gst_controller_init), (_gst_controller_class_init):
9545 * libs/gst/controller/gstcontroller.h:
9546 * libs/gst/controller/gsthelper.c: (gst_object_get_control_rate),
9547 (gst_object_set_control_rate):
9548 API: add gst_object_{s,g}et_control_rate(), add private data section,
9551 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
9552 * libs/gst/dataprotocol/dataprotocol.h:
9553 add deprecation guards to make gtk-doc happy and allow disabling cruft
9555 2006-08-09 Tim-Philipp Müller <tim at centricular dot net>
9557 * tests/check/Makefile.am:
9558 * tests/check/gst/.cvsignore:
9559 Let's enable the new unit test as well.
9561 2006-08-08 Tim-Philipp Müller <tim at centricular dot net>
9564 * docs/gst/gstreamer-sections.txt:
9565 * gst/gstconfig.h.in:
9566 * gst/gstinfo.c: (_gst_debug_init), (gst_debug_print_segment),
9567 (_gst_info_printf_extension_ptr),
9568 (_gst_info_printf_extension_segment):
9569 API: add GST_SEGMENT_FORMAT, which is a printf extension we
9570 register that lets us easily dump GstSegments into debug
9573 * tests/check/gst/gstinfo.c: (segment_printf_extension_log_func),
9574 (info_segment_format_printf_extension), (gst_info_suite):
9575 Add simple unit test that logs a bunch of different segments (not
9576 valgrinded at the moment because of leaks in
9577 gst_debug_add_log_function).
9579 2006-08-09 Edward Hervey <edward@fluendo.com>
9581 * libs/gst/base/gstbasetransform.c:
9582 (gst_base_transform_buffer_alloc):
9583 Even if we can't figure out the proper format to request downstream,
9584 call buffer_alloc() downstream with the input parameters without setting
9585 the caps on the srcpad. This will force negotiation in the chain
9589 2006-08-08 Edward Hervey <edward@fluendo.com>
9591 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
9592 Unlinking from a pad without a target is now a perfectly valid case
9593 which should NOT raise an assertion.
9594 This case would happen if a linked ghostpad its target set to NULL after
9595 it was previously linked.
9597 2006-08-08 Edward Hervey <edward@fluendo.com>
9599 * tests/check/libs/gdp.c:
9600 Also comment out the test (see below).
9602 2006-08-08 Edward Hervey <edward@fluendo.com>
9604 * tests/check/libs/gdp.c: (gst_dp_suite):
9605 Use the architecture information from config.h and not gcc macros
9606 in order to properly disable a test that fails on PPC64.
9608 2006-08-04 Tim-Philipp Müller <tim at centricular dot net>
9610 * gst/gstelement.c: (gst_element_remove_pad):
9611 Don't crash printing the warning if the pad has no parent.
9613 2006-08-02 Wim Taymans <wim@fluendo.com>
9615 * libs/gst/dataprotocol/dataprotocol.c:
9616 (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
9617 (gst_dp_crc), (gst_dp_header_payload_length),
9618 (gst_dp_header_payload_type), (gst_dp_packet_from_event),
9619 (gst_dp_packet_from_event_1_0), (gst_dp_buffer_from_header),
9620 (gst_dp_caps_from_packet), (gst_dp_event_from_packet_0_2),
9621 (gst_dp_event_from_packet), (gst_dp_validate_header),
9622 (gst_dp_validate_payload):
9623 Make debug category static
9624 Constify the crc table.
9625 Do some more arg checking in public functions.
9626 Fix some docs and do some small cleanups.
9628 * tests/check/libs/gdp.c: (GST_START_TEST), (gst_dp_suite):
9629 Add some more checks to see if GDP deals with bogus input.
9631 2006-07-31 Wim Taymans <wim@fluendo.com>
9633 * gst/gstvalue.c: (gst_value_compare_list):
9634 Fix GstValueList comparison code. Fixes #347293.
9636 * tests/check/gst/gstvalue.c: (GST_START_TEST):
9637 Check to test GstValueList comparison.
9639 2006-07-31 Jan Schmidt <thaytan@mad.scientist.com>
9641 * gst/gstelementfactory.c: (gst_element_factory_create):
9642 Remove unnecessary ref/unref pair
9644 * gst/parse/grammar.y:
9645 Make sure to free the parse buffer on all code paths.
9646 Move a g_free up to the error handler where it's easier to see.
9648 * tests/check/gst/gstevent.c: (test_event):
9649 Extending timeout for downstream travelling events to 10 seconds to
9650 hopefully avoid intermittent failure on the buildbots.
9652 * tests/check/pipelines/parse-launch.c: (run_delayed_test):
9653 Don't manually set the state of the src element - it will happen as a
9654 natural consequence of the pipeline changing state, and that way it
9655 will do it in the right order too.
9657 2006-07-31 Wim Taymans <wim@fluendo.com>
9659 * libs/gst/base/gstbasetransform.c:
9660 (gst_base_transform_buffer_alloc):
9661 Use OBJECT_LOCK and refcounting to get the pad caps in the
9662 buffer_alloc function because the caps could change while we are
9663 busy with them. Fixes #349105
9665 2006-07-31 Wim Taymans <wim@fluendo.com>
9667 * gst/gstutils.c: (gst_pad_get_fixed_caps_func):
9668 Protect _PAD_CAPS with OBJECT_LOCK.
9670 2006-07-31 Wim Taymans <wim@fluendo.com>
9672 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
9673 (gst_pad_get_property), (gst_pad_activate_pull),
9674 (gst_pad_activate_push), (gst_pad_set_blocked_async),
9675 (gst_pad_set_activate_function),
9676 (gst_pad_set_activatepull_function),
9677 (gst_pad_set_activatepush_function), (gst_pad_set_chain_function),
9678 (gst_pad_set_getrange_function),
9679 (gst_pad_set_checkgetrange_function), (gst_pad_set_event_function),
9680 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
9681 (gst_pad_set_internal_link_function), (gst_pad_set_link_function),
9682 (gst_pad_set_unlink_function), (gst_pad_set_getcaps_function),
9683 (gst_pad_set_acceptcaps_function),
9684 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
9685 (gst_pad_set_bufferalloc_function), (gst_pad_link_check_hierarchy),
9686 (gst_pad_get_caps_unlocked), (gst_pad_get_caps),
9687 (gst_pad_peer_get_caps), (gst_pad_accept_caps),
9688 (gst_pad_peer_accept_caps), (gst_pad_set_caps),
9689 (gst_pad_configure_sink), (gst_pad_configure_src),
9690 (gst_pad_get_allowed_caps), (gst_pad_get_negotiated_caps),
9691 (gst_pad_buffer_alloc_unchecked), (gst_pad_alloc_buffer_full),
9692 (gst_pad_query), (gst_pad_load_and_link), (handle_pad_block),
9693 (gst_pad_chain_unchecked), (gst_pad_push), (gst_pad_get_range),
9694 (gst_pad_send_event):
9695 Use _DEBUG_OBJECT when it makes sense.
9696 Protect GST_PAD_CAPS with the OBJECT_LOCK.
9697 Small cleanups and code reflows.
9698 Avoid caps refcounting in _accept_caps.
9699 Refactor alloc_buffer so that the code performed on the peer is in a
9700 separate function. Also if the pad does not implement a buffer alloc
9701 function, we should still check if the pad is flushing before falling
9702 back to the default allocator.
9704 2006-07-31 Jan Schmidt <thaytan@mad.scientist.com>
9706 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
9707 Make all uses of identity and fakesink have silent=true to avoid
9708 serialising every passing data structure, which is breaking tests
9709 on FC4 for some unknown reason.
9711 2006-07-30 Stefan Kost <ensonic@users.sf.net>
9713 * gst/parse/Makefile.am:
9714 * gst/parse/grammar.y:
9715 * gst/parse/parse.l:
9716 Reverted previous patch as it required to bump the flex dependency to
9717 2.5.31, where fc4/5 seem to ship only the ancient 2.5.4a :(
9719 2006-07-30 Stefan Kost <ensonic@users.sf.net>
9721 Patch by: Marc-Andre Lureau <marcandre.lureau@gmail.com>
9723 * gst/parse/Makefile.am:
9724 * gst/parse/grammar.y:
9725 * gst/parse/parse.l:
9726 push & pop the state of the lexer for reentrant use case
9729 2006-07-29 Tim-Philipp Müller <tim at centricular dot net>
9731 * libs/gst/base/gstbasesrc.h:
9732 Note in the docs that the ::newsegment vfunc is not actually used by
9735 2006-07-28 Wim Taymans <wim@fluendo.com>
9737 * libs/gst/base/gstcollectpads.c:
9738 (gst_collect_pads_set_flushing_unlocked), (gst_collect_pads_pop),
9739 (gst_collect_pads_clear), (gst_collect_pads_flush),
9740 (gst_collect_pads_event), (gst_collect_pads_chain):
9741 When flushing a pad, also clear the queued buffer so that we don't
9742 accidentally use it when we shouldn't.
9743 Fix leaks by inreffing incomming buffer.
9744 Flush out queued buffers in case of errors.
9747 2006-07-28 Wim Taymans <wim@fluendo.com>
9749 * docs/random/phonon-gst:
9750 Random notes about a Phonon backend.
9752 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
9754 * libs/gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
9756 * tests/check/libs/gdp.c: (gst_dp_suite):
9757 Take a whack at fixing the ppc compile using a different define to
9758 disable the broken test.
9760 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
9761 Remove excess g_print()
9763 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
9765 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
9766 Oops, meant to uncomment this line too to dampen the noise a bit.
9768 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
9770 * gst/parse/grammar.y:
9771 * gst/parse/parse.l:
9772 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
9773 (GST_START_TEST), (parse_suite):
9774 Fix some of the leaks exposed by extending the parse-launch testsuite,
9775 and move the 3 I can't figure out into a separate test that won't run
9776 the pipelines unless the appropriate line is uncommented.
9778 2006-07-27 Tim-Philipp Müller <tim at centricular dot net>
9780 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
9781 Requesting 0 bytes before the end of the file should result in
9782 FLOW_OK and an empty buffer, not FLOW_UNEXPECTED. Thank you
9785 2006-07-27 Wim Taymans <wim@fluendo.com>
9787 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_get_structure):
9788 Fix useless assert, a uint is always positive.
9790 * gst/gststructure.c: (gst_structure_nth_field_name),
9791 (gst_structure_foreach), (gst_structure_map_in_place):
9792 Check input arguments for public functions to avoid obvious crashes.
9794 * plugins/elements/gstfakesink.c: (gst_fake_sink_render):
9795 * plugins/elements/gstfakesink.h:
9796 Do less useless typechecking.
9798 2006-07-27 Tim-Philipp Müller <tim at centricular dot net>
9800 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
9801 Do not use mmap() by default since there are a number of error
9802 conditions that we would like to handle in a non-fatal way that
9803 will result in a SIGBUS if we use mmap(). Examples: external
9804 devices (USB harddrive, portable music player) being unplugged
9805 while in use; file on mounted CD/DVD that can't be read because
9806 the medium is partly damaged. Fixes #348455 and #348475.
9808 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
9811 Delete unused and misleading define of GST_QUERY_TYPE_RATE_DEN -
9814 2006-07-26 Stefan Kost <ensonic@users.sf.net>
9816 * gst/gstregistry.c:
9817 Move big documentation comment into class section header, so that it
9818 appears in the API docs.
9820 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
9822 * docs/gst/gstreamer-sections.txt:
9823 Oops. Commit the docs additions too for new API.
9824 Also, remove the mention of the non-existent GST_QUERY_TYPE_RATE_DEN
9826 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
9828 * gst/gststructure.c: (gst_structure_id_set),
9829 (gst_structure_id_set_valist):
9830 * gst/gststructure.h:
9831 Add API for setting values into structures without performing
9832 a quark lookup, if the appropriate quark is already known.
9834 API: gst_structure_id_set
9835 API: gst_structure_id_set_valist
9837 * gst/parse/grammar.y:
9838 * gst/parse/parse.l:
9839 Remove some dead code shown by the coverage information.
9840 Don't throw a critical g_warning when encountering a syntax error,
9841 just warn and let the normal error path handle it.
9843 * plugins/elements/gstelements.c:
9844 Bump the rank of filesink up to PRIMARY so that it is preferred over
9845 gnomevfssink for file:// sink uri's
9847 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
9848 (GST_START_TEST), (run_delayed_test),
9849 (gst_parse_test_element_base_init),
9850 (gst_parse_test_element_class_init), (gst_parse_test_element_init),
9851 (gst_parse_test_element_change_state),
9852 (gst_register_parse_element), (parse_suite):
9853 Beef up the tests for parse syntax to check that more error cases
9854 fail as they are supposed to. Increases the test coverage a bit.
9856 2006-07-26 Tim-Philipp Müller <tim at centricular dot net>
9858 * docs/manual/basics-elements.xml:
9859 Fix gst_element_link() example.
9862 Mention in API docs that one should usually gst_bin_add()
9863 elements to a bin or pipeline before doing the linking.
9865 2006-07-26 Wim Taymans <wim@fluendo.com>
9867 * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_new),
9868 (gst_subbuffer_get_type), (gst_buffer_create_sub):
9869 Avoid function call for known types by keeping the buffer and
9870 subbuffer GType global.
9872 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
9873 Random silly optimisations in read() path.
9875 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
9877 * tools/gst-launch.c: (main):
9878 If the top-level of the parse is a normal bin, it doesn't do the
9879 right logic to run as a top-level element, so place it inside a
9882 2006-07-25 Tim-Philipp Müller <tim at centricular dot net>
9884 * plugins/elements/gstfilesrc.c: (gst_file_src_set_property):
9885 Remove superfluous g_object_notify() calls, GObject does
9886 that for us automatically.
9888 2006-07-25 Stefan Kost <ensonic@users.sf.net>
9891 on Win32, use dllspec to export the debug category symbols
9893 2006-07-24 Tim-Philipp Müller <tim at centricular dot net>
9895 * gst/gsttaglist.c: (_gst_tag_initialize):
9896 Allow more than one GST_TAG_IMAGE per taglist.
9898 2006-07-24 Thomas Vander Stichele <thomas at apestaart dot org>
9900 * gst/gstminiobject.c:
9902 * plugins/elements/gstfdsrc.c: (gst_fd_src_set_property),
9903 (gst_fd_src_create):
9904 log recurring events at LOG level
9905 add more debug for when the fd gets set
9907 2006-07-21 Stefan Kost <ensonic@users.sf.net>
9909 * gst/gstparse.c: (gst_parse_launch):
9910 Also remove reentrance checks if flex is MT safe (#348179)
9911 Fix my empty ChangeLog entry below
9913 2006-07-21 Andy Wingo <wingo@pobox.com>
9915 * docs/libs/gstreamer-libs-sections.txt: Attempt to pacify buildbot.
9917 * libs/gst/check/Makefile.am
9918 (libgstcheck_@GST_MAJORMINOR@include_HEADERS)
9919 (libgstcheck_@GST_MAJORMINOR@_la_SOURCES):
9920 * libs/gst/check/gstbufferstraw.h:
9921 * libs/gst/check/gstbufferstraw.c: Add some new hype testing
9922 functions, thus proving I am still a GStreamer haxor. OK I wrote
9923 them a long time ago, but anyways.
9925 2006-07-21 Stefan Kost <ensonic@users.sf.net>
9928 * gst/gstparse.c: (gst_parse_launch):
9929 Check for flex version and omit mutex if we have a MT save flex
9932 2006-07-21 Wim Taymans <wim@fluendo.com>
9934 * gst/gstparse.c: (gst_parse_launch):
9935 Protect recursive calls to _parse with a recursive mutex
9938 2006-07-21 Wim Taymans <wim@fluendo.com>
9940 * tests/check/gst/gstpad.c: (GST_START_TEST):
9943 2006-07-20 Stefan Kost <ensonic@users.sf.net>
9945 * gst/gstparse.c: (gst_parse_launch):
9946 Do not hang on recursive usage of gst_parse_launch()
9948 2006-07-20 Tim-Philipp Müller <tim at centricular dot net>
9951 Add some more docs, comments and FIXME 0.11s here and there
9952 and also fix some typos.
9954 2006-07-20 Tim-Philipp Müller <tim at centricular dot net>
9957 Convert tabs to spaces for better readability.
9959 2006-07-20 Edward Hervey <edward@fluendo.com>
9961 * tests/check/libs/gdp.c: (gst_dp_suite):
9962 the test_buffer test fails at line 140 on ppc64 at the following
9964 fail_unless (GST_BUFFER_FLAG_IS_SET (newbuffer,
9965 GST_BUFFER_FLAG_IN_CAPS),
9966 "GST_BUFFER_IN_CAPS flag should have been copied !");
9967 See bug #348114 for more details.
9969 2006-07-19 Tim-Philipp Müller <tim at centricular dot net>
9971 * docs/pwg/advanced-scheduling.xml:
9973 Fix typos (#348000).
9975 2006-07-18 Tim-Philipp Müller <tim at centricular dot net>
9977 * docs/pwg/intro-basics.xml:
9978 Fix wrong links (#347927).
9980 2006-07-18 Stefan Kost <ensonic@users.sf.net>
9982 * gst/gstregistry.h:
9983 * gst/gstregistryxml.c: (load_feature),
9984 (gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
9985 * win32/common/config.h:
9986 make --disable-index work (#342564)
9988 2006-07-18 Wim Taymans <wim@fluendo.com>
9990 Patch by: Peter Kjellerstedt <pkj at axis dot com>
9994 The attached patch adds two missing defines to gsttrace.h when tracing
9995 is disabled. It also corrects one existing define.
9998 2006-07-17 Wim Taymans <wim@fluendo.com>
10000 * docs/gst/gstreamer-sections.txt:
10001 * gst/gst.c: (gst_segtrap_is_enabled), (gst_segtrap_set_enabled):
10003 * gst/gstplugin.c: (_gst_plugin_fault_handler_restore):
10004 Add two functions to check and change the SIGSEGV behaviour
10005 when loading plugins.
10006 Don't mess with the SIGSEGV handler when we were told not to.
10008 API: gst_segtrap_is_enabled
10009 API: gst_segtrap_set_enabled
10011 2006-07-14 Wim Taymans <wim@fluendo.com>
10013 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
10014 * tests/check/elements/filesrc.c: (GST_START_TEST):
10015 Revert fix for regression in #347408 after release.
10017 2006-07-14 Tim-Philipp Müller <tim at centricular dot net>
10019 Patch by: Antoine Tremblay <hexa00 at gmail com>
10021 * gst/gstutils.c: (gst_element_unlink):
10022 Free iterator when done (#347311).
10024 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
10025 And add a test case for this.
10027 2006-07-14 Jan Schmidt <thaytan@mad.scientist.com>
10030 Bump nano back to CVS
10032 === release 0.10.9 ===
10034 2006-07-13 Jan Schmidt <thaytan@mad.scientist.com>
10037 releasing 0.10.9, "On the road again"
10039 2006-07-13 Wim Taymans <wim@fluendo.com>
10041 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
10042 * tests/check/elements/filesrc.c: (GST_START_TEST):
10043 Revert pull-0 fix for release. Disable check. Fixes #347408.
10045 2006-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
10047 * libs/gst/dataprotocol/dataprotocol.c:
10048 (gst_dp_event_from_packet_1_0):
10049 Fixes #347337: failure to deserialize event packets with
10050 empty payload (only event type)
10052 2006-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
10055 do not install a .c file in the header directory
10057 2006-07-13 Edward Hervey <edward@fluendo.com>
10059 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
10060 GhostPad no longer implicitely use the padtemplates of the targets.
10063 2006-07-11 Jan Schmidt <thaytan@mad.scientist.com>
10065 * gst/gstvalue.c: (gst_value_compare_list),
10066 (gst_value_compare_array), (_gst_value_initialize):
10067 * tests/check/gst/gstvalue.c: (GST_START_TEST):
10068 Make GstValueArray comparison be order dependent as designed.
10069 Add checks for value lists and value array comparisons.
10072 2006-07-11 Edward Hervey <edward@fluendo.com>
10074 * gst/gstbin.c: (activate_pads),
10075 (iterator_activate_fold_with_resync), (gst_bin_src_pads_activate),
10076 (gst_bin_change_state_func):
10077 (de)activate src pads before calling state_change on the childs.
10078 This is to avoid the case where a src ghostpad is blocked (holding the
10079 stream lock), which would block the deactivation of the ghostpad's
10081 * gst/gstghostpad.c: (gst_proxy_pad_do_query_type),
10082 (gst_proxy_pad_do_event), (gst_proxy_pad_do_query),
10083 (gst_proxy_pad_do_internal_link), (gst_proxy_pad_do_bufferalloc),
10084 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
10085 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
10086 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
10087 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
10088 (gst_proxy_pad_set_target), (gst_proxy_pad_get_internal),
10089 (gst_proxy_pad_dispose), (gst_proxy_pad_init),
10090 (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
10091 (gst_ghost_pad_class_init),
10092 (gst_ghost_pad_internal_do_activate_push),
10093 (gst_ghost_pad_internal_do_activate_pull),
10094 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
10095 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
10096 (gst_ghost_pad_dispose), (gst_ghost_pad_new_no_target),
10097 (gst_ghost_pad_new), (gst_ghost_pad_set_target):
10098 GhostPads now create their internal GstProxyPad at creation (and not
10099 when they're linked, as it was being done previously).
10100 The internal and target pads are linked straight away.
10101 The data will also travel through the other pad in order to make
10102 pad blocking and probes non-hackish (the probe/block now really happens
10103 on the GhostPad and not on the target).
10104 * gst/gstpad.c: (gst_pad_set_blocked_async),
10105 (gst_pad_link_prepare), (gst_pad_push_event):
10106 Remove previous ghostpad cruft.
10107 * gst/gstutils.c: (gst_pad_add_data_probe),
10108 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
10109 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
10110 (gst_pad_remove_buffer_probe):
10111 Remove previous ghost pad cruft.
10112 Added more detailed debug statements.
10113 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
10114 Fix the testsuite for refcounting changes.
10115 The comments about who has references were correct, but the refcount
10116 being checked wasn't the same (!?!).
10120 2006-07-10 Stefan Kost <ensonic@users.sf.net>
10122 * docs/gst/gstreamer-sections.txt:
10123 * gst/gstconfig.h.in:
10124 More docs for configuration options, add docs to gtk-doc.
10126 2006-07-10 Stefan Kost <ensonic@users.sf.net>
10129 * gst/gstconfig.h.in:
10130 * win32/common/config.h:
10131 Fix build when disabling tracing (fixes #344016). Also start to document
10132 the defines that disable the sub-systems.
10134 2006-07-10 Edward Hervey <edward@fluendo.com>
10136 * gst/gst.c: (ensure_current_registry_forking):
10137 let's make valgrind happy...
10139 2006-07-09 Wim Taymans <wim@fluendo.com>
10141 * gst/gstelement.c: (activate_pads),
10142 (iterator_activate_fold_with_resync), (gst_element_pads_activate):
10143 Better pad activation code: Reset the collect value too on resync.
10146 2006-07-09 Wim Taymans <wim@fluendo.com>
10148 * gst/gstpad.c: (gst_pad_init), (gst_pad_activate_pull),
10149 (gst_pad_activate_push):
10150 Use some more macros where it makes sense.
10151 Allow pad mode switching instead of asserting. When a pad
10152 is activated in one mode and we activate it in another,
10153 deactivate it first before activating it in a different mode.
10156 2006-07-08 Andy Wingo <wingo@pobox.com>
10158 * tools/gst-launch.c (main): Handle err == NULL.
10160 * gst/gst.c (init_post, ensure_current_registry)
10161 (ensure_current_registry_forking)
10162 (ensure_current_registry_nonforking): Reduce #ifdef ratnest by
10163 factoring out the registry scanning into separate functions. Don't
10164 fork for the rescan is GST_REGISTRY_FORK=no; useful in debugging.
10165 Better environment var name/interface suggestions accepted.
10167 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
10169 * gst/gstobject.c: (gst_object_set_name_default),
10170 (gst_object_set_name):
10171 Random micro-optimisation: don't use a hash table
10172 with strings as keys and the usual strdup/strcmp
10173 involved, but rather just use the GQuark of the
10174 type name as key, since it needs to be looked up
10175 anyway to get the type name string.
10177 * tests/check/gst/gstobject.c: (GST_START_TEST):
10180 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
10182 * gst/gstbin.c: (compare_interface), (gst_bin_get_by_interface),
10183 (gst_bin_iterate_all_by_interface):
10184 Can't use GPOINTER_TO_INT and GINT_TO_POINTER with GTypes.
10185 GTypes are gulongs and thus the top 4 bytes might be cut
10186 off on some platforms when doing GPOINTER_TO_INT, leading
10187 to invalid GTypes and bad things happening (see RH bug #179654).
10188 Also add a check to make sure the type passed in is really
10191 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
10196 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
10200 * gst-element-check.m4:
10201 * gst-element-check.m4.in:
10202 Make gst-element-check-$VERSION.m4 call gst-inspect-$VERSION
10203 instead of the unversioned gst-inspect (#324176, #168659).
10205 2006-07-06 Wim Taymans <wim@fluendo.com>
10207 * gst/gstmessage.h:
10208 Use a valid int for the _MESSAGE_ANY enum value to avoid compiler
10211 2006-07-06 Wim Taymans <wim@fluendo.com>
10213 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
10214 (gst_base_src_wait), (gst_base_src_update_length),
10215 (gst_base_src_get_range), (gst_base_src_default_check_get_range),
10216 (gst_base_src_check_get_range), (gst_base_src_pad_check_get_range),
10217 (gst_base_src_loop), (gst_base_src_start),
10218 (gst_base_src_activate_pull):
10220 blocksize == 0 now means the default blocksize when working in push
10222 Remove some pointless asserts in _wait function.
10223 Fix offset/length calculations and EOS handling. We can now pull 0
10224 bytes as well, which is allowed.
10225 use _check_get_range() to decide if we can operate in _pull based
10227 Fix refcounting leak when check_get_range function was not
10229 API GstBaseSrc::blocksize range can be 0 too now (default)
10231 * tests/check/elements/filesrc.c: (GST_START_TEST),
10233 Added check to test _get_range() behaviour.
10235 2006-07-06 Wim Taymans <wim@fluendo.com>
10237 * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
10238 (gst_pad_push), (gst_pad_check_pull_range), (gst_pad_get_range),
10239 (gst_pad_pull_range):
10241 Lots of comments and docs added to the pad functions.
10242 Flesh out the expected behaviour of the get_range() functions.
10244 2006-07-06 Wim Taymans <wim@fluendo.com>
10249 * gst/gstiterator.h:
10253 Remove comma at end of enumerator list.
10255 2006-07-05 Sebastien Moutte <sebastien@moutte.net>
10257 * win32/common/libgstbase.def:
10258 * win32/common/libgstdataprotocol.def:
10259 * win32/common/libsgtreamer.def:
10260 Add new exported functions.
10262 2006-07-05 Wim Taymans <wim@fluendo.com>
10264 * libs/gst/base/gstpushsrc.c: (gst_push_src_check_get_range):
10265 Add some more docs here and there.
10267 2006-07-05 Wim Taymans <wim@fluendo.com>
10269 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_object),
10270 (gst_base_sink_loop), (gst_base_sink_get_position):
10271 When operating in pull mode update the offset so that we
10274 2006-07-05 Wim Taymans <wim@fluendo.com>
10276 * gst/gstregistryxml.c: (read_string):
10277 Avoid strdup. (will happen in libxml, but hey!)
10280 Add some more docs.
10282 2006-07-05 Wim Taymans <wim@fluendo.com>
10284 * gst/gstbuffer.c: (_gst_buffer_copy), (gst_buffer_create_sub):
10285 * tests/check/gst/gstbuffer.c: (GST_START_TEST),
10286 (gst_buffer_suite):
10287 No point in checking if the size of the subbuffer > 0, the
10288 code handles it correclty as demonstrated by unit test.
10289 Also add a unit test for the zero sized _new_and_alloc and
10290 _copy. Fixes #346663.
10292 2006-07-05 Wim Taymans <wim@fluendo.com>
10294 * libs/gst/base/gstbasetransform.c:
10295 (gst_base_transform_prepare_output_buffer),
10296 (gst_base_transform_buffer_alloc),
10297 (gst_base_transform_handle_buffer):
10298 Make sure the buffer we pass to transform_ip has a refcount of
10299 1 and thus is writable. Fixes #343196
10301 2006-07-04 Jan Schmidt <thaytan@mad.scientist.com>
10303 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
10304 (gst_file_src_init), (gst_file_src_set_property),
10305 (gst_file_src_get_property), (gst_file_src_map_region):
10306 * plugins/elements/gstfilesrc.h:
10307 Add "sequential" property, off by default, to use madvise and hint
10308 to the kernel that sequential access is desired.
10309 Touch all retrieved pages by default to ensure they are pulled
10310 into memory. (Closes #345720)
10312 2006-07-03 Wim Taymans <wim@fluendo.com>
10314 * docs/design/part-block.txt:
10315 * docs/design/part-dynamic.txt:
10316 Small docs updates.
10318 2006-07-03 Wim Taymans <wim@fluendo.com>
10320 * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free),
10321 (gst_caps_unref), (gst_static_caps_get),
10322 (gst_caps_append_structure):
10323 * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
10324 Use GSlice when the glib we build against is >= 2.10
10326 2006-07-03 Wim Taymans <wim@fluendo.com>
10328 * gst/gstelement.c: (gst_element_pads_activate):
10329 Small cleanup in pad activation code.
10331 2006-07-03 Wim Taymans <wim@fluendo.com>
10333 Patch by: Peter Kjellerstedt <pkj at axis dot com>
10335 * gst/gst-i18n-app.h:
10336 * gst/gst-i18n-lib.h:
10337 * tools/gst-inspect.c: (print_signal_info):
10338 The attached patch will make the inclusion of gettext.h unconditional in
10339 gst/gst-i18n-app.h and gst/gst-i18n-lib.h, and it will remove the inclusion of
10340 libintl.h in tools/gst-inspect.c.
10341 This allows use of --disable-nls again and fixes #344642.
10343 2006-07-03 Edward Hervey <edward@fluendo.com>
10345 * gst/gstpad.c: (handle_pad_block), (gst_pad_push_event):
10346 Implement pad blocking on events according to part-block.txt.
10347 More comments on behaviour.
10348 * tests/check/gst/gstevent.c: (test_event):
10349 Send event to peer pad of blocked pad (else it will block).
10351 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
10353 * libs/gst/check/gstcheck.c: (gst_check_message_error),
10354 (gst_check_run_suite):
10355 if we get the wrong message, give us the types as string
10356 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
10358 * tests/check/elements/filesrc.c: (GST_START_TEST):
10359 add a test for trying to open a non-existing file
10361 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
10363 * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
10364 add a test for adding self
10366 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
10368 * libs/gst/check/gstcheck.h:
10369 add some assert_ as alias for fail_unless_*
10370 * tests/check/gst/gst.c: (GST_START_TEST), (gst_suite):
10371 increase test coverage
10373 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
10376 include lcov.mak for lcov coverage generation
10377 * tools/Makefile.am:
10380 2006-07-02 Edward Hervey <edward@fluendo.com>
10382 * tests/check/elements/.cvsignore:
10385 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
10388 don't set CFLAGS and friends for gcov, done from GST_GCOV now
10389 * tests/check/Makefile.am:
10390 clean up gcov files
10392 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
10394 * gst/gstcaps.c: (gst_caps_remove_and_get_structure):
10395 remove gst_caps_simplify; it was not declared and not used
10396 and deprecated in 0.8
10398 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
10400 * docs/faq/gst-uninstalled:
10401 don't put empty paths on PYTHONPATH
10402 * docs/gst/gstreamer-sections.txt:
10403 remove some symbols that are not there
10405 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
10407 * gst/gstcaps.c: (gst_caps_compare_structures):
10409 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
10410 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
10413 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
10415 * libs/gst/dataprotocol/Makefile.am:
10416 build dataprotocol test by linking to the lib, instead of
10417 compiling the source, so we get coverage
10418 * tests/check/Makefile.am:
10419 * tests/check/elements/filesrc.c: (event_func), (setup_filesrc),
10420 (cleanup_filesrc), (GST_START_TEST), (filesrc_suite):
10421 add a test for filesrc
10423 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
10425 * tests/check/gst/gststructure.c: (GST_START_TEST),
10426 (gst_structure_suite):
10427 Push coverage from 59.04% to 70.00%
10429 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
10431 * tests/check/Makefile.am:
10432 gst-inspect every element; this makes sure that we also get
10433 coverage on element's get/set functions
10435 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
10438 set CFLAGS and friends to -O0 if gcov is being used
10441 * libs/gst/base/Makefile.am:
10442 * libs/gst/check/Makefile.am:
10443 * libs/gst/controller/Makefile.am:
10444 * libs/gst/dataprotocol/Makefile.am:
10445 * libs/gst/net/Makefile.am:
10446 * plugins/elements/Makefile.am:
10447 * plugins/indexers/Makefile.am:
10448 add makefile rules to generate gcov data and clean up
10449 * tests/check/Makefile.am:
10450 add a coverage target that generates an html overview
10453 2006-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
10455 * tests/check/elements/fakesink.c:
10456 * tests/check/elements/fakesrc.c:
10457 * tests/check/elements/fdsrc.c:
10458 * tests/check/elements/identity.c:
10459 * tests/check/generic/sinks.c: (gst_sinks_suite):
10460 * tests/check/generic/states.c:
10461 * tests/check/gst/gst.c:
10462 * tests/check/gst/gstabi.c:
10463 * tests/check/gst/gstbin.c:
10464 * tests/check/gst/gstbuffer.c: (gst_buffer_suite):
10465 * tests/check/gst/gstbus.c: (gst_bus_suite):
10466 * tests/check/gst/gstcaps.c: (GST_START_TEST):
10467 * tests/check/gst/gstelement.c:
10468 * tests/check/gst/gstevent.c: (gst_event_suite):
10469 * tests/check/gst/gstghostpad.c:
10470 * tests/check/gst/gstiterator.c: (gst_iterator_suite):
10471 * tests/check/gst/gstmessage.c: (gst_message_suite):
10472 * tests/check/gst/gstminiobject.c:
10473 * tests/check/gst/gstobject.c:
10474 * tests/check/gst/gstpad.c:
10475 * tests/check/gst/gstpipeline.c:
10476 * tests/check/gst/gstplugin.c:
10477 * tests/check/gst/gstquery.c: (gst_query_suite):
10478 * tests/check/gst/gstsegment.c: (gst_segment_suite):
10479 * tests/check/gst/gststructure.c:
10480 * tests/check/gst/gstsystemclock.c:
10481 * tests/check/gst/gsttag.c:
10482 * tests/check/gst/gsttask.c: (gst_task_suite):
10483 * tests/check/gst/gstutils.c:
10484 * tests/check/gst/gstvalue.c:
10485 * tests/check/libs/adapter.c:
10486 * tests/check/libs/basesrc.c:
10487 * tests/check/libs/collectpads.c:
10488 * tests/check/libs/controller.c:
10489 * tests/check/libs/gdp.c: (gst_dp_suite):
10490 * tests/check/libs/gstnetclientclock.c:
10491 * tests/check/libs/gstnettimeprovider.c:
10492 * tests/check/libs/libsabi.c: (libsabi_suite):
10493 * tests/check/libs/typefindhelper.c:
10494 * tests/check/pipelines/cleanup.c:
10495 * tests/check/pipelines/parse-launch.c:
10496 * tests/check/pipelines/simple-launch-lines.c:
10497 * tests/check/pipelines/stress.c: (stress_suite):
10500 2006-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
10502 * libs/gst/check/gstcheck.c: (gst_check_run_suite):
10503 * libs/gst/check/gstcheck.h:
10504 create a macro and function so that the simple unit test
10505 case can be just one macro to create main()
10507 2006-06-30 Tim-Philipp Müller <tim at centricular dot net>
10509 * gst/gstbin.c: (gst_bin_restore_thyself):
10510 * gst/gstxml.c: (gst_xml_make_element):
10511 Fix deserialisation from XML. Set parent manually
10512 instead of using gst_bin_add(), since gst_bin_add()
10513 will unlink all pads of the element being added.
10516 2006-06-28 Tim-Philipp Müller <tim at centricular dot net>
10518 Patch by: Peter Kjellerstedt <pkj at axis com>
10520 * gst/gst.c: (prepare_for_load_plugin_func), (split_and_iterate):
10521 Fix missing g_strdup() and double free when using the
10522 --gst-plugin-load command line option (#346097).
10524 2006-06-23 Tim-Philipp Müller <tim at centricular dot net>
10527 Promote GST_DEBUG_CATEGORY_STATIC in example in docs.
10529 * libs/gst/net/gstnetclientclock.c:
10530 * libs/gst/net/gstnettimeprovider.c:
10531 Use GST_DEBUG_CATEGORY_STATIC here too (#342503).
10533 2006-06-23 Tim-Philipp Müller <tim at centricular dot net>
10535 * docs/manual/advanced-dataaccess.xml:
10536 Fix buffer probe example compilation in
10539 2006-06-22 Edward Hervey <edward@fluendo.com>
10541 * gst/gstelement.c: (gst_element_pads_activate):
10542 We need to deactivate src pads first and then sink pads.
10543 The reason is the src pads might be blocking while holding the streaming
10544 lock, so we need to deactivate them first so that deactivating the sink
10545 pads doesn't block (since it will require the streaming lock).
10547 2006-06-22 Wim Taymans <wim@fluendo.com>
10549 * libs/gst/base/gstbasetransform.c:
10550 (gst_base_transform_buffer_alloc):
10551 Forgot to remove two unneeded unrefs.
10552 Simplify a check _is_equal allready checks the obvious case.
10554 2006-06-22 Wim Taymans <wim@fluendo.com>
10556 * docs/design/part-block.txt:
10557 Some docs about what pad_block should do.
10559 2006-06-22 Wim Taymans <wim@fluendo.com>
10561 * gst/gstcaps.c: (gst_caps_replace):
10562 Fix crasher when passed NULL. Doc clarification.
10563 Optimize for the trivial case.
10565 * gst/gstpipeline.c: (gst_pipeline_change_state):
10568 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
10569 Small documentation cleanup.
10571 * libs/gst/base/gstbasetransform.c:
10572 (gst_base_transform_buffer_alloc):
10573 Don't use silly gst_pad_get_negotiated_caps, GST_PAD_CAPS
10574 is what we need and it avoids a whole lot of redundant
10575 refcount operations.
10577 2006-06-22 Tim-Philipp Müller <tim at centricular dot net>
10579 Patch by: Philip Jägenstedt <philip at lysator liu se>
10581 * docs/manual/advanced-dataaccess.xml:
10582 Fix 'Embedding static elements' section to use
10583 GST_PLUGIN_DEFINE_STATIC (#345607).
10585 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
10587 * tests/check/pipelines/simple-launch-lines.c: (test_stop_from_app):
10588 Attempt to 'fix' spuriously failing test case: it seems like the
10589 timeout of half a second is simply too small when the system is under
10590 load otherwise, and the timeout doesn't really seem to serve any
10591 particular purpose here. Give the pipeline a few seconds to preroll
10592 first, and then give it another half a second to go from PAUSED to
10593 PLAYING and marshal the message into the main thread.
10595 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
10597 * tools/gst-feedback-m.m:
10598 Don't only use unversioned tools, try versioned tools as well
10601 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
10603 * gst/gstbus.c: (gst_bus_class_init):
10604 Fix some typos, make docs more explicit.
10606 2006-06-20 Wim Taymans <wim@fluendo.com>
10608 * tests/check/gst/gstghostpad.c: (block_callback),
10609 (GST_START_TEST), (gst_ghost_pad_suite):
10610 Added some more ghostpad tests, mainly blocking
10613 2006-06-16 Wim Taymans <wim@fluendo.com>
10615 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
10616 (gst_file_sink_close_file), (gst_file_sink_do_seek),
10617 (gst_file_sink_event), (gst_file_sink_render):
10618 * plugins/elements/gstfilesink.h:
10619 Check if we can seek in the file instead of assuming
10620 we always can. Post an error when we are asked to seek in a
10621 non-seekable file (like a fifo). Fixes #343312.
10624 2006-06-16 Tim-Philipp Müller <tim at centricular dot net>
10626 * tools/gst-launch.1.in:
10627 Un-garble (fourcc) bit in filtered caps section.
10629 2006-06-16 Tim-Philipp Müller <tim at centricular dot net>
10631 * docs/manual/advanced-autoplugging.xml:
10632 * docs/manual/basics-helloworld.xml:
10633 * docs/manual/highlevel-components.xml:
10634 Don't leak bus reference in sample code.
10636 2006-06-15 Tim-Philipp Müller <tim at centricular dot net>
10639 Add default for new --enable-plugin-docs switch.
10642 Use new GST_PLUGIN_DOCS macro to check for pyxml etc.
10645 * docs/Makefile.am:
10646 Use new ENABLE_PLUGIN_DOCS conditional.
10648 2006-06-14 Wim Taymans <wim@fluendo.com>
10650 * gst/gstbin.c: (bin_query_duration_done), (gst_bin_query):
10651 Make it clear with a FIXME and a real define what the #if 0
10652 previously disabled.
10654 2006-06-14 Wim Taymans <wim@fluendo.com>
10656 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
10657 (gst_base_sink_preroll_object), (gst_base_sink_get_position):
10658 * libs/gst/base/gstbasetransform.c:
10659 (gst_base_transform_sink_eventfunc):
10660 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
10661 Don't randomly and silently reset a segment when the format
10662 changes as this is a bug somewhere upstream. Fixes #330379.
10664 2006-06-14 Tim-Philipp Müller <tim at centricular dot net>
10666 Patch by: Wouter Paesen <wouter at kangaroot net>
10668 * libs/gst/controller/gstcontroller.c:
10669 (gst_controlled_property_new):
10670 Fix controlling of float properties (#344849).
10672 * tests/check/libs/controller.c:
10673 (gst_test_mono_source_get_property),
10674 (gst_test_mono_source_set_property),
10675 (gst_test_mono_source_class_init), (GST_START_TEST):
10676 While we're at it, add some float stuff to unit test.
10678 2006-06-13 Thomas Vander Stichele <thomas at apestaart dot org>
10681 * docs/images/gdp-header.svg:
10683 * docs/libs/Makefile.am:
10684 * docs/libs/gdp-header.png:
10685 * libs/gst/dataprotocol/dataprotocol.c:
10686 add it to the API docs
10687 * docs/manual/intro-motivation.xml:
10690 2006-06-13 Tim-Philipp Müller <tim at centricular dot net>
10692 * gst/gst.c: (scan_and_update_registry), (init_post):
10693 If the fork()'ed child process can't write the updated registry cache
10694 file to disk for some reason, make it exit with a failure exit code,
10695 so that the parent can then re-scan the plugins itself and update the
10696 registry structures in memory and work with that (rather than failing
10697 when creating elements because seemingly no plugins are available).
10698 Refactor registry scanning code into separate function for this and
10699 also separate fork() and non-fork() code paths. Fixes #344748.
10701 2006-06-13 Wim Taymans <wim@fluendo.com>
10703 * docs/manual/advanced-dataaccess.xml:
10704 Fix wrong PluginDesc. Fixes #344755.
10706 2006-06-13 Tim-Philipp Müller <tim at centricular dot net>
10708 * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
10709 Fix silly bug that prevented us from creating
10710 ~/.gstreamer-0.10 and writing the registry in one
10711 go (the first call to g_mkstemp() would overwrite the
10712 placeholder in the template string, so the second call
10713 to g_mkstemp() after creating the missing directory
10714 would then error out with 'invalid argument').
10716 2006-06-13 Edward Hervey <edward@fluendo.com>
10718 * gst/gst.c: (init_post):
10721 2006-06-13 Thomas Vander Stichele <thomas at apestaart dot org>
10723 * gst/glib-compat-private.h:
10724 * gst/glib-compat.c:
10725 * gst/glib-compat.h:
10726 * gst/gstvalue.c: (gst_value_serialize_flags):
10727 remove GLib 2.6 compatibility code
10729 2006-06-12 Tim-Philipp Müller <tim at centricular dot net>
10731 * gst/parse/Makefile.am:
10732 Fix build with 'make -j N' even more (#340016).
10734 2006-06-12 Wim Taymans <wim@fluendo.com>
10736 * docs/gst/gstreamer-sections.txt:
10739 2006-06-12 Wim Taymans <wim@fluendo.com>
10741 * gst/gstsegment.c: (gst_segment_set_duration),
10742 (gst_segment_set_last_stop), (gst_segment_set_seek),
10743 (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
10744 (gst_segment_to_running_time), (gst_segment_clip):
10745 Use G_UNLIKELY to help the compiler a bit.
10747 2006-06-12 Wim Taymans <wim@fluendo.com>
10749 Patch by: Stefan Kost <ensonic at sonicpulse dot de>
10751 * gst/gstevent.c: (gst_event_get_type):
10752 * gst/gstmessage.c:
10753 * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
10755 constify quark registration strings. Fixes #344115
10756 Avoid unneeded type checking is _pad_push() by internally
10757 calling gst_pad_chain_unchecked().
10759 2006-06-12 Wim Taymans <wim@fluendo.com>
10761 * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_finalize),
10762 (_gst_buffer_copy), (gst_buffer_is_metadata_writable),
10763 (gst_subbuffer_finalize), (gst_buffer_create_sub),
10764 (gst_buffer_is_span_fast), (gst_buffer_span):
10765 Init _type for consistency.
10766 Use _FLAGS macro to avoid type check.
10767 Avoid unneeded type checks in subbufer code.
10769 2006-06-12 Wim Taymans <wim@fluendo.com>
10771 * gst/gst.c: (gst_debug_help):
10772 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_list_free):
10773 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
10774 (gst_plugin_feature_list_free):
10775 * gst/gstregistry.c: (gst_registry_add_plugin),
10776 (gst_registry_add_feature), (gst_registry_plugin_filter),
10777 (gst_registry_feature_filter), (gst_registry_find_plugin),
10778 (gst_registry_find_feature), (gst_registry_get_plugin_list),
10779 (gst_registry_lookup_feature_locked), (gst_registry_lookup_locked):
10780 * gst/gstregistryxml.c: (load_feature),
10781 (gst_registry_xml_read_cache), (gst_registry_xml_write_cache):
10782 * gst/gstminiobject.c: (gst_mini_object_unref),
10783 (gst_mini_object_replace), (gst_value_mini_object_free),
10784 (gst_value_mini_object_copy):
10785 Use _CAST macros to avoid unneeded type checking.
10786 Added some more G_UNLIKELY.
10788 2006-06-12 Wim Taymans <wim@fluendo.com>
10791 Avoid unneeded type checking.
10792 API: GST_BUFFER_IS_DISCONT
10794 * gst/gstminiobject.h:
10795 Avoid type check in flag accessor.
10797 * gst/gstelementfactory.h:
10799 * gst/gstpluginfeature.h:
10801 API: GST_ELEMENT_FACTORY_CAST
10802 API: GST_PLUGIN_CAST
10803 API: GST_PLUGIN_FEATURE_CAST
10805 2006-06-12 Wim Taymans <wim@fluendo.com>
10807 * gst/gstobject.c: (gst_object_get_type), (gst_object_ref),
10808 (gst_object_unref):
10809 Add G_UNLIKELY in type registration.
10810 Avoid type check in _ref/_unref since that is also
10813 2006-06-12 Wim Taymans <wim@fluendo.com>
10815 * gst/gsterror.c: (gst_g_error_get_type):
10816 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
10817 (gst_static_pad_template_get_type):
10818 * gst/gsttaglist.c: (gst_tag_list_get_type):
10819 * gst/gsttagsetter.c: (gst_tag_setter_get_type):
10820 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type):
10821 * gst/gsturi.c: (gst_uri_handler_get_type):
10822 * gst/gstvalue.c: (gst_date_get_type):
10823 * gst/gstxml.c: (gst_xml_get_type):
10824 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
10825 (gst_base_sink_preroll_object), (gst_base_sink_get_position):
10826 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type):
10827 Add G_UNLIKELY in type registration.
10829 2006-06-12 Wim Taymans <wim@fluendo.com>
10831 * tools/gst-inspect.c: (print_signal_info):
10832 Properly print enum values.
10834 2006-06-12 Wim Taymans <wim@fluendo.com>
10836 * gst/gstinfo.c: (gst_debug_set_active),
10837 (gst_debug_category_set_threshold), (_gst_debug_nameof_funcptr):
10839 Add some G_[UN]LIKELY.
10840 Maintain __gst_debug_min to avoid formatting the arguments of
10841 debug messages that will be dropped anyway to avoid a lot of
10842 overhead from the debugging system.
10844 2006-06-11 Stefan Kost <ensonic@users.sf.net>
10847 * po/POTFILES.skip:
10848 add missing files containing translatable strings, tell intltool about
10851 2006-06-11 Stefan Kost <ensonic@users.sf.net>
10853 * tests/check/libs/.cvsignore:
10854 add test-binary to ignore list
10856 2006-06-11 Stefan Kost <ensonic@users.sf.net>
10858 * docs/libs/gstreamer-libs-docs.sgml:
10859 reorder (put dp into a chapter) and indent
10861 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
10866 === release 0.10.8 ===
10868 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
10871 releasing 0.10.8, "Soepeke, ik zie ou nog altijd nie"
10873 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
10875 * gst/gst.c: (init_post):
10876 move pid declaration to declaration block
10878 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
10880 * gst/gst.c: (init_post):
10881 use _exit() instead of exit() in our forked child; this ensures
10882 that none of the registered exit handlers from whatever is using
10883 GStreamer get executed. This fixes gnome-mixer-applet failing
10884 to load, because ORBit would shut down.
10885 Spotted by: Edward Hervey <edward@fluendo.com>
10886 Fix suggested by: Tim-Philipp Müller <tim at centricular dot net>
10889 2006-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
10894 === release 0.10.7 ===
10896 2006-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
10899 releasing 0.10.7, "Soepeke, ik zie ou"
10901 2006-06-07 Thomas Vander Stichele <thomas at apestaart dot org>
10924 * win32/common/config.h:
10925 0.10.6.2 prerelease
10927 2006-06-07 Wim Taymans <wim@fluendo.com>
10929 * gst/gstindex.c: (gst_index_gtype_resolver):
10930 * tools/gst-xmlinspect.c: (print_plugin_info):
10931 Fix leak spotted by coverity checker. Fixes #343827
10932 Fix another other leak found by paolo borelli.
10934 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
10936 * libs/gst/dataprotocol/dataprotocol.c:
10937 (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
10938 (gst_dp_version_get_type), (gst_dp_init),
10939 (gst_dp_header_from_buffer), (gst_dp_header_from_buffer_1_0),
10940 (gst_dp_packet_from_caps), (gst_dp_packet_from_caps_1_0),
10941 (gst_dp_packet_from_event), (gst_dp_packet_from_event_1_0),
10942 (gst_dp_event_from_packet_0_2), (gst_dp_event_from_packet_1_0),
10943 (gst_dp_event_from_packet), (gst_dp_packetizer_new),
10944 (gst_dp_packetizer_free):
10945 * libs/gst/dataprotocol/dataprotocol.h:
10946 API: add a GstDPPacketizer object, and create/free functions
10947 API: add GstDPVersion enum
10948 Add 1.0 event function that uses the string serialization
10949 Serialize more useful buffer flags
10952 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
10954 * tests/check/Makefile.am:
10955 * tests/check/gst/gstabi.c:
10956 * tests/check/gst/struct_ppc64.h:
10957 * tests/check/libs/libsabi.c:
10958 * tests/check/libs/struct_ppc64.h:
10959 add ppc64 structure sizes
10961 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
10963 * tests/check/Makefile.am:
10964 * tests/check/gst/gstabi.c:
10965 * tests/check/gst/struct_x86_64.h:
10966 * tests/check/libs/libsabi.c:
10967 * tests/check/libs/struct_x86_64.h:
10968 generate and add structure size lists for x86_64
10970 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
10972 * libs/gst/check/gstcheck.c: (gst_check_abi_list):
10973 * libs/gst/check/gstcheck.h:
10974 factor out the method from tests that checks size of structures,
10975 and add code to generate the header containing these sizes
10976 * tests/check/gst/gstabi.c: (GST_START_TEST):
10977 * tests/check/gst/struct_i386.h:
10978 * tests/check/libs/libsabi.c: (GST_START_TEST):
10979 * tests/check/libs/struct_i386.h:
10982 2006-06-06 Michael Smith <msmith@fluendo.com>
10984 * gst/gstsegment.h:
10985 Don't use c++-style comments, fixes #343929
10987 2006-06-05 Edward Hervey <edward@fluendo.com>
10990 plugin_paths is not used if we build without registry support.
10992 * gst/gstsegment.c: (gst_segment_copy):
10993 _copy() was always returning NULL...
10995 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
10997 * libs/gst/dataprotocol/dataprotocol.c:
10998 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
10999 (gst_dp_packet_from_event):
11000 factor out CRC code
11002 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
11004 * libs/gst/check/gstcheck.c: (gst_check_teardown_src_pad):
11005 make sure we unset caps
11007 2006-06-02 Michael Smith <msmith@fluendo.com>
11009 * libs/gst/check/gstcheck.c: (gst_check_init),
11010 (gst_check_chain_func):
11011 * libs/gst/check/gstcheck.h:
11012 Add a cond/mutex to the check support lib, signal this whenever we
11013 add to the buffers list. This will allow tests to not busy-wait on
11016 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
11018 * libs/gst/dataprotocol/dataprotocol.c:
11019 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
11020 (gst_dp_packet_from_event):
11021 factor out some common header init code
11023 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
11025 * docs/libs/gstreamer-libs-sections.txt:
11026 * docs/libs/tmpl/gstdataprotocol.sgml:
11027 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc):
11028 * libs/gst/dataprotocol/dataprotocol.h:
11029 API: make gst_dp_crc() public
11031 2006-06-01 Stefan Kost <ensonic@users.sf.net>
11033 * plugins/indexers/gstindexers.c: (plugin_init):
11034 conditionally register fileindexer (fixes #343598)
11036 2006-06-01 Stefan Kost <ensonic@users.sf.net>
11038 * gst/gsttagsetter.h:
11039 Can't cast ifaces to a class
11041 * libs/gst/net/gstnetclientclock.h:
11042 * libs/gst/net/gstnettimeprovider.h:
11043 * plugins/elements/gstfakesink.h:
11044 * plugins/elements/gstfakesrc.h:
11045 * plugins/elements/gstfdsink.h:
11046 * plugins/elements/gstfdsrc.h:
11047 * plugins/elements/gstfilesink.h:
11048 * plugins/elements/gstfilesrc.h:
11049 * plugins/elements/gstidentity.h:
11050 * plugins/elements/gstqueue.h:
11051 * plugins/elements/gsttee.h:
11052 * plugins/indexers/gstfileindex.c:
11053 * plugins/indexers/gstmemindex.c:
11054 * tests/old/examples/plugins/example.h:
11055 Fix more gobject macros: obj<->klass, GstXXX<->GstXXXClass
11057 2006-06-01 Thomas Vander Stichele <thomas at apestaart dot org>
11059 * libs/gst/dataprotocol/dataprotocol.c:
11060 (gst_dp_header_from_buffer):
11061 make sure we zero the whole ABI-compatible area
11063 2006-06-01 Wim Taymans <wim@fluendo.com>
11065 Patch by: Alessandro Decina <alessandro at nnva dot org>
11067 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop):
11068 Make sure the EOS flag is cleared from pads after a flush
11069 or stop. Fixes #343538.
11071 * tests/check/libs/collectpads.c: (GST_START_TEST),
11072 (gst_collect_pads_suite):
11073 Added test for collectpads reusage after EOS.
11075 2006-05-30 Sebastien Moutte <sebastien@moutte.net>
11078 set #include <sys/wait.h> in a #ifdef #ifdef HAVE_FORK
11079 * win32/common/libgstbase.def:
11080 export gst_collect_pads_set_flushing
11081 * win32/common/libgstreamer.def:
11082 export gst_pad_set_acceptcaps_function, gst_structure_empty_new,
11083 gst_value_fraction_multiply
11084 * win32/vs6/gst_inspect.dsp:
11085 add a link to intl.lib
11087 2006-05-30 Wim Taymans <wim@fluendo.com>
11089 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
11090 (gst_collect_pads_chain):
11091 Handle the case where a pad is removed from the collection
11092 that could cause the other pads to become collectable.
11094 2006-05-30 Wim Taymans <wim@fluendo.com>
11096 * gst/gstelement.c:
11097 Clarify the use of _release_request_pad() and
11098 _get_request_pad() a bit better.
11100 * libs/gst/base/gstadapter.c: (gst_adapter_peek),
11101 (gst_adapter_take_buffer):
11102 Fix some doc and comment typos.
11104 2006-05-30 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
11106 * docs/gst/gstreamer-sections.txt:
11107 * docs/libs/gstreamer-libs-sections.txt:
11108 add declared symbols
11110 2006-05-30 Jan Schmidt <thaytan@mad.scientist.com>
11112 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
11113 Add debug that can be enabled using a #define at the top of the file,
11114 for dumping stats about how late/early we were when waking up from
11115 waiting on the clock.
11117 2006-05-30 Wim Taymans <wim@fluendo.com>
11119 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_check_pads):
11120 When rebuilding the pad list, don't leak the previous list.
11122 2006-05-30 Wim Taymans <wim@fluendo.com>
11124 Patch by: Lutz Mueller <lutz at topfrose dot de>
11126 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
11127 (gst_base_src_get_query_types), (gst_base_src_update_length):
11128 Publish supported query types.
11129 Update last_stop field in get_range mode so the position
11130 query works. Fixes #342321.
11132 2006-05-30 Tim-Philipp Müller <tim at centricular dot net>
11134 * docs/gst/gstreamer-sections.txt:
11135 * gst/gsttaglist.c: (_gst_tag_initialize):
11136 * gst/gsttaglist.h:
11137 API: add GST_TAG_PREVIEW_IMAGE (#343341).
11139 2006-05-30 Wim Taymans <wim@fluendo.com>
11141 Patch by: Alessandro Decina <alessandro at nnva dot org>
11143 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
11144 Unlock mutex when removing an unknown pad.
11147 * tests/check/Makefile.am:
11148 * tests/check/libs/collectpads.c: (collected_cb), (push_buffer),
11149 (push_event), (setup), (teardown), (GST_START_TEST),
11150 (gst_collect_pads_suite), (main):
11151 Added collecpads check, disabled for now as check crashes for
11154 2006-05-29 Wim Taymans <wim@fluendo.com>
11156 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize):
11157 Don't leak pads lists.
11159 2006-05-29 Wim Taymans <wim@fluendo.com>
11161 * docs/libs/gstreamer-libs-sections.txt:
11162 * libs/gst/base/gstcollectpads.c:
11163 (gst_collect_pads_set_flushing_unlocked),
11164 (gst_collect_pads_set_flushing), (gst_collect_pads_start),
11165 (gst_collect_pads_stop):
11166 * libs/gst/base/gstcollectpads.h:
11167 API: gst_collect_pads_set_flushing()
11168 Added api to set the pads to flushing, useful for seeking
11169 code in elements using collectpads.
11170 Clear segment when receiving a flush.
11172 2006-05-29 Tim-Philipp Müller <tim at centricular dot net>
11174 * gst/gst.c: (add_path_func), (init_post):
11175 Don't scan registry paths passed via --gst-plugin-path immediately
11176 (will crash, because absolutely nothing is set up and no types are
11177 registered etc.); do this later in init_post(). Fixes #343057.
11179 2006-05-28 Thomas Vander Stichele <thomas at apestaart dot org>
11181 * gst/gst.c: (init_post):
11182 if we have fork, fork while reading/rebuilding the registry
11183 so the parent doesn't take the hit of having all plugins loaded
11184 in memory. Fixes #342777.
11186 Check if we have fork()
11187 * win32/common/config.h.in:
11190 2006-05-26 Jan Schmidt <thaytan@mad.scientist.com>
11192 * plugins/elements/gstelements.c:
11193 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
11194 (gst_file_src_init), (gst_file_src_set_property),
11195 (gst_file_src_get_property), (gst_file_src_start):
11196 * plugins/elements/gstfilesrc.h:
11197 API: GstFileSrc::use-mmap
11199 Add a use-mmap property to enable easier testing of all code paths.
11200 Bump rank to PRIMARY, so filesrc is the preferred file reader and used
11201 in the absence of gnomevfssrc. (Closes #340501)
11203 2006-05-26 Zaheer Abbas Merali <zaheerabbas at merali dot org>
11205 * tools/gst-inspect.c:
11206 Add missing include, removes warning of ngettext not being defined on
11209 2006-05-26 Jan Schmidt <thaytan@mad.scientist.com>
11211 * gst/gstvalue.c: (gst_value_deserialize_fraction):
11212 Handle NULL input and output pointers silently as a failed conversion,
11213 rather than g_warnings.
11215 2006-05-25 Wim Taymans <wim@fluendo.com>
11217 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_start):
11218 Initialize variable before using. Fixes #342820.
11220 2006-05-24 Tim-Philipp Müller <tim at centricular dot net>
11222 * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek):
11223 Fix off-by-one bug that would only allow peeks of N-1 bytes
11224 from the start even if the buffer to typefind on contains
11225 in fact N bytes of data (makes vorbis typefinding from a
11226 vorbis identification header buffer work).
11228 * tests/check/Makefile.am:
11229 * tests/check/libs/.cvsignore:
11230 * tests/check/libs/typefindhelper.c: (GST_START_TEST),
11231 (gst_typefindhelper_suite), (main), (foobar_typefind),
11233 Add very basic unit test for gst_type_find_helper_for_buffer()
11234 that checks for the problem fixed above.
11236 2006-05-24 Thomas Vander Stichele <thomas at apestaart dot org>
11238 * tools/gst-inspect.c: (print_interfaces),
11239 (print_element_properties_info), (print_element_list), (main):
11240 add more translatable strings
11242 2006-05-23 Tim-Philipp Müller <tim at centricular dot net>
11244 Patch by: Julien Moutte <julien at moutte net>
11246 * docs/gst/gstreamer-sections.txt:
11247 Make new GST_FLOW_IS_SUCCESS macro visible in docs.
11249 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
11250 (gst_fake_sink_preroll):
11251 * plugins/elements/gstfakesink.h:
11252 API: Add new GstFakeSink::preroll-handoff signal (#337100).
11254 2006-05-23 Wim Taymans <wim@fluendo.com>
11256 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark):
11258 Added _CUSTOM error and success GstFlowReturn that can be
11259 used be elements internally.
11260 Added macro to check for SUCCESS flowreturns.
11261 API: GST_FLOW_CUSTOM_SUCCESS
11262 API: GST_FLOW_CUSTOM_ERROR
11263 API: GST_FLOW_IS_SUCCESS
11265 * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
11266 Added check for GstFlowReturn sanity.
11268 2006-05-23 Wim Taymans <wim@fluendo.com>
11270 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
11272 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
11273 (gst_collect_pads_event):
11274 clear/reset segment info in FLUSH_STOP.
11277 2006-05-22 Stefan Kost <ensonic@users.sf.net>
11279 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop),
11280 (gst_collect_pads_check_collected):
11281 Flush queued buffer on _stop(), fixes playing again (#342454)
11283 2006-05-22 Thomas Vander Stichele <thomas at apestaart dot org>
11285 * tests/check/gst/gststructure.c: (GST_START_TEST),
11286 (gst_structure_suite):
11287 add a test for a complete structure
11289 2006-05-19 Tim-Philipp Müller <tim at centricular dot net>
11291 * docs/faq/developing.xml:
11292 * docs/faq/faq.xml:
11293 * docs/faq/troubleshooting.xml:
11294 * docs/faq/using.xml:
11295 Some minor FAQ updates that won't change the fact that
11296 our FAQ is badly structured, full of information hardly
11297 anyone new to GStreamer needs to know and lacking lots
11298 of information people constantly ask for.
11300 2006-05-19 Jan Schmidt <thaytan@mad.scientist.com>
11302 * gst/gstpad.c: (gst_pad_set_caps):
11303 Short-circuit gst_pad_set_caps if setting the existing
11304 caps pointer again, and avoid printing debug and
11305 reffing/unreffing the caps.
11307 * plugins/elements/gstqueue.c: (gst_queue_push_one):
11308 There's actually no need to set the caps before pushing -
11309 the acceptcaps method will handle it anyway.
11311 2006-05-19 Tim-Philipp Müller <tim at centricular dot net>
11313 * docs/gst/gstreamer-sections.txt:
11314 * win32/common/libgstreamer.def:
11315 * gst/gstutils.c: (gst_element_seek_simple):
11317 API: add gst_element_seek_simple() (#342238).
11319 2006-05-18 Edward Hervey <edward@fluendo.com>
11321 * gst/gsttypefind.c: (gst_type_find_get_type):
11322 * gst/gsttypefind.h:
11323 Added GST_TYPE_TYPE_FIND and gst_type_find_get_type() so a GType gets
11324 registered for GstTypeFind pointers. This allows wrapping the structure
11325 in bindings (i.e. gst-python).
11327 2006-05-18 Tim-Philipp Müller <tim at centricular dot net>
11329 * gst/gsttagsetter.c:
11330 Docs additions and fixes (see #339918).
11332 2006-05-18 Jan Schmidt <thaytan@mad.scientist.com>
11334 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
11335 The caps intersection algorithm can produce multiple copies of the
11336 caps. Until that is fixed, we need to simplify the result to be
11337 sure whether the allowed caps are fixed or not.
11339 * plugins/elements/gstqueue.c: (gst_queue_init),
11340 (gst_queue_bufferalloc), (gst_queue_acceptcaps),
11341 (gst_queue_push_one):
11342 Proxied buffer alloc should not set the caps on the source pad.
11343 When pushing buffers, we always accept the caps change that triggers.
11344 This prevents negotiation errors caused by caps changing mid-stream
11345 and then being refused on our source pad (because upstream is now
11346 refusing those caps).
11348 2006-05-18 Tim-Philipp Müller <tim at centricular dot net>
11350 * tests/examples/helloworld/helloworld.c: (main):
11351 Must plug audioconvert and audioresample between decoder
11354 2006-05-17 Jan Schmidt <thaytan@mad.scientist.com>
11356 * gst/gstregistryxml.c: (read_string), (load_pad_template),
11357 (load_feature), (load_plugin):
11358 Allow empty strings for some of the plugin fields so we don't
11359 drop valid plugin entries that were written out correctly
11362 2006-05-17 Sebastien Moutte <sebastien@moutte.net>
11364 * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
11365 Use g_remove and g_rename instead of remove and rename that don't
11366 handle utf8 characters. rename was failing for users who had specific
11367 characters in their name then the registry was built at each
11369 * win32/vs6/gst_inspect.dsp:
11370 * win32/vs6/gst_launch.dsp:
11371 * win32/vs6/libgstbase.dsp:
11372 * win32/vs6/libgstcoreelements.dsp:
11373 * win32/vs6/libgstreamer.dsp:
11374 Use a debug version of libxml2 (libxml2D.lib,libxml2D.dll) for DEBUG
11375 build of libgstreamer and clean unused libraries in projects link
11378 2006-05-17 Edward Hervey <edward@fluendo.com>
11380 * plugins/elements/gstqueue.c: (gst_queue_push_one):
11381 The queue is not responsible for pushing an EOS when receiving a fatal
11382 flow error. It's up to the real element driving the pipeline to do that.
11384 2006-05-16 Edward Hervey <edward@fluendo.com>
11386 * plugins/elements/gstqueue.c: (gst_queue_push_one):
11387 The queue was posting a non-needed GST_MESSAGE_ERROR when pushing a
11388 buffer returned a fatal error. It should just send an EOS and stop
11390 Upstream elements will then properly receive the GST_FLOW_UNEXPECTED
11391 when pushing buffers on the queue and will be able to handle the event.
11393 2006-05-16 Tim-Philipp Müller <tim at centricular dot net>
11395 * docs/manual/basics-bins.xml:
11396 * docs/manual/basics-init.xml:
11397 Fix typos and minor errors in sample code (#341856).
11399 2006-05-16 Wim Taymans <wim@fluendo.com>
11401 * docs/design/part-qos.txt:
11402 Fix indexes in formulas to make more sense.
11404 2006-05-15 Wim Taymans <wim@fluendo.com>
11406 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
11407 Don't report POSITION based on clock time if sync is
11408 disabled in a sink.
11410 2006-05-15 Tim-Philipp Müller <tim at centricular dot net>
11413 Add cast to make compiler happy - refcount variable was a gint
11414 in GstObject but is a guint in GObject and g_atomic_int_get()
11417 2006-05-15 Thomas Vander Stichele <thomas at apestaart dot org>
11419 * gst/parse/Makefile.am:
11420 chain commands using &&, which also makes parallel make work
11422 2006-05-14 Tim-Philipp Müller <tim at centricular dot net>
11424 * docs/gst/gstreamer-sections.txt:
11427 * gst/gstmessage.h:
11430 === release 0.10.6 ===
11432 2006-05-14 Jan Schmidt <thaytan@mad.scientist.com>
11435 releasing 0.10.6, "Take the cannoli"
11437 2006-05-13 Tim-Philipp Müller <tim at centricular dot net>
11439 * tools/gst-launch.c: (print_tag):
11440 Fix use of uninitialized variable in the hypothetical
11441 case that some broken plugin creates a GST_TAG_IMAGE
11442 tag containing a NULL buffer (#341667).
11444 2006-05-12 Tim-Philipp Müller <tim at centricular dot net>
11446 * tools/gst-launch.c: (print_tag):
11447 Print something more intelligible for image tags when
11448 using the -t switch (#341556).
11450 2006-05-12 Thomas Vander Stichele <thomas at apestaart dot org>
11455 define GST_MAJORMINOR so we have it available in win32/common/config.h
11456 Possibly remove it from our Makefile.am files later
11457 * win32/common/config.h:
11458 * win32/common/config.h.in:
11459 added GST_MAJORMINOR
11460 * win32/common/gstenumtypes.c: (register_gst_resource_error):
11461 * win32/common/gstversion.h:
11464 2006-05-12 Sebastien Moutte <sebastien@moutte.net>
11467 Update win32 files listing.
11468 * win32/common/gstversion.h:
11469 Add GST_MAJORMINOR definition.
11470 * win32/common/libgstreamer.def:
11471 Add new exported functions.
11473 2006-05-12 Michael Smith <msmith@fluendo.com>
11475 * gst/gstplugin.c: (gst_plugin_load_file):
11476 If an so file has no plugin entry point, unload the module.
11478 2006-05-11 Wim Taymans <wim@fluendo.com>
11480 * plugins/elements/gstqueue.c: (gst_queue_chain), (gst_queue_loop),
11481 (gst_queue_set_property):
11482 Don't forget to signal the _chain or _loop function
11483 when the queue size or thresholds change since that might
11484 cause them to make progres again.
11486 2006-05-11 Stefan Kost <ensonic@users.sf.net>
11488 * gst/gstclock.c: (gst_clock_class_init):
11489 * gst/gstindex.c: (gst_index_class_init):
11490 * gst/gstobject.c: (gst_object_class_init):
11491 * gst/gstpad.c: (gst_pad_class_init):
11492 * gst/gstpipeline.c: (gst_pipeline_class_init):
11493 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
11494 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
11495 * libs/gst/base/gstbasetransform.c:
11496 (gst_base_transform_class_init):
11497 * libs/gst/net/gstnetclientclock.c:
11498 (gst_net_client_clock_class_init):
11499 * libs/gst/net/gstnettimeprovider.c:
11500 (gst_net_time_provider_class_init):
11501 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
11502 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
11503 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
11504 * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
11505 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
11506 * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
11507 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
11508 * plugins/elements/gstidentity.c: (gst_identity_class_init):
11509 * plugins/elements/gsttee.c: (gst_tee_class_init):
11510 * tests/old/examples/plugins/example.c: (gst_example_class_init):
11511 * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
11512 G_OBJECT_CLASS macro usage batch cleanup, fixes #337747 for core
11514 2006-05-11 Wim Taymans <wim@fluendo.com>
11516 * gst/gstbuffer.c: (_gst_buffer_initialize):
11517 Register subbufer along with the buffer type so that
11518 it does not accidentally gets registered from N
11519 different streaming threads in a non threadsafe way.
11521 2006-05-10 Tim-Philipp Müller <tim at centricular dot net>
11525 * gst/gstmessage.h:
11526 Make gtk-doc generate docs for our inlined gst_buffer_ref(),
11527 gst_event_ref() and gst_message_ref() functions again
11528 (ugly hack, please do fix if there's a better way besides
11529 overrides.txt, which doesn't seem to work).
11531 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
11533 * libs/gst/check/gstcheck.h:
11534 add an assert for setting state to avoid lots of repetitive code
11537 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
11539 * gst/gstvalue.c: (gst_value_serialize_flags):
11540 fix a leak if no flags are set
11541 * tests/check/gst/gstvalue.c: (GST_START_TEST):
11544 2006-05-10 Tim-Philipp Müller <tim at centricular dot net>
11546 * docs/manual/basics-pads.xml:
11547 Expand a bit on caps and filtered links and update
11548 examples that were still using the no longer existing
11549 gst_pad_link_filtered() (#338206).
11551 2006-05-10 Wim Taymans <wim@fluendo.com>
11553 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
11554 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
11555 (gst_collect_pads_set_flushing), (gst_collect_pads_start),
11556 (gst_collect_pads_stop):
11557 * libs/gst/base/gstcollectpads.h:
11558 No need to call _stop in _finalize.
11559 Iterate the main pad list in _finalize.
11560 Added some more debug.
11561 Free lists and data in the right order.
11562 Also free data whem doing _remove_pad when stopped for
11563 backward compatibility protect ::started with PAD_LOCK as
11566 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
11568 * gst/gststructure.c: (gst_structure_gtype_from_abbr),
11569 (gst_structure_parse_value):
11571 rename a method so that it actually says what it does better
11573 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
11575 * gst/gstevent.c: (_gst_event_initialize):
11576 * gst/gstformat.c: (_gst_format_initialize):
11577 make sure some essential types used by events are registered
11578 as part of gst_init()
11579 * gst/gstvalue.c: (gst_value_serialize_flags):
11580 if no flags are set, serialize them to a value that represents NONE
11581 so that deserializing them works
11582 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
11583 add tests for serialization and deserialization of flags
11585 2006-05-10 Wim Taymans <wim@fluendo.com>
11587 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_collect),
11588 (gst_collect_pads_collect_range), (gst_collect_pads_available),
11589 (gst_collect_pads_check_pads), (gst_collect_pads_check_collected),
11590 (gst_collect_pads_event), (gst_collect_pads_chain):
11593 Catch and return errors from the collect function
11594 Refuse data on eos pads.
11596 2006-05-10 Edward Hervey <edward@fluendo.com>
11598 * gst/gstinterface.h:
11599 GST_IMPLEMENTS_INTERFACE and GST_IS_IMPLEMENTS_INTERFACE use the normal
11600 GInterface type checking.
11601 They were previously using non-defined macros.
11603 2006-05-09 Wim Taymans <wim@fluendo.com>
11605 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_init),
11606 (gst_collect_pads_finalize), (gst_collect_pads_add_pad),
11607 (gst_collect_pads_remove_pad), (gst_collect_pads_set_flushing),
11608 (gst_collect_pads_start), (gst_collect_pads_stop),
11609 (gst_collect_pads_peek), (gst_collect_pads_pop),
11610 (gst_collect_pads_available), (gst_collect_pads_read),
11611 (gst_collect_pads_flush), (gst_collect_pads_check_pads),
11612 (gst_collect_pads_is_collected), (gst_collect_pads_event),
11613 (gst_collect_pads_chain):
11614 * libs/gst/base/gstcollectpads.h:
11615 Clean up the mess that is collectpads, add comments and
11616 FIXMEs where needed.
11617 Maintain a separate pad list so we can add pads while
11618 collecting the other ones. For this we need a new separate
11620 Fix memory leak in finalize.
11621 Refactor some weird code to set/unset pad flushing flags, mark
11623 Don't crash in _available, _read, _flush when we're EOS.
11625 * tests/check/libs/.cvsignore:
11626 Ignore adapter check binary.
11628 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
11630 * gst/gstindex.c: (gst_index_resolver_get_type):
11631 * plugins/elements/gstfakesink.c:
11632 (gst_fake_sink_state_error_get_type):
11633 * plugins/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
11634 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type):
11635 * plugins/elements/gstqueue.c: (queue_leaky_get_type):
11636 Const-ify GEnumValue arrays.
11638 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
11640 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
11641 Add test case for flags + gst_buffer_make_metadata_writable().
11643 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
11645 * gst/gstbuffer.c: (gst_buffer_make_metadata_writable):
11646 gst_buffer_make_metadata_writable() should maintain the
11647 buffer flags (those that make sense at least) (see #340859).
11649 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
11651 * tools/gst-inspect.c:
11652 * tools/gst-launch.c:
11653 * tools/gst-typefind.c:
11654 * tools/gst-xmlinspect.c:
11656 Fix up includes: need to include stdlib.h in tools.h for exit().
11658 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
11660 * gst/gsttaglist.c: (_gst_tag_initialize):
11661 * gst/gsttaglist.h:
11662 API: add GST_TAG_IMAGE tag (#340721).
11664 2006-05-08 Wim Taymans <wim@fluendo.com>
11667 Added some docs for the segment query.
11669 2006-05-08 Wim Taymans <wim@fluendo.com>
11671 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
11672 (gst_base_src_loop), (gst_base_src_change_state):
11673 Always push non-flushing serialized events in the streaming
11676 2006-05-08 Thomas Vander Stichele <thomas at apestaart dot org>
11678 * gst/gsterror.c: (_gst_stream_errors_init):
11679 Add a missing error string.
11681 2006-05-08 Jan Schmidt <thaytan@mad.scientist.com>
11683 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment):
11684 Add applied_rate to the debug
11686 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
11687 Copy applied_rate into the outgoing NEWSEGMENT event
11689 2006-05-08 Wim Taymans <wim@fluendo.com>
11691 Patch by: Philippe Rouquier <philippero at libertysurf dot fr>
11693 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
11694 (gst_base_sink_change_state):
11695 call ::unlock before taking the PREROLL_LOCK so we can safely
11696 handle elements that lock in ::render.
11699 2006-05-08 Edward Hervey <edward@fluendo.com>
11701 * autogen.sh: (CONFIGURE_DEF_OPT):
11702 Darwin's libtoolize is in fact called glibtoolize.
11703 Adding glibtoolize to the list of accepted names for libtoolize.
11705 2006-05-08 Wim Taymans <wim@fluendo.com>
11707 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
11708 Unify error handling, don't post an error message
11709 when a push() returns EOS but perform our normal EOS
11710 handling code. Fixes #340772.
11712 2006-05-08 Wim Taymans <wim@fluendo.com>
11714 * docs/design/part-overview.txt:
11715 Make upsteam/downstream concepts more clear.
11716 Give an example of serialized/non-serialized events.
11718 * docs/design/part-events.txt:
11719 * docs/design/part-streams.txt:
11720 Mention applied_rate.
11722 * docs/design/part-trickmodes.txt:
11723 Mention applied rate, flesh out some more use cases.
11725 * gst/gstevent.c: (gst_event_new_new_segment),
11726 (gst_event_parse_new_segment), (gst_event_new_new_segment_full),
11727 (gst_event_parse_new_segment_full), (gst_event_new_tag),
11728 (gst_event_parse_tag), (gst_event_new_buffer_size),
11729 (gst_event_parse_buffer_size), (gst_event_new_qos),
11730 (gst_event_parse_qos), (gst_event_parse_seek),
11731 (gst_event_new_navigation):
11733 Add applied_rate field to NEWSEGMENT event.
11734 API: gst_event_new_new_segment_full()
11735 API: gst_event_parse_new_segment_full()
11737 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_seek),
11738 (gst_segment_set_newsegment), (gst_segment_set_newsegment_full),
11739 (gst_segment_to_stream_time), (gst_segment_to_running_time):
11740 * gst/gstsegment.h:
11741 Add applied_rate to GstSegment structure.
11742 Make calculation of stream_time and running_time more correct
11743 wrt rate/applied_rate.
11744 Add some more docs.
11745 API: GstSegment::applied_rate field
11746 API: gst_segment_set_newsegment_full();
11748 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
11749 (gst_base_sink_get_sync_times), (gst_base_sink_get_position):
11750 * libs/gst/base/gstbasetransform.c:
11751 (gst_base_transform_sink_eventfunc),
11752 (gst_base_transform_handle_buffer):
11753 Parse and use applied_rate in the GstSegment field.
11755 * tests/check/gst/gstevent.c: (GST_START_TEST):
11756 Add check for applied_rate field.
11758 * tests/check/gst/gstsegment.c: (GST_START_TEST),
11759 (gstsegments_suite):
11760 Add more checks for various GstSegment operations.
11762 2006-05-08 Wim Taymans <wim@fluendo.com>
11764 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
11765 (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked),
11766 (gst_base_sink_get_position), (gst_base_sink_change_state):
11767 Store the sync time of the buffer end position separatly in a
11768 new variable eos_rtime so we can properly sync the EOS event.
11770 Fix the docs for gst_base_sink_set_qos_enabled().
11771 Don't set segment start to invalid value when we receive a
11772 non TIME newsegment.
11773 get closer to handling position reporting for negative rates
11776 2006-05-07 Stefan Kost <ensonic@users.sf.net>
11779 Docs about how to print caps for debug purposes.
11781 * gst/gstpadtemplate.c: (gst_static_pad_template_get):
11782 use gst_caps_make_writable instead of gst_caps_copy, Fixes #340608
11784 2006-05-07 Stefan Kost <ensonic@users.sf.net>
11786 * gst/gstelement.c:
11787 use full enum names and preprend a '%' in docs strings to make recent
11788 gtk-doc turn that into a link
11790 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
11792 * docs/manual/basics-bins.xml:
11793 * docs/manual/basics-bus.xml:
11794 * docs/manual/basics-pads.xml:
11795 Some typo fixes, some additions, some clarifications.
11797 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
11799 * tools/gst-inspect.c: (main):
11800 * tools/gst-launch.c: (main):
11801 * tools/gst-run.c: (main):
11802 * tools/gst-typefind.c: (main):
11803 * tools/gst-xmlinspect.c: (main):
11804 Use the string passed to g_option_context_new() for
11805 what it's intended for - the program name is already
11808 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
11810 * tools/Makefile.am:
11811 * tools/gst-inspect.c: (main):
11812 * tools/gst-launch.c: (main):
11813 * tools/gst-xmlinspect.c: (main):
11815 Add back --version command line option (#340460).
11817 * tools/gst-typefind.c: (have_type_handler), (typefind_file), (main):
11818 Add --version option and use GOption for argument parsing; refactor a
11819 bit; accept directories as arguments and recurse into them; lastly,
11820 print a decent error message when things go wrong.
11822 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
11824 * docs/manual/basics-bins.xml:
11825 Don't mention GstThread (#340611)
11826 * docs/manual/basics-elements.xml:
11827 Update link to GObject tutorial (#340607)
11829 2006-05-05 Wim Taymans <wim@fluendo.com>
11832 * gst/gstminiobject.c:
11833 Add note about refcounting and miniobject/buffer writeability
11834 to docs. Fixes #340604
11836 * gst/gstelementfactory.h:
11837 Added some explanation about @klass.
11839 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
11841 * docs/manual/intro-motivation.xml:
11842 * docs/manual/manual.xml:
11843 Avoid CORBA & Bonobo references (#340598)
11845 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
11847 * docs/manual/basics-bus.xml:
11848 * docs/manual/basics-pads.xml:
11849 Fix up some inaccuracies and omissions (#340609)
11851 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
11853 * gst/gstghostpad.c:
11854 Small typo in docs (#340625)
11856 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
11858 * gst/parse/Makefile.am:
11859 Make 'make -j' proof (see #340698).
11861 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
11864 Require GLib-2.8 here as well.
11866 2006-05-05 Wim Taymans <wim@fluendo.com>
11868 * gst/glib-compat.c:
11869 * gst/gst.c: (init_pre):
11870 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
11871 (gst_object_unref), (gst_object_replace), (gst_object_dispose),
11872 (gst_object_dispatch_properties_changed):
11874 * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
11875 * gst/gststructure.c: (gst_structure_set_valist):
11876 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
11877 Remove pre glib2.8 compatibility, fixes #340508
11879 2006-05-04 Tim-Philipp Müller <tim at centricular dot net>
11881 * gst/gsttaglist.h:
11882 Mention type of tags in doc blurbs.
11884 2006-05-04 Jan Schmidt <thaytan@mad.scientist.com>
11886 * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
11887 (gst_pad_configure_src), (gst_pad_push):
11888 Restore acceptcaps checking behaviour now that good plugins have
11891 2006-05-04 Tim-Philipp Müller <tim at centricular dot net>
11893 Patch by: James Andrewartha <trs80 at tartarus uwa edu au>
11900 * gst/gstmessage.c:
11904 * gst/parse/Makefile.am:
11905 * libs/gst/base/gstadapter.c:
11906 * libs/gst/base/gstbasesrc.c:
11907 * libs/gst/base/gstpushsrc.c:
11908 * libs/gst/base/gsttypefindhelper.c:
11909 * plugins/elements/gstfakesrc.c:
11910 * plugins/elements/gstidentity.c:
11911 Make sure gstprivate.h and/or config.h are
11912 always included first, otherwise some of our
11913 defines (like _FILE_OFFSET_BITS) might be
11914 redefined in the system headers. Fixes build
11915 on opensolaris (#340016).
11917 2006-05-04 Wim Taymans <wim@fluendo.com>
11919 * docs/libs/gstreamer-libs-sections.txt:
11920 API: addition: gst_adapter_take_buffer()
11922 * libs/gst/base/gstadapter.c: (gst_adapter_push),
11923 (gst_adapter_peek), (gst_adapter_take), (gst_adapter_take_buffer),
11924 (gst_adapter_available_fast):
11925 * libs/gst/base/gstadapter.h:
11926 Prepare for optimizing the hell out of this hugely inefficient
11928 Added gst_adapter_take_buffer() so we can at least start thinking
11929 about subbuffering and merging.
11930 Added some comments.
11932 * tests/check/Makefile.am:
11933 * tests/check/libs/adapter.c: (GST_START_TEST),
11934 (gst_adapter_suite), (main):
11935 Added GstAdapter check.
11937 2006-05-04 Wim Taymans <wim@fluendo.com>
11939 * docs/design/part-overview.txt:
11940 Fix some typos, add blurb about buffer flags.
11942 2006-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
11944 * docs/libs/gstreamer-libs-sections.txt:
11945 make sure GstBaseTransformClass shows up in the docs
11946 * libs/gst/base/gstbasetransform.c:
11947 * libs/gst/base/gstbasetransform.h:
11948 move docs so gtk-doc picks it up now
11950 2006-05-02 Stefan Kost <ensonic@users.sf.net>
11952 * docs/libs/gstreamer-libs-sections.txt:
11953 add missing symbols to docs
11955 2006-05-02 Stefan Kost <ensonic@users.sf.net>
11957 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
11958 back out the newsegment handling change, see #340060 for ongoing
11961 2006-04-30 Tim-Philipp Müller <tim at centricular dot net>
11963 * tools/gst-run.c: (get_candidates), (main):
11964 Fix wrong g_file_test() usage (see glib docs for why it doesn't
11965 work); fix typo in error message. Fixes #340079.
11967 2006-04-29 Thomas Vander Stichele <thomas at apestaart dot org>
11969 * common/Makefile.am:
11970 * docs/Makefile.am:
11971 * docs/faq/Makefile.am:
11972 * docs/gst/Makefile.am:
11973 * docs/libs/Makefile.am:
11974 * docs/manual/Makefile.am:
11975 * docs/plugins/Makefile.am:
11976 * docs/pwg/Makefile.am:
11977 * docs/slides/Makefile.am:
11979 * common/upload.mak:
11980 move upload.mak to common
11982 2006-04-29 Thomas Vander Stichele <thomas at apestaart dot org>
11984 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
11985 add more asserts on refcounts
11986 do more cleanup at end of tests
11987 fix test leaks showing in FC5
11989 2006-04-29 Stefan Kost <ensonic@users.sf.net>
11991 * plugins/elements/gsttypefindelement.c:
11992 (gst_type_find_element_handle_event):
11993 reverted wrong change and reflowed code to avoid others falling into
11996 2006-04-28 Stefan Kost <ensonic@users.sf.net>
11998 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
11999 fix changelog entry about last collectpads change,
12000 add notes about proper fix
12002 2006-04-28 Stefan Kost <ensonic@users.sf.net>
12005 * gst/gstregistry.c: (gst_registry_scan_path_level),
12006 (gst_registry_scan_path):
12007 * gst/gstregistry.h:
12008 only write out registry if it has changed, fixes #338339
12010 2006-04-28 Stefan Kost <ensonic@users.sf.net>
12013 * gst/gstpipeline.c:
12014 * plugins/elements/gstcapsfilter.c:
12015 * plugins/elements/gstfakesink.c:
12016 * plugins/elements/gstfakesrc.c:
12017 * plugins/elements/gstfdsink.c:
12018 * plugins/elements/gstfdsrc.c:
12019 * plugins/elements/gstfilesink.c:
12020 * plugins/elements/gstfilesrc.c:
12021 * plugins/elements/gstidentity.c:
12022 * plugins/elements/gstqueue.c:
12023 * plugins/elements/gsttee.c:
12024 * plugins/elements/gsttypefindelement.c:
12025 (gst_type_find_element_handle_event):
12026 make GstElementDetails const
12028 2006-04-28 Stefan Kost <ensonic@users.sf.net>
12030 * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
12031 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
12032 (gst_collect_pads_is_collected), (gst_collect_pads_event):
12033 more detailed debug and formatting cleanup,
12034 forward newsegments to src-pad (so that e.g. adder not eats them)
12036 2006-04-28 Stefan Kost <ensonic@users.sf.net>
12038 * gst/gstutils.c: (gst_element_link_pads):
12039 cleanup double code
12041 2006-04-28 Stefan Kost <ensonic@users.sf.net>
12043 * libs/gst/controller/gstcontroller.c:
12044 (gst_controller_sync_values):
12046 * tests/check/libs/controller.c: (GST_START_TEST),
12047 (gst_controller_suite):
12048 a new test for live value handling
12050 2006-04-28 Wim Taymans <wim@fluendo.com>
12052 * gst/gstutils.c: (push_and_ref):
12053 Added some more docs.
12054 Fix refcount issue whith gst_element_found_tags() helper
12055 function. Fixes #338335
12057 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
12058 Added testsuite for gst_element_found_tags().
12060 2006-04-28 Michael Smith <msmith@fluendo.com>
12062 * gst/gstvalue.c: (gst_value_serialize_flags):
12063 Avoid NULL dereference when trying to serialize flags containing
12066 2006-04-28 Michael Smith <msmith@fluendo.com>
12068 * plugins/elements/gsttypefindelement.c:
12069 (gst_type_find_element_handle_event):
12070 If we get EOS before any data is accumulated, don't use
12071 uninitialised local variables.
12073 2006-04-28 Michael Smith <msmith@fluendo.com>
12075 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
12076 (gst_dp_event_from_packet):
12077 Fixes in reading/writing events over GDP (not currently used?) -
12078 dereferencing NULL events for unknown/invalid event types, memory
12079 leak, and change g_warning to GST_WARNING.
12081 2006-04-28 Wim Taymans <wim@fluendo.com>
12083 * libs/gst/base/gstbasesink.c: (gst_base_sink_is_too_late),
12084 (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
12085 (gst_base_sink_get_position), (gst_base_sink_change_state):
12086 When frame dropping is enabled, we should not ignore frames
12087 without a duration.
12088 Update some documentation.
12090 2006-04-28 Wim Taymans <wim@fluendo.com>
12092 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
12093 (gst_base_src_send_event), (gst_base_src_change_state):
12094 Documentation updates.
12096 2006-04-28 Wim Taymans <wim@fluendo.com>
12098 * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
12099 (gst_fd_sink_check_fd), (gst_fd_sink_update_fd):
12100 handle EAGAIN, EINTR and short writes correctly. Also clean
12101 up some error cases, avoid a deadlock on bad file descriptors and
12102 use GST_DEBUG_OBJECT.
12105 2006-04-28 Wim Taymans <wim@fluendo.com>
12107 * gst/gstvalue.c: (gst_value_serialize_buffer),
12108 (gst_value_deserialize_buffer):
12109 Don't try to serialize a GValue with a NULL buffer.
12112 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
12113 Added check for serialisation of NULL buffers.
12115 2006-04-28 Wim Taymans <wim@fluendo.com>
12117 * gst/gstminiobject.c: (gst_value_take_mini_object):
12118 Taking a NULL miniobject is valid, fix the case where
12119 we try to unref the NULL miniobject.
12121 2006-04-28 Wim Taymans <wim@fluendo.com>
12123 Patch by: Stefan Kost <ensonic at sonicpulse dot de>
12125 * gst/gstbin.c: (gst_bin_handle_message_func):
12127 Don't leak bin refcount when a state recalc is
12128 in progress and we delay another one #339808.
12130 2006-04-28 Wim Taymans <wim@fluendo.com>
12132 * docs/design/part-TODO.txt:
12133 Mention QoS as an ongoing work item.
12135 * docs/design/part-buffering.txt:
12136 New doc about buffering that needs to be fleshed out
12139 * docs/design/part-qos.txt:
12140 More QoS policy for decoders/demuxers/transforms
12142 * docs/design/part-trickmodes.txt:
12145 2006-04-28 Thomas Vander Stichele <thomas at apestaart dot org>
12150 === release 0.10.5 ===
12152 2006-04-28 Thomas Vander Stichele <thomas at apestaart dot org>
12155 releasing 0.10.5, "Fogo"
12157 2006-04-22 Thomas Vander Stichele <thomas at apestaart dot org>
12159 patch by: Wim Taymans
12161 * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
12162 (gst_pad_configure_src), (gst_pad_push):
12163 * gst/gstpipeline.c: (gst_pipeline_init):
12164 Fix internal data flow errors. Fixes #338711.
12166 2006-04-12 Wim Taymans <wim@fluendo.com>
12168 * tests/check/gst/gstelement.c: (GST_START_TEST):
12169 Don't leak the factory.
12171 2006-04-12 Thomas Vander Stichele <thomas at apestaart dot org>
12174 * win32/common/config.h:
12177 2006-04-12 Tim-Philipp Müller <tim at centricular dot net>
12179 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
12180 (gst_controller_unset_all):
12181 Free allocated GstTimedValues when freeing list nodes.
12182 Should fix leaks 'make check-valgrind' complains about.
12184 * win32/common/libgstcontroller.def:
12185 Add gst_controller_unset_all.
12187 2006-04-11 Stefan Kost <ensonic@users.sf.net>
12189 * docs/libs/gstreamer-libs-sections.txt:
12190 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
12191 (gst_controller_unset_all):
12192 * libs/gst/controller/gstcontroller.h:
12193 API: Added new method gst_controller_unset_all()
12194 fixed gst_controller_unset()
12195 * tests/check/libs/controller.c: (GST_START_TEST),
12196 (gst_controller_suite):
12197 Added two testcases for new and fixed method
12199 2006-04-11 Tim-Philipp Müller <tim at centricular dot net>
12201 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
12202 MSG_DONTWAIT is not defined on Cygwin, so work
12203 around that (fixes #317048).
12205 2006-04-11 Wim Taymans <wim@fluendo.com>
12207 * gst/gstelementfactory.c: (gst_element_register),
12208 (gst_element_factory_create), (gst_element_factory_make):
12211 Updated docs (Fixes #131079)
12213 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
12216 * tests/check/gst/gstelement.c: (GST_START_TEST),
12217 (gst_element_suite):
12218 Added testcase for elementfactory class field.
12220 2006-04-10 Wim Taymans <wim@fluendo.com>
12222 * gst/gstsegment.c:
12223 Added some more docs.
12225 * libs/gst/base/gstbasesink.c: (gst_base_sink_perform_qos),
12226 (gst_base_sink_reset_qos):
12227 Calculate more accurate rate values.
12229 2006-04-09 Sebastien Moutte <sebastien@moutte.net>
12231 * gst/gst_private.h:
12232 add a new #ifdef to use __declspec(dllimport) only for
12233 other modules and not for gstreamer core
12234 * gst/gstbasesink.c: (gst_base_sink_perform_qos):
12235 use gst_guint64_to_gdouble for conversion
12236 * win32/common/libgstreamer.def:
12237 add new exported functions
12238 * win32/vs6/gst_inspect.dsp:
12239 * win32/vs6/gst_launch.dsp:
12240 * win32/vs6/libgstbase.dsp:
12241 * win32/vs6/libgstcontroller.dsp:
12242 * win32/vs6/libgstcoreelements.dsp:
12243 * win32/vs6/libgstdataprotocol.dsp:
12244 * win32/vs6/libgstnet.dsp:
12245 update project files
12247 2006-04-08 Stefan Kost <ensonic@users.sf.net>
12249 * gst/gstbuffer.c: (gst_subbuffer_class_init):
12250 * gst/gstclock.c: (gst_clock_class_init):
12251 * gst/gstelement.c: (gst_element_class_init):
12252 * gst/gstindex.c: (gst_index_class_init):
12253 * gst/gstindexfactory.c: (gst_index_factory_class_init):
12254 * gst/gstobject.c: (gst_object_class_init),
12255 (gst_signal_object_class_init):
12256 * gst/gstpad.c: (gst_pad_class_init):
12257 * gst/gstpadtemplate.c: (gst_pad_template_class_init):
12258 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init):
12259 * gst/gstregistry.c: (gst_registry_class_init):
12260 * gst/gstsystemclock.c: (gst_system_clock_class_init):
12261 * gst/gsttask.c: (gst_task_class_init):
12262 * gst/gstxml.c: (gst_xml_class_init):
12263 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
12264 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
12265 (gst_base_src_loop):
12266 * libs/gst/controller/gstcontroller.c:/
12267 (_gst_controller_class_init):
12268 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
12269 * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
12270 * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init):
12271 * tests/old/examples/plugins/example.c: (gst_example_class_init):
12272 * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
12273 Fix #337365 (g_type_class_ref <-> g_type_class_peek_parent)
12275 2006-04-08 Tim-Philipp Müller <tim at centricular dot net>
12277 * gst/gstpad.c: (gst_pad_link):
12278 Must set peer pads before calling the link function, otherwise
12279 a task started from a link function might get a flow-not-linked
12280 result when trying to push because the other thread where the
12281 linking happens hasn't had a chance to set the peers yet. This
12282 might happen for example when a queue gets linked to a downstream
12283 element, as queue starts a streaming task when its source pad
12284 gets linked. Happens in real life when playing back flac/musepack
12285 files in playbin (#332390).
12287 2006-04-08 Stefan Kost <ensonic@users.sf.net>
12291 * libs/gst/base/gstadapter.h:
12292 * libs/gst/base/gstbasesink.h:
12293 * libs/gst/base/gstbasesrc.h:
12294 * libs/gst/base/gstbasetransform.h:
12295 * libs/gst/base/gstcollectpads.h:
12296 * libs/gst/base/gstpushsrc.h:
12297 Fix broken GObject macros
12299 2006-04-07 Wim Taymans <wim@fluendo.com>
12301 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
12302 Initialize start and stop times, thanks valgrind.
12304 2006-04-07 Wim Taymans <wim@fluendo.com>
12306 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
12307 Be a bit nicer to badly behaving upstream elements that expect
12308 us to deal with non TIME segments and timestamps (such as fakesrc
12311 2006-04-07 Wim Taymans <wim@fluendo.com>
12314 Small documentation clarification about the signal watch.
12316 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
12317 (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
12318 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
12319 (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
12320 (gst_base_sink_get_position_last),
12321 (gst_base_sink_get_position_paused), (gst_base_sink_change_state):
12322 Convert and store timestamps in stream time and running time, the
12323 raw timestamps are not useful, also document this better.
12324 Use different window sizes for good and bad QoS observations so
12325 we react to badness a little quicker.
12326 Keep track of the amount of rendered and dropped buffers.
12327 Send QoS timestamps in running time.
12329 * libs/gst/base/gstbasetransform.c:
12330 (gst_base_transform_sink_eventfunc),
12331 (gst_base_transform_handle_buffer):
12332 Compare QoS timestamps against running time.
12334 2006-04-06 Tim-Philipp Müller <tim at centricular dot net>
12337 Typo fixes in docs.
12339 2006-04-06 Michael Smith <msmith@fluendo.com>
12341 * gst/gstpad.c: (gst_pad_set_property):
12342 Use g_value_get_object() instead of g_value_dup_gst_object(),
12343 to avoid double-reffing the pad template (which we then sink,
12344 so this worked previously if (and only if) the pad template
12347 * gst/gstpadtemplate.c: (gst_pad_template_init),
12348 (gst_pad_template_pad_created):
12349 Never return floating references to pad templates, create
12350 them as initially-sunken.
12352 Document an extra function (and make this stop sinking our
12353 pad template, since that is now guaranteed to do nothing,
12354 since we created it sunken).
12356 * gst/gstghostpad.c:
12359 2006-04-06 Tim-Philipp Müller <tim at centricular dot net>
12361 * gst/gstinfo.c: (__gst_in_valgrind):
12364 * plugins/elements/gsttypefindelement.c:
12365 (gst_type_find_element_chain):
12366 Don't leak buffer caps.
12368 2006-04-06 Michael Smith <msmith@fluendo.com>
12370 * gst/parse/grammar.y:
12371 Fix a leak in parse-launch for any source-or-sink named element
12374 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
12375 Unref the pipeline if it exists after we've failed parsing.
12377 2006-04-05 Michael Smith <msmith@fluendo.com>
12379 * gst/gstpipeline.c: (gst_pipeline_init):
12380 When we create a pipeline bus, initially create it in flushing mode.
12381 Fixes leaks in at least one test, and makes a new pipeline work the
12382 same as one that has gone to READY and then back to NULL.
12384 * gst/gstelement.c:
12387 2006-04-05 Michael Smith <msmith@fluendo.com>
12389 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
12390 Unref a pad we reffed.
12391 * tests/check/gst/gstutils.c: (GST_START_TEST):
12394 2006-04-05 Michael Smith <msmith@fluendo.com>
12396 * gst/gstquery.c: (gst_query_set_formats),
12397 (gst_query_set_formatsv):
12398 Fix leaking GValues in queries, as shown by valgrind/testsuite.
12400 2006-04-05 Michael Smith <msmith@fluendo.com>
12402 * tests/check/generic/sinks.c: (GST_START_TEST):
12403 Fix a variety of memleaks in sinks check, which are only sometimes
12404 shown by running the tests under valgrind (weird?).
12406 2006-04-05 Jan Schmidt <thaytan@mad.scientist.com>
12408 * docs/version.entities.in:
12409 Fix the substituted entity name after thomas' changes on the
12412 2006-04-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
12414 * gst/gstinfo.c: (__gst_in_valgrind): Use printf instead of
12417 2006-04-05 Andy Wingo <wingo@pobox.com>
12419 * gst/gstpad.c (gst_pad_set_blocked_async): More debug.
12421 * libs/gst/base/gstbasetransform.c
12422 (gst_base_transform_sink_eventfunc): When resetting our segment on
12423 FLUSH_STOP, also update the flag saying we haven't seen a
12426 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
12428 Patch by: Paolo Borelli <pborelli at katamail dot com>
12430 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
12431 (gst_plugin_check_license):
12432 minor clean-ups: G_DEFINE_TYPE already takes care of the
12433 parent_class stuff, no need to do it twice. Mark array of
12434 license strings as constant. (#337103)
12436 2006-04-04 Michael Smith <msmith@fluendo.com>
12438 * tools/gst-inspect.c: (print_element_list):
12439 Free the right plugin list; fixes a memory leak.
12441 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
12443 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
12445 * plugins/elements/gstfilesink.c: (gst_file_sink_render):
12446 Don't error out on empty buffers (#336945).
12448 2006-04-04 Jan Schmidt <thaytan@mad.scientist.com>
12450 * docs/libs/gstreamer-libs-sections.txt:
12451 * gst/gsttaglist.c:
12452 * libs/gst/base/gstbasesink.c:
12453 * libs/gst/base/gstbasesink.h:
12454 * libs/gst/base/gstbasesrc.c:
12455 * libs/gst/base/gstbasesrc.h:
12456 Documentation updates. Make BaseSink and BaseSrc docs contain the
12457 class structure so that people can actually see the prototypes for
12458 virtual functions they're supposed to be overriding.
12460 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
12462 * plugins/elements/gsttypefindelement.c:
12463 (gst_type_find_element_chain):
12464 More debug info; when skipping typefinding, send cached
12465 events in all cases.
12467 2006-04-01 Thomas Vander Stichele <thomas at apestaart dot org>
12470 use new AS_VERSION and AS_NANO macros
12471 * gst/gst-i18n-lib.h:
12474 * gst/gstversion.h.in:
12475 * win32/common/config.h:
12476 * win32/common/config.h.in:
12479 2006-03-31 Michael Smith <msmith@fluendo.com>
12481 * plugins/elements/gsttypefindelement.c:
12482 (gst_type_find_element_chain):
12483 Do not typefind content if the buffers already have caps.
12484 Neccesary for icydemux (#333657), and the right thing to do anyway.
12486 2006-03-30 Wim Taymans <wim@fluendo.com>
12488 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
12489 (gst_base_sink_finalize), (gst_base_sink_set_qos_enabled),
12490 (gst_base_sink_is_qos_enabled), (gst_base_sink_do_sync),
12491 (gst_base_sink_record_qos_observation),
12492 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
12493 (gst_base_sink_is_too_late), (gst_base_sink_render_object),
12494 (gst_base_sink_change_state):
12495 More QoS measurements as described in the design doc.
12496 Get rid of ringbuffer with observations, running average is
12497 more simple and equally good.
12498 Calculates valid proportion now.
12499 Added beginning of flood measurement.
12501 2006-03-29 Wim Taymans <wim@fluendo.com>
12503 * docs/design/part-qos.txt:
12505 Small documentation updates and additions.
12507 2006-03-29 Wim Taymans <wim@fluendo.com>
12509 * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
12510 (gst_base_src_send_event), (gst_base_src_loop),
12511 (gst_base_src_change_state):
12512 Perform the EOS logic when we reach the segment stop position.
12513 Fix compilation on gcc4.1
12515 2006-03-29 Wim Taymans <wim@fluendo.com>
12517 Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
12519 * plugins/elements/gstqueue.c: (gst_queue_init),
12520 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
12521 (gst_queue_set_property):
12522 * plugins/elements/gstqueue.h:
12523 In queue, when EOS is received, if minimum threshold > max_size -
12524 current_level, there is chance that queue blocks forever in conditional
12525 item del wait. This is because the queue is not emptied completely due
12526 to minimum threshold. Here is another approach. Instead of setting
12527 cur_levels to max in EOS, just zero all minimum threshold levels. This
12528 should make sure that queue gives out all data. When going to READY
12529 (stop) state, just reset the original minimum threshold levels.
12532 2006-03-29 Tim-Philipp Müller <tim at centricular dot net>
12534 * plugins/elements/gsttypefindelement.c: (stop_typefinding),
12535 (gst_type_find_element_handle_event),
12536 (gst_type_find_element_send_cached_events),
12537 (gst_type_find_element_change_state):
12538 * plugins/elements/gsttypefindelement.h:
12539 When typefinding is done in push mode, we should cache
12540 events we receive during typefinding instead of just
12541 dropping them (e.g. newsegment, custom events from
12542 dvdreadsrc etc.) and then send them out once we've
12543 determined the type of the stream (and decodebin
12544 has had a chance to plug in a decoder/demuxer).
12546 2006-03-27 Wim Taymans <wim@fluendo.com>
12548 * docs/design/part-qos.txt:
12551 2006-03-27 Wim Taymans <wim@fluendo.com>
12553 Inspired by a patch of: Lutz Mueller <lutz at topfrose dot de>
12555 * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
12556 (gst_base_src_send_event), (gst_base_src_change_state):
12557 Handle element seek correctly when we are streaming.
12560 2006-03-24 Michael Smith <msmith@fluendo.com>
12562 * docs/faq/gst-uninstalled:
12563 Set up LD_LIBRARY_PATH to point at all the gstreamer libs. This will
12564 allow you to correctly run intalled applications built against old
12565 core, using plugins that require updated core (e.g. running
12566 installed totem against a full uninstalled gstreamer stack)
12568 2006-03-24 Stefan Kost <ensonic@users.sf.net>
12570 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
12573 2006-03-24 Wim Taymans <wim@fluendo.com>
12575 * docs/gst/gstreamer-sections.txt:
12576 Rearrange the order of the methods so that related methods
12577 are grouped together in sections.
12579 2006-03-24 Stefan Kost <ensonic@users.sf.net>
12581 * gst/gstelement.c:
12582 Little clarification in the docs
12584 2006-03-24 Stefan Kost <ensonic@users.sf.net>
12588 * plugins/elements/gstidentity.c:
12589 * plugins/elements/gstqueue.c:
12590 * plugins/elements/gsttee.c:
12591 * plugins/elements/gsttypefindelement.c:
12592 GST_ELEMENT_DETAILS formatting
12594 2006-03-24 Wim Taymans <wim@fluendo.com>
12596 * libs/gst/base/gstbasesink.h:
12597 Only add fields, not insert or we break ABI.
12599 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
12601 * win32/common/libgstbase.def:
12602 * win32/common/libgstreamer.def:
12603 Update, add recently added functions.
12605 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
12607 * docs/gst/gstreamer-sections.txt:
12608 * gst/gstutils.c: (gst_pad_query_peer_position),
12609 (gst_pad_query_peer_duration), (gst_pad_query_peer_convert):
12611 API: add some new utility functions:
12612 - gst_pad_query_peer_position()
12613 - gst_pad_query_peer_duration()
12614 - gst_pad_query_peer_convert()
12616 2006-03-23 Wim Taymans <wim@fluendo.com>
12618 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
12619 (gst_base_sink_init), (gst_base_sink_finalize),
12620 (gst_base_sink_set_qos_enabled), (gst_base_sink_is_qos_enabled),
12621 (gst_base_sink_set_property), (gst_base_sink_get_property),
12622 (gst_base_sink_commit_state), (gst_base_sink_get_sync_times),
12623 (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
12624 (gst_base_sink_add_qos_observation), (gst_base_sink_send_qos),
12625 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
12626 (gst_base_sink_is_too_late), (gst_base_sink_render_object),
12627 (gst_base_sink_preroll_object), (gst_base_sink_event),
12628 (gst_base_sink_chain_unlocked), (gst_base_sink_get_position_last),
12629 (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
12630 (gst_base_sink_query), (gst_base_sink_change_state):
12631 Decouple max-lateness and the fact that QoS messages are generated
12632 with a new property (qos).
12633 added API: GstBaseSink::async_play()
12634 Add vmethod so subclasses can be notified of ASYNC playing
12636 Collect timestamp start and stop to report better current
12637 position in EOS/PLAYING/PAUSED/READY/NULL.
12638 Refactor QoS/frame dropping and other measurements.
12639 API: GstBaseSrc::qos
12642 * libs/gst/base/gstbasesink.h:
12643 Added Private struct.
12644 API: gst_base_sink_set_qos_enabled()
12645 API: gst_base_sink_is_qos_enabled()
12647 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
12649 * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
12650 If compiling against GLib-2.8 or newer, try to read the
12651 registry file using GMappedFile first before falling back
12652 to fopen() + fread() (#332151).
12654 2006-03-22 Wim Taymans <wim@fluendo.com>
12656 * gst/gstinfo.c: (gst_debug_set_active),
12657 (gst_debug_category_set_threshold):
12658 Disable debugging unless explicitly activated.
12661 2006-03-22 Wim Taymans <wim@fluendo.com>
12663 * gst/gstelement.c: (gst_element_set_locked_state),
12664 (gst_element_dispose):
12665 Cleanup the error case.
12667 * gst/gstobject.c: (gst_object_dispose):
12668 print a critical when some object was disposed with
12669 a parent, also revive the object since it might
12672 2006-03-22 Tim-Philipp Müller <tim at centricular dot net>
12674 * tools/gst-launch.1.in:
12677 2006-03-21 Thomas Vander Stichele <thomas at apestaart dot org>
12680 * tests/check/Makefile.am:
12681 disable some tests when we don't have a registry
12682 * tests/check/gst/gstutils.c: (gst_utils_suite):
12683 don't build the part that needs parsing
12685 2006-03-21 Thomas Vander Stichele <thomas at apestaart dot org>
12688 * tests/examples/Makefile.am:
12689 fix --disable-parse build
12691 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
12693 * tools/gst-feedback.1.in:
12694 Fix typo: s/feeback/feedback/ (#133494).
12696 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
12698 * tools/Makefile.am:
12699 * tools/gst-launch.1.in:
12700 Add FILES section and correct entry about GST_REGISTRY_PATH
12701 environment variable (#133495; #133494).
12703 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
12705 * tools/Makefile.am:
12706 * tools/gst-md5sum.1.in:
12707 * tools/gst-md5sum.c:
12708 Remove gst-md5sum and man page (the md5sink element
12709 required was removed ages ago)
12711 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
12713 * gst/gststructure.c: (gst_structure_id_set_value):
12714 Make sure that string fields in structures/taglists
12715 contain valid UTF-8 - we don't want to pass rubbish to
12716 applications because of a buggy plugin (cp. #334167).
12718 2006-03-21 Edward Hervey <edward@fluendo.com>
12720 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
12721 (gst_bin_handle_message_func):
12722 * gst/gstclock.c: (gst_clock_dispose), (gst_clock_set_master):
12723 * gst/gstelement.c: (gst_element_set_clock), (gst_element_dispose),
12724 (gst_element_set_bus_func):
12725 * gst/gstghostpad.c: (gst_proxy_pad_dispose):
12726 * gst/gstminiobject.c: (gst_value_set_mini_object),
12727 (gst_value_take_mini_object):
12728 * gst/gstpad.c: (gst_pad_set_pad_template):
12729 * gst/gstpipeline.c: (gst_pipeline_dispose),
12730 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
12731 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop),
12732 (gst_collect_pads_chain):
12733 * libs/gst/net/gstnettimeprovider.c:
12734 (gst_net_time_provider_set_property):
12735 Series of fixes for dereferenced pointers that gcc 4.1 complains about.
12736 It's in fact all issues with gst_*object_replace().
12738 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
12740 Patch by: Loïc Minier <lool + gnome at via dot ecp dot fr>
12742 * pkgconfig/gstreamer-check-uninstalled.pc.in:
12743 * pkgconfig/gstreamer-check.pc.in:
12744 Use @CHECK_LIBS@ here instead of hard-coding -lcheck (#334109).
12746 2006-03-21 Edward Hervey <edward@fluendo.com>
12750 * gst/gstmessage.h:
12751 gst_[buffer|event|message]_ref() macros are replaced by a static
12752 inline functions because gcc-4.1 will about if the return value
12754 * tests/check/gst/gstevent.c: (event_probe):
12755 gst_event_ref now has to be given a GstEvent* , fix check accordingly.
12757 2006-03-20 Jan Schmidt <thaytan@mad.scientist.com>
12760 Add G_UNLIKELY to our boilerplate to optimise the 'already registered
12761 the type' case. (Closes: #335195 for now). In the future, when we
12762 depend on GLib 2.10, we could also intern the type name using
12763 g_intern_static_string()
12765 2006-03-20 Wim Taymans <wim@fluendo.com>
12767 * gst/gstbin.c: (gst_bin_handle_message_func),
12768 (bin_query_max_init), (bin_query_position_fold),
12769 (bin_query_position_done), (gst_bin_query):
12770 Position query should also take max of all streams.
12772 2006-03-20 Wim Taymans <wim@fluendo.com>
12774 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
12775 (gst_fake_src_finalize):
12776 Fix leaks in fakesrc.
12778 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
12779 Fix leaks in the testcase.
12781 2006-03-19 Sebastien Moutte <sebastien@moutte.net>
12783 * gst/gst_private.h:
12784 add win32 specific import decoration(__declspec(dllimport))
12785 for all extern GstDebugCategory * variables
12786 * win32/common/libgstbase.def:
12787 * win32/common/libgstcontroller.def:
12788 * win32/common/libgstreamer.def:
12789 Add some exports, remove empty lines
12790 * win32/common/libgstdataprotocol.def:
12791 * win32/common/libgstdataprotocol.dsp:
12792 * win32/common/libgstnet.def:
12793 * win32/common/libgstnet.dsp:
12794 new project files and exportation files added
12796 2006-03-19 Wim Taymans <wim@fluendo.com>
12798 * tests/check/libs/basesrc.c: (eos_event_counter):
12799 Use proper return value for probe.
12801 2006-03-17 Wim Taymans <wim@fluendo.com>
12803 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
12805 Don't leak buffers, caps and pads on negotiation errors.
12807 2006-03-16 Stefan Kost <ensonic@users.sf.net>
12809 * docs/faq/cvs.xml:
12810 * docs/faq/dependencies.xml:
12811 * docs/faq/developing.xml:
12812 * docs/faq/faq.xml:
12813 * docs/faq/general.xml:
12814 * docs/faq/getting.xml:
12815 * docs/faq/legal.xml:
12816 * docs/faq/troubleshooting.xml:
12817 * docs/faq/using.xml:
12818 Faq review and update.
12820 2006-03-16 Jan Schmidt <thaytan@mad.scientist.com>
12822 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
12824 Don't pound the cpu to pieces by checking get_caps when accept_caps
12825 is called with the same caps as the pad already has.
12826 Use GST_DEBUG_OBJECT when outputting caps change information.
12828 2006-03-15 Wim Taymans <wim@fluendo.com>
12830 * gst/gstclock.c: (gst_clock_class_init):
12833 2006-03-15 Jan Schmidt <thaytan@mad.scientist.com>
12838 * gst/gstpad.c: (gst_pad_init), (gst_pad_acceptcaps_default),
12839 (gst_pad_accept_caps), (gst_pad_configure_sink),
12840 (gst_pad_configure_src), (gst_pad_chain), (gst_pad_push):
12841 Make the default acceptcaps behaviour be to check the requested
12842 caps against the gst_pad_get_caps output.
12844 Ensure that gst_pad_accept_caps is used to check caps when a pad
12845 doesn't have a setcaps function, so that pads automatically refuse
12846 caps that they don't allow in their pad template. (Fixes #332986)
12848 When a buffer with attached caps is pushed, ensure that the source
12849 pad receives those caps even if the element didn't call
12850 gst_pad_set_caps first.
12852 2006-03-15 Wim Taymans <wim@fluendo.com>
12854 * libs/gst/base/gstadapter.c:
12857 2006-03-15 Tim-Philipp Müller <tim at centricular dot net>
12859 * win32/common/libgstbase.def:
12860 * win32/common/libgstcontroller.def:
12861 * win32/common/libgstreamer.def:
12862 Add a whole bunch of missing functions (#334434).
12864 2006-03-14 Wim Taymans <wim@fluendo.com>
12866 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
12867 (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
12868 (gst_base_sink_do_sync), (gst_base_sink_do_qos):
12869 Better debug info when we receive a segment event.
12870 Reorganize a bit so we can pass the get_times() results around.
12871 Use the segment format when calculating the running time.
12872 Don't do QoS is sync is disabled or we have no clock or the
12873 element does not want us to sync to the clock.
12874 Don't drop buffers if QoS is disabled for now.
12876 2006-03-14 Wim Taymans <wim@fluendo.com>
12878 * gst/gstclock.c: (gst_clock_class_init), (do_linear_regression):
12879 Marked the stats property as unimplemented so people don't get
12881 Add debug message when regression goes wrong.
12882 Added some more docs.
12884 2006-03-14 Wim Taymans <wim@fluendo.com>
12886 * gst/gstsegment.c: (gst_segment_to_stream_time):
12887 Return correct return type in case of errors.
12889 2006-03-14 Wim Taymans <wim@fluendo.com>
12891 * gst/gstformat.c: (gst_format_get_name), (gst_format_to_quark):
12892 Don't segfault on invalid formats.
12894 2006-03-14 Tim-Philipp Müller <tim at centricular dot net>
12896 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
12897 Can't use gst_segment_to_running_time() when the segment
12898 is not in GST_TIME_FORMAT (like with filesink, for example).
12899 Stops flac encoding pipelines from spewing critical warnings
12902 2006-03-14 Tim-Philipp Müller <tim at centricular dot net>
12904 * gst/gstpipeline.c: (gst_pipeline_class_init):
12905 Add 'Since: 0.10.5' to gtk-doc blurb for added property.
12907 * plugins/elements/gsttypefindelement.c:
12908 (gst_type_find_element_handle_event):
12909 Don't try to typefind empty streams.
12911 2006-03-14 Wim Taymans <wim@fluendo.com>
12913 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
12914 (gst_base_sink_do_qos):
12915 Separate QoS calculation.
12916 Only drop buffers when lateness is bigger than the
12917 duration of the buffer.
12919 2006-03-13 Wim Taymans <wim@fluendo.com>
12921 * gst/gstpipeline.c: (gst_pipeline_set_property),
12922 (gst_pipeline_get_property), (do_pipeline_seek),
12923 (gst_pipeline_change_state), (gst_pipeline_set_delay),
12924 (gst_pipeline_get_delay):
12925 Don't deadlock when reading properties.
12927 2006-03-13 Wim Taymans <wim@fluendo.com>
12929 * libs/gst/base/gstbasetransform.c:
12930 (gst_base_transform_class_init), (gst_base_transform_init),
12931 (gst_base_transform_sink_event),
12932 (gst_base_transform_sink_eventfunc),
12933 (gst_base_transform_src_event), (gst_base_transform_src_eventfunc),
12934 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
12935 (gst_base_transform_set_property),
12936 (gst_base_transform_get_property),
12937 (gst_base_transform_change_state), (gst_base_transform_update_qos),
12938 (gst_base_transform_set_qos_enabled),
12939 (gst_base_transform_is_qos_enabled):
12940 * libs/gst/base/gstbasetransform.h:
12941 Make basetransform virtual method for src events too.
12942 Handle QOS in basetransform.
12943 API: gst_base_transform_update_qos()
12944 API: gst_base_transform_set_qos_enabled()
12945 API: gst_base_transform_is_qos_enabled()
12947 2006-03-13 Wim Taymans <wim@fluendo.com>
12949 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
12950 (gst_base_sink_do_sync):
12952 Use QOS debug category.
12954 2006-03-13 Wim Taymans <wim@fluendo.com>
12956 * plugins/elements/gstqueue.c:
12957 Very small doc update.
12959 2006-03-13 Wim Taymans <wim@fluendo.com>
12961 * gst/gst_private.h:
12962 * gst/gstinfo.c: (_gst_debug_init):
12963 Added QOS debug category
12965 2006-03-13 Wim Taymans <wim@fluendo.com>
12967 * docs/gst/gstreamer-sections.txt:
12968 * gst/gstbin.c: (bin_bus_handler), (gst_bin_handle_message_func):
12970 * gst/gstbus.c: (gst_bus_class_init):
12973 * gst/gstelement.c: (gst_element_set_locked_state):
12974 * gst/gstsegment.c:
12975 Documentation updates.
12977 * gst/gstpipeline.c: (gst_pipeline_get_type),
12978 (gst_pipeline_class_init), (gst_pipeline_init),
12979 (gst_pipeline_dispose), (gst_pipeline_set_property),
12980 (gst_pipeline_get_property), (do_pipeline_seek),
12981 (gst_pipeline_send_event), (gst_pipeline_change_state),
12982 (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay),
12983 (gst_pipeline_get_delay):
12984 * gst/gstpipeline.h:
12985 Added methods for setting the delay.
12986 API: gst_pipeline_set_delay()
12987 API: gst_pipeline_get_delay()
12988 Add pipeline debug category
12991 Don't reset stream time when seek failed.
12993 2006-03-13 Wim Taymans <wim@fluendo.com>
12995 * docs/design/draft-klass.txt:
12996 * docs/design/part-clocks.txt:
12997 * docs/design/part-events.txt:
12998 * docs/design/part-gstbin.txt:
12999 * docs/design/part-gstpipeline.txt:
13000 * docs/design/part-messages.txt:
13001 * docs/design/part-negotiation.txt:
13002 * docs/design/part-overview.txt:
13003 * docs/design/part-preroll.txt:
13004 * docs/design/part-seeking.txt:
13005 * docs/design/part-states.txt:
13006 * docs/design/part-streams.txt:
13007 Documentation updates.
13009 2006-03-12 Julien MOUTTE <julien@moutte.net>
13011 * gst/gsttaglist.c: Fix rubbish docs that are encouraging
13012 us to leak strings...
13014 2006-03-12 Thomas Vander Stichele <thomas at apestaart dot org>
13016 * libs/gst/net/gstnettimeprovider.c:
13018 * win32/common/config.h:
13021 2006-03-12 Tim-Philipp Müller <tim at centricular dot net>
13023 Patch by: Julio M. Merino Vidal <jmmv at netbsd org>
13026 Don't check for libgnomeui (leftover from old examples
13027 that aren't built or disted any longer) (#334303).
13029 2006-03-11 Tim-Philipp Müller <tim at centricular dot net>
13031 * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
13032 * plugins/elements/gstfilesink.c: (gst_file_sink_render):
13033 Emit RESOURCE_NO_SPACE_LEFT error here as well when
13034 there's no space left on the device.
13036 2006-03-10 Tim-Philipp Müller <tim at centricular dot net>
13039 Fix GST_CLOCK_TIME_IS_VALID signedness issues - we need
13040 to cast the input to GstClockTime before comparing with
13041 another GstClockTime value.
13043 2006-03-10 Thomas Vander Stichele <thomas at apestaart dot org>
13048 === release 0.10.4 ===
13050 2006-03-10 Thomas Vander Stichele <thomas at apestaart dot org>
13053 releasing 0.10.4, "Light"
13055 2006-03-10 Michael Smith <msmith@fluendo.com>
13057 * libs/gst/dataprotocol/dataprotocol.c:
13058 Fix docs for dataprocotol to not get the return types completely
13059 wrong for a few functions.
13061 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
13063 * docs/gst/gstreamer-sections.txt:
13064 * gst/gstpipeline.c: (gst_pipeline_class_init),
13065 (gst_pipeline_init), (gst_pipeline_set_property),
13066 (gst_pipeline_get_property), (gst_pipeline_change_state),
13067 (gst_pipeline_set_auto_flush_bus),
13068 (gst_pipeline_get_auto_flush_bus):
13069 * gst/gstpipeline.h:
13070 Add new API: gst_pipeline_set_auto_flush_bus() and
13071 gst_pipeline_get_auto_flush_bus() to disable automatic
13072 flushing of the pipeline's GstBus when going from READY
13073 to NULL state (#332045).
13075 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
13077 * docs/gst/gstreamer-sections.txt:
13078 * gst/gsturi.c: (gst_uri_has_protocol):
13080 Add new API: gst_uri_has_protocol() (#333779).
13082 2006-03-09 Wim Taymans <wim@fluendo.com>
13084 * gst/gstclock.c: (gst_clock_entry_new),
13085 (gst_clock_id_compare_func), (gst_clock_id_wait),
13086 (gst_clock_id_wait_async), (gst_clock_id_unschedule),
13087 (gst_clock_init), (gst_clock_get_internal_time),
13088 (gst_clock_set_master), (do_linear_regression),
13089 (gst_clock_add_observation), (gst_clock_set_property):
13093 Fix a possible segfault when the window-size is made smaller.
13094 Calculate jitter before performing the clock wait. Ideally
13095 the clock implementation should calculate jitter but we need
13096 API breakage for that.
13098 * gst/gstsystemclock.c: (gst_system_clock_init):
13101 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
13102 Remove leftover else
13104 * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
13105 (gst_systemclock_suite):
13106 Added check to test GST_CLOCK_DIFF.
13108 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
13110 * libs/gst/base/gsttypefindhelper.c: (helper_find_get_length),
13111 (gst_type_find_helper_get_range):
13112 If we are provided with the size, we should implement
13113 GstTypeFind::get_length, so that typefind functions who
13114 want to can actually peek at the middle of a file.
13116 2006-03-08 Tim-Philipp Müller <tim at centricular dot net>
13118 * docs/manual/advanced-dataaccess.xml:
13119 Add some very very basic error checking.
13121 * docs/pwg/appendix-checklist.xml:
13122 Some updates to the list of things to check when writing an element.
13124 2006-03-08 Wim Taymans <wim@fluendo.com>
13126 * docs/design/part-element-transform.txt:
13127 Added some docs about the design of tranform elements.
13129 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
13130 (gst_base_src_loop), (gst_base_src_change_state):
13131 Mark buffers with the DISCONT flag.
13133 2006-03-08 Michael Smith <msmith@fluendo.com>
13135 * gst/gstregistry.h:
13136 * gst/gstregistryxml.c: (gst_registry_save),
13137 (gst_registry_save_escaped), (gst_registry_xml_save_caps),
13138 (gst_registry_xml_save_pad_template),
13139 (gst_registry_xml_save_feature), (gst_registry_xml_save_plugin),
13140 (gst_registry_xml_write_cache):
13141 Rewrite registry-saving to avoid race conditions and check for
13144 2006-03-08 Wim Taymans <wim@fluendo.com>
13146 * libs/gst/base/gstbasetransform.c:
13147 (gst_base_transform_transform_caps),
13148 (gst_base_transform_transform_size),
13149 (gst_base_transform_prepare_output_buffer),
13150 (gst_base_transform_get_unit_size),
13151 (gst_base_transform_buffer_alloc),
13152 (gst_base_transform_handle_buffer),
13153 (gst_base_transform_change_state):
13154 Cleanups, separate normal flow from errors, add sensible
13156 Don't try to renegotiate when allocating an output buffer.
13157 Also copy DISCONT buffer flag when copying a buffer.
13158 Reset the transform after we finish streaming, not during.
13160 2006-03-08 Wim Taymans <wim@fluendo.com>
13162 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
13163 Use last buffer timestamp in qos message.
13165 2006-03-07 Wim Taymans <wim@fluendo.com>
13167 Patch by: Christophe Fergeau
13169 * docs/pwg/advanced-tagging.xml:
13170 * docs/pwg/building-pads.xml:
13173 2006-03-07 Wim Taymans <wim@fluendo.com>
13175 * docs/libs/gstreamer-libs-sections.txt:
13176 Added basesink new methods.
13180 Docs updates. Flesh out the QoS docs.
13182 * libs/gst/base/gstadapter.c:
13183 Small doc clarification about ownership and flushing.
13185 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_sync),
13186 (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
13187 (gst_base_sink_get_max_lateness), (gst_base_sink_set_property),
13188 (gst_base_sink_get_property), (gst_base_sink_do_sync):
13189 * libs/gst/base/gstbasesink.h:
13191 Added new methods to allow subclass to control max-lateness
13193 Generate very basic QoS events based on last sync observation.
13194 Updated docs, fix typo, added some QoS blurb.
13196 * libs/gst/base/gstbasesrc.c:
13197 Remove obsolete _get_state() calls from docs.
13199 2006-03-07 Wim Taymans <wim@fluendo.com>
13201 * docs/libs/gstreamer-libs-sections.txt:
13202 * libs/gst/base/gstbasetransform.h:
13203 API addition: Fix #333669, Add pad accessor defines for GstBaseTransform
13204 Fix docs for GstBaseSrc.
13206 2006-03-07 Wim Taymans <wim@fluendo.com>
13208 * docs/gst/gstreamer-sections.txt:
13211 * libs/gst/base/gstbasetransform.h:
13212 Small documentation fixes.
13214 2006-03-07 Tim-Philipp Müller <tim at centricular dot net>
13217 Document thread-unsafety of gst_value_register_foo_func()
13218 when used at the same time as gst_value_foo() (#322628).
13220 2006-03-07 Tim-Philipp Müller <tim at centricular dot net>
13222 * libs/gst/base/gstpushsrc.c: (gst_push_src_class_init),
13223 (gst_push_src_check_get_range):
13224 Push sources don't support pull mode by default.
13226 2006-03-06 Tim-Philipp Müller <tim at centricular dot net>
13228 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
13229 (gst_base_src_init), (gst_base_src_pad_check_get_range),
13230 (gst_base_src_default_check_get_range):
13231 * libs/gst/base/gstbasesrc.h:
13232 API addition: Add ::check_get_range() vfunc to GstBaseSrc (#332611),
13233 provide default implementation, and rename
13234 gst_base_src_check_get_range() to
13235 gst_base_src_pad_check_get_range() for clarity.
13237 2006-03-06 Wim Taymans <wim@fluendo.com>
13239 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
13240 Make property overridable.
13242 2006-03-06 Wim Taymans <wim@fluendo.com>
13244 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
13245 (gst_base_sink_init), (gst_base_sink_set_property),
13246 (gst_base_sink_get_property), (gst_base_sink_do_sync):
13247 * libs/gst/base/gstbasesink.h:
13248 API addition: Make max-lateness a property.
13250 2006-03-06 Wim Taymans <wim@fluendo.com>
13252 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock),
13253 (gst_base_sink_do_sync), (gst_base_sink_render_object):
13254 Don't ever draw a frame that is >10ms late.
13256 2006-03-06 Michael Smith <msmith@fluendo.com>
13258 * gst/gstmessage.c: (_gst_message_copy):
13259 When copying a message, set the parent_refcount of the enclosed
13260 structure to point at the copy, not the original message.
13262 2006-03-06 Tim-Philipp Müller <tim at centricular dot net>
13264 Patch by: Christophe Fergeau
13267 Do proper cast here to make GST_BOILERPLATE_WITH_INTERFACE
13268 usable in c++ code (#333417)
13270 2006-03-06 Thomas Vander Stichele <thomas at apestaart dot org>
13273 Show GST_CLOCK_TIME_NONE as 99:99:99.999999999
13275 2006-03-05 Tim-Philipp Müller <tim at centricular dot net>
13277 * libs/gst/base/gstbasetransform.c:
13278 (gst_base_transform_transform_caps):
13279 Make sure caps are writable before passing them to
13282 2006-03-04 Tim-Philipp Müller <tim at centricular dot net>
13285 Fix some minor docs errors.
13287 2006-03-04 Tim-Philipp Müller <tim at centricular dot net>
13289 Patch by: Ross Burton <ross at burtonini dot com>
13291 * gst/gsterror.c: (_gst_resource_errors_init):
13293 Add GST_RESOURCE_ERROR_NO_SPACE_LEFT (for #333352;
13295 2006-03-03 Jan Schmidt <thaytan@mad.scientist.com>
13298 Add a check and output a g_warning when GStreamer is built
13299 against GLib 2.6 but running against 2.8 or higher, and vice
13300 versa. (Closes: #323542)
13302 2006-03-03 Jan Schmidt <thaytan@mad.scientist.com>
13304 * gst/parse/parse.l:
13305 Commit patch for parse_launch syntax from #331255. Removes
13306 support for quoted strings and mimetypes when writing filtered
13307 caps. See the bug report for more details - I'm pretty sure this
13308 obscure feature is not in use by _anyone_ anywhere.
13310 With this simple change, the size of the gstreamer.so here
13311 drops from 2193KB to 1565KB.
13313 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
13315 * plugins/elements/gsttypefindelement.h:
13316 * plugins/elements/gsttypefindelement.c:
13317 (gst_type_find_element_src_event), (start_typefinding),
13318 (stop_typefinding), (gst_type_find_element_handle_event),
13319 (gst_type_find_element_chain),
13320 (gst_type_find_element_chain_do_typefinding):
13321 Use gst_type_find_helper_for_buffer() for chain-based
13324 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
13326 * plugins/elements/gsttypefindelement.c:
13327 (gst_type_find_element_class_init),
13328 (gst_type_find_element_set_property),
13329 (gst_type_find_element_get_property):
13330 Deprecate "maximum" property (not only was it only taken into
13331 account for typefinding in push-mode anyway, it also was never
13332 actually possible to set it in the first place because the
13333 property was registered with the numeric property ID for the
13334 "minimum" property). Register "maximum" property correctly,
13335 for the sake of future copy'n'pasters. Remove some cruft
13336 from property get/set functions.
13338 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
13340 * plugins/elements/gsttypefindelement.c:
13341 (gst_type_find_element_activate):
13342 Use gst_type_find_helper_get_range() here, so we
13343 can honour the "minimum" property and also emit
13344 the signal with the correct probability of the found caps.
13346 2006-03-02 Tim-Philipp Müller <tim at centricular dot net>
13348 * docs/libs/gstreamer-libs-sections.txt:
13349 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
13350 (helper_find_suggest), (gst_type_find_helper_get_range),
13351 (gst_type_find_helper):
13352 * libs/gst/base/gsttypefindhelper.h:
13353 New API: gst_type_find_helper_get_range() (#333042).
13355 2006-03-02 Michael Smith <msmith@fluendo.com>
13357 * gst/gstregistryxml.c: (load_feature):
13358 Asserting on a failure to read part of the registry is Not Cool.
13359 Just log a warning and return NULL (which is already handled)
13361 2006-02-28 Sebastien Moutte <sebastien@moutte.net>
13363 * win32/common/libgstbase.def:
13364 added export of gst_type_find_helper_for_buffer
13365 * win32/common/libgstbase.def:
13366 added some exports : gst_bin_iterate_elements, gst_iterator_resync,
13367 gst_ghost_pad_get_target
13369 2006-02-28 Wim Taymans <wim@fluendo.com>
13371 * docs/design/draft-klass.txt:
13373 Added Connector to mark elements that are only used to
13374 allow pipeline connections.
13375 Moved Debug to extra feature since most of them are
13376 functionally something else.
13378 2006-02-28 Wim Taymans <wim@fluendo.com>
13380 * docs/design/draft-klass.txt:
13381 Some updates and clarifications.
13383 2006-02-28 Wim Taymans <wim@fluendo.com>
13385 * docs/design/draft-klass.txt:
13386 Proposal for klass field values.
13388 * docs/design/part-streams.txt:
13389 Start of a doc describing stream anatomy.
13391 2006-02-28 Wim Taymans <wim@fluendo.com>
13393 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_handle_message_func):
13394 Help the compiler a bit with type registration.
13395 Use existing forward cod path instead of duplicating it when
13396 handling a message.
13398 * gst/gstbus.c: (gst_bus_get_type):
13399 * gst/gstcaps.c: (gst_caps_get_type), (gst_static_caps_get_type):
13400 * gst/gstchildproxy.c: (gst_child_proxy_get_type):
13401 * gst/gstclock.c: (gst_clock_get_type):
13402 * gst/gstelement.c: (gst_element_get_type),
13403 * gst/gstelementfactory.c: (gst_element_factory_get_type):
13404 * gst/gstindexfactory.c: (gst_index_factory_get_type):
13405 * gst/gstminiobject.c: (gst_mini_object_get_type):
13406 * gst/gstpad.c: (gst_pad_get_type):
13407 * gst/gstsegment.c: (gst_segment_get_type):
13408 * gst/gststructure.c: (gst_structure_get_type):
13409 * gst/gstsystemclock.c: (gst_system_clock_get_type):
13410 * gst/gsttask.c: (gst_task_get_type), (gst_task_join):
13412 Help compiler with type registration.
13414 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
13417 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
13419 * plugins/elements/gsttypefindelement.c:
13420 (gst_type_find_element_handle_event):
13421 When we get an EOS event and have not found a type yet
13422 (most likely because we had not yet accumulated
13423 TYPE_FIND_MIN_SIZE of data yet), try to determine the
13424 type given the data we have so far. Fixes typefinding
13425 for very short streams again, most notably quicktime
13426 redirections as used on Apple's trailer site (#331701).
13428 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
13430 * libs/gst/base/gsttypefindhelper.c: (type_find_factory_rank_cmp),
13431 (gst_type_find_helper):
13432 Try typefinding factories with the highest rank first.
13434 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
13436 * docs/libs/gstreamer-libs-docs.sgml:
13437 * docs/libs/gstreamer-libs-sections.txt:
13438 * libs/gst/base/gsttypefindhelper.c:
13439 Add section for typefind helper and add documentation
13440 for the old and the new function.
13442 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
13444 * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek),
13445 (buf_helper_find_suggest), (type_find_factory_rank_cmp),
13446 (gst_type_find_helper_for_buffer):
13447 * libs/gst/base/gsttypefindhelper.h:
13448 New API: gst_type_find_helper_for_buffer() (#332723).
13450 2006-02-27 Michael Smith <msmith@fluendo.com>
13452 Patch by: Loïc Minier
13455 * docs/Makefile.am:
13456 * docs/slides/Makefile.am:
13457 prevent CVS directories getting disted.
13459 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
13461 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref):
13462 Use the REFCOUNTING category for caps refcounting.
13464 2006-02-26 Tim-Philipp Müller <tim at centricular dot net>
13466 * plugins/elements/gsttypefindelement.c: (stop_typefinding):
13467 This should be 0 not GST_CLOCK_TIME_NONE (see #331701).
13469 2006-02-26 Tim-Philipp Müller <tim at centricular dot net>
13471 * plugins/elements/gsttypefindelement.c:
13472 (gst_type_find_element_activate):
13473 Use gst_pad_check_pull_range() before _activate_pull()
13474 to avoid unnecessary open/close (see #331690).
13476 2006-02-24 Tim-Philipp Müller <tim at centricular dot net>
13479 Docs enhancement: make it crystal clear what the
13480 gst_pad_add_*_probe() callbacks should look like.
13482 2006-02-24 Tim-Philipp Müller <tim at centricular dot net>
13484 * libs/gst/base/gstbasesrc.c:
13485 Document how applications can stop recording from
13486 live sources (see #330996).
13488 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
13490 * tests/check/Makefile.am:
13491 * tests/check/libs/basesrc.c: (eos_event_counter),
13492 (basesrc_eos_events_pull), (basesrc_eos_events_push),
13493 (basesrc_eos_events_push_live_op), (basesrc_eos_events_pull_live_op),
13494 (gst_basesrc_suite), (main):
13495 ... and add some tests for the base source EOS stuff.
13497 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
13499 * tests/check/gst/gstutils.c: (test_buffer_probe_n_times):
13500 Test case originally showed the problem fixed below,
13501 but was then amended. Add checks back at the place
13502 where they used to be.
13504 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
13506 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
13507 (gst_base_src_init), (gst_base_src_loop),
13508 (gst_base_src_activate_push), (gst_base_src_activate_pull),
13509 (gst_base_src_change_state):
13510 * libs/gst/base/gstbasesrc.h:
13511 Don't unconditionally send EOS when going from PAUSED to
13512 READY state, esp. make sure we don't send two EOS events
13513 in some cases (e.g. one when reaching EOS and one when
13514 going from PAUSED to READY). Also, we don't want to send
13515 EOS events when operating in pull mode. However, we do
13516 want to send an EOS event when shutting down a live
13517 source explicitly, for example (fixes #330996).
13519 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
13521 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
13522 Update src->read_position after a seek when not using mmap.
13523 Fixes #332277, patch by: Renchi Raju <renchi gmail com>
13525 2006-02-21 Jan Schmidt <thaytan@mad.scientist.com>
13531 Make things work with --disable-parse as they do with
13532 --disable-load-save - the symbols involved disappear, but the
13533 header is still installed and GST_DISABLE_PARSE is included via
13536 2006-02-20 Julien MOUTTE <julien@moutte.net>
13538 * libs/gst/base/gstbasetransform.c:
13539 (gst_base_transform_change_state): Fix a stupid bug. I was
13540 sure I compiled that.
13542 2006-02-20 Julien MOUTTE <julien@moutte.net>
13544 * gst/gstpad.c: (gst_pad_set_blocked_async):
13545 * gst/gstutils.c: (gst_pad_add_data_probe),
13546 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
13547 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
13548 (gst_pad_remove_buffer_probe): Make those function act on the
13549 ghostpad target when it's a ghostpad. (Closes #331727)
13551 2006-02-20 Julien MOUTTE <julien@moutte.net>
13553 * libs/gst/base/gstbasetransform.c:
13554 (gst_base_transform_change_state): Make basetransform reusable.
13557 2006-02-20 Jan Schmidt <thaytan@mad.scientist.com>
13559 * docs/random/release:
13560 Move the current documentation of how to do a release to the top
13563 * gst/gstbin.c: (gst_bin_class_init),
13564 (gst_bin_handle_message_func):
13565 Allow multiple state-recalculation threads. (Closes #328873)
13567 2006-02-19 Julien MOUTTE <julien@moutte.net>
13569 * gst/gstinfo.h: Add GST_STR_NULL to the second string.
13570 * gst/gstpad.c: (gst_pad_set_event_function),
13571 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
13572 (gst_pad_set_getcaps_function): GST_DEBUG_PAD_NAME evaluates to
13573 2 strings. You can't use the STR_NULL macro on that.
13575 2006-02-19 Sebastien Moutte <sebastien@moutte.net>
13577 * gst/gstpad.c: (gst_pad_set_event_function),
13578 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
13579 (gst_pad_set_getcaps_function)
13580 * gst/parse/grammar.y: (gst_parse_found_pad), (gst_parse_perform_delayed_link)
13581 Fixed NULL pointer used in GST_CAT_DEBUG using GST_STR_NULL macro
13582 So now, we can use --gst-debug-level=5 on Windows
13583 * win32/common/libgstcontroller.def:
13584 Added export of gst_controller_init
13585 * win32/vs6/libgstcontroller.dsp:
13586 Fixed Release post build configuration
13588 2006-02-17 Wim Taymans <wim@fluendo.com>
13590 * tests/check/gst/gstquery.c: (GST_START_TEST):
13591 Added another check.
13593 2006-02-15 Tim-Philipp Müller <tim at centricular dot net>
13595 * plugins/elements/gsttypefindelement.c: (find_peek):
13596 We can do peeks at non-zero offsets, as long as they
13597 fall within the buffer we have.
13599 2006-02-15 Jan Schmidt <thaytan@mad.scientist.com>
13601 * tests/check/Makefile.am:
13602 * tests/check/pipelines/parse-launch.c: (setup_pipeline),
13603 (expected_fail_pipe), (check_pipeline_runs), (GST_START_TEST),
13604 (parse_suite), (main):
13605 Add testsuite for parse launch syntax
13607 2006-02-14 Tim-Philipp Müller <tim at centricular dot net>
13609 * plugins/elements/gsttypefindelement.c:
13610 (gst_type_find_element_chain):
13611 When typefinding is unsuccessful in the chain function, don't
13612 error out immediately. Only error out with NO_CAPS_FOUND if
13613 the amount of data is at least MAX_TYPEFIND_SIZE bytes,
13614 otherwise simply wait for more data so we can try typefinding
13615 again with more data later. Also, don't attempt to typefind
13616 if we have less than MIN_TYPEFIND_SIZE data available. Overall,
13617 this should improve typefinding from network sources where the
13618 size of the first buffer can be somewhat random.
13620 2006-02-14 Wim Taymans <wim@fluendo.com>
13622 * docs/gst/gstreamer-sections.txt:
13623 * gst/gstpadtemplate.c:
13624 * gst/gstpadtemplate.h:
13625 Fix padtemplate docs, fixes #328805.
13627 2006-02-14 Wim Taymans <wim@fluendo.com>
13629 * tools/gst-launch.c: (main):
13630 NO_PREROLL is not an ERROR so don't send confusing messages
13633 2006-02-14 Wim Taymans <wim@fluendo.com>
13635 Patch by: Torsten Schoenfeld
13637 * gst/gstregistry.c: (gst_registry_get_default),
13638 (_gst_registry_cleanup):
13639 Protect default registry with lock and ref/sink it.
13642 2006-02-14 Wim Taymans <wim@fluendo.com>
13645 * gst/gstquery.c: (gst_query_list_add_format),
13646 (gst_query_set_formatsv), (gst_query_parse_formats_length),
13647 (gst_query_parse_formats_nth):
13648 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
13651 2006-02-14 Wim Taymans <wim@fluendo.com>
13653 * docs/gst/gstreamer-sections.txt:
13654 Reworked query docs.
13656 * gst/gstquery.c: (gst_query_new_formats),
13657 (gst_query_list_add_format), (gst_query_set_formats),
13658 (gst_query_set_formatsv), (gst_query_parse_formats_length),
13659 (gst_query_parse_formats_nth):
13661 Flesh out formats query, added some new methods.
13662 Fix part of #324398.
13664 * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite):
13665 Added query creation tests.
13667 2006-02-14 Jan Schmidt <thaytan@mad.scientist.com>
13669 * gst/gstpad.c: (fixate_value):
13670 Add a default fixation for fraction lists.
13672 2006-02-13 Wim Taymans <wim@fluendo.com>
13674 * gst/gsttask.c: (gst_task_init), (gst_task_func),
13675 (gst_task_set_lock), (gst_task_start), (gst_task_pause),
13678 Detect and warn for obvious deadlocks. fixes #320340
13679 Fix error case where lock was not released.
13681 * tests/check/Makefile.am:
13682 * tests/check/gst/gsttask.c: (task_func2), (GST_START_TEST),
13683 (task_func), (gst_element_suite), (main):
13686 2006-02-13 Wim Taymans <wim@fluendo.com>
13688 * docs/gst/gstreamer-sections.txt:
13690 Add new functions to docs.
13692 2006-02-13 Wim Taymans <wim@fluendo.com>
13694 * docs/design/part-TODO.txt:
13695 Updated TODO list, basesrc supports seeking to non-bytes
13698 * docs/design/part-element-sink.txt:
13701 * gst/gstbin.c: (bin_replace_message),
13702 (gst_bin_handle_message_func):
13703 * gst/gstbus.c: (gst_bus_post), (gst_bus_pop):
13704 * gst/gstevent.c: (gst_event_finalize):
13705 * gst/gstpad.c: (gst_pad_event_default_dispatch),
13706 (gst_pad_send_event):
13707 Use shiny new _TYPE_NAME macros.
13709 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
13710 Move debug statement up.
13712 * gst/gstelement.c: (gst_element_set_locked_state):
13713 Add some debugging.
13715 2006-02-13 Tim-Philipp Müller <tim at centricular dot net>
13717 * docs/gst/gstreamer-sections.txt:
13718 * gst/gstmessage.h:
13720 New API: add GST_MESSAGE_TYPE_NAME and GST_QUERY_TYPE_NAME
13721 macros (#330906). Also, document the already existing
13722 GST_QUERY_TYPE macro.
13724 2006-02-13 Wim Taymans <wim@fluendo.com>
13726 * tests/check/gst/gstutils.c: (data_probe), (buffer_probe),
13727 (event_probe), (GST_START_TEST):
13728 Only events up to the pipeline EOS are counted, there are
13729 some more when going to NULL currently which we don't care
13732 2006-02-13 Wim Taymans <wim@fluendo.com>
13734 * gst/gstpad.c: (gst_pad_send_event):
13735 Correctly check flushing and emit probes. fixes #330125
13737 2006-02-10 Andy Wingo <wingo@pobox.com>
13739 * gst/gstbus.c (gst_bus_class_init): Declare our private data
13741 (gst_bus_init): Cache the location of the private data in the
13742 instance structure.
13743 (gst_bus_enable_sync_message_emission)
13744 (gst_bus_disable_sync_message_emission): Implement new public
13746 (gst_bus_post): Emit the sync-message signal if the user asked for
13749 * gst/gstbus.h (GstBus): Use a padding pointer to cache the
13750 location of the bus-private structure.
13751 (gst_bus_enable_sync_message_emission)
13752 (gst_bus_disable_sync_message_emission): API addition
13754 2006-02-10 Jan Schmidt <thaytan@mad.scientist.com>
13756 Patch by: Vincent Torri
13758 * docs/pwg/building-boiler.xml:
13759 PWG patch from #326800
13761 2006-02-09 Tim-Philipp Müller <tim at centricular dot net>
13764 * docs/Makefile.am:
13765 * docs/design/Makefile.am:
13768 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
13773 === release 0.10.3 ===
13775 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
13778 releasing 0.10.3, "Like a virgin"
13780 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
13783 2nd prerelease of 0.10.3
13784 Bump libtool versioning.
13786 2006-02-07 Andy Wingo <wingo@pobox.com>
13788 * libs/gst/base/gstcollectpads.c (gst_collect_pads_chain): Only
13789 update last_stop if we're in TIME format and the timestamp is
13792 * libs/gst/base/gstcollectpads.c (gst_collect_pads_event)
13793 * libs/gst/base/gstbasetransform.c (gst_base_transform_eventfunc):
13794 * libs/gst/base/gstbasesink.c (gst_base_sink_configure_segment):
13795 If we get a new newsegment with a different format, adapt
13798 * gst/gstclock.c (gst_clock_set_calibration): Accept a numerator
13799 of 0. Not a problem, really.
13801 * libs/gst/base/gstbasesink.c (gst_base_sink_chain_unlocked): Only
13804 2006-02-06 Jan Schmidt <thaytan@mad.scientist.com>
13809 2006-02-06 Sebastien Moutte <sebastien@moutte.net>
13812 project files updated to the default vs7 configuration
13813 * win32/common/libgstbase.def:
13814 * win32/common/libgstreamer.def:
13816 removed empty lines,
13817 sorted all exported symbols alphabetically
13818 * win32/common/dirent.c:
13819 * win32/common/dirent.h:
13820 * win32/common/gchar.h:
13821 use windows line end.
13823 2006-02-06 Tim-Philipp Müller <tim at centricular dot net>
13825 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
13826 Send EOS event when stopping.
13828 2006-02-06 Tim-Philipp Müller <tim at centricular dot net>
13831 Tell folks what to do if the plugin-foobar.xml file
13832 hasn't been generated for a newly-added plugin.
13834 2006-02-05 Julien MOUTTE <julien@moutte.net>
13836 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
13837 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
13838 (gst_collect_pads_start), (gst_collect_pads_stop),
13839 (gst_collect_pads_event): Collectpads now holds a reference
13840 to the GstPad that was added. Indeed we don't want to look
13841 at pads that might just go away with no warning...
13843 2006-02-05 Julien MOUTTE <julien@moutte.net>
13845 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
13846 (gst_collect_pads_start), (gst_collect_pads_stop),
13847 (gst_collect_pads_event), (gst_collect_pads_chain):
13848 * libs/gst/base/gstcollectpads.h: Handle flush. Adapted from
13849 Mark Nauwelaerts's patch on bug #328491.
13851 2006-02-04 Tim-Philipp Müller <tim at centricular dot net>
13853 * tests/check/gst/gstutils.c: (test_parse_bin_from_description),
13855 Add some simple tests for gst_parse_bin_from_description() and
13856 gst_bin_find_unconnected_pad() (#329069).
13858 2006-02-04 Tim-Philipp Müller <tim at centricular dot net>
13860 * tools/gst-launch.c: (event_loop), (main):
13861 Catch errors during preroll (#320084).
13863 2006-02-03 Tim-Philipp Müller <tim at centricular dot net>
13865 * plugins/elements/gsttypefindelement.c:
13866 (gst_type_find_element_activate):
13867 Post TYPE_NOT_FOUND error message when typefinding
13868 is unsuccessful in the activate function as well.
13870 2006-02-02 Wim Taymans <wim@fluendo.com>
13872 * docs/design/part-element-sink.txt:
13875 2006-02-02 Wim Taymans <wim@fluendo.com>
13877 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
13878 (gst_base_sink_render_object),
13879 (gst_base_sink_queue_object_unlocked):
13880 Only keep track of prerollable items when we are
13882 Before rendering after preroll, always check if we
13884 Added some more debugging.
13886 2006-02-02 Wim Taymans <wim@fluendo.com>
13888 * gst/gstelement.c: (gst_element_continue_state),
13889 (gst_element_set_state_func), (gst_element_change_state):
13890 Fixed #326576, been running this for quite some time with
13891 no regressions at all.
13893 2006-02-02 Wim Taymans <wim@fluendo.com>
13896 Added more suppressions
13898 2006-02-02 Wim Taymans <wim@fluendo.com>
13900 * docs/design/part-element-sink.txt:
13903 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
13904 (gst_base_sink_finalize), (gst_base_sink_preroll_queue_flush),
13905 (gst_base_sink_configure_segment), (gst_base_sink_commit_state),
13906 (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
13907 (gst_base_sink_do_sync), (gst_base_sink_render_object),
13908 (gst_base_sink_preroll_object),
13909 (gst_base_sink_queue_object_unlocked),
13910 (gst_base_sink_queue_object), (gst_base_sink_event),
13911 (gst_base_sink_chain_unlocked), (gst_base_sink_chain),
13912 (gst_base_sink_loop), (gst_base_sink_activate_pull),
13913 (gst_base_sink_get_position), (gst_base_sink_change_state):
13914 * libs/gst/base/gstbasesink.h:
13915 Totally refactored matching the design doc.
13916 Use two segments, one to clip incomming buffers and another to
13918 Handle queueing correctly, bypass the queue when playing.
13919 Make EOS cancelable.
13920 Handle errors correctly when operating in pull based mode.
13922 * tests/check/elements/fakesink.c: (GST_START_TEST),
13924 Added new check for sinks.
13926 2006-02-02 Wim Taymans <wim@fluendo.com>
13928 * gst/gstsegment.c: (gst_segment_clip):
13929 No reason to refuse to clip when start == -1
13931 2006-02-02 Stefan Kost <ensonic@users.sf.net>
13934 * docs/manual/intro-basics.xml:
13935 * docs/manual/intro-preface.xml:
13936 * docs/manual/manual.xml:
13937 * docs/pwg/advanced-dparams.xml:
13938 * docs/pwg/intro-basics.xml:
13939 * docs/pwg/intro-preface.xml:
13940 * docs/pwg/pwg.xml:
13941 describe dparams (controller) for plugins
13942 unify docs a little more
13944 2006-02-02 Tim-Philipp Müller <tim at centricular dot net>
13946 * docs/gst/gstreamer-sections.txt:
13947 * gst/gstutils.c: (element_find_unconnected_pad),
13948 (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description):
13950 Add new API: gst_parse_bin_from_description() and
13951 gst_bin_find_unconnected_pad() (#329069).
13953 2006-02-01 Stefan Kost <ensonic@users.sf.net>
13955 * docs/manual/README:
13956 uncover a nasty detail of the docs build
13958 2006-01-31 Wim Taymans <wim@fluendo.com>
13960 * gst/gstbin.c: (bin_remove_messages), (bin_query_duration_done):
13961 Don't cache duration messages if we're not going to use or
13964 2006-01-31 Stefan Kost <ensonic@users.sf.net>
13966 * docs/manual/advanced-dparams.xml:
13967 * docs/pwg/advanced-dparams.xml:
13971 * libs/gst/controller/lib.c: (gst_controller_init):
13974 2006-01-31 Thomas Vander Stichele <thomas at apestaart dot org>
13976 * gst/gstelement.c: (gst_element_message_full):
13977 also show file/line/func if no additional debug was given
13979 2006-01-31 Sebastien Moutte <sebastien@moutte.net>
13981 * win32/vs7/grammar.vcproj:
13982 activate copy of autogenerated files for Release mode
13984 2006-01-30 Sebastien Moutte <sebastien@moutte.net>
13986 * win32/common/libgstreamer.def:
13987 export gst_value_compare
13989 2006-01-30 Jan Schmidt <thaytan@mad.scientist.com>
13991 * plugins/elements/Makefile.am:
13992 * plugins/elements/gstelements.c:
13993 * plugins/elements/gstfdsink.c: (_do_init),
13994 (gst_fd_sink_base_init), (gst_fd_sink_class_init),
13995 (gst_fd_sink_init), (gst_fd_sink_dispose), (gst_fd_sink_query),
13996 (gst_fd_sink_render), (gst_fd_sink_check_fd), (gst_fd_sink_start),
13997 (gst_fd_sink_stop), (gst_fd_sink_unlock), (gst_fd_sink_update_fd),
13998 (gst_fd_sink_set_property), (gst_fd_sink_uri_get_type),
13999 (gst_fd_sink_uri_get_protocols), (gst_fd_sink_uri_get_uri),
14000 (gst_fd_sink_uri_set_uri), (gst_fd_sink_uri_handler_init):
14001 * plugins/elements/gstfdsink.h:
14002 Port fdsink to 0.10 (patch by Philippe Rouquier) (Fixes #325490)
14004 2006-01-30 Stefan Kost <ensonic@users.sf.net>
14006 * docs/manual/advanced-dparams.xml:
14007 describe controller
14008 * docs/manual/advanced-position.xml:
14009 * docs/manual/basics-init.xml:
14010 * docs/manual/manual.xml:
14011 * docs/manual/titlepage.xml:
14012 * docs/pwg/pwg.xml:
14013 * docs/pwg/titlepage.xml:
14014 cleanup xml (more to come)
14015 * libs/gst/controller/gstcontroller.c:
14018 2006-01-30 Sebastien Moutte <sebastien@moutte.net>
14020 * win32/vs6/grammar.dsp:
14021 add autogen of gstmarshal.c,h for Release mode
14023 2006-01-30 Wim Taymans <wim@fluendo.com>
14025 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
14026 (gst_base_sink_preroll_queue_empty), (gst_base_sink_commit_state),
14027 (gst_base_sink_handle_object), (gst_base_sink_event),
14028 (gst_base_sink_is_prerolled), (gst_base_sink_wait),
14029 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
14030 (gst_base_sink_handle_buffer), (gst_base_sink_set_flushing),
14031 (gst_base_sink_deactivate), (gst_base_sink_activate),
14032 (gst_base_sink_activate_pull), (gst_base_sink_get_position),
14033 (gst_base_sink_query), (gst_base_sink_change_state):
14034 Basesink cleanups, remove some old code.
14035 Handle the case where a subclass can preroll in the render
14036 method (mostly audiosinks).
14037 Handle more events.
14038 Remove some locks around variables that are now protected
14039 with the PREROLL_LOCK (clock_id, flushing, ..).
14040 Optimize position query some more, do correct locking.
14041 Remove old code to push queue in state change, this is not
14042 needed anymore since preroll blocks on all prerollable items
14044 Almost implemented as described in design doc.
14046 2006-01-30 Wim Taymans <wim@fluendo.com>
14048 * tests/check/gst/gstbin.c: (GST_START_TEST):
14049 Wait for refcount to settle down before checking.
14051 2006-01-30 Wim Taymans <wim@fluendo.com>
14053 * docs/design/part-element-sink.txt:
14054 Pseudo code overview of desired sink behaviour regarding
14057 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
14058 * win32/vs6/grammar.dsp:
14059 fix some bugs in Release mode for autogenerated files
14061 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
14062 * win32/common/libgstbase.def:
14063 * win32/common/libgstreamer.def:
14064 export some new symbols: gst_base_src_set_format,
14065 gst_iterator_next, gst_structure_set_valist
14067 2006-01-29 Julien MOUTTE <julien@moutte.net>
14069 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
14070 Set pad functions unconditionally. Fixes #329105.
14072 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
14074 add vs8 project files created by Sergey Scobich
14076 2006-01-28 Jan Schmidt <thaytan@mad.scientist.com>
14078 * gst/gstutils.c: (gst_element_unlink_pads):
14079 Don't leak pad references.
14081 * tests/check/elements/fakesink.c: (GST_START_TEST):
14082 * tests/check/generic/sinks.c: (GST_START_TEST):
14083 * tests/check/generic/states.c: (GST_START_TEST):
14084 * tests/check/gst/gstbin.c: (GST_START_TEST):
14085 * tests/check/gst/gstcaps.c: (GST_START_TEST):
14086 * tests/check/gst/gstelement.c: (GST_START_TEST):
14087 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
14088 * tests/check/gst/gstiterator.c: (GST_START_TEST):
14089 * tests/check/gst/gstvalue.c: (GST_START_TEST):
14090 Fix a bunch of leaks. Make generic/sinks.c
14091 use a bit less cpu by slowing the buffer rate
14092 between fakesrc and fakesink.
14094 2006-01-27 Stefan Kost <ensonic@users.sf.net>
14096 * gst/gstelement.c: (gst_element_send_event):
14099 * gst/gstiterator.c:
14100 * gst/gstiterator.h:
14101 * gst/gstpad.c: (gst_pad_send_event):
14102 * gst/gststructure.c:
14106 * libs/gst/base/gstadapter.c:
14107 doc fixes, to link to function, just write gst_cool_function(), don't
14110 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
14112 * plugins/elements/gsttee.c: (gst_tee_do_push),
14113 (gst_tee_handle_buffer):
14114 Always prefer an actual return value from a src
14115 pad in place of NOT_LINKED. This means we return
14116 WRONG_STATE when all src pads are WRONG_STATE
14117 instead of NOT_LINKED.
14119 Lock when replacing the last message to prevent
14120 racing with the get_property method.
14124 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
14126 * tests/check/Makefile.am:
14127 * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite),
14129 Add a very simple check that should have caught the memleak I fixed
14130 last night (if not for the slice allocator hiding it)
14132 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
14134 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
14135 (gst_bin_remove_func), (gst_bin_handle_message_func),
14136 (bin_query_duration_fold), (bin_query_generic_fold):
14137 Clean up references to the clock provider when disposed or when
14138 handling a clock-lost message from it.
14140 Unref sinks when performing a query via gst_iterator_fold, as the
14141 gst_bin_iterate_sinks iterator refs each item. (Fixes #323874)
14143 * gst/gstclock.c: (gst_clock_class_init), (gst_clock_dispose),
14144 (gst_clock_set_master):
14145 Drop our reference to the master clock, if any, when we are disposed.
14147 * gst/gsttypefindfactory.c: (gst_type_find_factory_dispose):
14148 Chain up in dispose.
14150 2006-01-26 Wim Taymans <wim@fluendo.com>
14152 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
14153 Add some debugging.
14155 2006-01-26 Julien MOUTTE <julien@moutte.net>
14157 * plugins/elements/gsttee.c: (gst_tee_do_push),
14158 (gst_tee_handle_buffer): Apply patch from #328715. Tee now
14159 handles pad being NOT_LINKED or in WRONG_STATE.
14161 2006-01-26 Stefan Kost <ensonic@users.sf.net>
14166 2006-01-26 Stefan Kost <ensonic@users.sf.net>
14169 remove obsolete entry
14171 2006-01-26 Stefan Kost <ensonic@users.sf.net>
14173 * docs/gst/gstreamer-sections.txt:
14174 * gst/gstbin.c: (bin_element_is_src), (src_iterator_filter),
14175 (gst_bin_iterate_sources), (gst_bin_send_event):
14177 * gst/gstelement.c: (gst_element_send_event):
14179 * gst/gstpad.c: (gst_pad_send_event):
14180 added code for downstream events, reviewed docs in gstevent.c
14182 2006-01-25 Julien MOUTTE <julien@moutte.net>
14184 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
14185 We only query position using the clock in the playing state.
14186 Query peer in the other cases.
14187 * win32/common/config.h: Updates.
14189 2006-01-24 Wim Taymans <wim@fluendo.com>
14191 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
14192 A clock entry that is scheduled for the exact time of the
14193 clock is still in time.
14195 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
14196 (gst_base_sink_do_sync):
14197 Add some more debug info.
14199 2006-01-23 Sebastien Moutte <sebastien@moutte.net>
14202 Add new vs7 project files and solution.
14204 2006-01-23 Sebastien Moutte <sebastien@moutte.net>
14207 all files removed as they were out-dated.
14209 2006-01-20 Thomas Vander Stichele <thomas at apestaart dot org>
14211 * docs/random/release:
14213 * gst/gstbin.c: (gst_bin_init):
14214 * gst/gstbus.c: (gst_bus_new):
14216 * gst/gstpipeline.c: (gst_pipeline_init):
14217 use gst_bus_new(), improve logging, fix docs
14218 * win32/common/config.h:
14219 update for cvs build
14221 2006-01-20 Thomas Vander Stichele <thomas at apestaart dot org>
14224 up required version of automake to 1.7
14226 2006-01-20 Sebastien Moutte <sebastien@moutte.net>
14228 * win32/common/libgstreamer.def:
14229 export gst_buffer_is_metadata_writable
14231 2006-01-20 Tim-Philipp Müller <tim at centricular dot net>
14233 * docs/gst/gstreamer-sections.txt:
14235 Add gst_event_replace() (#327001)
14237 2006-01-20 Wim Taymans <wim@fluendo.com>
14239 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
14240 Make it actually compile too..
14242 2006-01-20 Wim Taymans <wim@fluendo.com>
14245 Clarify behaviour of _is_equal() when passing NULL parameters.
14247 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
14248 (gst_pad_set_caps):
14249 Cleanups. Don't unref NULL caps.
14250 When setting the same caps, protect caps of the pad with
14252 Use full functionality of _is_equal() when comparing caps.
14254 2006-01-20 Jan Schmidt <thaytan@mad.scientist.com>
14256 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
14257 Don't loop infinitely if there are no buffers to present. Partially
14258 fixes #327197, but collectpads is just broken for reusing elements
14259 to do multiple encodes atm.
14261 2006-01-20 Jan Schmidt <thaytan@mad.scientist.com>
14263 * tools/gst-inspect.c: (print_element_features):
14264 * tools/gst-xmlinspect.c: (main):
14265 URL_HANDLER is not a plugin feature we can search for in
14268 2006-01-19 Edward Hervey <edward@fluendo.com>
14270 * gst/gstelement.c: (gst_element_pads_activate):
14271 When activating, do src pads first, then sink pads.
14272 When de-activating, do sink pads first, then src pads.
14274 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
14276 * docs/gst/gstreamer-sections.txt:
14277 Add gst_index_add_associationv to the docs
14279 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
14284 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event),
14285 (gst_queue_chain), (gst_queue_push_one), (gst_queue_loop):
14286 Do some refactoring. Doesn't actually change functionality,
14287 but makes landing the DRAIN event easier later.
14289 2006-01-19 Tim-Philipp Müller <tim at centricular dot net>
14291 * docs/pwg/advanced-scheduling.xml:
14292 Update from 0.9.x to 0.10 API and make example a bit
14295 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
14297 * docs/gst/gstreamer-sections.txt:
14298 Add gst_buffer_(is|make)_metadata_writable methods.
14300 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
14302 * docs/design/part-sparsestreams.txt:
14303 Update sparse streams doc, hopefully for greater clarity
14305 2006-01-18 Jan Schmidt <thaytan@mad.scientist.com>
14307 * docs/design/part-events.txt:
14308 Remove mention of FILLER events.
14311 * docs/design/part-sparsestreams.txt:
14312 Write some things about using NEWSEGMENT to keep sparse streams
14315 2006-01-18 Tim-Philipp Müller <tim at centricular dot net>
14317 * gst/gstbin.c: (gst_bin_dispose):
14318 Guard gst_object_unref call against a NULL object (dispose
14319 can theoretically be called multiple times).
14321 2006-01-18 Wim Taymans <wim@fluendo.com>
14323 * gst/gstbin.c: (gst_bin_element_set_state):
14324 * gst/gstclock.c: (gst_clock_id_wait):
14325 Added some more debug info.
14327 * libs/gst/base/gstadapter.c:
14330 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
14331 (gst_base_sink_do_sync), (gst_base_sink_chain):
14332 Added some comments.
14334 2006-01-18 Wim Taymans <wim@fluendo.com>
14336 * tests/check/Makefile.am:
14337 * tests/check/elements/fakesink.c: (chain_async_buffer),
14338 (chain_async), (chain_async_return), (GST_START_TEST),
14339 (fakesink_suite), (main):
14340 Added fakesink test that checks prerolling and clipping
14343 * tests/check/gst/gstutils.c: (GST_START_TEST):
14344 Make check run faster so that buildbots don't timeout.
14346 2006-01-18 Wim Taymans <wim@fluendo.com>
14348 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
14349 (gst_base_sink_do_sync):
14351 When the sink finishes blocking on the preroll buffer, it can
14352 immediatly render it instead of rendering when the next buffer
14355 2006-01-18 Wim Taymans <wim@fluendo.com>
14357 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_property),
14358 (gst_base_sink_get_property), (gst_base_sink_do_sync),
14359 (gst_base_sink_chain):
14361 GST_ELEMENT_CLOCK and sync are protected with LOCK.
14362 Don't store _last_stop if the buffer is dropped.
14364 2006-01-18 Tim-Philipp Müller <tim at centricular dot net>
14366 * plugins/elements/gsttypefindelement.c:
14367 (gst_type_find_element_class_init):
14368 'have-type' signal needs to be G_SIGNAL_RUN_FIRST, as it is the
14369 object method handler that sets the caps on the pad and we want
14370 that to happen before we emit the signal (fixes e.g. feeding a
14371 plain text file to decodebin).
14373 2006-01-18 Christian Schaller <Christian@fluendo.com>
14375 * gst/gstplugin.c: Add MPL and Proprietary as license options
14377 2006-01-18 Andy Wingo <wingo@pobox.com>
14379 * gst/gstindex.h (gst_index_add_associationv): Add to header. The
14380 symbol was exported before, it appears this was just an oversight.
14382 Patch by: Torsten Schoenfeld <kaffeetisch at gmx.de>
14384 * gst/gstindex.c (gst_index_add_associationv): Changed int in
14385 prototype to gint. OK since this prototype was not in the header.
14387 2006-01-17 Andy Wingo <wingo@pobox.com>
14389 * gst/gstregistry.c (_gst_registry_remove_cache_plugins): Lock the
14390 registry while we remove plugins.
14392 * tools/gst-inspect.c (print_element_info): Don't unref the
14393 factory arg, that should be the responsibility of whatever code
14394 received the ref. Fixes a double-free when called from
14395 print_element_list via gst-inspect-0.10 -a. Fixes #327324.
14396 (main): Unref the factory if we have one.
14397 (print_element_list): No change -- relies on the
14398 plugin_feature_list_free to free the list of features.
14400 2006-01-17 Jan Schmidt <thaytan@mad.scientist.com>
14402 * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
14403 (gst_buffer_make_metadata_writable):
14405 * libs/gst/base/gstbasetransform.c:
14406 (gst_base_transform_prepare_output_buf):
14407 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
14408 * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
14409 Replace gst_buffer_(make|is)_metadata_writable patch now
14410 that the release is out.
14412 2006-01-17 Andy Wingo <wingo@pobox.com>
14414 * gst/gstregistry.c: Reflow design comment. Update so as to speak
14415 in the present tense without reference to versions.
14417 * gst/gstregistry.c (gst_registry_add_plugin)
14418 (gst_registry_remove_plugin, gst_registry_remove_feature)
14419 (gst_registry_find_feature, gst_registry_get_feature_list)
14420 (gst_registry_get_plugin_list, gst_registry_lookup_feature)
14421 (gst_registry_lookup, gst_registry_scan_path)
14422 (_gst_registry_remove_cache_plugins)
14423 (gst_registry_get_feature_list_by_plugin): Add argument
14426 === release 0.10.2 ===
14428 2006-01-16 Thomas Vander Stichele <thomas at apestaart dot org>
14431 releasing 0.10.2, "If man is five"
14433 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
14437 * libs/gst/base/gstbasetransform.c:
14438 (gst_base_transform_prepare_output_buf):
14439 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
14440 * tests/check/gst/gstbuffer.c: (gst_test_suite):
14441 Back out patch until after the release.
14443 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
14445 * gst/gstminiobject.c:
14446 Spelling fix in docs.
14447 * ChangeLog - remove conflict indicator
14449 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
14451 Reviewed By: Andy Wingo
14453 * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
14454 (gst_buffer_make_metadata_writable):
14456 Add gst_buffer_(is|make)_metadata_writable as analogues of
14457 gst_buffer_(is|make)_writable.
14459 * libs/gst/base/gstbasetransform.c:
14460 (gst_base_transform_prepare_output_buf):
14461 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
14462 Use name gst_buffer_(is|make)_metadata_writable functions.
14464 * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
14465 Test gst_buffer_(is|make)_metadata_writable
14469 2006-01-14 Thomas Vander Stichele <thomas at apestaart dot org>
14471 * docs/manual/Makefile.am:
14472 don't do parallel make
14475 * win32/common/config.h.in:
14476 add generations for HOST_CPU and GST_MAJORMINOR
14477 * win32/common/config.h:
14478 commit generated result
14480 2006-01-13 Tim-Philipp Müller <tim at centricular dot net>
14482 * docs/manual/appendix-integration.xml:
14483 Update GNOME integration section to use gst_init_get_option_group()
14484 instead of the old popt stuff (#322911). Also, GNOME applications
14485 should now use gconf*sink and gconf*src instead of the old gconf
14488 2006-01-13 Stefan Kost <ensonic@users.sf.net>
14491 * docs/gst/gstreamer-docs.sgml:
14492 * docs/gst/gstreamer-sections.txt:
14493 * docs/libs/gstreamer-libs-sections.txt:
14494 add new API entries to the docs
14495 * libs/gst/controller/Makefile.am:
14496 * libs/gst/controller/gstcontroller.c:
14497 * libs/gst/controller/gstcontroller.h:
14498 * libs/gst/controller/gstcontrollerprivate.h:
14499 * libs/gst/controller/gsthelper.c:
14500 * libs/gst/controller/gstinterpolation.c:
14501 move private structs to private header
14503 gstreamer-0.7 -> gstreamer-0.10
14504 * tests/check/libs/struct_i386.h:
14505 remove private structs
14507 2006-01-13 Thomas Vander Stichele <thomas at apestaart dot org>
14509 * plugins/indexers/Makefile.am:
14510 Fixes as part of #317048
14512 2006-01-13 Thomas Vander Stichele <thomas at apestaart dot org>
14514 * plugins/indexers/Makefile.am:
14515 fix #316086 - compilation when mmap is missing
14517 2006-01-12 Sebastien Moutte <sebastien@moutte.net>
14519 * libs/gst/base/gstbasesink.c:
14520 *cur = (now - base) * basesink->segment.abs_rate + time; replaced by
14521 *cur = gst_guint64_to_gdouble(now - base) * basesink->segment.abs_rate + time; for vs6
14522 * win32/common/config.h:
14523 added some defines GST_MAJORMINOR and HOST_CPU
14524 * win32/common/libgstbase.def:
14525 * win32/common/libgstreamer.def:
14526 added some exported functions.
14528 2006-01-12 Stefan Kost <ensonic@users.sf.net>
14530 * libs/gst/controller/gstcontroller.c:
14531 (gst_controlled_property_set_interpolation_mode),
14532 (gst_controlled_property_new):
14533 * libs/gst/controller/gstcontroller.h:
14534 * libs/gst/controller/gstinterpolation.c:
14535 (interpolate_none_get_string_value_array):
14536 make G_TYPE_STRING controlable
14538 2006-01-12 Stefan Kost <ensonic@users.sf.net>
14541 * tools/gst-feedback.1.in:
14542 * tools/gst-inspect.1.in:
14543 * tools/gst-launch.1.in:
14544 * tools/gst-md5sum.1.in:
14545 * tools/gst-typefind.1.in:
14546 * tools/gst-xmlinspect.1.in:
14547 * tools/gst-xmllaunch.1.in:
14548 cleanup man-pages, remove reference to gst-register, document env-vars
14550 2006-01-12 Jan Schmidt <thaytan@mad.scientist.com>
14552 * gst/gstbuffer.c: (gst_buffer_span):
14553 gst_buffer_span should copy the timestamp of the first buffer
14554 if they were both originally overlapping subbuffers of the
14555 same parent, using the same logic as the 'slow copy' case.
14557 2006-01-11 Jan Schmidt <thaytan@mad.scientist.com>
14559 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop):
14560 Need to awaken ALL the pads when we pop a buffer, otherwise
14561 collectpads only works when there is 2 input streams.
14563 2006-01-11 Stefan Kost <ensonic@users.sf.net>
14565 * docs/random/ensonic/media-device-daemon.txt:
14568 fix doc example, add clarification
14569 * tools/gst-launch.1.in:
14570 add initial info about GST_PLUGIN_PATH, needs more work
14572 2006-01-11 Tim-Philipp Müller <tim at centricular dot net>
14574 * docs/manual/basics-bins.xml:
14575 * docs/manual/basics-elements.xml:
14576 * docs/manual/intro-basics.xml:
14577 Some more minor docs additions and updates.
14579 2006-01-11 Wim Taymans <wim@fluendo.com>
14581 * docs/manual/basics-bins.xml:
14582 * docs/manual/basics-elements.xml:
14583 Some small fixes as pointed out by Ser-ver on IRC.
14585 2006-01-10 Edward Hervey <edward@fluendo.com>
14587 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
14588 Set the buffer offset/offset_end to GST_CLOCK_TIME_NONE when using
14589 the single-segment mode.
14591 2006-01-10 Brian Cameron <brian dot cameron at sun dot com>
14593 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
14595 * libs/gst/base/gstbasesrc.c: (gst_base_src_init),
14596 (gst_base_src_perform_seek), (gst_base_src_send_event),
14597 (gst_base_src_set_property), (gst_base_src_get_property),
14598 (gst_base_src_loop), (gst_base_src_start),
14599 (gst_base_src_activate_push):
14600 * libs/gst/base/gstbasesrc.h:
14601 Name (private) union; makes Sun's Forte compiler happy (#324900).
14603 2006-01-09 Tim-Philipp Müller <tim at centricular dot net>
14606 gst-register is gone.
14608 2006-01-07 Thomas Vander Stichele <thomas at apestaart dot org>
14610 * gst/gstvalue.c: (_gst_value_initialize):
14611 make the G_TYPE_DATE instantiation work if debug is disabled
14613 2006-01-06 Tim-Philipp Müller <tim at centricular dot net>
14615 * gst/gstmessage.c: (gst_message_parse_tag),
14616 (gst_message_parse_error), (gst_message_parse_warning):
14617 Don't crash when return location for error/warning debug
14618 string is NULL; add fact that return locations can be
14619 NULL to docs where appropriate.
14621 2006-01-05 Wim Taymans <wim@fluendo.com>
14623 * gst/gstplugin.c: (gst_plugin_load_file):
14624 Replace strdup by g_strdup.
14626 2006-01-05 Thomas Vander Stichele <thomas at apestaart dot org>
14628 * docs/pwg/advanced-types.xml:
14631 2006-01-05 Thomas Vander Stichele <thomas at apestaart dot org>
14633 submitted by: Abel Cheung
14637 Added Chinese (traditional) translation
14639 2006-01-04 Wim Taymans <wim@fluendo.com>
14641 * docs/manual/basics-pads.xml:
14642 * docs/plugins/Makefile.am:
14643 * docs/plugins/gstreamer-plugins-docs.sgml:
14644 * docs/plugins/gstreamer-plugins-sections.txt:
14645 * docs/pwg/advanced-clock.xml:
14646 * docs/pwg/advanced-scheduling.xml:
14647 * docs/pwg/advanced-types.xml:
14648 * plugins/elements/gstfdsink.c:
14649 * plugins/elements/gstfdsrc.c:
14650 * plugins/elements/gstfdsrc.h:
14651 * plugins/elements/gstidentity.c: (gst_identity_class_init):
14652 * plugins/elements/gstidentity.h:
14653 * plugins/elements/gstqueue.h:
14654 * plugins/elements/gsttee.c:
14655 * plugins/elements/gsttee.h:
14656 * plugins/elements/gsttypefindelement.c:
14657 (gst_type_find_element_class_init):
14658 * plugins/elements/gsttypefindelement.h:
14659 Small updates to various docs.
14660 Added core plugins to docs.
14662 2006-01-03 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
14665 add a suppression for liboil's uninitialized variable
14667 2006-01-02 James Livingston <jrl at ids dot org dot au>
14669 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
14672 Add prototype for _get_type() function to GST_BOILERPLATE_FULL
14673 macro, so that gcc doesn't complain if the -Wmissing-prototypes
14674 compiler switch is being used (#325429).
14676 2005-12-29 Tim-Philipp Müller <tim at centricular dot net>
14678 * gst/gstbin.c: (gst_bin_query):
14679 Disable duration query caching in bins until it gets
14680 fixed (see #324807).
14682 2005-12-27 Tim-Philipp Müller <tim at centricular dot net>
14684 * tools/gst-inspect.c: (print_element_properties_info):
14685 Handle properties of POINTER and BOXED type.
14687 2005-12-27 Tim-Philipp Müller <tim at centricular dot net>
14689 * gst/gst.c: (init_post):
14690 Init tags stuff and some other things before loading
14691 any static plugins (there may be other static plugins
14692 than just the GStreamer ones, and they may want to
14693 register their own tags or formats or whatever, and
14694 preferably without segfaulting).
14696 * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
14697 Print at least a warning in the debug logs if we drop a
14698 query just because we don't know how to adjust the value
14699 in the particular format.
14701 2005-12-24 David Schleef <ds@schleef.org>
14703 * tools/gstreamer-completion:
14704 Replacement for gst-complete written in sh and sed. Only
14705 completes names of features, but that's 90% of what I want
14706 it for. Properties are not available in registry.xml. (Maybe
14709 === release 0.10.1 ===
14711 2005-12-23 Thomas Vander Stichele <thomas at apestaart dot org>
14714 releasing 0.10.1, "Nollaig chridheil"
14716 2005-12-22 Tim-Philipp Müller <tim at centricular dot net>
14718 * docs/faq/cvs.xml:
14719 Add missing quote, should be make ERROR_CFLAGS="".
14721 2005-12-20 Wim Taymans <wim@fluendo.com>
14723 * docs/design/part-trickmodes.txt:
14724 More documentation on trickmodes.
14726 2005-12-20 Edward Hervey <edward@fluendo.com>
14728 * gst/gstcaps.c: (gst_static_caps_get_type):
14730 API addition: GST_TYPE_STATIC_CAPS
14731 Added gpointer GType for GstStaticCaps so we can wrap them in bindings.
14732 * gst/gstpadtemplate.c: (gst_static_pad_template_get_type):
14733 * gst/gstpadtemplate.h:
14734 API addition: GST_TYPE_STATIC_PAD_TEMPLATE
14735 Added gpointer GType for GstStaticPadTemplate so we can wrap them in
14738 2005-12-18 Wim Taymans <wim@fluendo.com>
14740 * libs/gst/base/gstadapter.c:
14741 * libs/gst/base/gstadapter.h:
14742 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
14743 (gst_base_sink_get_position):
14744 * libs/gst/base/gstbasesink.h:
14745 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
14746 (gst_base_src_default_query), (gst_base_src_default_do_seek),
14747 (gst_base_src_do_seek), (gst_base_src_perform_seek),
14748 (gst_base_src_send_event), (gst_base_src_update_length),
14749 (gst_base_src_get_range), (gst_base_src_loop),
14750 (gst_base_src_start):
14751 * libs/gst/base/gstbasesrc.h:
14752 * libs/gst/base/gstbasetransform.h:
14753 * libs/gst/base/gstcollectpads.h:
14754 * libs/gst/base/gstpushsrc.c:
14755 * libs/gst/base/gstpushsrc.h:
14756 * libs/gst/dataprotocol/dataprotocol.c:
14757 * libs/gst/dataprotocol/dataprotocol.h:
14758 * libs/gst/net/gstnetclientclock.h:
14759 * libs/gst/net/gstnettimeprovider.h:
14760 Documentation updates.
14762 2005-12-18 Tim-Philipp Müller <tim at centricular dot net>
14764 * docs/manual/basics-helloworld.xml:
14765 Remove superfluous closing bracket in helloworld example.
14767 2005-12-17 Tim-Philipp Müller <tim at centricular dot net>
14769 * tools/gst-launch.1.in:
14770 Update gst-launch man page; add a section with useful
14771 environment variables. Fixes #323882.
14773 2005-12-16 Stefan Kost <ensonic@users.sf.net>
14776 * gst/gst_private.h:
14777 change some char* into char[]
14779 2005-12-16 Wim Taymans <wim@fluendo.com>
14781 * gst/gstregistryxml.c: (load_feature):
14783 Don't use g_object_unref on GstObjects so that we avoid
14784 leaks on unsafe glibs.
14786 2005-12-16 Wim Taymans <wim@fluendo.com>
14788 * gst/gstbin.c: (gst_bin_recalc_state):
14791 2005-12-16 Wim Taymans <wim@fluendo.com>
14793 * common/check.mak:
14794 Added make forever target for check.
14796 2005-12-16 Thomas Vander Stichele <thomas at apestaart dot org>
14798 * gst/gst.c: (init_post):
14799 make the registry cache file HOST_CPU-dependent
14801 2005-12-16 Andy Wingo <wingo@pobox.com>
14803 * plugins/elements/gstbufferstore.c
14804 (gst_buffer_store_cleared_func): Pay attention to g_list_append
14807 * tests/check/gst/gstobject.c
14808 (test_fake_object_name_threaded_unique): Pay attention to
14809 g_list_sort return value.
14811 2005-12-16 Tim-Philipp Müller <tim at centricular dot net>
14813 * tools/gst-feedback-m.m:
14814 Update for 0.9/0.10 (fixes #323870).
14816 2005-12-15 Tim-Philipp Müller <tim at centricular dot net>
14818 * gst/gstminiobject.c: (gst_value_mini_object_lcopy):
14819 Fix lcopy for mini objects, the mini object needs to be ref'ed.
14821 * tests/check/gst/gstminiobject.c: (my_foo_init),
14822 (my_foo_get_property), (my_foo_set_property), (my_foo_class_init),
14823 (test_value_collection), (gst_mini_object_suite):
14824 Add test to ensure refcounts end up as expected when passing
14825 GstMiniObjects through g_object_get() and g_object_set().
14827 2005-12-14 Julien MOUTTE <julien@moutte.net>
14829 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
14830 (gst_collect_pads_remove_pad), (gst_collect_pads_is_collected),
14831 (gst_collect_pads_event), (gst_collect_pads_chain): Refactoring
14832 of collectpads. This version removes a lot of races without
14833 touching API/ABI. Yay !
14835 2005-12-14 Jan Schmidt <thaytan@mad.scientist.com>
14837 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_link_prepare):
14838 Don't allow activation of a srcpad in pull_range if it has no
14840 Change some debug statements to be a little clearer
14842 * plugins/elements/gsttypefindelement.c:
14843 (gst_type_find_handle_src_query):
14844 Check that we have a peer before executing queries thereupon.
14846 * tests/examples/metadata/read-metadata.c: (message_loop):
14847 Use gst_bus_pop instead of gst_bus_poll when we just want it to
14848 immediately return us any available message with 0 timeout.
14850 2005-12-12 Michael Smith <msmith@fluendo.com>
14852 * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
14853 Don't unref factories after calling them.
14854 * libs/gst/base/gsttypefindhelper.c: (gst_type_find_helper):
14855 * plugins/elements/gsttypefindelement.c:
14856 (gst_type_find_element_chain):
14857 Free lists of factories after using them. Fixing typefinding memory
14860 2005-12-12 Stefan Kost <ensonic@users.sf.net>
14862 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
14863 (gst_plugin_feature_load):
14864 more meaningful debug output
14866 * tests/Makefile.am:
14867 * tests/old/examples/Makefile.am:
14868 make make distcheck happy again
14870 2005-12-12 Tim-Philipp Müller <tim at centricular dot net>
14872 * plugins/elements/gsttypefindelement.c: (stop_typefinding):
14873 Catch the special case where we are operating chain-based,
14874 but the downstream peer pad has no chain function. Emit a
14875 custom error message in this case instead of letting the
14876 core generate one implying that this is some sort of core
14877 bug. It's not, it just means that whatever got plugged
14878 into the pipeline downstream when we announced the type
14879 can only operate pull-based, while our source can only
14880 operate push-based (e.g. http://foo/bar.mov ! qtdemux ! ...)
14881 Error string has not been marked for translation yet, as
14882 it probably needs some more work first.
14884 (gst_type_find_element_get_best_possibility):
14885 Add helper function to find the best of all available
14886 found possibilities that qualify given the min. threshold.
14888 (gst_type_find_element_handle_event):
14889 Fix the case where we get an EOS while still in TYPEFIND
14890 mode (we want to chose the best of all possible types,
14891 not just the first type that happens to be in our unsorted
14892 list of possible types).
14894 (gst_type_find_element_chain):
14895 Make sure we return GST_FLOW_ERROR when we errored out
14896 in stop_typefinding(); also, don't just find the best of
14897 all found type entries and then use the last examined
14898 type entry, but actually use the best entry.
14900 2005-12-12 Tim-Philipp Müller <tim at centricular dot net>
14902 * tests/examples/typefind/typefind.c: (type_found):
14903 * tests/examples/xml/runxml.c: (xml_loaded):
14904 More gcc4 fixes and a mem leak fix.
14906 2005-12-12 Stefan Kost <ensonic@users.sf.net>
14908 * tests/examples/xml/createxml.c: (object_saved):
14911 2005-12-12 Stefan Kost <ensonic@users.sf.net>
14913 * tests/Makefile.am:
14914 enable the examples even more
14916 2005-12-12 Andy Wingo <wingo@pobox.com>
14918 * libs/gst/net/gstnettimeprovider.c
14919 (gst_net_time_provider_class_init, gst_net_time_provider_init)
14920 (gst_net_time_provider_set_property)
14921 (gst_net_time_provider_get_property):
14922 API addition: Export "active" as a GObject property.
14923 (gst_net_time_provider_thread): Only respond to time queries if
14924 the time provider is active.
14926 * libs/gst/net/gstnettimeprovider.h: Add an "active" boolean to
14927 NetTimeProvider, preserving binary compat.
14929 2005-12-12 Stefan Kost <ensonic@users.sf.net>
14931 * tests/examples/controller/audio-example.c: (main):
14932 * tests/examples/launch/Makefile.am:
14933 convert comments again
14935 2005-12-12 Wim Taymans <wim@fluendo.com>
14937 * libs/gst/base/gstpushsrc.c:
14940 2005-12-12 Wim Taymans <wim@fluendo.com>
14942 * docs/libs/gstreamer-libs-sections.txt:
14943 Added new symbol to docs.
14945 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
14946 (gst_base_src_init), (gst_base_src_set_format),
14947 (gst_base_src_default_query), (gst_base_src_query),
14948 (gst_base_src_default_do_seek), (gst_base_src_do_seek),
14949 (gst_base_src_perform_seek), (gst_base_src_send_event),
14950 (gst_base_src_default_event), (gst_base_src_event_handler),
14951 (gst_base_src_set_property), (gst_base_src_get_property),
14952 (gst_base_src_wait), (gst_base_src_do_sync),
14953 (gst_base_src_update_length), (gst_base_src_get_range),
14954 (gst_base_src_check_get_range), (gst_base_src_loop),
14955 (gst_base_src_default_negotiate), (gst_base_src_start),
14956 (gst_base_src_activate_push), (gst_base_src_activate_pull),
14957 (gst_base_src_change_state):
14958 * libs/gst/base/gstbasesrc.h:
14959 Implement seeking to other formats than _BYTES.
14960 Implement more seeking methods correctly.
14962 Added query vmethod.
14963 Added do_seek vmethod to make life easier for subclasses
14965 API addition: gst_base_src_set_format()
14967 2005-12-12 Stefan Kost <ensonic@users.sf.net>
14969 * tests/examples/Makefile.am:
14972 2005-12-12 Stefan Kost <ensonic@users.sf.net>
14975 * docs/random/ensonic/media-device-daemon.txt:
14976 * tests/examples/controller/.cvsignore:
14977 * tests/examples/controller/Makefile.am:
14978 * tests/examples/controller/audio-example.c: (main):
14979 * tests/examples/helloworld/.cvsignore:
14980 * tests/examples/helloworld/Makefile.am:
14981 * tests/examples/helloworld/helloworld.c: (event_loop), (main):
14982 * tests/examples/launch/.cvsignore:
14983 * tests/examples/launch/Makefile.am:
14984 * tests/examples/launch/mp3parselaunch.c: (event_loop), (main):
14985 * tests/examples/metadata/.cvsignore:
14986 * tests/examples/metadata/Makefile.am:
14987 * tests/examples/metadata/read-metadata.c: (message_loop),
14988 (make_pipeline), (print_tag), (main):
14989 * tests/examples/queue/.cvsignore:
14990 * tests/examples/queue/Makefile.am:
14991 * tests/examples/queue/queue.c: (event_loop), (main):
14992 * tests/examples/typefind/.cvsignore:
14993 * tests/examples/typefind/Makefile.am:
14994 * tests/examples/typefind/typefind.c: (type_found), (event_loop),
14996 * tests/examples/xml/.cvsignore:
14997 * tests/examples/xml/Makefile.am:
14998 * tests/examples/xml/createxml.c: (object_saved), (main):
14999 * tests/examples/xml/runxml.c: (xml_loaded), (event_loop), (main):
15000 * tests/old/examples/Makefile.am:
15001 * tests/old/examples/TODO:
15002 * tests/old/examples/controller/.cvsignore:
15003 * tests/old/examples/controller/Makefile.am:
15004 * tests/old/examples/controller/audio-example.c:
15005 * tests/old/examples/helloworld/.cvsignore:
15006 * tests/old/examples/helloworld/Makefile.am:
15007 * tests/old/examples/helloworld/helloworld.c:
15008 * tests/old/examples/launch/.cvsignore:
15009 * tests/old/examples/launch/Makefile.am:
15010 * tests/old/examples/launch/mp3parselaunch.c:
15011 * tests/old/examples/launch/mp3play:
15012 * tests/old/examples/manual/Makefile.am:
15013 * tests/old/examples/metadata/Makefile.am:
15014 * tests/old/examples/metadata/read-metadata.c:
15015 * tests/old/examples/queue/.cvsignore:
15016 * tests/old/examples/queue/Makefile.am:
15017 * tests/old/examples/queue/queue.c:
15018 * tests/old/examples/typefind/.cvsignore:
15019 * tests/old/examples/typefind/Makefile.am:
15020 * tests/old/examples/typefind/typefind.c:
15021 * tests/old/examples/xml/.cvsignore:
15022 * tests/old/examples/xml/Makefile.am:
15023 * tests/old/examples/xml/createxml.c:
15024 * tests/old/examples/xml/runxml.c:
15025 applied some simple fixing to some examples
15026 re-enabled the working examples
15028 2005-12-12 Wim Taymans <wim@fluendo.com>
15030 * gst/gstsegment.c: (gst_segment_init),
15031 (gst_segment_set_last_stop), (gst_segment_set_seek),
15032 (gst_segment_set_newsegment), (gst_segment_to_stream_time),
15033 (gst_segment_to_running_time):
15034 Added more documentation.
15035 Make sure the last_pos value is updated properly.
15036 Make sure to_stream_time and to_running_time don't
15037 operate on wrong values.
15039 * tests/check/gst/gstsegment.c: (GST_START_TEST):
15042 2005-12-12 Michael Smith <msmith@fluendo.com>
15044 * plugins/elements/gsttypefindelement.c: (free_entry),
15045 (gst_type_find_element_chain):
15046 Now that we're not leaking factories, make sure we keep references
15047 to them while we need them.
15049 2005-12-12 Thomas Vander Stichele <thomas at apestaart dot org>
15051 * tests/check/gst/struct_i386.h:
15052 ifdef out the XML structs
15054 2005-12-12 Thomas Vander Stichele <thomas at apestaart dot org>
15056 * gst/gstvalue.c: (gst_value_transform_double_fraction):
15057 floor is not needed, F is always positive; this obviates the
15058 need for adding -lm when building without libxml
15060 2005-12-12 Wim Taymans <wim@fluendo.com>
15062 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
15063 Take current playback rate into account when reporting
15066 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
15068 * docs/manual/mime-world.fig:
15069 Let's try this again, this time with a file that is
15070 actually in XFig format.
15072 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
15074 * docs/manual/mime-world.fig:
15075 Add audioconvert element to diagram so that it
15076 matches the text and the code (fixes #319526).
15078 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
15080 * docs/pwg/building-chainfn.xml:
15081 * docs/pwg/building-pads.xml:
15082 * docs/pwg/building-state.xml:
15083 * docs/pwg/other-source.xml:
15084 Update state change stuff for 0.10 (fixes #322969).
15086 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
15088 * docs/manual/advanced-dataaccess.xml:
15089 * docs/manual/appendix-checklist.xml:
15090 * docs/manual/appendix-programs.xml:
15091 * docs/manual/basics-pads.xml:
15092 * docs/manual/highlevel-components.xml:
15093 * docs/manual/manual.xml:
15094 Update for 0.10: s/0.9/0.10/; s/audioscale/audiorsample/;
15095 add converters in front of pipelines; remove curly
15096 brackets for threads stuff, they no longer exist; use
15097 GST_TYPE_FRACTION for framerates; update some pieces of
15098 code to 0.10, but there's plenty more to do.
15100 * docs/manual/appendix-porting.xml:
15101 Expand on asynchroneous state changes; s/0.9/0.10/;
15102 mention disappearance of gst_init_get_popt_table()
15105 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
15107 * docs/faq/using.xml:
15108 Spider no longer exists, and neither does gst-launch-ext.
15109 Update examples to use decodebin and playbin and put
15110 converters in front of sinks (fixes #323726).
15112 2005-12-09 Michael Smith <msmith@fluendo.com>
15114 * plugins/elements/gsttypefindelement.c: (find_peek),
15115 (gst_type_find_element_chain):
15116 Fix leaking element factories in typefinding.
15117 Fix problem where we forgot about a probable type on non-seekable
15118 files, and thus later mis-typefound it.
15120 2005-12-09 Michael Smith <msmith@fluendo.com>
15122 * common/m4/gst-makecontext.m4:
15123 * common/m4/gst-mcsc.m4:
15125 * win32/common/config.h:
15126 * win32/common/config.h.in:
15127 Remove makecontext stuff; not used in 0.10 and causes problems on
15128 HPUX according to bug #322441
15130 2005-12-07 Wim Taymans <wim@fluendo.com>
15132 * tests/check/Makefile.am:
15133 * tests/check/libs/libsabi.c: (GST_START_TEST), (gstabi_suite),
15135 * tests/check/libs/struct_i386.h:
15136 Added ABI check for libs
15138 2005-12-07 Wim Taymans <wim@fluendo.com>
15140 * tests/check/Makefile.am:
15141 And add the struct_i386.h to dist.
15143 2005-12-07 Wim Taymans <wim@fluendo.com>
15145 * tests/check/Makefile.am:
15146 * tests/check/gst/.cvsignore:
15147 * tests/check/gst/gstabi.c: (GST_START_TEST), (gstabi_suite),
15149 * tests/check/gst/struct_i386.h:
15150 Added check for ABI compatibility.
15152 2005-12-07 Wim Taymans <wim@fluendo.com>
15154 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
15155 (gst_fake_src_get_times), (gst_fake_src_create):
15156 Fix broken sync option, fixes #323259
15158 2005-12-07 Wim Taymans <wim@fluendo.com>
15163 * gst/gstcaps.c: (gst_caps_is_equal):
15164 Don't assert on NULL <--> X. Fixes #323260
15166 * gst/gstminiobject.c: (gst_mini_object_replace):
15167 If we're doing atomic operations, we might just as well use
15168 the proper way to get an atomic pointer.
15170 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
15171 Clean up debugging.
15173 2005-12-07 Michael Smith <msmith@fluendo.com>
15175 * gst/parse/grammar.y:
15176 Remove handling of { } for threads.
15178 2005-12-06 David Schleef <ds@schleef.org>
15180 * libs/gst/base/gstbasetransform.c: speling fix.
15182 2005-12-06 Thomas Vander Stichele <thomas at apestaart dot org>
15184 * docs/libs/tmpl/gstdataprotocol.sgml:
15185 * docs/random/omega/testing/gstobject.c:
15188 * gst/gstelement.c:
15189 * gst/gstelementfactory.c:
15192 * gst/gstghostpad.c:
15194 * gst/gstpadtemplate.c:
15195 * gst/gstregistryxml.c:
15196 * gst/gsttaglist.c:
15197 * gst/gsttagsetter.c:
15198 * gst/gsttypefind.c:
15200 * libs/gst/base/gstbasesrc.c:
15201 * libs/gst/net/gstnetclientclock.c:
15202 * libs/gst/net/gstnettimeprovider.c:
15203 * plugins/elements/gstfakesrc.c:
15204 * plugins/elements/gstfdsrc.c:
15205 * plugins/elements/gstfilesrc.c:
15206 * plugins/elements/gstidentity.c:
15207 * plugins/elements/gstqueue.c:
15208 * plugins/elements/gsttypefindelement.c:
15209 * plugins/indexers/gstfileindex.c:
15210 * plugins/indexers/gstmemindex.c:
15211 * tests/check/gst/gsttag.c:
15212 * tests/old/examples/cutter/cutter.c:
15213 * tests/old/examples/mixer/mixer.c:
15214 * tests/old/examples/xml/runxml.c: (main):
15215 * tests/old/testsuite/caps/normalisation.c:
15216 * tests/old/testsuite/debug/global.c:
15217 * tests/old/testsuite/parse/parse1.c:
15218 * tools/gst-xmlinspect.c:
15219 * win32/common/dirent.c:
15222 === release 0.10.0 ===
15224 2005-12-05 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
15227 releasing 0.10.0, "Maroilles"
15229 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
15231 submitted by: Funda Wang <fundawang@linux.net.cn>
15235 added Chinese (Traditional) translation
15237 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
15239 * docs/gst/gstreamer-sections.txt:
15240 * docs/libs/tmpl/gstdataprotocol.sgml:
15241 * docs/random/thomasvs/TODO:
15246 2005-12-05 Andy Wingo <wingo@pobox.com>
15248 patch by: Wim Taymans <wim@fluendo.com>
15250 * libs/gst/base/gstbasetransform.c
15251 (gst_base_transform_prepare_output_buf)
15252 (gst_base_transform_buffer_alloc):
15253 * plugins/elements/gstqueue.c (gst_queue_bufferalloc): Call
15254 alloc_buffer_and_set_caps.
15256 * gst/gstpad.c (gst_pad_alloc_buffer): Changed to not call
15257 set_caps on the source pad.
15258 (gst_pad_alloc_buffer_and_set_caps): New function, does what
15259 alloc_buffer used to do. Fixes #322874.
15261 * docs/gst/gstreamer-sections.txt:
15262 * docs/design/part-negotiation.txt:
15263 * docs/pwg/advanced-negotiation.xml: Update for the alloc_buffer
15266 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
15268 patch by: Sebastien Moutte
15271 * win32/common/config.h.in:
15272 * win32/vs6/libgstcontroller.dsp:
15275 2005-12-05 Wim Taymans <wim@fluendo.com>
15277 * gst/gstcaps.c: (gst_caps_is_equal):
15278 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
15279 (gst_fake_src_create):
15280 Back out previous code changes, leave doc updates, file bugs
15283 2005-12-05 Wim Taymans <wim@fluendo.com>
15285 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
15286 (gst_fake_src_get_times), (gst_fake_src_create):
15287 * plugins/elements/gstfakesrc.h:
15288 Fix broken sync code.
15290 2005-12-05 Wim Taymans <wim@fluendo.com>
15292 * gst/gstcaps.c: (gst_caps_is_equal):
15293 Comparing NULL against !NULL yields different caps, not a
15296 2005-12-05 Wim Taymans <wim@fluendo.com>
15298 * gst/gstpipeline.c:
15299 Fix small typo in docs.
15301 2005-12-05 Andy Wingo <wingo@pobox.com>
15303 patch by: Thomas Vander Stichele <thomas at apestaart dot org>
15305 * gst/gst.c (init_post): remove hard-coded 0.9 location for
15306 registries/plugins with a MAJORMINOR one.
15307 (plugin_desc): Rename library from gstcoreleements to
15308 staticelements. Fixes #323222.
15310 2005-12-05 Tim-Philipp Müller <tim at centricular dot net>
15312 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init):
15313 Change debug category to 'collectpads' from 'collect_pads'
15316 2005-12-04 Thomas Vander Stichele <thomas at apestaart dot org>
15318 patch by: Sebastien Moutte
15320 * libs/gst/controller/gstinterpolation.c:
15321 use convert function for uint64/double
15322 * win32/vs6/libgstcontroller.dsp:
15325 2005-12-04 Thomas Vander Stichele <thomas at apestaart dot org>
15327 * gst/gstutils.c: (gst_util_guint64_to_gdouble),
15328 (gst_util_gdouble_to_guint64), (gst_util_uint64_scale_int64):
15330 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
15331 add tests that seem to show that the guint64/gdouble conversions
15334 2005-12-02 Wim Taymans <wim@fluendo.com>
15336 * gst/gstregistry.c: (gst_registry_add_path):
15337 * gst/gstregistry.h:
15338 * gst/gstregistryxml.c:
15341 2005-12-02 Wim Taymans <wim@fluendo.com>
15343 * gst/gstutils.c: (gst_util_uint64_scale_int64),
15344 (gst_util_uint64_scale_int):
15347 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object):
15348 Add debug log line.
15350 * libs/gst/base/gstbasetransform.c: (gst_base_transform_event):
15353 2005-12-02 Thomas Vander Stichele <thomas at apestaart dot org>
15356 * win32/common/config.h:
15357 * win32/vs6/gstreamer.dsw:
15358 * win32/vs6/libgstcoreelements.dsp:
15359 * win32/vs6/libgstelements.dsp:
15360 renamed core elements plugin
15362 2005-12-02 Thomas Vander Stichele <thomas at apestaart dot org>
15364 * tools/gst-run.c: (compare_major_minor), (find_highest_version),
15366 do piece-wise major/minor comparison so 0.9 < 0.10
15367 also allow .exe extensions for tools
15369 2005-12-02 Michael Smith <msmith@fluendo.com>
15372 Escape a % to make gtkdoc happier; bug 322958.
15374 === release 0.9.7 ===
15376 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
15379 releasing 0.9.7, "My Dog Has No Nose"
15381 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
15383 * common/gst-xmlinspect.py:
15385 * docs/libs/tmpl/gstdataprotocol.sgml:
15386 * docs/random/release:
15405 * win32/common/config.h:
15406 * win32/common/config.h.in:
15407 * win32/vs6/gst_inspect.dsp:
15408 * win32/vs6/gst_launch.dsp:
15409 * win32/vs6/libgstbase.dsp:
15410 * win32/vs6/libgstelements.dsp:
15411 * win32/vs6/libgstreamer.dsp:
15412 * win32/vs7/GStreamer.vcproj:
15413 * win32/vs7/gst-inspect.vcproj:
15414 * win32/vs7/gst-launch.vcproj:
15415 * win32/vs7/libgstbase.vcproj:
15416 bump GST_MAJORMINOR to 0.10
15417 reset libtool version
15419 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
15423 Added Bulgarian translation by (Alexander Shopov)
15425 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
15427 * tests/check/gst/gstplugin.c:
15430 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
15432 * common/gst-xmlinspect.py:
15433 * common/gtk-doc-plugins.mak:
15435 * docs/Makefile.am:
15436 * docs/gst/Makefile.am:
15437 * docs/gst/gstreamer-docs.sgml:
15438 * docs/gst/gstreamer-sections.txt:
15439 * docs/gst/gstreamer.types:
15440 * docs/gst/gstreamer.types.in:
15441 * docs/plugins/Makefile.am:
15442 * docs/plugins/gstreamer-plugins-docs.sgml:
15443 * docs/plugins/gstreamer-plugins-sections.txt:
15444 * docs/plugins/gstreamer-plugins.types:
15445 * docs/plugins/inspect.stamp:
15446 * docs/plugins/inspect/plugin-coreelements.xml:
15447 * docs/plugins/inspect/plugin-coreindexers.xml:
15448 * docs/plugins/scanobj-build.stamp:
15449 * gstreamer.spec.in:
15450 * plugins/elements/Makefile.am:
15451 * plugins/elements/gstelements.c:
15452 * plugins/elements/gstfakesink.c:
15453 * plugins/elements/gstfakesrc.c:
15454 * plugins/elements/gstfilesink.c:
15455 * plugins/elements/gstfilesrc.c:
15456 * plugins/elements/gstqueue.c:
15457 * plugins/indexers/Makefile.am:
15458 * plugins/indexers/gstindexers.c:
15459 document core plugins in a separate document just like all the
15461 rename these plugins to something starting with core
15463 2005-12-01 Andy Wingo <wingo@pobox.com>
15465 * gst/gstevent.h (struct _GstEvent): Meant to remove the extra
15466 padding here before, but it missed the commit.
15468 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
15470 * libs/gst/controller/gstinterpolation.c:
15471 whitespace prices have crashed, we should feel free to use some now
15472 use gst_guint64_to_gdouble
15474 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
15476 * libs/gst/controller/gstcontroller.c:
15477 * libs/gst/controller/gsthelper.c:
15478 * libs/gst/controller/gstinterpolation.c:
15479 * libs/gst/controller/lib.c:
15480 wrap config.h include
15482 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
15484 * docs/gst/gstreamer-sections.txt:
15487 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
15489 * plugins/elements/gstelements.c:
15490 * plugins/elements/gstfdsink.c: (gst_fd_sink__base_init),
15491 (gst_fd_sink__class_init), (gst_fd_sink__init),
15492 (gst_fd_sink__chain), (gst_fd_sink__set_property),
15493 (gst_fd_sink__get_property):
15494 * plugins/elements/gstfdsink.h:
15495 * plugins/elements/gstfdsrc.c: (_do_init), (gst_fd_src_base_init),
15496 (gst_fd_src_class_init), (gst_fd_src_init), (gst_fd_src_dispose),
15497 (gst_fd_src_update_fd), (gst_fd_src_start), (gst_fd_src_stop),
15498 (gst_fd_src_unlock), (gst_fd_src_set_property),
15499 (gst_fd_src_get_property), (gst_fd_src_create),
15500 (gst_fd_src_is_seekable), (gst_fd_src_get_size),
15501 (gst_fd_src_uri_get_type), (gst_fd_src_uri_get_protocols),
15502 (gst_fd_src_uri_get_uri), (gst_fd_src_uri_set_uri),
15503 (gst_fd_src_uri_handler_init):
15504 * plugins/elements/gstfdsrc.h:
15505 * plugins/elements/gstqueue.c: (gst_queue_get_type):
15508 2005-11-30 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
15510 * docs/gst/Makefile.am:
15511 * docs/gst/gstreamer.types.in:
15515 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
15521 * gst/gstregistry.h:
15522 * tests/benchmarks/complexity.c:
15523 * tests/benchmarks/mass-elements.c:
15524 * tests/check/Makefile.am:
15525 * tools/Makefile.am:
15526 * tools/gst-inspect.c:
15527 * tools/gst-xmlinspect.c:
15528 various fixes to make
15529 --disable-nls --disable-registry --disable-loadsave
15530 --disable-parse --disable-gst-debug
15531 work and get the core .so down to 360444 bytes after stripping
15533 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
15538 * docs/random/thomasvs/TODO:
15539 * tests/Makefile.am:
15543 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
15545 * win32/GStreamer.vcproj:
15548 * win32/Makefile.inspect:
15549 * win32/Makefile.launch:
15550 * win32/Makefile.register:
15551 * win32/README.txt:
15552 * win32/gst-inspect.vcproj:
15553 * win32/gst-launch.vcproj:
15554 * win32/gst-register.vcproj:
15555 * win32/gstelements.vcproj:
15556 * win32/gstgetbits.def:
15557 * win32/gstgetbits.vcproj:
15558 * win32/gstreamer-dbg.def:
15559 * win32/gstreamer.def:
15560 * win32/libgstbase.def:
15561 * win32/libgstbase.vcproj:
15562 * win32/link_oldruntime.c:
15566 * win32/msvc71.sln:
15567 move even more stuff, win32/ is nice and clean now
15569 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
15571 * libs/gst/control/.cvsignore:
15576 * win32/gstbytestream.def:
15577 * win32/gstbytestream.vcproj:
15578 * win32/gstconfig.h:
15579 * win32/gstenumtypes.c:
15580 * win32/gstenumtypes.h:
15581 * win32/gstoptimalscheduler.vcproj:
15582 * win32/gstversion.h:
15584 * win32/testsuite/bins.vcproj:
15585 * win32/testsuite/bytestream.vcproj:
15586 * win32/testsuite/caps.vcproj:
15587 * win32/testsuite/cleanup.vcproj:
15588 * win32/testsuite/clock.vcproj:
15589 * win32/testsuite/debug.vcproj:
15590 * win32/testsuite/dlopen.vcproj:
15591 * win32/testsuite/dynparams.vcproj:
15592 * win32/testsuite/elements.vcproj:
15593 * win32/testsuite/ghostpads.vcproj:
15594 * win32/testsuite/indexers.vcproj:
15595 * win32/testsuite/negotiation.vcproj:
15596 * win32/testsuite/parse.vcproj:
15597 * win32/testsuite/plugin.vcproj:
15598 * win32/testsuite/refcounting.vcproj:
15599 * win32/testsuite/schedulers.vcproj:
15600 * win32/testsuite/states.vcproj:
15601 * win32/testsuite/tags.vcproj:
15602 * win32/testsuite/threads.vcproj:
15603 remove old win32 stuff that isn't maintained and should be
15606 2005-11-30 Andy Wingo <wingo@pobox.com>
15608 * configure.ac (GST_PKG_DEPS): Revert previous patch, makes
15609 loading the gst.interfaces python module bork.
15611 * configure.ac (GST_PKG_DEPS): Use gmodule-no-export-2.0.pc,
15612 available since GLib 2.2. Fixes #318031.
15614 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
15617 * check/.cvsignore:
15618 * check/Makefile.am:
15619 * check/elements/.cvsignore:
15620 * check/elements/fakesrc.c:
15621 * check/elements/fdsrc.c:
15622 * check/elements/identity.c:
15623 * check/generic/.cvsignore:
15624 * check/generic/states.c:
15625 * check/gst-libs/.cvsignore:
15626 * check/gst-libs/controller.c:
15627 * check/gst-libs/gdp.c:
15628 * check/gst/.cvsignore:
15629 * check/gst/capslist.h:
15631 * check/gst/gstbin.c:
15632 * check/gst/gstbuffer.c:
15633 * check/gst/gstbus.c:
15634 * check/gst/gstcaps.c:
15635 * check/gst/gstelement.c:
15636 * check/gst/gstevent.c:
15637 * check/gst/gstghostpad.c:
15638 * check/gst/gstiterator.c:
15639 * check/gst/gstmessage.c:
15640 * check/gst/gstminiobject.c:
15641 * check/gst/gstobject.c:
15642 * check/gst/gstpad.c:
15643 * check/gst/gstpipeline.c:
15644 * check/gst/gstplugin.c:
15645 * check/gst/gstsegment.c:
15646 * check/gst/gststructure.c:
15647 * check/gst/gstsystemclock.c:
15648 * check/gst/gsttag.c:
15649 * check/gst/gstutils.c:
15650 * check/gst/gstvalue.c:
15651 * check/net/.cvsignore:
15652 * check/net/gstnetclientclock.c:
15653 * check/net/gstnettimeprovider.c:
15654 * check/pipelines/.cvsignore:
15655 * check/pipelines/cleanup.c:
15656 * check/pipelines/simple_launch_lines.c:
15657 * check/pipelines/stress.c:
15658 * check/states/.cvsignore:
15659 * check/states/sinks.c:
15661 * examples/Makefile.am:
15662 * examples/appreader/.cvsignore:
15663 * examples/appreader/Makefile.am:
15664 * examples/appreader/appreader.c:
15665 * examples/controller/.cvsignore:
15666 * examples/controller/Makefile.am:
15667 * examples/controller/audio-example.c:
15668 * examples/cutter/.cvsignore:
15669 * examples/cutter/Makefile.am:
15670 * examples/cutter/cutter.c:
15671 * examples/cutter/cutter.h:
15672 * examples/events/Makefile.am:
15673 * examples/events/seek.c:
15674 * examples/helloworld/.cvsignore:
15675 * examples/helloworld/Makefile.am:
15676 * examples/helloworld/helloworld.c:
15677 * examples/helloworld2/.cvsignore:
15678 * examples/helloworld2/Makefile.am:
15679 * examples/helloworld2/helloworld2.c:
15680 * examples/launch/.cvsignore:
15681 * examples/launch/Makefile.am:
15682 * examples/launch/mp3parselaunch.c:
15683 * examples/launch/mp3play:
15684 * examples/manual/.cvsignore:
15685 * examples/manual/Makefile.am:
15686 * examples/manual/extract.pl:
15687 * examples/metadata/Makefile.am:
15688 * examples/metadata/read-metadata.c:
15689 * examples/mixer/.cvsignore:
15690 * examples/mixer/Makefile.am:
15691 * examples/mixer/mixer.c:
15692 * examples/mixer/mixer.h:
15693 * examples/pingpong/.cvsignore:
15694 * examples/pingpong/Makefile.am:
15695 * examples/pingpong/pingpong.c:
15696 * examples/plugins/.cvsignore:
15697 * examples/plugins/Makefile.am:
15698 * examples/plugins/example.c:
15699 * examples/plugins/example.h:
15700 * examples/pwg/.cvsignore:
15701 * examples/pwg/Makefile.am:
15702 * examples/pwg/extract.pl:
15703 * examples/queue/.cvsignore:
15704 * examples/queue/Makefile.am:
15705 * examples/queue/queue.c:
15706 * examples/queue2/.cvsignore:
15707 * examples/queue2/Makefile.am:
15708 * examples/queue2/queue2.c:
15709 * examples/queue3/.cvsignore:
15710 * examples/queue3/Makefile.am:
15711 * examples/queue3/queue3.c:
15712 * examples/queue4/.cvsignore:
15713 * examples/queue4/Makefile.am:
15714 * examples/queue4/queue4.c:
15715 * examples/retag/.cvsignore:
15716 * examples/retag/Makefile.am:
15717 * examples/retag/retag.c:
15718 * examples/retag/transcode.c:
15719 * examples/thread/.cvsignore:
15720 * examples/thread/Makefile.am:
15721 * examples/thread/thread.c:
15722 * examples/typefind/.cvsignore:
15723 * examples/typefind/Makefile.am:
15724 * examples/typefind/typefind.c:
15725 * examples/xml/.cvsignore:
15726 * examples/xml/Makefile.am:
15727 * examples/xml/createxml.c:
15728 * examples/xml/runxml.c:
15729 * tests/Makefile.am:
15730 * tests/check/Makefile.am:
15731 * testsuite/.cvsignore:
15732 * testsuite/Makefile.am:
15734 * testsuite/caps/.cvsignore:
15735 * testsuite/caps/Makefile.am:
15736 * testsuite/caps/app_fixate.c:
15737 * testsuite/caps/audioscale.c:
15738 * testsuite/caps/caps.c:
15739 * testsuite/caps/caps.h:
15740 * testsuite/caps/caps_strings:
15741 * testsuite/caps/compatibility.c:
15742 * testsuite/caps/deserialize.c:
15743 * testsuite/caps/enumcaps.c:
15744 * testsuite/caps/eratosthenes.c:
15745 * testsuite/caps/filtercaps.c:
15746 * testsuite/caps/fixed.c:
15747 * testsuite/caps/fraction-convert.c:
15748 * testsuite/caps/fraction-multiply-and-zero.c:
15749 * testsuite/caps/intersect2.c:
15750 * testsuite/caps/intersection.c:
15751 * testsuite/caps/normalisation.c:
15752 * testsuite/caps/random.c:
15753 * testsuite/caps/renegotiate.c:
15754 * testsuite/caps/sets.c:
15755 * testsuite/caps/simplify.c:
15756 * testsuite/caps/string-conversions.c:
15757 * testsuite/caps/structure.c:
15758 * testsuite/caps/subtract.c:
15759 * testsuite/caps/union.c:
15760 * testsuite/debug/.cvsignore:
15761 * testsuite/debug/Makefile.am:
15762 * testsuite/debug/category.c:
15763 * testsuite/debug/commandline.c:
15764 * testsuite/debug/global.c:
15765 * testsuite/debug/output.c:
15766 * testsuite/debug/printf_extension.c:
15767 * testsuite/dlopen/.cvsignore:
15768 * testsuite/dlopen/Makefile.am:
15769 * testsuite/dlopen/dlopen_gst.c:
15770 * testsuite/dlopen/loadgst.c:
15771 * testsuite/elements/.cvsignore:
15772 * testsuite/elements/Makefile.am:
15773 * testsuite/elements/gst-inspect-check.in:
15774 * testsuite/elements/struct_i386.h:
15775 * testsuite/elements/struct_size.c:
15776 * testsuite/indexers/.cvsignore:
15777 * testsuite/indexers/Makefile.am:
15778 * testsuite/indexers/cache1.c:
15779 * testsuite/indexers/indexdump.c:
15780 * testsuite/parse/.cvsignore:
15781 * testsuite/parse/Makefile.am:
15782 * testsuite/parse/parse1.c:
15783 * testsuite/parse/parse2.c:
15784 * testsuite/plugin/.cvsignore:
15785 * testsuite/plugin/Makefile.am:
15786 * testsuite/plugin/README:
15787 * testsuite/plugin/dynamic.c:
15788 * testsuite/plugin/linked.c:
15789 * testsuite/plugin/loading.c:
15790 * testsuite/plugin/registry.c:
15791 * testsuite/plugin/static.c:
15792 * testsuite/plugin/static2.c:
15793 * testsuite/plugin/testplugin.c:
15794 * testsuite/plugin/testplugin2.c:
15795 * testsuite/plugin/testplugin2_s.c:
15796 * testsuite/plugin/testplugin_s.c:
15797 * testsuite/refcounting/.cvsignore:
15798 * testsuite/refcounting/Makefile.am:
15799 * testsuite/refcounting/bin.c:
15800 * testsuite/refcounting/element.c:
15801 * testsuite/refcounting/element_pad.c:
15802 * testsuite/refcounting/mainloop.c:
15803 * testsuite/refcounting/mem.c:
15804 * testsuite/refcounting/mem.h:
15805 * testsuite/refcounting/object.c:
15806 * testsuite/refcounting/pad.c:
15807 * testsuite/refcounting/sched.c:
15808 * testsuite/refcounting/thread.c:
15809 * testsuite/states/.cvsignore:
15810 * testsuite/states/Makefile.am:
15811 * testsuite/states/bin.c:
15812 * testsuite/states/locked.c:
15813 * testsuite/states/parent.c:
15814 * testsuite/threads/.cvsignore:
15815 * testsuite/threads/159566.c:
15816 * testsuite/threads/159852.c:
15817 * testsuite/threads/Makefile.am:
15818 * testsuite/threads/queue.c:
15819 * testsuite/threads/signals.c:
15820 * testsuite/threads/staticrec.c:
15821 * testsuite/threads/thread.c:
15822 * testsuite/threads/threadb.c:
15823 * testsuite/threads/threadc.c:
15824 * testsuite/threads/threadd.c:
15825 * testsuite/threads/threade.c:
15826 * testsuite/threads/threadf.c:
15827 * testsuite/threads/threadg.c:
15828 * testsuite/threads/threadh.c:
15829 * testsuite/threads/threadi.c:
15830 move all of these under tests
15832 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
15835 * tests/Makefile.am:
15838 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
15840 * docs/gst/gstreamer-sections.txt:
15841 * tests/sched/.cvsignore:
15842 * tests/sched/Makefile.am:
15843 * tests/sched/cases/(fs-fs).xml:
15844 * tests/sched/cases/(fs-i-fs).xml:
15845 * tests/sched/cases/(fs-i-i-fs).xml:
15846 * tests/sched/cases/(fs-i-q[i-fs]).xml:
15847 * tests/sched/dynamic-pipeline.c:
15848 * tests/sched/interrupt1.c:
15849 * tests/sched/interrupt2.c:
15850 * tests/sched/interrupt3.c:
15851 * tests/sched/runtestcases:
15852 * tests/sched/runxml.c:
15853 * tests/sched/sched-stress.c:
15854 * tests/sched/sort.c:
15855 * tests/sched/testcases:
15856 * tests/sched/testcases1.tc:
15857 * tests/seeking/.cvsignore:
15858 * tests/seeking/Makefile.am:
15859 * tests/seeking/seeking1.c:
15860 * tests/threadstate/.cvsignore:
15861 * tests/threadstate/Makefile.am:
15862 * tests/threadstate/test1.c:
15863 * tests/threadstate/test2.c:
15864 * tests/threadstate/threadstate1.c:
15865 * tests/threadstate/threadstate2.c:
15866 * tests/threadstate/threadstate3.c:
15867 * tests/threadstate/threadstate4.c:
15868 * tests/threadstate/threadstate5.c:
15869 remove obsolete tests
15871 * tests/bench-complexity.scm:
15872 * tests/bench-mass_elements.scm:
15873 * tests/complexity.c:
15874 * tests/complexity.gnuplot:
15875 * tests/instantiate/.cvsignore:
15876 * tests/instantiate/Makefile.am:
15877 * tests/instantiate/caps.c:
15878 * tests/mass_elements.c:
15879 * tests/network-clock-utils.scm:
15880 * tests/network-clock.scm:
15882 First pass at cleaning up tests/ dir before moving the rest
15883 Combined with CVS surgery
15885 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
15888 queue has moved, update
15890 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
15892 * docs/gst/gstreamer-sections.txt:
15893 remove double entries from the docs
15894 * gst/gst_private.h:
15895 * gst/gstinfo.c: (_gst_debug_init):
15896 remove the THREAD debug category
15900 * docs/gst/gstreamer.types:
15901 * plugins/elements/gstqueue.c: (gst_queue_get_type),
15902 (gst_queue_init), (gst_queue_finalize), (gst_queue_change_state):
15903 completely move queue and fix up debugging categories
15905 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
15907 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
15908 make initialization portable, using LL is not
15910 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
15912 * win32/common/gstconfig.h:
15915 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
15917 * win32/common/libgstreamer.def:
15918 rename symbols; sort base section
15920 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
15922 * gst/gstclock.c: (do_linear_regression):
15923 remove crack non-portable handrolled DEBUG macro
15925 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
15927 * docs/random/release:
15929 * win32/common/gstenumtypes.c: (register_gst_object_flags),
15930 (gst_object_flags_get_type), (register_gst_bin_flags),
15931 (gst_bin_flags_get_type), (register_gst_buffer_flag),
15932 (gst_buffer_flag_get_type), (register_gst_bus_flags),
15933 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
15934 (gst_bus_sync_reply_get_type), (register_gst_caps_flags),
15935 (gst_caps_flags_get_type), (register_gst_clock_return),
15936 (gst_clock_return_get_type), (register_gst_clock_entry_type),
15937 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
15938 (gst_clock_flags_get_type), (register_gst_state),
15939 (gst_state_get_type), (register_gst_state_change_return),
15940 (gst_state_change_return_get_type), (register_gst_state_change),
15941 (gst_state_change_get_type), (register_gst_element_flags),
15942 (gst_element_flags_get_type), (register_gst_core_error),
15943 (gst_core_error_get_type), (register_gst_library_error),
15944 (gst_library_error_get_type), (register_gst_resource_error),
15945 (gst_resource_error_get_type), (register_gst_stream_error),
15946 (gst_stream_error_get_type), (register_gst_event_type_flags),
15947 (gst_event_type_flags_get_type), (register_gst_event_type),
15948 (gst_event_type_get_type), (register_gst_seek_type),
15949 (gst_seek_type_get_type), (register_gst_seek_flags),
15950 (gst_seek_flags_get_type), (register_gst_format),
15951 (gst_format_get_type), (register_gst_index_certainty),
15952 (gst_index_certainty_get_type), (register_gst_index_entry_type),
15953 (gst_index_entry_type_get_type),
15954 (register_gst_index_lookup_method),
15955 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
15956 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
15957 (gst_index_resolver_method_get_type), (register_gst_index_flags),
15958 (gst_index_flags_get_type), (register_gst_debug_level),
15959 (gst_debug_level_get_type), (register_gst_debug_color_flags),
15960 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
15961 (gst_iterator_result_get_type), (register_gst_iterator_item),
15962 (gst_iterator_item_get_type), (register_gst_message_type),
15963 (gst_message_type_get_type), (register_gst_mini_object_flags),
15964 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
15965 (gst_pad_link_return_get_type), (register_gst_flow_return),
15966 (gst_flow_return_get_type), (register_gst_activate_mode),
15967 (gst_activate_mode_get_type), (register_gst_pad_direction),
15968 (gst_pad_direction_get_type), (register_gst_pad_flags),
15969 (gst_pad_flags_get_type), (register_gst_pad_presence),
15970 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
15971 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
15972 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
15973 (gst_plugin_error_get_type), (register_gst_plugin_flags),
15974 (gst_plugin_flags_get_type), (register_gst_rank),
15975 (gst_rank_get_type), (register_gst_query_type),
15976 (gst_query_type_get_type), (register_gst_tag_merge_mode),
15977 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
15978 (gst_tag_flag_get_type), (register_gst_task_state),
15979 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
15980 (gst_alloc_trace_flags_get_type),
15981 (register_gst_type_find_probability),
15982 (gst_type_find_probability_get_type), (register_gst_uri_type),
15983 (gst_uri_type_get_type), (register_gst_parse_error),
15984 (gst_parse_error_get_type):
15985 * win32/common/gstenumtypes.h:
15986 * win32/common/gstversion.h:
15987 update visual studio generated files
15989 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
15991 * win32/vs6/libgstbase.dsp:
15992 * win32/vs6/libgstelements.dsp:
15993 update project files for new locations
15995 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
16000 reinstate and update
16005 * docs/random/LICENSE:
16008 2005-11-30 Edward Hervey <edward@fluendo.com>
16010 * gst/gsttypefind.c: (gst_type_find_register):
16011 * gst/gsttypefind.h:
16012 * gst/gsttypefindfactory.c: (gst_type_find_factory_init),
16013 (gst_type_find_factory_dispose):
16014 * gst/gsttypefindfactory.h:
16015 Fix memory leak in GstTypeFindFactory.
16017 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
16020 * plugins/elements/Makefile.am:
16021 * plugins/elements/gstelements.c:
16022 * plugins/elements/gstqueue.c:
16023 move queue from core to the elements plugin
16025 2005-11-29 Andy Wingo <wingo@pobox.com>
16027 * libs/gst/base/gstbasetransform.h:
16028 * libs/gst/base/gstbasesrc.h:
16029 * libs/gst/base/gstbasesink.h: en-LARGE the padding.
16031 * gst/gstconfig.h.in (GST_PADDING_LARGE): New define, the number
16032 of pointers by which to pad very extensible base classes (like the
16033 ones in libs/gst/base).
16035 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
16037 * docs/gst/gstreamer-docs.sgml:
16038 * docs/gst/gstreamer-sections.txt:
16039 * docs/libs/gstreamer-libs-docs.sgml:
16040 * docs/libs/gstreamer-libs-sections.txt:
16041 moving documentation from core to lib
16043 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
16045 * check/Makefile.am:
16047 * docs/gst/Makefile.am:
16049 * gst/base/.cvsignore:
16050 * gst/base/Makefile.am:
16052 * gst/base/gstadapter.c:
16053 * gst/base/gstadapter.h:
16054 * gst/base/gstbasesink.c:
16055 * gst/base/gstbasesink.h:
16056 * gst/base/gstbasesrc.c:
16057 * gst/base/gstbasesrc.h:
16058 * gst/base/gstbasetransform.c:
16059 * gst/base/gstbasetransform.h:
16060 * gst/base/gstcollectpads.c:
16061 * gst/base/gstcollectpads.h:
16062 * gst/base/gstpushsrc.c:
16063 * gst/base/gstpushsrc.h:
16064 * gst/base/gsttypefindhelper.c:
16065 * gst/base/gsttypefindhelper.h:
16066 * gst/check/Makefile.am:
16067 * gst/check/gstcheck.c:
16068 * gst/check/gstcheck.h:
16069 * gst/net/Makefile.am:
16070 * gst/net/gstnet.h:
16071 * gst/net/gstnetclientclock.c:
16072 * gst/net/gstnetclientclock.h:
16073 * gst/net/gstnettimepacket.c:
16074 * gst/net/gstnettimepacket.h:
16075 * gst/net/gstnettimeprovider.c:
16076 * gst/net/gstnettimeprovider.h:
16077 * libs/gst/Makefile.am:
16078 * libs/gst/base/Makefile.am:
16079 * libs/gst/base/gstbasetransform.c:
16080 * libs/gst/check/Makefile.am:
16081 * plugins/elements/Makefile.am:
16083 CVS surgery + support to move base, check, and net out of gst
16086 2005-11-29 Andy Wingo <wingo@pobox.com>
16088 * gst/gstevent.h (struct _GstEvent): Only one pointer of padding.
16090 * gst/gststructure.h (struct _GstStructure): Only one pointer of
16093 * gst/gstquery.h (struct _GstQuery): Only one pointer of padding.
16095 * gst/gstpluginfeature.h: Remove a comment in PluginFeature.
16097 * gst/gstplugin.h (struct _GstPluginClass): Add some padding.
16099 * gst/gstobject.h: (struct _GstObject): Only one pointer of
16100 padding; reduces object size by about 30%. We don't expect
16101 anything else to go into gstobject.
16103 * gst/gstminiobject.h (struct _GstMiniObject)
16104 (struct _GstMiniObjectClass): Only one pointer of padding; the
16105 payload is only a pointer and two ints anyway. For the class there
16106 are only two methods as well.
16108 * gst/gstelement.h (struct _GstElementClass): Removed
16109 the state_changed signal callback, it is not used.
16111 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
16113 * docs/gst/gstreamer.types:
16114 fix includes, though they are a little dinky
16116 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
16118 * check/Makefile.am:
16119 look in the right place for elements, a lot more chance of
16122 remove indexers and elements subdirs
16123 * plugins/Makefile.am:
16124 make indexers conditional
16126 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
16130 * plugins/elements/Makefile.am:
16131 * plugins/elements/gstcapsfilter.c:
16132 * plugins/elements/gstfilesink.c:
16133 * plugins/elements/gstfilesrc.c:
16134 * plugins/elements/gstidentity.c:
16135 * plugins/indexers/Makefile.am:
16136 do CVS surgery and related build fixery to move elements
16137 and indexers in a new gstreamer/plugins directory, out of the
16140 2005-11-29 Andy Wingo <wingo@pobox.com>
16142 * check/Makefile.am:
16143 * pkgconfig/gstreamer-net-uninstalled.pc.in:
16144 * pkgconfig/gstreamer-net.pc.in:
16145 * gst/net/Makefile.am: Rename gstnet-tempname to gstnet. Fixes
16148 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
16150 * tools/Makefile.am:
16151 * tools/gst-complete.1.in:
16152 * tools/gst-complete.c:
16153 * tools/gst-compprep.1.in:
16154 * tools/gst-compprep.c:
16155 removing -compprep and -complete
16157 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
16159 * gst/gstevent.c: (gst_event_new_new_segment),
16160 (gst_event_parse_new_segment):
16162 fix #320529 - clean up new_segment API and structure.
16163 Let's hope everyone was using the methods, and not the structure.
16165 2005-11-29 Edward Hervey <edward@fluendo.com>
16167 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
16168 (gst_base_sink_event), (gst_base_sink_do_sync),
16169 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
16170 Properly handle non GST_FORMAT_TIME segment
16171 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
16172 Properly handle non GST_FORMAT_TIME segment
16173 * gst/gstsegment.c:
16174 This function is valid if the accumulator is 0 and the format
16175 is different from the requested format.
16177 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
16179 * docs/gst/gstreamer-sections.txt:
16180 Add gst_query_new_seeking and gst_query_parse_seeking to the
16183 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
16185 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
16186 Treat a pad alloc with new caps the same as if we were not
16187 negotiated, in order to allow a changing upstream output
16188 to produce a new format of data.
16190 2005-11-29 Edward Hervey <edward@fluendo.com>
16192 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
16193 (gst_base_transform_event), (gst_base_transform_eventfunc):
16194 The event virtual method is now properly implemented, with a default
16196 Sub classes should call the parent_class event method. They should
16197 return FALSE if they had a problem handling the given event, or don't
16198 want GstBaseTransform to send that even downstream
16199 * gst/elements/gstidentity.c: (gst_identity_class_init),
16200 (gst_identity_init), (gst_identity_event),
16201 (gst_identity_transform_ip), (gst_identity_set_property),
16202 (gst_identity_get_property):
16203 * gst/elements/gstidentity.h:
16204 Added the single-segment boolean property.
16205 If set to TRUE, it will output a single segment of data, starting from
16206 0, will eat up all incoming newsegment, and modify the timestamp of the
16207 buffers accordingly
16209 2005-11-29 Tim-Philipp Müller <tim at centricular dot net>
16211 * gst/gstghostpad.c: (gst_proxy_pad_get_target):
16212 Don't ref NULL target pad (#322751). Improve docs.
16214 2005-11-29 Michael Smith <msmith@fluendo.com>
16216 * gst/gstregistryxml.c: (load_plugin):
16217 Don't crash if we failed to load a feature from a plugin.
16219 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
16221 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
16223 use more check API and less GLib API
16225 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
16228 don't run checks if we don't have check
16229 * common/check.mak:
16230 remove the registry when running make torture
16231 * docs/gst/gstreamer-sections.txt:
16232 remove second multiply
16233 * gst/gstqueue.c: (gst_queue_loop):
16234 fix a compile warning when disabling debug
16236 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
16239 Hey! Let's print the pad name if the pointer != NULL instead
16240 of when it == NULL :-)
16242 2005-11-28 Wim Taymans <wim@fluendo.com>
16244 * check/gst/gstutils.c: (GST_START_TEST):
16245 Updated check, add some scaling accuracy checking code.
16247 * gst/gstutils.c: (gst_util_div128_64),
16248 (gst_util_uint64_scale_int64), (gst_util_uint64_scale),
16249 (gst_util_uint64_scale_int):
16250 Fix 6 times faster division code. Optimize for common
16251 1/1 and less common X/1 cases.
16253 2005-11-28 Wim Taymans <wim@fluendo.com>
16255 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
16258 * gst/gstclock.c: (gst_clock_finalize), (gst_clock_set_master),
16259 (do_linear_regression), (gst_clock_add_observation):
16261 Release lock when the clock cannot be slaved.
16262 Catch the case where the regression returned an invalid denominator.
16264 * gst/gstutils.c: (gst_util_div128_64_iterate),
16265 (gst_util_div128_64), (gst_util_uint64_scale_int64),
16266 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
16267 Add protentially more performant non-iterative 128/64 divide function
16268 that unfortunatly does not work yet.
16269 Shortcut the trivial 0/X = 0 case.
16270 Remove the warnings on overflow.
16272 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
16274 * gst/gstplugin.c: (gst_plugin_register_func):
16275 everything causing a plugin not to load should be at least a WARNING
16277 2005-11-28 Stefan Kost <ensonic@users.sf.net>
16279 * docs/random/ensonic/dparams.txt:
16280 some TODOs for the next dev cycle
16281 * libs/gst/controller/gstcontroller.c:
16282 (gst_controlled_property_set_interpolation_mode),
16283 (gst_controlled_property_new):
16284 * libs/gst/controller/gstcontroller.h:
16285 use base type to assign acccessor functions
16287 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
16289 * check/Makefile.am:
16290 Oops, that should have been top_srcdir
16292 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
16294 * check/Makefile.am:
16295 * check/elements/fdsrc.c: (GST_START_TEST):
16296 Use a cmdline define to specify the location of a file to use for
16297 testing, to avoid breaking distcheck.
16299 2005-11-28 Andy Wingo <wingo@pobox.com>
16301 * gst/gstpad.c (fixate_value): Use array functions for arrays.
16303 2005-11-28 Edward Hervey <edward@fluendo.com>
16305 * tools/gst-launch.c: (main):
16306 Clarify the output strings, makes it easier to translate.
16309 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
16312 don't try and build net if we don't even have <sys/socket.h>
16314 2005-11-27 Jan Schmidt <thaytan@mad.scientist.com>
16316 * check/Makefile.am:
16317 * check/elements/fdsrc.c: (event_func), (setup_fdsrc),
16318 (cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
16319 Add tests for fdsrc seekability
16321 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
16322 (gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
16323 (gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
16324 (gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
16325 * gst/elements/gstfdsrc.h:
16326 fdsrc should not be a 'live' source.
16327 Implement seeking on seekable fd's.
16329 * gst/gstquery.c: (gst_query_new_seeking),
16330 (gst_query_parse_seeking):
16332 Implement SEEKING query functions:
16333 *_new_seeking and *_parse_seeking
16335 2005-11-27 Stefan Kost <ensonic@users.sf.net>
16337 * gst/gstelement.c: (gst_element_dispose):
16340 * gst/gstiterator.c:
16341 * gst/gststructure.c:
16344 * libs/gst/controller/gstcontroller.c:
16345 (gst_controlled_property_set_interpolation_mode):
16346 * libs/gst/controller/gstcontroller.h:
16347 * libs/gst/controller/gstinterpolation.c:
16348 (interpolate_none_get_enum_value_array):
16349 support controlling enums
16351 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
16354 Improve documentation for gst_value_union().
16357 Change return value for union, intersect and subtract functions
16358 from gint to gboolean.
16360 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
16362 * gst/gstvalue.c: (gst_value_serialize_any_list),
16363 (gst_value_transform_any_list_string),
16364 (gst_value_deserialize_list), (gst_value_deserialize_array),
16365 (gst_value_set_int_range), (gst_value_deserialize_int_range),
16366 (gst_value_set_double_range), (gst_value_deserialize_double_range),
16367 (gst_value_set_fraction_range_full),
16368 (gst_value_deserialize_fraction_range),
16369 (gst_value_deserialize_caps), (gst_value_deserialize_buffer),
16370 (gst_value_deserialize_boolean),
16371 (gst_value_deserialize_int_helper), (gst_value_deserialize_double),
16372 (gst_value_serialize_float), (gst_value_deserialize_float),
16373 (gst_string_wrap), (gst_value_deserialize_string),
16374 (gst_value_deserialize_enum), (gst_value_deserialize_flags),
16375 (gst_value_union_int_range_int_range),
16376 (gst_value_intersect_int_range_int_range),
16377 (gst_value_intersect_double_range_double_range),
16378 (gst_value_create_new_range), (gst_value_subtract_int_range_int),
16379 (gst_value_subtract_int_range_int_range),
16380 (gst_value_subtract_double_double_range),
16381 (gst_value_subtract_double_range_double_range),
16382 (gst_value_deserialize_fraction):
16384 Use gint, gdouble and gchar in our API instead of int, double and
16385 char (and make usage in gstvalue.c more consistent).
16387 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
16389 * check/Makefile.am:
16390 * libs/gst/controller/Makefile.am:
16391 * libs/gst/dataprotocol/Makefile.am:
16392 fix up Makefile.am and remove GST_ENABLE_NEW
16394 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
16398 * gst/base/Makefile.am:
16399 * gst/check/Makefile.am:
16400 * gst/elements/Makefile.am:
16401 * gst/net/Makefile.am:
16402 update LDFLAGS use some more
16404 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
16406 * common/m4/gst-doc.m4:
16409 2005-11-26 Edward Hervey <edward@fluendo.com>
16411 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
16412 This shouldn't issue a g_warning since it returns NULL if it
16413 couldn't find the plugin, and all functions using this behave
16414 properly on a NULL return. Switching to a GST_WARNING.
16416 2005-11-25 Jan Schmidt <thaytan@mad.scientist.com>
16418 * gst/gstbin.c: (gst_bin_handle_message_func):
16419 Don't leak clock messages.
16421 2005-11-25 Wim Taymans <wim@fluendo.com>
16423 * gst/gstutils.c: (gst_util_uint64_scale_int64),
16424 (gst_util_uint64_scale_int):
16425 Optimisations, remove unneeded vars.
16427 2005-11-25 Wim Taymans <wim@fluendo.com>
16429 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
16430 Added more checks for the high precision uint64 cases.
16432 * gst/gstutils.c: (gst_util_uint64_scale_int64),
16433 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
16434 Implement high precision (guint64 * guint64) / guint64.
16436 2005-11-24 Wim Taymans <wim@fluendo.com>
16438 * gst/base/gstbasesrc.c: (gst_base_src_query):
16439 Fix wrong percentage query.
16441 * gst/gstutils.c: (gst_util_uint64_scale),
16442 (gst_util_uint64_scale_int):
16443 Add some more common cases that can be handled
16444 efficiently to _scale.
16446 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
16448 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
16449 (gst_mini_object_suite):
16450 don't use check calls from threads; check probably isn't
16451 threadsafe and using a lock to make it threadsafe would
16452 defeat the purpose of this check
16453 * gst/check/gstcheck.c:
16454 * gst/check/gstcheck.h:
16455 use GST_DEBUG some more
16457 2005-11-24 Wim Taymans <wim@fluendo.com>
16459 * gst/gstutils.c: (gst_util_uint64_scale),
16460 (gst_util_uint64_scale_int):
16461 Chain trivial case to _scale_int.
16463 2005-11-24 Wim Taymans <wim@fluendo.com>
16465 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
16466 Added test for scaling.
16471 * gst/gstutils.c: (gst_util_uint64_scale_int):
16472 Implemented high precision scaling code.
16474 2005-11-24 Stefan Kost <ensonic@users.sf.net>
16477 do not crash on pad==NULL
16479 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
16481 Patch by: Stefan Kost
16483 * common/gtk-doc.mak:
16484 * docs/gst/Makefile.am:
16485 * docs/libs/Makefile.am:
16486 Fix distcheck issues for the libraries docs build
16489 2005-11-24 Michael Smith <msmith@fluendo.com>
16491 * docs/manual/basics-helloworld.xml:
16492 Fix bug #315027: memory leak in example code in docs.
16494 2005-11-24 Michael Smith <msmith@fluendo.com>
16496 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
16497 Unlock the PREROLL_LOCK in a failure case.
16499 2005-11-24 Wim Taymans <wim@fluendo.com>
16501 * docs/gst/gstreamer-sections.txt:
16502 * gst/base/gstadapter.h:
16503 * gst/base/gstbasesink.h:
16504 * gst/base/gstbasesrc.h:
16505 * gst/base/gstbasetransform.h:
16506 * gst/base/gstpushsrc.h:
16507 * gst/elements/gstfakesink.h:
16508 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
16509 * gst/elements/gstfakesrc.h:
16510 * gst/elements/gstfilesink.h:
16511 * gst/elements/gstfilesrc.h:
16514 * gst/gstbuffer.c: (_gst_buffer_copy):
16517 * gst/gstchildproxy.c:
16519 * gst/gstelement.c:
16520 * gst/gstelementfactory.c:
16521 * gst/gstelementfactory.h:
16523 * gst/gstghostpad.h:
16525 * gst/gstinterface.h:
16526 * gst/gstminiobject.c:
16527 * gst/gstminiobject.h:
16530 * gst/gstpadtemplate.h:
16531 * gst/gstpipeline.h:
16532 * gst/gstpluginfeature.h:
16535 * gst/gsttaglist.c:
16536 * gst/gsttaglist.h:
16537 * gst/gsttagsetter.c:
16538 * gst/gsttagsetter.h:
16541 * gst/gsttypefind.h:
16544 * gst/net/gstnetclientclock.c:
16545 * gst/net/gstnetclientclock.h:
16546 * gst/net/gstnettimepacket.c:
16547 * gst/net/gstnettimeprovider.c:
16548 * gst/net/gstnettimeprovider.h:
16551 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
16553 * configure.ac: back to HEAD
16555 === release 0.9.6 ===
16557 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
16560 releasing 0.9.6, "Always On Time"
16562 2005-11-23 Wim Taymans <wim@fluendo.com>
16564 * docs/gst/gstreamer-sections.txt:
16565 * gst/glib-compat.c:
16566 * gst/gsttagsetter.c:
16568 * gst/net/gstnetclientclock.c:
16569 * gst/net/gstnettimepacket.h:
16572 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
16574 * docs/faq/using.xml:
16575 * docs/libs/tmpl/gstcontrol.sgml:
16576 * docs/manual/advanced-dparams.xml:
16577 * docs/manual/appendix-checklist.xml:
16578 * docs/manual/basics-elements.xml:
16579 * docs/pwg/other-source.xml:
16580 * docs/random/moving-plugins:
16582 * tools/gst-launch.1.in:
16583 remove mentions of sinesrc
16585 2005-11-23 Michael Smith <msmith@fluendo.com>
16587 * docs/gst/gstreamer-sections.txt:
16588 Update for new API and API changes.
16590 Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
16592 Documentation typo fix.
16593 * gst/net/gstnettimepacket.c:
16594 Documentation fixes for arguments.
16596 2005-11-23 Jan Schmidt <thaytan@mad.scientist.com>
16598 * gst/gststructure.c: (gst_structure_get_fraction),
16599 (gst_structure_parse_value),
16600 (gst_structure_fixate_field_nearest_fraction):
16601 * gst/gststructure.h:
16602 * gst/gstutils.c: (gst_util_uint64_scale_int):
16604 * scripts/update-funcnames:
16606 Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
16607 Make gst_structure_fixate_field_nearest_fraction take a numerator
16608 and denominator argument instead of a GValue
16609 add gst_structure_get_fraction helper function.
16611 2005-11-23 Wim Taymans <wim@fluendo.com>
16613 * docs/design/part-TODO.txt:
16616 * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
16617 * gst/net/gstnetclientclock.h:
16618 Use parent fields for timeout and window_size.
16620 2005-11-23 Andy Wingo <wingo@pobox.com>
16622 * check/net/gstnetclientclock.c (test_functioning): Adjust to
16623 rate_num/rate_denom change.
16625 * gst/net/gstnetclientclock.c
16626 (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
16627 OBJECT_LOCK. Don't call add_observation with the lock.
16629 * gst/gstclock.c (gst_clock_init): Initialize the rate as a
16631 (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
16633 (gst_clock_set_calibration, gst_clock_get_calibration): Change to
16634 deal with rate as a fraction whose numerator and denominator are
16635 GstClockTime values.
16636 (gst_clock_set_master): Only use the OBJECT_LOCK to set the
16637 master; the other fields are protected by the SLAVE_LOCK.
16638 (do_linear_regression): Note that this must be called with the
16640 (gst_clock_add_observation): Take the SLAVE_LOCK, not the
16641 OBJECT_LOCK. Call set_calibration instead of touching the
16642 variables directly.
16643 (gst_clock_set_property, gst_clock_get_property): Protect
16644 master/slave parameters with the SLAVE_LOCK.
16646 * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
16647 rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
16648 note that all of the instance variables that add_observation and
16649 the set_master functions use are protected by that lock and not
16651 (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
16653 * gst/gstclock.c (gst_clock_add_observation): No longer requires
16654 the caller to take the object lock.
16656 2005-11-23 Wim Taymans <wim@fluendo.com>
16658 * gst/gsterror.c: (_gst_core_errors_init):
16660 Add error for clock stuff.
16662 * gst/gstpipeline.c: (gst_pipeline_change_state),
16663 (gst_pipeline_set_clock):
16664 Post clock error when clock cannot be used in a pipeline.
16666 2005-11-23 Stefan Kost <ensonic@users.sf.net>
16668 * docs/gst/gstreamer-sections.txt:
16669 make two symbols from gstinfo private for the docs
16670 * gst/base/gstcollectpads.h:
16672 fix doc typos, update docs
16674 2005-11-22 Wim Taymans <wim@fluendo.com>
16676 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
16677 (gst_base_sink_wait), (gst_base_sink_do_sync),
16678 (gst_base_sink_handle_event):
16679 * gst/base/gstbasesink.h:
16680 No need to store the clock, the parent element class already
16683 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
16684 Updates for clock_set returning a gboolean
16686 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
16687 (gst_clock_id_wait_async), (gst_clock_class_init),
16688 (gst_clock_init), (gst_clock_finalize),
16689 (gst_clock_get_internal_time), (gst_clock_get_time),
16690 (gst_clock_slave_callback), (gst_clock_set_master),
16691 (gst_clock_get_master), (do_linear_regression),
16692 (gst_clock_add_observation), (gst_clock_set_property),
16693 (gst_clock_get_property):
16695 Implement master/slave. When setting a clock as a slave, a
16696 periodic timeout is scheduled to sample master and slave times.
16697 Then the slave clock is recalibrated to match offset and rate
16698 of the master clock.
16699 Update logging a bit.
16700 Add flag so that a clock can state that is cannot be slaved to
16703 * gst/gstelement.c: (gst_element_set_clock):
16704 * gst/gstelement.h:
16705 The set clock returns a gboolean for when an element cannot
16706 deal with the selected clock in the pipeline.
16708 * gst/gstpipeline.c: (gst_pipeline_change_state),
16709 (gst_pipeline_set_clock):
16710 * gst/gstpipeline.h:
16711 Handle the case where the selected clock cannot be set on
16714 * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
16715 (gst_net_client_clock_init), (gst_net_client_clock_finalize),
16716 (gst_net_client_clock_set_property),
16717 (gst_net_client_clock_get_property),
16718 (gst_net_client_clock_observe_times):
16719 * gst/net/gstnetclientclock.h:
16720 Use regression code in GstClock parent, remove duplicated
16723 2005-11-22 Michael Smith <msmith@fluendo.com>
16725 * gst/gstutils.c: (gst_util_clock_time_scale):
16727 * docs/gst/gstreamer-sections.txt:
16728 Rename method to have extra underscore.
16730 2005-11-22 Thomas Vander Stichele <thomas at apestaart dot org>
16732 * gst/elements/Makefile.am:
16733 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
16734 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
16735 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
16736 (gst_fake_src_init), (gst_fake_src_prepare_buffer),
16737 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
16738 * gst/elements/gstfakesrc.h:
16739 * gst/gstqueue.c: (queue_leaky_get_type):
16740 correctly fix GEnumValues so that nick is the short lowercase
16742 * tools/gst-inspect.c: (print_element_properties_info):
16743 also show the nick, since it's useful to use from parse_launch
16747 2005-11-22 Michael Smith <msmith@fluendo.com>
16749 * gst/gstutils.c: (gst_util_clocktime_scale):
16751 * docs/gst/gstreamer-sections.txt:
16752 Add util method for scaling a clocktime by a fraction. Useful
16753 implementation is left as an exercise for the reader.
16755 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
16757 * gst/gstvalue.c: (gst_value_collect_fraction_range):
16758 If needed, allocate storage in the destination value during
16761 2005-11-22 Edward Hervey <edward@fluendo.com>
16763 * docs/gst/gstreamer-sections.txt:
16766 * gst/gsturitype.c:
16767 * gst/gsturitype.h:
16768 * gst/gstutils.c: (gst_util_set_object_arg):
16769 * tools/gst-compprep.c: (main):
16770 * tools/gst-inspect.c: (print_element_properties_info):
16771 Removed GstURI, closes bug #321061
16773 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
16775 * check/gst/gststructure.c: (GST_START_TEST):
16776 * gst/gststructure.c: (gst_structure_parse_value):
16777 Oops, broke automatic string type parsing.
16778 Add a test to catch it in future.
16780 2005-11-22 Andy Wingo <wingo@pobox.com>
16782 * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode)
16783 (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
16784 Actually rename the function implementations. Grr.
16786 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
16788 * check/gst/capslist.h:
16790 * check/gst/gststructure.c: (GST_START_TEST),
16791 (gst_structure_suite):
16792 Test automatic value type detection in gst_structure_from_string.
16793 * gst/gststructure.c: (gst_structure_parse_value):
16794 Add fraction as a type we try and guess automatically in
16795 caps/structure strings.
16797 2005-11-22 Andy Wingo <wingo@pobox.com>
16799 patch by: Torsten Schoenfeld <kaffeetisch gmx de>
16801 * gst/gsttagsetter.h:
16802 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
16803 (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
16804 (gst_tag_setter_add_tag_valist)
16805 (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
16806 _add_values, _add_valist, and _add_valist_values. Since this is an
16807 interface the function suffixes should be more explicit so
16808 language binding don't end up with element.add_valist ->
16809 gst_tag_setter_add_valist, for example. Fixes #322069.
16811 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
16813 * check/gst/gstcaps.c: (GST_START_TEST):
16814 Extend caps string tests to check that a caps to string
16815 conversion is reversible and produces the same caps.
16817 * gst/gststructure.c: (gst_structure_value_get_generic_type):
16818 Output "fraction" as the generic type fraction range, so caps
16819 serialisation and deserialisation works.
16820 * check/gst/capslist.h:
16821 * gst/gstvalue.c: (gst_value_deserialize_fraction):
16822 Support 'MIN' and 'MAX' for deserialising fractions.
16824 2005-11-22 Andy Wingo <wingo@pobox.com>
16826 * gst/gstevent.h (gst_event_new_new_segment)
16827 (gst_event_parse_new_segment, gst_event_new_buffer_size)
16828 (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
16829 Renamed from *_newsegment, *_buffersize, *_notarget.
16831 * scripts/update-funcnames: New script, performs the changes
16834 2005-11-22 Wim Taymans <wim@fluendo.com>
16836 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
16837 Make sure the GstFlowReturn is returned.
16839 * gst/gstbus.c: (gst_bus_add_signal_watch_full),
16840 (gst_bus_add_signal_watch):
16842 add gst_bus_add_signal_watch_full.
16844 * gst/gstplugin.c: (gst_plugin_load_file):
16845 Small style cleanup.
16847 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
16849 * check/gst/gstevent.c: (test_event), (GST_START_TEST):
16850 Block the fakesrc srcpad when we send an event, to avoid
16851 contention on the stream_lock causing random test failures.
16853 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
16855 * check/gst/gstvalue.c: (GST_START_TEST):
16856 * gst/gstvalue.c: (gst_value_fraction_subtract):
16859 2005-11-22 Stefan Kost <ensonic@users.sf.net>
16862 include "gstchildproxy.h"
16863 * gst/gstchildproxy.h:
16864 * libs/gst/controller/gstcontroller.h:
16865 use G_GNUC_NULL_TERMINATED
16867 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
16869 * check/gst/capslist.h:
16870 * check/gst/gstcaps.c: (GST_START_TEST):
16871 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
16872 * gst/gststructure.c: (gst_structure_parse_range),
16873 (gst_structure_fixate_field_nearest_fraction):
16874 * gst/gststructure.h:
16875 * gst/gstvalue.c: (gst_value_init_fraction_range),
16876 (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
16877 (gst_value_collect_fraction_range),
16878 (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
16879 (gst_value_set_fraction_range_full),
16880 (gst_value_get_fraction_range_min),
16881 (gst_value_get_fraction_range_max),
16882 (gst_value_serialize_fraction_range),
16883 (gst_value_transform_fraction_range_string),
16884 (gst_value_compare_fraction_range),
16885 (gst_value_deserialize_fraction_range),
16886 (gst_value_intersect_fraction_fraction_range),
16887 (gst_value_intersect_fraction_range_fraction_range),
16888 (gst_value_subtract_fraction_fraction_range),
16889 (gst_value_subtract_fraction_range_fraction),
16890 (gst_value_subtract_fraction_range_fraction_range),
16891 (gst_value_collect_fraction), (gst_value_fraction_multiply),
16892 (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
16893 (gst_value_transform_string_fraction), (_gst_value_initialize):
16895 Implement fraction ranges and extend GstFraction to support
16896 arithmetic subtraction, as well as deserialization from integer
16897 strings such as "100"
16898 Add a testsuite as for int and double range set operations
16900 2005-11-21 Andy Wingo <wingo@pobox.com>
16902 * gst/gsttaglist.h:
16904 * gst/gststructure.h: Add glib-compat.h.
16906 2005-11-21 Wim Taymans <wim@fluendo.com>
16908 * gst/gstbin.c: (gst_bin_change_state_func):
16911 2005-11-21 Wim Taymans <wim@fluendo.com>
16913 * gst/gstsegment.h:
16914 And add a nice define too.
16916 2005-11-21 Wim Taymans <wim@fluendo.com>
16918 * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
16919 (gst_segment_new), (gst_segment_free), (gst_segment_init),
16920 (gst_segment_set_duration), (gst_segment_set_last_stop),
16921 (gst_segment_set_seek), (gst_segment_set_newsegment),
16922 (gst_segment_to_stream_time), (gst_segment_to_running_time),
16923 (gst_segment_clip):
16924 * gst/gstsegment.h:
16925 Make binding friendly.
16927 2005-11-21 Andy Wingo <wingo@pobox.com>
16929 * gst/gsttagsetter.h:
16930 * gst/gsttaglist.h:
16931 * gst/gststructure.h:
16933 * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
16936 * gst/gsterror.c (_gst_core_errors_init):
16937 * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
16940 * gst/Makefile.am (gst_headers): Add glib-compat.h.
16941 (noinst_HEADERS): noinst the -private.
16943 2005-11-21 Michael Smith <msmith@fluendo.com>
16946 * gst/gstregistry.h:
16947 Remove unimplemented declarations for which we can see no sensible
16950 2005-11-21 Andy Wingo <wingo@pobox.com>
16952 * gst/gst.h: Include glib-compat.h.
16954 * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
16956 * gst/glib-compat.c: Include the public and the private header.
16958 * gst/glib-compat-private.h: Copied here from glib-compat.h.
16962 * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
16964 * check/gst/gstevent.c (create_custom_events): Check that
16965 FLUSH_STOP is serialized.
16967 * check/elements/identity.c (event_func):
16968 * check/elements/fakesrc.c (event_func): No stream lock, the core
16971 * gst/base/gstbasetransform.c (gst_base_transform_event): No more
16972 stream lock taking, yay.
16974 * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
16975 ensure that core takes the stream lock.
16977 * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
16980 * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
16981 the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
16982 it already. For the flush start we do take it though so we get the
16983 right preroll state change messages.
16985 * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
16986 the stream lock here, the core does it for us.
16988 * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
16989 GST_STREAM_GET_LOCK.
16990 (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK)
16991 (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL)
16992 (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
16993 (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
16994 (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK)
16995 (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
16997 * gst/gstpad.c: Update for stream lock name change.
16999 * gst/base/gstbasesink.c: Update for preroll lock name change.
17001 2005-11-21 Wim Taymans <wim@fluendo.com>
17003 * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
17004 (gst_clock_get_master):
17006 * gst/gstsystemclock.c: (gst_system_clock_init):
17007 Convert Clock flags to object flags.
17008 Added methods to manage master/slave clocks.
17010 2005-11-21 Wim Taymans <wim@fluendo.com>
17012 * check/gst/gstsegment.c: (GST_START_TEST):
17013 * docs/design/part-TODO.txt:
17014 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17015 (gst_base_sink_event), (gst_base_sink_do_sync),
17016 (gst_base_sink_activate_pull), (gst_base_sink_get_position),
17017 (gst_base_sink_query), (gst_base_sink_change_state):
17018 * gst/base/gstbasesink.h:
17019 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
17020 (gst_base_src_default_newsegment),
17021 (gst_base_src_configure_segment), (gst_base_src_do_seek),
17022 (gst_base_src_get_range), (gst_base_src_loop),
17023 (gst_base_src_change_state):
17024 * gst/base/gstbasesrc.h:
17025 * gst/base/gstbasetransform.c:
17026 (gst_base_transform_prepare_output_buf),
17027 (gst_base_transform_event), (gst_base_transform_change_state):
17028 * gst/base/gstbasetransform.h:
17029 * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
17030 (gst_collect_pads_event):
17031 * gst/base/gstcollectpads.h:
17032 * gst/elements/gstfakesrc.c: (gst_fake_src_init),
17033 (gst_fake_src_create):
17034 * gst/elements/gstfakesrc.h:
17035 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
17036 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
17037 (gst_segment_set_last_stop), (gst_segment_set_seek),
17038 (gst_segment_set_newsegment), (gst_segment_to_stream_time),
17039 (gst_segment_to_running_time), (gst_segment_clip):
17040 * gst/gstsegment.h:
17041 More segment updates, replace code in plugins with segment
17044 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
17046 * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
17047 Don't ignore sscanf results
17049 2005-11-21 Andy Wingo <wingo@pobox.com>
17051 * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
17054 * *.c: Ran scripts/update-macros. Oh yes.
17056 * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
17057 (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
17060 * scripts/update-macros: New script. Run it on your files to
17061 change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
17064 2005-11-21 Stefan Kost <ensonic@users.sf.net>
17066 * docs/gst/Makefile.am:
17067 * docs/gst/gstreamer-docs.sgml:
17068 * docs/gst/gstreamer-sections.txt:
17069 * docs/gst/gstreamer.types:
17071 more docs fixes, add new api to the docs
17073 2005-11-21 Andy Wingo <wingo@pobox.com>
17075 * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
17076 state_broadcast call.
17078 * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
17080 2005-11-21 Julien MOUTTE <julien@moutte.net>
17082 * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
17083 function calls for arrays.
17085 2005-11-21 Stefan Kost <ensonic@users.sf.net>
17087 * docs/random/ensonic/media-device-daemon.txt:
17088 wild idea, can this be done?
17089 * docs/gst/gstreamer-sections.txt:
17094 * gst/gstpluginfeature.c:
17098 doc fixes and additions
17100 2005-11-21 Andy Wingo <wingo@pobox.com>
17102 * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL)
17103 (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND)
17104 (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK)
17105 (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
17106 private to the basesrc implementation.
17108 * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
17109 behalf of event function if necessary. It should no longer be
17110 necessary to take the stream lock in pad's event functions. Fixes
17113 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
17114 * docs/gst/gstreamer-sections.txt:
17115 * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
17116 (gst_structure_fixate_field_nearest_double),
17117 (gst_structure_fixate_field_boolean):
17118 * gst/gststructure.h:
17119 * win32/common/libgstreamer.def:
17120 * win32/gstreamer.def:
17122 Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
17125 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
17127 * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
17128 (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
17129 (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
17130 (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
17131 (gst_fdsrc_uri_handler_init):
17132 * gst/elements/gstfdsrc.h:
17133 Port fd:// URI handler from 0.8 to fdsrc
17135 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
17137 * gst/gstvalue.c: (gst_value_transform_fourcc_string),
17138 (gst_value_serialize_fourcc):
17140 Drop leading '%' from GST_FOURCC_FORMAT, thus making it
17141 consistent with our other format defines (#320324).
17143 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
17145 * gst/gstvalue.c: (gst_value_is_fixed):
17146 Revert previous commit. Value lists are by definition
17147 not fixed, as they are a list of possible values.
17149 2005-11-21 Andy Wingo <wingo@pobox.com>
17151 * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
17152 during the stable series if we need it. Fixes #319178.
17154 * gst/gstevent.c (gst_event_new_filler): Removed.
17156 * check/gst/gstevent.c: Update comment about filler events.
17158 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
17160 * gst/gstvalue.c: (gst_value_is_fixed):
17161 Should handle both value arrays and value lists.
17163 2005-11-21 Andy Wingo <wingo@pobox.com>
17165 patch by: Alessandro Dessina <alessandro nnva org>
17167 * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
17168 functions to access arrays. Fixes #321962.
17170 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
17172 * docs/gst/gstreamer.types:
17173 gst_collectpads_get_type => gst_collect_pads_get_type.
17175 * gst/base/gstbasetransform.c:
17176 Remove unused SIGNAL_HANDOFF enum.
17178 2005-11-21 Andy Wingo <wingo@pobox.com>
17180 * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
17181 the event type (upstream, downstream, serialized). Renamed
17182 GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
17183 (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
17184 CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
17186 * gst/gstevent.c: Update for new CUSTOM event names.
17188 * check/gst/gstevent.c: Update check for new CUSTOM event names.
17191 * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
17194 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
17196 * docs/gst/gstreamer-sections.txt:
17197 * win32/common/libgstbase.def:
17198 * win32/libgstbase.def:
17199 * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
17200 (gst_collect_pads_class_init), (gst_collect_pads_init),
17201 (gst_collect_pads_finalize), (gst_collect_pads_new),
17202 (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
17203 (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
17204 (gst_collect_pads_collect), (gst_collect_pads_collect_range),
17205 (gst_collect_pads_start), (gst_collect_pads_stop),
17206 (gst_collect_pads_peek), (gst_collect_pads_pop),
17207 (gst_collect_pads_available), (gst_collect_pads_read),
17208 (gst_collect_pads_flush), (gst_collect_pads_event),
17209 (gst_collect_pads_chain):
17210 * gst/base/gstcollectpads.h:
17211 Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
17212 unimplemented functions as unimplemented. Add padding to
17213 GstCollectData. (#320766, #320423)
17215 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
17217 * gst/gstmessage.c:
17218 Improve docs for DURATION message (usage of duration parameter)
17221 2005-11-20 Wim Taymans <wim@fluendo.com>
17223 * check/Makefile.am:
17224 * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
17228 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
17229 (gst_segment_set_seek), (gst_segment_set_newsegment),
17230 (gst_segment_to_stream_time), (gst_segment_to_running_time),
17231 (gst_segment_clip):
17232 * gst/gstsegment.h:
17233 Added segment helper structure and methods. Not fully implemented
17235 Added segment check.
17237 2005-11-20 Jan Schmidt <thaytan@mad.scientist.com>
17239 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
17240 Add a deserialisation test for fractions
17241 * examples/metadata/read-metadata.c: (message_loop),
17242 (make_pipeline), (main):
17243 Fix up metadata reading sample.
17244 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
17246 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
17247 Don't try and fixate empty caps
17248 * gst/gst_private.h:
17249 Wrap in G_BEGIN_DECLS/G_END_DECLS
17250 * gst/gstvalue.c: (gst_value_collect_fraction),
17251 (gst_value_set_fraction), (gst_value_get_fraction_denominator),
17252 (gst_value_transform_string_fraction),
17253 (gst_value_compare_fraction):
17254 Add some extra guards to ensure that we don't end up
17255 with an invalid denominator of 0 in a gstfraction and
17256 that fractions always get reduced.
17258 2005-11-20 Wim Taymans <wim@fluendo.com>
17260 * docs/gst/gstreamer-sections.txt:
17262 * gst/gstelement.c:
17271 2005-11-20 Wim Taymans <wim@fluendo.com>
17273 * docs/design/part-TODO.txt:
17275 Make a proper enum of the flag.
17277 2005-11-19 Wim Taymans <wim@fluendo.com>
17279 * docs/design/part-TODO.txt:
17280 * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
17281 (gst_format_to_quark), (gst_format_register):
17283 * gst/gstquery.c: (_gst_query_initialize),
17284 (gst_query_type_get_name), (gst_query_type_to_quark),
17285 (gst_query_type_register):
17287 Add type to quark and type to string conversions.
17289 2005-11-19 Andy Wingo <wingo@pobox.com>
17291 * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
17294 2005-11-19 Wim Taymans <wim@fluendo.com>
17296 * docs/design/part-TODO.txt:
17297 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
17298 (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
17299 (gst_bin_handle_message_func):
17301 Make message handling overridable.
17303 2005-11-19 Andy Wingo <wingo@pobox.com>
17305 * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
17308 * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
17310 (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
17311 is a GstClockTime. Fixes #321710.
17313 * gst/gstclock.h (GstClock): Remove offset property. Add
17314 internal_calibration and external_calibration. Fix padding. Pad
17315 also by GstClockTime so we don't run into problems.
17317 * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
17318 (gst_clock_get_rate_offset): Remove.
17319 (gst_clock_set_time_adjust): Remove. Fixes #321712.
17322 * gst/gstutils.c (g_static_rec_cond_wait)
17323 (g_static_rec_cond_timed_wait): Removed, no longer needed.
17325 * gst/gstbin.c: Remove terrible continue_state prototype.
17327 * gst/gstelement.h (gst_element_continue_state): Make public.
17329 * gst/gstelement.h:
17330 * gst/gstelement.c (gst_element_commit_state): Removed, replaced
17331 by continue_state. Fixes #319389.
17333 * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
17334 Really fixes #168438. However I don't see anywhere where the
17335 filter function is called... stupid GStreamer...
17337 * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
17338 don't have a dispose function, so it won't get called when the
17339 object is unreffed, but oh well!
17341 * gst/gstindex.c (gst_index_set_filter_full): New API function,
17342 allows a destroy function to be set so user_data can be freed.
17344 (gst_index_set_filter): Call gst_index_set_filter_full.
17346 * check/gst/gstvalue.c (test_string): Add test for bug #165650.
17348 * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
17349 string should produce an error, given the lack of a way to
17350 represent NULL strings. Fixes #165650.
17353 * gst/gstvalue.c (gst_value_array_append_value)
17354 (gst_value_array_prepend_value, gst_value_array_get_size)
17355 (gst_value_array_get_value): New API, copied from
17356 gst_value_list_*, only operates on arrays.
17357 (gst_value_list_append_value, gst_value_list_prepend_value)
17358 (gst_value_list_concat, gst_value_list_get_size)
17359 (gst_value_list_get_value): Only operate on lists. Fixes #156633.
17361 * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
17362 init_list, because it works on both.
17363 (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
17364 (gst_value_copy_list_or_array): Renamed from copy_list.
17365 (gst_value_free_list_or_array): Renamed from free_list.
17366 (gst_value_collect_list_or_array): Renamed from collect_list.
17367 (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
17368 (gst_value_list_or_array_peek_pointer): Renamed from
17370 (_gst_value_array_value_table, _gst_value_list_value_table):
17371 Update value table functions.
17372 (gst_value_compare_list_or_array): Renamed from compare_list.
17374 * gsttaglist.h: Whoops, foreach function returns void. Also fix
17377 * gst/gsttaglist.c:
17378 * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
17379 GstTagList*. Fixes #143472.
17381 * gst/gststructure.h: Clarify what the foreach/map functions can
17382 or can't do to their arguments.
17384 2005-11-18 Wim Taymans <wim@fluendo.com>
17386 * gst/gstclock.c: (gst_clock_set_calibration),
17387 (gst_clock_get_calibration):
17389 Calibration can be set with internal time equal to current
17392 2005-11-18 Thomas Vander Stichele <thomas at apestaart dot org>
17398 2005-11-18 Andy Wingo <wingo@pobox.com>
17401 * pkgconfig/gstreamer-net.pc.in:
17402 * pkgconfig/gstreamer-net-uninstalled.pc.in:
17403 * pkgconfig/Makefile.am: Add net pkgconfig files.
17405 2005-11-18 Stefan Kost <ensonic@users.sf.net>
17408 * gst/gstghostpad.c:
17414 2005-11-18 Andy Wingo <wingo@pobox.com>
17416 * gst/net/gstnetclientclock.c: Turn off debugging.
17418 * check/net/gstnetclientclock.c (test_functioning): Assert that the
17419 times connverge somewhat. Can't make a real test.
17421 * gst/net/gstnetclientclock.c (do_linear_regression): Use all
17422 integer arithmetic. Return the minimum of the domain, which can be
17423 set as "internal" for gst_clock_set_calibration.
17424 (gst_net_client_clock_observe_times): Call _set_calibration.
17425 (gst_net_client_clock_new): Call _set_calibration instead of
17428 * check/net/gstnetclientclock.c (test_functioning): Use the right
17432 * gst/gstclock.c (gst_clock_get_calibration)
17433 (gst_clock_set_calibration): New functions, obsolete the ones I
17434 added yesterday. Doh. Precision issues mean we have to extrapolate
17435 from a point in the more recent past than 1970.
17436 (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
17438 (gst_clock_adjust_unlocked): Use the right calibration data.
17440 2005-11-18 Edward Hervey <edward@fluendo.com>
17442 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
17443 Also reset the ->current_* values in READY->PAUSED
17445 2005-11-18 Andy Wingo <wingo@pobox.com>
17447 * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
17448 Whoops, check the right fd. Also add some debugging.
17449 (gst_net_client_clock_observe_times): Adjust for int64 offset.
17450 (do_linear_regression): Add a crapload of debugging. Subtract off
17451 the minimum values from the input series to discard unneeded bits.
17452 Use only int arithmetic. There is still double arithmetic when
17453 calculating the intercept that needs fixing. Return boolean to
17454 indicate success; FALSE would mean the domain or range is too
17455 great. Still needs fixes.
17457 2005-11-18 Wim Taymans <wim@fluendo.com>
17459 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
17460 For the current position in stream time, we need to subtract
17463 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
17464 Release lock before calling the callback function of async
17467 2005-11-18 Andy Wingo <wingo@pobox.com>
17469 * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
17470 Port goes all the way to MAXUINT16.
17472 * gst/net/gstnettimeprovider.c: Make the port range the same as
17473 for the kernel: 0 assigns, otherwise ports are less than
17476 * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
17479 * check/net/gstnetclientclock.c (test_functioning): Add the start
17482 2005-11-18 Wim Taymans <wim@fluendo.com>
17484 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
17485 (gst_bin_remove_func), (bin_bus_handler):
17487 Removing a clock provider from a bin, triggers a clock lost message
17488 so that a new clock will be selected.
17489 Adding a clock to a bin triggers a clock provider message.
17490 Make sure we reselect a clock when we received a clock lost message.
17491 Keep a reference to the element that provided the clock.
17493 2005-11-18 Andy Wingo <wingo@pobox.com>
17495 * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
17496 the clock initially so it produces values around the base time.
17497 (gst_net_client_clock_class_init): Typo fix.
17498 (gst_net_client_clock_thread): Add note on when the socket gets
17501 2005-11-17 Wim Taymans <wim@fluendo.com>
17503 * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
17504 Free remote and local time arrays.
17506 2005-11-17 Wim Taymans <wim@fluendo.com>
17508 * gst/net/gstnetclientclock.c: (do_linear_regression),
17509 (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
17510 Fix compilation, uninitialized vars and a forgotten continue.
17512 2005-11-17 Andy Wingo <wingo@pobox.com>
17514 * check/Makefile.am (check_PROGRAMS):
17515 * check/net/gstnetclientclock.c: Add a most minimal test for the
17516 net client clock. More to come later.
17518 * gst/net/gstnet.h:
17519 * gst/net/Makefile.am: Add netclientclock.
17521 * gst/net/gstnetclientclock.h:
17522 * gst/net/gstnetclientclock.c: New files, implement an untested
17523 GstClock that takes its time from a network time provider.
17524 Implements the algorithm in network-clock.scm.
17526 * tests/network-clock.scm (*window-size*): Rename from
17528 * tests/network-clock.scm (network-time):
17529 * tests/network-clock-utils.scm (q-push): Update callers.
17531 2005-11-17 Wim Taymans <wim@fluendo.com>
17533 * gst/gstbin.c: (gst_bin_provide_clock_func),
17534 (gst_bin_sort_iterator_new):
17535 And unref the child too..
17537 2005-11-17 Wim Taymans <wim@fluendo.com>
17539 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
17540 (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
17541 Refactor the sort iterator so it can be used while holding the
17543 Make clock selection select a clock closest to the source.
17545 2005-11-17 Michael Smith <msmith@fluendo.com>
17547 * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
17548 (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
17550 Anonymous structs are a gcc (and some other compilers) extension, so
17551 don't use them. Since this is only for ABI-compatibility, and our
17552 API/ABI freeze is over in a few days, this whole thing will only
17553 last a few days, so don't bother trying to think up a meaningful
17554 name for the struct.
17556 2005-11-17 Andy Wingo <wingo@pobox.com>
17558 * gst/gstclock.h (GstClock): Add rate and offset properties,
17559 preserving ABI stability. Add rate/offset accessors. Will file bug
17560 for the freeze break.
17562 * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
17563 and offset, trying to keep precision and avoiding
17564 underflow/overflow.
17565 (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
17566 functions. Make gst_clock_set_time_adjust obsolete.
17567 (gst_clock_set_time_adjust): Note that this function is obsolete.
17568 Will file bug soon.
17570 * gst/base/gstbasetransform.h: Make the ABI-stability hack
17571 greppable by using GST_PADDING-1+1.
17573 2005-11-17 Torsten Schoenfeld <kaffeetisch at gmx dot net>
17575 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
17577 * gst/gstmessage.c: (gst_message_parse_clock_lost):
17578 Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
17580 * gst/gstpadtemplate.h:
17581 * gst/gstpluginfeature.h:
17582 Don't use c++ style comments in headers (#321638).
17584 2005-11-16 Andy Wingo <wingo@pobox.com>
17586 * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
17589 * check/net/gstnettimeprovider.c: Check to see that the time
17590 provider actually provides times. Works, yo!
17592 2005-11-16 Wim Taymans <wim@fluendo.com>
17594 * check/Makefile.am:
17597 * check/elements/fakesrc.c: (GST_START_TEST):
17598 Set element to NULL before disposing it.
17600 2005-11-16 Andy Wingo <wingo@pobox.com>
17602 * gst/net/Makefile.am:
17603 * gst/net/gstnet.h:
17604 * gst/net/gstnettimeprovider.c:
17605 * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
17606 provider, include it from gstnet.h, and add it to the build.
17608 * gst/net/gstnettimepacket.h:
17609 * gst/net/gstnettimepacket.c: New files, abstracts out the packet
17610 sending and receiving.
17612 2005-11-16 Wim Taymans <wim@fluendo.com>
17614 * check/Makefile.am:
17615 Enable valgrind check.
17617 * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
17618 (gst_fake_src_alloc_buffer):
17621 2005-11-16 Wim Taymans <wim@fluendo.com>
17623 * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
17624 Call parent finalize too.
17626 2005-11-16 Wim Taymans <wim@fluendo.com>
17628 * check/Makefile.am:
17629 Enable valgrind check that should work fine now.
17631 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
17632 * gst/gstqueue.c: (gst_queue_init):
17633 Fix memleaks in pad allocation.
17635 2005-11-16 Andy Wingo <wingo@pobox.com>
17637 * gst/net/Makefile.am:
17638 * gst/net/gstnet.h: New part of core to hold network elements and
17639 objects. Put in core because it exposes API that applications want
17640 to use. The library is named libgstnet-tempname right now because
17641 of the existing libgstnet in gst-plugins-base. Solution is
17642 probably to rename the one in plugins-base; will file a bug for
17645 * gst/net/gstnettimeprovider.c:
17646 * gst/net/gstnettimeprovider.h: New object to export a GstClock's
17647 get_time call over the network.
17650 * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
17652 * check/Makefile.am:
17653 * check/net/gstnettimeprovider.c: A most minimal test suite. Will
17654 get additions shortly.
17656 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
17658 * gst/gstpad.c: (gst_pad_new_from_static_template):
17660 add gst_pad_new_from_static_template functions
17661 * gst/check/gstcheck.c: (gst_check_setup_src_pad),
17662 (gst_check_setup_sink_pad):
17663 * gst/elements/gsttee.c: (gst_tee_init):
17666 2005-11-16 Wim Taymans <wim@fluendo.com>
17668 * gst/gstpad.c: (gst_pad_pause_task):
17669 Removed warning, it's not really an error either.
17671 2005-11-16 Wim Taymans <wim@fluendo.com>
17673 * gst/base/gstbasetransform.c:
17674 (gst_base_transform_prepare_output_buf),
17675 (gst_base_transform_event):
17676 Check if the caps are NULL, this can happen if the element
17677 is shutting down and the pad caps are set to NULL.
17679 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
17681 * gst/elements/gsttee.c: (gst_tee_init):
17682 fix pad template leak in tee
17684 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
17686 * gst/glib-compat.c: (g_value_dup_gst_object):
17687 * gst/glib-compat.h:
17688 * gst/gstpad.c: (gst_pad_set_property):
17689 use gst_object_ref when setting the pad template; this will
17690 trigger the pad template leaks on GLib 2.6 and the slaves
17692 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
17694 * gst/glib-compat.c: (gst_flags_get_first_value):
17695 * gst/glib-compat.h:
17696 * gst/gstregistryxml.c:
17697 remove functions copied from GLib 2.6
17699 2005-11-16 Michael Smith <msmith@fluendo.com>
17702 Don't link against VALGRIND_LIBS. That was always the wrong thing to
17703 do, but only breaks with newer valgrind versions. We're not a
17704 valgrind tool, we have no link-time dependencies on libcoregrind.
17706 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
17708 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
17710 * gst/gstmessage.h:
17713 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
17715 * gst/base/gstbasesrc.c: (gst_base_src_init):
17716 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
17717 * gst/gstqueue.c: (gst_queue_init):
17718 * gst/gstregistryxml.c: (load_feature):
17719 Revert all these unrefs, they don't even pass make check !
17721 2005-11-15 Johan Dahlin <johan@gnome.org>
17723 * gst/base/gstbasesrc.c: (gst_base_src_init):
17724 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
17725 * gst/gstqueue.c: (gst_queue_init):
17726 Free pad templates, fixes a couple of leaks.
17728 2005-11-15 Daniel Fischer <dan at f3c dot com>
17730 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
17732 * gst/gstpad.c: (gst_pad_get_property):
17733 GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
17734 GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
17737 2005-11-15 Wim Taymans <wim@fluendo.com>
17742 2005-11-15 Andy Wingo <wingo@pobox.com>
17744 * gst/gstelement.c (gst_element_set_base_time): Add debugging.
17746 * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
17747 using GST_CLOCK_TIME_NONE to disable base time management.
17748 (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
17749 time if it was NONE before.
17750 (gst_pipeline_change_state): Only munge the base time if
17751 stream_time != GST_CLOCK_TIME_NONE.
17753 * check/gst/gstpipeline.c (test_base_time): Punt around the
17754 problem of the probe not being called, because that's not the
17755 issue I'm looking at. Add a check that setting stream_time to NONE
17756 disables base time management.
17758 2005-11-15 Wim Taymans <wim@fluendo.com>
17760 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
17761 segment_stop == -1 at startup.
17763 * gst/base/gstbasetransform.c: (gst_base_transform_event),
17764 (gst_base_transform_change_state):
17765 Init segment values at start.
17767 2005-11-15 Wim Taymans <wim@fluendo.com>
17769 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
17770 0 segment values are 0 in any format.
17772 * gst/base/gstbasetransform.c: (gst_base_transform_event):
17773 * gst/base/gstbasetransform.h:
17774 Parse newsegment correctly in basetransform
17776 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
17777 Sync to clock using updated segment values.
17779 2005-11-15 Andy Wingo <wingo@pobox.com>
17781 * check/gst/gstpipeline.c (test_base_time): Add check that the
17782 base time and stream time are reset correctly.
17784 2005-11-15 Wim Taymans <wim@fluendo.com>
17786 * docs/design/part-TODO.txt:
17787 Some more TODO items.
17789 2005-11-15 Andy Wingo <wingo@pobox.com>
17791 * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
17792 error if the user selected "no clock" as the clocking method.
17794 * check/gst/gstpipeline.c (test_base_time): New test for buffer
17795 timestamps with live capture.
17797 * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
17798 is 0 but we are a live source, timestamp the buffers using the
17801 2005-11-14 Stefan Kost <ensonic@users.sf.net>
17803 * docs/gst/gstreamer-sections.txt:
17805 * gst/gstghostpad.c:
17810 2005-11-14 Wim Taymans <wim@fluendo.com>
17813 add suppressions from Wim's Debian machine
17815 2005-11-14 Thomas Vander Stichele <thomas at apestaart dot org>
17818 add suppressions from Andy's AMD64 Ubuntu machine
17820 2005-11-14 Andy Wingo <wingo@pobox.com>
17822 * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
17823 STATE_LOCK not necessary. Fixes #311489.
17825 * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
17828 * gst/gstindex.c (gst_index_add_object): Note in the docs that
17829 this function is not implemented.
17831 2005-11-14 Julien MOUTTE <julien@moutte.net>
17833 * gst/base/gstbasetransform.c:
17834 (gst_base_transform_prepare_output_buf):
17835 Ref the source pad caps while we need them.
17838 2005-11-11 Wim Taymans <wim@fluendo.com>
17840 * docs/gst/gstreamer-sections.txt:
17841 Added some docs for GstCollectData.
17843 * gst/base/gstadapter.c:
17844 Some small code example fix.
17846 * gst/base/gstcollectpads.c:
17847 * gst/base/gstcollectpads.h:
17848 Document some more.
17850 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
17852 * configure.ac: back to HEAD
17854 === release 0.9.5 ===
17856 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
17859 releasing 0.9.5, "Bike Lunch Day"
17861 2005-11-11 Wim Taymans <wim@fluendo.com>
17863 * gst/gstbuffer.c: (_gst_buffer_copy):
17866 * gst/gstcaps.c: (gst_caps_is_equal):
17868 Make _is_equal fast in the trivial cases.
17870 * gst/gstminiobject.c:
17871 * gst/gstminiobject.h:
17872 More docs. Spifify .h file.
17877 2005-11-11 Wim Taymans <wim@fluendo.com>
17879 * gst/base/gstbasetransform.c:
17880 (gst_base_transform_prepare_output_buf),
17881 (gst_base_transform_handle_buffer):
17883 If we're processing a buffer and need to allocate an output
17884 buffer, we cannot accept a format change. If we did get a
17885 format change, we have to alloc a buffer ourselves of the
17888 2005-11-11 Wim Taymans <wim@fluendo.com>
17890 * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
17891 While checking the flag for reentrancy in the gstcaps function
17892 is nice to detect recursive invocations, it also makes it
17893 impossible to call getcaps from multiple threads, which must be
17894 possible. So, checking for recursive calls has to go.
17896 2005-11-11 Michael Smith <msmith@fluendo.com>
17898 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
17899 Don't sync on buffers that fall partially outside our current
17900 segment. Prevents an assertion failure/abort playing some files.
17902 2005-11-10 Andy Wingo <wingo@pobox.com>
17904 * check/gst/gstbin.c (test_message_state_changed_children): Style
17907 * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
17908 gst_bus_poll with the signal watch. Ensures that poll and a signal
17909 watch see the same messages.
17911 * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
17912 a poll and a watch at the same time get the same messages.
17914 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
17916 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
17917 * gst/gstcaps.c: (gst_caps_intersect):
17918 Don't call gst_caps_do_simplify - it doesn't respect order of caps
17919 and it's not needed.
17921 2005-11-10 Wim Taymans <wim@fluendo.com>
17923 * docs/design/part-TODO.txt:
17926 2005-11-10 Wim Taymans <wim@fluendo.com>
17928 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
17929 * gst/base/gstbasesrc.c: (gst_base_src_wait),
17930 (gst_base_src_do_sync), (gst_base_src_get_range):
17931 Implement clock sync in base class.
17933 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
17935 patch by: Tim-Philipp Müller <tim at centricular dot net>
17937 * gst/gststructure.c: (gst_structure_parse_field),
17938 (gst_structure_from_string):
17939 Forward-port a 0.8 patch to handle escaped spaces in structure string,
17940 so that gst_parse_launch() can deal with spaces in filtered link
17941 caps (fixes #164479)
17942 * check/gst/capslist.h:
17943 * check/gst/gststructure.c: (GST_START_TEST):
17944 add unit tests for this change
17946 2005-11-10 Wim Taymans <wim@fluendo.com>
17948 * docs/gst/gstreamer-sections.txt:
17949 * gst/gstelement.c:
17950 * gst/gstelement.h:
17951 Fix docs, move some STATE macros to private.
17953 2005-11-10 Wim Taymans <wim@fluendo.com>
17955 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
17956 Added check for bug #317341
17960 Some more spiffifying.
17962 * gst/gstghostpad.c: (gst_ghost_pad_do_link):
17963 Call peer linkfunction if we are a source pad. Totally fixes
17967 Update docs, source pads should call the peer linkfunction
17968 so they can atomically perform the pad link.
17970 2005-11-09 Wim Taymans <wim@fluendo.com>
17974 Uber-spiffy-spiffify some more.
17976 2005-11-09 Tim-Philipp Müller <tim at centricular dot net>
17978 * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
17979 * gst/elements/gstfilesink.c: (gst_file_sink_init):
17980 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
17981 * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
17982 (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
17983 * gst/gstpad.c: (gst_pad_init):
17984 Use GST_DEBUG_FUNCPTR() more extensively.
17986 2005-11-09 Wim Taymans <wim@fluendo.com>
17988 * gst/gstobject.c: (gst_object_class_init):
17990 Documentation fixes.
17992 2005-11-09 Edward Hervey <edward@fluendo.com>
17994 * gst/gsttypefindfactory.c:
17997 2005-11-09 Edward Hervey <edward@fluendo.com>
17999 * gst/base/gsttypefindhelper.c:
18000 * gst/gsttypefind.c:
18001 * gst/gsttypefind.h:
18004 2005-11-09 Wim Taymans <wim@fluendo.com>
18006 * gst/gstiterator.c:
18013 2005-11-09 Wim Taymans <wim@fluendo.com>
18019 2005-11-09 Wim Taymans <wim@fluendo.com>
18021 * docs/gst/gstreamer-sections.txt:
18022 Moved the message async delivery private lock and cond
18023 to the private section.
18025 * gst/gstmessage.c:
18026 * gst/gstmessage.h:
18029 2005-11-09 Edward Hervey <edward@fluendo.com>
18031 * docs/gst/gstreamer-sections.txt:
18034 Document GstURIHandler
18036 2005-11-09 Wim Taymans <wim@fluendo.com>
18038 * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
18039 (gst_iterator_find_custom):
18040 * gst/gstiterator.h:
18043 2005-11-09 Wim Taymans <wim@fluendo.com>
18046 Document another field.
18048 * gst/gststructure.c:
18049 * gst/gststructure.h:
18052 2005-11-09 Wim Taymans <wim@fluendo.com>
18055 Documented structs.
18057 2005-11-09 Wim Taymans <wim@fluendo.com>
18059 * docs/gst/gstreamer-sections.txt:
18060 Added some new macros.
18067 2005-11-09 Wim Taymans <wim@fluendo.com>
18069 * docs/design/part-TODO.txt:
18070 Some more items for the TODO
18076 2005-11-09 Andy Wingo <wingo@pobox.com>
18078 * gst/base/gstbasesink.c: Add the beginning of docs here -- have
18079 to work on something else now tho...
18081 * gst/base/gstadapter.c: More adapter docs.
18083 * gst/elements/gstfilesink.c (gst_file_sink_start)
18084 (gst_file_sink_stop): New functions, replace the state change
18086 (gst_file_sink_class_init): Hook up the start and stop functions.
18087 (gst_file_sink_base_init): Don't set the state change handler any
18088 more. It was a bit ugly too, being set from here...
18089 (gst_file_sink_get_property, gst_file_sink_set_property):
18091 (gst_file_sink_set_location): More robust check that doesn't call
18092 GST_STATE. Ugggggg.
18094 2005-11-08 Tim-Philipp Müller <tim at centricular dot net>
18096 * gst/base/gstbasetransform.c: (gst_base_transform_event):
18097 Hold STREAM_LOCK while pushing newsegment or tag events as well.
18099 2005-11-08 Wim Taymans <wim@fluendo.com>
18101 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
18102 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
18103 (gst_base_sink_chain), (gst_base_sink_change_state):
18104 * gst/base/gstbasesink.h:
18105 * gst/base/gstbasesrc.h:
18106 * gst/gstelement.h:
18108 Avoid excessive typechecking in macros.
18110 * gst/gstminiobject.c: (gst_mini_object_get_type),
18111 (gst_mini_object_init), (gst_mini_object_new),
18112 (gst_mini_object_free):
18113 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
18114 (gst_object_finalize):
18115 Remove cruft code, optimize alloc_trace.
18117 2005-11-07 Thomas Vander Stichele <thomas at apestaart dot org>
18119 * docs/faq/gst-uninstalled:
18120 fix up PS1 for systems that try to reset it
18122 2005-11-07 Wim Taymans <wim@fluendo.com>
18124 * gst/base/gstbasesrc.c: (gst_base_src_init),
18125 (gst_base_src_get_range):
18126 Set the segment_end to -1 initially. Fixed typefind.
18128 2005-11-07 Tim-Philipp Müller <tim at centricular dot net>
18130 * gst/base/gstadapter.c:
18131 Debug category should be 'adapter', not 'GstAdapter'.
18133 * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
18134 (gst_collectpads_class_init), (gst_collectpads_init),
18135 (gst_collectpads_peek), (gst_collectpads_pop),
18136 (gst_collectpads_event), (gst_collectpads_chain):
18137 Add debug category and some debugging output. Use boilerplate
18138 macros. Remove some extraneous words from docs.
18140 2005-11-05 Andy Wingo <wingo@pobox.com>
18142 * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
18145 2005-11-04 Stefan Kost <ensonic@users.sf.net>
18147 * docs/gst/gstreamer-sections.txt:
18150 * gst/gstminiobject.h:
18155 2005-11-04 Wim Taymans <wim@fluendo.com>
18157 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
18158 Small update to stop at the configured segment_end
18161 2005-11-04 Stefan Kost <ensonic@users.sf.net>
18163 * gst/gstregistry.c:
18164 * gst/gstregistry.h:
18167 2005-11-04 Edward Hervey <edward@fluendo.com>
18169 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
18170 Check if we are doing a segment seek and have arrived at the
18171 end of that segment.
18173 2005-11-04 Wim Taymans <wim@fluendo.com>
18175 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
18176 Don't leak a mutex unlock in case of an error.
18181 2005-11-04 Wim Taymans <wim@fluendo.com>
18183 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
18185 Get the context to wake up only once.
18187 2005-11-03 Wim Taymans <wim@fluendo.com>
18189 * check/states/sinks.c: (GST_START_TEST):
18190 Uncomment fixed check.
18192 * docs/design/part-TODO.txt:
18195 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
18196 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
18197 (gst_base_sink_get_position):
18198 If we are going to PLAYING, post the right pending state
18199 when we post the intermediate paused message.
18201 * gst/gstelement.c: (gst_element_continue_state),
18202 (gst_element_set_state_func), (gst_element_change_state):
18203 Don't post state changes that were between the same state
18204 and were not ASYNC.
18206 2005-11-03 Stefan Kost <ensonic@users.sf.net>
18208 * docs/gst/gstreamer-sections.txt:
18211 * gst/gstminiobject.h:
18214 more docs and doc style fixes
18216 2005-11-03 Stefan Kost <ensonic@users.sf.net>
18218 * docs/gst/gstreamer-sections.txt:
18219 * gst/gstelement.c:
18220 * gst/gstminiobject.c:
18223 2005-11-03 Andy Wingo <wingo@pobox.com>
18225 * check/states/sinks.c (test_livesrc_sink): Add checks that the
18226 state-changed messages actually have the right order and the right
18229 2005-11-03 Wim Taymans <wim@fluendo.com>
18231 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
18232 Added some more checks. Specifically the case where NO_PREROLL
18233 elements are in the pipeline.
18235 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
18236 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
18237 (gst_base_sink_get_position):
18238 Post READY->PAUSED state change messages too.
18239 Fix bug where VOID was posted as pending state...
18241 * gst/gstbin.c: (gst_bin_recalc_state):
18242 use _element_continue_state() to continue the state change.
18244 * gst/gstelement.c: (gst_element_continue_state),
18245 (gst_element_commit_state), (gst_element_set_state_func),
18246 (gst_element_change_state), (gst_element_change_state_func):
18247 Lots of state change cleanups, assign the STATE_RETURN in
18248 a new continue_state() function that also propagates the
18249 last return value from a state change to the app.
18250 Update some debug statements with proper category.
18252 2005-11-03 Wim Taymans <wim@fluendo.com>
18254 * docs/design/part-events.txt:
18255 * docs/design/part-gstpipeline.txt:
18256 * docs/design/part-messages.txt:
18257 * docs/design/part-overview.txt:
18258 * docs/design/part-seeking.txt:
18259 * docs/design/part-states.txt:
18260 * docs/design/part-trickmodes.txt:
18261 * docs/manual/advanced-position.xml:
18262 Small docs updates.
18265 People think !! is ugly, this looks better.
18267 * gst/gstpad.c: (gst_pad_set_blocked_async):
18268 Remove !! since it's fixed elsewhere now.
18270 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
18272 * gst/gstminiobject.h:
18274 Add !! to _FLAG_IS_SET macros to make the result boolean.
18276 2005-11-03 Edward Hervey <edward@fluendo.com>
18278 * gst/gstpad.c: (gst_pad_set_blocked_async):
18279 comparing a flag and a gboolean rarely returns coherent results...
18280 Added two characters (!!) to make that work correctly.
18282 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
18284 * gst/gstbus.c: (gst_bus_class_init):
18287 * gst/gstqueue.c: (gst_queue_loop):
18288 Don't assume a miniobject that isn't a buffer is an
18289 event (it could be that there is a refcounting
18290 problem somewhere and the pointer is stale and
18291 refers to an already destroyed miniobject).
18293 2005-11-03 Julien MOUTTE <julien@moutte.net>
18295 * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
18297 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
18299 * docs/manual/advanced-position.xml:
18300 Update seek example and explanations to current 0.9 API.
18302 * gst/elements/gsttypefindelement.c:
18303 (gst_type_find_element_activate):
18304 Remove FIXME comment now that the found caps
18307 2005-11-03 Thomas Vander Stichele <thomas at apestaart dot org>
18309 * gst/gstregistryxml.c: (load_feature):
18310 Add another GST_STR_NULL instance
18312 2005-11-02 Edward Hervey <edward@fluendo.com>
18314 * gst/gstpad.c: (handle_pad_block):
18315 Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
18317 2005-11-02 Wim Taymans <wim@fluendo.com>
18322 * gst/gstelement.c: (gst_element_commit_state):
18323 Remove unused value.
18325 * gst/gstiterator.c:
18326 Mention that the returned element is reffed in the docs.
18328 2005-11-02 Wim Taymans <wim@fluendo.com>
18330 * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
18331 (gst_pad_push), (gst_pad_push_event):
18332 Unlock blocked pads when they are flushed.
18334 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
18337 * docs/gst/gstreamer-sections.txt:
18340 * gst/gstregistry.c: (gst_registry_scan_path_level):
18341 fix for a nasty little missed situation where an installed plug-in
18342 which was in the cache did not get overridden by an uninstalled one
18343 which was earlier in the plugin path because the newly created plugin
18344 for the uninstalled one (not in the registry) didn't get its
18345 ->registered set to TRUE
18347 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
18349 * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
18350 (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
18351 (gst_collectpads_is_active), (gst_collectpads_collect),
18352 (gst_collectpads_collect_range), (gst_collectpads_start),
18353 (gst_collectpads_stop), (gst_collectpads_peek),
18354 (gst_collectpads_pop), (gst_collectpads_available),
18355 (gst_collectpads_read), (gst_collectpads_flush):
18356 Guard public API with assertions.
18359 Fix docs for gst_pad_set_link_function().
18361 2005-11-02 Johan Dahlin <johan@gnome.org>
18363 * gst/elements/gsttypefindelement.c (gst_type_find_element_activate):
18364 Unref found_caps after we used it.
18366 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
18368 * gst/base/gstcollectpads.c: (gst_collectpads_peek):
18369 Don't try to ref NULL.
18371 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
18373 * win32/common/config.h.in:
18374 provide a GST_FUNCTION that just gives a string for now
18376 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
18378 * win32/common/gstenumtypes.c: (register_gst_object_flags),
18379 (gst_object_flags_get_type), (register_gst_bin_flags),
18380 (gst_bin_flags_get_type), (register_gst_buffer_flag),
18381 (gst_buffer_flag_get_type), (register_gst_bus_flags),
18382 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
18383 (gst_bus_sync_reply_get_type), (register_gst_clock_return),
18384 (gst_clock_return_get_type), (register_gst_clock_entry_type),
18385 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
18386 (gst_clock_flags_get_type), (register_gst_state),
18387 (gst_state_get_type), (register_gst_state_change_return),
18388 (gst_state_change_return_get_type), (register_gst_state_change),
18389 (gst_state_change_get_type), (register_gst_element_flags),
18390 (gst_element_flags_get_type), (register_gst_core_error),
18391 (gst_core_error_get_type), (register_gst_library_error),
18392 (gst_library_error_get_type), (register_gst_resource_error),
18393 (gst_resource_error_get_type), (register_gst_stream_error),
18394 (gst_stream_error_get_type), (register_gst_event_type),
18395 (gst_event_type_get_type), (register_gst_seek_type),
18396 (gst_seek_type_get_type), (register_gst_seek_flags),
18397 (gst_seek_flags_get_type), (register_gst_format),
18398 (gst_format_get_type), (register_gst_index_certainty),
18399 (gst_index_certainty_get_type), (register_gst_index_entry_type),
18400 (gst_index_entry_type_get_type),
18401 (register_gst_index_lookup_method),
18402 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
18403 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
18404 (gst_index_resolver_method_get_type), (register_gst_index_flags),
18405 (gst_index_flags_get_type), (register_gst_debug_level),
18406 (gst_debug_level_get_type), (register_gst_debug_color_flags),
18407 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
18408 (gst_iterator_result_get_type), (register_gst_iterator_item),
18409 (gst_iterator_item_get_type), (register_gst_message_type),
18410 (gst_message_type_get_type), (register_gst_mini_object_flags),
18411 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
18412 (gst_pad_link_return_get_type), (register_gst_flow_return),
18413 (gst_flow_return_get_type), (register_gst_activate_mode),
18414 (gst_activate_mode_get_type), (register_gst_pad_direction),
18415 (gst_pad_direction_get_type), (register_gst_pad_flags),
18416 (gst_pad_flags_get_type), (register_gst_pad_presence),
18417 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
18418 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
18419 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
18420 (gst_plugin_error_get_type), (register_gst_plugin_flags),
18421 (gst_plugin_flags_get_type), (register_gst_rank),
18422 (gst_rank_get_type), (register_gst_query_type),
18423 (gst_query_type_get_type), (register_gst_tag_merge_mode),
18424 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
18425 (gst_tag_flag_get_type), (register_gst_task_state),
18426 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
18427 (gst_alloc_trace_flags_get_type),
18428 (register_gst_type_find_probability),
18429 (gst_type_find_probability_get_type), (register_gst_uri_type),
18430 (gst_uri_type_get_type), (register_gst_parse_error),
18431 (gst_parse_error_get_type):
18432 * win32/common/gstversion.h:
18433 update win32 copies
18435 2005-11-01 Luca Ognibene <luogni@tin.it>
18438 fix docs. popt is dead, long live GOption.
18440 2005-10-31 Wim Taymans <wim@fluendo.com>
18445 2005-10-31 Andy Wingo <wingo@pobox.com>
18449 * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
18451 * gst/gstobject.c (gst_object_dispatch_properties_changed): No
18452 need to serialize property notifications on GLib 2.8. GLib 2.6 has
18453 the possibility of deadlocks here if code calling notify() or
18454 set() has a lock that can be taken in another notify handler (ABBA
18455 with class lock and e.g. python GIL state lock).
18457 2005-10-28 Julien MOUTTE <julien@moutte.net>
18459 * gst/gstbus.c: Doc updates.
18461 2005-10-28 Wim Taymans <wim@fluendo.com>
18463 * docs/design/part-TODO.txt:
18464 * gst/gstiterator.c:
18465 * gst/gstsystemclock.c:
18466 * gst/gstsystemclock.h:
18469 2005-10-28 Edward Hervey <edward@fluendo.com>
18471 * docs/gst/gstreamer-docs.sgml:
18472 * docs/gst/gstreamer-sections.txt:
18473 the GstURIType documentation page is private, it only defines GstURIType
18474 which should be defined in the GstURIHandler page
18476 2005-10-28 Thomas Vander Stichele <thomas at apestaart dot org>
18478 * gst/gstbin.c: (gst_bin_class_init):
18481 Documentation updates.
18483 2005-10-28 Wim Taymans <wim@fluendo.com>
18485 * docs/gst/gstreamer-sections.txt:
18488 Documented the clocks.
18490 2005-10-28 Stefan Kost <ensonic@users.sf.net>
18492 * docs/gst/gstreamer-sections.txt:
18493 move some macros to private sections
18494 * gst/gstminiobject.c:
18495 * gst/gstminiobject.h:
18496 add descriptions provided by ds and some more
18498 mark macro as to be removed
18500 2005-10-28 Wim Taymans <wim@fluendo.com>
18502 * docs/design/part-TODO.txt:
18503 Add an item to TODO.
18505 * gst/gstiterator.c: (gst_iterator_fold),
18506 (gst_iterator_find_custom):
18507 * gst/gstiterator.h:
18510 2005-10-28 Wim Taymans <wim@fluendo.com>
18512 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
18513 (gst_base_transform_init):
18516 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
18517 An EOS event marks the queue as completely filled.
18519 2005-10-27 Wim Taymans <wim@fluendo.com>
18521 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18522 (gst_base_sink_do_sync), (gst_base_sink_get_position):
18523 Some more debugging.
18525 * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
18526 (gst_base_transform_init), (gst_base_transform_buffer_alloc),
18527 (gst_base_transform_event), (gst_base_transform_getrange),
18528 (gst_base_transform_chain):
18529 * gst/base/gstbasetransform.h:
18531 Protect transform and concurrent buffer alloc with a new lock.
18532 Try not to break ABI/API.
18534 2005-10-27 Wim Taymans <wim@fluendo.com>
18536 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
18537 (gst_base_src_init), (gst_base_src_query),
18538 (gst_base_src_default_newsegment),
18539 (gst_base_src_configure_segment), (gst_base_src_do_seek),
18540 (gst_base_src_send_event), (gst_base_src_event_handler),
18541 (gst_base_src_pad_get_range), (gst_base_src_loop),
18542 (gst_base_src_unlock), (gst_base_src_default_negotiate),
18543 (gst_base_src_start), (gst_base_src_deactivate),
18544 (gst_base_src_activate_push), (gst_base_src_change_state):
18545 Move some stuff around and cleanup things.
18547 2005-10-27 Tim-Philipp Müller <tim at centricular dot net>
18549 * gst/base/gstbasesrc.c: (gst_base_src_query):
18550 Add missing break statements.
18552 2005-10-27 Wim Taymans <wim@fluendo.com>
18554 * check/gst/gstbin.c: (GST_START_TEST):
18555 An extra refcount is taken in basesrc.
18557 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
18558 (gst_base_src_get_range), (gst_base_src_pad_get_range),
18559 (gst_base_src_loop):
18560 Small cleanups, check for flushing after being unlocked from the
18561 LIVE_LOCK. take refcounts correctly (not yet everywhere).
18562 Don't send out EOS when going to READY.
18564 2005-10-27 Wim Taymans <wim@fluendo.com>
18566 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18567 (gst_base_sink_get_position):
18570 * gst/gstbin.c: (message_check), (bin_replace_message),
18571 (bin_remove_messages), (is_eos), (gst_bin_add_func),
18572 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
18573 (bin_query_duration_init), (bin_query_duration_fold),
18574 (bin_query_duration_done), (bin_query_generic_fold),
18576 * tools/gst-launch.c: (main):
18579 2005-10-26 Stefan Kost <ensonic@users.sf.net>
18581 * examples/controller/audio-example.c: (main):
18582 * examples/queue/queue.c: (event_loop):
18583 * gst/base/gstbasetransform.h:
18584 * gst/gstelement.c: (gst_element_send_event):
18586 * gst/gstpad.c: (gst_pad_send_event):
18589 changing log priority in error situations
18591 2005-10-25 Wim Taymans <wim@fluendo.com>
18593 * gst/gstbin.c: (message_check), (bin_replace_message),
18594 (bin_remove_messages), (is_eos), (gst_bin_add_func),
18595 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
18596 (bin_query_duration_init), (bin_query_duration_fold),
18597 (bin_query_duration_done), (bin_query_generic_fold),
18599 Some doc and debug updates.
18600 Cache previously requested query DURATION for speed. invalidate
18601 cached duration if element posts a DURATION message.
18603 2005-10-25 Wim Taymans <wim@fluendo.com>
18605 * docs/design/part-TODO.txt:
18608 * gst/gstbin.c: (message_check), (bin_replace_message),
18609 (bin_remove_messages), (is_eos), (gst_bin_add_func),
18610 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
18611 (bin_query_duration_init), (bin_query_duration_fold),
18612 (bin_query_duration_done), (bin_query_generic_fold),
18614 Handle SEGMENT_START/DONE messages correctly.
18615 More evolved query algorithm that handles duration queries
18618 * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
18619 (gst_element_get_state_func), (gst_element_abort_state),
18620 (gst_element_commit_state), (gst_element_lost_state):
18621 Some more debugging.
18623 * gst/gstmessage.h:
18626 2005-10-25 Wim Taymans <wim@fluendo.com>
18628 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
18629 Don't use invalid stream_time.
18631 * gst/gstevent.c: (gst_event_new_newsegment):
18632 stream_time in newsegment cannot be undefined.
18634 2005-10-24 Wim Taymans <wim@fluendo.com>
18639 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
18641 Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
18643 2005-10-24 Stefan Kost <ensonic@users.sf.net>
18645 * docs/libs/tmpl/gstdparam.sgml:
18646 * docs/libs/tmpl/gstdplinint.sgml:
18647 * docs/libs/tmpl/gstdpman.sgml:
18648 * docs/libs/tmpl/gstdpsmooth.sgml:
18649 * docs/libs/tmpl/gstunitconvert.sgml:
18652 2005-10-24 Thomas Vander Stichele <thomas at apestaart dot org>
18657 === release 0.9.4 ===
18659 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
18662 releasing 0.9.4, "Tyrannosaurus Rex"
18664 2005-10-23 Tim-Philipp Müller <tim at centricular dot net>
18666 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
18667 (gst_file_sink_get_current_offset):
18668 Use fseeko() and ftello() if available. When falling back on
18669 lseek() to get the current offset, fflush() first to make sure
18670 everything is up-to-date and we get the right offset.
18672 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
18674 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
18675 * gst/base/gstbasesrc.c: (gst_base_src_loop):
18676 * gst/gsterror.c: (_gst_stream_errors_init):
18678 * gst/gstqueue.c: (gst_queue_loop):
18680 remove prematurely added error category and clean up the instances
18682 2005-10-21 Wim Taymans <wim@fluendo.com>
18684 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
18685 (gst_base_sink_get_position), (gst_base_sink_query),
18686 (gst_base_sink_change_state):
18687 Simply set the right flag when going to playing, that's all
18688 we need to do instead of calling a function inside the object
18689 lock (that could take the lock as well and deadlock)
18691 2005-10-21 Wim Taymans <wim@fluendo.com>
18693 * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
18694 (gst_base_src_loop):
18695 Don't warn, the peer element knows what to do best when
18696 the seek failed, it might try something else.
18698 2005-10-21 Wim Taymans <wim@fluendo.com>
18700 * gst/base/gstbasesrc.c: (gst_base_src_init),
18701 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
18704 2005-10-21 Wim Taymans <wim@fluendo.com>
18706 * docs/design/part-segments.txt:
18709 * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
18710 Correctly set caps, even on the subbufer.
18712 2005-10-21 Wim Taymans <wim@fluendo.com>
18714 * docs/gst/gstreamer-docs.sgml:
18715 * docs/gst/gstreamer-sections.txt:
18716 * gst/gstelement.h:
18719 * gst/gstmessage.h:
18722 * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
18726 And 2% more doc coverage.
18728 2005-10-21 Andy Wingo <wingo@pobox.com>
18730 * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
18731 position reporting.
18733 2005-10-20 Wim Taymans <wim@fluendo.com>
18735 * gst/gsterror.c: (gst_error_get_message):
18738 * gst/gststructure.c:
18743 2005-10-20 Wim Taymans <wim@fluendo.com>
18748 Another 1% more coverage.
18750 2005-10-20 Wim Taymans <wim@fluendo.com>
18752 * docs/gst/gstreamer-sections.txt:
18753 * gst/gstelement.c: (gst_element_get_state_func),
18754 (gst_element_abort_state), (gst_element_commit_state),
18755 (gst_element_lost_state):
18757 * gst/gstquery.c: (gst_query_set_position),
18758 (gst_query_parse_position), (gst_query_set_duration),
18759 (gst_query_parse_duration), (gst_query_new_convert):
18761 Yay! 1% more docs coverage.
18763 2005-10-20 Wim Taymans <wim@fluendo.com>
18766 * gst/gstquery.c: (gst_query_set_position),
18767 (gst_query_parse_position), (gst_query_set_duration),
18768 (gst_query_parse_duration), (gst_query_new_convert):
18770 * gst/gstutils.c: (gst_element_query_convert):
18772 Docs and consistency fixes.
18774 2005-10-20 Wim Taymans <wim@fluendo.com>
18780 2005-10-20 Wim Taymans <wim@fluendo.com>
18782 * gst/gstbin.c: (message_check), (bin_replace_message),
18783 (bin_remove_messages), (is_eos), (gst_bin_add_func),
18784 (update_degree), (gst_bin_sort_iterator_next),
18785 (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
18786 Reworked the message handling a bit, cache the messages instead of
18787 only the senders. alows us to do more in the future.
18789 2005-10-20 Wim Taymans <wim@fluendo.com>
18791 * docs/design/part-TODO.txt:
18794 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
18795 (gst_base_sink_query):
18796 Don't use clock time to report position when in EOS.
18798 2005-10-20 Tim-Philipp Müller <tim at centricular dot net>
18800 * tools/gst-inspect.c: (print_interfaces),
18801 (print_element_properties_info), (print_element_info):
18802 Fix interface output with gst-inspect -a; don't print
18803 newlines after double/float properties.
18805 2005-10-20 Wim Taymans <wim@fluendo.com>
18807 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
18808 (gst_base_sink_query):
18809 Speed up current position calculation.
18811 * gst/base/gstbasesrc.c: (gst_base_src_query),
18812 (gst_base_src_default_newsegment):
18813 Correctly set stream position in newsegment.
18815 * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
18816 (update_degree), (gst_bin_sort_iterator_next),
18817 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
18818 * gst/gstmessage.c: (gst_message_new_custom):
18819 Clean up debugging info
18821 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
18822 (gst_queue_loop), (gst_queue_handle_src_query):
18825 2005-10-19 Wim Taymans <wim@fluendo.com>
18827 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
18828 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
18829 Fix query handling again.
18831 2005-10-19 Wim Taymans <wim@fluendo.com>
18833 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
18834 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
18835 * gst/base/gstbasesrc.c: (gst_base_src_query):
18836 * gst/elements/gstfilesink.c: (gst_file_sink_query):
18837 * gst/elements/gsttypefindelement.c:
18838 (gst_type_find_handle_src_query), (find_element_get_length),
18839 (gst_type_find_element_activate):
18842 * gst/gstquery.c: (gst_query_new_position),
18843 (gst_query_set_position), (gst_query_parse_position),
18844 (gst_query_new_duration), (gst_query_set_duration),
18845 (gst_query_parse_duration), (gst_query_set_segment),
18846 (gst_query_parse_segment):
18848 Bundling query position/duration is not a good idea since duration
18849 does not change much and we don't want to recalculate it for every
18850 position query, so they are separated again..
18851 Base value in segment query is not needed.
18853 * gst/gstqueue.c: (gst_queue_handle_src_query):
18854 * gst/gstutils.c: (gst_element_query_position),
18855 (gst_element_query_duration), (gst_pad_query_position),
18856 (gst_pad_query_duration):
18858 Updates for query API change.
18859 Added some docs here and there.
18861 2005-10-19 Thomas Vander Stichele <thomas at apestaart dot org>
18863 * check/gst/gstbin.c: (GST_START_TEST):
18864 * check/gst/gstghostpad.c: (GST_START_TEST):
18865 * check/pipelines/cleanup.c: (GST_START_TEST):
18866 wait on thread to die so we can check refcount correctly
18868 2005-10-18 Wim Taymans <wim@fluendo.com>
18870 * check/pipelines/stress.c: (GST_START_TEST):
18871 Make check a little more time consuming.
18873 2005-10-18 Wim Taymans <wim@fluendo.com>
18875 * check/Makefile.am:
18876 * check/pipelines/stress.c: (GST_START_TEST),
18877 (simple_launch_lines_suite), (main):
18878 Small state change torture test.
18880 * docs/design/part-states.txt:
18881 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
18882 (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
18883 (gst_base_sink_change_state):
18884 Never take state lock from streaming thread, clean up ugly
18885 hacks. Unfortunatly core does not yet support nice ways to
18886 async commit state.
18888 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
18890 Start state recalc if a STATE_DIRTY message is posted, but only
18891 on the toplevel bin.
18893 * gst/gstelement.c: (gst_element_sync_state_with_parent),
18894 (gst_element_get_state_func), (gst_element_abort_state),
18895 (gst_element_commit_state), (gst_element_lost_state),
18896 (gst_element_set_state_func), (gst_element_change_state):
18897 * gst/gstelement.h:
18898 State variables are now protected with the LOCK, the state
18899 lock is only used to serialize _set_state().
18901 2005-10-18 Wim Taymans <wim@fluendo.com>
18903 * check/gst/gstbin.c: (GST_START_TEST):
18904 * check/gst/gstmessage.c: (GST_START_TEST):
18905 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
18906 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
18908 * gst/gstelement.c: (gst_element_abort_state),
18909 (gst_element_commit_state), (gst_element_lost_state):
18910 * gst/gstmessage.c: (gst_message_new_state_changed),
18911 (gst_message_new_state_dirty), (gst_message_new_segment_start),
18912 (gst_message_new_segment_done), (gst_message_new_duration),
18913 (gst_message_parse_state_changed),
18914 (gst_message_parse_segment_start),
18915 (gst_message_parse_segment_done), (gst_message_parse_duration):
18916 * gst/gstmessage.h:
18917 * tools/gst-launch.c: (event_loop):
18918 Seriously, this is better than a previous commit as we only need
18919 to notify the fact that an element changed state in a streaming
18920 thread, marking the state of the parents dirty, hence the
18921 STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
18924 2005-10-18 Wim Taymans <wim@fluendo.com>
18926 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
18927 (gst_bin_recalc_func):
18928 * gst/gstelement.c: (gst_element_set_clock),
18929 (gst_element_abort_state), (gst_element_lost_state):
18930 Cleanups, prepare for state change fixes.
18932 2005-10-18 Wim Taymans <wim@fluendo.com>
18935 * gst/gstelement.c: (gst_element_class_init),
18936 (gst_element_set_state), (gst_element_set_state_func):
18937 * gst/gstelement.h:
18938 Pending ABI changes.
18939 GThreadPool in GstBinClass to monitor async state changes.
18940 state_cookie in GstElement to detect concurrent gst/set state.
18941 set_state is now virtual too in case a very complicated element
18942 has to be constructed.
18944 2005-10-18 Wim Taymans <wim@fluendo.com>
18946 * check/gst/gstbin.c: (GST_START_TEST):
18947 * check/gst/gstmessage.c: (GST_START_TEST):
18948 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
18949 * gst/gstbin.c: (bin_bus_handler):
18950 * gst/gstelement.c: (gst_element_commit_state),
18951 (gst_element_lost_state):
18952 * gst/gstmessage.c: (gst_message_new_state_changed),
18953 (gst_message_new_segment_start), (gst_message_new_segment_done),
18954 (gst_message_new_duration), (gst_message_parse_state_changed),
18955 (gst_message_parse_segment_start),
18956 (gst_message_parse_segment_done), (gst_message_parse_duration):
18957 * gst/gstmessage.h:
18958 * tools/gst-launch.c: (event_loop):
18959 Make messages future proof.
18960 state-change gets a flag if it was a message comming from the
18962 segment-start/stop can also be specified in other formats.
18963 A message to notify an app that a pipeline changed playback
18965 Also fix a GstMessage leak in -launch
18967 2005-10-18 Andy Wingo <wingo@pobox.com>
18969 * gst/gstelement.c (gst_element_dispose): More helpful message.
18971 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
18973 reviewed by: <delete if not using a buddy>
18975 * common/gtk-doc.mak:
18977 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
18979 * gst/gstregistry.c: (gst_registry_scan_path_level):
18980 unref a plug-in we get that was already initialized
18982 2005-10-18 Stefan Kost <ensonic@users.sf.net>
18984 * docs/gst/gstreamer-sections.txt:
18985 * docs/libs/gstreamer-libs-sections.txt:
18986 * gst/gstelement.h:
18987 add new api entries
18988 hide internal macro
18990 2005-10-17 Andy Wingo <wingo@pobox.com>
18992 * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
18995 * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
18997 * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
18999 * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
19000 (gst_element_get_state_func): Better debug message.
19001 (gst_element_commit_state): s/INFO/DEBUG/.
19002 (gst_element_lost_state, gst_element_change_state):
19004 * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
19005 (gst_message_new_custom): s/INFO/LOG/.
19007 2005-10-17 Michael Smith <msmith@fluendo.com>
19009 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
19010 Check if end time is valid using end time, not start time.
19012 2005-10-17 Stefan Kost <ensonic@users.sf.net>
19014 * check/gst-libs/controller.c: (GST_START_TEST),
19015 (gst_controller_suite):
19016 * libs/gst/controller/gstcontroller.c:
19017 (gst_controlled_property_set_interpolation_mode):
19018 * libs/gst/controller/gstcontroller.h:
19019 * libs/gst/controller/gstinterpolation.c:
19020 * testsuite/controller/.cvsignore:
19021 * testsuite/controller/Makefile.am:
19022 * testsuite/controller/interpolator.c:
19023 merge controller testsuites
19025 remove mem-chunk from docs
19027 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
19029 * gst/gstmemchunk.c:
19030 * gst/gstmemchunk.h:
19031 * gst/gsttrashstack.c:
19032 * gst/gsttrashstack.h:
19033 out. get out. you're fired. to the Attic !
19035 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
19037 * gst/gstcaps.c: (gst_caps_intersect):
19038 fix signedness issues in a (hopefully) correct way
19039 * gst/gstelement.c: (gst_element_pads_activate):
19041 * gst/gstobject.c: (gst_object_set_parent):
19044 2005-10-17 Julien MOUTTE <julien@moutte.net>
19046 * gst/gstvalue.h: Fix prototypes.
19048 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
19050 * docs/gst/gstreamer-sections.txt:
19051 * gst/gst.c: (gst_version_string):
19053 * gst/gstversion.h.in:
19054 * win32/common/libgstreamer.def:
19055 add gst_version_string ()
19057 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
19061 * gst/gst.c: (init_post):
19062 * win32/common/config.h.in:
19064 * gst/gstcaps.c: (gst_caps_intersect):
19065 use gint64, the range could be bigger than a guint
19067 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
19070 document potential problem in 2038
19072 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
19074 * gst/gstcaps.c: (gst_caps_intersect):
19075 Fix guint j diving under 0
19077 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
19080 * win32/common/config.h:
19081 * win32/common/config.h.in:
19082 check for process.h, declares getpid() on Windows
19084 include process.h if we have it
19085 * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
19086 * gst/gstmemchunk.h:
19087 fix signedness issues
19088 * win32/common/libgstreamer.def:
19091 2005-10-16 Julien MOUTTE <julien@moutte.net>
19093 * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
19094 fix. Because of unsigned ints, caps intersection was going nuts and
19095 trying to access structures with G_MAXUINT index. That fixes
19096 videotestsrc ! ffmpegcolorspace ! fakesink
19097 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
19100 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
19103 use the gettext macro
19104 * gst/elements/gstelements.c:
19106 * gst/indexers/gstindexers.c:
19107 update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
19108 * win32/common/config.h:
19110 * win32/common/config.h.in:
19111 add the template to generate config.h
19112 * win32/common/gstenumtypes.c:
19113 * win32/common/gstversion.h:
19116 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
19118 * gst/gst.c: (gst_version):
19119 * gst/gstversion.h.in:
19122 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
19125 Oops, add missing closing bracket.
19127 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
19130 use common m4's for argument checking
19132 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
19134 * docs/gst/gstreamer-sections.txt:
19136 Add GST_EVENT_TYPE_NAME() macro.
19138 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
19141 * gst/gstpluginfeature.c:
19143 privatize more symbols
19145 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
19148 add srcdir, builddir includes to GST_ALL_CFLAGS, since
19149 everything that uses GStreamer API should have the includes
19151 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
19153 * docs/gst/gstreamer-sections.txt:
19154 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
19156 give each value a _get_type, removes the DATA exports
19158 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
19162 remove _gst_registry_auto_load, not used anymore
19163 * gst/gstbin.c: (gst_bin_get_type):
19165 * gst/gstelement.c: (gst_element_get_type):
19166 * gst/gstelement.h:
19167 * gst/gstobject.c: (gst_object_get_type):
19169 * gst/gstpad.c: (gst_pad_get_type):
19171 make _get_type functions similar, fixes data export from library
19173 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
19176 correctly make conditionals
19177 * gst/elements/Makefile.am:
19178 * gst/elements/gstelements.c:
19179 fix typo causing fdsrc not to build
19181 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
19183 * testsuite/Makefile.am:
19184 * testsuite/bytestream/.cvsignore:
19185 * testsuite/bytestream/Makefile.am:
19186 * testsuite/bytestream/filepadsink.c:
19187 * testsuite/bytestream/gstbstest.c:
19188 * testsuite/bytestream/test1.c:
19189 * testsuite/bytestream/testfile1:
19190 * testsuite/caps/normalisation.c:
19191 * testsuite/caps/random.c: (main):
19192 * testsuite/cleanup/.cvsignore:
19193 * testsuite/cleanup/Makefile.am:
19194 * testsuite/cleanup/cleanup1.c:
19195 * testsuite/cleanup/cleanup2.c:
19196 * testsuite/cleanup/cleanup3.c:
19197 * testsuite/cleanup/cleanup4.c:
19198 * testsuite/cleanup/cleanup5.c:
19199 * testsuite/controller/interpolator.c:
19200 * testsuite/debug/printf_extension.c: (main):
19201 * testsuite/elements/tee.c:
19202 * testsuite/negotiation/.cvsignore:
19203 * testsuite/negotiation/Makefile.am:
19204 * testsuite/negotiation/pad_link.c:
19205 * testsuite/pad/Makefile.am:
19206 * testsuite/pad/chainnopull.c:
19207 * testsuite/pad/getnopush.c:
19208 * testsuite/pad/link.c:
19209 * testsuite/refcounting/sched.c: (create_pipeline):
19210 * testsuite/registry/Makefile.am:
19211 * testsuite/registry/gst-print-formats.c:
19212 * testsuite/schedulers/.cvsignore:
19213 * testsuite/schedulers/142183-2.c:
19214 * testsuite/schedulers/142183.c:
19215 * testsuite/schedulers/143777-2.c:
19216 * testsuite/schedulers/143777.c:
19217 * testsuite/schedulers/147713.c:
19218 * testsuite/schedulers/147819.c:
19219 * testsuite/schedulers/147894-2.c:
19220 * testsuite/schedulers/147894.c:
19221 * testsuite/schedulers/Makefile.am:
19222 * testsuite/schedulers/group_link.c:
19223 * testsuite/schedulers/queue_link.c:
19224 * testsuite/schedulers/relink.c:
19225 * testsuite/schedulers/unlink.c:
19226 * testsuite/schedulers/unref.c:
19227 * testsuite/schedulers/useless_iteration.c:
19228 * testsuite/states/bin.c:
19229 clean out/remove some stuff from the testsuite directories
19231 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
19234 check for some headers
19235 * gst/elements/Makefile.am:
19236 * gst/elements/gstelements.c:
19237 don't compile fdsrc without sys/socket.h
19238 * gst/indexers/Makefile.am:
19239 * gst/indexers/gstindexers.c: (plugin_init):
19240 don't compile fileindex without mmap
19242 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
19249 * check/Makefile.am:
19250 * docs/gst/Makefile.am:
19251 * examples/helloworld/Makefile.am:
19253 * gst/base/Makefile.am:
19254 * gst/check/Makefile.am:
19255 * gst/elements/Makefile.am:
19256 * gst/indexers/Makefile.am:
19257 * gst/parse/Makefile.am:
19258 * libs/gst/controller/Makefile.am:
19259 * libs/gst/dataprotocol/Makefile.am:
19260 * examples/helloworld/helloworld.c: (event_loop):
19261 compile fixes, though it's not being compiled currently
19263 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
19265 * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
19266 Add some simple tests for the new taglist date API.
19268 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
19270 * gst/elements/gstfakesink.c: (gst_fake_sink_render):
19271 * gst/elements/gstfakesrc.c: (gst_fake_src_create):
19272 Beautify 'last-message' output: print 'none' for buffer timestamps
19273 and durations if none is set; improve alignment with next messages.
19275 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
19277 * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
19278 * gst/gstpluginfeature.h:
19279 * gst/gstregistry.c: (gst_default_registry_check_feature_version):
19280 * gst/gstregistry.h:
19281 * docs/gst/gstreamer-sections.txt:
19282 Add new API to check plugin feature version requirements.
19284 * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
19285 Some basic tests for the above.
19287 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
19289 * gst/gststructure.c: (gst_structure_to_string):
19290 guard against NULL printf - happens when for example
19291 a message structure with GstClock gets serialized
19293 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
19295 * gst/base/gstcollectpads.c: (gst_collectpads_event):
19296 Fix presumable copy'n'pasto.
19298 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
19300 * gst/elements/gstfakesrc.h:
19301 * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
19302 * gst/elements/gsttypefindelement.c:
19303 fix some signedness
19304 * gst/elements/gstfilesink.c: (gst_file_sink_render):
19305 I wonder if this could actually write +2GB files before
19307 2005-10-13 Andy Wingo <wingo@pobox.com>
19309 * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
19310 Fix Timmeke Waymans bug.
19311 (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
19312 string of the proper length to gst_caps_from_string. There's a
19313 potential for, before this fix, that this could cause someone
19314 connecting over the network to cause a segfault if the payload is
19315 not NUL-terminated.
19317 2005-10-13 Stefan Kost <ensonic@users.sf.net>
19319 * docs/design/draft-push-pull.txt:
19320 * docs/design/part-overview.txt:
19321 * docs/random/TODO-pre-0.9:
19322 * docs/random/old/ChangeLog.gstreamer:
19323 * gst/base/gstpushsrc.c:
19327 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
19329 * gst/glib-compat.c: (gst_flags_get_first_value):
19330 * gst/glib-compat.h:
19331 * gst/gstvalue.c: (gst_value_deserialize_int_helper),
19332 (gst_value_compare_double), (gst_value_serialize_flags):
19333 GLib 2.6 g_flags_get_first_value has a bug that triggers an
19336 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
19338 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
19339 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
19341 * tools/gst-launch.c: (event_loop):
19342 print out clock nicely
19344 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
19346 * docs/gst/gstreamer-sections.txt:
19347 * gst/gsttaglist.h:
19348 * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
19349 (gst_tag_list_get_date_index):
19350 Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
19351 GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
19353 2005-10-13 Julien MOUTTE <julien@moutte.net>
19355 * gst/base/gstcollectpads.c: (gst_collectpads_event),
19356 (gst_collectpads_chain):
19357 * gst/base/gstcollectpads.h: Handle newsegment and store informations
19360 2005-10-13 Stefan Kost <ensonic@users.sf.net>
19362 * docs/gst/gstreamer-sections.txt:
19365 * tools/gst-inspect.c: (main):
19366 * tools/gst-launch.c: (main):
19367 * tools/gst-run.c: (main):
19368 * tools/gst-xmlinspect.c: (main):
19369 fix GOption context leaks
19372 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
19376 * win32/common/config.h:
19378 * win32/vs6/grammar.dsp:
19379 * win32/vs6/libgstelements.dsp:
19380 * win32/vs6/libgstreamer.dsp:
19383 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
19385 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
19386 * gst/base/gstbasesrc.c: (gst_base_src_query):
19387 fix more guint64<->gdouble conversions
19389 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
19392 add win32-update target
19393 * win32/common/gstconfig.h:
19394 * win32/common/gstenumtypes.c:
19395 * win32/common/gstenumtypes.h:
19396 * win32/common/gstversion.h:
19397 add files that visual studio can't generate
19399 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
19402 add a win32-update target
19405 2005-10-12 Wim Taymans <wim@fluendo.com>
19407 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
19408 (reset_degree), (gst_bin_dispose), (bin_bus_handler):
19409 * gst/gstelement.c: (gst_element_commit_state),
19410 (gst_element_set_state):
19411 Protect flags with proper lock.
19412 unref provided cached clock in dispose.
19414 2005-10-12 Stefan Kost <ensonic@users.sf.net>
19417 * gst/gstminiobject.h:
19419 * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
19420 removed unused flags from miniobject
19423 2005-10-12 Wim Taymans <wim@fluendo.com>
19425 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
19426 (gst_file_sink_event), (gst_file_sink_render):
19427 Flush before seeking.
19429 2005-10-12 Andy Wingo <wingo@pobox.com>
19431 * gst/gst.c (gst_init_check): Ignore unknown options, as has
19432 always been the case.
19434 2005-10-12 Stefan Kost <ensonic@users.sf.net>
19436 * check/gst/gstbin.c: (GST_START_TEST):
19437 * docs/gst/gstreamer-sections.txt:
19438 * gst/base/gstbasesink.c: (gst_base_sink_init):
19439 * gst/base/gstbasesrc.c: (gst_base_src_init),
19440 (gst_base_src_get_range), (gst_base_src_check_get_range),
19441 (gst_base_src_start), (gst_base_src_stop):
19442 * gst/base/gstbasesrc.h:
19443 * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
19444 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
19445 (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
19449 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
19451 * gst/gstelement.c: (gst_element_is_locked_state),
19452 (gst_element_set_locked_state), (gst_element_commit_state),
19453 (gst_element_set_state):
19454 * gst/gstelement.h:
19455 * gst/gstindex.c: (gst_index_init):
19457 * gst/gstminiobject.h:
19458 * gst/gstobject.c: (gst_object_init), (gst_object_sink),
19459 (gst_object_set_parent):
19461 * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
19462 (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
19464 * gst/gstpadtemplate.h:
19465 * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
19466 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
19467 * gst/gstpipeline.h:
19468 * gst/indexers/gstfileindex.c: (gst_file_index_load),
19469 (gst_file_index_commit):
19470 * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
19471 * testsuite/pad/link.c: (gst_test_src_init),
19472 (gst_test_filter_init), (gst_test_sink_init):
19473 * testsuite/states/locked.c: (main):
19474 renamed GST_FLAGS macros to GST_OBJECT_FLAGS
19475 moved bitshift from macro to enum definition
19477 2005-10-12 Wim Taymans <wim@fluendo.com>
19479 * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
19480 * gst/elements/gstfilesink.c: (gst_file_sink_event),
19481 (gst_file_sink_render):
19482 Some more debugging info.
19484 2005-10-12 Wim Taymans <wim@fluendo.com>
19486 * docs/design/part-states.txt:
19487 * tools/gst-launch.c: (main):
19489 Revert non-intentional change.
19491 2005-10-12 Wim Taymans <wim@fluendo.com>
19493 * check/gst/gstbin.c: (GST_START_TEST):
19494 * check/gst/gstelement.c: (GST_START_TEST):
19495 * check/gst/gstevent.c: (GST_START_TEST), (test_event):
19496 * check/gst/gstghostpad.c: (GST_START_TEST):
19497 * check/gst/gstpipeline.c: (GST_START_TEST):
19498 * check/pipelines/simple_launch_lines.c: (run_pipeline):
19499 * check/states/sinks.c: (GST_START_TEST):
19500 * gst/elements/gsttypefindelement.c: (stop_typefinding):
19501 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
19502 (gst_bin_remove_func), (gst_bin_get_state_func),
19503 (gst_bin_recalc_state), (gst_bin_change_state_func),
19505 * gst/gstelement.c: (gst_element_get_state_func),
19506 (gst_element_get_state), (gst_element_abort_state),
19507 (gst_element_commit_state), (gst_element_set_state),
19508 (gst_element_change_state), (gst_element_change_state_func):
19509 * gst/gstelement.h:
19510 * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
19511 (gst_pipeline_provide_clock_func):
19512 * gst/gstutils.c: (gst_element_link_pads_filtered):
19513 * tools/gst-launch.c: (main):
19514 * tools/gst-typefind.c: (main):
19515 Use GstClockTime in _get_state() instead of GTimeVal.
19516 Remove old code in gstutils.c
19518 2005-10-12 Andy Wingo <wingo@pobox.com>
19520 * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
19523 * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
19524 there is no task. Shouldn't affect any code, as nothing in our
19525 plugins checks this return value.
19526 (gst_pad_stop_task): Also take the stream lock if the pad has no
19527 task. Docs updated.
19529 2005-10-12 Wim Taymans <wim@fluendo.com>
19531 * gst/gstpad.c: (pre_activate), (post_activate),
19532 (gst_pad_activate_pull), (gst_pad_activate_push):
19533 Cleanup activation code. Reset old state if
19536 2005-10-12 Wim Taymans <wim@fluendo.com>
19538 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
19539 (gst_base_sink_change_state):
19540 No need to prerol after receiving EOS.
19542 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
19543 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
19544 * gst/elements/gstidentity.c: (gst_identity_event):
19545 Print events more verbosely.
19547 2005-10-12 Wim Taymans <wim@fluendo.com>
19549 * check/Makefile.am:
19550 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
19551 * check/states/sinks2.c:
19552 Moved sinks2 testcode in sinks check.
19554 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
19555 (gst_bin_remove_func), (gst_bin_recalc_state),
19556 (gst_bin_change_state_func), (bin_bus_handler):
19557 Fix potential race condition when _get_state() iterated over an
19558 ASYNC element right before it posted a state completion.
19561 Do proper cast here.
19563 * gst/gstevent.c: (gst_event_new_newsegment),
19564 (gst_event_parse_newsegment):
19565 A playback rate of 0.0 is not allowed.
19567 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
19569 * win32/common/config.h:
19570 * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
19571 (_trewinddir), (_ttelldir), (_tseekdir):
19572 * win32/common/dirent.h:
19573 * win32/common/gtchar.h:
19574 * win32/common/libgstbase.def:
19575 * win32/common/libgstreamer.def:
19576 * win32/vs6/grammar.dsp:
19577 * win32/vs6/gst_inspect.dsp:
19578 * win32/vs6/gst_launch.dsp:
19579 * win32/vs6/gstreamer.dsw:
19580 * win32/vs6/libgstbase.dsp:
19581 * win32/vs6/libgstelements.dsp:
19582 * win32/vs6/libgstreamer.dsp:
19583 Visual Studio 6 project files, and a new common directory.
19586 2005-10-11 Wim Taymans <wim@fluendo.com>
19588 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
19589 (gst_base_sink_do_sync), (gst_base_sink_query),
19590 (gst_base_sink_change_state):
19591 * gst/base/gstbasesink.h:
19592 Correctly parse newsegment info.
19594 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
19596 * gst/gst.c: (init_post):
19597 split plugin paths correctly
19599 2005-10-11 Wim Taymans <wim@fluendo.com>
19601 * check/gst/gstevent.c: (GST_START_TEST):
19602 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
19603 (gst_base_sink_change_state):
19604 * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
19605 * gst/base/gstbasetransform.c: (gst_base_transform_event):
19606 * gst/elements/gstfilesink.c: (gst_file_sink_event):
19607 * gst/gstevent.c: (gst_event_new_newsegment),
19608 (gst_event_parse_newsegment):
19610 Added extra flag to newsegment for future API freeze.
19611 Updated check and base elements.
19613 2005-10-11 Julien MOUTTE <julien@moutte.net>
19615 * gst/base/gstcollectpads.c: (gst_collectpads_init),
19616 (gst_collectpads_add_pad), (gst_collectpads_pop),
19617 (gst_collectpads_event), (gst_collectpads_chain):
19618 * gst/base/gstcollectpads.h: Handle EOS correctly.
19620 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
19622 * tools/gst-launch.c: (main):
19623 more null protecting
19625 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
19627 * gst/gst-i18n-lib.h:
19628 check for ENABLE_NLS, not GETTEXT_PACKAGE
19629 * gst/gstregistry.c: (gst_registry_add_plugin),
19630 (gst_registry_scan_path_level),
19631 (_gst_registry_remove_cache_plugins):
19632 protect possibly NULL strings
19633 * gst/parse/types.h:
19634 config.h already included before
19635 * tools/gst-inspect.c: (main):
19636 sys/wait.h also doesn�t exist on mingw, so change the ifdef check
19637 check for ENABLE_NLS, not GETTEXT_PACKAGE
19638 * tools/gst-launch.c: (main):
19639 check for ENABLE_NLS, not GETTEXT_PACKAGE
19641 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
19644 if we don't have glib, fail before testing 2.8
19645 * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
19646 fix a leak, should fix plugins-base testsuite
19648 2005-10-11 Andy Wingo <wingo@pobox.com>
19650 * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
19651 take the mode we're going to as an arg. Go head and set the mode
19652 and flushing flags now, so that if the activate function starts a
19653 thread all the flags will be in the right state.
19654 (post_activate): Renamed also. Just handle making sure streaming
19655 finishes for the deactivation case, and setting the deactivated
19657 (gst_pad_set_active): Complain loudly if deactivation fails.
19658 (gst_pad_activate_pull): Adapt to pre/post_activate changes.
19659 (gst_pad_activate_push): Adapt to pre/post_activate changes,
19660 remove the terrible hack.
19662 2005-10-11 Wim Taymans <wim@fluendo.com>
19664 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
19665 (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
19666 (gst_bin_recalc_state), (gst_bin_change_state_func),
19667 (gst_bin_dispose), (bin_bus_handler):
19669 Prepare to make current EOS message queue more generic.
19672 * gst/gstevent.c: (gst_event_new_newsegment),
19673 (gst_event_parse_newsegment):
19675 Rename base to stream_time.
19677 * gst/gstmessage.h:
19680 2005-10-11 Wim Taymans <wim@fluendo.com>
19682 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
19683 (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
19684 (gst_bin_change_state_func), (bin_bus_handler):
19686 Work on proper clock selection.
19688 2005-10-11 Edward Hervey <edward@fluendo.com>
19690 * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list):
19691 * libs/gst/controller/gstcontroller.h:
19692 Added GList* version of _remove_properties() in order to be able to wrap
19695 2005-10-11 Wim Taymans <wim@fluendo.com>
19697 * docs/design/part-states.txt:
19700 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
19701 (gst_bin_change_state_func), (bin_bus_handler):
19702 Doc updates. Don't distribute the same clock over and over again.
19708 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
19709 (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
19710 (gst_pad_send_event):
19712 Make probe emission threadsafe again.
19713 Register quarks and move _get_name() from utils.
19716 * gst/gstpipeline.c: (gst_pipeline_class_init),
19717 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
19718 Only redistribute the clock of it changed.
19720 * gst/gstsystemclock.h:
19725 Moved the _flow_get_name() to GstPad.
19727 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
19729 * check/gst-libs/gdp.c: (GST_START_TEST):
19730 * check/gst/gstcaps.c: (GST_START_TEST):
19731 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
19732 (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
19733 (gst_dp_packet_from_caps):
19734 fix more valgrind warnings before turning up the heat
19736 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
19738 * gst/parse/grammar.y:
19739 some cleanup before the hacking
19741 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
19743 * gst/base/gstbasesrc.c: (gst_base_src_query):
19745 * gst/gstutils.c: (gst_guint64_to_gdouble),
19746 (gst_gdouble_to_guint64), (gst_util_uint64_scale):
19748 externalize, basesrc uses it
19749 obviously the implementation needs testing
19751 2005-10-10 Wim Taymans <wim@fluendo.com>
19753 * tests/sched/Makefile.am:
19754 * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
19755 (make_pipeline3), (make_pipeline4), (print_elem), (main):
19757 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
19759 * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
19760 apparently converting from guint64 to double is not implemented
19763 2005-10-10 Wim Taymans <wim@fluendo.com>
19765 * check/Makefile.am:
19766 * check/generic/states.c: (GST_START_TEST):
19767 * check/gst/gstbin.c: (GST_START_TEST):
19768 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
19769 * check/states/sinks.c: (GST_START_TEST):
19770 * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
19772 Check fixes, use API as stated in design docs, remove hacks.
19774 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
19775 (gst_base_sink_change_state):
19776 Catch stopping our task while we're shutting down.
19778 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
19779 (gst_bin_remove_func), (gst_bin_get_state_func),
19780 (gst_bin_recalc_state), (gst_bin_change_state_func),
19783 * gst/gstelement.c: (gst_element_init),
19784 (gst_element_get_state_func), (gst_element_abort_state),
19785 (gst_element_commit_state), (gst_element_lost_state),
19786 (gst_element_set_state), (gst_element_change_state),
19787 (gst_element_change_state_func):
19788 * gst/gstelement.h:
19789 New state change algorithm (see #318116)
19791 * gst/gstpipeline.c: (gst_pipeline_class_init),
19792 (gst_pipeline_init), (gst_pipeline_set_property),
19793 (gst_pipeline_get_property), (do_pipeline_seek),
19794 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
19795 * gst/gstpipeline.h:
19796 Remove crude state change hacks.
19799 Remove crude hacks.
19801 * tools/gst-launch.c: (main):
19802 Fixes for state change. Needs some more work to fully use the
19805 2005-10-10 Andy Wingo <wingo@pobox.com>
19807 * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
19809 * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
19810 this flag, but it's not even in GLib 2.6. Odd. Hack around the
19813 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
19815 * gst/gstiterator.c: (gst_iterator_new):
19816 Fix my previous commit: GTypes passed to gst_iterator_new()
19817 can be fundamental types.
19819 2005-10-10 Wim Taymans <wim@fluendo.com>
19821 * gst/gstelement.c: (gst_element_iterate_pad_list),
19822 (gst_element_iterate_pads), (gst_element_iterate_src_pads),
19823 (gst_element_iterate_sink_pads):
19824 Use src/sink pads lists for the respective iterators instead
19827 2005-10-10 Andy Wingo <wingo@pobox.com>
19829 Merged in popt removal + GOption addition patch from Ronald, bug
19832 * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
19833 GstElement macros around, remove popt-related symbols, add goption
19836 * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
19838 * docs/gst/Makefile.am:
19839 * docs/libs/Makefile.am: No POPT_CFLAGS.
19841 * examples/manual/Makefile.am:
19842 * docs/manual/basics-init.xml: Doc updates with an example.
19844 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
19845 (gst_init), (parse_one_option), (parse_goption_arg):
19846 * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
19847 bit of hand merging and debugging to get the GOption stuff working
19850 * tests/Makefile.am:
19851 * tools/Makefile.am:
19852 * tools/gst-inspect.c: (main):
19853 * tools/gst-launch.c: (main):
19854 * tools/gst-run.c: (main):
19855 * tools/gst-xmlinspect.c: (main): Thanks Ronald!
19857 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
19859 * gst/gstiterator.c: (gst_iterator_new):
19860 Add assertions to make sure passed GType is likely to really
19861 be a GType (as the compiler won't catch it if the size and
19862 GType arguments get mixed up, see #318447).
19864 2005-10-10 Josef Zlomek <josef dot zlomek at xeris dot cz>
19866 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
19868 * gst/gstbin.c: (gst_bin_iterate_sorted):
19869 Pass GType and size arguments to gst_iterator_new() in the right
19870 order (maybe we should make _new() take the GType as first argument
19871 just like _new_list()?) (#318447).
19874 2005-10-10 Wim Taymans <wim@fluendo.com>
19876 * gst/gstelement.c: (gst_element_finalize):
19877 And free the GStaticRecMutex too
19879 2005-10-10 Andy Wingo <wingo@pobox.com>
19881 * gst/gstelement.c (gst_element_init, gst_element_finalize):
19882 Allocate and free the mutex properly.
19884 * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
19886 (GstElement): The state_lock is now recursive. Rebuild your
19887 plugins, suckers. Old macros adapted.
19889 * docs/gst/gstreamer-sections.txt: Doc updates.
19892 * gst/gstutils.c (g_static_rec_cond_timed_wait)
19893 (g_static_rec_cond_wait): Ported from state changes patch, while
19894 we wait on bug #317802 to be solved in a well-distributed GLib.
19896 * gst/gstelement.c (gst_element_change_state_func): Renamed from
19897 gst_element_change_state, variable name changes.
19898 (gst_element_change_state): Split out of gst_element_set_state in
19899 preparation for the state change merge. Doesn't pay attention to
19900 the 'transition' argument.
19901 (gst_element_set_state): Updates, hopefully purely cosmetic.
19902 (gst_element_sync_state_with_parent): MT-safety. Ported from the
19903 state change patch.
19904 (gst_element_get_state_func): Renamed from get_state, cosmetic
19907 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
19909 * gst/elements/gstelements.c:
19910 * win32/GStreamer.vcproj:
19912 * win32/dirent.c: (_tseekdir):
19913 * win32/gst-inspect.vcproj:
19914 * win32/gst-launch.vcproj:
19915 * win32/gstconfig.h:
19916 * win32/gstelements.vcproj:
19917 * win32/gstenumtypes.c: (gst_object_flags_get_type):
19918 * win32/gstreamer.def:
19919 * win32/msvc71.sln:
19920 updates for the win32 build (patch from Sebastien Moutte)
19922 2005-10-10 Andy Wingo <wingo@pobox.com>
19924 * gst/gstbin.c (gst_bin_get_state_func): Renamed from
19925 gst_bin_get_state, cleaned up (but no logic changes).
19926 (bin_element_is_sink): Comment updates.
19927 (sink_iterator_filter): Remove needless cast.
19928 (gst_bin_iterate_sinks): Doc update.
19929 (gst_bin_change_state_func): Renamed from gst_bin_change_state,
19930 cleaned up (but no logic changes).
19932 * check/states/sinks.c (test_src_sink): Cleanups from the state
19934 (test_livesrc_sink): Sync on the state.
19936 * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
19937 the state change patch.
19939 * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
19942 * check/gst/gstbin.c: Merge in some style fixes and additional
19943 checks from Wim's state change patch.
19945 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
19947 * gst/base/gsttypefindhelper.c: (helper_find_peek),
19948 (gst_type_find_helper):
19949 Check whether we have the requested data already in our list of
19950 cached buffers before pulling a new buffer; also make the buffer
19951 list a GSList. Speeds up typefinding by ca. 5-10% altogether.
19953 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
19958 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
19959 don't use long long, it's not portable. Replacing with
19960 gint64 seems to work; let's hope no skeletons fall out of the closet.
19962 2005-10-10 Andy Wingo <wingo@pobox.com>
19964 * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
19966 2005-10-09 Stefan Kost <ensonic@users.sf.net>
19968 * docs/gst/gstreamer-sections.txt:
19973 * gst/gstmessage.c: (gst_message_parse_state_changed):
19976 more docs, fix compilation
19978 2005-10-09 Philippe Khalaf <burger@speedy.org>
19979 * gst/gstmessage.c:
19980 Fixed a few forgotten variables on previous commit
19982 2005-10-09 Tim-Philipp Müller <tim at centricular dot net>
19984 * gst/base/gsttypefindhelper.c: (helper_find_peek):
19985 Fix evil typefind crasher: getrange() might return a short
19986 buffer at the end of a file, but gst_type_find_peek() must
19987 either return the full data as requested or NULL, but
19988 never a short buffer.
19990 2005-10-09 Thomas Vander Stichele <thomas at apestaart dot org>
19992 * gst/gstmessage.c: (gst_message_new_state_changed),
19993 (gst_message_parse_state_changed):
19994 * gst/gstmessage.h:
19995 don't use "new", it's a C++ keyword
19997 2005-10-08 Wim Taymans <wim@fluendo.com>
19999 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
20000 * gst/gstelement.c: (gst_element_post_message):
20001 * gst/gstpipeline.c: (gst_pipeline_change_state):
20002 Small docs and debug updates.
20004 2005-10-08 Stefan Kost <ensonic@users.sf.net>
20006 * docs/gst/gstreamer-sections.txt:
20007 * gst/gstelementfactory.c:
20009 * gst/gsttaglist.c:
20012 2005-10-08 Wim Taymans <wim@fluendo.com>
20014 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
20015 (gst_bin_dispose), (bin_bus_handler):
20016 Fix typos, add comments.
20017 Clear EOS list when going to PAUSED from any direction and do it
20018 in a threadsafe way.
20019 Get base time in a threadsafe way too.
20020 Fix confusing debug in the change_state function.
20021 Various other small cleanups.
20023 * gst/gstelement.c: (gst_element_post_message):
20024 Fix very verbose bus posting code.
20026 * gst/gstpipeline.c: (gst_pipeline_class_init),
20027 (gst_pipeline_set_property), (gst_pipeline_get_property),
20028 (gst_pipeline_change_state):
20029 Small ARG_ -> PROP_ cleanup
20031 2005-10-08 Wim Taymans <wim@fluendo.com>
20033 * gst/gstbin.c: (is_eos), (bin_bus_handler):
20034 Do a less CPU demanding EOS check because we can.
20036 2005-10-08 Wim Taymans <wim@fluendo.com>
20038 * libs/gst/dataprotocol/dataprotocol.c:
20039 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
20040 (gst_dp_packet_from_event):
20041 * libs/gst/dataprotocol/dataprotocol.h:
20042 * libs/gst/dataprotocol/dp-private.h:
20043 It's about time we bump the version number.
20044 Since event types don't fit in the guint8 anymore describing
20045 the payload type, make payload type 16 bits wide.
20047 2005-10-08 Wim Taymans <wim@fluendo.com>
20049 * docs/design/part-TODO.txt:
20050 * docs/design/part-clocks.txt:
20051 * docs/design/part-events.txt:
20052 * docs/design/part-gstbin.txt:
20053 * docs/design/part-gstelement.txt:
20054 * docs/design/part-gstpipeline.txt:
20055 * docs/design/part-live-source.txt:
20056 * docs/design/part-messages.txt:
20057 * docs/design/part-overview.txt:
20058 * docs/design/part-states.txt:
20061 2005-10-08 Wim Taymans <wim@fluendo.com>
20065 Fix event quark registration.
20066 Add some space between events so we can insert them in the
20069 2005-10-08 Wim Taymans <wim@fluendo.com>
20071 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20072 (gst_base_sink_handle_buffer):
20073 Better log message.
20076 * gst/gstelement.h:
20079 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
20080 (gst_queue_set_property), (gst_queue_get_property):
20082 Remove old unused properties.
20084 2005-10-08 Stefan Kost <ensonic@users.sf.net>
20085 * docs/gst/gstreamer-sections.txt:
20086 * gst/gstmessage.c:
20087 * gst/gstmessage.h:
20088 * gst/gstminiobject.c:
20089 * gst/gstminiobject.h:
20093 lots of new docs and doc fixes
20095 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
20097 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
20099 * gst/gstregistry.c: (gst_registry_lookup_locked),
20100 (gst_registry_scan_path_level):
20101 * gst/gstregistryxml.c: (load_plugin):
20102 Only ever load one plugin for a given plugin basename.
20103 This ensures correct overriding of GST_PLUGIN_PATH over
20104 GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
20105 system installed plugins.
20107 2005-10-08 Wim Taymans <wim@fluendo.com>
20109 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20110 (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
20111 Prepare for doing QOS.
20113 2005-10-08 Wim Taymans <wim@fluendo.com>
20115 * check/gst/gstbin.c: (GST_START_TEST):
20116 * check/pipelines/cleanup.c: (GST_START_TEST):
20117 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
20118 Allow new clock message too.
20120 2005-10-08 Wim Taymans <wim@fluendo.com>
20122 * gst/gstmessage.c: (gst_message_new_error),
20123 (gst_message_new_warning), (gst_message_new_tag),
20124 (gst_message_new_state_changed), (gst_message_new_clock_provide),
20125 (gst_message_new_clock_lost), (gst_message_new_new_clock),
20126 (gst_message_new_segment_start), (gst_message_new_segment_done),
20127 (gst_message_parse_state_changed),
20128 (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
20129 (gst_message_parse_new_clock):
20130 * gst/gstmessage.h:
20131 Also carry the clock in question.
20133 2005-10-08 Wim Taymans <wim@fluendo.com>
20135 * gst/gstmessage.c: (gst_message_new_custom),
20136 (gst_message_new_eos), (gst_message_new_error),
20137 (gst_message_new_warning), (gst_message_new_tag),
20138 (gst_message_new_state_changed), (gst_message_new_clock_provide),
20139 (gst_message_new_new_clock), (gst_message_new_segment_start),
20140 (gst_message_new_segment_done), (gst_message_parse_state_changed),
20141 (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
20142 * gst/gstmessage.h:
20144 Added clock related messages.
20146 * gst/gstpipeline.c: (gst_pipeline_change_state):
20147 Post message when the clock changed.
20149 * tools/gst-launch.c: (event_loop):
20152 2005-10-08 Tim-Philipp Müller <tim at centricular dot net>
20154 * tools/gst-inspect.c: (print_element_properties_info):
20155 Can't pass NULL strings to g_print() on windows.
20157 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
20159 * docs/Makefile.am:
20160 * docs/gst/Makefile.am:
20161 * docs/gst/gstreamer-docs.sgml:
20162 * docs/gst/running.xml:
20163 * docs/version.entities.in:
20164 add a chapter on running GStreamer.
20165 document GST_DEBUG and GST_PLUGIN* env vars
20167 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
20172 remove PLUGINS_BUILDDIR stuff
20173 * gst/gst.c: (init_post):
20174 reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
20176 remove, it was condescending and not needed
20178 2005-10-08 Wim Taymans <wim@fluendo.com>
20180 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
20181 (gst_base_sink_handle_object), (gst_base_sink_event),
20182 (gst_base_sink_wait), (gst_base_sink_handle_event),
20183 (gst_base_sink_change_state):
20184 * gst/base/gstbasesink.h:
20185 Repost EOS message while going to PLAYING if still EOS.
20186 Make sure that when receiving a FLUSH_START we don't attempt
20187 to sync on the clock anymore.
20189 2005-10-08 Wim Taymans <wim@fluendo.com>
20191 * tools/gst-launch.c: (event_loop):
20192 Better message printout.
20194 2005-10-08 Wim Taymans <wim@fluendo.com>
20196 * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
20197 (gst_bin_child_proxy_get_children_count):
20198 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
20199 (gst_child_proxy_lookup), (gst_child_proxy_get_property),
20200 (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
20201 (gst_child_proxy_set_valist):
20202 * gst/parse/grammar.y:
20203 Make ChildProxy threadsafe and fix mem leaks.
20205 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
20207 * gst/gst.c: (init_post):
20208 debug the GST_PLUGIN_ env vars
20210 2005-10-08 Wim Taymans <wim@fluendo.com>
20212 * check/gst/gstbin.c: (GST_START_TEST):
20213 * check/gst/gstmessage.c: (GST_START_TEST):
20214 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
20215 * gst/gstelement.c: (gst_element_commit_state),
20216 (gst_element_lost_state):
20217 * gst/gstmessage.c: (gst_message_new_state_changed),
20218 (gst_message_parse_state_changed):
20219 * gst/gstmessage.h:
20220 * tools/gst-launch.c: (event_loop):
20221 Added extra field to STATE_CHANGE message with the pending
20222 state, which will be different from the new state soon.
20224 2005-10-08 Wim Taymans <wim@fluendo.com>
20226 * gst/gstbus.c: (gst_bus_pop):
20228 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
20229 Small cleanups and doc updates.
20231 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
20233 * gst/gst.c: (init_pre):
20234 * gst/gstbin.c: (gst_bin_add_func):
20235 log distributing clocks and base time
20236 * gst/gstregistry.c: (gst_registry_add_plugin),
20237 (gst_registry_scan_path_level), (gst_registry_scan_path):
20238 clean up the debugging output a little
20239 * gst/gstutils.c: (gst_element_state_get_name):
20240 warn about a memleak (I've actually seen this be used, though
20241 it was probably a bug)
20243 2005-10-07 Wim Taymans <wim@fluendo.com>
20245 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
20246 (gst_base_src_init), (gst_base_src_default_newsegment),
20247 (gst_base_src_newsegment), (gst_base_src_do_seek),
20248 (gst_base_src_loop), (gst_base_src_start):
20249 * gst/base/gstbasesrc.h:
20250 Make the newsegment event customizable by subclasses.
20252 2005-10-07 Wim Taymans <wim@fluendo.com>
20254 * gst/gstevent.c: (gst_event_new_buffersize),
20255 (gst_event_parse_buffersize):
20257 New event for future idea.
20259 2005-10-07 Andy Wingo <wingo@pobox.com>
20261 * gst/gstelement.c (gst_element_post_message): Doc update.
20263 * docs/gst/gstreamer-sections.txt: Update.
20265 * gst/gstmessage.c (gst_message_new_application): Made into a
20266 function like honest API calls.
20267 (gst_message_new_element): New message type.
20269 * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
20271 * check/elements/fakesrc.c (test_no_preroll): New check, checks
20272 that setting a live fakesrc to PAUSED returns NO_PREROLL both
20275 * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
20276 NO_PREROLL from gst_element_change_state to fall through.
20278 2005-10-07 Wim Taymans <wim@fluendo.com>
20280 * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
20281 (gst_ghost_pad_do_activate_push):
20282 Activating a ghostpad with no internal pad in push mode
20285 2005-10-07 Thomas Vander Stichele <thomas at apestaart dot org>
20288 there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
20289 Fixes compilation on Windows.
20291 2005-10-07 Michael Smith <msmith@fluendo.com>
20293 * tools/gst-inspect.c:
20294 Print out feature and plugin count at the end when printing out
20297 2005-10-04 Michael Smith <msmith@fluendo.com>
20299 * gst/gsterror.c: (_gst_stream_errors_init):
20300 Add another error string used in a few existing plugins.
20303 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
20304 * tools/gst-inspect.c: (print_element_info):
20305 When a feature disappears from a plugin (and the feature exists in
20306 the cached registry file), things went horribly wrong. This isn't a
20307 complete fix, we should actually be removing the 'missing' features
20308 from the features list when we load the actual plugin. That's not
20311 2005-10-04 Johan Dahlin <johan@gnome.org>
20313 * check/gst/gstiterator.c: (GST_START_TEST):
20314 * gst/gstbin.c: (gst_bin_iterate_elements),
20315 (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
20316 * gst/gstelement.c: (gst_element_iterate_pads):
20317 * gst/gstformat.c: (gst_format_iterate_definitions):
20318 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
20319 (gst_iterator_new_list), (gst_iterator_filter):
20320 * gst/gstiterator.h:
20321 * gst/gstquery.c: (gst_query_type_iterate_definitions):
20322 Add a GType to GstIterator, update callsites and tests.
20324 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
20326 * gst/gstpad.c: (gst_pad_event_default_dispatch):
20327 give events a chance to be handled by event probes when the pad
20330 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
20332 * gst/gstevent.c: (gst_event_type_get_name),
20333 (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
20335 add string representations for event types
20337 2005-10-06 Wim Taymans <wim@fluendo.com>
20339 * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
20340 Don't use NULL pointers.
20342 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
20344 * gst/gst_private.h:
20346 * gst/gstelement.c:
20348 * gst/gstpluginfeature.c:
20349 widen the debug category in output to fit the biggest one we have
20350 add a bus category and use it
20351 play with the colors
20352 fix up some categories
20354 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
20356 * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
20357 add push activation of sink ghost pads.
20358 Andye, please verify
20360 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
20362 * gst/gstutils.c: (gst_element_link_pads):
20363 fix a bug in the case where neither element has a pad
20364 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
20365 add a test for that case
20367 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
20369 * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
20370 emit have-data before checking for peers. This allows
20371 for probe handlers to connect elements. This helps autopluggers.
20372 * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
20374 add six checks, linked/unlinked with no/true/false probe
20376 2005-10-04 Wim Taymans <wim@fluendo.com>
20378 * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
20379 (gst_fake_sink_event), (gst_fake_sink_preroll),
20380 (gst_fake_sink_render), (gst_fake_sink_change_state):
20381 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
20382 (gst_fake_src_get_property), (gst_fake_src_create),
20383 (gst_fake_src_stop):
20384 * gst/elements/gstidentity.c: (gst_identity_stop):
20385 Protect last_message with lock.
20387 2005-10-04 Edward Hervey <edward@fluendo.com>
20390 Added precision in the comments for GST_FORMAT_DEFAULT
20392 2005-10-04 Tim-Philipp Müller <tim at centricular dot net>
20394 * tools/gst-launch.c: (main):
20395 Don't try to run erroneous pipelines.
20397 2005-10-04 Julien MOUTTE <julien@moutte.net>
20399 * gst/gstbus.c: We don't need this header.
20401 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
20404 back to development
20406 === release 0.9.3 ===
20408 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
20412 Releasing 0.9.3, "Unregistered"
20414 2005-10-03 Andy Wingo <wingo@pobox.com>
20416 * gst/gstpad.c (gst_pad_activate_push): There is a race condition
20417 whereby calling a pad's activatepush() function can start a thread
20418 that starts to push or pull before the pad gets the FLUSHING flag
20419 unset. Hack around it by holding the stream lock until the flag is
20420 set. Need to replace this with a proper solution. Together with
20421 the ghost pad fixes, this fixes mp3 playing/tagreading.
20423 * docs/design/part-gstghostpad.txt: Add a note about activation of
20424 proxy pads outside of ghost pads.
20426 * gst/gstghostpad.c: Implement the ghost pad activation design.
20428 2005-10-02 Andy Wingo <wingo@pobox.com>
20430 * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
20431 It is volatile, after all.
20433 * docs/design/part-gstghostpad.txt: Flesh out activation with
20436 * gst/base/gstbasesrc.c (gst_base_src_init): Use
20439 2005-10-02 Tim-Philipp Müller <tim at centricular dot net>
20442 Fix (unused) AM_CONDITIONAL tests.
20444 2005-10-01 Alessandro Decina <alessandro at nnva dot org>
20446 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
20448 * gst/gstutils.c: (gst_pad_query_convert):
20449 Add assertion that makes sure src_val is >=0, just like
20450 gst_query_new_convert() has. (#315895)
20452 2005-09-30 Edward Hervey <edward@fluendo.com>
20454 * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
20455 Let's not iterate pads we're not interested in, it avoids getting
20456 sky-high refcounts on sinkpad.
20458 2005-09-30 Wim Taymans <wim@fluendo.com>
20460 * gst/gstelement.c: (gst_element_set_state),
20461 (gst_element_change_state):
20462 Small tweak, element in ASYNC remains ASYNC.
20464 2005-09-30 Wim Taymans <wim@fluendo.com>
20466 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
20467 Only error is an error.
20469 * gst/gstbin.c: (gst_bin_change_state):
20472 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
20473 Also call pad_block in pad alloc.
20475 * gst/gstutils.c: (gst_flow_get_name):
20478 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
20480 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
20481 (gst_base_src_get_range):
20482 Fix documentation typos. Add some more debug info.
20484 2005-09-29 David Schleef <ds@schleef.org>
20486 * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
20487 more end-user friendly.
20488 * tools/gst-inspect.c: (main): Check if command-line argument is
20489 a file and attempt to load that file as a plugin.
20491 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
20493 * check/gst/gstbin.c:
20494 * check/states/sinks.c:
20495 fix tests for the new warning
20496 * check/gst/gstpipeline.c:
20497 add a test for pipeline and bus interaction
20498 * gst/gstelement.c:
20499 elements should be NULL if they get disposed; add a warning if not
20501 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
20504 for 2.6 refcounting, make debug log more correct by printing
20505 the actual refcounts at the time of swap (Wim)
20507 2005-09-29 Andy Wingo <wingo@pobox.com>
20509 * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
20510 removes signal watches previously added via
20511 gst_bus_add_signal_watch.
20512 (gst_bus_add_signal_watch): Don't return the source id, just store
20513 it on the bus if there wasn't an id already.
20515 * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
20516 add_signal_watch and remove_signal_watch.
20518 2005-09-29 Edward Hervey <edward@fluendo.com>
20520 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
20521 Better if we actually iterate the list :)
20523 2005-09-29 Wim Taymans <wim@fluendo.com>
20525 * check/gst/gstbin.c: (GST_START_TEST):
20526 Change for new bus API.
20528 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
20529 (send_messages), (GST_START_TEST), (gstbus_suite):
20530 Change for new bus signal API.
20532 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
20533 (gst_bus_source_prepare), (gst_bus_source_check),
20534 (gst_bus_create_watch), (gst_bus_add_watch_full),
20535 (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
20536 (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
20538 Remove support for multiple GSources operating on different
20539 message types as it is too complex and unneeded when using
20541 Added support for receiving signals from the bus.
20543 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
20545 * docs/libs/tmpl/gstdataprotocol.sgml:
20546 * docs/manual/advanced-dataaccess.xml:
20547 * gst/elements/gstcapsfilter.c:
20549 rename filter-caps to caps property
20551 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
20553 * gst/gstvalue.c: (gst_value_deserialize_fraction):
20554 More robust fraction string parsing.
20556 * docs/pwg/appendix-porting.xml:
20557 Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
20559 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
20561 * gst/gstcaps.c: (gst_caps_do_simplify):
20562 Thou shalt not free a structure and then continue using it
20563 in the next loop iteration.
20565 * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
20567 Add test case for caps simplification.
20569 2005-09-29 Wim Taymans <wim@fluendo.com>
20571 * check/gst/gstbin.c: (GST_START_TEST):
20574 2005-09-29 Wim Taymans <wim@fluendo.com>
20576 * check/gst/gstbin.c: (GST_START_TEST):
20579 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
20580 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
20581 (find_element), (gst_bin_sort_iterator_next),
20582 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
20583 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
20584 (gst_bin_change_state), (gst_bin_dispose):
20585 A bin does not have a bus, it gets the bus from the parent.
20587 * gst/gstelement.c: (gst_element_requires_clock),
20588 (gst_element_provides_clock), (gst_element_is_indexable),
20589 (gst_element_is_locked_state), (gst_element_change_state),
20590 (gst_element_set_bus_func):
20593 * gst/gstpipeline.c: (gst_pipeline_class_init),
20594 (gst_pipeline_init), (gst_pipeline_provide_clock_func):
20595 The pipeline provides a bus.
20597 2005-09-28 Johan Dahlin <johan@gnome.org>
20599 * gst/gstmessage.c (gst_message_parse_state_changed): Use
20600 gst_structure_get_enum instead of gst_structure_get_int
20602 * gst/gststructure.c (gst_structure_get_enum): Impl.
20604 * gst/gststructure.h (gst_structure_get_enum): Add
20606 * docs/gst/gstreamer-sections.txt: Ditto
20608 * gst/gstmessage.c (gst_message_new_state_changed): Use
20609 GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
20610 which does introspection.
20611 Reviewed by Christian Schaller
20613 2005-09-28 Stefan Kost <ensonic@users.sf.net>
20615 * gst/gstinfo.c: (gst_debug_log_default):
20616 don't do dummy g_strdup()s
20617 * libs/gst/controller/gstcontroller.c:
20618 (on_object_controlled_property_changed),
20619 (gst_controlled_property_new), (gst_controller_new_valist),
20620 (gst_controller_new_list),
20621 (gst_controller_remove_properties_valist), (gst_controller_set),
20622 (gst_controller_get), (gst_controller_sync_values),
20623 (gst_controller_get_value_array), (_gst_controller_class_init),
20624 (gst_controller_get_type):
20625 * libs/gst/controller/gstcontroller.h:
20626 * libs/gst/controller/gstinterpolation.c:
20627 (gst_controlled_property_find_timed_value_node):
20628 convert // to /**/ comments
20630 2005-09-28 Wim Taymans <wim@fluendo.com>
20632 * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
20633 (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
20634 (gst_bus_sync_signal_handler):
20636 Added async-message and sync-message signals to the bus.
20637 Added helper BusFunc to emit signals for all posted messages.
20639 * gst/gstmessage.c: (gst_message_type_get_name),
20640 (gst_message_type_to_quark), (gst_message_get_type):
20641 * gst/gstmessage.h:
20642 Register quarks for message names.
20644 2005-09-28 Stefan Kost <ensonic@users.sf.net>
20646 * docs/libs/gstreamer-libs-sections.txt:
20647 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
20648 (gst_controller_new_list):
20649 * libs/gst/controller/gstcontroller.h:
20650 added another constructor for language bindings
20652 2005-09-28 Thomas Vander Stichele <thomas at apestaart dot org>
20654 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
20658 * gst/gstinfo.c: (_gst_debug_init):
20659 slightly more readable color for refcount debugging
20661 2005-09-28 Wim Taymans <wim@fluendo.com>
20663 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
20664 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
20665 (find_element), (gst_bin_sort_iterator_next),
20666 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
20667 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
20668 (gst_bin_change_state), (gst_bin_dispose):
20669 Small doc fixes. get_clock -> provide_clock.
20671 * gst/gstelement.c: (gst_element_class_init),
20672 (gst_element_provides_clock), (gst_element_provide_clock),
20673 (gst_element_get_clock), (gst_element_commit_state),
20674 (gst_element_lost_state):
20675 * gst/gstelement.h:
20676 Make get/set_clock() symetric. Add provide_clock vmethod since
20677 that is actually what this function does.
20679 * gst/gstpipeline.c: (gst_pipeline_class_init),
20680 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
20681 (gst_pipeline_get_clock):
20682 get_clock -> provide_clock.
20684 2005-09-28 Andy Wingo <wingo@pobox.com>
20686 * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
20687 lieu of real docs...
20689 * gst/elements/gstfdsrc.c: Cleaned up a bit.
20691 2005-09-28 Tim-Philipp Müller <tim at centricular dot net>
20693 * gst/elements/gstcapsfilter.c:
20694 * gst/elements/gstfakesink.c:
20695 * gst/elements/gstfakesrc.c:
20696 * gst/elements/gstfdsink.c:
20697 * gst/elements/gstfdsrc.c:
20698 * gst/elements/gstfilesink.c:
20699 * gst/elements/gstfilesrc.c:
20700 * gst/elements/gstidentity.c:
20701 * gst/elements/gsttee.c:
20702 * gst/elements/gsttypefindelement.c:
20703 Make element details static.
20705 2005-09-28 Wim Taymans <wim@fluendo.com>
20707 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
20708 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
20709 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
20710 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
20711 (gst_bin_change_state), (gst_bin_dispose):
20712 Some documentation updates.
20713 Clean up dispose handlers.
20715 * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
20716 * gst/gstpad.c: (gst_pad_dispose):
20717 Clean up dispose handler.
20719 * gst/gstpipeline.c: (gst_pipeline_change_state):
20720 Removed spurious UNLOCK.
20722 2005-09-27 Stefan Kost <ensonic@users.sf.net>
20724 * docs/gst/gstreamer-sections.txt:
20725 * gst/base/gstbasesrc.h:
20726 * gst/gstelement.h:
20730 * gst/gstpipeline.c:
20731 * gst/gstpipeline.h:
20734 added two new functions to the docs
20735 documents all undocumented GstXXXFlags
20736 completed some incomplete docs
20738 2005-09-27 Thomas Vander Stichele <thomas at apestaart dot org>
20740 * gst/gstbin.c: (gst_bin_dispose):
20741 * gst/gstelement.c: (gst_element_dispose):
20742 remove now useless and leaky resurrection code in dispose
20743 * gst/base/gstbasesrc.c: (gst_base_src_init):
20744 * gst/gstelementfactory.c: (gst_element_factory_create):
20745 * gst/gstobject.c: (gst_object_set_parent):
20748 2005-09-27 Wim Taymans <wim@fluendo.com>
20750 * docs/design/part-TODO.txt:
20753 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
20754 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
20755 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
20756 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
20757 (gst_bin_change_state):
20758 * gst/gstelement.h:
20759 Remove element variable, we keep element info in the iterator now.
20761 2005-09-27 Andy Wingo <wingo@pobox.com>
20763 * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
20766 2005-09-27 Wim Taymans <wim@fluendo.com>
20768 * check/gst/gstbin.c: (GST_START_TEST):
20769 Enable check that works now.
20771 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
20772 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
20773 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
20774 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
20775 (gst_bin_change_state):
20777 Redid the state change algorithm using a topological sort algo.
20778 Handles all cases correctly.
20779 Exposed iterator for state change order.
20781 * gst/gstelement.h:
20782 Temp storage for state changes. Need to get rid of this soon.
20784 2005-09-27 Wim Taymans <wim@fluendo.com>
20786 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
20787 * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
20788 (link_fold_func), (gst_pad_proxy_setcaps):
20789 Leak fixes, the fold functions need to unref the passed object and
20790 _get_parent_*() returns ref to parent.
20792 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
20794 * check/gst/gstbuffer.c: (test_make_writable):
20795 Plug leak in test case and fix 'make check-valgrind'
20797 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
20799 * gst/gstbuffer.c: (gst_subbuffer_init):
20800 Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
20801 works correctly in all circumstances (we could have just copied
20802 the parent buffer's readonly flag, but conceptually it seems
20803 cleaner to mark all subbuffers as read-only). (based on patch
20804 by Alessandro Decina, #314710).
20806 * check/gst/gstbuffer.c: (create_read_only_buffer),
20807 (test_make_writable), (test_subbuffer_make_writable),
20809 Add some tests for gst_buffer_make_writable().
20811 2005-09-27 Wim Taymans <wim@fluendo.com>
20813 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
20814 use gst_object_has_ancestor().
20816 * gst/gstobject.c: (gst_object_has_ancestor):
20818 gst_object_has_ancestor() copied from gstbin.c as it is a
20821 * tests/instantiate/create.c: (create_all_elements):
20822 * tests/lat.c: (handoff_src), (handoff_sink):
20823 * tests/sched/runxml.c: (main):
20824 * tests/seeking/seeking1.c: (main):
20825 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
20827 Fix compilation of some tests.
20829 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
20832 Remove comment. GST_TYPE_G_ERROR is here to stay,
20833 G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
20834 (#316961, #300610).
20836 2005-09-26 Wim Taymans <wim@fluendo.com>
20838 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
20839 Added check that shows error in state change order.
20841 2005-09-26 Wim Taymans <wim@fluendo.com>
20843 * gst/gstbin.c: (gst_bin_change_state):
20844 Make state change function use 3 queues again, we were
20845 adding elements in the wrong order.
20847 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
20850 * gst/gstpad.c: (gst_pad_dispose):
20851 Added some debug info first.
20853 2005-09-26 Tim-Philipp Müller <tim at centricular dot net>
20855 * docs/design/draft-push-pull.txt:
20856 * docs/design/part-events.txt:
20857 * docs/design/part-overview.txt:
20858 * docs/design/part-scheduling.txt:
20859 Replace all _pull_region() with _pull_range()
20861 2005-09-26 Andy Wingo <wingo@pobox.com>
20863 * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
20865 * check/gst-libs/controller.c: Update for controller api change.
20868 * tests/Makefile.am:
20869 * tests/memchunk: Remove memchunk benchmark stuff, this is taken
20870 over by GLib bug 118439.
20872 * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
20873 routines to a function.
20875 * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
20877 * libs/gst/controller/gsthelper.c:
20878 * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
20879 (gst_object_sync_values): Renamed from sink_values. Ugh.
20881 * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
20883 * libs/gst/controller/gstcontroller.c (__gst_controller_key):
20884 Renamed from controller_key, as it is exported.
20886 * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
20888 2005-09-26 Thomas Vander Stichele <thomas at apestaart dot org>
20893 * gst/gstpadtemplate.h:
20896 * gst/gstqueryutils.c:
20897 * gst/gstqueryutils.h:
20898 remove queryutils headers after moving the two used functions
20899 to gstquery. also fixes build problem for gstsiddec
20901 2005-09-26 Michael Smith <msmith@fluendo.com>
20903 * tools/gst-launch.1.in:
20904 Correct documentation in manpage of debug syntax
20906 2005-09-26 Wim Taymans <wim@fluendo.com>
20908 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
20909 (gst_base_src_is_seekable), (gst_base_src_change_state):
20910 Some more debugging info.
20912 2005-09-25 Stefan Kost <ensonic@users.sf.net>
20914 * docs/gst/gstreamer-sections.txt:
20915 * gst/base/gstbasetransform.h:
20919 2005-09-25 Stefan Kost <ensonic@users.sf.net>
20921 * docs/gst/.cvsignore:
20922 * docs/gst/tmpl/.cvsignore:
20923 * docs/gst/tmpl/gstpipeline.sgml:
20924 * docs/gst/tmpl/gstplugin.sgml:
20925 * gst/gstpipeline.c:
20928 inlined the last two docs files
20929 removed the tmpl directory from cvs (no more conflicts here!)
20931 2005-09-25 Stefan Kost <ensonic@users.sf.net>
20933 * docs/gst/gstreamer-sections.txt:
20934 * docs/gst/tmpl/.cvsignore:
20935 * docs/gst/tmpl/gstpad.sgml:
20936 * docs/gst/tmpl/gstpadtemplate.sgml:
20938 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
20939 (gst_pad_finalize), (gst_pad_set_pad_template):
20941 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
20942 (gst_pad_template_class_init), (gst_pad_template_init),
20943 (gst_pad_template_dispose), (name_is_valid),
20944 (gst_static_pad_template_get), (gst_pad_template_new),
20945 (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
20946 (gst_pad_template_pad_created):
20947 * gst/gstpadtemplate.h:
20948 inlined two more docs
20949 factored gstpadtemplate out of gstpad
20951 2005-09-24 Tim-Philipp Müller <tim at centricular dot net>
20953 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
20954 (test_children_state_change_order_semi_sink):
20955 Fix test case: we can't rely on a fixed state change order when
20956 going from READY => PAUSED because the sink might commit its
20957 new state first when the first buffer created by the source
20958 reaches the sink before the source has finished its change state.
20959 (Test case still fails at times, see #316856, comment 5 onwards)
20961 2005-09-24 Wim Taymans <wim@fluendo.com>
20963 * docs/design/part-events.txt:
20964 * docs/design/part-gstbus.txt:
20965 * docs/design/part-gstpipeline.txt:
20966 * docs/design/part-messages.txt:
20967 * docs/design/part-overview.txt:
20968 * docs/design/part-segments.txt:
20972 * gst/gstelement.c:
20975 * gst/gstiterator.c:
20976 Various documentation updates.
20978 2005-09-24 Thomas Vander Stichele <thomas at apestaart dot org>
20981 Well, that's embarassing. Luckily we weren't using
20982 GST_CLOCK_DIFF anywhere.
20984 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
20986 * common/gtk-doc.mak:
20987 don't fail on building XML, FC4 slave shows a bunch of doc
20988 missing bits that I don't get
20990 * gst/gstpipeline.c:
20991 * gst/gststructure.c:
20994 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
20996 * docs/design/part-gstbin.txt:
20997 * docs/design/part-gstbus.txt:
20999 Add blurb about how the bus goes into flushing mode and
21000 drops all messages when its bin goes from READY into NULL
21003 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
21005 * docs/gst/gstreamer-sections.txt:
21006 * gst/gststructure.c: (gst_structure_get_clock_time):
21007 * gst/gststructure.h:
21008 add a method to get a GstClockTime out of a structure
21010 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
21012 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
21013 (test_children_state_change_order_semi_sink), (gst_bin_suite):
21014 Added test to check state change order in bins (can still be made
21015 to fail here under heavy disk load; bails out with 'Push on pad
21016 fakesink:sink0, but it was not activated in push mode').
21018 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
21019 Fix state change order when there is only a semi sink (#316856)
21021 * gst/gstbus.c: (gst_bus_class_init):
21022 Use _class_peek_parent(), not _class_ref(); fix docs to say
21023 'default main context' instead of 'mainloop' where that is
21026 * gst/gstelement.c: (gst_element_commit_state),
21027 (gst_element_set_state):
21028 Fix typos in debug messages
21030 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
21033 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
21034 * gst/gstpluginfeature.c:
21036 various doc updates
21037 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
21038 change an assert into an error until it gets fixed properly
21040 2005-09-23 Stefan Kost <ensonic@users.sf.net>
21042 * docs/gst/gstreamer-sections.txt:
21043 * docs/gst/tmpl/.cvsignore:
21044 * docs/gst/tmpl/gstelement.sgml:
21045 * docs/gst/tmpl/gstinfo.sgml:
21046 * docs/gst/tmpl/gstobject.sgml:
21047 * gst/gstelement.c:
21048 * gst/gstelement.h:
21051 * gst/gstobject.c: (gst_object_class_init):
21053 inlined 3 more biiiig doc files and added some missing docs on the fly
21055 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
21057 * check/gst/.cvsignore:
21058 * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
21059 * gst/gstregistryxml.c: (load_plugin),
21060 (gst_registry_xml_save_plugin):
21061 put back source in registry. add checks for find_plugin.
21062 * testsuite/states/bin.c: (assert_state), (empty_bin),
21063 (test_adding_one_element), (main):
21064 * testsuite/states/locked.c: (main):
21065 some compile/run fixes
21067 2005-09-22 Thomas Vander Stichele <thomas at apestaart dot org>
21069 * check/gst/gstvalue.c: (GST_START_TEST):
21070 fix leaks in the test itself
21072 2005-09-22 Wim Taymans <wim@fluendo.com>
21074 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
21075 (gst_base_sink_send_event), (gst_base_sink_peer_query),
21076 (gst_base_sink_query):
21077 Prepare for more accurate position reporting and query
21080 * gst/gstelement.c: (gst_element_send_event),
21081 (gst_element_set_state):
21084 2005-09-22 Wim Taymans <wim@fluendo.com>
21086 * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
21087 (gst_query_parse_segment):
21089 More documentation.
21090 Add segment query for future use.
21092 2005-09-22 Wim Taymans <wim@fluendo.com>
21094 * gst/gstbin.c: (gst_bin_add_func):
21095 Some more debug info.
21097 * gst/gstelement.c: (gst_element_send_event):
21098 Simplify send_event
21100 * gst/gstelement.h:
21101 Don't know how flags got broken.
21106 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
21108 * check/gst/gstvalue.c: (test_date), (gst_value_suite):
21109 Add simplistic test suite for GST_TYPE_DATE serialisation and
21112 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
21114 * docs/gst/gstreamer-sections.txt:
21115 * gst/gststructure.c: (gst_structure_set_valist),
21116 (gst_structure_get_date):
21117 * gst/gststructure.h:
21118 * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
21119 (gst_date_copy), (gst_value_compare_date),
21120 (gst_value_serialize_date), (gst_value_deserialize_date),
21121 (gst_value_transform_date_string),
21122 (gst_value_transform_string_date), (_gst_value_initialize):
21124 Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
21125 bunch of utility functions along with a hack that checks that
21126 developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
21127 is required. Part of the grand scheme in #170777.
21129 2005-09-22 Andy Wingo <wingo@pobox.com>
21131 * gst/gstconfig.h.in: Psych out gtk-doc.
21133 * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
21135 * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
21137 * tools/gst-inspect.c (print_element_list): Plug some
21138 inconsequential leaks.
21140 * gst/gstregistry.c (gst_registry_get_default): Doc.
21142 * check/gst/gstplugin.c:
21143 * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
21144 * gst/gstelementfactory.c (gst_element_factory_create):
21145 * gst/gstindexfactory.c (gst_index_factory_create): Update for
21148 * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
21149 (gst_plugin_feature_load): Doc, don't eat refs.
21151 * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
21152 (gst_plugin_list_free): Doc.
21153 (gst_plugin_load_file): Doc updates.
21155 * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
21156 accessors returning refcounted objects, return a ref.
21158 * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
21159 accessor for caps. IDEMPOTENCE. Oh yes.
21161 2005-09-21 Francis Labonte <francis_labonte at hotmail dot com>
21163 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
21165 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
21166 (_gst_debug_register_funcptr):
21167 Add mutex to serialise access to the hash table with
21168 the function pointer => function name string mapping;
21169 make that hash table static scope (#316809).
21171 * gst/registries/.cvsignore:
21172 Remove left-over file.
21174 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
21176 * docs/pwg/appendix-porting.xml:
21177 And something about newsegment events and caps-on-buffers to
21178 the porting guide (feel free to improve).
21180 2005-09-21 Andy Wingo <wingo@pobox.com>
21182 * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
21183 data and event probes on the same pad.
21184 (test_buffer_probe_once): Test that removing probes from within
21185 the probe functions works.
21187 2005-09-21 Andy Wingo <wingo@pobox.com>
21189 * check/gst/gstutils.c: New file.
21190 (test_buffer_probe_n_times): A simple buffer probe test. More to
21193 * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
21194 have-data::buffer, not have-data.
21195 (gst_pad_add_event_probe): Likewise for have-data::event.
21196 (gst_pad_add_data_probe): More docs. The part about 'resolving the
21197 peer' isn't quite right yet though.
21198 (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe)
21199 (gst_pad_remove_data_probe): Change to take the guint handler_id
21200 as their arg, not the function+data, which is more glib-like.
21202 * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
21203 the signal emission to indicate if the data is a buffer or an
21205 (gst_pad_get_type): Initialize buffer and event quarks.
21206 (gst_pad_class_init): have-data is now a detailed signal, yes it
21209 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
21211 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
21212 * gst/gstutils.c: (gst_util_set_value_from_string),
21213 (gst_util_set_object_arg):
21214 Don't put functional code in g_return_if_fail() or
21215 g_return_val_if_fail() statements, otherwise things will
21216 break when G_DISABLE_CHECKS is defined during compilation.
21218 2005-09-21 Stefan Kost <ensonic@users.sf.net>
21220 * docs/gst/tmpl/.cvsignore:
21221 * docs/gst/tmpl/gstvalue.sgml:
21224 inlied another one and added some obvious docs
21226 2005-09-21 Wim Taymans <wim@fluendo.com>
21228 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
21229 (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
21230 (gst_fdsrc_unlock), (gst_fdsrc_set_property),
21231 (gst_fdsrc_get_property), (gst_fdsrc_create):
21232 * gst/elements/gstfdsrc.h:
21233 Properly implement fdsrc. Removed signal and timeout,
21234 better implemented somewhere else.
21236 2005-09-21 Stefan Kost <ensonic@users.sf.net>
21238 * docs/gst/tmpl/.cvsignore:
21239 * docs/gst/tmpl/gstimplementsinterface.sgml:
21240 * gst/gstinterface.c:
21243 2005-09-21 Stefan Kost <ensonic@users.sf.net>
21245 * docs/gst/gstreamer-sections.txt:
21246 * docs/gst/tmpl/.cvsignore:
21247 * docs/gst/tmpl/gstenumtypes.sgml:
21248 remove obsolete doc file
21250 2005-09-21 David Schleef <ds@schleef.org>
21252 * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
21253 little beer, fix a little leak.
21255 2005-09-21 Stefan Kost <ensonic@users.sf.net>
21257 * docs/gst/gstreamer-docs.sgml:
21258 * docs/gst/gstreamer-sections.txt:
21259 * docs/gst/tmpl/.cvsignore:
21263 * gst/gstelement.h:
21264 * gst/gstindex.c: (gst_index_class_init):
21266 * gst/gstindexfactory.c: (gst_index_factory_get_type),
21267 (gst_index_factory_class_init), (gst_index_factory_init),
21268 (gst_index_factory_finalize), (gst_index_factory_new),
21269 (gst_index_factory_destroy), (gst_index_factory_find),
21270 (gst_index_factory_create), (gst_index_factory_make):
21271 * gst/gstindexfactory.h:
21272 * gst/gstpluginfeature.c:
21273 * gst/gstpluginfeature.h:
21274 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
21275 more docs inlined, splitted gstindex.{c,h}
21277 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
21279 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
21282 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
21284 * gst/elements/gstfilesink.c: (gst_file_sink_init):
21285 Set sync to FALSE by default.
21287 2005-09-20 Wim Taymans <wim@fluendo.com>
21289 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
21290 (gst_base_sink_init):
21291 Make sync property settable from subclass.
21293 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
21294 (gst_fake_sink_change_state):
21295 Set sync to FALSE by default.
21297 2005-09-20 Wim Taymans <wim@fluendo.com>
21299 * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
21300 * tools/gst-launch.c: (main):
21301 The timeout handler should have lower priority than the source
21302 so we don't timeout before popping a message with 0 timeout.
21303 Dump error messages after failed state change.
21305 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
21307 * tools/gst-inspect.c: (print_element_properties_info):
21310 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
21312 * check/gst/gstevent.c:
21313 * gst/elements/gstfakesink.c:
21314 * gst/elements/gstfakesink.h:
21315 remove the sync property from fakesink.
21316 has the side effect of setting sync TRUE
21317 for fakesink, which is a change. Anyone who knows how
21318 to fix this nicely in a GObject-y way, feel free.
21320 2005-09-20 Stefan Kost <ensonic@users.sf.net>
21322 * docs/gst/gstreamer-docs.sgml:
21323 remove probe refsection
21325 2005-09-20 Stefan Kost <ensonic@users.sf.net>
21327 * check/Makefile.am:
21328 disable valgrinding the controller test again
21329 * docs/gst/gstreamer-sections.txt:
21330 update for api-changes
21332 2005-09-20 Wim Taymans <wim@fluendo.com>
21334 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
21335 (gst_base_sink_set_property), (gst_base_sink_get_property),
21336 (gst_base_sink_do_sync):
21337 * gst/base/gstbasesink.h:
21338 Added sync property to basesink to disable clock sync.
21340 2005-09-20 Andy Wingo <wingo@pobox.com>
21342 * gst/gstelementfactory.c (gst_element_factory_create): Avoid
21343 eating the caller's refcount.
21345 * gst/gstobject.h (GST_OBJECT_REFCOUNT)
21346 (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
21349 * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
21350 * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
21351 of GLib 2.8 public, so we can know which refcount to check in
21354 * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
21355 (gst_object_init): Only set the gst refcount if we're going ahead
21356 with the refcount hack.
21358 2005-09-20 Stefan Kost <ensonic@users.sf.net>
21360 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
21361 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
21362 more leaks plumbed, added more debug-logging
21366 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
21368 * gst/gstmessage.c:
21369 remove include of gstmemchunk.h
21371 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
21373 * gst/gstclock.c: (_gst_clock_id_free):
21374 Commit from the Political Party For More Atomic CVS Commits,
21375 so that people don't waste too much of their day fishing
21376 out obvious leaks out of massive commits.
21377 Oh, and fix a pretty damn obvious leak in the memchunk
21380 2005-09-20 Stefan Kost <ensonic@users.sf.net>
21382 * check/Makefile.am:
21383 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
21384 plug mem-leak, re-add to valgrindable tests
21386 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
21389 unbreak the build for those who have chronic arthritis
21390 and typing "make check" is just too taxing on the hands
21392 2005-09-20 Andy Wingo <wingo@pobox.com>
21394 * gst/gst.h: Re-add marshal to gst.h's include list -- if we
21395 really want it out, you should fix plugins at the same time.
21397 2005-09-19 Stefan Kost <ensonic@users.sf.net>
21400 * docs/gst/gstreamer-sections.txt:
21402 added missing symbols to api docs
21403 disable ref-count hack if we have glib >= 2.8
21405 2005-09-19 David Schleef <ds@schleef.org>
21407 * docs/gst/Makefile.am: Ignore a few more internal headers
21408 * docs/gst/gstreamer-docs.sgml: Remove old sections
21409 * docs/gst/gstreamer-sections.txt: Remove old sections
21410 * docs/gst/tmpl/gstobject.sgml: update
21411 * docs/gst/tmpl/gstplugin.sgml: update
21412 * docs/gst/tmpl/gstpluginfeature.sgml: update
21413 * docs/random/ds/0.9-suggested-changes: update.
21414 * gst/Makefile.am: remove memchunk and trashstack, since they're
21416 * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
21417 * gst/gst.h: don't include some headers
21418 * gst/gstchildproxy.c: add gstmarshal.h
21419 * gst/gstclock.c: Don't use memchunks
21420 * gst/gstminiobject.c: Add some docs
21421 * gst/gstobject.c: remove DESTROYED flag, since it's redundant
21422 * gst/gstobject.h: same
21423 * gst/gstplugin.c: include gstmacros.h
21424 * gst/gstplugin.h: don't include gstmacros.h, since it's private
21425 * gst/gstquery.c: don't use memchunks
21426 * gst/gstregistry.c: rename gst_registry_deinit()
21427 * gst/gstregistry.h: same
21429 2005-09-19 David Schleef <ds@schleef.org>
21431 * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
21432 * docs/libs/gstreamer-libs-sections.txt:
21433 * docs/libs/tmpl/gstgetbits.sgml:
21434 * docs/libs/tmpl/gstputbits.sgml:
21436 2005-09-19 Tim-Philipp Müller <tim at centricular dot net>
21438 * win32/gstenumtypes.c:
21439 * win32/gstenumtypes.h:
21442 2005-09-19 Wim Taymans <wim@fluendo.com>
21444 * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
21445 Automatically PAUSE and RESUME a pipeline when a flushing seek
21448 2005-09-19 Andy Wingo <wingo@pobox.com>
21450 * gst/gstregistry.h: Spacing fixen.
21452 2005-09-19 Wim Taymans <wim@fluendo.com>
21454 * gst/base/gstbasesrc.c: (gst_base_src_change_state):
21455 Handle state change failure more correctly.
21457 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
21459 * check/Makefile.am:
21460 * check/pipelines/cleanup.c: (run_pipeline):
21461 * check/pipelines/simple_launch_lines.c: (run_pipeline),
21463 enable cleanup again after fixing the leak
21465 some more info on docs
21467 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
21469 * check/Makefile.am:
21470 re-enable tests now that leaks are plugged
21472 * check/gst/gstbin.c:
21473 * check/gst/gstpipeline.c:
21474 add some more tests while fixing leaks
21475 * common/check.mak:
21476 make sure binaries are uptodate when valgrinding/gdbing
21478 * gst/gstelementfactory.c:
21479 remove a ref too many, and add a FIXME for when we get
21480 round to disposing of classes
21482 fix the refcounting when loading a plugin from a file and
21483 the code pretends that the pointer is the same even though
21484 of course it can change
21485 * gst/gstpluginfeature.c:
21486 unref plugins marked cached (a bit confusing as a name)
21487 as the docs state should be done
21488 various doc additions to explain refcounting
21489 * gst/gstregistry.c:
21490 * gst/gstregistryxml.c:
21493 2005-09-19 Wim Taymans <wim@fluendo.com>
21495 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
21496 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
21497 (send_messages), (GST_START_TEST), (gstbus_suite):
21498 * check/gst/gstpipeline.c: (GST_START_TEST):
21499 * check/pipelines/cleanup.c: (run_pipeline):
21500 * check/pipelines/simple_launch_lines.c: (run_pipeline),
21502 * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
21503 (gst_bus_source_check), (gst_bus_source_dispatch),
21504 (gst_bus_create_watch), (gst_bus_add_watch_full),
21505 (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
21507 * tools/gst-launch.c: (event_loop):
21508 * tools/gst-md5sum.c: (event_loop):
21509 GstBusHandler -> GstBusFunc, return value has the same meaning as
21510 any other GSource (FALSE == remove source).
21511 _add_watch() and _add_watch_full() now take a MessageType mask to
21512 only handle specific types of messages.
21513 _poll() returns the GstMessage instead of the message type to avoid
21515 _have_pending() takes a MessageType mask now too.
21516 Added testsuite for multiple bus watches.
21517 Fix testsuites and applications for new bus API.
21519 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
21521 * check/Makefile.am:
21522 mark a bunch of the tests as to fix until we fix them
21524 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
21526 * common/check.mak:
21527 use GST_PLUGIN settings for valgrind tests as well, so we're
21528 valgrinding the correct thing
21529 * gst/gst.c: (init_post):
21532 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
21534 * gst/gst.c: (init_post), (gst_deinit):
21535 * gst/gstelementfactory.c: (gst_element_factory_class_init),
21536 (gst_element_factory_finalize), (gst_element_factory_cleanup):
21537 * gst/gstindex.c: (gst_index_factory_class_init),
21538 (gst_index_factory_finalize):
21539 * gst/gstobject.c: (gst_object_dispose):
21540 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
21541 (gst_plugin_load_file), (gst_plugin_desc_free):
21542 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
21543 (gst_plugin_feature_finalize):
21544 * gst/gstregistry.c: (gst_registry_class_init),
21545 (gst_registry_init), (gst_registry_finalize),
21546 (gst_registry_get_default), (gst_registry_deinit):
21547 * gst/gstregistry.h:
21548 * gst/gstregistryxml.c: (load_feature), (load_plugin):
21549 various cleanups and memleak plugging. make valgrind is happy now.
21551 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
21553 * common/check.mak:
21554 add a check-valgrind target
21556 2005-09-18 David Schleef <ds@schleef.org>
21558 * tools/gst-inspect.c: Revert the GOption code.
21560 2005-09-17 David Schleef <ds@schleef.org>
21562 * check/Makefile.am: Fix environment variables.
21563 * check/gst/gstplugin.c: Fix for API changes.
21564 * tools/gst-inspect.c: Fix for API changes.
21565 * tools/gst-xmlinspect.c: Fix for API changes.
21566 * gst/gstelementfactory.c:
21569 * gst/gstpluginfeature.c:
21570 * gst/gstpluginfeature.h:
21571 * gst/gstregistry.c:
21572 * gst/gstregistry.h:
21573 * gst/gstregistryxml.c:
21574 * gst/gsttypefind.c:
21575 * gst/gsttypefindfactory.c:
21576 * gst/indexers/gstfileindex.c:
21577 * gst/indexers/gstmemindex.c:
21578 * gst/schedulers/Makefile.am:
21579 Change registry to keep track of both plugins and features,
21580 removing the feature tracking from plugins themselves.
21582 2005-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
21584 * check/Makefile.am:
21585 * tools/gst-register.1.in:
21586 remove gst-register
21588 2005-09-15 David Schleef <ds@schleef.org>
21590 * check/gst/gstplugin.c:
21591 * gst/gstelementfactory.c:
21593 * gst/gstpluginfeature.c:
21594 * gst/gstregistry.c:
21595 Getting tired of debugging. Disabled all the unreffing of
21596 plugins and features, which fixes the segfaults, but of
21597 course leaks like crazy. At least playbin works.
21599 2005-09-15 David Schleef <ds@schleef.org>
21601 * check/gst/gstplugin.c: (register_check_elements),
21602 (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
21604 * gst/elements/gsttypefindelement.c: Fix refcounting.
21605 * gst/gsttypefind.c:
21606 * gst/gsttypefindfactory.c:
21607 * gst/gsttypefindfactory.h:
21609 2005-09-15 David Schleef <ds@schleef.org>
21611 * gst/gstindex.c: get refcounting correct.
21612 * gst/gstregistry.c: Handle the case where a feature/plugin is
21615 2005-09-15 David Schleef <ds@schleef.org>
21617 * check/Makefile.am:
21618 * check/gst/gstplugin.c: Add test
21619 * gst/gstplugin.c: Fix problems noticed by testsuite
21621 * gst/gstregistry.c:
21622 * gst/gstregistry.h:
21624 2005-09-15 David Schleef <ds@schleef.org>
21626 * gst/gstplugin.c: Implement semi-decent recounting and locking
21627 in plugins and plugin features.
21629 * gst/gstpluginfeature.c:
21630 * gst/gstpluginfeature.h:
21631 * gst/gstregistry.c:
21633 2005-09-15 Michael Smith <msmith@fluendo.com>
21635 * gst/gstregistry.c: (gst_registry_get_feature_list):
21636 Implement this. Makes oggdemux work; decodebin still broken.
21638 2005-09-14 David Schleef <ds@schleef.org>
21640 * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
21642 * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
21643 * gst/check/Makefile.am:
21644 * libs/gst/controller/Makefile.am:
21645 * libs/gst/dataprotocol/Makefile.am:
21647 2005-09-14 David Schleef <ds@schleef.org>
21649 * configure.ac: Remove getbits library. Nothing uses it, and
21650 it should be in something like liboil if someone did want
21652 * libs/gst/Makefile.am:
21653 * libs/gst/getbits/Makefile.am:
21654 * libs/gst/getbits/gbtest.c:
21655 * libs/gst/getbits/getbits.c:
21656 * libs/gst/getbits/getbits.h:
21657 * libs/gst/getbits/gstgetbits_generic.c:
21658 * libs/gst/getbits/gstgetbits_i386.s:
21659 * libs/gst/getbits/gstgetbits_inl.h:
21661 2005-09-14 David Schleef <ds@schleef.org>
21663 * gst/Makefile.am: Dist glib-compat.h
21665 2005-09-14 David Schleef <ds@schleef.org>
21667 * configure.ac: Remove gst/registries, since it's no longer used.
21668 * gst/registries/Makefile.am:
21669 * gst/registries/gstlibxmlregistry.c:
21670 * gst/registries/gstlibxmlregistry.h:
21671 * gst/registries/gstxmlregistry.c:
21672 * gst/registries/gstxmlregistry.h:
21673 * gst/registries/registrytest.c:
21675 2005-09-14 David Schleef <ds@schleef.org>
21677 * gst/glib-compat.h:
21678 * gst/gstregistryxml.c:
21679 Convergence is near. Seriously.
21681 2005-09-14 David Schleef <ds@schleef.org>
21683 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
21684 * gst/glib-compat.h:
21685 Attempt #4 to appease the buildbots.
21687 2005-09-14 David Schleef <ds@schleef.org>
21689 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
21692 2005-09-14 David Schleef <ds@schleef.org>
21694 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
21697 2005-09-14 David Schleef <ds@schleef.org>
21699 * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
21702 2005-09-14 David Schleef <ds@schleef.org>
21704 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
21705 * gst/glib-compat.h: Add some functions that are in newer versions
21706 of glib than we care to require.
21707 * gst/gstregistryxml.c: Use them.
21709 2005-09-14 David Schleef <ds@schleef.org>
21711 * po/POTFILES.in: remove gst-register.c
21713 2005-09-14 David Schleef <ds@schleef.org>
21715 * docs/gst/gstreamer-docs.sgml:
21716 * docs/gst/gstreamer-sections.txt:
21717 * docs/gst/gstreamer.types:
21718 * docs/gst/tmpl/gstelement.sgml:
21719 * docs/gst/tmpl/gstplugin.sgml:
21720 * docs/gst/tmpl/gstpluginfeature.sgml:
21721 Documentation updates for registry changes.
21723 2005-09-14 David Schleef <ds@schleef.org>
21725 * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
21726 because we don't require glib-2.8.
21728 2005-09-14 David Schleef <ds@schleef.org>
21730 * gst/gstregistryxml.c: Added. Essentially moved out of the
21731 registries directory.
21733 2005-09-14 David Schleef <ds@schleef.org>
21735 * check/Makefile.am:
21736 * check/generic/states.c:
21740 * gst/gst_private.h:
21741 * gst/gstelementfactory.c:
21746 * gst/gstpluginfeature.c:
21747 * gst/gstpluginfeature.h:
21748 * gst/gstregistry.c:
21749 * gst/gstregistry.h:
21750 * gst/gstregistrypool.c: remove
21751 * gst/gstregistrypool.h: remove
21752 * gst/gsttypefind.c:
21753 * gst/gsttypefindfactory.c:
21755 * tools/Makefile.am:
21756 * tools/gst-compprep.c:
21757 * tools/gst-inspect.c:
21758 * tools/gst-register.c: remove
21759 * tools/gst-xmlinspect.c:
21760 Registry rewrite. Changes registry from being a file created
21761 by a tool into a simple cache file created automatically by
21762 libgstreamer. Removed gst-register (because it's no longer
21763 needed). Remove registry pools, because we only have one
21764 registry implementation (XML). Fix up other subsystems as
21767 2005-09-13 Michael Smith <msmith@fluendo.com>
21769 * gst/gstconfig.h.in:
21770 Don't Use windows linking attributes for MinGW. Fixes #316157
21772 2005-09-13 Thomas Vander Stichele <thomas at apestaart dot org>
21774 * gst/gstutils.c: (set_state_async_thread_func),
21775 (gst_element_set_state_async):
21776 Apparently people think it's better if this function doesn't
21777 try to set the state to whatever state was asked for on the first
21778 call to this function for any object. Seriously.
21780 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
21782 * check/gst/gstpipeline.c: (GST_START_TEST):
21783 * docs/gst/gstreamer-sections.txt:
21784 * gst/gstutils.c: (set_state_async_thread_func),
21785 (gst_element_set_state_async):
21787 add a "gst_element_set_state_async" method that
21788 sets the state and starts a thread to make sure the state
21789 change completes as best as it can
21791 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
21793 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
21794 codify design+behaviour in testsuite after discussion
21796 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
21798 * docs/gst/tmpl/gstelement.sgml:
21799 * docs/manual/appendix-quotes.xml:
21801 * gst/gstelement.c: (gst_element_set_state):
21804 2005-09-12 Jan Schmidt <thaytan@mad.scientist.com>
21806 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
21807 (gst_base_transform_prepare_output_buf),
21808 (gst_base_transform_handle_buffer):
21809 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
21810 (gst_capsfilter_prepare_buf):
21811 Remove the requirement for sub-classes to call the parent
21812 implementation of prepare_output_buffer with a wrapper function.
21814 * gst/gsttaglist.h:
21815 * gst/gsttagsetter.h:
21816 Fix #define wrapper
21818 2005-09-11 Stefan Kost <ensonic@users.sf.net>
21820 * docs/gst/gstreamer-sections.txt:
21823 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
21825 * docs/gst/gstreamer-sections.txt:
21826 * docs/gst/tmpl/gstelement.sgml:
21827 * docs/gst/tmpl/gstplugin.sgml:
21828 * gst/gstminiobject.c:
21830 docs now stop throwing warnings
21832 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
21834 * docs/gst/gstreamer-sections.txt:
21835 * docs/gst/gstreamer.types:
21836 * docs/gst/tmpl/gstpad.sgml:
21837 * docs/gst/tmpl/gsttypes.sgml:
21838 * gst/base/gstadapter.h:
21839 * gst/base/gstbasesink.h:
21840 * gst/base/gstbasesrc.h:
21846 * gst/gstelement.h:
21848 * gst/gstmessage.h:
21850 * gst/gststructure.c:
21851 * gst/registries/gstlibxmlregistry.h:
21852 various documentation fixes
21854 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
21856 * docs/gst/gstreamer-sections.txt:
21857 * docs/gst/tmpl/gstvalue.sgml:
21858 rearrange gstvalue section
21859 * gst/gstutils.c: (gst_element_state_get_name):
21861 * gst/gstvalue.c: (_gst_value_initialize):
21865 2005-09-10 Jan Schmidt <thaytan@mad.scientist.com>
21867 * check/gst-libs/controller.c:
21868 Header include fix.
21869 * gst/base/gstbasetransform.c:
21870 (gst_base_transform_default_prepare_buf),
21871 (gst_base_transform_handle_buffer):
21872 * gst/base/gstbasetransform.h:
21873 Some more basetransform changes and fixes to enable sub-classes
21874 that modify buffer metadata only.
21875 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
21876 (gst_capsfilter_init), (gst_capsfilter_transform_ip),
21877 (gst_capsfilter_prepare_buf):
21878 If the output pad has fixed allowed caps and input buffers
21879 don't have any, set the fixed caps on outgoing buffers.
21881 2005-09-09 Jan Schmidt <thaytan@mad.scientist.com>
21882 * check/elements/identity.c: (GST_START_TEST):
21883 Make the error a little clearer when the test fails because
21884 identity made a copy of the buffer.
21885 * docs/gst/gstreamer-sections.txt:
21886 New symbols in gstbasetransform.h
21887 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
21888 (gst_base_transform_init), (gst_base_transform_transform_size),
21889 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
21890 (gst_base_transform_default_prepare_buf),
21891 (gst_base_transform_get_unit_size),
21892 (gst_base_transform_buffer_alloc),
21893 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
21894 (gst_base_transform_change_state),
21895 (gst_base_transform_set_passthrough),
21896 (gst_base_transform_set_in_place),
21897 (gst_base_transform_is_in_place):
21898 * gst/base/gstbasetransform.h:
21899 Change BaseTransform to separate in_place operate from same_caps
21900 output. in_place implies that the element can perform the transform
21901 on incoming buffers in-place, even if the caps on the output are
21903 Sub-class elements can now implement special buffer allocation
21904 methods for outgoing buffers if they wish to.
21905 Big documentation addition.
21906 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
21907 * gst/elements/gstelements.c:
21908 Changes for basetransform modifications.
21909 * gst/elements/Makefile.am:
21910 * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
21911 Compile fix. Extra debug output.
21913 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
21915 * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
21917 add tests for valid pad naming
21918 * gst/check/gstcheck.c: (gst_check_log_message_func),
21919 (gst_check_log_critical_func):
21921 remove printing of code, it is fragile when the code contains
21922 % and the line number is enough info
21923 * gst/check/gstcheck.h:
21924 * gst/gstpad.c: (gst_pad_template_new):
21927 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
21930 say what CHECK flags we use
21931 * docs/libs/gstreamer-libs.types:
21932 * libs/gst/controller/Makefile.am:
21933 * libs/gst/controller/gst-controller.c:
21934 * libs/gst/controller/gst-controller.h:
21935 * libs/gst/controller/gst-helper.c:
21936 * libs/gst/controller/gst-interpolation.c:
21937 * libs/gst/controller/gstcontroller.c:
21938 * libs/gst/controller/gsthelper.c:
21939 * libs/gst/controller/gstinterpolation.c:
21940 * tools/gst-inspect.c: (print_plugin_info):
21941 we don't use dashes in header names
21943 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
21945 * check/Makefile.am:
21946 * check/gst/.cvsignore:
21947 * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
21948 (gst_pipeline_suite), (main):
21949 adding a test for pipelines and state changes
21950 * gst/gstutils.c: (get_state_func):
21952 * gstreamer.spec.in:
21955 2005-09-08 Michael Smith <msmith@fluendo.com>
21957 * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
21958 (gst_file_src_map_small_region), (gst_file_src_create_mmap),
21959 (gst_file_src_is_seekable), (gst_file_src_get_size),
21960 (gst_file_src_start):
21961 * gst/elements/gstfilesrc.h:
21962 Various fixes for unseekable, unmmapable, and non-normal files, so
21963 that fallback to read() rather than mmap() works.
21964 * gst/gstevent.c: (gst_event_new_newsegment):
21965 Allow newsegment events with segment_start == segment_end, as will
21966 correctly happen if you use filesrc on a zero-size file, for
21969 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
21971 * gst/gstplugin.c: (gst_plugin_load_file):
21972 Call g_module_close when we don't load the module
21974 * gst/registries/gstlibxmlregistry.c:
21975 (gst_xml_registry_get_property):
21976 Port leak fix from 0.8
21978 2005-09-07 Stefan Kost <ensonic@users.sf.net>
21980 * docs/gst/gstreamer-docs.sgml:
21981 * docs/gst/tmpl/.cvsignore:
21982 * docs/gst/tmpl/gsttrace.sgml:
21983 * docs/gst/tmpl/gsttrashstack.sgml:
21986 * gst/gstelement.h:
21988 * gst/gstmessage.c:
21989 * gst/gstmessage.h:
21992 * gst/gsttaginterface.c:
21993 * gst/gsttaginterface.h:
21994 * gst/gsttaglist.c:
21995 * gst/gsttaglist.h:
21996 * gst/gsttagsetter.c:
21997 * gst/gsttagsetter.h:
22000 * gst/gsttrashstack.c:
22001 renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
22002 inlined docs for gsttrace, gsttrashstack
22004 2005-09-07 Stefan Kost <ensonic@users.sf.net>
22007 * gst/elements/gstbufferstore.h:
22008 * gst/elements/gsttypefindelement.c:
22009 * gst/elements/gsttypefindelement.h:
22011 * gst/gsttypefind.c:
22012 * gst/gsttypefind.h:
22013 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
22014 (gst_type_find_factory_class_init), (gst_type_find_factory_init),
22015 (gst_type_find_factory_dispose),
22016 (gst_type_find_factory_unload_thyself),
22017 (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
22018 (gst_type_find_factory_get_caps),
22019 (gst_type_find_factory_get_extensions),
22020 (gst_type_find_factory_call_function):
22021 * gst/gsttypefindfactory.h:
22022 * gst/registries/gstlibxmlregistry.c:
22023 * gst/registries/gstxmlregistry.c:
22024 splitted gsttypefind into gsttypefind, gsttypefindfactory
22026 2005-09-07 Andy Wingo <wingo@pobox.com>
22028 * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
22029 condition whereby the pad's task function is entered before the
22030 pad_mode variable was set.
22032 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
22034 * gst/gstpad.c: (gst_pad_alloc_buffer):
22035 Catch misbehaving pad_alloc functions that don't
22036 set up caps and do it for them.
22038 2005-09-07 Stefan Kost <ensonic@users.sf.net>
22040 * check/pipelines/simple_launch_lines.c: (run_pipeline):
22041 test for pipe!=NULL
22042 * docs/gst/tmpl/.cvsignore:
22043 * docs/gst/tmpl/gstmemchunk.sgml:
22044 * docs/gst/tmpl/gstparse.sgml:
22045 * docs/gst/tmpl/gsttaglist.sgml:
22046 * docs/gst/tmpl/gsttagsetter.sgml:
22047 * docs/gst/tmpl/gsttypefind.sgml:
22048 * docs/gst/tmpl/gsttypefindfactory.sgml:
22049 * gst/gstmemchunk.c:
22052 * gst/gsttaginterface.c:
22053 * gst/gsttypefind.c:
22054 * gst/gsttypefind.h:
22057 === release 0.9.2 ===
22059 2005-09-06 Thomas Vander Stichele <thomas at apestaart dot org>
22064 releasing 0.9.2, "South"
22066 2005-09-05 Andy Wingo <wingo@pobox.com>
22068 * gst/registries/gstxmlregistry.h:
22069 * gst/registries/gstxmlregistry.c: Um... resurrect...
22071 * gst/registries/gstxmlregistry.h:
22072 * gst/registries/gstxmlregistry.c: and update to newer API.
22073 Incidentally they should be a bit faster now that they don't have
22076 2005-09-05 Andy Wingo <wingo@pobox.com>
22078 * gst/registries/gstxmlregistry.h:
22079 * gst/registries/gstxmlregistry.c: Remove from CVS, they were
22080 replaced by the libxml registry a while back
22082 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
22084 * docs/gst/tmpl/gstplugin.sgml:
22085 * gst/elements/gstelements.c:
22087 * gst/gstplugin.c: (gst_plugin_register_func),
22088 (gst_plugin_desc_copy), (gst_plugin_desc_free),
22089 (gst_plugin_get_source):
22091 * gst/registries/gstlibxmlregistry.c: (load_plugin),
22092 (gst_xml_registry_save_plugin):
22093 * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
22094 (gst_xml_registry_save_plugin):
22095 * tools/gst-inspect.c: (print_plugin_info):
22096 add a "source" plugin description field, to represent the source
22097 module this plugin is a part of. By default GST_PLUGIN_DEFINE
22098 will set it to PACKAGE, which is automake's idea of the name of
22099 the source project.
22101 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
22106 * docs/Makefile.am:
22107 * docs/faq/Makefile.am:
22108 * docs/gst/tmpl/gstelement.sgml:
22109 * docs/gst/tmpl/gsttypes.sgml:
22110 * docs/htmlinstall.mak:
22111 * docs/manual/Makefile.am:
22112 * docs/pwg/Makefile.am:
22113 reorganize doc build a little
22114 split out docbook and gtk-doc stuff
22115 have two separate --enable's and enable them through autogen
22116 but disable by default in configure (to be similar to other
22118 * gstreamer.spec.in:
22119 clean up docs install
22137 translation updates
22139 2005-09-03 Tim-Philipp Müller <tim at centricular dot net>
22141 * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
22144 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
22145 (gst_fake_sink_change_state):
22146 Make state change function thread-safe.
22148 * gst/gstpad.c: (gst_pad_alloc_buffer):
22149 Set offset on generic buffer allocated by fallback.
22151 2005-09-03 Stefan Kost <ensonic@users.sf.net>
22153 * docs/gst/gstreamer-sections.txt:
22154 * docs/gst/tmpl/gstelement.sgml:
22156 * libs/gst/controller/gst-controller.c:
22157 (gst_controlled_property_set_interpolation_mode),
22158 (gst_controlled_property_new),
22159 (gst_controller_find_controlled_property):
22160 run the wingo-magic script against the docs
22162 2005-09-02 Stefan Kost <ensonic@users.sf.net>
22164 * docs/gst/gstreamer-docs.sgml:
22165 * docs/gst/gstreamer-sections.txt:
22166 * docs/gst/tmpl/.cvsignore:
22167 * docs/gst/tmpl/gstelementdetails.sgml:
22168 * docs/gst/tmpl/gstelementfactory.sgml:
22171 * gst/gstelementfactory.c:
22172 * gst/gstelementfactory.h:
22173 merged elementdetails docs into elementfactory docs
22176 2005-09-02 Andy Wingo <wingo@pobox.com>
22178 * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
22179 consider this enum an enum and not a flags.
22181 2005-09-02 Stefan Kost <ensonic@users.sf.net>
22183 * docs/gst/gstreamer-docs.sgml:
22184 * docs/gst/tmpl/.cvsignore:
22185 * docs/gst/tmpl/gstghostpad.sgml:
22186 * docs/gst/tmpl/gstiterator.sgml:
22187 * docs/gst/tmpl/gstmacros.sgml:
22188 * docs/gst/tmpl/gstrealpad.sgml:
22189 * docs/gst/tmpl/gstregistry.sgml:
22190 * docs/gst/tmpl/gstregistrypool.sgml:
22191 * docs/gst/tmpl/gststructure.sgml:
22192 * docs/gst/tmpl/gstsystemclock.sgml:
22193 * docs/gst/tmpl/gsttrace.sgml:
22194 * gst/gstghostpad.c:
22196 * gst/gstmemchunk.c:
22197 * gst/gstmemchunk.h:
22199 * gst/gstregistry.c:
22200 * gst/gstregistrypool.c:
22201 * gst/gststructure.c:
22202 * gst/gstsystemclock.c:
22205 2005-09-02 Andy Wingo <wingo@pobox.com>
22207 * gst/gstelement.h (GstState): Renamed from GstElementState,
22208 changed to be a normal enum instead of flags.
22209 (GstStateChangeReturn): Renamed from GstElementStateReturn, names
22210 munged to be GST_STATE_CHANGE_*.
22211 (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
22212 work with the new state representation.
22213 (GstStateChange): New enumeration of possible state transitions.
22214 Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
22215 (GstElementClass::change_state): Pass the GstStateChange along as
22216 an argument. Helps language bindings, so they don't have to use
22217 tricky lock-needing macros like GST_STATE_CHANGE ().
22219 * scripts/update-states (file): New script. Run it on a file to
22220 update it for state naming and API changes. Updates files in
22223 * All files updated for the new API.
22225 2005-09-02 Thomas Vander Stichele <thomas at apestaart dot org>
22227 * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
22228 * gst/gstutils.c: (gst_util_set_value_from_string),
22229 (gst_util_set_object_arg):
22230 fix a bunch of unchecked return values
22231 * tools/gst-complete.c: (main):
22232 * gstreamer.spec.in:
22235 2005-09-01 Wim Taymans <wim@fluendo.com>
22237 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
22238 (gst_base_sink_event), (gst_base_sink_do_sync),
22239 (gst_base_sink_handle_event):
22240 * gst/base/gstbasesink.h:
22241 Handle newsegments more correctly.
22246 * gst/gstevent.c: (gst_event_new_newsegment):
22247 A newsegment cannot have a start_time of -1
22249 2005-09-01 Tim-Philipp Müller <tim at centricular dot net>
22251 * win32/gstenumtypes.c:
22252 * win32/gstenumtypes.h:
22255 2005-08-31 Stefan Kost <ensonic@users.sf.net>
22257 * libs/gst/controller/gst-controller.c:
22258 (gst_controlled_property_set_interpolation_mode),
22259 (gst_controlled_property_new):
22260 fixed boolean again
22262 2005-08-31 Thomas Vander Stichele <thomas at apestaart dot org>
22264 * docs/faq/gst-uninstalled:
22269 * gst/gstutils.c: (gst_element_link_filtered):
22271 add gst_element_link_filtered
22273 2005-08-31 Stefan Kost <ensonic@users.sf.net>
22275 * docs/gst/gstreamer-docs.sgml:
22276 * docs/gst/gstreamer-sections.txt:
22277 * docs/gst/tmpl/.cvsignore:
22278 * docs/gst/tmpl/gsterror.sgml:
22279 * docs/gst/tmpl/gstfilter.sgml:
22280 * docs/gst/tmpl/gsturihandler.sgml:
22281 * docs/gst/tmpl/gsturitype.sgml:
22282 * docs/gst/tmpl/gstutils.sgml:
22283 * docs/gst/tmpl/gstxml.sgml:
22288 * gst/gsturitype.c:
22291 inlined more docs, fixed double id-ref
22293 2005-08-31 Wim Taymans <wim@fluendo.com>
22295 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
22296 (gst_base_transform_handle_buffer):
22297 Passthrough elements don't need the caps as they don't care.
22299 2005-08-31 Wim Taymans <wim@fluendo.com>
22301 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
22302 (gst_base_transform_handle_buffer), (gst_base_transform_chain):
22303 Don't leak refcounts on buffers.
22305 2005-08-31 Wim Taymans <wim@fluendo.com>
22307 * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
22308 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
22309 (gst_base_transform_chain), (gst_base_transform_change_state):
22310 * gst/base/gstbasetransform.h:
22311 Handle the case where we are not negotiated more gracefully.
22313 2005-08-31 Tim-Philipp Müller <tim at centricular dot net>
22315 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
22316 (gst_file_src_map_region):
22317 Set READONLY flag on mmap'ed buffers, otherwise
22318 gst_buffer_make_writable() won't work properly (#314708).
22320 2005-08-31 Wim Taymans <wim@fluendo.com>
22322 * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
22323 passthrough elements can even do inplace on non writable
22324 buffers (as they don't touch them).
22326 2005-08-31 Stefan Kost <ensonic@users.sf.net>
22328 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
22329 (gst_test_mono_source_set_property),
22330 (gst_test_mono_source_class_init), (GST_START_TEST),
22331 (gst_controller_suite):
22332 more tests (hehe I have the most)
22334 describe popping messages whenusing mulltiple sources
22335 * libs/gst/controller/gst-controller.c:
22336 (gst_controlled_property_set_interpolation_mode),
22337 (gst_controlled_property_new):
22338 * libs/gst/controller/gst-controller.h:
22339 * libs/gst/controller/gst-interpolation.c:
22340 implement boolean properties
22342 2005-08-31 Wim Taymans <wim@fluendo.com>
22344 * gst/gstminiobject.c: (gst_mini_object_ref):
22345 Cannot assert that the refcount has to be positive
22346 since a disposed object can be resurrected.
22348 2005-08-31 Wim Taymans <wim@fluendo.com>
22350 * gst/gstpad.c: (gst_pad_init):
22351 Revert change, need to first fix badly behaving
22354 2005-08-30 Wim Taymans <wim@fluendo.com>
22356 * check/elements/fakesrc.c: (setup_fakesrc):
22357 * check/elements/identity.c: (setup_identity):
22358 Activate pads before using them.
22360 2005-08-30 Wim Taymans <wim@fluendo.com>
22362 * gst/base/gstadapter.c: (gst_adapter_flush):
22363 Flushing out 0 bytes is ok for this function.
22365 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
22366 no newsegment gives a warning and sets the start/stop to
22369 * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
22370 (gst_base_transform_set_passthrough):
22373 * gst/gstminiobject.c: (gst_mini_object_ref):
22374 Check refcount here too.
22376 * gst/gstpad.c: (gst_pad_init):
22377 Pads are initially flushing and refusing data.
22379 * gst/gstutils.c: (gst_element_link_pads_filtered):
22380 When adding a capsfilter element make sure it has the
22381 same state as the parent bin.
22383 2005-08-30 Stefan Kost <ensonic@users.sf.net>
22385 * docs/gst/tmpl/.cvsignore:
22386 * docs/gst/tmpl/gstformat.sgml:
22387 * docs/gst/tmpl/gstversion.sgml:
22391 * gst/gstversion.h.in:
22392 more docs and two more inlined
22394 2005-08-30 Wim Taymans <wim@fluendo.com>
22396 * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
22397 Don't sync to clock.
22399 2005-08-30 Stefan Kost <ensonic@users.sf.net>
22401 * docs/gst/gstreamer-sections.txt:
22402 ultral33t func10ns deserve to appear in the docs actually
22403 * docs/gst/tmpl/.cvsignore:
22404 * docs/gst/tmpl/gstcompat.sgml:
22405 * docs/gst/tmpl/gstconfig.sgml:
22406 * gst/check/gstcheck.c:
22408 * gst/gstconfig.h.in:
22411 2005-08-30 Stefan Kost <ensonic@users.sf.net>
22413 * docs/gst/tmpl/.cvsignore:
22414 * docs/gst/tmpl/gstquery.sgml:
22415 * docs/gst/tmpl/gstutils.sgml:
22418 inlined and extended docs
22420 2005-08-30 Stefan Kost <ensonic@users.sf.net>
22422 * check/gst-libs/controller.c: (GST_START_TEST),
22423 (gst_controller_suite):
22425 * docs/gst/tmpl/gstutils.sgml:
22426 * docs/libs/gstreamer-libs-sections.txt:
22427 * docs/libs/tmpl/gstdataprotocol.sgml:
22429 * examples/controller/audio-example.c: (main):
22430 controller example works now
22433 * tools/gst-inspect.c: (print_element_properties_info):
22434 show param spec flags
22436 2005-08-29 Andy Wingo <wingo@pobox.com>
22438 * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
22440 2005-08-28 Andy Wingo <wingo@pobox.com>
22442 * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
22443 as having two arguments instead of just one. Allows superclasses
22444 to access information on subclasses -- see the terrible for() loop
22445 in gtype.c:g_type_create_instance for the reason why. All callers
22448 2005-08-27 Stefan Kost <ensonic@users.sf.net>
22450 * docs/design/part-messages.txt:
22452 * docs/gst/tmpl/.cvsignore:
22453 * docs/gst/tmpl/gstcaps.sgml:
22454 * docs/gst/tmpl/gstclock.sgml:
22460 * gst/gstmessage.c:
22461 added descriptions for bus and message
22462 inline caps and clock docs
22464 2005-08-27 Stefan Kost <ensonic@users.sf.net>
22466 * gst/gstmessage.c:
22467 * gst/gstmessage.h:
22470 2005-08-27 Stefan Kost <ensonic@users.sf.net>
22472 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
22475 2005-08-26 Andy Wingo <wingo@pobox.com>
22477 * check/pipelines/simple_launch_lines.c (run_pipeline): Check
22478 element_set_state's return val.
22479 (test_2_elements): Add test that's been disabled for months.
22481 * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
22482 can-activate-pull properties.
22484 * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
22485 can-activate-pull properties. Implement is_seekable so fakesrc can
22486 operate in pull mode.
22488 * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
22490 (gst_base_sink_activate, gst_base_sink_activate_pull)
22491 (gst_base_sink_activate_push): Make activation mode choosing work.
22493 (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
22494 is right. Make pull mode work. Post an eos before pausing in pull
22496 (gst_base_sink_change_state): Pay attention to the core's
22497 change_state() return val.
22499 * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
22500 has-getrange properties. Cleanups.
22502 * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
22503 has_getrange and replace with can_activate_pull and
22506 * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
22507 locking comments. Remove has_loop, has_chain and replace with
22508 can_activate_pull and can_activate_push.
22510 2005-08-26 Jan Schmidt <thaytan@mad.scientist.com>
22513 * examples/Makefile.am:
22514 * examples/metadata/Makefile.am:
22515 * examples/metadata/read-metadata.c: (message_loop),
22516 (have_pad_handler), (make_pipeline), (print_tag), (main):
22517 Add metadata reading example that loops over a list of filenames,
22518 dumping any tags found.
22520 * gst/gstbus.c: (gst_bus_dispose):
22521 * gst/gstelement.c: (gst_element_dispose):
22522 Release a few potentially-held references in dispose.
22524 2005-08-26 Stefan Kost <ensonic@users.sf.net>
22526 * docs/gst/tmpl/gstminiobject.sgml:
22527 do *not* add tmpl/*.sgml files to CVS!
22529 2005-08-26 Stefan Kost <ensonic@users.sf.net>
22531 * libs/gst/bytestream/.cvsignore:
22532 * libs/gst/bytestream/Makefile.am:
22533 * libs/gst/bytestream/adapter.c:
22534 * libs/gst/bytestream/adapter.h:
22535 * libs/gst/bytestream/bytestream.c:
22536 * libs/gst/bytestream/bytestream.h:
22537 * libs/gst/bytestream/filepad.c:
22538 * libs/gst/bytestream/filepad.h:
22539 removing obsolete files
22541 2005-08-26 Stefan Kost <ensonic@users.sf.net>
22543 * docs/gst/gstreamer-docs.sgml:
22544 * docs/libs/gstreamer-libs-docs.sgml:
22545 disabed additional index entries again, as this makes docs-gen just
22546 slow and they aren't useful yet
22547 * docs/libs/gstreamer-libs-sections.txt:
22548 little -section.txt cleanup for libs
22550 2005-08-26 Thomas Vander Stichele <thomas at apestaart dot org>
22552 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
22553 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
22554 fix up some debugging
22555 (gst_base_transform_get_unit_size),
22556 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
22557 (gst_base_transform_handle_buffer):
22558 * gst/base/gstbasetransform.h:
22559 handle and store timed NEWSEGMENT events so that subclasses that
22560 calculate time by counting samples have a segment_start time they
22561 need to add to their timestamps - see audioresample
22563 2005-08-26 Stefan Kost <ensonic@users.sf.net>
22566 removed ';' from the end of macro defs
22567 * docs/gst/gstreamer-docs.sgml:
22568 * docs/gst/gstreamer-sections.txt:
22569 * docs/gst/tmpl/.cvsignore:
22571 * gst/gstelement.c: (gst_element_class_init),
22572 (gst_element_set_state), (activate_pads),
22573 (gst_element_save_thyself):
22574 * gst/gstevent.c: (gst_event_new_newsegment):
22576 * gst/gstiterator.c:
22577 * gst/gstiterator.h:
22580 * gst/gstutils.c: (gst_pad_query_convert):
22582 fixed parameter name mismatches between source, header and docs
22583 added some more docs, resolved the last batch of unused elements in
22584 docs (now someone needs to doc them)
22586 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
22588 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
22589 * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
22590 don't walk through the plugins backwards. Where is all this
22591 reversed logic coming from ?
22593 2005-08-25 Wim Taymans <wim@fluendo.com>
22595 * gst/base/gstbasetransform.c: (gst_base_transform_init),
22596 (gst_base_transform_transform_size),
22597 (gst_base_transform_configure_caps),
22598 (gst_base_transform_get_unit_size),
22599 (gst_base_transform_buffer_alloc),
22600 (gst_base_transform_change_state):
22601 * gst/base/gstbasetransform.h:
22602 Cache caps unit_size.
22603 Make sure we cannot negotiate up and downstream at the
22606 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
22608 * gst/gst.c: (init_pre), (init_post):
22609 register the installed plugin path after the env var
22610 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
22611 * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
22612 don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
22613 directories, so the tests can prefer uninstalled over installed
22615 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
22617 * gst/base/gstbasetransform.h:
22622 2005-08-25 Wim Taymans <wim@fluendo.com>
22624 * gst/gstbin.c: (bin_bus_handler):
22625 Be a bit more conservative about the posted message.
22627 * gst/gstbus.c: (gst_bus_post):
22628 Some cleanups, warn wrong return values.
22630 2005-08-25 Jan Schmidt <thaytan@mad.scientist.com>
22632 * check/gst/gstbin.c: (GST_START_TEST):
22633 * gst/gstbin.c: (bin_bus_handler):
22634 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
22635 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
22636 (gst_message_new_warning), (gst_message_new_tag),
22637 (gst_message_new_state_changed), (gst_message_new_segment_start),
22638 (gst_message_new_segment_done), (gst_message_new_custom):
22639 * gst/gstmessage.h:
22640 * tools/gst-launch.c: (event_loop):
22641 * tools/gst-md5sum.c: (event_loop):
22642 Revert unpopular change for GST_MESSAGE_SRC to GObject.
22644 2005-08-25 Wim Taymans <wim@fluendo.com>
22646 * check/generic/states.c: (GST_START_TEST):
22647 Cleanup can be done at the end.
22649 * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
22650 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
22651 (gst_task_get_state), (gst_task_start), (gst_task_pause):
22652 Oh boy.. Thanks for finding this, Thomas.
22654 2005-08-25 Stefan Kost <ensonic@users.sf.net>
22656 * docs/gst/gstreamer.types:
22657 added missing types
22659 2005-08-25 Stefan Kost <ensonic@users.sf.net>
22661 * docs/gst/gstreamer-docs.sgml:
22662 * docs/gst/gstreamer-sections.txt:
22663 * docs/gst/tmpl/.cvsignore:
22665 * gst/gstiterator.c:
22667 * gst/registries/gstxmlregistry.h:
22668 added missing classes and symbols (123 more to go)
22669 removed removed symbols from section file
22670 fixed many doc-comments
22672 2005-08-24 Wim Taymans <wim@fluendo.com>
22674 * check/generic/states.c: (GST_START_TEST):
22675 Make sure all tasks are stopped.
22677 * check/gst/gstbin.c: (GST_START_TEST):
22678 Unref after usage for proper valgrinding.
22680 * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
22681 Really wait for the task to stop before destroying the
22684 * gst/gstqueue.c: (gst_queue_sink_activate_push),
22685 (gst_queue_src_activate_push):
22686 Small cleanups. Don't stop the task when we did not start
22689 * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
22690 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
22691 (gst_task_get_state), (gst_task_start), (gst_task_pause),
22694 Protect the stream lock with the object lock.
22695 Disallow setting the stream lock when running.
22696 Add cleanup_all to wait for the threadpool to finish.
22697 Remove code to autoallocate a mutex if none was provided.
22698 Add _join() to wait for a task to stop.
22699 Protect the thread pool with a global lock.
22701 2005-08-24 Wim Taymans <wim@fluendo.com>
22703 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
22704 (gst_base_sink_get_times), (gst_base_sink_do_sync),
22705 (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
22706 * gst/base/gstbasesink.h:
22707 Handle newsegment events correctly.
22708 Drop buffers out of the segment range.
22710 2005-08-22 Andy Wingo <wingo@pobox.com>
22712 * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
22713 macro, implements an interface and gstimplementsinterface for a
22716 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
22718 * check/Makefile.am:
22719 * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
22720 add a test that does a bunch of state changes on elements
22721 needs some fixing for valgrind
22722 * check/states/sinks.c: (gst_object_suite):
22725 add prototype for gst_caps_is_equal_fixed
22727 * gst/gstregistrypool.c:
22730 2005-08-24 Andy Wingo <wingo@pobox.com>
22732 * gst/gstquery.c (gst_query_new_convert): Spew if we try to
22733 convert a negative value. Doesn't make much sense. Mostly this is
22734 here to force callers to ensure -1 maps to -1.
22736 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
22738 * docs/pwg/advanced-types.xml:
22739 Well done to Michael for catching my deliberate introduction
22740 of this spelling mistake.
22741 * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
22742 * gst/gstelement.h:
22743 Add GST_ELEMENT_UNPARENTING to prevent races so that we can
22744 unlink pads before removing the element from the bin.
22746 2005-08-24 Andy Wingo <wingo@pobox.com>
22748 * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
22749 the same thing as GST_DEBUG=*:4.
22750 (parse_debug_level, parse_debug_category): New helper parsers.
22752 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
22754 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
22755 (gst_base_transform_transform_size), (gst_base_transform_getcaps),
22756 (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
22757 (gst_base_transform_buffer_alloc),
22758 (gst_base_transform_handle_buffer):
22759 use gboolean return values and pointers to size so we can use the
22760 full GST_BUFFER_SIZE range (guint) for buffer sizes
22761 use GstPadDirection for transform_caps
22762 * gst/base/gstbasetransform.h:
22763 rename get_size to get_unit_size since that's what it is
22764 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
22765 use GstPadDirection for transform_caps
22766 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
22768 cleanup and debugging
22770 2005-08-24 Stefan Kost <ensonic@users.sf.net>
22772 * gst/gstelement.c: (gst_element_class_init),
22773 (gst_element_set_state), (activate_pads),
22774 (gst_element_save_thyself):
22775 * tools/gst-compprep.c: (main):
22776 * tools/gst-inspect.c: (print_element_properties_info):
22777 * tools/gst-xmlinspect.c: (print_element_properties):
22778 Fixed long standing mem-leak
22780 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
22782 * check/gst/gstbin.c: (GST_START_TEST):
22783 * gst/gstbin.c: (bin_bus_handler):
22784 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
22785 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
22786 (gst_message_new_warning), (gst_message_new_tag),
22787 (gst_message_new_state_changed), (gst_message_new_segment_start),
22788 (gst_message_new_segment_done), (gst_message_new_custom):
22789 * gst/gstmessage.h:
22790 * tools/gst-launch.c: (event_loop):
22791 * tools/gst-md5sum.c: (event_loop):
22792 Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
22793 that applications can sensibly post custom messages with references
22794 to their own objects.
22796 2005-08-24 Andy Wingo <wingo@pobox.com>
22798 * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
22801 2005-08-24 Wim Taymans <wim@fluendo.com>
22803 * gst/base/gstbasetransform.c: (gst_base_transform_init),
22804 (gst_base_transform_transform_caps),
22805 (gst_base_transform_transform_size),
22806 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
22807 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
22808 (gst_base_transform_handle_buffer):
22809 * gst/base/gstbasetransform.h:
22810 Many fixes and new features added by Thomas. Can now also do
22811 transforms with variable sizes and a custom fixate_caps function.
22813 2005-08-24 Wim Taymans <wim@fluendo.com>
22815 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
22819 Cast to ClockTime before formatting to time.
22824 2005-08-24 Stefan Kost <ensonic@users.sf.net>
22826 * check/gst-libs/controller.c: (GST_START_TEST),
22827 (gst_controller_suite):
22828 * docs/gst/tmpl/gstcaps.sgml:
22829 * docs/gst/tmpl/gstghostpad.sgml:
22830 * docs/gst/tmpl/gstquery.sgml:
22831 * docs/gst/tmpl/gstutils.sgml:
22832 * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
22833 (gst_object_sink_values), (gst_object_get_value_arrays),
22834 (gst_object_get_value_array):
22835 gracefully handle helper method calls to objects that are not beeing
22836 controlled, added test case for that
22838 2005-08-23 Wim Taymans <wim@fluendo.com>
22840 * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
22841 (gst_event_new_newsegment), (gst_event_parse_newsegment),
22842 (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
22843 (gst_event_parse_qos), (gst_event_new_seek),
22844 (gst_event_parse_seek):
22846 Some more debugging output and doc cleanups.
22848 * gst/gstqueue.c: (gst_queue_handle_sink_event):
22849 Fix possible deadlock.
22851 2005-08-23 Stefan Kost <ensonic@users.sf.net>
22853 * docs/gst/gstreamer-docs.sgml:
22854 * docs/gst/gstreamer-sections.txt:
22855 * docs/gst/gstreamer.types:
22856 * docs/gst/tmpl/.cvsignore:
22859 * gst/gstelement.c:
22861 added 100 symbols from gstreamer-unused.txt to the right sections
22862 fixed more broken comments
22863 added GstBus to docs
22865 2005-08-23 Stefan Kost <ensonic@users.sf.net>
22867 * docs/gst/gstreamer-sections.txt:
22868 * docs/gst/tmpl/.cvsignore:
22869 * docs/gst/tmpl/gstbin.sgml:
22870 * docs/gst/tmpl/gstbuffer.sgml:
22871 * gst/base/gstbasesrc.c:
22872 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
22875 * tools/gst-launch.1.in:
22876 inlined more doc comments, added missing comments and fixed comments
22879 2005-08-23 Thomas Vander Stichele <thomas at apestaart dot org>
22881 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
22885 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
22887 * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
22888 * gst/gststructure.h:
22889 add a fixate function for booleans; add a FIXME that these func
22890 names should probably be gst_structure_fixate_*
22892 2005-08-23 Stefan Kost <ensonic@users.sf.net>
22894 * docs/gst/gstreamer-docs.sgml:
22895 * docs/gst/gstreamer-sections.txt:
22897 * gst/gstbin.c: (gst_bin_get_type),
22898 (gst_bin_child_proxy_get_child_by_index),
22899 (gst_bin_child_proxy_get_children_count),
22900 (gst_bin_child_proxy_init):
22901 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
22902 (gst_child_proxy_get_child_by_index),
22903 (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
22904 (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
22905 (gst_child_proxy_get), (gst_child_proxy_set_property),
22906 (gst_child_proxy_set_valist), (gst_child_proxy_set),
22907 (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
22908 (gst_child_proxy_base_init), (gst_child_proxy_get_type):
22909 * gst/gstchildproxy.h:
22910 * gst/parse/grammar.y:
22911 * tools/gst-inspect.c: (print_interfaces),
22912 (print_element_properties_info), (print_element_info):
22913 ported gstchildproxy over from 0.8
22914 ported gst-inspect fixes and enhancements over from 0.8
22916 2005-08-22 Wim Taymans <wim@fluendo.com>
22918 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
22919 (gst_base_transform_handle_buffer):
22920 Also call the transform function if we have ANY caps.
22922 * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
22925 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
22927 * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
22928 Don't pretend to handle seek events if the source is not seekable
22930 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
22932 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
22933 Remove extra parameter to debug output
22935 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
22936 (gst_base_src_do_seek), (gst_base_src_activate_push):
22937 Fix seek event handling.
22939 * gst/gstpipeline.c: (gst_pipeline_change_state):
22940 * gst/gstqueue.c: (gst_queue_handle_sink_event),
22941 (gst_queue_src_activate_push):
22942 Don't start the src pad task on FLUSH_STOP if the pad
22946 2005-08-22 Wim Taymans <wim@fluendo.com>
22948 * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
22949 Added check for gst_static_caps_get() refcounting.
22951 2005-08-22 Wim Taymans <wim@fluendo.com>
22953 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
22954 Make _static_caps_get() refcounting sane.
22956 * gst/gstelement.c: (gst_element_set_state):
22957 Add g_return_val_if_fail() to protect against segfaults.
22959 2005-08-22 Stefan Kost <ensonic@users.sf.net>
22961 * docs/gst/tmpl/gstevent.sgml:
22964 inlined remaining docs, added missing doc comments
22966 2005-08-22 Thomas Vander Stichele <thomas at apestaart dot org>
22968 * check/gst/gstbin.c: (GST_START_TEST):
22969 since we don't know when preroll is done, use refcount range
22971 * gst/check/gstcheck.h:
22972 add macro for checking refcount range
22974 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
22976 * check/Makefile.am:
22977 clean up environment for when registry gets built versus
22978 when actual tests are run; valgrind seems to not report
22979 leaks if GST_PLUGIN_PATH is set to some specific values
22980 * check/gst/gstbin.c: (GST_START_TEST):
22981 add more refcounting checks; maybe this exposes a
22983 * common/check.mak:
22984 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
22985 * gst/check/gstcheck.h:
22986 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
22987 (gst_bin_change_state):
22988 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
22989 add/fix debugging/whitespace
22991 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
22993 * check/gst/gstevent.c: (event_probe), (test_event),
22995 Er, don't call gst_bin_watch_for_state_change you idiot.
22997 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
22999 * check/Makefile.am:
23000 Use CHECK_CFLAGS and CHECK_LIBS
23001 * check/gst/gstevent.c: (event_probe), (test_event),
23004 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
23005 (gst_base_src_start), (gst_base_src_stop),
23006 (gst_base_src_activate_push), (gst_base_src_activate_pull),
23007 (gst_base_src_change_state):
23008 Sprinkle gst_base_src_stop liberally around error paths to fix
23009 problems reusing a source after failed state changes.
23010 * gst/base/gsttypefindhelper.c: (helper_find_peek),
23011 (helper_find_suggest), (gst_type_find_helper):
23012 Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
23014 * docs/gst/tmpl/gstevent.sgml:
23015 Migrate part of the docs from the SGML file. Wait for ensonic to
23016 tell me how I did it wrong ;)
23017 * tools/gst-typefind.c: (main):
23018 Extra robustness to state changes between files.
23020 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
23022 * check/Makefile.am:
23023 don't valgrind the controller test - it's leaking - Stefan, HELP
23024 * gst/check/gstcheck.c: (gst_check_message_error),
23025 (gst_check_chain_func), (gst_check_setup_element),
23026 (gst_check_teardown_element), (gst_check_setup_src_pad),
23027 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
23028 (gst_check_teardown_sink_pad):
23029 * gst/check/gstcheck.h:
23030 add a bunch of methods to set up elements, and src and sink pads
23031 * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
23032 * check/elements/identity.c: (setup_identity), (cleanup_identity),
23035 * gst/gstmessage.c:
23037 whitespace/doc fixes
23039 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
23041 * gst/gstelement.h:
23042 make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
23043 be handled by the application and not always printed as well
23045 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
23047 * check/Makefile.am:
23049 * gst/check/gstcheck.c: (gst_check_message_error):
23050 * gst/check/gstcheck.h:
23051 add a fail_unless_equals_int
23052 add fail_unless for error messages
23054 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
23056 * check/Makefile.am:
23058 * common/Makefile.am:
23059 * common/check.mak:
23061 factor out some of the common stuff so we can use it
23063 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
23065 * check/Makefile.am:
23066 * check/gst/gstiterator.c: (GST_START_TEST):
23067 * check/gst/gstsystemclock.c: (GST_START_TEST),
23068 (gst_systemclock_suite):
23069 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
23071 valgrind more tests
23073 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
23075 * check/elements/.cvsignore:
23076 * check/elements/gstfakesrc.c:
23077 rename to name of element
23078 * check/elements/identity.c: (chain_func), (event_func),
23079 (setup_identity), (cleanup_identity), (GST_START_TEST),
23080 (identity_suite), (main):
23081 add a test for identity
23082 * check/Makefile.am:
23083 * pkgconfig/Makefile.am:
23084 * pkgconfig/gstreamer-check.pc.in:
23085 * pkgconfig/gstreamer-check-uninstalled.pc.in:
23089 move the check stuff to a library that gets installed
23090 * check/gst-libs/controller.c: (GST_START_TEST):
23091 * check/gst-libs/gdp.c:
23092 * check/gst/gst.c: (GST_START_TEST):
23093 * check/gst/gstbin.c:
23094 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
23095 * check/gst/gstbus.c:
23096 * check/gst/gstcaps.c: (GST_START_TEST):
23097 * check/gst/gstelement.c:
23098 * check/gst/gstghostpad.c:
23099 * check/gst/gstiterator.c:
23100 * check/gst/gstmessage.c:
23101 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
23102 * check/gst/gstobject.c:
23103 * check/gst/gstpad.c: (GST_START_TEST):
23104 * check/gst/gststructure.c: (GST_START_TEST):
23105 * check/gst/gstsystemclock.c: (GST_START_TEST),
23106 (gst_systemclock_suite):
23107 * check/gst/gsttag.c: (gst_tag_suite):
23108 * check/gst/gstvalue.c:
23109 * check/pipelines/cleanup.c:
23110 * check/pipelines/simple_launch_lines.c:
23111 * check/states/sinks.c:
23112 change include statement
23114 * docs/gst/gstreamer-sections.txt:
23115 * docs/gst/tmpl/gstpad.sgml:
23116 document more pad stuff
23117 * gst/gstminiobject.c: (gst_mini_object_ref),
23118 (gst_mini_object_unref):
23121 2005-08-19 Stefan Kost <ensonic@users.sf.net>
23123 * docs/gst/tmpl/gst.sgml:
23125 eliminate another tmpl file, fix spelling in the long-description
23127 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
23129 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
23130 (test_event), (timediff), (gstevents_suite):
23131 Should fix build on 64-bit arch's
23133 2005-08-18 Andy Wingo <wingo@pobox.com>
23135 Make sure that when a pipeline goes to PLAYING, that data has
23136 actually hit the sink.
23138 * check/states/sinks.c (test_sink): A sink that doesn't get any
23139 data shouldn't return SUCCESS for going to either PLAYING or
23140 PAUSED. Test also the return values on the way back down.
23142 * gst/gstelement.c (gst_element_set_state): When changing the
23143 state of an element currently changing state asynchronously, go to
23144 lost-state after commiting the pending state. Makes future calls
23145 to get_state continue to return ASYNC.
23147 * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
23148 ASYNC when going to PLAYING if we still don't have preroll, as can
23149 happen with live sources.
23151 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
23153 * docs/pwg/advanced-types.xml:
23154 Hack long paragraph into 2 chunks as a workaround for buggy
23155 jadetex version in sid and breezy that loops infinitely and
23158 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
23160 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
23161 (test_event), (timediff), (gstevents_suite):
23162 Provide more error margin in clock measurements to allow for
23163 g_get_current_time inaccuracies.
23165 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
23167 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
23168 (test_event), (timediff), (gstevents_suite):
23169 Fix error message output so I might be able to tell why the
23170 test works here but fails on the build farm.
23172 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
23174 * check/Makefile.am:
23175 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
23176 (test_event), (timediff), (gstevents_suite), (main):
23179 * docs/design/part-seeking.txt:
23180 Spelling correction
23182 * docs/gst/tmpl/gstevent.sgml:
23183 * docs/gst/tmpl/gstfakesrc.sgml:
23186 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
23187 Treat a buffer-without-newsegment the same as a receiving
23188 a newsegment not in time format, and disable syncing to the clock
23191 * gst/gstbus.c: (gst_bus_set_sync_handler):
23192 Assert if anyone tries to replace the existing sync_handler for bus,
23193 as only the owner should be setting it.
23196 Have a fixed set of custom event enums with events identified by
23197 their structure name (as in 0.8), rather than a free-for-all
23198 allowing collisions between enum values from different plugins.
23200 * gst/gstpad.c: (gst_pad_class_init):
23203 * gst/gstqueue.c: (gst_queue_handle_sink_event):
23204 Handle out-of-band downstream events from the sending thread.
23206 2005-08-17 Andy Wingo <wingo@pobox.com>
23208 * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
23209 play-timeout==0 to mean no timeout at all. In that case, don't
23210 bother with a get_state or a warning, just return directly, even
23213 * gst/base/gstbasetransform.c: Debug changes.
23216 * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
23217 ensure bins post state change messages. A bit of a hack but I can't
23218 think of a way to avoid it.
23220 * check/gst/gstbin.c (test_watch_for_state_change): Added test.
23222 2005-08-16 Andy Wingo <wingo@pobox.com>
23224 * gst/base/gstadapter.h:
23225 * gst/base/gstadapter.c (gst_adapter_take): New function, like
23226 peek() but you own the data. Not terribly efficient atm.
23228 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23230 * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
23231 (gst_element_found_tags):
23233 Add two utility functions for tag handling.
23235 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23237 * docs/manual/advanced-dataaccess.xml:
23238 * docs/manual/basics-helloworld.xml:
23239 Fix docs to use _bin_add() before _link(), which fixes the examples
23240 with recent core versions (reported by Madhan Raj M
23241 <raj_madan@rediffmail.com>, #313199).
23243 2005-08-16 Wim Taymans <wim@fluendo.com>
23245 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
23246 Added subtract checks.
23248 * docs/design/part-events.txt:
23249 Some more docs about newsegment
23251 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
23254 * gst/gstcaps.c: (gst_caps_to_string):
23255 Add comments, cleanups.
23257 * gst/gstelement.c: (gst_element_save_thyself):
23260 * gst/gstvalue.c: (gst_value_collect_int_range),
23261 (gst_string_unwrap), (gst_value_union_int_int_range),
23262 (gst_value_union_int_range_int_range),
23263 (gst_value_intersect_int_int_range),
23264 (gst_value_intersect_int_range_int_range),
23265 (gst_value_intersect_double_double_range),
23266 (gst_value_intersect_double_range_double_range),
23267 (gst_value_intersect_list), (gst_value_subtract_int_int_range),
23268 (gst_value_subtract_int_range_int),
23269 (gst_value_subtract_double_range_double),
23270 (gst_value_subtract_double_range_double_range),
23271 (gst_value_subtract_from_list), (gst_value_subtract_list),
23272 (gst_value_can_compare), (gst_value_compare_fraction):
23273 Cleanups, add comments, remove unneeded asserts.
23275 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
23277 * tools/gst-launch.c: (event_loop):
23278 don't convert NULL structures to strings
23280 2005-08-15 Stefan Kost <ensonic@users.sf.net>
23282 * docs/gst/gstreamer-sections.txt:
23283 made some defines private
23284 * docs/gst/tmpl/gstconfig.sgml:
23285 * docs/gst/tmpl/gstqueue.sgml:
23286 * docs/gst/tmpl/gsttaglist.sgml:
23287 * docs/gst/tmpl/gsttypes.sgml:
23288 * docs/gst/tmpl/gstutils.sgml:
23289 * docs/pwg/appendix-porting.xml:
23290 * gst/base/gstbasesink.h:
23291 * gst/base/gstbasesrc.c:
23292 * gst/base/gstbasesrc.h:
23293 * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
23294 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
23295 * gst/gstelement.c: (gst_element_class_init):
23296 * gst/gstpad.c: (gst_pad_class_init):
23297 * gst/gstqueue.c: (gst_queue_class_init):
23298 * gst/gstxml.c: (gst_xml_class_init):
23299 documented all undocumented signal inline
23300 * libs/gst/controller/gst-controller.h:
23303 2005-08-15 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23305 * docs/pwg/appendix-porting.xml:
23306 Document _set_link_function -> _set_setcaps_function.
23308 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
23310 * check/Makefile.am:
23311 add a .check target for running the check
23312 * check/gst-libs/controller.c: (GST_START_TEST):
23314 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
23315 complete checks for gstbuffer; would be nice if I could get the
23316 gcov stuff to work so I can see if I actually completed gstbuffer.c
23317 * check/gstcheck.h:
23318 add ASSERT_BUFFER_REFCOUNT
23320 2005-08-13 Tim-Philipp Müller <tim at centricular dot net>
23322 * docs/gst/gstreamer-sections.txt:
23323 * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
23325 Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
23326 spew out a warning if a tag that is already registered
23327 is re-registered, unless it is re-registered with a
23328 different type (#308438).
23330 2005-08-12 Tim-Philipp Müller <tim at centricular dot net>
23332 * docs/pwg/appendix-porting.xml:
23333 * docs/pwg/building-state.xml:
23334 Add some paragraphs about state changes in 0.9 to the PWG
23335 and the porting guide, in particular about the new meaning
23336 of GST_STATE_PAUSED and how to write state change functions
23337 with concurrent access by multiple threads in mind.
23339 2005-08-11 Stefan Kost <ensonic@users.sf.net>
23341 * docs/gst/gstreamer-docs.sgml:
23342 * docs/libs/gstreamer-libs-docs.sgml:
23343 added deprecation and since indexes
23344 * libs/gst/controller/gst-controller.c:
23345 * libs/gst/controller/gst-helper.c:
23349 2005-08-11 Wim Taymans <wim@fluendo.com>
23351 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
23352 (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
23353 (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
23354 (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
23355 (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
23356 (gst_ghost_pad_set_target):
23357 Actually implement (re)setting the target on a ghostpad
23358 as described in the docs.
23360 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
23362 * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
23363 Check whether GST_DEBUG_NO_COLOR environment variable is
23364 set and disable coloured debug output if that is the case.
23366 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
23368 * gst/base/gsttypefindhelper.c: (helper_find_peek),
23369 (gst_type_find_helper):
23370 The memory returned by gst_type_find_peek() needs to
23371 stay valid until the end of a typefind function, and
23372 typefind functions may keep results from different
23373 offsets around, so we can't just unref the buffer from
23374 the previous _peek(), but have to save all buffers
23375 returned by _peek() until typefinding is done and only
23378 2005-08-09 Tim-Philipp Müller <tim at centricular dot net>
23380 * docs/gst/gstreamer-sections.txt:
23382 New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
23384 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23386 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
23387 Fix a pretty good memleak.
23389 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
23391 * gst/gstiterator.h:
23392 Fix wrong include and 'make distcheck'.
23394 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23396 * gst/gstbin.c: (bin_bus_handler):
23397 Use gst_element_post_message() instead.
23399 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
23401 * gst/base/gstadapter.h:
23402 * gst/base/gstbasesink.h:
23403 * gst/base/gstbasesrc.h:
23404 * gst/base/gstbasetransform.h:
23405 * gst/base/gstcollectpads.h:
23406 * gst/base/gstpushsrc.h:
23407 * gst/gstiterator.h:
23408 Add padding to our base elements' class and instance structs and
23409 to GstIterator (you will need to rebuild all plugins and apps!)
23411 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23413 * gst/gstbin.c: (bin_bus_handler):
23414 Make default message forwarding from child->bus to bin->bus
23415 threadsafe and make it not emit warnings if the parent has no bus.
23417 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23419 * gst/gstelement.c: (activate_pads):
23420 On paused->ready, set pad->caps to NULL, as is the documented
23421 behaviour in this state change. Fixes playback of series of
23422 media files when visualization is enabled in Totem.
23424 2005-08-07 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23426 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
23427 Allow NULL as filter-caps (which means "any").
23429 2005-08-05 Stefan Kost <ensonic@users.sf.net>
23431 * docs/libs/gstreamer-libs-sections.txt:
23432 * libs/gst/controller/gst-controller.c:
23433 * libs/gst/controller/gst-controller.h:
23434 * libs/gst/controller/gst-helper.c:
23435 adding more entries to the docs and fix small doc-bugs
23437 2005-08-05 Stefan Kost <ensonic@users.sf.net>
23439 * docs/gst/gstreamer-docs.sgml:
23440 * docs/gst/gstreamer-sections.txt:
23441 * docs/gst/gstreamer.types:
23442 * docs/gst/tmpl/gstbasesink.sgml:
23443 * docs/gst/tmpl/gstbasesrc.sgml:
23444 * docs/gst/tmpl/gstbasetransform.sgml:
23445 * docs/gst/tmpl/gstfakesrc.sgml:
23446 * gst/base/gstcollectpads.c:
23447 * gst/base/gstcollectpads.h:
23448 * libs/gst/controller/gst-controller.c:
23449 * libs/gst/controller/gst-controller.h:
23450 * libs/gst/controller/gst-helper.c:
23451 * libs/gst/controller/gst-interpolation.c:
23452 * libs/gst/controller/lib.c:
23453 added long/short desc for controller docs
23454 added collectpads base class docs
23455 added correct includes to base-class docs
23457 2005-08-05 Stefan Kost <ensonic@users.sf.net>
23459 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
23460 (gst_test_mono_source_set_property),
23461 (gst_test_mono_source_class_init), (GST_START_TEST),
23462 (gst_controller_suite):
23463 * docs/gst/gstreamer-docs.sgml:
23464 * docs/gst/gstreamer-sections.txt:
23465 * docs/gst/gstreamer.types:
23466 * docs/libs/gstreamer-libs-docs.sgml:
23467 * docs/libs/gstreamer-libs-sections.txt:
23468 * gst/base/gstadapter.c:
23469 * libs/gst/controller/gst-controller.c:
23470 (gst_controlled_property_new), (gst_controlled_property_free),
23471 (gst_controller_new_valist),
23472 (gst_controller_remove_properties_valist),
23473 (gst_controller_sink_values), (_gst_controller_finalize):
23474 * libs/gst/controller/gst-controller.h:
23475 * libs/gst/controller/gst-helper.c:
23476 (gst_object_control_properties), (gst_object_uncontrol_properties),
23477 (gst_object_get_controller), (gst_object_set_controller),
23478 (gst_object_sink_values), (gst_object_get_value_arrays),
23479 (gst_object_get_value_array):
23480 more tests (and fixes) for the controller
23481 more docs for the controller
23482 integrated companies docs for the adapter
23484 2005-08-05 Thomas Vander Stichele <thomas at apestaart dot org>
23486 * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
23487 (GST_START_TEST), (fakesrc_suite):
23488 add tests for sizetype
23490 2005-08-04 Andy Wingo <wingo@pobox.com>
23492 * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
23493 fixes buffer_alloc proxying among other things.
23495 * gst/base/gstbasetransform.c:
23496 * gst/base/gstbasetransform.h:
23497 Revert patch to gstbasetransform from 7-28 removing
23500 * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
23501 * gst/base/gstbasetransform.c (gst_base_transform_get_size):
23502 Semantics changed, should return not the size of the output buffer
23503 but the byte size of a buffer with a given caps.
23505 * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
23507 (gst_base_transform_configure_caps): Don't set out_size here: (in,
23508 out) are not the pad caps until setcaps finishes.
23509 (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
23510 not-in-place case as well. Deal with changing from in-place to
23511 not-in-place within calling pad_alloc_buffer. Still a bit
23512 concerned about the overhead here...
23514 2005-08-03 Andy Wingo <wingo@pobox.com>
23516 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
23517 fixating is an error.
23519 2005-08-04 Edward Hervey <edward@fluendo.com>
23521 * gst/base/gstadapter.h:
23522 Added gst_adapter_get_type() to the header
23524 2005-08-03 Stefan Kost <ensonic@users.sf.net>
23526 * check/Makefile.am:
23527 * check/gst-libs/controller.c:
23528 * libs/gst/controller/gst-controller.c:
23529 (gst_controller_new_valist):
23530 added check test suite for the controller
23531 * gst/base/gstpushsrc.c:
23534 2005-08-03 Stefan Kost <ensonic@users.sf.net>
23536 * docs/gst/Makefile.am:
23537 * docs/gst/gstreamer-docs.sgml:
23538 * docs/gst/gstreamer-sections.txt:
23539 * docs/gst/gstreamer.types:
23540 * docs/gst/tmpl/gstfakesrc.sgml:
23542 * gst/base/gstbasesink.c:
23543 * gst/base/gstbasesink.h:
23544 * gst/base/gstbasesrc.c:
23545 * gst/base/gstbasesrc.h:
23546 * gst/base/gstbasetransform.c:
23547 * gst/base/gstpushsrc.c:
23548 * gst/base/gstpushsrc.h:
23549 add short/long description docs to base classes
23550 add pushsrc to the docs
23551 remove consolidated doc fragments
23553 2005-08-03 Stefan Kost <ensonic@users.sf.net>
23556 * docs/libs/Makefile.am:
23557 * docs/libs/gstreamer-libs-docs.sgml:
23558 * docs/libs/gstreamer-libs-sections.txt:
23559 * docs/libs/gstreamer-libs.types:
23560 * examples/Makefile.am:
23561 * examples/controller/.cvsignore:
23562 * examples/controller/Makefile.am:
23563 * examples/controller/audio-example.c: (main):
23564 * libs/gst/Makefile.am:
23565 * libs/gst/controller/.cvsignore:
23566 * libs/gst/controller/Makefile.am:
23567 * libs/gst/controller/gst-controller.c:
23568 (on_object_controlled_property_changed), (gst_timed_value_compare),
23569 (gst_timed_value_find),
23570 (gst_controlled_property_set_interpolation_mode),
23571 (gst_controlled_property_new), (gst_controlled_property_free),
23572 (gst_controller_find_controlled_property),
23573 (gst_controller_new_valist), (gst_controller_new),
23574 (gst_controller_remove_properties_valist),
23575 (gst_controller_remove_properties), (gst_controller_set),
23576 (gst_controller_set_from_list), (gst_controller_unset),
23577 (gst_controller_get), (gst_controller_get_all),
23578 (gst_controller_sink_values), (gst_controller_get_value_arrays),
23579 (gst_controller_get_value_array),
23580 (gst_controller_set_interpolation_mode),
23581 (_gst_controller_finalize), (_gst_controller_init),
23582 (_gst_controller_class_init), (gst_controller_get_type):
23583 * libs/gst/controller/gst-controller.h:
23584 * libs/gst/controller/gst-helper.c: (g_object_control_properties),
23585 (g_object_uncontrol_properties), (g_object_get_controller),
23586 (g_object_set_controller), (g_object_sink_values),
23587 (g_object_get_value_arrays), (g_object_get_value_array):
23588 * libs/gst/controller/gst-interpolation.c:
23589 (gst_controlled_property_find_timed_value_node),
23590 (interpolate_none_get), (interpolate_trigger_get),
23591 (interpolate_trigger_get_value_array):
23592 * libs/gst/controller/lib.c: (gst_controller_init):
23593 * pkgconfig/Makefile.am:
23594 * pkgconfig/gstreamer-control-uninstalled.pc.in:
23595 * pkgconfig/gstreamer-control.pc.in:
23596 * testsuite/Makefile.am:
23597 * testsuite/controller/.cvsignore:
23598 * testsuite/controller/Makefile.am:
23599 * testsuite/controller/interpolator.c: (main):
23600 added controller code
23601 removed dparam pc files
23603 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
23604 * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
23605 (gst_collectpads_stop):
23606 Broadcast the condition when shutting down, to make sure we wake all
23607 threads up. Shut down pads on finalize, for safety.
23609 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
23610 * gst/base/gstbasetransform.c: (gst_base_transform_init),
23611 (gst_base_transform_handle_buffer),
23612 (gst_base_transform_change_state):
23613 Handle PAUSED->READY->PAUSED transition after negotiation
23615 * gst/gstmessage.c: (gst_message_init):
23616 Extra piece of debug for new messages.
23618 2005-08-01 Stefan Kost <ensonic@users.sf.net>
23621 * docs/gst/tmpl/gstbasesrc.sgml:
23622 * docs/gst/tmpl/gstelement.sgml:
23623 * docs/gst/tmpl/gstevent.sgml:
23624 * docs/gst/tmpl/gstfakesrc.sgml:
23625 * docs/gst/tmpl/gstformat.sgml:
23626 * docs/gst/tmpl/gstghostpad.sgml:
23627 * docs/gst/tmpl/gstpad.sgml:
23628 * docs/gst/tmpl/gstquery.sgml:
23629 * docs/gst/tmpl/gststructure.sgml:
23630 * docs/gst/tmpl/gsttaglist.sgml:
23631 * docs/gst/tmpl/gstvalue.sgml:
23632 * docs/libs/gstreamer-libs-docs.sgml:
23633 * docs/libs/gstreamer-libs-sections.txt:
23634 * docs/libs/gstreamer-libs.types:
23635 * libs/gst/Makefile.am:
23636 * libs/gst/control/.cvsignore:
23637 * libs/gst/control/Makefile.am:
23638 * libs/gst/control/control.c:
23639 * libs/gst/control/control.h:
23640 * libs/gst/control/dparam.c:
23641 * libs/gst/control/dparam.h:
23642 * libs/gst/control/dparam_smooth.c:
23643 * libs/gst/control/dparam_smooth.h:
23644 * libs/gst/control/dparamcommon.h:
23645 * libs/gst/control/dparammanager.c:
23646 * libs/gst/control/dparammanager.h:
23647 * libs/gst/control/dplinearinterp.c:
23648 * libs/gst/control/dplinearinterp.h:
23649 * libs/gst/control/unitconvert.c:
23650 * libs/gst/control/unitconvert.h:
23651 * testsuite/Makefile.am:
23652 * testsuite/dynparams/.cvsignore:
23653 * testsuite/dynparams/Makefile.am:
23654 * testsuite/dynparams/dparamstest.c:
23655 * tools/Makefile.am:
23656 * tools/gst-inspect.c: (print_element_info), (main):
23657 * tools/gst-xmlinspect.c: (print_element_info), (main):
23658 deactivate and remove dparams (libgstcontrol)
23660 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
23662 * gst/elements/gsttypefindelement.c:
23663 (gst_type_find_element_have_type), (gst_type_find_element_init),
23664 (stop_typefinding), (gst_type_find_element_handle_event),
23665 (gst_type_find_element_chain), (gst_type_find_element_getrange):
23666 * gst/elements/gsttypefindelement.h:
23667 Set caps on all outgoing buffers, not just the first one.
23669 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
23671 * gst/elements/gsttypefindelement.c:
23672 (gst_type_find_element_have_type),
23673 (gst_type_find_element_check_set_buffer_caps),
23674 (gst_type_find_element_init), (stop_typefinding),
23675 (gst_type_find_element_handle_event),
23676 (gst_type_find_element_chain), (gst_type_find_element_getrange):
23677 * gst/elements/gsttypefindelement.h:
23678 Set caps on first outgoing buffer when we've found the type.
23680 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
23682 * docs/gst/gstreamer-docs.sgml:
23683 * docs/gst/gstreamer-sections.txt:
23684 * docs/gst/tmpl/gstscheduler.sgml:
23685 * docs/gst/tmpl/gstschedulerfactory.sgml:
23686 Remove some old cruft from docs.
23688 2005-07-31 Tim-Philipp Müller <tim at centricular dot net>
23691 Fix inline docs for GstPadLinkReturn.
23693 * gst/gststructure.c: (gst_structure_has_name):
23694 * gst/gststructure.h:
23695 * docs/gst/gstreamer-sections.txt:
23696 New API: gst_structure_has_name().
23698 2005-07-30 Tim-Philipp Müller <tim at centricular dot net>
23701 Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
23702 and _LARGEFILE_SOURCE in config.h as required. Do not
23703 export those flags in our .pc files any longer (#142209).
23705 Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
23707 * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
23708 (gst_file_sink_do_seek), (gst_file_sink_event),
23709 (gst_file_sink_get_current_offset), (gst_file_sink_render):
23710 Redo seek/tell calls with large file support in mind; add some
23711 debugging messages; add log message that tells us when large
23712 file support is unavailable or not enabled for some reason.
23714 * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
23715 Add log message that tells us when large file support
23716 is unavailable or not enabled for some reason.
23718 2005-07-29 Wim Taymans <wim@fluendo.com>
23720 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
23721 Added test for removing an element with ghostpad from a bin.
23722 Fixed test as current implementation does the right thing.
23724 * gst/gstghostpad.c: (gst_proxy_pad_class_init),
23725 (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
23726 (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
23727 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
23728 (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
23729 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
23730 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
23731 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
23732 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
23733 (gst_proxy_pad_get_target), (gst_proxy_pad_init),
23734 (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
23735 (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
23736 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
23737 (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
23738 (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
23739 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
23740 * gst/gstghostpad.h:
23741 Clean up ghostpads, remove properties for internal stuff.
23744 Prepare for switching targets, not all use cases work yet.
23746 2005-07-29 Wim Taymans <wim@fluendo.com>
23748 * docs/design/part-gstghostpad.txt:
23751 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
23752 (gst_bin_remove_func):
23753 Unlinking pads while holding the bin LOCK is not a good
23756 * gst/gstpad.c: (gst_pad_class_init),
23757 (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
23758 (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
23759 No prob setting template after creating the pad.
23761 2005-07-29 Jan Schmidt <thaytan@mad.scientist.com>
23763 * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
23764 (gst_bus_peek), (gst_bus_source_dispatch),
23765 (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
23766 (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
23767 gst_bus_poll may be called from other threads. Handle
23768 this nicely by not making poll_data disappear off the
23769 stack once gst_bus_poll returns.
23770 gst_bus_peek now increments the refcount on the returned
23773 2005-07-29 Wim Taymans <wim@fluendo.com>
23775 * docs/design/part-gstghostpad.txt:
23776 Overview of current GhostPad datastructures and use
23777 cases for changing the target.
23779 2005-07-28 Wim Taymans <wim@fluendo.com>
23781 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
23782 Added checks for hierarchy consistency whan adding linked
23785 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
23786 Added check to test element scheduling without bin/pipeline.
23788 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
23789 First add elements to bin, then link.
23791 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
23792 (gst_bin_remove_func):
23793 Unlink pads from elements added/removed from bin to maintain
23794 hierarchy consistency.
23796 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23798 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
23799 (gst_base_transform_handle_buffer):
23800 * gst/base/gstbasetransform.h:
23801 Remove broken delay_configure (fixes renegotiation of software
23802 scaling pipelines); remove some leftover printf()s.
23804 2005-07-28 Wim Taymans <wim@fluendo.com>
23806 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
23807 Added some more tests for wrong hierarchy
23809 * docs/design/part-overview.txt:
23812 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
23815 * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
23816 (gst_element_dispose):
23817 Some more cleanups.
23819 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
23820 (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
23821 (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
23822 (gst_pad_set_caps), (gst_pad_send_event):
23823 Check for correct hierarchy when linking pads. Moving to
23824 strict requirement for ghostpads when linking elements in
23828 Clean ups. Added WRONG_HIERARCHY return value.
23830 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23832 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
23833 Better debug if no transform is possible.
23835 2005-07-27 Wim Taymans <wim@fluendo.com>
23837 * docs/random/wtay/network-transp:
23838 Some old doc I had.
23840 2005-07-27 Wim Taymans <wim@fluendo.com>
23842 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
23843 (gst_dp_event_from_packet):
23844 Fix serialization of seek events.
23846 2005-07-27 Wim Taymans <wim@fluendo.com>
23848 * check/gst-libs/gdp.c: (GST_START_TEST):
23849 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
23850 Fix compilation and fix event serialization.
23852 2005-07-27 Wim Taymans <wim@fluendo.com>
23855 * docs/design/part-TODO.txt:
23856 * docs/design/part-events.txt:
23859 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23860 (gst_base_sink_event), (gst_base_sink_do_sync),
23861 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
23862 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
23863 (gst_base_src_do_seek), (gst_base_src_event_handler),
23864 (gst_base_src_loop):
23865 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
23866 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
23867 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
23868 (gst_base_transform_event), (gst_base_transform_handle_buffer),
23869 (gst_base_transform_set_passthrough),
23870 (gst_base_transform_is_passthrough):
23871 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
23872 * gst/elements/gstfilesink.c: (gst_file_sink_event):
23878 * gst/gstelement.c: (gst_element_seek):
23879 * gst/gstelement.h:
23880 Update gst_element_seek.
23882 * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
23883 (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
23884 (gst_event_new_flush_start), (gst_event_new_flush_stop),
23885 (gst_event_new_eos), (gst_event_new_newsegment),
23886 (gst_event_parse_newsegment), (gst_event_new_tag),
23887 (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
23888 (gst_event_parse_qos), (gst_event_new_seek),
23889 (gst_event_parse_seek), (gst_event_new_navigation):
23891 Make GstEvent use GstStructure. Add parsing code, make sure the
23892 API is sufficiently generic.
23893 Mark possible directions of events and serialization.
23895 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
23896 (_gst_message_copy), (gst_message_new_segment_start),
23897 (gst_message_new_segment_done), (gst_message_new_custom),
23898 (gst_message_parse_segment_start),
23899 (gst_message_parse_segment_done):
23902 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
23903 (gst_pad_set_caps), (gst_pad_send_event):
23904 Update for new events.
23905 Catch events sent in wrong directions.
23907 * gst/gstqueue.c: (gst_queue_link_src),
23908 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
23909 (gst_queue_handle_src_query):
23914 Remove event code from this file.
23916 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
23917 (gst_dp_event_from_packet):
23920 2005-07-27 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23922 * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
23923 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
23924 (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
23925 Make debugging actually useful.
23927 2005-07-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23929 * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
23930 (gst_pad_fixate_caps):
23931 Implement default fixation once again, so that gst_pad_fixate()
23932 actually does anything at all. This probably needs to be some
23933 sort of a last resort, and use profile-based fixation first, but
23934 since that doesn't exist yet, this is the best we have. Fixes
23935 visualization in Totem.
23937 2005-07-22 Wim Taymans <wim@fluendo.com>
23939 * docs/design/part-events.txt:
23942 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23943 (gst_base_sink_do_sync), (gst_base_sink_activate_push),
23944 (gst_base_sink_activate_pull):
23945 Some more comments.
23947 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
23948 (gst_fake_src_create):
23949 Fix handoff marshall.
23951 * gst/elements/gstidentity.c: (gst_identity_class_init),
23952 (gst_identity_transform_ip):
23953 We're a real inplace element.
23955 * gst/gstbus.c: (gst_bus_post):
23956 Added some comments.
23958 * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
23959 * tests/muxing/case1.c: (main):
23960 * tests/sched/dynamic-pipeline.c: (main):
23961 * tests/sched/interrupt1.c: (main):
23962 * tests/sched/interrupt2.c: (main):
23963 * tests/sched/interrupt3.c: (main):
23964 * tests/sched/runxml.c: (main):
23965 * tests/sched/sched-stress.c: (main):
23966 * tests/seeking/seeking1.c: (event_received), (main):
23967 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
23969 * tests/threadstate/threadstate3.c: (main):
23970 * tests/threadstate/threadstate4.c: (main):
23971 * tests/threadstate/threadstate5.c: (main):
23974 2005-07-21 Wim Taymans <wim@fluendo.com>
23976 * docs/design/part-seeking.txt:
23977 Some small additions.
23979 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23980 (gst_base_sink_get_times), (gst_base_sink_do_sync),
23981 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
23982 * gst/base/gstbasesink.h:
23983 discont values are gint64, handle the math correctly.
23985 * gst/base/gstbasesrc.c: (gst_base_src_loop):
23986 Make the basesrc report error if the source pad is not linked.
23988 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
23989 (gst_queue_loop), (gst_queue_handle_src_query),
23990 (gst_queue_src_activate_push):
23991 Make queue collect data even if the srcpad is not linked.
23992 Start pushing out data as soon as it is linked.
23994 * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
23996 Added gst_flow_get_name() to ease error reporting.
23998 2005-07-20 Wim Taymans <wim@fluendo.com>
24000 * gst/gstmessage.c: (gst_message_new_segment_start),
24001 (gst_message_new_segment_done), (gst_message_parse_segment_start),
24002 (gst_message_parse_segment_done):
24003 * gst/gstmessage.h:
24004 Added a bunch of messages for advanced seeking.
24006 * gst/parse/grammar.y:
24007 * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
24008 (gst_dpman_state_changed):
24009 Fix some new-pad -> pad-added signals
24011 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24013 * docs/manual/appendix-porting.xml:
24014 * docs/pwg/appendix-porting.xml:
24015 Document new-pad/state-change signal renames and the FixedList
24018 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24020 * docs/manual/advanced-autoplugging.xml:
24021 * docs/manual/basics-helloworld.xml:
24022 * docs/manual/basics-pads.xml:
24023 * docs/random/ds/0.9-suggested-changes:
24024 * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
24025 * gst/gstelement.h:
24029 * gst/gststructure.c: (gst_structure_value_get_generic_type),
24030 (gst_structure_parse_array), (gst_structure_parse_value):
24031 * gst/gstvalue.c: (gst_type_is_fixed),
24032 (gst_value_list_prepend_value), (gst_value_list_append_value),
24033 (gst_value_list_get_size), (gst_value_list_get_value),
24034 (gst_value_transform_array_string), (gst_value_serialize_array),
24035 (gst_value_deserialize_array), (gst_value_intersect_array),
24036 (gst_value_is_fixed), (_gst_value_initialize):
24038 GstElement::new-pad -> pad-added, GstElement::state-change ->
24039 state-changed, GstValueFixedList -> GstValueArray, add format and
24040 flags as their own arguments in gst_element_seek() (should improve
24041 "bindeability"), remove function generators since they don't work
24042 under a whole bunch of compilers (they were deprecated already
24045 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24047 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
24048 (_gst_debug_register_funcptr):
24050 Fix illegal cast on some platforms (#309253).
24052 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24054 * gst/gstmessage.c: (gst_message_new_custom):
24055 * gst/gstmessage.h:
24056 Add _new_custom, make _new_application a macro to _new_custom.
24058 2005-07-20 Wim Taymans <wim@fluendo.com>
24060 * gst/base/gstbasesrc.c: (gst_base_src_init),
24061 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
24062 * gst/base/gstbasesrc.h:
24063 Add a gboolean to decide when to push out a discont.
24065 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
24066 (gst_queue_loop), (gst_queue_handle_src_query),
24067 (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
24068 (gst_queue_set_property), (gst_queue_get_property):
24071 * tests/threadstate/threadstate1.c: (main):
24072 Make a thread test compile and run... very silly..
24075 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24077 * docs/manual/appendix-porting.xml:
24078 Mention removal of libgstgconf-0.9.la and existence of gconf
24081 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24083 * docs/pwg/advanced-clock.xml:
24084 * docs/pwg/appendix-porting.xml:
24085 * docs/pwg/intro-preface.xml:
24086 * docs/pwg/other-base.xml:
24087 * docs/pwg/other-manager.xml:
24088 * docs/pwg/other-nton.xml:
24089 * docs/pwg/other-ntoone.xml:
24090 * docs/pwg/other-oneton.xml:
24091 * docs/pwg/pwg.xml:
24092 Document base classes, update sections of n-to-1 and 1-to-n (muxer,
24093 demuxer), remove n-to-n (was never written), fix some code examples
24094 and links and update the porting section to include all this.
24096 2005-07-19 Wim Taymans <wim@fluendo.com>
24098 * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
24099 (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
24100 (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
24101 (gst_queue_src_activate_push), (gst_queue_change_state),
24102 (gst_queue_get_property):
24104 Propagate GstFlowReturn more intelligently upstream and output
24105 an ERROR/EOS when streaming stopped due to fatal error.
24107 2005-07-19 Wim Taymans <wim@fluendo.com>
24109 * tools/gst-launch.c: (check_intr), (event_loop), (main):
24110 Don't block forever for the state change to complete, the
24111 pipeline already did with a sensible timeout.
24113 2005-07-19 Wim Taymans <wim@fluendo.com>
24115 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
24116 Make sure we never call the create function is we
24119 2005-07-19 Andy Wingo <wingo@pobox.com>
24121 * gst/parse/parse.l: Attempt to solve bug #172815.
24123 2005-07-19 Wim Taymans <wim@fluendo.com>
24125 * docs/design/part-clocks.txt:
24126 * docs/design/part-events.txt:
24127 * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
24128 Small docs updates.
24129 Only update the seeking values when we are not
24132 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
24134 * gst/base/gstbasesrc.c: (gst_base_src_loop):
24135 Oops, ignore the result of gst_pad_push_event here.
24137 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
24139 * gst/base/gstbasesrc.c: (gst_base_src_loop),
24140 (gst_base_src_activate_push):
24141 Send discont event from the loop function, as pads
24142 aren't activated yet in the activate_push handler.
24144 * gst/gstbin.c: (bin_bus_handler):
24145 Don't leak element name.
24147 2005-07-18 Andy Wingo <wingo@pobox.com>
24149 * configure.ac: Use AS_LIBTOOL_TAGS.
24151 2005-07-18 Wim Taymans <wim@fluendo.com>
24153 * docs/gst/gstreamer.types:
24154 Remove deleted types.
24156 2005-07-18 Wim Taymans <wim@fluendo.com>
24158 * check/elements/gstfakesrc.c: (GST_START_TEST):
24161 * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
24162 (init_popt_callback):
24164 * gst/gst_private.h:
24165 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
24166 (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
24169 * gst/gstconfig.h.in:
24170 * gst/gstelement.c: (gst_element_class_init),
24171 (gst_element_set_base_time), (gst_element_get_base_time),
24172 (iterator_fold_with_resync), (gst_element_change_state),
24173 (gst_element_dispose), (gst_element_get_bus):
24174 * gst/gstelement.h:
24175 * gst/gstelementfactory.h:
24176 * gst/gsterror.c: (_gst_core_errors_init):
24179 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
24181 * gst/gstinfo.c: (_gst_debug_init):
24182 * gst/gstmessage.c: (_gst_message_copy):
24183 * gst/gstmessage.h:
24184 * gst/gstminiobject.h:
24187 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
24188 (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
24191 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
24192 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
24193 (gst_pipeline_get_last_stream_time):
24194 * gst/gstpipeline.h:
24195 * gst/gstpluginfeature.h:
24197 * gst/gstscheduler.c:
24198 * gst/gstscheduler.h:
24199 * gst/gststructure.h:
24200 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
24201 (gst_task_finalize), (gst_task_func), (gst_task_create),
24202 (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
24203 (gst_task_stop), (gst_task_pause):
24205 * gst/gsttypefind.h:
24207 * gst/registries/gstlibxmlregistry.c: (load_feature),
24208 (gst_xml_registry_load), (gst_xml_registry_save_feature):
24209 * gst/registries/gstxmlregistry.c:
24210 (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
24211 * gst/schedulers/threadscheduler.c:
24212 * libs/gst/control/dparammanager.h:
24213 * tools/gst-inspect.c: (print_element_list),
24214 (print_plugin_features), (print_element_features):
24215 * tools/gst-xmlinspect.c: (print_element_list),
24216 (print_plugin_info), (main):
24217 Removed plugable schedulers.
24218 Removed Scheduler/Manager from elements.
24219 Removed gsttypes.h, rearranged includes.
24220 Removed dependency pad<->element, element<>pipeline, and
24221 various others, fix includes.
24222 implement gst_pad_get_parent() with gst_object_get_parent()
24223 Make GstTask sefcontained.
24224 Fix _get_state() on GstBin, it did not return ASYNC with a 0
24226 Fix endless loop in iterator_fold_with_resync.
24229 2005-07-18 Wim Taymans <wim@fluendo.com>
24235 2005-07-18 Wim Taymans <wim@fluendo.com>
24238 No more cothreads.h
24240 2005-07-18 Wim Taymans <wim@fluendo.com>
24244 Let's remove these.
24246 2005-07-18 Wim Taymans <wim@fluendo.com>
24248 * docs/design/part-dynamic.txt:
24249 * docs/design/part-events.txt:
24250 * docs/design/part-seeking.txt:
24251 Some more docs in the works.
24253 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
24254 (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
24255 (gst_base_transform_setcaps), (gst_base_transform_get_size),
24256 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
24257 (gst_base_transform_handle_buffer),
24258 (gst_base_transform_sink_activate_push),
24259 (gst_base_transform_src_activate_pull),
24260 (gst_base_transform_set_passthrough),
24261 (gst_base_transform_is_passthrough):
24264 * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
24267 * gst/gstevent.c: (gst_event_finalize):
24270 * gst/gstutils.c: (gst_element_unlink),
24271 (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
24272 (gst_pad_proxy_setcaps):
24274 Add _get_parent_element() to get a pads parent as an element.
24276 2005-07-18 Wim Taymans <wim@fluendo.com>
24278 * check/gst/gstbin.c: (GST_START_TEST):
24281 2005-07-18 Wim Taymans <wim@fluendo.com>
24283 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
24284 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
24285 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
24286 (gst_base_sink_event), (gst_base_sink_do_sync),
24287 (gst_base_sink_chain), (gst_base_sink_loop),
24288 (gst_base_sink_deactivate), (gst_base_sink_activate_push),
24289 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
24291 Fix logic for returning ASYNC when not prerolled.
24293 2005-07-18 Wim Taymans <wim@fluendo.com>
24295 * gst/gstqueue.c: (gst_queue_handle_sink_event):
24296 Fix nasty refcount bug.
24298 2005-07-16 Philippe Khalaf <burger@speedy.org>
24300 * gst/elements/gstfdsrc.c:
24301 * gst/elements/gstfdsrc.h:
24302 * gst/elements/gstelements.c:
24303 * gst/elements/Makefile.am:
24304 Ported fdsrc to 0.9.
24306 2005-07-16 Wim Taymans <wim@fluendo.com>
24308 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
24309 (gst_base_sink_do_sync):
24312 2005-07-16 Wim Taymans <wim@fluendo.com>
24314 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
24315 (gst_base_sink_event), (gst_base_sink_get_times),
24316 (gst_base_sink_do_sync), (gst_base_sink_change_state):
24317 * gst/base/gstbasesink.h:
24318 Store and use discont values when syncing buffers as described
24321 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
24322 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
24323 (gst_base_src_activate_push):
24324 Push discont event when starting.
24326 * gst/elements/gstidentity.c: (gst_identity_transform):
24329 * gst/gstbin.c: (gst_bin_change_state):
24330 Small cleanups in base_time distribution.
24332 * gst/gstelement.c: (gst_element_set_base_time),
24333 (gst_element_get_base_time), (gst_element_change_state):
24334 * gst/gstelement.h:
24335 Added methods for the base_time of the element.
24338 * gst/gstpipeline.c: (gst_pipeline_send_event),
24339 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
24340 (gst_pipeline_get_last_stream_time):
24341 * gst/gstpipeline.h:
24343 Handle seeking as described in design doc, remove stream_time
24345 Cleanups clock and stream_time selection code. Added accessors
24346 for the stream_time.
24349 2005-07-16 Andy Wingo <wingo@pobox.com>
24351 * gst/gsterror.c (_gst_core_errors_init): Use the magic word
24354 2005-07-16 Wim Taymans <wim@fluendo.com>
24356 * check/gst/gstbin.c: (GST_START_TEST):
24357 Make elements silent as the deep_notify refs the
24358 parent, which might make the test fail.
24360 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
24361 Don't hold the lock for too long.
24363 2005-07-16 Tim-Philipp Müller <tim at centricular dot net>
24365 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
24366 Don't unref the caps we passed to gst_caps_make_writable() after
24367 passing them. gst_caps_make_writable() will do that for us.
24369 2005-07-15 Andy Wingo <wingo@pobox.com>
24371 * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
24374 * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
24375 own marshalling function for the handoff signal. Properly type the
24376 buffer as a buffer. Fixes some warnings. Should do a more general
24378 (gst_identity_class_init): Plug into the right marshaller.
24380 2005-07-15 Wim Taymans <wim@fluendo.com>
24382 * docs/design/part-TODO.txt:
24383 * docs/design/part-clocks.txt:
24384 * docs/design/part-element-sink.txt:
24385 * docs/design/part-events.txt:
24386 * docs/design/part-gstpipeline.txt:
24387 Updated docs, mostly DISCONT related.
24389 2005-07-15 Tim-Philipp Müller <tim at centricular dot net>
24391 * docs/pwg/building-pads.xml:
24392 s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
24394 2005-07-15 Andy Wingo <wingo@pobox.com>
24396 * tools/gst-typefind.c: Update, add copyright block.
24398 * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
24399 Normalize and truncate caps before fixation.
24402 * gst/gstcaps.c (gst_caps_truncate): New function, destructively
24403 discards all but the first structure from its argument.
24405 2005-07-15 Wim Taymans <wim@fluendo.com>
24407 * gst/base/gstbasetransform.c: (gst_base_transform_init),
24408 (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
24409 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
24410 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
24411 (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
24412 (gst_base_transform_chain), (gst_base_transform_change_state),
24413 (gst_base_transform_set_passthrough),
24414 (gst_base_transform_is_passthrough):
24415 * gst/base/gstbasetransform.h:
24416 Make passthrough work using the bufferpools.
24417 Changed API a bit, subclasses have to write into a buffer
24418 provided by the base class.
24419 More debug info in nego functions.
24421 * gst/elements/gstidentity.c: (gst_identity_init),
24422 (gst_identity_transform):
24423 Port to new base class.
24425 2005-07-15 Wim Taymans <wim@fluendo.com>
24427 * gst/gstmessage.c: (gst_message_new_state_changed):
24428 * tools/gst-launch.c: (event_loop), (main):
24429 Totally dump messages in -launch with the -m option.
24430 Fix message name for State messages,
24432 2005-07-14 Wim Taymans <wim@fluendo.com>
24434 * gst/base/gstbasesrc.c: (gst_base_src_loop):
24435 Post error messages on errors.
24437 2005-07-14 Wim Taymans <wim@fluendo.com>
24439 * gst/gstcaps.c: (gst_caps_do_simplify):
24443 Define error for stream stopped.
24445 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
24446 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
24447 Do proper return values.
24449 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
24450 (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
24451 (gst_pad_get_range):
24452 Better return values.
24455 Reorganise return values, add macro to check for fatal errors.
24457 * gst/gstqueue.c: (gst_queue_chain):
24458 Return proper GstFlowReturn values,
24460 2005-07-14 Thomas Vander Stichele <thomas at apestaart dot org>
24462 * docs/gst/gstreamer-sections.txt:
24463 * docs/gst/gstreamer.types:
24464 * docs/gst/tmpl/gst.sgml:
24465 * docs/gst/tmpl/gstbasesink.sgml:
24466 * docs/gst/tmpl/gstbasesrc.sgml:
24467 * docs/gst/tmpl/gstbasetransform.sgml:
24468 * docs/gst/tmpl/gstbin.sgml:
24469 * docs/gst/tmpl/gstbuffer.sgml:
24470 * docs/gst/tmpl/gstcaps.sgml:
24471 * docs/gst/tmpl/gstclock.sgml:
24472 * docs/gst/tmpl/gstcompat.sgml:
24473 * docs/gst/tmpl/gstconfig.sgml:
24474 * docs/gst/tmpl/gstelement.sgml:
24475 * docs/gst/tmpl/gstelementdetails.sgml:
24476 * docs/gst/tmpl/gstelementfactory.sgml:
24477 * docs/gst/tmpl/gstenumtypes.sgml:
24478 * docs/gst/tmpl/gsterror.sgml:
24479 * docs/gst/tmpl/gstevent.sgml:
24480 * docs/gst/tmpl/gstfakesink.sgml:
24481 * docs/gst/tmpl/gstfakesrc.sgml:
24482 * docs/gst/tmpl/gstfilesink.sgml:
24483 * docs/gst/tmpl/gstfilesrc.sgml:
24484 * docs/gst/tmpl/gstfilter.sgml:
24485 * docs/gst/tmpl/gstformat.sgml:
24486 * docs/gst/tmpl/gstghostpad.sgml:
24487 * docs/gst/tmpl/gstimplementsinterface.sgml:
24488 * docs/gst/tmpl/gstindex.sgml:
24489 * docs/gst/tmpl/gstindexfactory.sgml:
24490 * docs/gst/tmpl/gstinfo.sgml:
24491 * docs/gst/tmpl/gstiterator.sgml:
24492 * docs/gst/tmpl/gstmacros.sgml:
24493 * docs/gst/tmpl/gstmemchunk.sgml:
24494 * docs/gst/tmpl/gstminiobject.sgml:
24495 * docs/gst/tmpl/gstobject.sgml:
24496 * docs/gst/tmpl/gstpad.sgml:
24497 * docs/gst/tmpl/gstpadtemplate.sgml:
24498 * docs/gst/tmpl/gstparse.sgml:
24499 * docs/gst/tmpl/gstpipeline.sgml:
24500 * docs/gst/tmpl/gstplugin.sgml:
24501 * docs/gst/tmpl/gstpluginfeature.sgml:
24502 * docs/gst/tmpl/gstquery.sgml:
24503 * docs/gst/tmpl/gstqueue.sgml:
24504 * docs/gst/tmpl/gstregistry.sgml:
24505 * docs/gst/tmpl/gstregistrypool.sgml:
24506 * docs/gst/tmpl/gstscheduler.sgml:
24507 * docs/gst/tmpl/gstschedulerfactory.sgml:
24508 * docs/gst/tmpl/gststructure.sgml:
24509 * docs/gst/tmpl/gstsystemclock.sgml:
24510 * docs/gst/tmpl/gsttaglist.sgml:
24511 * docs/gst/tmpl/gsttagsetter.sgml:
24512 * docs/gst/tmpl/gsttrace.sgml:
24513 * docs/gst/tmpl/gsttrashstack.sgml:
24514 * docs/gst/tmpl/gsttypefind.sgml:
24515 * docs/gst/tmpl/gsttypefindfactory.sgml:
24516 * docs/gst/tmpl/gsttypes.sgml:
24517 * docs/gst/tmpl/gsturihandler.sgml:
24518 * docs/gst/tmpl/gsturitype.sgml:
24519 * docs/gst/tmpl/gstutils.sgml:
24520 * docs/gst/tmpl/gstvalue.sgml:
24521 * docs/gst/tmpl/gstversion.sgml:
24522 * docs/gst/tmpl/gstxml.sgml:
24523 * docs/libs/tmpl/gstcontrol.sgml:
24524 * docs/libs/tmpl/gstdataprotocol.sgml:
24525 * docs/libs/tmpl/gstdparam.sgml:
24526 * docs/libs/tmpl/gstdplinint.sgml:
24527 * docs/libs/tmpl/gstdpman.sgml:
24528 * docs/libs/tmpl/gstdpsmooth.sgml:
24529 * docs/libs/tmpl/gstgetbits.sgml:
24530 * docs/libs/tmpl/gstunitconvert.sgml:
24531 * gst/base/gstpushsrc.c: (gst_push_src_get_type),
24532 (gst_push_src_base_init), (gst_push_src_class_init),
24533 (gst_push_src_init), (gst_push_src_create):
24534 * gst/base/gstpushsrc.h:
24535 * gst/elements/gstelements.c:
24536 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
24537 (gst_fake_sink_base_init), (gst_fake_sink_class_init),
24538 (gst_fake_sink_init), (gst_fake_sink_set_property),
24539 (gst_fake_sink_get_property), (gst_fake_sink_get_times),
24540 (gst_fake_sink_event), (gst_fake_sink_preroll),
24541 (gst_fake_sink_render), (gst_fake_sink_change_state):
24542 * gst/elements/gstfakesink.h:
24543 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
24544 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
24545 (gst_fake_src_base_init), (gst_fake_src_class_init),
24546 (gst_fake_src_init), (gst_fake_src_event_handler),
24547 (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
24548 (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
24549 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
24550 (gst_fake_src_create_buffer), (gst_fake_src_create),
24551 (gst_fake_src_start), (gst_fake_src_stop):
24552 * gst/elements/gstfakesrc.h:
24553 * gst/elements/gstfilesink.c: (_do_init),
24554 (gst_file_sink_base_init), (gst_file_sink_class_init),
24555 (gst_file_sink_init), (gst_file_sink_dispose),
24556 (gst_file_sink_set_location), (gst_file_sink_set_property),
24557 (gst_file_sink_get_property), (gst_file_sink_open_file),
24558 (gst_file_sink_close_file), (gst_file_sink_query),
24559 (gst_file_sink_event), (gst_file_sink_render),
24560 (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
24561 (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
24562 (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
24563 * gst/elements/gstfilesink.h:
24564 * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
24565 (gst_file_src_class_init), (gst_file_src_init),
24566 (gst_file_src_finalize), (gst_file_src_set_location),
24567 (gst_file_src_set_property), (gst_file_src_get_property),
24568 (gst_file_src_map_region), (gst_file_src_map_small_region),
24569 (gst_file_src_create_mmap), (gst_file_src_create_read),
24570 (gst_file_src_create), (gst_file_src_is_seekable),
24571 (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
24572 (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
24573 (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
24574 (gst_file_src_uri_handler_init):
24575 * gst/elements/gstfilesrc.h:
24576 more autistic cleanliness in functions/names/defines
24578 2005-07-13 Andy Wingo <wingo@pobox.com>
24580 * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
24581 source couldn't negotiate.
24583 * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
24587 * gst/gstutils.c (gst_element_link_pads_filtered): New old
24588 function. I am channeling Hades. Put your boots on suckers!!!
24590 2005-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
24592 * testsuite/caps/Makefile.am:
24593 * testsuite/caps/value_compare.c:
24594 * testsuite/caps/value_intersect.c:
24595 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
24596 move two testsuite apps over to the check dir
24598 2005-07-12 Wim Taymans <wim@fluendo.com>
24600 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
24601 Added more debug info in the negotiate process.
24603 * gst/gstmessage.h:
24604 Prepare for segment playback.
24606 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
24612 * tools/gst-launch.c: (main):
24613 NULL pipeline on errors.
24615 2005-07-12 Andy Wingo <wingo@pobox.com>
24617 * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
24618 not it comes from a malloc region. Make sure our copy gets freed.
24620 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
24622 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
24623 * check/gst/gstmessage.c: (GST_START_TEST):
24624 * check/gst/gststructure.c: (GST_START_TEST),
24625 (gst_structure_suite), (main):
24627 * gst/gstelement.c: (gst_element_message_full):
24628 clean up GError and debug string now that they get copied
24629 * gst/gstmessage.c: (gst_message_new_error),
24630 (gst_message_new_warning), (gst_message_parse_error),
24631 (gst_message_parse_warning):
24632 use GST_TYPE_G_ERROR for structure_new, and take copies of
24633 arguments, so that we don't mess up refcounting
24635 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
24637 * check/Makefile.am:
24638 add per-test valgrind targets
24639 * check/gst-libs/gdp.c: (GST_START_TEST),
24640 (gst_data_protocol_suite), (main):
24643 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
24645 * check/Makefile.am:
24646 instate more valgrindable tests
24647 * check/elements/gstfakesrc.c: (chain_func), (event_func),
24648 (GST_START_TEST), (fakesrc_suite):
24649 * check/gst/gstpad.c: (GST_START_TEST):
24650 * check/gst/gststructure.c: (GST_START_TEST):
24652 * docs/gst/tmpl/gstminiobject.sgml:
24653 * gst/gstpad.c: (gst_pad_finalize):
24654 fix the static mutex leak
24656 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
24658 * check/Makefile.am:
24659 add two more tests for valgrinding
24660 * check/gst/gstvalue.c: (GST_START_TEST):
24661 test refcount of deserialized buffer, found a leak
24662 * docs/gst/gstreamer-docs.sgml:
24663 * docs/gst/gstreamer-sections.txt:
24664 * docs/gst/gstreamer.types:
24665 * docs/gst/tmpl/gstminiobject.sgml:
24666 add miniobject to docs
24667 * gst/gstminiobject.c:
24669 * gst/gstvalue.c: (gst_value_deserialize_buffer),
24670 (gst_string_unwrap):
24671 fix a hard-to-find invalid write for one of the tests
24672 fix a leak for deserialized buffers
24674 2005-07-11 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24676 * docs/pwg/advanced-events.xml:
24677 * docs/pwg/advanced-request.xml:
24678 * docs/pwg/advanced-scheduling.xml:
24679 * docs/pwg/appendix-porting.xml:
24680 * docs/pwg/building-boiler.xml:
24681 * docs/pwg/intro-preface.xml:
24682 * docs/pwg/other-ntoone.xml:
24683 Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
24684 of example code and explanation for pad activation, loop() and
24685 getrange() functions and a bit more. Remove old comments pointing
24687 * examples/pwg/Makefile.am:
24688 Add loop/getrange examples.
24690 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
24693 check for valgrind binary + some fixes
24695 valgrind suppressions for the tests
24696 * check/Makefile.am:
24697 add a valgrind: target that valgrinds the unit tests
24698 * check/gst/gst.c: (GST_START_TEST), (gst_suite):
24699 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
24700 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
24701 * check/gst/gstghostpad.c:
24703 * check/gst/gstdata.c:
24705 * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
24706 (thread_unref), (gst_mini_object_suite), (main):
24708 * gst/gst.c: (gst_deinit):
24710 add a method to clean up.
24711 * gst/gstsystemclock.c: (gst_system_clock_dispose),
24712 (gst_system_clock_obtain):
24713 allow for disposing the system clock.
24714 * tools/gst-launch.c: (main):
24717 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
24719 * docs/gst/tmpl/gstbasesrc.sgml:
24720 * docs/gst/tmpl/gstfakesrc.sgml:
24721 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
24722 (gst_base_src_init), (gst_base_src_set_property),
24723 (gst_base_src_get_property), (gst_base_src_get_range),
24724 (gst_base_src_start):
24725 * gst/base/gstbasesrc.h:
24726 add num-buffers property
24727 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
24728 (gst_fakesrc_init), (gst_fakesrc_set_property),
24729 (gst_fakesrc_get_property), (gst_fakesrc_create),
24730 (gst_fakesrc_start):
24731 remove num-buffers property
24733 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
24735 * docs/gst/gstreamer-sections.txt:
24736 * docs/gst/tmpl/gstbasesink.sgml:
24737 * docs/gst/tmpl/gstbasesrc.sgml:
24738 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
24739 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
24740 (gst_base_sink_finalize), (gst_base_sink_set_clock),
24741 (gst_base_sink_set_property), (gst_base_sink_get_property),
24742 (gst_base_sink_handle_object), (gst_base_sink_event),
24743 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
24744 (gst_base_sink_handle_buffer), (gst_base_sink_chain),
24745 (gst_base_sink_loop), (gst_base_sink_deactivate),
24746 (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
24747 (gst_base_sink_change_state):
24748 * gst/base/gstbasesink.h:
24749 * gst/base/gstbasesrc.h:
24750 * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
24751 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
24752 (gst_filesink_init):
24753 more macro splitting
24755 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
24757 * gst/gstelement.c: (gst_element_get_bus):
24759 * tools/gst-launch.c: (check_intr), (event_loop):
24762 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
24764 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
24767 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
24769 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
24770 (gst_base_src_finalize):
24771 add finalize method and clean up properly
24772 * gst/gstpipeline.c: (gst_pipeline_dispose):
24775 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
24777 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
24779 add more things to check
24780 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
24781 * gst/gstelement.c:
24784 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
24786 * check/elements/gstfakesrc.c: (chain_func), (event_func),
24787 (GST_START_TEST), (fakesrc_suite):
24788 * check/gst-libs/gdp.c: (GST_START_TEST):
24789 * check/gst/gst.c: (GST_START_TEST):
24790 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
24791 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
24792 * check/gst/gstbus.c: (GST_START_TEST):
24793 * check/gst/gstcaps.c: (GST_START_TEST):
24794 * check/gst/gstdata.c: (GST_START_TEST):
24795 * check/gst/gstelement.c: (GST_START_TEST):
24796 * check/gst/gstghostpad.c: (GST_START_TEST):
24797 * check/gst/gstiterator.c: (GST_START_TEST):
24798 * check/gst/gstmessage.c: (GST_START_TEST):
24799 * check/gst/gstobject.c: (GST_START_TEST):
24800 * check/gst/gstpad.c: (GST_START_TEST):
24801 * check/gst/gststructure.c: (GST_START_TEST):
24802 * check/gst/gstsystemclock.c: (GST_START_TEST),
24803 (gst_systemclock_suite):
24804 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
24805 * check/gst/gstvalue.c: (GST_START_TEST):
24806 * check/pipelines/cleanup.c: (GST_START_TEST):
24807 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
24808 * check/states/sinks.c: (GST_START_TEST):
24809 * check/gstcheck.c: (gst_check_init):
24810 * check/gstcheck.h:
24811 add debugging category
24812 use GST_START_TEST now, so we add a debug line
24814 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
24816 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
24817 add test for state change message on a bin
24818 * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
24820 * gst/gstbin.c: (gst_bin_init):
24821 * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
24822 * gst/gstelement.c: (gst_element_post_message),
24823 (gst_element_set_state):
24824 * gst/gstelementfactory.c: (gst_element_factory_create):
24825 * gst/gstmessage.c: (gst_message_new):
24826 * gst/gstscheduler.c:
24827 various debugging additions and cleanups
24829 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
24831 * check/Makefile.am:
24832 * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
24834 adding tests for elements
24835 * gst/gstelement.c: (gst_element_dispose):
24837 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
24839 * gst/registries/gstlibxmlregistry.c: (load_feature):
24840 plug more leaks. A simple gst_init() now is leakfree, yay.
24842 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
24844 * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
24845 (gst_xml_registry_load):
24846 plug another memleak
24848 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
24851 use GST_SET_ERROR_CFLAGS
24852 * docs/faq/cvs.xml:
24853 change to ERROR_CFLAGS
24855 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
24858 make GST_ERROR_CFLAGS overridable and re-enable Werror
24859 * docs/faq/cvs.xml:
24860 add a note about error CFLAGS
24861 * docs/gst/tmpl/gstfakesrc.sgml:
24862 * gst/elements/gstfakesrc.c:
24863 comment out some unused code
24864 * gst/gst.c: (split_and_iterate):
24865 * gst/registries/gstlibxmlregistry.c: (load_pad_template),
24869 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
24871 * common/Makefile.am:
24872 * common/gtk-doc.mak:
24873 * docs/gst/Makefile.am:
24874 factor out gtk-doc.mak
24876 2005-07-07 Wim Taymans <wim@fluendo.com>
24878 * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
24879 (gst_thread_scheduler_dispose):
24880 Unlock the STREAM_LOCK completely.
24882 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
24884 * check/Makefile.am:
24885 * check/elements/.cvsignore:
24886 * check/elements/gstfakesrc.c: (chain_func), (event_func),
24887 (START_TEST), (fakesrc_suite), (main):
24888 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
24889 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
24890 (gst_fakesrc_create), (gst_fakesrc_start):
24891 * gst/elements/gstfakesrc.h:
24892 adding a first element test
24894 2005-07-07 Andy Wingo <wingo@pobox.com>
24896 * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
24899 2005-07-07 Wim Taymans <wim@fluendo.com>
24905 2005-07-07 Wim Taymans <wim@fluendo.com>
24907 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
24908 (gst_base_src_default_negotiate), (gst_base_src_negotiate):
24909 Allow subclasses to implement their own negotiation.
24911 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
24913 * docs/design/part-gstbin.txt:
24914 * docs/design/part-gstpipeline.txt:
24915 Update design notes to reflect the movement of
24916 responsibility for bus handling from GstPipeline to
24919 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
24922 Remove unnecessary queue2/3/4 examples.
24924 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
24926 * examples/Makefile.am:
24927 * examples/helloworld/helloworld.c: (event_loop), (main):
24928 * examples/queue/queue.c: (event_loop), (main):
24929 * examples/queue2/queue2.c: (main):
24930 Update a couple of the examples to work again.
24932 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
24933 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
24934 Spelling corrections and extra debug.
24936 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
24937 (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
24938 (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
24940 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
24941 (gst_pipeline_change_state):
24942 * gst/gstpipeline.h:
24943 Move the bus handler for children to the GstBin, and create a
24944 separate bus for receiving messages from children to the one the
24945 bus sends 'upwards' on.
24947 2005-07-06 Wim Taymans <wim@fluendo.com>
24950 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
24951 (gst_base_sink_handle_object), (gst_base_sink_loop),
24952 (gst_base_sink_change_state):
24953 * gst/base/gstbasesink.h:
24954 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
24955 (gst_base_src_init), (gst_base_src_setcaps),
24956 (gst_base_src_getcaps), (gst_base_src_loop),
24957 (gst_base_src_default_negotiate), (gst_base_src_negotiate),
24958 (gst_base_src_start), (gst_base_src_change_state):
24959 * gst/base/gstbasesrc.h:
24960 Make basesrc negotiate.
24961 Handle the case where preroll fails in basesink.
24964 2005-07-06 Wim Taymans <wim@fluendo.com>
24966 * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
24967 Implement the fixate function.
24968 Clean up acceptcaps.
24970 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24972 * docs/pwg/building-filterfactory.xml:
24973 * docs/pwg/pwg.xml:
24974 Remove never-written filter-factory chapter; I'll add the various
24975 base classes to part 4 ("other element types") later on.
24977 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24979 * docs/pwg/advanced-negotiation.xml:
24980 * docs/pwg/building-boiler.xml:
24981 * docs/pwg/building-pads.xml:
24982 * docs/pwg/pwg.xml:
24983 * examples/pwg/Makefile.am:
24984 Add a chapter on caps negotiation, simplify the original code
24985 samples a bit w.r.t. caps negotiation, add link to the advanced
24986 section. Add a bunch of examples showing different use cases of
24987 different types of caps negotiation. Upstream renegotiation isn't
24988 fully documented yet since nobody knows how that works.
24990 2005-07-06 Thomas Vander Stichele <thomas at apestaart dot org>
24992 * check/gst/gstpad.c:
24993 * check/gstcheck.c:
24994 * gst/gstpad.c: (gst_pad_get_internal_links_default):
24995 if pad has no parent, return NULL as list of internal links
24997 2005-07-05 Andy Wingo <wingo@pobox.com>
24999 * gst/elements/gstfilesrc.c:
25000 * gst/elements/gstfakesrc.c:
25001 * gst/base/gstpushsrc.c:
25002 * gst/base/gstbasesrc.h:
25003 * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
25005 2005-07-05 Stefan Kost <ensonic@users.sf.net>
25008 better report generation target (lcov needs a patch)
25010 2005-07-05 Andy Wingo <wingo@pobox.com>
25012 * gst/elements, testsuite: Null if we got it...
25014 2005-07-05 Wim Taymans <wim@fluendo.com>
25017 * libs/gst/dataprotocol/Makefile.am:
25018 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
25019 * libs/gst/dataprotocol/dataprotocol.h:
25020 * pkgconfig/Makefile.am:
25021 * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
25022 * pkgconfig/gstreamer-dataprotocol.pc.in:
25023 Ported dataprotol to 0.9.
25024 Added pkgconfig files.
25026 2005-07-05 Andy Wingo <wingo@pobox.com>
25028 * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
25029 Default to returning TRUE for the case when tranform_caps returns
25030 a fixed caps, like for identity or volume.
25032 * check/gst/gstbus.c (pound_bus_with_messages):
25033 * check/gst/gstmessage.c (START_TEST):
25034 * check/pipelines/simple_launch_lines.c (got_handoff): Application
25035 message API change.
25037 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
25038 logic weaks here: always run transform_caps, trying passthrough
25039 operation only if the original caps intersects with the transform.
25041 * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
25042 source and sink caps.
25044 * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
25045 Intersect the peer caps with the pad template before going into
25047 (gst_base_transform_transform_caps): More debugging.
25049 * gst/gstmessage.h (gst_message_new_application): Take a GstObject
25052 2005-07-04 Edward Hervey <edward@fluendo.com>
25056 (gst_pad_add_*_probe): now returns the signal id for better wrapping
25059 2005-07-04 Andy Wingo <wingo@pobox.com>
25061 * check/gst/gstpad.c: Only set explicit caps on pads.
25063 2005-07-01 Andy Wingo <wingo@pobox.com>
25065 * tests/network-clock.scm: Commentary update.
25067 * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
25068 Didn't really make sense, not implementable with basetransform,
25070 (gst_identity_transform): Unref inbuf via make_writable. Feeble
25071 attempt at implementing the sync property, needs an unlock method.
25073 * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
25074 New func, by default returns the same caps (the identity
25076 (gst_base_transform_getcaps): Uses transform_caps to return
25077 something sensible.
25078 (gst_base_transform_setcaps): Complicated logic to get caps on
25079 both pads, even if they are different, and to call set_caps once
25080 for every time both pads get their caps set.
25081 (gst_base_transform_handle_buffer): Give the ref to the transform
25082 function. Allows in-place modification of the buffer.
25084 * gst/base/gstbasetransform.h (transform_caps): New class method.
25085 Given caps on one side, what can I do on the other.
25086 (set_caps): Take two caps, one for each side of the element.
25089 * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
25090 caps in place. This is safe because we can check the mutability of
25091 the caps, and a good idea because fixate functions are just called
25092 as a matter of last resort. (Not actually implemented.)
25093 (gst_pad_set_caps): If the caps we're setting is actually the same
25094 as the existing pad caps, just update the pointer without calling
25095 setcaps. Assert that caps is either NULL or fixed, as per the
25098 * gst/gstghostpad.c: Update for fixate changes.
25100 2005-07-02 Andy Wingo <wingo@pobox.com>
25103 * gst/gstcaps.h (gst_static_caps_get): Not const return, having
25104 two refcounts makes it immutable, which is enough. Doc more.
25106 2005-07-02 Jan Schmidt <thaytan@mad.scientist.com>
25108 * gst/gstpad.c: (gst_pad_emit_have_data_signal):
25109 Put the mini_object into GValue as a mini_object,
25110 not a gpointer, since that's how we declared
25113 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25115 * examples/pwg/Makefile.am:
25116 Fix buildbot again.
25118 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25120 * docs/pwg/building-testapp.xml:
25122 * examples/pwg/Makefile.am:
25125 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25128 * examples/Makefile.am:
25129 * examples/pwg/Makefile.am:
25130 * examples/pwg/extract.pl:
25131 Enable building the PWG examples.
25132 * docs/pwg/advanced-interfaces.xml:
25133 Add URI interface stub.
25134 * docs/pwg/advanced-types.xml:
25135 * docs/pwg/other-autoplugger.xml:
25136 * docs/pwg/appendix-porting.xml:
25137 * docs/pwg/pwg.xml:
25138 Add porting guide (mostly stubs), remove autoplugging (see ADM).
25139 * docs/pwg/building-boiler.xml:
25140 * docs/pwg/building-chainfn.xml:
25141 * docs/pwg/building-pads.xml:
25142 * docs/pwg/building-props.xml:
25143 * docs/pwg/building-state.xml:
25144 * docs/pwg/building-testapp.xml:
25145 Update the building-*.xml parts for 0.9 changes. All examples
25146 code blocks compile in examples/pwg/*.
25148 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25150 * docs/manual/advanced-autoplugging.xml:
25151 * docs/manual/appendix-checklist.xml:
25152 * docs/manual/appendix-integration.xml:
25153 * docs/manual/highlevel-components.xml:
25154 Fix playbin/decodebin examples, update docs a bit, mention bus
25155 instead of signals in various places, mention kmplayer and
25156 kaffeine since they have a working GStreamer backend in the KDE
25159 2005-06-30 Wim Taymans <wim@fluendo.com>
25162 * docs/design/draft-ghostpads.txt:
25163 * docs/design/draft-push-pull.txt:
25164 * docs/design/draft-query.txt:
25165 * docs/design/part-TODO.txt:
25166 * docs/design/part-query.txt:
25167 Added CHANGES-0.9 doc, updated status of other docs.
25172 2005-06-30 Wim Taymans <wim@fluendo.com>
25174 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
25175 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
25176 (gst_base_sink_change_state):
25177 * gst/base/gstbasesink.h:
25178 Some tweaks, only EOS and a buffer complete a preroll.
25180 2005-06-30 Andy Wingo <wingo@pobox.com>
25182 * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
25183 activate_push down to the internal pad as well.
25185 2005-06-30 Torsten Schoenfeld <kaffeetisch@gmx.de>
25187 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25189 * gst/gsttaginterface.c:
25190 Some documentation fixes (#307394 and #307397).
25192 2005-06-30 Antoine Tremblay <hexa00@gmail.com>
25194 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25196 * gst/gstvalue.c: (gst_value_intersect_list):
25197 Fix memleak (#309125).
25199 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25201 * docs/manual/advanced-dataaccess.xml:
25202 Fix fakesrc example to compile; doesn't work, bug somewhere...?
25203 * docs/manual/basics-pads.xml:
25204 Add reference for filtered caps to above chapter.
25206 2005-06-30 Wim Taymans <wim@fluendo.com>
25208 * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
25209 (gst_bin_change_state):
25211 Lame attempt at making the state change function a bit
25214 2005-06-30 Wim Taymans <wim@fluendo.com>
25216 * docs/design/part-clocks.txt:
25217 * docs/design/part-element-sink.txt:
25218 * docs/design/part-events.txt:
25219 * docs/design/part-preroll.txt:
25220 * docs/design/part-states.txt:
25221 Some more tweeks and additions to the docs.
25223 2005-06-30 Wim Taymans <wim@fluendo.com>
25225 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
25226 (default_have_data), (gst_pad_class_init), (gst_pad_init),
25227 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
25228 (gst_pad_check_pull_range), (gst_pad_get_range),
25229 (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
25231 * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
25232 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
25233 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
25234 (gst_pad_remove_buffer_probe):
25235 Removed atomic operations, use existing LOCK.
25236 Move exception handling out of main code path.
25238 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25240 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
25241 (silly_return_true_function), (gst_pad_class_init),
25242 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
25243 (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
25244 (gst_pad_send_event):
25245 Fix accumulator, add default value by using _emitv() instead
25246 of _emit() for signal emission.
25248 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25250 * docs/manual/advanced-dataaccess.xml:
25251 * examples/manual/Makefile.am:
25253 * gst/gstpad.c: (_gst_do_pass_data_accumulator):
25256 2005-06-29 Tim-Philipp Müller <tim at centricular dot net>
25258 * gst/elements/gstfilesink.c: (gst_filesink_render):
25259 Simplify code so that we don't have to handle short
25260 writes and return GST_FLOW_ERROR if an error occured.
25262 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25264 * docs/gst/gstreamer-docs.sgml:
25265 Remove probes more.
25267 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25269 * docs/gst/gstreamer-sections.txt:
25270 * docs/gst/tmpl/gstpad.sgml:
25271 * docs/gst/tmpl/gstprobe.sgml:
25273 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
25274 (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
25275 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
25276 (gst_pad_push_event), (gst_pad_send_event):
25278 * gst/gstutils.c: (gst_pad_add_data_probe),
25279 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
25280 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
25281 (gst_pad_remove_buffer_probe):
25283 Remove old probes, add new g-signal-based probes and some utility
25286 2005-06-29 Edward Hervey <edward@fluendo.com>
25288 * gst/gstelementfactory.c:
25291 Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
25292 the definition to the header file.
25294 2005-06-29 Andy Wingo <wingo@pobox.com>
25296 * docs/gst/Makefile.am (scan-build.stamp): Totally only check
25297 plugins from the source directory.
25299 2005-06-29 Wim Taymans <wim@fluendo.com>
25301 * docs/gst/tmpl/gstbuffer.sgml:
25302 * docs/gst/tmpl/gstclock.sgml:
25303 Some fixings for blantently wrong text.
25305 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
25307 * check/Makefile.am:
25308 * gst/gst.c: (add_path_func), (init_pre):
25309 * gst/gstregistry.c: (gst_registry_add_path):
25310 add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
25311 only scan the GST_PLUGIN_PATH locations, and not add
25314 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
25316 * docs/gst/gstreamer-sections.txt:
25317 * docs/gst/tmpl/gstbasesrc.sgml:
25318 * gst/gstelement.c:
25319 * gst/gstelement.h:
25324 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25326 * docs/manual/advanced-autoplugging.xml:
25327 Fix autoplugging example.
25329 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25331 * docs/manual/advanced-autoplugging.xml:
25332 * docs/manual/mime-world.fig:
25333 Try to get autoplugging working, fix type detection. Fix text
25334 in hello-world image.
25336 2005-06-29 Wim Taymans <wim@fluendo.com>
25338 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
25339 (gst_base_sink_change_state):
25343 map SIGNAL and BROADCAST to the right function.
25346 Remove redundant braces.
25348 * gst/gstpad.c: (gst_pad_set_caps):
25349 Don't call setcaps function when reseting caps to NULL.
25351 * gst/gstsystemclock.c: (gst_system_clock_dispose),
25352 (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
25353 (gst_system_clock_id_unschedule):
25354 Use BROADCAST as this is what we do.
25356 2005-06-29 Wim Taymans <wim@fluendo.com>
25358 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
25359 We are actually prerolling before commiting the state
25362 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25364 * docs/manual/advanced-clocks.xml:
25365 * docs/manual/advanced-interfaces.xml:
25366 * docs/manual/advanced-metadata.xml:
25367 * docs/manual/advanced-position.xml:
25368 * docs/manual/advanced-schedulers.xml:
25369 * docs/manual/advanced-threads.xml:
25370 * docs/manual/appendix-porting.xml:
25371 * docs/manual/basics-bins.xml:
25372 * docs/manual/basics-bus.xml:
25373 * docs/manual/basics-elements.xml:
25374 * docs/manual/basics-helloworld.xml:
25375 * docs/manual/basics-pads.xml:
25376 * docs/manual/highlevel-components.xml:
25377 * docs/manual/manual.xml:
25378 * docs/manual/thread.fig:
25379 Update (until threads/scheduling) Application Development Manual;
25380 remove GstThread, add GstBus, add simple porting checklist, add
25381 documentation for tag writing, clocks, make all examples until this
25382 part compile and run.
25383 * examples/manual/Makefile.am:
25384 Update from changes to Application Development Manual; add bus
25385 example, remove thread example.
25387 2005-06-28 Wim Taymans <wim@fluendo.com>
25389 * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
25390 (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
25391 (gst_bus_source_dispatch):
25392 Add debugging messages.
25393 Make internal methods static.
25394 Handle the case where the bus is flushed in the handler.
25396 * gst/gstelement.c: (gst_element_get_bus):
25397 Fix refcount in _get_bus();
25399 * gst/gstpipeline.c: (gst_pipeline_change_state),
25400 (gst_pipeline_get_clock_func):
25401 Clock refcounting fixes.
25402 Handle the case where preroll timed out more gracefully.
25404 * gst/gstsystemclock.c: (gst_system_clock_dispose):
25405 Clean up the internal thread in dispose. This is needed
25406 for subclasses that actually get disposed.
25408 * gst/schedulers/threadscheduler.c:
25409 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
25410 (gst_thread_scheduler_dispose):
25411 Free thread pool in dispose.
25413 2005-06-28 Andy Wingo <wingo@pobox.com>
25415 * tests/network-clock-utils.scm (debug, print-event): New utils.
25417 * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
25418 (*packet-loss*): Unified loss probability.
25419 (network-time): Report out-of-band events.
25421 * tests/plot-data: Add support for out-of-band events. Hack it
25422 into this script instead of passing it down the pipe; should fix
25425 2005-06-28 Wim Taymans <wim@fluendo.com>
25427 * docs/gst/gstreamer.types:
25428 * docs/gst/tmpl/gstbasesrc.sgml:
25429 * docs/gst/tmpl/gstpad.sgml:
25432 2005-06-28 Wim Taymans <wim@fluendo.com>
25434 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
25435 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
25436 (gst_proxy_pad_do_fixatecaps):
25437 Correctly proxy the check_pull_range function.
25439 2005-06-28 Andy Wingo <wingo@pobox.com>
25441 * tests/network-clock.scm: Removed need for slib.
25443 2005-06-28 Wim Taymans <wim@fluendo.com>
25445 * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
25446 (gst_basesink_preroll_queue_flush):
25447 * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
25448 * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
25449 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
25450 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
25451 (gst_proxy_pad_set_property):
25454 * gst/gstqueue.c: (gst_queue_init):
25455 The deprecated pad loop function is removed now.
25457 2005-06-28 Andy Wingo <wingo@pobox.com>
25459 * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
25460 New parameters, simulate network packet loss.
25462 * tests/network-clock-utils.scm: Initialize the RNG.
25464 2005-06-28 Wim Taymans <wim@fluendo.com>
25466 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
25467 (gst_basesink_event), (gst_basesink_deactivate):
25468 Flushing the preroll queue always needs to unlock the waiters.
25470 2005-06-28 Edward Hervey <edward@fluendo.com>
25472 * gst/gstpipeline.c: (gst_pipeline_send_event):
25473 Wheen a seek was successful on a pipeline, set the stream_time to the
25474 seek offset in order to have a synchronized stream_time.
25476 2005-06-28 Wim Taymans <wim@fluendo.com>
25478 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
25479 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
25480 (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
25481 (gst_proxy_pad_do_fixatecaps):
25482 Call wrapper function instead of just calling the function
25483 pointers. This takes care of any locking and whatmore.
25485 2005-06-28 Wim Taymans <wim@fluendo.com>
25487 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
25488 (gst_pad_pull_range):
25490 CONNECTED -> LINKED.
25492 2005-06-28 Andy Wingo <wingo@pobox.com>
25494 * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
25495 source-munging commit!!!
25497 * gst/gstobject.c (gst_object_unref, gst_object_ref)
25498 (gst_object_sink): Take gpointer arguments, not GstObject --
25499 avoids casts. Like GLib.
25501 * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
25504 2005-06-27 Andy Wingo <wingo@pobox.com>
25506 * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
25509 * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
25510 returns a sorted copy of the trace list.
25511 (gst_alloc_trace_print_live): New API, only prints traces with
25512 live objects. Sort the list.
25513 (gst_alloc_trace_print_all): Sort the list.
25514 (gst_alloc_trace_print): Align columns.
25516 * gst/elements/gstttypefindelement.c:
25517 * gst/elements/gsttee.c:
25518 * gst/base/gstbasesrc.c:
25519 * gst/base/gstbasesink.c:
25520 * gst/base/gstbasetransform.c:
25521 * gst/gstqueue.c: Adapt for pad activation changes.
25523 * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
25525 (gst_pipeline_dispose): Drop ref on sched.
25527 * gst/gstpad.c (gst_pad_init): Set the default activate func.
25528 (gst_pad_activate_default): Push mode by default.
25529 (pre_activate_switch, post_activate_switch): New stubs, things to
25530 do before and after switching activation modes on pads.
25531 (gst_pad_set_active): Take a boolean and not a mode, dispatch to
25532 the pad's activate function to choose which mode to activate.
25533 Shortcut on deactivation and call the right function directly.
25534 (gst_pad_activate_pull): New API, (de)activates a pad in pull
25536 (gst_pad_activate_push): New API, same for push mode.
25537 (gst_pad_set_activate_function)
25538 (gst_pad_set_activatepull_function)
25539 (gst_pad_set_activatepush_function): Setters for new API.
25541 * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
25542 Trace all miniobjects.
25543 (gst_mini_object_make_writable): Unref the arg if we copy, like
25544 gst_caps_make_writable.
25546 * gst/gstmessage.c (_gst_message_initialize): No trace init.
25548 * gst/gstghostpad.c (gst_proxy_pad_do_activate)
25549 (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
25550 Adapt for new pad API.
25552 * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
25554 * gst/gstelement.h:
25555 * gst/gstelement.c (gst_element_iterate_src_pads)
25556 (gst_element_iterate_sink_pads): New API functions.
25558 * gst/gstelement.c (iterator_fold_with_resync): New utility,
25559 should fold into gstiterator.c in some form.
25560 (gst_element_pads_activate): Simplified via use of fold and
25561 delegation of decisions to gstpad->activate.
25563 * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
25566 * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
25567 class once in init, like gstmessage. Didn't run into this issue
25568 but it seems correct. Don't initialize a trace, gstminiobject does
25571 * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
25572 test, runs fakesrc ! fakesink, stopping on ::handoff via a message
25574 (assert_live_count): New util function, uses alloc traces to check
25577 * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
25578 To be modified when unlink drops the internal pad.
25580 2005-06-27 Wim Taymans <wim@fluendo.com>
25582 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
25583 (gst_bin_change_state):
25584 Cleanup the get_state() function a little, make sure it
25585 iterates the same set of elements.
25586 Added stub iterate_state_order().
25588 2005-06-27 Thomas Vander Stichele <thomas at apestaart dot org>
25590 * docs/gst/gstreamer-docs.sgml:
25591 * docs/gst/gstreamer-sections.txt:
25592 * docs/gst/gstreamer.types:
25593 * docs/gst/tmpl/gstbasesink.sgml:
25594 * docs/gst/tmpl/gstbasesrc.sgml:
25595 * docs/gst/tmpl/gstbasetransform.sgml:
25596 * docs/gst/tmpl/gstelement.sgml:
25597 * docs/gst/tmpl/gstiterator.sgml:
25598 * gst/base/gstbasesrc.c:
25599 * gst/base/gstbasesrc.h:
25600 * gst/base/gstbasetransform.h:
25601 * gst/gstelement.c:
25602 * gst/gstiterator.h:
25603 adding basetransform and iterator docs
25605 2005-06-27 Andy Wingo <wingo@pobox.com>
25607 * docs/design/part-activation.txt: Notes on how activation should
25608 work -- not quite implemented yet.
25610 2005-06-25 Wim Taymans <wim@fluendo.com>
25612 * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
25613 At least get the chain function correct, needs more
25616 2005-06-25 Wim Taymans <wim@fluendo.com>
25618 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
25619 (gst_basesink_handle_object), (gst_basesink_event),
25620 (gst_basesink_do_sync), (gst_basesink_handle_event),
25621 (gst_basesink_change_state):
25623 Right, two problems here: ghostpads don't take locks and
25624 glib _rec_mutex_lock_full() with depth==0 still locks.
25625 Catch illegal locking and g_warn them.
25627 2005-06-25 Wim Taymans <wim@fluendo.com>
25629 * check/states/sinks.c: (START_TEST), (gst_object_suite):
25630 Have to check for completion now...
25632 2005-06-25 Wim Taymans <wim@fluendo.com>
25634 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
25635 (gst_basesink_handle_object), (gst_basesink_event),
25636 (gst_basesink_do_sync), (gst_basesink_handle_event),
25637 (gst_basesink_change_state):
25639 Unlock STREAM_LOCK whatever the recursion was.
25641 2005-06-25 Wim Taymans <wim@fluendo.com>
25643 * gst/base/gstbasesink.c: (gst_basesink_set_property),
25644 (gst_basesink_preroll_queue_empty),
25645 (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
25646 (gst_basesink_event), (gst_basesink_do_sync),
25647 (gst_basesink_handle_event), (gst_basesink_handle_buffer),
25648 (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
25649 (gst_basesink_change_state):
25650 Reworked the base sink, handle event and buffer serialisation
25651 correctly and removed possible deadlock.
25652 Handle EOS correctly.
25654 2005-06-25 Wim Taymans <wim@fluendo.com>
25656 * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
25657 (gst_pipeline_change_state):
25658 * tools/gst-launch.c: (check_intr), (event_loop), (main):
25659 Allow elements to post EOS in the state change function.
25660 Fix up -launch, make it exit the poll loop when the
25661 pipeline actually changed state.
25662 Fix up warning parsing in -launch.
25664 2005-06-25 Wim Taymans <wim@fluendo.com>
25666 * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
25667 (gst_tee_sink_activate):
25668 Core takes STREAM_LOCK for us now.
25670 2005-06-25 Wim Taymans <wim@fluendo.com>
25672 * gst/gstelement.c: (gst_element_get_state_func),
25673 (gst_element_set_state):
25674 * gst/gstelement.h:
25675 * gst/gstmessage.c: (gst_message_parse_error),
25676 (gst_message_parse_warning):
25677 Keep track of current target state while performing a state
25678 change so that subclasses can do something interesting.
25679 Fix parsing of warning/error messages when GError is NULL.
25681 2005-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
25683 * docs/gst/Makefile.am:
25684 * docs/gst/gstreamer-docs.sgml:
25685 * docs/gst/gstreamer-sections.txt:
25686 * docs/gst/gstreamer.types:
25687 * docs/gst/tmpl/gstbasesink.sgml:
25688 * docs/gst/tmpl/gstbasesrc.sgml:
25689 * docs/gst/tmpl/gstbin.sgml:
25690 * docs/gst/tmpl/gstcompat.sgml:
25691 * docs/gst/tmpl/gstfakesink.sgml:
25692 * docs/gst/tmpl/gstfakesrc.sgml:
25693 * docs/gst/tmpl/gstfilesink.sgml:
25694 * docs/gst/tmpl/gstfilesrc.sgml:
25695 * docs/gst/tmpl/gstindex.sgml:
25696 * docs/manual/appendix-quotes.xml:
25697 * gst/base/gstbasesrc.h:
25698 * gst/elements/gstfakesrc.h:
25699 * gst/gstmessage.h:
25700 start pulling in base classes and elements in our docs
25702 2005-06-24 Stefan Kost <ensonic@users.sf.net>
25704 * docs/gst/Makefile.am:
25705 * docs/libs/Makefile.am:
25706 fixed make distcheck with gtk-doc 1.3
25708 2005-06-23 Wim Taymans <wim@fluendo.com>
25710 * gst/gstelement.c: (gst_element_get_state_func),
25711 (gst_element_set_state), (gst_element_change_state):
25712 When the state did not change, also report NO_PREROLL
25715 2005-06-23 Wim Taymans <wim@fluendo.com>
25717 * gst/gstpad.c: (gst_pad_event_default):
25718 * gst/gstqueue.c: (gst_queue_loop):
25719 No unsafe task pausing please.
25721 2005-06-23 Wim Taymans <wim@fluendo.com>
25723 * gst/schedulers/threadscheduler.c:
25724 (gst_thread_scheduler_task_start),
25725 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
25726 Ref the task before pushing it on the threadpool. This
25727 makes sure that we have a ref when the threadfunction is
25730 2005-06-23 Andy Wingo <wingo@pobox.com>
25732 * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
25733 offset is greater than the file's size.
25735 * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK)
25736 (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
25737 * gst/gstobject.c (gst_object_class_init): Make the class lock
25738 recursive. Wim won't let me drop deep_notify. Decodebin works
25739 again, whoopdy doo.
25741 * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
25742 internal pad, and hacks accordingly. Doesn't do it on the target
25743 pad because we change its caps. Probably catches all cases of
25745 (gst_ghost_pad_set_property): Connect to notify::caps as
25748 * tests/network-clock.scm (plot-simulation): Pipe data to the
25749 elite python skript.
25751 * tests/network-clock-utils.scm (define-parameter): New macro,
25752 defines a parameter that can be set via the command line.
25753 (set-parameter!, parse-parameter-arguments): Command line args
25756 * tests/plot-data: Simple matplotlib-based plotter, takes input on
25759 2005-06-23 Jan Schmidt <thaytan@mad.scientist.com>
25761 * gst/elements/gsttypefindelement.c:
25762 (gst_type_find_element_handle_event):
25763 Don't restart typefinding on a discont.
25764 * gst/gstelement.c: (gst_element_set_state):
25765 Debug spelling fix.
25766 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
25767 Allow changing mode of an active pad.
25768 Debug output fixes.
25769 * gst/registries/gstlibxmlregistry.c: (load_feature):
25770 Don't cast a static pad template to a normal pad template.
25772 2005-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
25774 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
25775 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
25776 remove gst_strtoll completely, since it didn't actually do
25777 anything more than what g_ascii_strtoull already does.
25778 check for range errors when deserializing
25779 do a cast for the unsigned cases; but further fixing needs
25780 a decision on what the interpretation of "(int)" and
25781 deserialization should be for values that fall outside the
25782 type's boundaries (ie, refuse, or interpret as casting)
25784 2005-06-23 Wim Taymans <wim@fluendo.com>
25786 * check/Makefile.am:
25787 * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
25788 * docs/design/part-live-source.txt:
25789 * docs/design/part-states.txt:
25790 * gst/base/gstbasesrc.c: (gst_basesrc_init),
25791 (gst_basesrc_set_live), (gst_basesrc_is_live),
25792 (gst_basesrc_get_range), (gst_basesrc_activate),
25793 (gst_basesrc_change_state):
25794 * gst/base/gstbasesrc.h:
25795 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
25796 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
25797 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
25798 * gst/gstelement.c: (gst_element_get_state_func),
25799 (gst_element_set_state):
25800 * gst/gstelement.h:
25802 * tools/gst-launch.c: (event_loop), (main):
25803 Added support for live sources and other elements that
25805 Updated design docs, added live-source design doc.
25806 Implemented live source functionality in basesrc
25807 Fix error condition in _bin_get_state()
25808 Implement live source handling in -launch.
25809 Added check for live sources.
25810 Fixed case in GstBin where elements were changed state
25814 2005-06-23 Andy Wingo <wingo@pobox.com>
25816 * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
25817 borken refcounting.
25819 * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
25820 gst_caps_replace takes care of this for us.
25822 * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
25823 gst_pad_set_caps on the target, not just its setcaps() function.
25825 * tests/network-clock.scm:
25826 * tests/network-clock-utils.scm: A network clock simulator.
25827 Something of an algorithmic testbed before doing something in C.
25829 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
25831 * check/Makefile.am:
25832 * check/gst/capslist.h:
25833 copy over from 0.8, and add two with bitmasks specified with
25835 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
25836 add test to parse everything from capslist.h
25837 * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
25839 add test for structure deserialization
25840 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
25841 add tests for deserialization of strings to int types
25842 * gst/gststructure.c: (gst_structure_nth_field_name):
25843 * gst/gststructure.h:
25844 add a way to get the name of a field referenced by index
25845 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
25846 instead of checking if the resulting long long lies between
25847 min and max, we check if the long long would fit into
25848 a number of bytes for the final type.
25849 This fixes cases where a string represents 2^32 - 1, which
25850 when cast to int would be the (valid) -1, but is bigger than
25853 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
25855 * gst/parse/grammar.y:
25856 add a log line for type deserialization
25858 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
25860 * check/gst/gstvalue.c: (START_TEST):
25861 * gst/gstvalue.c: (gst_value_deserialize):
25862 return long long, not int, so gint64 deserialization actually
25863 works. Is there any flag that makes the compiler check this ?
25866 2005-06-22 Wim Taymans <wim@fluendo.com>
25869 Added convenience macros for setting buffers in GValue.
25871 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
25873 * check/gst/.cvsignore:
25874 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
25875 add a test deserializing int64, and comment part out because
25878 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
25880 * check/Makefile.am:
25881 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
25882 * testsuite/Makefile.am:
25883 * testsuite/caps/Makefile.am:
25884 * testsuite/caps/value_serialize.c:
25885 * testsuite/test_gst_init.c:
25886 move a value_serialize test over
25888 2005-06-20 Wim Taymans <wim@fluendo.com>
25893 * gst/gstvalue.c: (gst_value_compare_buffer),
25894 (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
25895 (gst_value_compare_flags), (gst_value_serialize_flags),
25896 (gst_value_deserialize_flags), (_gst_value_initialize):
25897 Fix serialisation of buffers, they are not boxed types anymore
25899 2005-06-20 Wim Taymans <wim@fluendo.com>
25901 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
25902 Testcase to show error in buffer-on-caps serialisation.
25904 2005-06-20 Andy Wingo <wingo@pobox.com>
25906 * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
25907 will be adding to later.
25909 * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
25910 if its socks fill with rocks.
25911 (gst_system_clock_obtain): Set the name on object construction.
25912 Avoid double-checked locking.
25914 2005-06-20 Tim-Philipp Müller <tim at centricular dot net>
25916 * gst/gsturi.c: (gst_element_make_from_uri):
25917 Fix potential endless loop.
25919 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
25921 * check/Makefile.am:
25923 * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
25925 move over from testsuite dir and clean up
25928 * testsuite/Makefile.am:
25929 * testsuite/tags/.cvsignore:
25930 * testsuite/tags/Makefile.am:
25931 * testsuite/tags/merge.c:
25932 remove testsuite/tags
25934 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
25936 * docs/gst/gstreamer-sections.txt:
25937 * docs/gst/tmpl/gstenumtypes.sgml:
25938 * win32/gstenumtypes.c:
25939 clean up documentation build a little
25941 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
25943 * check/gstcheck.h:
25944 add macros for checking refcounts on objects and caps
25945 * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
25946 add some more unit tests
25947 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
25948 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
25949 fix leaked refcounts (I hope :)) so unittest works
25953 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
25955 * configure.ac: back to HEAD
25957 === release 0.9.1 ===
25959 2005-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
25965 2005-06-17 Andy Wingo <wingo@pobox.com>
25967 * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
25968 assert; it's always possible that the pad gets deactivated in
25969 between the checks in gstpad.c and the implementation. Rely on
25970 finish_preroll() to return a FLUSHING or similar instead of on the
25973 * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
25974 clock and post an EOS message if we come out of finish_preroll in
25977 2005-06-16 David Schleef <ds@schleef.org>
25979 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
25980 (gst_capsfilter_set_property): Allow NULL as possible value
25981 for filter_caps property, indicating GST_CAPS_ANY.
25983 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
25985 * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
25987 * gst/schedulers/Makefile.am:
25989 * gstreamer.spec.in:
25992 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
25994 * gstreamer.spec.in:
25997 2005-06-08 Andy Wingo <wingo@pobox.com>
25999 * gst/gstutils.c: RPAD fixes all around.
26000 (gst_element_link_pads): Refcounting fixes.
26002 * tools/gst-inspect.c:
26003 * tools/gst-xmlinspect.c:
26005 * gst/base/gsttypefindhelper.c:
26006 * gst/base/gstbasesink.c:
26007 * gst/gstqueue.c: RPAD fixes.
26009 * gst/gstghostpad.h:
26010 * gst/gstghostpad.c: New ghost pad implementation as full proxy
26011 pads. The tricky thing is they provide both source and sink
26012 interfaces, since they proxy the internal pad for the external
26013 pad, and vice versa. Implement with lower-level ProxyPad objects,
26014 with the interior proxy pad as a child of the exterior ghost pad.
26015 Should write a doc on this.
26017 * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
26018 (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
26021 * gst/gstpad.c: Big changes. No more stub base GstPad, now all
26022 pads are real pads. No ghost pads in this file. Not documenting
26023 the myriad s/RPAD/PAD/ and REALIZE fixes.
26024 (gst_pad_class_init): Add properties for "direction" and
26025 "template". Both are construct-only, so they can't change during
26026 the life of the pad. Fixes properly deriving from GstPad.
26027 (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
26028 derived objects, just set properties when creating the objects via
26030 (gst_pad_get_parent): Implement as a function, return NULL if the
26031 parent is not an element.
26032 (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
26033 (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
26035 * gst/gstobject.c (gst_object_class_init): Make name a construct
26036 property. Don't set it in the object init.
26038 * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
26039 with UNKNOWN direction.
26040 (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
26041 with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
26042 (gst_element_remove_pad): Remove ghost-pad special cases.
26043 (gst_element_pads_activate): Remove rpad cruft.
26045 * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
26046 catch the pad's-parent-not-an-element case.
26048 * gst/gst.h: Include gstghostpad.h.
26050 * gst/gst.c (init_post): No more real, ghost pads.
26052 * gst/Makefile.am: Add gstghostpad.[ch].
26054 * check/Makefile.am:
26055 * check/gst/gstbin.c:
26056 * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
26057 into a bin creates ghost pads, and that the refcounts are right.
26058 Partly moved from gstbin.c.
26060 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
26062 * check/gst-libs/.cvsignore:
26063 * check/gst/.cvsignore:
26064 * check/pipelines/.cvsignore:
26066 * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
26067 (START_TEST), (cleanup_suite), (main):
26068 add some tests related to cleanup after running pipelines
26070 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
26072 * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
26073 add a testsuite for GstBuffer
26075 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
26077 * gst/gstminiobject.h:
26078 add defines for accessing the refcount
26080 2005-06-03 Stefan Kost <ensonic@users.sf.net>
26082 * Makefile.am: added support for html unit test coverage reports
26084 2005-06-03 Jan Schmidt <thaytan@mad.scientist.com>
26086 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
26087 Free existing caps if the capsfilter changes. Add a FIXME about
26088 setting those caps on the pads.
26090 * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
26091 Before adding a ghost pad to a parent bin, check that there isn't
26092 already one for the element on the bin. Prevents infinite recursion
26093 when using decodebin in parse pipelines. Andy says he'll rewrite the
26094 way this works anyway, so ignore the hack.
26096 2005-06-02 Andy Wingo <wingo@pobox.com>
26098 * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
26099 file size, pass it on to the type find helper.
26101 * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
26102 segment_start and segment_end properly according to the seek
26103 method. Segment_end is still a bit flaky because offset can be
26104 negative for CUR and END cases, but it takes -1 as an "unset"
26107 2005-06-02 Wim Taymans <wim@fluendo.com>
26109 * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
26110 (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
26111 (gst_basesink_activate):
26112 * gst/base/gstbasesink.h:
26113 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
26114 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
26115 (gst_pad_query), (gst_pad_start_task):
26117 * gst/gstqueue.c: (gst_queue_bufferalloc),
26118 (gst_queue_handle_sink_event), (gst_queue_chain):
26119 Bufferalloc: return GstFlowReturn to more accuratly report
26120 why allocation failed.
26122 2005-06-02 Wim Taymans <wim@fluendo.com>
26124 * gst/gstpipeline.c: (gst_pipeline_send_event):
26125 Take snapshot of state without blocking.
26127 2005-06-02 Wim Taymans <wim@fluendo.com>
26129 * docs/design/part-TODO.txt:
26130 * docs/design/part-caps.txt:
26131 * docs/design/part-clocks.txt:
26132 * docs/design/part-negotiation.txt:
26133 * docs/design/part-preroll.txt:
26136 2005-05-30 Wim Taymans <wim@fluendo.com>
26138 * gst/elements/gstidentity.c: (gst_identity_event),
26139 (gst_identity_transform), (gst_identity_get_property):
26140 Protect last_message property as it is accessed from
26143 2005-05-30 Wim Taymans <wim@fluendo.com>
26145 * gst/gstelement.c: (gst_element_init),
26146 (gst_element_pads_activate), (gst_element_change_state):
26147 Slicker pad activation code.
26149 2005-05-30 Wim Taymans <wim@fluendo.com>
26152 * gst/gstelement.h:
26153 * gst/gstelementfactory.h:
26155 Move elementfactory methods to separate .h file.
26157 2005-05-30 Wim Taymans <wim@fluendo.com>
26159 * docs/design/part-overview.txt:
26160 * gst/gstsystemclock.h:
26161 Small typo fixes, doc updates.
26163 2005-05-30 Wim Taymans <wim@fluendo.com>
26165 * gst/gst.c: (gst_init_get_popt_table), (init_post),
26166 (init_popt_callback):
26167 Remove cpu-opt flag.
26169 2005-05-30 Wim Taymans <wim@fluendo.com>
26171 * gst/gstbuffer.c: (gst_subbuffer_finalize),
26172 (gst_buffer_create_sub), (gst_buffer_is_span_fast):
26174 Avoid typechecking in places where not needed.
26175 Added accessor for malloc_data.
26177 2005-05-30 Wim Taymans <wim@fluendo.com>
26179 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
26180 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
26181 (gst_pad_configure_sink), (gst_pad_configure_src),
26182 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
26183 (gst_pad_start_task):
26184 Propagate errors from _set_caps() in configure_src/sink
26185 functions instead of returning TRUE.
26186 FLUSH events can travel up and downstream
26189 2005-05-30 Wim Taymans <wim@fluendo.com>
26191 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
26192 (gst_basesink_activate):
26193 Handle EOS in preroll.
26195 2005-05-30 Wim Taymans <wim@fluendo.com>
26197 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
26198 (gst_queue_loop), (gst_queue_handle_src_event):
26199 Remove old pieces of code
26200 Flushing the queue in an upstream event is a very bad idea.
26202 2005-05-26 Andy Wingo <wingo@pobox.com>
26204 * gst/gstminiobject.c (gst_value_mini_object_collect): Use
26205 gst_value_set_mini_object so as to add a ref on the object (which
26206 will be removed when the value is unset).
26208 * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
26209 arg type in ::handoff.
26211 * gst/gstelement.c (gst_element_change_state): Also deactivate
26212 pads in READY->NULL, just in case the element didn't make it to
26213 PAUSED. Wingo tested, Wim approved.
26215 2005-05-26 Wim Taymans <wim@fluendo.com>
26217 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
26218 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
26219 (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
26220 A flushing pad cannot be used to alloc_buffer from.
26222 2005-05-26 Wim Taymans <wim@fluendo.com>
26224 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
26225 (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
26226 (gst_bus_source_dispatch), (gst_bus_source_finalize),
26227 (gst_bus_create_watch), (gst_bus_add_watch_full):
26229 Implement a real GSource and use g_main_context_wakeup() to
26230 signal new messages instead of the socketpair.
26232 2005-05-25 Wim Taymans <wim@fluendo.com>
26234 * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
26235 (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
26236 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
26237 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
26238 (gst_pad_send_event), (gst_pad_start_task):
26239 * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
26240 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
26241 (gst_queue_sink_activate), (gst_queue_src_activate),
26242 (gst_queue_change_state):
26244 Fix state changes for non sinks. We now change sinks, then elements
26245 with unconnected srcpads, then the rest.
26246 More efficient queue unlocking in flush and state changes.
26247 Set the pad activate mode even if it does not have an activate
26250 2005-05-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26252 * gst/base/gstbasesrc.c: (gst_basesrc_activate):
26253 Don't go in pull mode for non-seekable sources.
26254 * gst/elements/gsttypefindelement.h:
26255 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
26256 (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
26257 (free_entry), (stop_typefinding),
26258 (gst_type_find_element_handle_event), (find_peek),
26259 (gst_type_find_element_chain), (do_pull_typefind),
26260 (gst_type_find_element_change_state):
26261 Allow typefinding (w/o seeking) in push-mode, simplified version
26262 of what was in 0.8.
26263 * gst/gstutils.c: (gst_buffer_join):
26265 gst_buffer_join() from 0.8.
26267 2005-05-25 Wim Taymans <wim@fluendo.com>
26269 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
26270 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
26271 (gst_pad_send_event), (gst_pad_start_task):
26272 Disable attempt at mode switching until it is figured out.
26274 2005-05-25 Wim Taymans <wim@fluendo.com>
26276 * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
26277 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
26278 (gst_basesink_finish_preroll), (gst_basesink_chain),
26279 (gst_basesink_loop), (gst_basesink_activate),
26280 (gst_basesink_change_state):
26281 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
26282 (gst_basesrc_get_range), (gst_basesrc_loop),
26283 (gst_basesrc_activate):
26284 * gst/elements/gsttee.c: (gst_tee_sink_activate):
26285 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
26286 (gst_real_pad_init), (gst_real_pad_set_property),
26287 (gst_real_pad_get_property), (gst_pad_set_active),
26288 (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
26289 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
26290 (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
26291 (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
26292 (gst_pad_event_default_dispatch), (gst_pad_event_default),
26293 (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
26294 (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
26295 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
26296 (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
26297 (gst_pad_stop_task):
26299 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
26300 (gst_queue_loop), (gst_queue_src_activate):
26301 * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
26302 (gst_task_get_state):
26304 * gst/schedulers/threadscheduler.c:
26305 (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
26306 Implement gst_pad_pause/start/stop_task(), take STREAM lock
26308 Remove ACTIVE pad flag, use FLUSHING everywhere
26309 Added _pad_chain(), _pad_get_range() to call chain/getrange
26311 Add locks around IS_FLUSHING when reading.
26312 Take STREAM lock in chain(), get_range() functions so plugins
26313 don't need to take it anymore.
26317 2005-05-25 Wim Taymans <wim@fluendo.com>
26319 * tools/gst-launch.c: (event_loop):
26320 Unref message after using its contents instead of
26323 2005-05-24 Wim Taymans <wim@fluendo.com>
26325 * docs/design/draft-ghostpads.txt:
26326 * docs/design/draft-push-pull.txt:
26327 * docs/design/draft-query.txt:
26328 * docs/design/part-overview.txt:
26329 Docs updates, added general overview doc.
26331 2005-05-21 David Schleef <ds@schleef.org>
26333 * docs/gst/tmpl/old/GstBin.sgml:
26334 * docs/gst/tmpl/old/GstBuffer.sgml:
26335 * docs/gst/tmpl/old/GstCaps.sgml:
26336 * docs/gst/tmpl/old/GstClock.sgml:
26337 * docs/gst/tmpl/old/GstCompat.sgml:
26338 * docs/gst/tmpl/old/GstData.sgml:
26339 * docs/gst/tmpl/old/GstElement.sgml:
26340 * docs/gst/tmpl/old/GstEvent.sgml:
26341 * docs/gst/tmpl/old/GstIndex.sgml:
26342 * docs/gst/tmpl/old/GstStructure.sgml:
26343 * docs/gst/tmpl/old/GstTag.sgml:
26344 * docs/gst/tmpl/old/cothreads.sgml:
26345 * docs/gst/tmpl/old/cothreads_compat.sgml:
26346 * docs/gst/tmpl/old/gettext.sgml:
26347 * docs/gst/tmpl/old/gobject2gtk.sgml:
26348 * docs/gst/tmpl/old/grammar.tab.sgml:
26349 * docs/gst/tmpl/old/gst-i18n-app.sgml:
26350 * docs/gst/tmpl/old/gst-i18n-lib.sgml:
26351 * docs/gst/tmpl/old/gst_private.sgml:
26352 * docs/gst/tmpl/old/gstaggregator.sgml:
26353 * docs/gst/tmpl/old/gstarch.sgml:
26354 * docs/gst/tmpl/old/gstatomic_impl.sgml:
26355 * docs/gst/tmpl/old/gstbufferstore.sgml:
26356 * docs/gst/tmpl/old/gstdata_private.sgml:
26357 * docs/gst/tmpl/old/gstdisksink.sgml:
26358 * docs/gst/tmpl/old/gstdisksrc.sgml:
26359 * docs/gst/tmpl/old/gstelementfactory.sgml:
26360 * docs/gst/tmpl/old/gstextratypes.sgml:
26361 * docs/gst/tmpl/old/gstfakesink.sgml:
26362 * docs/gst/tmpl/old/gstfakesrc.sgml:
26363 * docs/gst/tmpl/old/gstfdsink.sgml:
26364 * docs/gst/tmpl/old/gstfdsrc.sgml:
26365 * docs/gst/tmpl/old/gstfilesink.sgml:
26366 * docs/gst/tmpl/old/gstfilesrc.sgml:
26367 * docs/gst/tmpl/old/gsthttpsrc.sgml:
26368 * docs/gst/tmpl/old/gstidentity.sgml:
26369 * docs/gst/tmpl/old/gstindexfactory.sgml:
26370 * docs/gst/tmpl/old/gstmarshal.sgml:
26371 * docs/gst/tmpl/old/gstmd5sink.sgml:
26372 * docs/gst/tmpl/old/gstmultidisksrc.sgml:
26373 * docs/gst/tmpl/old/gstmultifilesrc.sgml:
26374 * docs/gst/tmpl/old/gstpadtemplate.sgml:
26375 * docs/gst/tmpl/old/gstpipefilter.sgml:
26376 * docs/gst/tmpl/old/gstschedulerfactory.sgml:
26377 * docs/gst/tmpl/old/gstsearchfuncs.sgml:
26378 * docs/gst/tmpl/old/gstshaper.sgml:
26379 * docs/gst/tmpl/old/gstspider.sgml:
26380 * docs/gst/tmpl/old/gstspideridentity.sgml:
26381 * docs/gst/tmpl/old/gststatistics.sgml:
26382 * docs/gst/tmpl/old/gsttee.sgml:
26383 * docs/gst/tmpl/old/gsttimecache.sgml:
26384 * docs/gst/tmpl/old/gsttypefindfactory.sgml:
26385 * docs/gst/tmpl/old/gstxmlregistry.sgml:
26386 * docs/gst/tmpl/old/gthread-cothreads.sgml:
26387 * docs/gst/tmpl/old/types.sgml:
26388 I didn't intend to add these or check them in.
26390 2005-05-19 David Schleef <ds@schleef.org>
26392 * configure.ac: Use -no-common everywhere. In a sane world, it
26393 would be the default in libtool, because without it, you can't
26394 build DLLs on Windows.
26395 * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
26396 * docs/gst/gstreamer-sections.txt:
26397 * docs/gst/tmpl/gstcpu.sgml:
26398 * docs/gst/tmpl/gstdata.sgml:
26399 * docs/gst/tmpl/gstthread.sgml:
26401 2005-05-19 David Schleef <ds@schleef.org>
26403 * gst/gstminiobject.c: (gst_value_set_mini_object),
26404 (gst_value_take_mini_object), (gst_value_get_mini_object):
26405 * gst/gstminiobject.h: Add GValue set/get functions.
26407 2005-05-19 Wim Taymans <wim@fluendo.com>
26409 * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
26410 (gst_subbuffer_class_init), (gst_subbuffer_finalize),
26411 (gst_subbuffer_init), (gst_buffer_is_span_fast):
26413 * gst/gstbus.c: (gst_bus_post):
26414 * gst/gstelement.c: (gst_element_get_random_pad):
26415 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
26416 Make subbufer unref the parent in finalize.
26417 some more debugging info.
26420 2005-05-19 Wim Taymans <wim@fluendo.com>
26422 * gst/base/gstbasesink.c: (gst_basesink_class_init),
26423 (gst_basesink_init), (gst_basesink_finalize),
26424 (gst_basesink_activate), (gst_basesink_change_state):
26425 Don't free preroll queue too early.
26427 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26431 Hi, I'm outdated. Please shoot me.
26433 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26435 * gst/gstpipeline.c: (gst_pipeline_send_event):
26436 Do not access variables after they have been deleted.
26438 2005-05-19 Wim Taymans <wim@fluendo.com>
26440 * tools/gst-inspect.c: (print_plugin_features):
26441 A plugin feature does unfortunatly not use the
26444 2005-05-18 Wim Taymans <wim@fluendo.com>
26446 * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
26447 Port _span() functions to new subbuffers.
26449 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26451 * gst/gstbin.c: (gst_bin_add_func):
26452 Fix clock settery in bins when adding kids after the clock has
26455 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26457 * gst/elements/gstidentity.c: (gst_identity_class_init):
26458 Workaround until signals support GstMiniObject.
26460 2005-05-18 Jan Schmidt <thaytan@mad.scientist.com>
26463 Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
26465 2005-05-18 Wim Taymans <wim@fluendo.com>
26467 * gst/base/Makefile.am:
26468 * gst/base/gstadapter.c: (gst_adapter_base_init),
26469 (gst_adapter_class_init), (gst_adapter_init),
26470 (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
26471 (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
26472 (gst_adapter_flush), (gst_adapter_available),
26473 (gst_adapter_available_fast):
26474 * gst/base/gstadapter.h:
26475 Ported and added adapter to the base classes.
26477 2005-05-17 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
26480 * gst/gstmessage.c:
26481 Make sure the class is reffed/unreffed once before threads can be
26482 used. Fixes #304551.
26484 2005-05-17 Wim Taymans <wim@fluendo.com>
26486 * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
26487 (gst_basesink_chain_unlocked), (gst_basesink_activate):
26488 * gst/gstminiobject.c: (gst_mini_object_get_type),
26489 (gst_mini_object_free):
26490 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
26491 (gst_pad_push), (gst_pad_push_event):
26492 * gst/gstqueue.c: (gst_queue_change_state):
26493 Don't queue buffers in basesink when we are flushing.
26494 Unref buffer when flushing in basesink.
26495 Flush queue when going to READY
26496 Unref buffer when _push() returns an error.
26497 Don't free MiniObject instance when refcount is incremented
26498 in _finalize() so that we can recover objects.
26500 2005-05-17 Thomas Vander Stichele <thomas at apestaart dot org>
26502 * docs/manual/advanced-schedulers.xml:
26503 * docs/manual/appendix-checklist.xml:
26504 * docs/pwg/advanced-clock.xml:
26505 * docs/pwg/advanced-interfaces.xml:
26506 * docs/pwg/advanced-request.xml:
26507 * docs/pwg/advanced-types.xml:
26508 * docs/pwg/intro-preface.xml:
26509 * examples/plugins/example.c: (gst_example_get_type),
26510 (gst_example_class_init), (gst_example_chain),
26511 (gst_example_set_property), (gst_example_get_property),
26512 (gst_example_change_state), (plugin_init):
26513 * examples/plugins/example.h:
26516 2005-05-17 Wim Taymans <wim@fluendo.com>
26518 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
26519 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
26520 * gst/gstqueue.c: (gst_queue_change_state):
26521 Clear queue when going to READY.
26522 Remove IN_SETCAPS flag too.
26524 2005-05-17 Tim-Philipp Müller <tim at centricular dot net>
26526 * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
26527 Remove implicit cast from gboolean to GstElementStateReturn;
26528 make sure we still return failure in paused => ready case if
26529 the parent class fails to change state and our own stop
26532 2005-05-17 Wim Taymans <wim@fluendo.com>
26534 * tools/gst-launch.c: (event_loop):
26535 Message was unreffed too soon.
26537 2005-05-16 Andy Wingo <wingo@pobox.com>
26539 * gst/gstbin.c (sink_iterator_filter): Err... um...
26541 * check/gst/gstbin.c (test_ghost_pads): New test for the
26542 ghosting-if-elements-not-in-same-bin behavior.
26544 2005-05-16 David Schleef <ds@schleef.org>
26546 * gst/gstminiobject.c: Use g_atomic_int_get() instead of
26547 accessing refcount directly.
26549 2005-05-15 David Schleef <ds@schleef.org>
26551 * check/Makefile.am: remove GstData checks
26552 * check/gst-libs/gdp.c: (START_TEST): fix for API changes
26553 * gst/Makefile.am: add miniobject, remove data
26554 * gst/gst.h: add miniobject, remove data
26555 * gst/gstdata.c: remove
26556 * gst/gstdata.h: remove
26557 * gst/gstdata_private.h: remove
26558 * gst/gsttypes.h: remove GstEvent and GstMessage
26559 * gst/gstelement.c: (gst_element_post_message): fix for API changes
26560 * gst/gstmarshal.list: change BOXED -> OBJECT
26562 Implement GstMiniObject.
26563 * gst/gstminiobject.c:
26564 * gst/gstminiobject.h:
26566 Modify to be subclasses of GstMiniObject.
26567 * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
26568 (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
26569 (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
26570 (gst_subbuffer_get_type), (gst_subbuffer_init),
26571 (gst_buffer_create_sub), (gst_buffer_is_span_fast),
26574 * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
26575 (gst_event_class_init), (gst_event_init), (gst_event_finalize),
26576 (_gst_event_copy), (gst_event_new):
26578 * gst/gstmessage.c: (_gst_message_initialize),
26579 (gst_message_get_type), (gst_message_class_init),
26580 (gst_message_init), (gst_message_finalize), (_gst_message_copy),
26581 (gst_message_new), (gst_message_new_error),
26582 (gst_message_new_warning), (gst_message_new_tag),
26583 (gst_message_new_state_changed), (gst_message_new_application):
26584 * gst/gstmessage.h:
26585 * gst/gstprobe.c: (gst_probe_perform),
26586 (gst_probe_dispatcher_dispatch):
26588 * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
26589 (gst_query_class_init), (gst_query_finalize), (gst_query_init),
26590 (_gst_query_copy), (gst_query_new):
26592 Update elements for GstData -> GstMiniObject changes
26594 * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
26595 (gst_queue_chain), (gst_queue_loop):
26596 * gst/elements/gstbufferstore.c:
26597 (gst_buffer_store_add_buffer_func),
26598 (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
26599 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
26600 (gst_fakesink_render):
26601 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
26602 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
26603 (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
26604 (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
26605 (gst_filesrc_create_read):
26606 * gst/elements/gstidentity.c: (gst_identity_class_init):
26607 * gst/elements/gsttypefindelement.c:
26608 (gst_type_find_element_src_event), (free_entry_buffers),
26609 (gst_type_find_element_handle_event):
26610 * libs/gst/dataprotocol/dataprotocol.c:
26611 (gst_dp_header_from_buffer):
26612 * libs/gst/dataprotocol/dataprotocol.h:
26613 * libs/gst/dataprotocol/dp-private.h:
26615 2005-05-15 David Schleef <ds@schleef.org>
26617 * gst/elements/gstelements.c: Don't include headers that were
26620 2005-05-15 David Schleef <ds@schleef.org>
26622 * gst/elements/Makefile.am: Remove some elements that don't
26623 need to be in the core (or even exist at all).
26624 * gst/elements/gstaggregator.c:
26625 * gst/elements/gstaggregator.h:
26626 * gst/elements/gstmd5sink.c:
26627 * gst/elements/gstmd5sink.h:
26628 * gst/elements/gstmultifilesrc.c:
26629 * gst/elements/gstmultifilesrc.h:
26630 * gst/elements/gstpipefilter.c:
26631 * gst/elements/gstpipefilter.h:
26632 * gst/elements/gstshaper.c:
26633 * gst/elements/gstshaper.h:
26634 * gst/elements/gststatistics.c:
26635 * gst/elements/gststatistics.h:
26636 * po/POTFILES.in: Remove above files.
26638 2005-05-14 Andy Wingo <wingo@pobox.com>
26640 * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
26641 so as to get the refs right.
26642 (sink_iterator_filter): New function, wraps bin_element_is_sink,
26643 unreffing objects that don't pass the filter.
26645 * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
26646 gst_element_set_bus.
26647 (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
26648 normal cases, this will destroy the bus.
26650 * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
26653 * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
26656 2005-05-13 Andy Wingo <wingo@pobox.com>
26658 * gst/gstutils.c (gst_element_link_pads): Instead of calling
26659 gst_pad_link, call pad_link_maybe_ghosting,
26660 (pad_link_maybe_ghosting): Links pads, making sure that the
26661 elements being linked are in the same bin.
26662 (find_common_root, object_has_ancestor, ghost_up, remove_pad):
26663 Helpers for pad_link_maybe_ghosting.
26665 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
26668 Require GLib >= 2.4.0 (for the g_atomic_* funcs)
26670 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
26672 * docs/design/part-element-source.txt:
26675 2005-05-12 Wim Taymans <wim@fluendo.com>
26677 * gst/base/gstbasesink.c: (gst_basesink_init),
26678 (gst_basesink_activate):
26679 * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
26680 (gst_basesrc_is_seekable):
26681 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
26682 (bin_element_is_sink), (gst_bin_change_state):
26683 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
26684 * gst/gstelement.h:
26685 Identify sinks by their flag to avoid overly complicated
26687 Do state changes even for elements not reachable from the
26689 BaseSink is a sink now :)
26690 Some more debugging info in the basesrc.
26693 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26695 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
26696 Implement _query on a bin, similar to _send_event.
26698 2005-05-12 Tim-Philipp Müller <tim at centricular dot net>
26700 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
26701 Discont event offset format should be GST_FORMAT_BYTES,
26702 not GST_FORMAT_TIME.
26704 2005-05-12 Wim Taymans <wim@fluendo.com>
26706 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
26707 Same fix as Ronald's but without the signal.
26709 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26711 * gst/gstutils.c: (gst_element_query_position):
26712 No, an element is not a pad.
26714 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26716 * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
26717 (gst_bin_get_state):
26718 If a child is removed from a bin while we remove the child from
26719 the bin and while we're retrieving its state, signal this to the
26720 get_state function so we abort the wait (instead of waiting for
26721 a timeout) and can immediately re-iterate over all other elements.
26723 2005-05-12 Wim Taymans <wim@fluendo.com>
26725 * gst/base/Makefile.am:
26726 * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
26727 (gst_basesrc_start):
26728 * gst/base/gstbasesrc.h:
26729 * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
26730 (gst_pushsrc_base_init), (gst_pushsrc_class_init),
26731 (gst_pushsrc_init), (gst_pushsrc_create):
26732 * gst/base/gstpushsrc.h:
26733 Added is_seekable to BaseSrc
26734 Added simple PushSrc.
26736 2005-05-11 Wim Taymans <wim@fluendo.com>
26738 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
26739 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
26740 (gst_element_link_pads), (gst_element_query_position),
26741 (gst_element_query_convert), (intersect_caps_func),
26742 (gst_pad_query_position), (gst_pad_query_convert):
26743 Fix refcounting in utils function.
26744 No point in trying to activate a pad when it's added, it could
26745 be added from the state change function and then we deadlock, the
26746 element has to decide what to do.
26748 2005-05-10 Andy Wingo <wingo@pobox.com>
26750 * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
26751 *all* the arguments.
26753 * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
26754 stream lock if it's a FLUSH_DONE; normal flushes don't get the
26755 lock (according to the docs -- if this is wrong change the docs).
26757 * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
26758 flush messages in the NULL state.
26760 * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
26761 message immediately and return.
26762 (gst_bus_set_flushing): New function. If a bus is flushing, it
26763 flushes out any queued messages and immediately unrefs new
26764 messages. This is so when an element goes to NULL, all of the
26765 unhandled messages coming from it can be freed, and their
26766 references to the element dropped. In other words: message source
26767 ref considered harmful :P
26769 * gst/gstbin.c (gst_bin_change_state): Unref peer element when
26770 we're finished with it.
26772 * gst/gstmessage.c (gst_message_new_state_changed):
26774 2005-05-10 Wim Taymans <wim@fluendo.com>
26776 * gst/gstvalue.c: (gst_value_compare_flags),
26777 (gst_value_serialize_flags), (gst_value_deserialize_flags),
26778 (_gst_value_initialize):
26779 Added flags serialize/deserialize/compare code.
26781 2005-05-09 Andy Wingo <wingo@pobox.com>
26783 * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
26784 Intersect the peer's caps with our caps.
26786 2005-05-09 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26788 * gst/base/gsttypefindhelper.c: (helper_find_peek):
26789 * gst/elements/gsttypefindelement.c: (find_peek):
26790 Handle negative offsets better. Fixes decodebin.
26792 2005-05-09 Wim Taymans <wim@fluendo.com>
26794 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
26795 (gst_base_transform_event):
26796 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
26797 Implement accept_caps.
26798 Fix silly lock/unlock mismatch in base class.
26800 2005-05-09 Wim Taymans <wim@fluendo.com>
26802 * docs/design/draft-push-pull.txt:
26803 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
26804 * gst/elements/gstfilesink.c: (gst_filesink_init),
26805 (gst_filesink_query):
26806 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
26807 (gst_type_find_handle_src_query), (find_element_get_length):
26808 * gst/gstelement.c: (gst_element_seek), (gst_element_query):
26809 * gst/gstelement.h:
26810 * gst/gstmessage.c:
26811 * gst/gstmessage.h:
26812 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
26813 (gst_real_pad_get_caps_unlocked),
26814 (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
26815 (gst_pad_event_default_dispatch), (gst_pad_event_default),
26816 (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
26817 (gst_real_pad_dispose), (gst_real_pad_finalize),
26818 (gst_pad_load_and_link), (gst_pad_save_thyself),
26819 (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
26820 (gst_pad_check_pull_range), (gst_pad_pull_range),
26821 (gst_pad_template_get_type), (gst_pad_template_class_init),
26822 (gst_pad_template_init), (gst_pad_template_dispose),
26823 (name_is_valid), (gst_static_pad_template_get),
26824 (gst_pad_template_new), (gst_static_pad_template_get_caps),
26825 (gst_pad_template_get_caps), (gst_pad_set_element_private),
26826 (gst_pad_get_element_private), (gst_pad_start_task),
26827 (gst_pad_pause_task), (gst_pad_stop_task),
26828 (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
26829 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
26830 (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
26831 (gst_ghost_pad_new):
26833 * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
26834 (gst_query_new_position), (gst_query_set_position),
26835 (gst_query_parse_position), (gst_query_new_convert),
26836 (gst_query_set_convert), (gst_query_parse_convert):
26838 * gst/gstqueryutils.c:
26839 * gst/gstqueryutils.h:
26840 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
26841 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
26842 (gst_queue_handle_src_query):
26843 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
26844 (gst_element_query_position), (gst_element_query_convert),
26845 (intersect_caps_func), (gst_pad_query_position),
26846 (gst_pad_query_convert):
26848 * tools/gst-inspect.c: (print_pad_info):
26849 * tools/gst-xmlinspect.c: (print_element_info):
26850 Remove old query functions. Ported old code.
26851 Added position/convert helper functions to gstutils.
26852 Reordered gstpad.c code, grouping relevant things.
26853 Remove gst_message_new(), always need to speficy a specific
26857 2005-05-09 Andy Wingo <wingo@pobox.com>
26859 * gst/gstiterator.h: Add some includes.
26861 * gst/gstqueryutils.h: Include more headers.
26864 * gst/gstpad.c (gst_pad_query_position): New routine, replaces
26865 some uses of gst_pad_query.
26867 * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
26868 NULL out parameters.
26869 (gst_query_new_position): New proc, allocates a new position
26872 * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
26873 gstqueryutils.c to the build.
26875 * gst/gststructure.c (gst_structure_set_valist): Implement with
26876 the generic G_VALUE_COLLECT.
26878 2005-05-08 Edward Hervey <bilboed@bilboed.com>
26880 * gst/Makefile.am: (gst_headers):
26881 Added gstqueryutils.h to the list of headers to install, that was
26882 a 'nachty' move wingo :)
26884 2005-05-06 Andy Wingo <wingo@pobox.com>
26887 * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
26888 GstData, init a memchunk.
26889 (standard_definitions): Add a few query types, deprecate a few.
26890 (gst_query_get_type): New proc.
26891 (_gst_query_copy, _gst_query_free, gst_query_new): GstData
26893 (gst_query_new_application, gst_query_get_structure): New public
26896 * docs/design/draft-query.txt: Removed LINKS from the query types,
26897 because all the rest can be dispatched to other pads -- seemed
26898 ugly to have a query that couldn't be dispatched. internal_links
26899 is fine as a pad method.
26901 * gst/gstpad.h: Add query2 as a pad method, add the new functions
26902 in gstpad.c, but maintain binary compatibility for the moment.
26903 Will fix before 0.9 is out.
26905 * gst/gstqueryutils.c:
26906 * gst/gstqueryutils.h: New files, implement 3 methods for each
26907 query type: parse_query, parse_response, and set. Probably need an
26910 * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
26912 * gst/elements/gstfilesink.c (gst_filesink_query2):
26913 * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
26914 query_types, and formats methods.
26916 * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
26917 (gst_pad_set_query2_function): New functions.
26918 (gst_real_pad_init): Set query2_default as the default query2
26919 function. Basically just dispatches to internally linked pads.
26923 * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
26924 without using the atomic operations. Only one thread can possibly
26925 be accessing the data at this point. Changed so as to avoid
26926 gst_atomic operations.
26928 2005-05-06 Wim Taymans <wim@fluendo.com>
26930 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
26931 Also set caps if we use the fallback buffer alloc.
26933 2005-05-06 Tim-Philipp Müller <tim at centricular dot net>
26935 * docs/gst/Makefile.am:
26936 * docs/gst/gstreamer-docs.sgml:
26937 * docs/gst/gstreamer-sections.txt:
26938 * docs/gst/tmpl/gstatomic.sgml:
26939 * docs/gst/tmpl/gstmemchunk.sgml:
26940 * testsuite/elements/struct_i386.h:
26941 * win32/GStreamer.vcproj:
26943 Purge GstAtomic stuff from docs and win32 makefiles as well
26945 2005-05-06 Wim Taymans <wim@fluendo.com>
26947 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
26948 * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
26949 * gst/gstpad.c: (gst_pad_peer_get_caps):
26950 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
26951 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
26952 (gst_queue_src_activate), (gst_queue_change_state):
26954 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
26955 (intersect_caps_func):
26956 Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
26957 Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
26958 Some fixes for the peer_get_caps() change.
26960 2005-05-06 Wim Taymans <wim@fluendo.com>
26962 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
26963 (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
26964 (gst_basesink_activate):
26965 Actually do something with error codes returned from the push
26968 2005-05-06 Wim Taymans <wim@fluendo.com>
26970 * docs/design/part-element-sink.txt:
26971 * docs/design/part-element-source.txt:
26972 * gst/base/gstbasesink.c: (gst_basesink_class_init),
26973 (gst_basesink_event), (gst_basesink_activate):
26974 * gst/base/gstbasesink.h:
26975 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
26976 (gst_basesrc_activate):
26977 * gst/base/gstbasesrc.h:
26978 * gst/gstelement.c: (gst_element_pads_activate):
26979 Some more documentation.
26980 Fixed scheduling decision in _pads_activate().
26982 2005-05-05 Andy Wingo <wingo@pobox.com>
26984 * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
26987 2005-05-05 Wim Taymans <wim@fluendo.com>
26989 * gst/base/Makefile.am:
26990 * gst/base/gstbasesink.h:
26991 * gst/base/gstbasesrc.c: (gst_basesrc_init),
26992 (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
26993 * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
26994 (gst_collectpads_class_init), (gst_collectpads_init),
26995 (gst_collectpads_finalize), (gst_collectpads_new),
26996 (gst_collectpads_set_function), (gst_collectpads_add_pad),
26997 (find_pad), (gst_collectpads_remove_pad),
26998 (gst_collectpads_is_active), (gst_collectpads_collect),
26999 (gst_collectpads_collect_range), (gst_collectpads_start),
27000 (gst_collectpads_stop), (gst_collectpads_peek),
27001 (gst_collectpads_pop), (gst_collectpads_available),
27002 (gst_collectpads_read), (gst_collectpads_flush),
27003 (gst_collectpads_chain):
27004 * gst/base/gstcollectpads.h:
27005 * gst/elements/Makefile.am:
27006 * gst/elements/gstelements.c:
27007 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
27008 (gst_fakesink_get_times), (gst_fakesink_event),
27009 (gst_fakesink_preroll), (gst_fakesink_render):
27010 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
27011 (gst_filesink_init), (gst_filesink_set_location),
27012 (gst_filesink_open_file), (gst_filesink_close_file),
27013 (gst_filesink_pad_query), (gst_filesink_event),
27014 (gst_filesink_render), (gst_filesink_change_state):
27015 * gst/elements/gstfilesink.h:
27016 Added object to help in making collect pad based elements.
27018 Make event function in sink baseclass return gboolean.
27020 2005-05-05 Wim Taymans <wim@fluendo.com>
27022 * gst/gstbin.c: (gst_bin_send_event), (compare_name),
27023 (gst_bin_get_by_name):
27025 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
27026 (gst_clock_finalize):
27027 * gst/gstdata.c: (gst_data_replace):
27029 * gst/gstelement.c: (gst_element_request_pad),
27030 (gst_element_pads_activate):
27031 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
27032 (gst_object_unref):
27033 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
27034 (gst_pad_set_checkgetrange_function),
27035 (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
27036 (gst_pad_check_pull_range), (gst_pad_pull_range),
27037 (gst_static_pad_template_get_caps), (gst_pad_start_task),
27038 (gst_pad_pause_task), (gst_pad_stop_task):
27039 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
27040 (gst_element_request_pad), (gst_pad_proxy_getcaps):
27041 Fix name lookup in GstBin.
27042 Added _data_replace() function and _buffer_replace()
27043 Use finalize method to clean up clock.
27044 Fix refcounting on request pads.
27045 Fix pad schedule mode error.
27046 Some more object refcounting debug info,
27049 2005-05-04 Andy Wingo <wingo@pobox.com>
27051 * check/Makefile.am:
27052 * docs/gst/tmpl/gstatomic.sgml:
27053 * docs/gst/tmpl/gstplugin.sgml:
27054 * gst/base/gstbasesink.c: (gst_basesink_activate):
27055 * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
27056 (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
27057 (gst_basesrc_query), (gst_basesrc_set_property),
27058 (gst_basesrc_get_property), (gst_basesrc_check_get_range),
27059 (gst_basesrc_activate):
27060 * gst/base/gstbasesrc.h:
27061 * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
27062 (gst_base_transform_src_activate):
27063 * gst/elements/gstelements.c:
27064 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
27065 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
27066 * gst/elements/gsttee.c: (gst_tee_sink_activate):
27067 * gst/elements/gsttypefindelement.c: (find_element_get_length),
27068 (gst_type_find_element_checkgetrange),
27069 (gst_type_find_element_activate):
27070 * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
27071 * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
27072 (gst_caps_load_thyself):
27073 * gst/gstelement.c: (gst_element_pads_activate),
27074 (gst_element_save_thyself), (gst_element_restore_thyself):
27075 * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
27076 (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
27078 * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
27079 (gst_xml_parse_file), (gst_xml_parse_memory),
27080 (gst_xml_get_element), (gst_xml_make_element):
27081 * gst/indexers/gstfileindex.c: (gst_file_index_load),
27082 (_file_index_id_save_xml), (gst_file_index_commit):
27083 * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
27084 (read_enum), (load_pad_template), (load_feature), (load_plugin),
27086 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
27087 (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
27088 * tools/gst-complete.c: (main):
27089 * tools/gst-compprep.c: (main):
27090 * tools/gst-inspect.c: (print_element_properties_info):
27091 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
27092 * tools/gst-xmlinspect.c: (print_element_properties):
27095 2005-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
27097 * gst/gstplugin.c: (gst_plugin_check_module),
27098 (gst_plugin_check_file), (gst_plugin_load_file):
27099 apply patch from #172526 to make register work on MacOSX
27101 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
27103 * docs/gst/tmpl/gstconfig.sgml:
27104 * gst/gstconfig.h.in:
27105 move documentation for some symbols. Add doc for GST_PTR_FORMAT
27106 * testsuite/debug/printf_extension.c: (main):
27107 Do not use GST_PTR_FORMAT on pointers to types with
27108 sizeof < sizeof(gpointer). Fixes test on 64-bit
27109 * testsuite/elements/property.h:
27110 use correct printf format
27112 2005-05-02 Wim Taymans <wim@fluendo.com>
27114 * docs/design/draft-push-pull.txt:
27115 * docs/design/draft-query.txt:
27116 * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
27117 (gst_basesrc_start):
27118 Added draft for new query API.
27119 Added draft for better selecting scheduling methods.
27120 Make basesrc ignore length if the subclass does not support
27123 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
27126 possible fixes for automake-1.5 - _LIBADD is reserved
27128 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
27130 * docs/faq/Makefile.am:
27131 * docs/manual/Makefile.am:
27132 * docs/manuals.mak:
27133 * docs/pwg/Makefile.am:
27135 possible fixes for automake-1.5
27137 2005-04-28 Wim Taymans <wim@fluendo.com>
27139 * gst/base/gstbasesink.c: (gst_basesink_base_init),
27140 (gst_basesink_pad_getcaps), (gst_basesink_init),
27141 (gst_basesink_do_sync):
27142 * gst/gstclock.c: (gst_clock_entry_new):
27143 * gst/gstevent.c: (gst_event_discont_get_value):
27144 * gst/gstpipeline.c: (pipeline_bus_handler),
27145 (gst_pipeline_change_state):
27146 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
27147 Better debugging of clocking info.
27148 Allow NULL values when getting discont values.
27150 2005-04-27 Wim Taymans <wim@fluendo.com>
27152 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
27153 * check/gst/gstpad.c: (gst_pad_suite):
27154 Increase timeout for checks.
27156 2005-04-27 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
27158 * check/Makefile.am:
27159 fix the broken rule for cleanup. Apparently this rule is
27160 only needed on FC2, so maybe this warrants further autotool
27163 2005-04-26 Wim Taymans <wim@fluendo.com>
27165 * gst/gsttrashstack.h:
27166 Ooohh. a nasty one! After having a failed pop() from the stack,
27167 it's possible that the stack is empty. In that case, don't
27168 follow the NULL pointer.
27170 2005-04-25 Wim Taymans <wim@fluendo.com>
27172 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
27173 (gst_pad_set_checkgetrange_function),
27174 (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
27175 (gst_pad_check_pull_range), (gst_pad_pull_range),
27176 (gst_static_pad_template_get_caps), (gst_pad_start_task),
27177 (gst_pad_pause_task), (gst_pad_stop_task):
27178 * gst/gstplugin.c: (gst_plugin_load):
27180 Remove gst_library_load as it does more harm than good with
27181 the new g_module flags.
27182 Revert bogus caps template check in pad linking, pad caps
27183 are important when linking not the template, which is more
27184 general than the current caps.
27186 2005-04-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27188 * gst/autoplug/.cvsignore:
27189 * gst/autoplug/Makefile.am:
27190 * gst/autoplug/gstsearchfuncs.c:
27191 * gst/autoplug/gstsearchfuncs.h:
27192 * gst/autoplug/gstspider.c:
27193 * gst/autoplug/gstspider.h:
27194 * gst/autoplug/gstspideridentity.c:
27195 * gst/autoplug/gstspideridentity.h:
27196 * gst/autoplug/spidertest.c:
27199 2005-04-25 Wim Taymans <wim@fluendo.com>
27201 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
27202 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
27203 (gst_pad_pull_range), (gst_static_pad_template_get_caps),
27204 (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
27206 Added stubs for unimplemented functions.
27208 2005-04-24 David Schleef <ds@schleef.org>
27210 * gst/gstpad.h: Disable some unimplemented functions. Wim,
27213 2005-04-24 David Schleef <ds@schleef.org>
27215 Convert everything from GstAtomicInt to g_atomic_int_*, and
27220 * gst/gstatomic_impl.h:
27228 * gst/gstdata_private.h:
27232 * gst/gstmessage.c:
27235 * gst/gststructure.c:
27236 * gst/gststructure.h:
27237 * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
27240 2005-04-24 David Schleef <ds@schleef.org>
27242 * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
27243 make the regressions tests work. Remove some code that is no
27245 * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
27246 Disable warning for pads without templates.
27248 2005-04-24 David Schleef <ds@schleef.org>
27250 * gst/gstpad.c: Remove handling of filtered caps. Fix/merge
27251 functions that handle filtered links.
27252 * gst/gstpad.h: Remove 'appfilter' field and prototypes of
27254 * gst/gstutils.c: Fix/remove utility functions that handle
27257 * gst/gstvalue.c: Add serialization/deserialization of caps
27258 * gst/parse/grammar.y: Ignore filtered caps when linking. This
27259 requires fixing so that the filter caps notation creates
27260 a capsfilter element and sets the filter_caps property. I
27261 think everyone probably wants to keep the shorthand notation.
27262 * docs/gst/tmpl/gstelement.sgml: updates for API changes.
27263 * docs/gst/tmpl/gstpad.sgml:
27265 * gst/elements/gstelements.c: Register capsfilter element.
27266 * gst/Makefile.am: fix spacing
27267 * docs/random/ds/0.9-suggested-changes: random
27269 2005-04-23 David Schleef <ds@schleef.org>
27271 * gst/elements/Makefile.am:
27272 * gst/elements/gstcapsfilter.c: New element that acts like an
27273 identity, but filters caps. Will eventually replace filtered
27274 caps in pad linking.
27275 * gst/gstutils.c: (gst_element_create_all_pads): New function
27276 to create all the ALWAYS pads that are registered with an
27277 element class. This functionality should eventually be
27278 merged in with GstElement initialization.
27280 * testsuite/trigger/README: part of trigger test code that should
27281 have been checked in a long time ago.
27283 2005-04-23 David Schleef <ds@schleef.org>
27285 * gst/Makefile.am: Remove as-libtool stuff. It's likely not
27286 needed with new versions of libtool (nobody will confirm this),
27287 and hard to carry around.
27288 * gst/autoplug/Makefile.am:
27289 * gst/base/Makefile.am:
27290 * gst/elements/Makefile.am:
27291 * gst/indexers/Makefile.am:
27292 * gst/schedulers/Makefile.am:
27293 * libs/gst/bytestream/Makefile.am:
27294 * libs/gst/control/Makefile.am:
27295 * libs/gst/dataprotocol/Makefile.am:
27296 * libs/gst/getbits/Makefile.am:
27298 2005-04-21 Wim Taymans <wim@fluendo.com>
27300 * docs/design/draft-push-pull.txt:
27301 * docs/design/part-MT-refcounting.txt:
27302 * docs/design/part-TODO.txt:
27303 * docs/design/part-caps.txt:
27304 * docs/design/part-events.txt:
27305 * docs/design/part-gstbus.txt:
27306 * docs/design/part-gstpipeline.txt:
27307 * docs/design/part-messages.txt:
27308 * docs/design/part-push-pull.txt:
27309 * docs/design/part-query.txt:
27312 2005-04-21 Wim Taymans <wim@fluendo.com>
27314 * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
27315 (gst_message_new), (gst_message_new_error),
27316 (gst_message_new_warning), (gst_message_new_tag),
27317 (gst_message_new_state_changed), (gst_message_new_application),
27318 (gst_message_get_structure):
27319 * gst/gstmessage.h:
27320 * gst/gststructure.c: (gst_structure_set_parent_refcount),
27321 (gst_structure_copy_conditional):
27322 Use parent refcount in GstMessage to ensure GstStructure
27324 Cleaned up headers a bit.
27327 2005-04-20 Wim Taymans <wim@fluendo.com>
27329 * gst/base/gstbasesink.c: (gst_basesink_base_init),
27330 (gst_basesink_pad_getcaps), (gst_basesink_init),
27331 (gst_basesink_chain_unlocked):
27332 * gst/base/gsttypefindhelper.c: (helper_find_suggest),
27333 (gst_type_find_helper):
27334 * gst/elements/gsttypefindelement.c:
27335 (gst_type_find_element_have_type), (gst_type_find_element_init),
27336 (stop_typefinding), (gst_type_find_element_handle_event),
27337 (find_suggest), (gst_type_find_element_chain),
27338 (gst_type_find_element_checkgetrange),
27339 (gst_type_find_element_getrange), (do_typefind),
27340 (gst_type_find_element_activate):
27341 * gst/gstbuffer.c: (_gst_buffer_sub_free),
27342 (gst_buffer_default_free), (gst_buffer_default_copy),
27343 (gst_buffer_set_caps):
27344 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
27345 (gst_caps_replace):
27346 * gst/gstmessage.c: (gst_message_new),
27347 (gst_message_new_state_changed):
27348 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
27349 (gst_pad_set_checkgetrange_function),
27350 (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
27351 (gst_pad_set_caps), (gst_pad_check_pull_range),
27352 (gst_pad_pull_range), (gst_static_pad_template_get_caps):
27354 * gst/gsttypefind.c: (gst_type_find_register):
27355 Make gst_caps_replace() work like other _replace() functions.
27356 Use _caps_replace() where possible.
27357 Make sure _message_new() initialises its field.
27358 Add gst_static_pad_template_get_caps()
27361 2005-04-18 Andy Wingo <wingo@pobox.com>
27363 * gst/gstelement.c (gst_element_pads_activate): Check pull_range
27364 on the peer, not the pad. I think that was a typo. Pass an extra
27365 arg to see if random access is possible. Activate the pads as
27366 PULL_RANGE if possible.
27368 * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
27370 * gst/base/gstbasesrc.c (gst_basesrc_set_property)
27371 (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
27374 2005-04-14 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27376 * docs/faq/using.xml:
27377 Add note on gstreamer-properties (#154996).
27379 2005-04-13 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27381 * docs/random/bbb/optional-properties:
27382 Some analysis on optional properties.
27384 2005-04-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27386 * docs/gst/tmpl/gstelementfactory.sgml:
27387 * gst/gstelement.h:
27388 * gst/gstelementfactory.c: (gst_element_factory_init),
27389 (gst_element_factory_cleanup), (gst_element_register),
27390 (__gst_element_factory_add_static_pad_template),
27391 (gst_element_factory_get_static_pad_templates),
27392 (gst_element_factory_can_src_caps),
27393 (gst_element_factory_can_sink_caps):
27394 * gst/registries/Makefile.am:
27395 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
27396 (gst_xml_registry_class_init), (gst_xml_registry_init),
27397 (gst_xml_registry_new), (gst_xml_registry_set_property),
27398 (gst_xml_registry_get_property), (get_time), (make_dir),
27399 (gst_xml_registry_get_perms_func),
27400 (plugin_times_older_than_recurse), (plugin_times_older_than),
27401 (gst_xml_registry_open_func), (gst_xml_registry_load_func),
27402 (gst_xml_registry_save_func), (gst_xml_registry_close_func),
27403 (add_to_char_array), (read_string), (read_uint), (read_enum),
27404 (load_pad_template), (load_feature), (load_plugin), (load_paths),
27405 (gst_xml_registry_load), (gst_xml_registry_load_plugin),
27406 (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
27407 (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
27408 (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
27409 (gst_xml_registry_rebuild):
27410 * gst/registries/gstlibxmlregistry.h:
27411 * tools/gst-compprep.c: (main):
27412 * tools/gst-inspect.c: (print_pad_templates_info):
27413 * tools/gst-xmlinspect.c: (print_element_info):
27414 Use libxml2 for registry parsing, use staticpadtemplates in
27415 elementfactories. Makes gst_init() +/- 10x faster.
27417 2005-04-12 Wim Taymans <wim@fluendo.com>
27419 * gst/base/Makefile.am:
27420 * gst/base/gstbasesink.c: (gst_basesink_base_init),
27421 (gst_basesink_pad_getcaps), (gst_basesink_init),
27422 (gst_basesink_event), (gst_basesink_change_state):
27423 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
27424 (gst_basesrc_init), (gst_basesrc_query),
27425 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
27426 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
27427 (gst_basesrc_check_get_range), (gst_basesrc_loop),
27428 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
27429 (gst_basesrc_stop), (gst_basesrc_activate),
27430 (gst_basesrc_change_state):
27431 * gst/base/gsttypefindhelper.c: (helper_find_peek),
27432 (helper_find_suggest), (gst_type_find_helper):
27433 * gst/base/gsttypefindhelper.h:
27434 * gst/elements/Makefile.am:
27435 * gst/elements/gstelements.c:
27436 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
27437 (gst_fakesink_get_times), (gst_fakesink_event),
27438 (gst_fakesink_preroll), (gst_fakesink_render):
27439 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
27440 (gst_fakesrc_init), (gst_fakesrc_event_handler),
27441 (gst_fakesrc_get_property), (gst_fakesrc_create),
27442 (gst_fakesrc_start), (gst_fakesrc_stop):
27443 * gst/elements/gstfakesrc.h:
27444 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
27445 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
27446 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
27447 (gst_filesrc_create_read), (gst_filesrc_create),
27448 (gst_filesrc_is_seekable), (gst_filesrc_get_size),
27449 (gst_filesrc_start):
27450 * gst/elements/gsttypefindelement.c:
27451 (gst_type_find_element_have_type), (gst_type_find_element_init),
27452 (start_typefinding), (stop_typefinding), (push_buffer_store),
27453 (gst_type_find_element_handle_event),
27454 (gst_type_find_element_chain),
27455 (gst_type_find_element_checkgetrange),
27456 (gst_type_find_element_getrange), (do_typefind),
27457 (gst_type_find_element_activate),
27458 (gst_type_find_element_change_state):
27459 * gst/elements/gsttypefindelement.h:
27460 * gst/gstpipeline.c: (pipeline_bus_handler):
27461 Added typefind helper.
27462 Small preroll fix in the base sink.
27463 Disable typefind code in basesrc.
27464 Crude port of typefindelement.
27468 2005-04-11 Wim Taymans <wim@fluendo.com>
27470 * check/gst/gstbus.c: (gstbus_suite):
27471 * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
27472 * check/gstcheck.h:
27473 Fix up the timeout so that the test does not fail.
27475 2005-04-06 Wim Taymans <wim@fluendo.com>
27478 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
27479 (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
27480 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
27481 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
27482 (gst_basesrc_check_get_range), (gst_basesrc_loop),
27483 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
27484 (gst_basesrc_stop), (gst_basesrc_activate),
27485 (gst_basesrc_change_state), (basesrc_find_peek),
27486 (basesrc_find_suggest), (gst_basesrc_type_find):
27487 * gst/base/gstbasesrc.h:
27488 * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
27489 (gst_filesrc_class_init), (gst_filesrc_init),
27490 (gst_filesrc_finalize), (gst_filesrc_set_location),
27491 (gst_filesrc_set_property), (gst_filesrc_get_property),
27492 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
27493 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
27494 (gst_filesrc_create_read), (gst_filesrc_create),
27495 (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
27496 * gst/elements/gstfilesrc.h:
27497 * gst/gstelement.c: (gst_element_get_state_func),
27498 (gst_element_lost_state), (gst_element_pads_activate):
27499 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
27500 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
27501 (gst_pad_pull_range):
27503 More work on the generic source base class, implement seeking,
27505 Make filesrc extend the base source class.
27506 Added gst_pad_set_checkgetrange_function to GstPad.
27508 2005-04-06 Andy Wingo <wingo@pobox.com>
27510 * pkgconfig/gstreamer-base.pc.in:
27511 * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
27513 * pkgconfig/Makefile.am:
27514 * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
27516 2005-04-04 Wim Taymans <wim@fluendo.com>
27518 * gst/base/Makefile.am:
27520 * gst/base/gstbasesink.c: (gst_basesink_base_init),
27521 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
27522 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
27523 (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
27524 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
27525 (gst_basesrc_base_init), (gst_basesrc_class_init),
27526 (gst_basesrc_init), (gst_basesrc_get_formats),
27527 (gst_basesrc_get_query_types), (gst_basesrc_query),
27528 (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
27529 (gst_basesrc_set_property), (gst_basesrc_get_property),
27530 (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
27531 (gst_basesrc_loop), (gst_basesrc_activate),
27532 (gst_basesrc_change_state):
27533 * gst/base/gstbasesrc.h:
27534 * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
27535 (gst_fakesrc_class_init), (gst_fakesrc_init),
27536 (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
27537 (gst_fakesrc_get_property), (gst_fakesrc_create):
27538 * gst/elements/gstfakesrc.h:
27539 * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
27540 (gst_filesrc_open_file), (gst_filesrc_loop),
27541 (gst_filesrc_activate), (filesrc_find_peek),
27542 (gst_filesrc_type_find):
27543 Made base source class, make fakesrc extend it.
27544 Add comments to basesink class.
27545 Some filesrc cleanup.
27547 2005-03-31 David Schleef <ds@schleef.org>
27549 * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
27550 Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
27551 expected to link against libgstreamer.
27552 * gst/base/Makefile.am: link against libgstreamer
27553 * gst/elements/Makefile.am: same
27555 2005-03-31 Andy Wingo <wingo@pobox.com>
27557 * tests/instantiate/Makefile.am:
27558 * tests/instantiate/caps.c: Add test to test speed of caps copy
27561 * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
27562 GMemChunk to be fair.
27564 * gst/gsttrashstack.h: Remove warning about using the fallback
27565 trash stack implementation, it's still faster than malloc.
27567 2005-03-30 Andy Wingo <wingo@pobox.com>
27569 * tests/complexity.c: Add a copyright.
27571 2005-03-31 Wim Taymans <wim@fluendo.com>
27573 * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
27574 (gst_base_transform_class_init), (gst_base_transform_init),
27575 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
27576 (gst_base_transform_get_property),
27577 (gst_base_transform_sink_activate),
27578 (gst_base_transform_src_activate),
27579 (gst_base_transform_change_state):
27580 * gst/base/gstbasetransform.h:
27581 * gst/elements/gstidentity.c: (gst_identity_class_init),
27582 (gst_identity_event), (gst_identity_check_perfect),
27583 (gst_identity_transform), (gst_identity_start),
27584 (gst_identity_stop):
27585 Added start/stop methods to transform base class so subclasses
27586 don't need to deal with state changes even.
27588 2005-03-31 Wim Taymans <wim@fluendo.com>
27590 * gst/gstevent.c: (gst_event_new_discontinuous_valist),
27591 (gst_event_new_discontinuous), (gst_event_discont_get_value):
27593 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
27594 (gst_pad_pull_range):
27595 Added rate to the discont event to prepare for variable speed
27596 and reverse playback.
27598 2005-03-29 David Schleef <ds@schleef.org>
27601 * testsuite/trigger/Makefile.am:
27602 * testsuite/trigger/trigger.c: A little example program to show
27603 how trigger-based elements can work.
27605 2005-03-29 Wim Taymans <wim@fluendo.com>
27607 * gst/base/Makefile.am:
27609 * gst/base/gstbasesink.c: (gst_basesink_get_type),
27610 (gst_basesink_base_init), (gst_basesink_class_init),
27611 (gst_basesink_pad_getcaps), (gst_basesink_init),
27612 (gst_basesink_activate), (gst_basesink_change_state):
27613 * gst/base/gstbasesink.h:
27614 * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
27615 (gst_base_transform_base_init), (gst_base_transform_finalize),
27616 (gst_base_transform_class_init), (gst_base_transform_init),
27617 (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
27618 (gst_base_transform_event), (gst_base_transform_getrange),
27619 (gst_base_transform_chain), (gst_base_transform_handle_buffer),
27620 (gst_base_transform_set_property),
27621 (gst_base_transform_get_property),
27622 (gst_base_transform_sink_activate),
27623 (gst_base_transform_src_activate),
27624 (gst_base_transform_change_state):
27625 * gst/base/gstbasetransform.h:
27626 * gst/elements/gstidentity.c: (gst_identity_finalize),
27627 (gst_identity_class_init), (gst_identity_init),
27628 (gst_identity_event), (gst_identity_check_perfect),
27629 (gst_identity_transform), (gst_identity_set_property),
27630 (gst_identity_get_property), (gst_identity_change_state):
27631 * gst/elements/gstidentity.h:
27632 * gst/gstelement.c: (gst_element_get_state_func),
27633 (gst_element_lost_state), (gst_element_pads_activate):
27634 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
27635 (gst_pad_check_pull_range), (gst_pad_pull_range):
27637 Simplify pad activation.
27638 Added function to check if pull_range can be performed.
27639 Error out when pulling inactive or flushing pads.
27640 Removed const from refcounted types as it does not make sense.
27641 Simplify pad templates in basesink
27642 Added base class for simple 1-to-1 transforms.
27643 Make identity subclass the base transform.
27645 2005-03-29 Andy Wingo <wingo@pobox.com>
27647 * docs/libs/gstreamer-libs-overrides.txt:
27648 * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
27649 really don't understand what's going on, but like whatever. I want
27652 * docs/gst/Makefile.am:
27653 * docs/libs/Makefile.am: Dist the overrides files.
27655 * check/Makefile.am (clean-local): Remove .libs directories.
27657 * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
27658 elements to EXTRA_DIST, so po/ files are happy.
27660 * po/POTFILES.in: Er, remove it here.
27662 * po/POTFILES: Remove gstspider.c.
27664 * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
27666 * docs/libs/gstreamer-libs-docs.sgml:
27667 * docs/libs/gstreamer-libs-sections.txt: Remove the section on
27670 * tests/complexity.c (main): Set the length of the preroll queue
27671 on the sinks to prevent a lockup.
27673 * libs/gst/dataprotocol/Makefile.am:
27674 * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
27675 the same as the one in check/gst-libs/gdp.c.
27677 * po/, docs/gst/: Commit automatic changes to docs and po files.
27679 * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
27680 the versioned libgstbase.
27682 * check/Makefile.am: Depend on an unversioned gst-register, seems
27683 to make autoconf happier.
27685 * gst/base/Makefile.am: Make libgstbase a versioned lib.
27687 2005-03-28 Wim Taymans <wim@fluendo.com>
27690 * docs/design/part-gstelement.txt:
27691 * docs/design/part-negotiation.txt:
27692 * docs/design/part-preroll.txt:
27693 * docs/design/part-scheduling.txt:
27694 * docs/design/part-states.txt:
27696 * gst/base/Makefile.am:
27698 * gst/base/gstbasesink.c: (gst_basesink_get_template),
27699 (gst_basesink_base_init), (gst_basesink_class_init),
27700 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
27701 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
27702 (gst_basesink_set_pad_functions),
27703 (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
27704 (gst_basesink_set_property), (gst_basesink_get_property),
27705 (gst_base_sink_get_template), (gst_base_sink_get_caps),
27706 (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
27707 (gst_basesink_preroll_queue_push),
27708 (gst_basesink_preroll_queue_empty),
27709 (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
27710 (gst_basesink_event), (gst_basesink_get_times),
27711 (gst_basesink_do_sync), (gst_basesink_handle_buffer),
27712 (gst_basesink_chain_unlocked), (gst_basesink_chain),
27713 (gst_basesink_loop), (gst_basesink_activate),
27714 (gst_basesink_change_state):
27715 * gst/base/gstbasesink.h:
27716 * gst/elements/Makefile.am:
27717 * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
27718 (gst_fakesink_class_init), (gst_fakesink_init),
27719 (gst_fakesink_set_property), (gst_fakesink_get_property),
27720 (gst_fakesink_get_times), (gst_fakesink_event),
27721 (gst_fakesink_preroll), (gst_fakesink_render),
27722 (gst_fakesink_change_state):
27723 * gst/elements/gstfakesink.h:
27724 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
27725 (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
27726 * gst/gstelement.c: (gst_element_add_pad),
27727 (gst_element_get_state_func), (gst_element_abort_state),
27728 (gst_element_commit_state), (gst_element_lost_state),
27729 (gst_element_set_state), (gst_element_pads_activate):
27730 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
27731 * gst/gstpipeline.c: (gst_pipeline_send_event),
27732 (gst_pipeline_change_state):
27733 Added state change code.
27734 Added/updated docs.
27735 Added sink base class, make fakesink extend the base class.
27736 Small cleanups in GstPipeline.
27738 2005-03-26 David Schleef <ds@schleef.org>
27740 * gst/Makefile.am: remove gstcpu.[ch]. The gst_cpu functionality
27741 is broken and should be implemented in a different library.
27742 * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
27743 * gst/gst.h: remove gstcpu.h
27744 * gst/gstcpu.c: remove
27745 * gst/gstcpu.h: remove
27746 * gst/Makefile.am.future: Remove this file. It's ancient.
27748 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27750 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
27751 (gst_bin_send_event):
27752 Add default event/set_manager handlers. The set_manager handler
27753 takes care that the manager is distributed over kids that were
27754 already in the bin before the manager was set. The event handler
27755 is a utility virtual function that sends the event over all sinks,
27756 so that gst_element_send_event (bin, event); has the expected
27758 * gst/gstpad.c: (gst_pad_event_default):
27759 Re-install default event handling for discontinuities, so that
27760 seeking works without requiring hacks in applications or extra
27762 * gst/gstpipeline.c: (gst_pipeline_class_init),
27763 (gst_pipeline_send_event):
27764 Half hack, half utility: set a pipeline to PAUSED for seek events,
27765 since that is the only way we can guarantee a/v sync. Means that
27766 you can do gst_element_seek (pipeline, method, pos); on a pipeline
27767 and it "just works".
27769 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27771 * gst/gstpipeline.c: (gst_pipeline_use_clock):
27772 Lock/unlock mismatch.
27774 2005-03-25 Thomas Vander Stichele <thomas at apestaart dot org>
27776 * docs/faq/gst-uninstalled:
27777 add gst-plugins-base
27778 * docs/gst/Makefile.am:
27779 don't error out until docs are fixed
27780 * docs/gst/gstreamer.types:
27783 2005-03-22 Wim Taymans <wim@fluendo.com>
27785 * check/Makefile.am:
27786 * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
27787 * gst/gststructure.c: (gst_structure_set_valist),
27788 (gst_structure_copy_conditional):
27789 Activated more tests.
27790 Added message test.
27791 Added G_TYPE_POINTER to GstStructure.
27794 2005-03-22 Wim Taymans <wim@fluendo.com>
27796 * docs/design/part-TODO.txt:
27797 * docs/design/part-events.txt:
27798 * docs/design/part-gstbin.txt:
27799 * docs/design/part-gstbus.txt:
27800 * docs/design/part-gstpipeline.txt:
27801 * docs/design/part-messages.txt:
27803 * gst/gstmessage.c:
27806 2005-03-21 Wim Taymans <wim@fluendo.com>
27808 * gst/gstbus.c: (gst_bus_post):
27809 Fix copy-and-paste error.
27811 2005-03-21 Wim Taymans <wim@fluendo.com>
27813 * check/Makefile.am:
27815 * gst/elements/Makefile.am:
27816 * gst/elements/gstelements.c:
27817 * gst/elements/gstfakesink.c: (gst_fakesink_init),
27818 (gst_fakesink_event), (gst_fakesink_chain):
27819 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
27820 (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
27821 (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
27822 (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
27823 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
27824 (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
27825 (gst_fakesrc_loop), (gst_fakesrc_activate),
27826 (gst_fakesrc_change_state):
27827 * gst/elements/gstfakesrc.h:
27828 * gst/elements/gstfilesrc.c: (gst_filesrc_init),
27829 (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
27830 (gst_filesrc_open_file), (gst_filesrc_loop),
27831 (gst_filesrc_activate), (gst_filesrc_change_state),
27832 (filesrc_find_peek), (filesrc_find_suggest),
27833 (gst_filesrc_type_find):
27834 * gst/elements/gstidentity.c: (gst_identity_finalize),
27835 (gst_identity_class_init), (gst_identity_init),
27836 (gst_identity_proxy_getcaps), (identity_queue_push),
27837 (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
27838 (gst_identity_getrange), (gst_identity_chain),
27839 (gst_identity_sink_loop), (gst_identity_src_loop),
27840 (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
27841 (gst_identity_set_property), (gst_identity_get_property),
27842 (gst_identity_change_state):
27843 * gst/elements/gstidentity.h:
27844 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
27845 (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
27846 (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
27847 (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
27848 (gst_tee_sink_activate):
27849 * gst/elements/gsttee.h:
27850 * gst/gst.c: (gst_register_core_elements), (init_post):
27852 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
27853 (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
27854 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
27855 (gst_bin_change_state):
27857 * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
27858 (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
27859 (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
27860 (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
27861 (gst_bus_set_sync_handler), (gst_bus_create_watch),
27862 (bus_watch_callback), (bus_watch_destroy),
27863 (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
27864 (poll_timeout), (gst_bus_poll):
27868 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
27869 (gst_element_post_message), (gst_element_message_full),
27870 (gst_element_get_state_func), (gst_element_get_state),
27871 (gst_element_abort_state), (gst_element_commit_state),
27872 (gst_element_lost_state), (gst_element_set_state),
27873 (gst_element_pads_activate), (gst_element_change_state),
27874 (gst_element_dispose), (gst_element_set_manager_func),
27875 (gst_element_set_bus_func), (gst_element_set_scheduler_func),
27876 (gst_element_set_manager), (gst_element_get_manager),
27877 (gst_element_set_bus), (gst_element_get_bus),
27878 (gst_element_set_scheduler), (gst_element_get_scheduler):
27879 * gst/gstelement.h:
27880 * gst/gstevent.c: (gst_event_new_segment_seek),
27881 (gst_event_new_flush):
27883 * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
27884 (_gst_message_free), (gst_message_get_type), (gst_message_new),
27885 (gst_message_new_eos), (gst_message_new_error),
27886 (gst_message_new_warning), (gst_message_new_tag),
27887 (gst_message_new_state_changed), (gst_message_new_application),
27888 (gst_message_get_structure), (gst_message_parse_tag),
27889 (gst_message_parse_state_changed), (gst_message_parse_error),
27890 (gst_message_parse_warning):
27891 * gst/gstmessage.h:
27892 * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
27893 (gst_real_pad_set_property), (gst_pad_set_active),
27894 (gst_pad_is_active), (gst_pad_set_blocked_async),
27895 (gst_pad_set_blocked), (gst_pad_is_blocked),
27896 (gst_pad_set_activate_function), (gst_pad_set_loop_function),
27897 (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
27898 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
27899 (gst_pad_unlink), (gst_pad_link_prepare_filtered),
27900 (gst_pad_link_filtered), (gst_pad_relink_filtered),
27901 (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
27902 (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
27903 (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
27904 (gst_pad_set_caps), (gst_pad_configure_sink),
27905 (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
27906 (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
27907 (gst_real_pad_dispose), (gst_real_pad_finalize),
27908 (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
27909 (gst_pad_event_default_dispatch), (gst_pad_event_default),
27910 (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
27912 * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
27913 (pipeline_bus_handler), (gst_pipeline_change_state),
27914 (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
27915 * gst/gstpipeline.h:
27917 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
27918 (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
27919 (gst_queue_link_src), (gst_queue_bufferalloc),
27920 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
27921 (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
27922 (gst_queue_loop), (gst_queue_handle_src_event),
27923 (gst_queue_handle_src_query), (gst_queue_src_activate),
27924 (gst_queue_change_state):
27926 * gst/gstscheduler.c: (gst_scheduler_init),
27927 (gst_scheduler_dispose), (gst_scheduler_create_task),
27928 (gst_scheduler_factory_create):
27929 * gst/gstscheduler.h:
27930 * gst/gststructure.c: (gst_structure_get_type),
27931 (gst_structure_copy_conditional):
27932 * gst/gststructure.h:
27933 * gst/gsttaginterface.h:
27934 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
27935 (gst_task_init), (gst_task_dispose), (gst_task_create),
27936 (gst_task_get_state), (gst_task_start), (gst_task_stop),
27942 * gst/schedulers/Makefile.am:
27943 * gst/schedulers/cothreads_compat.h:
27944 * gst/schedulers/entryscheduler.c:
27945 * gst/schedulers/faircothreads.c:
27946 * gst/schedulers/faircothreads.h:
27947 * gst/schedulers/fairscheduler.c:
27948 * gst/schedulers/gstbasicscheduler.c:
27949 * gst/schedulers/gstoptimalscheduler.c:
27950 * gst/schedulers/gthread-cothreads.h:
27951 * gst/schedulers/threadscheduler.c:
27952 (gst_thread_scheduler_task_get_type),
27953 (gst_thread_scheduler_task_class_init),
27954 (gst_thread_scheduler_task_init),
27955 (gst_thread_scheduler_task_start),
27956 (gst_thread_scheduler_task_stop),
27957 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
27958 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
27959 (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
27960 (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
27962 * libs/gst/Makefile.am:
27963 * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
27964 * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
27965 (gst_file_pad_parent_set):
27966 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
27967 (gst_dp_event_from_packet):
27968 * tests/complexity.c: (main):
27969 * tests/mass_elements.c: (main):
27970 * testsuite/states/locked.c: (message_received), (main):
27971 * testsuite/states/parent.c: (main):
27972 * tools/gst-inspect.c: (print_element_flag_info),
27973 (print_implementation_info), (print_pad_info):
27974 * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
27976 * tools/gst-md5sum.c: (event_loop), (main):
27977 * tools/gst-typefind.c: (main):
27978 * tools/gst-xmlinspect.c: (print_element_info):
27980 Added GstBus for mainloop integration.
27981 Added GstMessage for sending notifications on the bus.
27982 Added GstTask as an abstraction for pipeline entry points.
27984 Removed Schedulers.
27985 Simplified GstQueue for multithreaded core.
27986 Made _link threadsafe, removed old capsnego.
27987 Added STREAM_LOCK and PREROLL_LOCK in GstPad.
27988 Added pad blocking functions.
27989 Reworked scheduling functions in GstPad to prepare for
27990 scheduling updates soon.
27991 Moved events out of data stream.
27992 Simplified GstEvent types.
27993 Added return values to push/pull.
27994 Removed clocking from GstElement.
27995 Added prototypes for state change function for next merge.
27996 Removed iterate from bins and state change management.
27997 Fixed some elements, disabled others for now.
27998 Fixed -inspect and -launch.
27999 Added check for GstBus.
28001 2005-03-10 Wim Taymans <wim@fluendo.com>
28003 * docs/design/part-MT-refcounting.txt:
28004 * docs/design/part-clocks.txt:
28005 * docs/design/part-gstelement.txt:
28006 * docs/design/part-gstobject.txt:
28007 * docs/design/part-standards.txt:
28008 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
28009 (gst_bin_remove_func), (gst_bin_remove):
28013 * testsuite/clock/clock1.c: (main):
28014 * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
28016 * testsuite/dlopen/loadgst.c: (do_test):
28017 * testsuite/refcounting/bin.c: (add_remove_test1),
28018 (add_remove_test2), (main):
28019 * testsuite/refcounting/element.c: (main):
28020 * testsuite/refcounting/element_pad.c: (main):
28021 * testsuite/refcounting/pad.c: (main):
28022 * tools/gst-launch.c: (sigint_handler_sighandler):
28023 * tools/gst-typefind.c: (main):
28025 Added doc about clock.
28026 removed gst_bin_iterate_recurse_up(), marked methods
28028 Fix more testsuites.
28030 2005-03-09 Wim Taymans <wim@fluendo.com>
28032 * gst/gstpad.c: (gst_pad_get_direction),
28033 (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
28034 (gst_pad_collect_valist):
28035 * testsuite/bins/interface.c: (main):
28036 * testsuite/caps/audioscale.c: (test_caps):
28037 * testsuite/caps/caps.c: (test1), (test2), (test3):
28038 * testsuite/caps/deserialize.c: (main):
28039 * testsuite/caps/enumcaps.c: (main):
28040 * testsuite/caps/filtercaps.c: (main):
28041 * testsuite/caps/intersect2.c: (main):
28042 * testsuite/caps/random.c: (main):
28043 * testsuite/caps/renegotiate.c: (my_fixate), (main):
28044 * testsuite/caps/sets.c: (check_caps):
28045 * testsuite/caps/simplify.c: (check_caps), (main):
28046 * testsuite/caps/subtract.c: (check_caps):
28047 Fix _pad_get_direction wrt ghostpads.
28048 Fix caps testsuite.
28050 2005-03-09 Wim Taymans <wim@fluendo.com>
28052 * check/Makefile.am:
28053 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
28054 * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
28055 (ok_callback), (error_callback), (gst_systemclock_suite), (main):
28056 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
28057 (gst_bin_set_clock_func), (gst_bin_get_clock_func),
28058 (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
28059 (gst_bin_remove), (gst_bin_iterate_recurse_up),
28060 (bin_element_is_sink), (gst_bin_iterate_sinks),
28061 (gst_bin_iterate_all_by_interface):
28063 * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
28064 (gst_element_change_state), (gst_element_dispose),
28065 (gst_element_finalize), (gst_element_set_loop_function):
28066 * gst/gstelement.h:
28067 * gst/gstiterator.c: (find_custom_fold_func):
28068 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
28069 (gst_pad_collectv), (gst_pad_collect_valist),
28070 (gst_pad_template_new):
28071 * gst/gstpipeline.c: (gst_pipeline_class_init),
28072 (gst_pipeline_dispose), (gst_pipeline_set_property),
28073 (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
28074 (gst_pipeline_get_clock), (gst_pipeline_use_clock),
28075 (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
28077 * gst/schedulers/entryscheduler.c:
28078 * gst/schedulers/gstbasicscheduler.c:
28079 (gst_basic_scheduler_cothreaded_chain),
28080 (gst_basic_scheduler_chain_add_element):
28081 * testsuite/bins/interface.c: (main):
28083 Added GstSystemClock test.
28084 Implemented clock distribution code in GstBin.
28085 Implemented iterate sinks method for future use.
28086 Rearranged gstelement.h
28087 Fix GstIterator comparison bug.
28088 Moved some code to GstPipeline, mostly clocking related.
28090 2005-03-09 Wim Taymans <wim@fluendo.com>
28093 * gst/gst_private.h:
28094 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
28095 (gst_bin_remove_func), (gst_bin_remove),
28096 (gst_bin_get_by_name_recurse_up):
28097 * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
28098 (gst_clock_id_compare_func), (gst_clock_id_wait),
28099 (gst_clock_id_wait_async), (gst_clock_init),
28100 (gst_clock_adjust_unlocked), (gst_clock_get_time):
28101 * gst/gstelement.h:
28102 * gst/gstinfo.c: (_gst_debug_init):
28104 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
28105 (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
28107 Bump version number, we're now 0.9.0
28108 Add future debugging category.
28109 Fix NULL _unref() in _get_by_name_recurse_up
28110 Rearrange gstpad.h.
28113 2005-03-08 Wim Taymans <wim@fluendo.com>
28115 * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
28116 * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
28117 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
28118 * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
28119 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
28120 * gst/elements/gstfilesink.c: (gst_filesink_class_init):
28121 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
28122 * gst/elements/gstidentity.c: (gst_identity_class_init):
28123 * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
28124 * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
28125 * gst/elements/gstshaper.c: (gst_shaper_class_init):
28126 * gst/elements/gststatistics.c: (gst_statistics_class_init):
28127 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
28129 * gst/gstelement.c: (gst_element_class_init),
28130 (gst_element_base_class_init), (gst_element_init),
28131 (gst_element_get_random_pad), (gst_element_wait_state_change),
28132 (gst_element_change_state), (gst_element_dispose),
28133 (gst_element_finalize), (gst_element_set_loop_function):
28134 * gst/gstelement.h:
28135 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
28136 * gst/gstthread.c: (gst_thread_class_init),
28137 (gst_thread_release_children_locks), (gst_thread_change_state):
28138 * gst/schedulers/gstbasicscheduler.c:
28139 (gst_basic_scheduler_loopfunc_wrapper),
28140 (gst_basic_scheduler_chain_wrapper),
28141 (gst_basic_scheduler_src_wrapper),
28142 (gst_basic_scheduler_remove_element):
28143 * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
28144 Remove threadsafe properties. Fix elements because GObject
28145 complains when installing a property before declaring a
28146 set/get_property handler.
28147 Rearrange gstelement.h file, use STATE macros for state locks.
28148 Free mutexes in the finalize method instead of dispose.
28150 2005-03-08 Wim Taymans <wim@fluendo.com>
28152 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
28153 * gst/gstthread.c: (gst_thread_release_children_locks):
28154 Added parentage check.
28155 Fix build og GstThread again.
28157 2005-03-08 Wim Taymans <wim@fluendo.com>
28159 * docs/design/part-MT-refcounting.txt:
28160 * docs/design/part-conventions.txt:
28161 * docs/design/part-gstobject.txt:
28162 * docs/design/part-relations.txt:
28163 * docs/design/part-standards.txt:
28164 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
28165 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
28166 (gst_bin_get_by_name), (gst_bin_get_by_interface),
28167 (gst_bin_iterate_all_by_interface):
28170 * gst/gstelement.c: (gst_element_class_init),
28171 (gst_element_change_state), (gst_element_set_loop_function):
28172 * gst/gstelement.h:
28173 * gst/gstiterator.c:
28174 * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
28175 (gst_object_unref), (gst_object_sink), (gst_object_dispose),
28176 (gst_object_dispatch_properties_changed), (gst_object_set_name),
28177 (gst_object_set_parent), (gst_object_unparent),
28178 (gst_object_check_uniqueness):
28180 Docs updates, clean up some headers.
28182 2005-03-07 Wim Taymans <wim@fluendo.com>
28184 * check/.cvsignore:
28185 * check/Makefile.am:
28186 * check/gst-libs/.cvsignore:
28187 * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
28188 * check/gst/.cvsignore:
28189 * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
28190 (START_TEST), (gstbus_suite), (main):
28191 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
28192 * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
28193 (gst_data_suite), (main):
28194 * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
28195 (add_fold_func), (gstiterator_suite), (main):
28196 * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
28197 (thread_name_object), (thread_name_object_default),
28198 (gst_object_name_compare), (gst_object_suite), (main):
28199 * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
28200 (gst_pad_suite), (main):
28201 * check/gstcheck.c: (gst_check_log_message_func),
28202 (gst_check_log_critical_func), (gst_check_init):
28203 * check/gstcheck.h:
28204 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
28205 (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
28208 2005-03-07 Wim Taymans <wim@fluendo.com>
28210 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
28211 (gst_list_iterator_next), (gst_list_iterator_resync),
28212 (gst_list_iterator_free), (gst_iterator_new_list),
28213 (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
28214 (gst_iterator_free), (gst_iterator_push), (filter_next),
28215 (filter_resync), (filter_uninit), (filter_free),
28216 (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
28217 (gst_iterator_foreach), (find_custom_fold_func),
28218 (gst_iterator_find_custom):
28219 * gst/gstiterator.h:
28220 Added missing files.
28222 2005-03-07 Wim Taymans <wim@fluendo.com>
28226 * docs/design/part-MT-refcounting.txt:
28227 * docs/design/part-conventions.txt:
28228 * docs/design/part-gstobject.txt:
28229 * docs/design/part-relations.txt:
28230 * examples/mixer/mixer.c: (main):
28231 * examples/thread/thread.c: (eos), (main):
28233 * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
28234 * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
28235 (gst_spider_plug_from_srcpad):
28236 * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
28237 (gst_spider_identity_change_state),
28238 (gst_spider_identity_sink_loop_type_finding):
28239 * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
28240 * gst/elements/gstidentity.c: (gst_identity_init):
28241 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
28242 (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
28243 * gst/elements/gsttypefindelement.c: (free_entry):
28246 * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
28247 (gst_bin_set_clock_func), (gst_bin_auto_clock),
28248 (gst_bin_set_index), (gst_bin_set_element_sched),
28249 (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
28250 (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
28251 (gst_bin_iterate_elements), (iterate_child_recurse),
28252 (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
28253 (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
28254 (compare_interface), (gst_bin_get_by_interface),
28255 (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
28257 * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
28258 (gst_buffer_default_free), (gst_buffer_default_copy),
28259 (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
28260 (gst_buffer_create_sub):
28262 * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
28263 (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
28264 (gst_caps_unref), (gst_static_caps_get),
28265 (gst_caps_remove_and_get_structure), (gst_caps_append),
28266 (gst_caps_append_structure), (gst_caps_remove_structure),
28267 (gst_caps_copy_nth), (gst_caps_set_simple),
28268 (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
28269 (gst_structure_is_equal_foreach), (gst_caps_is_subset),
28270 (gst_caps_structure_intersect_field), (gst_caps_intersect),
28271 (gst_caps_structure_subtract_field), (gst_caps_subtract),
28272 (gst_caps_normalize_foreach), (gst_caps_compare_structures),
28273 (gst_caps_structure_figure_out_union),
28274 (gst_caps_switch_structures), (gst_caps_do_simplify),
28275 (gst_caps_replace), (gst_caps_from_string),
28276 (gst_caps_copy_conditional):
28278 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
28279 (_gst_clock_id_free), (gst_clock_id_unref),
28280 (gst_clock_id_compare_func), (gst_clock_id_wait),
28281 (gst_clock_id_wait_async), (gst_clock_class_init),
28282 (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
28283 (gst_clock_get_time), (gst_clock_set_time_adjust),
28284 (gst_clock_set_property), (gst_clock_get_property):
28287 * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
28288 * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
28290 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
28291 (gst_element_requires_clock), (gst_element_provides_clock),
28292 (gst_element_set_clock), (gst_element_clock_wait),
28293 (gst_element_wait), (gst_element_set_time_delay),
28294 (gst_element_is_indexable), (gst_element_add_pad),
28295 (gst_element_add_ghost_pad), (gst_element_remove_pad),
28296 (pad_compare_name), (gst_element_get_static_pad),
28297 (gst_element_request_pad), (gst_element_get_request_pad),
28298 (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
28299 (gst_element_class_get_pad_template_list),
28300 (gst_element_class_get_pad_template), (gst_element_error_func),
28301 (gst_element_get_random_pad), (gst_element_get_event_masks),
28302 (gst_element_send_event), (gst_element_seek),
28303 (gst_element_get_query_types), (gst_element_query),
28304 (gst_element_get_formats), (gst_element_convert),
28305 (gst_element_is_locked_state), (gst_element_set_locked_state),
28306 (gst_element_sync_state_with_parent), (gst_element_change_state),
28307 (gst_element_finalize), (gst_element_yield),
28308 (gst_element_interrupt), (gst_element_set_scheduler),
28309 (gst_element_get_scheduler), (gst_element_set_loop_function):
28310 * gst/gstelement.h:
28312 * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
28313 (gst_format_get_by_nick), (gst_format_get_details),
28314 (gst_format_iterate_definitions):
28316 * gst/gstindex.c: (gst_index_gtype_resolver):
28319 * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
28320 (gst_mem_chunk_free):
28321 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
28322 (gst_object_ref), (gst_object_unref), (gst_object_sink),
28323 (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
28324 (gst_object_dispatch_properties_changed),
28325 (gst_object_set_name_default), (gst_object_set_name),
28326 (gst_object_get_name), (gst_object_set_name_prefix),
28327 (gst_object_get_name_prefix), (gst_object_set_parent),
28328 (gst_object_get_parent), (gst_object_unparent),
28329 (gst_object_check_uniqueness), (gst_object_save_thyself),
28330 (gst_object_restore_thyself), (gst_object_real_restore_thyself),
28331 (gst_object_set_property), (gst_object_get_property),
28332 (gst_object_get_path_string):
28334 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
28335 (gst_real_pad_init), (gst_real_pad_get_property),
28336 (gst_pad_custom_new), (gst_pad_get_direction),
28337 (gst_pad_set_active), (gst_pad_is_active),
28338 (gst_pad_set_event_function), (gst_pad_is_linked),
28339 (gst_pad_link_free), (gst_pad_link_intersect),
28340 (gst_pad_link_fixate), (gst_pad_set_caps),
28341 (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
28342 (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
28343 (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
28344 (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
28345 (gst_pad_get_caps), (gst_pad_peer_get_caps),
28346 (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
28347 (gst_pad_realize), (gst_pad_get_allowed_caps),
28348 (gst_real_pad_dispose), (gst_real_pad_finalize),
28349 (gst_pad_collectv), (gst_pad_collect_valist),
28350 (gst_pad_template_dispose), (gst_pad_template_new),
28351 (gst_pad_get_internal_links):
28353 * gst/gstpipeline.c: (gst_pipeline_dispose),
28354 (gst_pipeline_change_state):
28355 * gst/gstpipeline.h:
28357 * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
28358 (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
28359 * gst/gstpluginfeature.h:
28360 * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
28361 * gst/gstquery.c: (_gst_query_type_initialize),
28362 (gst_query_type_register), (gst_query_type_get_by_nick),
28363 (gst_query_type_get_details), (gst_query_type_iterate_definitions):
28365 * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
28366 * gst/gstscheduler.c: (gst_scheduler_add_element),
28367 (gst_scheduler_factory_create):
28368 * gst/gststructure.c: (gst_structure_set_parent_refcount),
28369 (gst_structure_free), (gst_structure_set_name),
28370 (gst_structure_id_set_value), (gst_structure_set_value),
28371 (gst_structure_set_valist), (gst_structure_remove_field),
28372 (gst_structure_remove_fields),
28373 (gst_structure_remove_fields_valist),
28374 (gst_structure_remove_all_fields), (gst_structure_foreach),
28375 (gst_structure_map_in_place),
28376 (gst_caps_structure_fixate_field_nearest_int),
28377 (gst_caps_structure_fixate_field_nearest_double):
28378 * gst/gststructure.h:
28379 * gst/gstsystemclock.c: (gst_system_clock_class_init),
28380 (gst_system_clock_init), (gst_system_clock_dispose),
28381 (gst_system_clock_async_thread),
28382 (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
28383 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
28384 * gst/gstsystemclock.h:
28385 * gst/gsttag.c: (gst_tag_list_add_value_internal),
28386 (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
28387 * gst/gsttaginterface.c:
28388 * gst/gstthread.c: (gst_thread_dispose),
28389 (gst_thread_release_children_locks), (gst_thread_change_state),
28390 (gst_thread_main_loop):
28391 * gst/gsttrashstack.h:
28392 * gst/gsttypefind.c: (gst_type_find_factory_dispose):
28394 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
28395 (gst_element_request_pad), (gst_element_get_pad_from_template),
28396 (gst_element_request_compatible_pad),
28397 (gst_element_get_compatible_pad_filtered),
28398 (gst_element_get_compatible_pad), (gst_element_state_get_name),
28399 (gst_element_link_pads_filtered), (gst_element_link_filtered),
28400 (gst_element_link_many), (gst_element_link),
28401 (gst_element_link_pads), (gst_element_unlink_pads),
28402 (gst_element_unlink_many), (gst_element_unlink),
28403 (gst_pad_can_link_filtered), (gst_pad_can_link),
28404 (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
28405 (gst_object_default_error), (gst_bin_add_many),
28406 (gst_bin_remove_many), (gst_element_populate_std_props),
28407 (gst_element_class_install_std_props), (gst_buffer_merge),
28408 (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
28409 (link_fold_func), (gst_pad_proxy_setcaps):
28411 * gst/gstvalue.c: (gst_value_deserialize_string):
28412 * gst/parse/grammar.y:
28413 * gst/schedulers/gstbasicscheduler.c:
28414 (gst_basic_scheduler_cothreaded_chain),
28415 (gst_basic_scheduler_chain_recursive_add),
28416 (gst_basic_scheduler_pad_link):
28417 * gst/schedulers/gstoptimalscheduler.c:
28418 (get_group_schedule_function),
28419 (gst_opt_scheduler_state_transition),
28420 (gst_opt_scheduler_add_element), (element_get_reachables_func):
28421 * libs/gst/bytestream/bytestream.c:
28422 * libs/gst/dataprotocol/dataprotocol.c:
28423 (gst_dp_header_from_buffer):
28426 * tests/threadstate/threadstate2.c: (eos):
28427 * tools/gst-compprep.c: (main):
28428 * tools/gst-inspect.c: (print_field), (print_element_flag_info),
28429 (print_pad_info), (print_children_info):
28430 * tools/gst-launch.c: (idle_func), (main):
28431 * tools/gst-md5sum.c: (idle_func), (main):
28432 * tools/gst-xmlinspect.c: (print_element_info):
28433 First THREADED backport attempt, focusing on adding locks and
28434 making sure the API is threadsafe. Needs more work. More docs
28437 2005-02-24 Andy Wingo <wingo@pobox.com>
28439 * tests/bench-complexity.scm:
28440 * tests/complexity.gnuplot: New files, good for running complexity
28443 * tests/Makefile.am:
28444 * tests/complexity.c: New test, sets up N elements, at each level
28445 teeing into M streams per element. Eeeenteresting.
28447 * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
28448 benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
28449 running bench-mass_elements.scm.
28451 * tests/bench-mass_elements.scm: New script, runs mass_elements
28452 for various numbers of identities, outputting the results to a
28453 file. Requires guile 1.6. Just for testing.
28455 2005-02-23 Thomas Vander Stichele <thomas at apestaart dot org>
28457 * gst/schedulers/fairscheduler.c:
28458 compile with debug disabled
28460 2005-02-22 Thomas Vander Stichele <thomas at apestaart dot org>
28463 hunting season on 0.9 is now OPEN