1 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
3 * docs/design/part-buffering.txt:
6 * gst/gstquery.c: (gst_query_parse_latency),
7 (gst_query_new_buffering), (gst_query_set_buffering_percent),
8 (gst_query_parse_buffering_percent):
10 Add busy field and quark for the buffering query so that the app can
11 only use the query to see if buffering is in progress.
13 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
15 * docs/gst/gstreamer-sections.txt:
16 * gst/gstmessage.c: (gst_message_set_buffering_stats),
17 (gst_message_parse_buffering_stats):
19 * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
20 (gst_query_parse_latency), (gst_query_new_buffering),
21 (gst_query_set_buffering_percent),
22 (gst_query_parse_buffering_percent),
23 (gst_query_set_buffering_stats), (gst_query_parse_buffering_stats),
24 (gst_query_set_buffering_avail), (gst_query_parse_buffering_avail):
26 Reorder the message docs and headers for clarity.
27 Add aditional buffering stats API for messages.
29 Convert some leftover queries to use GstQuark.
30 API: gst_message_set_buffering_stats
31 API: gst_message_parse_buffering_stats
32 API: GST_QUERY_BUFFERING
34 API: gst_query_new_buffering
35 API: gst_query_set_buffering_percent
36 API: gst_query_parse_buffering_percent
37 API: gst_query_set_buffering_stats
38 API: gst_query_parse_buffering_stats
39 API: gst_query_set_buffering_avail
40 API: gst_query_parse_buffering_avail
42 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
44 * gst/gstmessage.c: (gst_message_new_error),
45 (gst_message_new_warning), (gst_message_new_info),
46 (gst_message_new_buffering), (gst_message_new_state_changed),
47 (gst_message_new_clock_provide), (gst_message_new_clock_lost),
48 (gst_message_new_new_clock), (gst_message_new_segment_start),
49 (gst_message_new_segment_done), (gst_message_new_duration),
50 (gst_message_new_async_start), (gst_message_parse_buffering),
51 (gst_message_parse_state_changed),
52 (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
53 (gst_message_parse_new_clock), (gst_message_parse_error),
54 (gst_message_parse_warning), (gst_message_parse_info),
55 (gst_message_parse_segment_start),
56 (gst_message_parse_segment_done), (gst_message_parse_duration),
57 (gst_message_parse_async_start):
58 Use GstQuark for messages.
60 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
62 * gst/gstquark.c: (_priv_gst_quarks_initialize):
64 Add some more quarks needed for messages and queries.
66 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
68 * docs/design/part-buffering.txt:
69 Remove the "none" buffering mode, STREAM is a good default.
70 Move estimated-time to the avail query, that's when it will be needed.
71 Other small typo fixes and updates.
73 2008-04-07 Tim-Philipp Müller <tim at centricular dot net>
75 * gst/gstindex.c: (gst_index_resolver_get_type):
76 Don't put descriptions into the nick field of a GEnumValue: it's not
77 meant for that and some language bindings rely on the nick field to
78 construct constants and the like. Fixes #526705.
80 2008-04-07 Tim-Philipp Müller <tim at centricular dot net>
85 Merge other changes from 0.10.19 release branch.
87 2008-04-06 Sebastian Dröge <slomo@circular-chaos.org>
89 Patch by: Damien Lespiau <damien dot lespiau at gmail dot com>
92 Actually build dlls when cross-compiling with mingw32.
95 2008-04-05 Sebastian Dröge <slomo@circular-chaos.org>
97 Patch by: Damien Lespiau <damien dot lespiau at gmail dot com>
100 Fix compilation of GstPoll with mingw32. Fixes bug #526236.
102 2008-04-04 Wim Taymans <wim.taymans@collabora.co.uk>
104 * docs/design/draft-latency.txt:
107 * docs/design/part-buffering.txt:
108 Update design docs with more buffering ideas.
110 2008-04-03 Tim-Philipp Müller <tim at centricular dot net>
113 Bump version to 0.10.19.1 after the unscheduled 0.10.19 release.
115 2008-04-03 Stefan Kost <ensonic@users.sf.net>
118 Revert part that belongs to the preset patch.
120 2008-04-03 Stefan Kost <ensonic@users.sf.net>
123 Add qoutes to the define. Fixes # 525961.
125 2008-04-03 Sebastian Dröge <slomo@circular-chaos.org>
127 * plugins/indexers/gstfileindex.c: (_file_index_id_free),
128 (gst_file_index_load), (gst_file_index_add_id),
129 (gst_file_index_get_assoc_entry):
130 * plugins/indexers/gstmemindex.c: (gst_mem_index_free_format),
131 (gst_mem_index_free_id), (gst_mem_index_add_id),
132 (gst_mem_index_index_format):
133 Use GSlice when possible.
135 2008-04-02 Sebastian Dröge <slomo@circular-chaos.org>
137 * libs/gst/controller/gstinterpolationcontrolsource.c:
138 (gst_control_point_free),
139 (gst_interpolation_control_source_set_internal):
140 Use GSlice for allocating the control points.
142 2008-04-02 Wim Taymans <wim.taymans@collabora.co.uk>
144 * plugins/elements/gsttypefindelement.c:
145 (gst_type_find_element_class_init),
146 (gst_type_find_element_set_property),
147 (gst_type_find_element_get_property),
148 (gst_type_find_element_activate):
149 * plugins/elements/gsttypefindelement.h:
151 Fix pad leak when peer query fails.
152 We can still typefind when the peer returns -1.
153 Add property to force caps and bypass typefinding. This will be used in
157 2008-04-01 Sebastian Dröge <slomo@circular-chaos.org>
162 * gst/glib-compat-private.h:
163 * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free):
164 * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
165 Unconditionally use GSlice for allocation.
167 * gst/gstpoll.c: (gst_poll_new), (gst_poll_free):
168 * gst/gstsegment.c: (gst_segment_new), (gst_segment_free):
169 * gst/gststructure.c: (gst_structure_id_empty_new_with_size),
170 (gst_structure_free):
171 Use GSlice for allocation.
173 2008-04-01 Sebastian Dröge <slomo@circular-chaos.org>
175 * gst/parse/Makefile.am:
176 * gst/parse/grammar.tab.pre.c:
177 * gst/parse/grammar.tab.pre.h:
178 * gst/parse/lex._gst_parse_yy.pre.c:
179 Require a new enough flex and bison and remove the parser hacks to use
180 a pre-regenerated version.
182 2008-04-01 Julien Moutte <julien@fluendo.com>
184 patch by: Jason Zhao <E3423C@motorola.com>
186 * configure.ac: Add a configure switch to disable option parsing
190 2008-03-31 Stefan Kost <ensonic@users.sf.net>
194 MacOS has plugins under .so or under .dylib. Add detection for MacOS
195 and handle this case.
198 Add a comment here describing, why we stat each plugin and not try to
201 2008-03-31 Sebastian Dröge <slomo@circular-chaos.org>
203 * libs/gst/base/gstbasetransform.c:
204 (gst_base_transform_prepare_output_buffer):
205 Also unset the GAP flag on buffers if we're working inplace but
206 the element is not GAP-aware.
208 Mark a comment as FIXME 0.11.
210 2008-03-31 Stefan Kost <ensonic@users.sf.net>
213 Fix type in log message and add one to ease seeing how long registry
214 cache verification takes.
217 Only test plugin filenames against G_MODULE_SUFFIX.
219 2008-03-31 Stefan Kost <ensonic@users.sf.net>
221 * gst/gstdebugutils.c:
222 Improve handling ghost/proxy pads.
224 2008-03-27 Stefan Kost <ensonic@users.sf.net>
226 * docs/gst/gstreamer-sections.txt:
229 Expose macro to docs and fix link to it.
231 2008-03-27 Michael Smith <msmith@fluendo.com>
233 * libs/gst/dataprotocol/dataprotocol.c:
234 (gst_dp_packet_from_event_1_0):
235 When calculating GDP body CRC, use the correct pointer.
236 Fixes part of #522401.
238 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
240 Patch by: Mark Nauwelaerts <manauw at skynet be>
242 * plugins/elements/gstidentity.c: (gst_identity_class_init),
243 (gst_identity_init), (gst_identity_prepare_output_buffer):
244 Identity is not always a passthrough element, it can modify the buffer
245 timestamps when it has a datarate and operates in single-segment mode.
246 We therefore make it an in_place filter with a custom buffer prepare
247 function that conditionally makes the input buffer metadata writable
248 when needed. Fixes #523985.
250 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
252 Patch by: Mark Nauwelaerts <manauw at skynet be>
255 * libs/gst/base/gstbasesrc.h:
256 * libs/gst/base/gstbasetransform.c:
257 * libs/gst/check/gstcheck.c:
258 Small documentation fixes. Fixes #523978.
260 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
262 * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
263 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
264 Also retry our poll_wait when we get EAGAIN. Fixes #524041.
266 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
268 * plugins/elements/gstmultiqueue.c: (single_queue_overrun_cb),
269 (single_queue_underrun_cb):
270 When trying to make room in the queue, bump the max allowed buffers
271 bigger than the current amount of buffers in the queue. this fixes some
272 nasty deadlocks in multiqueue when dynamically changing the limits of
275 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
277 Patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
279 * gst/gstcaps.c: (gst_caps_set_simple),
280 (gst_caps_set_simple_valist), (gst_caps_intersect):
282 Constify the field gchar * params in set_simple and friends.
285 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
287 * gst/gstvalue.c: (gst_value_transform_object_string):
288 Transform a GstObject to a more meaningfull string that includes the
289 object type in addition to its name.
291 2008-03-23 Stefan Kost <ensonic@users.sf.net>
294 ChangeLog surgery to add bugnumber to commit.
296 2008-03-23 Rene Stadler <mail@renestadler.de>
298 * libs/gst/base/gstbasetransform.c:
299 (gst_base_transform_set_gap_aware): Fix confusing documentation.
301 2008-03-23 Sebastian Dröge <slomo@circular-chaos.org>
303 * gst/gstregistrybinary.c: (gst_registry_binary_write):
304 Rename constant everywhere and don't forget one occurence.
306 2008-03-23 Sebastian Dröge <slomo@circular-chaos.org>
308 * gst/gstregistrybinary.c: (gst_registry_binary_write):
309 Align memory to the pointer size even if the architecture allows
310 unaligned memory access. Unaligned memory access usually comes with
311 performance penality.
313 2008-03-23 Sebastian Dröge <slomo@circular-chaos.org>
315 * gst/gstregistrybinary.c: (gst_registry_binary_write),
316 (gst_registry_binary_check_magic),
317 (gst_registry_binary_load_pad_template),
318 (gst_registry_binary_load_feature),
319 (gst_registry_binary_load_plugin):
320 Align memory to the pointer size instead of always 32 bit. Fixes
321 unaligned memory accesses on ia64 and friends.
323 * gst/gstregistrybinary.h:
324 Bump binary registry format version for this as it changes the
325 format on those architectures that don't have unaligned access
328 2008-03-22 Sebastian Dröge <slomo@circular-chaos.org>
330 * docs/pwg/advanced-dparams.xml:
331 * docs/pwg/building-props.xml:
332 * docs/pwg/other-source.xml:
334 * gst/gstbin.c: (gst_bin_class_init):
335 * gst/gstclock.c: (gst_clock_class_init):
336 * gst/gstindex.c: (gst_index_class_init):
337 * gst/gstobject.c: (gst_object_class_init):
338 * gst/gstpad.c: (gst_pad_class_init):
339 * gst/gstpipeline.c: (gst_pipeline_class_init):
340 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
341 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
342 * libs/gst/base/gstbasetransform.c:
343 (gst_base_transform_class_init):
344 * libs/gst/base/gstdataqueue.c: (gst_data_queue_class_init):
345 * libs/gst/check/gstcheck.c: (_gst_check_fault_handler_restore),
346 (_gst_check_fault_handler_sighandler),
347 (_gst_check_fault_handler_setup), (gst_check_init):
348 * libs/gst/controller/gstcontroller.c:
349 (_gst_controller_class_init):
350 * libs/gst/controller/gstlfocontrolsource.c:
351 (gst_lfo_control_source_class_init):
352 * libs/gst/net/gstnetclientclock.c:
353 (gst_net_client_clock_class_init):
354 * libs/gst/net/gstnettimeprovider.c:
355 (gst_net_time_provider_class_init):
356 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
357 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
358 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
359 * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
360 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
361 * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
362 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
363 * plugins/elements/gstidentity.c: (gst_identity_class_init):
364 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_class_init):
365 * plugins/elements/gstqueue.c: (gst_queue_class_init):
366 * plugins/elements/gsttee.c: (gst_tee_class_init):
367 * plugins/elements/gsttypefindelement.c:
368 (gst_type_find_element_class_init):
369 * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
370 Define G_PARAM_STATIC_STRINGS if it's undefined (GLib < 2.13.0) and
371 use it everywhere for GParamSpecs that use static strings (i.e. all).
372 This gives us less memory usage, fewer allocations and thus less
373 memory defragmentation. Fixes bug #523806.
375 2008-03-22 Sebastian Dröge <slomo@circular-chaos.org>
377 * gst/gstminiobject.c: (gst_value_dup_mini_object),
378 (gst_param_spec_mini_object):
379 * gst/gstminiobject.h:
380 * win32/common/libgstreamer.def:
381 * docs/gst/gstreamer-sections.txt:
382 API: Add GST_IS_PARAM_SPEC_MINI_OBJECT, GST_PARAM_SPEC_MINI_OBJECT
383 GST_TYPE_PARAM_MINI_OBJECT and gst_value_dup_mini_object. Also move
384 GstParamSpecMiniObject into a public header for this.
386 This make GstMiniObject a bit more consistent with GObject and makes
387 it possible to extend the param specs.
389 gst_value_dup_mini_object is mainly useful for set_property methods.
393 * tools/gst-inspect.c: (print_element_properties_info):
394 Print something useful for GstMiniObject properties and not just
397 2008-03-21 Sebastian Dröge <slomo@circular-chaos.org>
399 * docs/gst/gstreamer-sections.txt:
400 * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic),
401 (gst_registry_binary_check_magic):
402 * gst/gstregistrybinary.h:
403 Call the version GST_MAGIC_BINARY_VERSION_STR to be more consistent
404 and add it to the (private part) of the docs to fix the build.
406 2008-03-21 Sebastian Dröge <slomo@circular-chaos.org>
408 * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic),
409 (gst_registry_binary_check_magic),
410 (gst_registry_binary_read_cache):
411 * gst/gstregistrybinary.h:
412 Don't use GST_MAJORMINOR for the binary registry version. Instead
413 hardcode a value that must be changed whenever the format changes
414 in an incompatible way.
415 Also don't GST_ERROR when there is a version mismatch, just
416 regenerate the registry silently.
418 2008-03-21 Jan Schmidt <jan.schmidt@sun.com>
421 Back to development - 0.10.18.1
423 === release 0.10.18 ===
425 2008-03-20 Jan Schmidt <jan.schmidt@sun.com>
428 releasing 0.10.18, "So far away"
430 2008-03-18 Jan Schmidt <jan.schmidt@sun.com>
433 * win32/common/config.h:
434 0.10.17.4 pre-release
436 2008-03-18 Wim Taymans <wim.taymans@collabora.co.uk>
438 Patch by: Ole André Vadla Ravnås
439 <ole dot andre dot ravnas at tandberg dot com>
441 * docs/gst/gstreamer-sections.txt:
442 * gst/gstpoll.c: (gst_poll_winsock_error_to_errno),
443 (gst_poll_update_winsock_event_mask),
444 (gst_poll_prepare_winsock_active_sets),
445 (gst_poll_collect_winsock_events), (gst_poll_new), (gst_poll_free),
446 (gst_poll_add_fd_unlocked), (gst_poll_fd_ctl_write),
447 (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_ignored),
448 (gst_poll_fd_has_error), (gst_poll_fd_can_read_unlocked),
449 (gst_poll_check_ctrl_commands), (gst_poll_wait):
451 * win32/common/libgstreamer.def:
452 Add new function gst_poll_fd_ignored() for improved Windows
454 Various minor fixes and cleanups. See #520808.
456 2008-03-17 Tim-Philipp Müller <tim at centricular dot net>
458 * gst/gstindex.c: (gst_index_entry_free):
460 Don't free key strings which we don't own. Fixes crash in
461 gst_index_entry_free() (#522741).
463 * tests/check/Makefile.am:
464 * tests/check/gst/.cvsignore:
465 * tests/check/gst/gstindex.c: (test_index_entries),
466 (gst_index_suite), (gst_index):
467 Add unit test for the above.
469 2008-03-11 Sebastian Dröge <slomo@circular-chaos.org>
471 * win32/common/libgstreamer.def:
472 Remove symbols that were removed recently. Fixes bug #521740.
474 2008-03-11 Jan Schmidt <jan.schmidt@sun.com>
477 * win32/common/config.h:
478 0.10.17.3 pre-release
480 2008-03-07 Wim Taymans <wim.taymans@collabora.co.uk>
482 Patch by: Ole André Vadla Ravnås
483 <ole dot andre dot ravnas at tandberg dot com>
485 * docs/gst/gstreamer-sections.txt:
486 * gst/gstpoll.c: (find_index), (gst_poll_free_winsock_event),
487 (gst_poll_update_winsock_event_mask), (gst_poll_new),
488 (gst_poll_free), (gst_poll_fd_init), (gst_poll_add_fd_unlocked),
489 (gst_poll_remove_fd), (gst_poll_fd_ctl_write),
490 (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_has_closed),
491 (gst_poll_fd_has_error), (gst_poll_fd_can_read_unlocked),
492 (gst_poll_fd_can_write), (gst_poll_wait),
493 (gst_poll_set_controllable), (gst_poll_restart),
494 (gst_poll_set_flushing):
496 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_new):
497 * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_start),
498 (gst_net_time_provider_new):
499 * plugins/elements/gstfdsink.c: (gst_fd_sink_start):
500 * plugins/elements/gstfdsrc.c: (gst_fd_src_start):
501 * tests/benchmarks/gstpollstress.c: (main):
502 * tests/check/gst/gstpoll.c: (GST_START_TEST), (gst_poll_suite):
503 Remove GstPollMode from the API, it does not make sense to let the
504 application control this.
505 Add support for Win32.
506 Fix the testsuite. Fixes #520671.
508 2008-03-07 Sebastian Dröge <slomo@circular-chaos.org>
510 Patch by: Ole André Vadla Ravnås
511 <ole dot andre dot ravnas at tandberg dot com>
513 * gst/gstregistrybinary.c:
514 Include io.h for write() and close() when building with MSVC. Fixes
517 2008-03-07 Stefan Kost <ensonic@users.sf.net>
521 * gst/gstconfig.h.in:
523 * gst/gstregistrybinary.c:
524 * win32/common/gstconfig.h:
525 Move registry backend API to private headers where we can. Add
526 fixme-0.11 comments for the others. Add stubs for the xml backend when
527 using the binary to ensure they functions exists (they should not be
528 used though). Fixes #520756.
530 2008-03-04 Jan Schmidt <jan.schmidt@sun.com>
533 * win32/common/config.h:
536 2008-03-03 Edward Hervey <edward.hervey@collabora.co.uk>
538 * gst/gstregistrybinary.c: (gst_registry_binary_write),
539 (gst_registry_binary_read_cache):
540 * gst/gstregistryxml.c: (gst_registry_save):
541 * gst/gsturi.c: (unescape_string), (gst_uri_has_protocol):
542 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file):
543 * plugins/elements/gstfilesrc.c: (gst_file_src_map_region),
544 (gst_file_src_map_small_region), (gst_file_src_create_mmap):
545 Switch to using portabl gsize/gssize instead of size_t/ssize_t
548 2008-03-03 Edward Hervey <edward.hervey@collabora.co.uk>
550 * gst/gstminiobject.c:
551 Import gst_private.h before any other header that might include other
552 glib headers. This fixes the build on windows using native compilers.
554 2008-03-03 Tim-Philipp Müller <tim at centricular dot net>
556 * win32/common/gstconfig.h:
557 Add here too, just for completeness.
559 2008-03-03 Tim-Philipp Müller <tim at centricular dot net>
562 * gst/gstconfig.h.in:
564 Fix broken use of config.h-defined preprocessor directive in a public
565 header file. Add a corresponding define to gstconfig.h, since we can't
566 really remove those function declarations from the header file now
567 (or can we? and why are they there in the first place?).
569 2008-03-03 Andy Wingo <wingo@pobox.com>
571 * tests/check/gst/gststructure.c (GST_START_TEST): Add a check for
574 * gst/gststructure.c (gst_structure_from_string): Warn if
575 structure_from_string didn't consume the whole string, but the
576 caller did not provide an end pointer.
578 2008-03-01 Tim-Philipp Müller <tim at centricular dot net>
580 Patch by: Fabrizio Gennari <fabrizio.ge at tiscali it>
582 * gst/gstregistryxml.c: (read_string), (load_feature):
583 Strings allocated by libxml2 should be freed with xmlFree(), not
584 with g_free(). Fixes issues on windows in certain contexts (#519698).
586 2008-02-29 Tim-Philipp Müller <tim at centricular dot net>
588 * gst/gstinterface.c: (gst_element_implements_interface):
589 Don't crash if the element supports the interface queried, but does
590 not implement GstImplementsInterface. Fixes #519584.
592 * tests/check/Makefile.am:
593 * tests/check/gst/.cvsignore:
594 * tests/check/gst/gstinterface.c:
595 Add unit test for the above.
597 2008-02-29 Wim Taymans <wim.taymans@collabora.co.uk>
599 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
602 2008-02-29 Wim Taymans <wim.taymans@collabora.co.uk>
604 * gst/gstsegment.c: (gst_segment_set_seek),
605 (gst_segment_to_stream_time):
606 Improve some comment.
607 Update variables where it makes more sense.
609 2008-02-29 Rene Stadler <mail@renestadler.de>
611 * gst/gsturi.c: (gst_uri_handler_get_protocols):
612 Use the get_protocols_full vfunc if get_protocols is NULL. Fixes
613 URIHandlers implemented using language bindings.
615 2008-02-29 Sebastian Dröge <slomo@circular-chaos.org>
617 * gst/gstelementfactory.h:
618 * tests/check/elements/fakesink.c:
619 * tests/check/elements/fakesrc.c: (setup_fakesrc):
620 * tests/check/elements/fdsrc.c: (setup_fdsrc):
621 * tests/check/elements/filesink.c: (setup_filesink):
622 * tests/check/elements/filesrc.c: (setup_filesrc):
623 * tests/check/elements/identity.c: (setup_identity):
624 * tests/check/elements/tee.c:
625 * tests/check/generic/sinks.c:
626 * tests/check/generic/states.c: (setup), (teardown):
627 * tests/check/gst/gst.c:
628 * tests/check/gst/gstabi.c:
629 * tests/check/gst/gstbin.c:
630 * tests/check/gst/gstbus.c: (pull_messages):
631 * tests/check/gst/gstcaps.c:
632 * tests/check/gst/gstelement.c:
633 * tests/check/gst/gstevent.c:
634 * tests/check/gst/gstghostpad.c:
635 * tests/check/gst/gstiterator.c:
636 * tests/check/gst/gstmessage.c:
637 * tests/check/gst/gstminiobject.c: (my_foo_init):
638 * tests/check/gst/gstobject.c: (thread_name_object),
640 * tests/check/gst/gstpad.c:
641 * tests/check/gst/gstplugin.c:
642 * tests/check/gst/gstpoll.c:
643 * tests/check/gst/gstquery.c:
644 * tests/check/gst/gstsegment.c:
645 * tests/check/gst/gststructure.c:
646 * tests/check/gst/gstsystemclock.c:
647 * tests/check/gst/gsttask.c:
648 * tests/check/gst/gstutils.c:
649 * tests/check/gst/gstvalue.c:
650 * tests/check/gst/struct_hppa.h:
651 * tests/check/gst/struct_i386.h:
652 * tests/check/gst/struct_ppc32.h:
653 * tests/check/gst/struct_ppc64.h:
654 * tests/check/gst/struct_x86_64.h:
655 * tests/check/libs/adapter.c: (create_and_fill_adapter):
656 * tests/check/libs/basesrc.c:
657 * tests/check/libs/controller.c: (GST_START_TEST):
658 * tests/check/libs/gdp.c:
659 * tests/check/libs/gstnetclientclock.c:
660 * tests/check/libs/gstnettimeprovider.c:
661 * tests/check/libs/libsabi.c:
662 * tests/check/libs/struct_hppa.h:
663 * tests/check/libs/struct_i386.h:
664 * tests/check/libs/struct_ppc32.h:
665 * tests/check/libs/struct_ppc64.h:
666 * tests/check/libs/struct_x86_64.h:
667 * tests/check/pipelines/cleanup.c:
668 * tests/check/pipelines/simple-launch-lines.c:
669 * tests/check/pipelines/stress.c:
670 And correct even more valid sparse warnings.
672 * win32/common/libgstreamer.def:
673 Add gst_poll_fd_init to the list of symbols.
675 2008-02-29 Sebastian Dröge <slomo@circular-chaos.org>
677 * gst/gstconfig.h.in:
678 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_read_buffer):
679 * libs/gst/check/gstcheck.c: (gst_check_log_message_func),
680 (gst_check_log_critical_func), (gst_check_drop_buffers),
681 (gst_check_element_push_buffer_list):
682 * libs/gst/controller/gstcontroller.c: (gst_controller_get),
683 (gst_controller_get_type):
684 * libs/gst/controller/gsthelper.c: (gst_object_control_properties),
685 (gst_object_get_controller), (gst_object_get_control_source):
686 * libs/gst/controller/gstinterpolationcontrolsource.c:
687 (gst_interpolation_control_source_new):
688 * libs/gst/controller/gstlfocontrolsource.c:
689 (gst_lfo_control_source_new):
690 * libs/gst/dataprotocol/dataprotocol.c:
691 (gst_dp_event_from_packet_0_2):
692 * plugins/elements/gstfdsrc.c:
693 * plugins/elements/gstmultiqueue.c:
694 * plugins/elements/gsttee.c:
695 * plugins/elements/gsttypefindelement.c:
696 * plugins/indexers/gstfileindex.c: (_file_index_id_save_xml),
697 (gst_file_index_add_association):
698 * plugins/indexers/gstmemindex.c:
699 * tests/benchmarks/gstpollstress.c: (mess_some_more):
700 * tests/check/elements/queue.c: (setup_queue):
701 * tests/check/gst/gstpipeline.c:
702 * tests/check/libs/collectpads.c: (setup), (teardown),
703 (gst_collect_pads_suite):
704 * tests/examples/adapter/adapter_test.c:
705 * tests/examples/metadata/read-metadata.c: (make_pipeline):
706 * tests/examples/xml/createxml.c:
707 * tests/examples/xml/runxml.c:
708 * tools/gst-inspect.c:
710 Correct all relevant warnings found by the sparse semantic code
711 analyzer. This include marking several symbols static, using
712 NULL instead of 0 for pointers, not using variable sized arrays
713 on the stack, moving variable declarations to the beginning of
714 a block and using "foo (void)" instead of "foo ()" for declarations.
716 2008-02-29 Sebastian Dröge <slomo@circular-chaos.org>
718 * plugins/elements/gstfdsink.c: (gst_fd_sink_update_fd):
719 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
720 Don't reset GstPollFDs, this is not necessary at all.
722 * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
723 (delayed_restart), (delayed_control):
724 Use GST_POLL_FD_INIT.
726 2008-02-29 Wim Taymans <wim.taymans@collabora.co.uk>
728 * gst/gstpoll.c: (gst_poll_fd_init):
732 * plugins/elements/gstfdsink.c: (gst_fd_sink_update_fd):
733 Use some more init macros.
735 2008-02-29 Wim Taymans <wim.taymans@collabora.co.uk>
737 * plugins/elements/gstfdsink.c: (gst_fd_sink_start):
738 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
739 Use init macros and functions.
741 2008-02-29 Wim Taymans <wim.taymans@collabora.co.uk>
743 * docs/gst/gstreamer-sections.txt:
744 * gst/gstpoll.c: (gst_poll_fd_init):
746 Add INIT macro and _init method for initializing the GstPollFD.
748 2008-02-28 Sebastian Dröge <slomo@circular-chaos.org>
750 * plugins/elements/gstfdsink.c: (gst_fd_sink_start),
751 (gst_fd_sink_update_fd):
752 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
753 * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
754 (delayed_restart), (delayed_control):
755 Initialize some uninitialized variables as spotted by valgrind.
757 2008-02-28 Wim Taymans <wim.taymans@collabora.co.uk>
759 * tests/benchmarks/Makefile.am:
760 * tests/benchmarks/gstpollstress.c: (mess_some_more), (run_test),
762 Add poll stress test.
764 2008-02-28 Wim Taymans <wim.taymans@collabora.co.uk>
766 Patch by: Peter Kjellerstedt <pkj at axis dot com>
768 * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
769 (gst_fd_sink_start), (gst_fd_sink_stop), (gst_fd_sink_unlock),
770 (gst_fd_sink_unlock_stop), (gst_fd_sink_update_fd):
771 * plugins/elements/gstfdsink.h:
772 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
773 (gst_fd_src_start), (gst_fd_src_stop), (gst_fd_src_unlock),
774 (gst_fd_src_unlock_stop), (gst_fd_src_create),
775 (gst_fd_src_uri_set_uri):
776 * plugins/elements/gstfdsrc.h:
777 Port to GstPoll. See #505417.
779 2008-02-27 Jan Schmidt <jan.schmidt@sun.com>
781 * win32/common/libgstreamer.def:
782 Add new gst_poll_ symbols to win32 defs.
784 2008-02-27 Wim Taymans <wim.taymans@collabora.co.uk>
786 * docs/libs/gstreamer-libs-sections.txt:
787 * libs/gst/net/gstnetclientclock.c:
788 (gst_net_client_clock_class_init), (gst_net_client_clock_init),
789 (gst_net_client_clock_finalize), (gst_net_client_clock_do_select),
790 (gst_net_client_clock_thread), (gst_net_client_clock_start),
791 (gst_net_client_clock_stop), (gst_net_client_clock_new):
792 * libs/gst/net/gstnetclientclock.h:
793 * libs/gst/net/gstnettimeprovider.c:
794 (gst_net_time_provider_class_init), (gst_net_time_provider_init),
795 (gst_net_time_provider_finalize), (gst_net_time_provider_thread),
796 (gst_net_time_provider_start), (gst_net_time_provider_stop),
797 (gst_net_time_provider_new):
798 * libs/gst/net/gstnettimeprovider.h:
799 Use a private stuct to not break ABI.
801 2008-02-27 Wim Taymans <wim.taymans@collabora.co.uk>
803 Patch by: Peter Kjellerstedt <pkj at axis dot com>
805 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_init),
806 (gst_net_client_clock_finalize), (gst_net_client_clock_do_select),
807 (gst_net_client_clock_thread), (gst_net_client_clock_start),
808 (gst_net_client_clock_stop), (gst_net_client_clock_new):
809 * libs/gst/net/gstnetclientclock.h:
810 * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_init),
811 (gst_net_time_provider_finalize), (gst_net_time_provider_thread),
812 (gst_net_time_provider_start), (gst_net_time_provider_stop),
813 (gst_net_time_provider_new):
814 * libs/gst/net/gstnettimeprovider.h:
815 Massive code removal and cleanups because of GstPoll.
818 2008-02-27 Wim Taymans <wim.taymans@collabora.co.uk>
821 Add checks for poll, ppoll and pselect.
823 * docs/gst/gstreamer-docs.sgml:
824 * docs/gst/gstreamer-sections.txt:
825 Add docs for GstPoll.
829 * gst/gstpoll.c: (find_index), (selectable_fds),
830 (pollable_timeout), (choose_mode), (pollfd_to_fd_set),
831 (fd_set_to_pollfd), (gst_poll_new), (gst_poll_free),
832 (gst_poll_set_mode), (gst_poll_get_mode),
833 (gst_poll_add_fd_unlocked), (gst_poll_add_fd),
834 (gst_poll_remove_fd), (gst_poll_fd_ctl_write),
835 (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_ctl_read),
836 (gst_poll_fd_has_closed), (gst_poll_fd_has_error),
837 (gst_poll_fd_can_read_unlocked), (gst_poll_fd_can_read),
838 (gst_poll_fd_can_write), (gst_poll_wait),
839 (gst_poll_set_controllable), (gst_poll_restart),
840 (gst_poll_set_flushing):
842 Add generic poll abstraction. We ideally don't want to have this in core
843 here but in glib intead...
844 This code will be used in various network elements and ultimately for
845 the nanosecond precision monotonic clock (that's why it's here in core).
846 It'll allow us to implement cancelable socket operations for windows too.
848 * tests/check/Makefile.am:
849 * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
850 (delayed_stop), (delayed_restart), (delayed_flush),
851 (delayed_control), (gst_poll_suite):
852 Add GstPoll unit test.
854 2008-02-25 Tim-Philipp Müller <tim at centricular dot net>
857 Improve documentation of gst_filter_run(). Fixes #518627.
859 2008-02-23 Tim-Philipp Müller <tim at centricular dot net>
862 Add a few lines about the new 'check-inspected-versions' target.
864 2008-02-21 Stefan Kost <ensonic@users.sf.net>
866 * tests/check/gst/gstevent.c:
867 Add qos to the event test. Rename tcase/tsuite; is not only about
870 2008-02-21 Stefan Kost <ensonic@users.sf.net>
872 * plugins/elements/gstqueue.c:
873 Ensure that buffer metadata is writeable, before modifying. Spotted by
876 2008-02-20 Stefan Kost <ensonic@users.sf.net>
878 * plugins/elements/gstqueue.c:
879 * plugins/elements/gstqueue.h:
880 When dropping buffers in leaky modes, mark next buffers we sent as
883 2008-02-20 Tim-Philipp Müller <tim at centricular dot net>
885 * plugins/elements/gstfilesrc.c: (gst_file_src_map_region):
886 Also, if mmap() fails that would be a READ error, not OPEN_READ.
888 2008-02-20 Tim-Philipp Müller <tim at centricular dot net>
890 * plugins/elements/Makefile.am:
891 * plugins/elements/gstbufferstore.c:
892 * plugins/elements/gstbufferstore.h:
893 * plugins/elements/gsttypefindelement.h:
894 Remove GstBufferStore, no idea why we were still building it.
895 It's not used anywhere and superseded by GstAdapter.
897 * plugins/elements/gstfilesrc.c: (gst_file_src_map_region),
898 (gst_file_src_create_mmap):
899 * plugins/indexers/gstfileindex.c: (gst_file_index_add_association):
900 Printf format fixes for 64-bit integers.
902 2008-02-19 Sebastian Dröge <slomo@circular-chaos.org>
905 Don't set GST_CACHE_DIR and allow to set it by a configure parameter.
906 We're not in 0.8 times anymore.
908 2008-02-19 Jan Schmidt <Jan.Schmidt@sun.com>
910 * libs/gst/check/gstcheck.c: (gst_check_drop_buffers),
911 (gst_check_element_push_buffer_list):
912 * libs/gst/check/gstcheck.h:
913 Make the declaration in the header for
914 gst_check_element_push_buffer_list match the implementation.
916 Fix up spelling, grammar and wording of the documentation in a few
917 places, and add the Since keyword to new API functions.
918 Use g_list_delete_link instead of g_list_remove in
919 gst_check_drop_buffers, since it's immeasurably more efficient.
921 * tests/check/elements/fakesrc.c: (GST_START_TEST):
922 Use new gst_check_drop_buffers function where appropriate.
924 * win32/common/libgstbase.def:
925 * win32/common/libgstreamer.def:
926 Add new symbols gst_collect_pads_take_buffer,
927 gst_collect_pads_read_buffer, gst_index_set_resolver_full to the
930 Changelog surgery to add API keyword to new gst_check API.
932 2008-02-19 Sebastian Dröge <slomo@circular-chaos.org>
934 * gst/parse/lex._gst_parse_yy.pre.c: (yy_get_next_buffer),
935 (_gst_parse_yyensure_buffer_stack), (_gst_parse_yylex_init_extra):
936 Update pre-generated flex files with flex 2.3.34.
938 2008-02-19 Sebastian Dröge <slomo@circular-chaos.org>
940 * gst/gstminiobject.c:
941 Add FIXME for 0.11 to make GstMiniObjectClass::copy() a bit more
942 friendly to subclasses and not require them to know all internals
943 of their parent class.
945 2008-02-15 Stefan Kost <ensonic@users.sf.net>
947 * docs/libs/gstreamer-libs-sections.txt:
948 * libs/gst/base/gstcollectpads.c:
949 * libs/gst/base/gstcollectpads.h:
950 Add sub-buffer functions to collectpads. Fixes #516187.
951 API: gst_collect_pads_take_buffer(), gst_collect_pads_read_buffer()
953 2008-02-15 Stefan Kost <ensonic@users.sf.net>
956 Copy selected buffer-flags when creating subbuffers.
959 2008-02-12 Sebastian Dröge <slomo@circular-chaos.org>
961 * gst/gstbuffer.c: (gst_buffer_class_init), (gst_buffer_finalize):
962 * gst/gstevent.c: (gst_event_class_init), (gst_event_finalize):
963 * gst/gstmessage.c: (gst_message_class_init),
964 (gst_message_finalize):
965 * gst/gstquery.c: (gst_query_class_init), (gst_query_finalize):
966 * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_class_init),
967 (gst_mmap_buffer_finalize):
968 Properly chain up finalize functions to the parent class.
970 2008-02-11 Wim Taymans <wim.taymans@collabora.co.uk>
972 Patch by: Siavash Safi <siavash dot safi at gmail dot com>
974 * gst/gstindex.c: (gst_index_finalize), (gst_index_set_resolver),
975 (gst_index_set_resolver_full):
977 Add new function with option to dispose of user_data in resolver.
978 Actually call the dispose function when finalizing the object and not
979 just when changing the resolver/filter.
980 API: GstIndex::gst_index_set_resolver_full()
982 * docs/gst/gstreamer-sections.txt:
983 Add new function to docs. Fixes #515469.
985 2008-02-11 Sebastian Dröge <slomo@circular-chaos.org>
987 * gst/gstindex.c: (gst_index_finalize):
988 Chain up finalize to the parent class. Fixes leaking the GstObject
989 name and other things.
991 2008-02-08 Jan Schmidt <jan.schmidt@sun.com>
994 Make DISABLE_DEPRECATED defined *only* during CVS, not during
995 pre-releases or releases.
997 * docs/faq/gst-uninstalled:
1000 * docs/random/release:
1001 Change one of the steps - we only upload core & base to Gnome FTP
1003 2008-02-06 Stefan Kost <ensonic@users.sf.net>
1005 * gst/gstconfig.h.in:
1006 Add 'id' for example.
1010 * plugins/elements/gstfdsink.c:
1011 Link to signals. Doc and comment fixes.
1013 2008-02-05 Tim-Philipp Müller <tim at centricular dot net>
1015 * gst/gstpad.h: (GST_PAD_LINK_SUCCESSFUL):
1016 * gst/gstpluginfeature.h: (GstPluginFeatureClass):
1017 Some minor docs fixes: fix typo, mention that GST_FLOW_RESEND is
1018 unused and unimplemented; finally, it is plugin features, not
1019 plugins, that have ranks.
1021 2008-02-05 Stefan Kost <ensonic@users.sf.net>
1023 * gst/gstpluginfeature.h:
1024 Clarify GstRank range docs.
1026 2008-02-05 David Schleef <ds@schleef.org>
1028 * gst/gst.c: Add a separate gst_deinitialized that prevents
1029 gst_init() from being called after gst_deinit(). Fixes #509559
1031 2008-02-05 Sebastian Dröge <slomo@circular-chaos.org>
1033 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_base_init),
1034 (gst_bin_class_init):
1035 * gst/gstelement.c: (gst_element_base_class_init),
1036 (gst_element_class_add_pad_template):
1037 * gst/gstpadtemplate.c: (gst_pad_template_init):
1038 * gst/gstpipeline.c: (gst_pipeline_get_type),
1039 (gst_pipeline_base_init), (gst_pipeline_class_init):
1040 * libs/gst/base/gstbasesink.c:
1041 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type),
1042 (gst_base_src_base_init), (gst_base_src_class_init):
1043 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init),
1044 (gst_capsfilter_class_init):
1045 * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init),
1046 (gst_fake_sink_class_init):
1047 * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init),
1048 (gst_fake_src_class_init):
1049 * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init),
1050 (gst_fd_sink_class_init):
1051 * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init),
1052 (gst_fd_src_class_init):
1053 * plugins/elements/gstfilesink.c: (gst_file_sink_base_init),
1054 (gst_file_sink_class_init):
1055 * plugins/elements/gstfilesrc.c: (gst_file_src_base_init),
1056 (gst_file_src_class_init):
1057 * plugins/elements/gstidentity.c: (gst_identity_base_init),
1058 (gst_identity_class_init):
1059 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
1060 (gst_multi_queue_class_init):
1061 * plugins/elements/gstqueue.c: (gst_queue_base_init),
1062 (gst_queue_class_init):
1063 * plugins/elements/gsttee.c: (gst_tee_base_init),
1064 (gst_tee_class_init):
1065 * plugins/elements/gsttypefindelement.c:
1066 (gst_type_find_element_base_init),
1067 (gst_type_find_element_class_init):
1068 * tests/check/gst/gstelement.c: (gst_element_suite):
1069 Revert previous changes to the behaviour of GstPadTemplates, etc
1070 and the possiblity to call them in class_init as it breaks too
1071 many elements. Reopens bug #491501.
1073 Should be applied again for 0.11, thus added a few FIXME 0.11 at
1076 2008-02-05 Stefan Kost <ensonic@users.sf.net>
1078 * tools/gst-launch.c:
1079 Dump one graph per pipeline state-change and state change name
1080 (if GST_DEBUG_DUMP_DOT_DIR is set).
1082 2008-02-04 Thijs Vermeir <thijsvermeir@gmail.com>
1085 * tests/check/gst/gstpad.c:
1086 Be sure that we have a new copy of the caps and not
1087 reffed caps from a template
1089 2008-02-03 Sebastian Dröge <slomo@circular-chaos.org>
1091 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
1092 * gst/gstpipeline.c: (gst_pipeline_get_type),
1093 (gst_pipeline_class_init):
1094 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
1095 (gst_base_sink_class_init):
1096 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type),
1097 (gst_base_src_class_init):
1098 * libs/gst/base/gstbasetransform.c: (gst_base_transform_get_type),
1099 (gst_base_transform_class_init):
1100 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
1101 (gst_collect_pads_class_init):
1102 * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type):
1103 * libs/gst/net/gstnettimeprovider.c:
1104 (gst_net_time_provider_base_init),
1105 (gst_net_time_provider_class_init):
1106 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init),
1107 (gst_capsfilter_class_init):
1108 * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init),
1109 (gst_fake_sink_class_init):
1110 * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init),
1111 (gst_fake_src_class_init):
1112 * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init),
1113 (gst_fd_sink_class_init):
1114 * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init),
1115 (gst_fd_src_class_init):
1116 * plugins/elements/gstfilesink.c: (gst_file_sink_base_init),
1117 (gst_file_sink_class_init):
1118 * plugins/elements/gstfilesrc.c: (gst_file_src_base_init),
1119 (gst_file_src_class_init):
1120 * plugins/elements/gstidentity.c: (gst_identity_base_init),
1121 (gst_identity_class_init):
1122 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
1123 (gst_multi_queue_class_init):
1124 * plugins/elements/gstqueue.c: (gst_queue_base_init),
1125 (gst_queue_class_init):
1126 * plugins/elements/gsttee.c: (gst_tee_base_init),
1127 (gst_tee_class_init):
1128 * plugins/elements/gsttypefindelement.c:
1129 (gst_type_find_element_base_init),
1130 (gst_type_find_element_class_init):
1131 Don't use base_init where not absolutely necessary. For example it's
1132 not necessary anymore for adding pad templates or setting element
1135 Leave empty base_init functions in several places as GST_BOILERPLATE
1136 still defines and uses them.
1138 2008-02-03 Sebastian Dröge <slomo@circular-chaos.org>
1140 * gst/gstelement.c: (gst_element_base_class_init),
1141 (gst_element_class_add_pad_template):
1142 * gst/gstpadtemplate.c:
1143 Make it possible (and recommended) to set element details and add
1144 pad templates in the class_init functions by copying the details/pad
1145 templates in GstElement's base_init.
1147 Also make it possible to replace existing pad templates by adding
1148 a new one with the same name. This was done in a hackish fashion
1149 in same elements before already.
1151 Don't reference pad templates that are added a second time. A
1152 new pad template has a refcount of one and is not floating anymore
1153 and to be owned by the element's class. Make this more explicit by
1154 mentioning it in the docs of gst_element_class_add_pad_template().
1156 These changes are backwards compatible. Fixes bug #491501.
1158 * tests/check/gst/gstelement.c:
1159 Add unit test for setting element details, adding pad templates and
1160 replacing them in a subclass.
1162 2008-02-02 Sebastian Dröge <slomo@circular-chaos.org>
1164 * tools/gst-inspect.c: (print_interfaces),
1165 (print_element_properties_info), (print_pad_info),
1166 (print_signal_info), (print_element_info):
1167 Fix a few memory leaks.
1169 2008-02-01 Thijs Vermeir <thijsvermeir@gmail.com>
1171 * docs/libs/gstreamer-libs-sections.txt:
1172 * libs/gst/check/gstcheck.c:
1173 * libs/gst/check/gstcheck.h:
1174 Add more functions for unit testing: gst_check_drop_buffers,
1175 gst_check_caps_equal, gst_check_element_push_buffer_list,
1176 gst_check_element_push_buffer
1177 API: gst_check_drop_buffers
1178 API: gst_check_caps_equal
1179 API: gst_check_element_push_buffer_list
1180 API: gst_check_element_push_buffer
1182 2008-02-01 Julien Moutte <julien@fluendo.com>
1184 * docs/gst/gstreamer-sections.txt: Add GST_CHECK_VERSION to the docs
1185 * gst/gstindex.c: (gst_index_class_init), (gst_index_free_writer),
1186 (gst_index_finalize), (gst_index_entry_free),
1187 (gst_index_add_association): Fix memory leaks.
1188 * gst/gstversion.h.in: Add GST_CHECK_VERSION macro.
1189 * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init),
1190 (gst_mem_index_free_format), (gst_mem_index_free_id),
1191 (gst_mem_index_finalize): Fix memory leaks.
1192 * win32/common/config.h: Updated to CVS HEAD.
1194 2008-02-01 Stefan Kost <ensonic@users.sf.net>
1197 Some more details about how the plugin docs works.
1199 * docs/plugins/gstreamer-plugins-sections.txt:
1202 2008-02-01 Stefan Kost <ensonic@users.sf.net>
1204 * gst/parse/grammar.tab.pre.c:
1205 * gst/parse/grammar.tab.pre.h:
1206 * gst/parse/grammar.y:
1207 * gst/parse/lex._gst_parse_yy.pre.c:
1208 Add delayed set-property. This allows to set properties on dynamicaly
1209 created objects (pads in videomxer). Fixes #509391.
1211 2008-02-01 Thijs Vermeir <thijsvermeir@gmail.com>
1214 Check if caps are not NULL (fix bug #510194)
1216 2008-02-01 Wim Taymans <wim.taymans@collabora.co.uk>
1218 * libs/gst/base/gstbasesink.c: (gst_base_sink_loop),
1219 (gst_base_sink_get_position_paused):
1220 Add fixme regarding EOS in pull mode.
1221 Fix position reporting in PAUSED for negative rates.
1223 2008-02-01 Wim Taymans <wim.taymans@collabora.co.uk>
1225 * gst/gstminiobject.c: (gst_mini_object_replace):
1226 When replacing a miniobject, do a quick equality check first so that we
1227 can avoid a ref/unref pair.
1229 2008-02-01 Wim Taymans <wim.taymans@collabora.co.uk>
1231 * docs/design/part-synchronisation.txt:
1234 * docs/plugins/Makefile.am:
1235 * docs/plugins/gstreamer-plugins-docs.sgml:
1236 * docs/plugins/gstreamer-plugins-sections.txt:
1237 * plugins/elements/gstmultiqueue.c:
1238 Add multiqueue to the docs.
1240 2008-01-30 Jan Schmidt <jan.schmidt@sun.com>
1245 === release 0.10.17 ===
1247 2008-01-30 Jan Schmidt <jan.schmidt@sun.com>
1250 releasing 0.10.17, "Due Negligence"
1252 2008-01-30 Jan Schmidt <jan.schmidt@sun.com>
1255 Revert caps != NULL check temporarily for 0.10.17 release.
1257 2008-01-30 Thijs Vermeir <thijsvermeir@gmail.com>
1260 Check if caps are not NULL (fix bug #510194)
1262 2008-01-30 Jan Schmidt <jan.schmidt@sun.com>
1265 Fix compilation on systems that have posix timers but no
1268 Patch By: Cygwin Ports maintainer <yselkowitz at users dot sourceforge
1271 2008-01-30 Jan Schmidt <jan.schmidt@sun.com>
1273 * tools/gst-inspect.c:
1274 Revert previous commit in preparation for an impromptu 0.10.17 release
1276 2008-01-29 Sebastian Dröge <slomo@circular-chaos.org>
1278 * tools/gst-inspect.c: (print_interfaces),
1279 (print_element_properties_info), (print_pad_info),
1280 (print_signal_info), (print_element_info):
1281 Fix a few memory leaks.
1283 2008-01-28 Jan Schmidt <jan.schmidt@sun.com>
1288 === release 0.10.16 ===
1290 2008-01-28 Jan Schmidt <thaytan@noraisin.net>
1293 releasing 0.10.16, "Special Dispensation"
1295 2008-01-24 Tim-Philipp Müller <tim at centricular dot net>
1298 Use AC_TRY_COMPILE instead of AC_TRY_RUN to check for
1299 _POSIX_TIMER, _POSIX_MONOTONIC_CLOCK, etc. Makes configure
1300 not fail when trying to crosscompile on OpenEmbedded (#511750).
1302 2008-01-20 Sebastian Dröge <slomo@circular-chaos.org>
1305 Use $(MAKE) instead of make to fix the build if GNU make is
1306 called different. Fixes bug #510747.
1308 2008-01-20 Tim-Philipp Müller <tim at centricular dot net>
1310 * gst/gstplugin.c: (_gst_plugin_initialize):
1311 Fix old-style static plugins via GST_PLUGIN_DEFINE_STATIC
1312 again, which I broke two commits ago when changing the API
1313 of gst_plugin_register_static(): the g_list_foreach() in
1314 _gst_plugin_register_static still assumed the old function
1315 signature and would therefore fail (re-fixes #510187).
1317 * gst/gstplugin.c: (_num_static_plugins), (_static_plugins),
1318 (_gst_plugin_register_static), (gst_plugin_register_static):
1319 Revert the (technically correct) change to call g_thread_init() from
1320 the pre-main() constructor. This will break programs which call
1321 g_thread_init() without an if (!g_thread_supported()) guard in their
1322 main function. We could just blame it on GLib or the application, but
1323 it's probably best to just avoid this altogether and simply not use
1324 any GLib functions here and use plain old malloc() with a simple
1325 array to store the plugins to register later when gst_init() is
1326 finally called (re-fixes #510187).
1328 * tests/check/gst/gstplugin.c: (GST_GNUC_CONSTRUCTOR_DEFINED),
1329 (GST_GNUC_CONSTRUCTOR_DEFINED), (plugin_init_counter),
1330 (plugin1_init), (plugin2_init), (plugin3_init), (GST_START_TEST),
1331 (GST_START_TEST), (gst_plugin_suite):
1332 Dumb unit test to make sure the old GST_PLUGIN_DEFINE_STATIC still
1335 2008-01-17 Tim-Philipp Müller <tim at centricular dot net>
1337 * gst/gstplugin.h: (GST_PLUGIN_DEFINE_STATIC):
1338 Remove deprecation guards around GST_PLUGIN_DEFINE_STATIC.
1339 This makes gtk-doc complain, but results in slightly better
1340 compiler errors. The old _gst_plugin_register_static() is
1341 still guarded, so there'll be a compiler warning about that
1342 instead. Fixes #510187 too.
1344 2008-01-17 Tim-Philipp Müller <tim at centricular dot net>
1346 * gst/gst.c: (init_post):
1347 * gst/gstplugin.c: (_gst_plugin_register_static),
1348 (gst_plugin_register_static), (_gst_plugin_initialize):
1349 * gst/gstplugin.h: (GstPluginFilter):
1350 Change API of gst_plugin_register_static() to not take
1351 a GstPluginDesc, but rather just take all the arguments
1352 in a GstPluginDesc directly. This is more intuitive and
1353 avoids certain mistakes when porting code from
1354 GST_PLUGIN_DEFINE_STATIC to gst_plugin_register_static().
1357 * tests/check/gst/gstplugin.c:
1358 Fix up for changed API.
1360 2008-01-17 Thomas Vander Stichele <thomas at apestaart dot org>
1362 * docs/faq/legal.xml:
1363 Update FAQ, Totem actually has an exception these days.
1365 2008-01-14 Jan Schmidt <jan.schmidt@sun.com>
1367 * win32/common/libgstreamer.def:
1368 Add new API declarations
1370 2008-01-14 Stefan Kost <ensonic@users.sf.net>
1372 * gst/gstminiobject.c:
1373 Spelling fixes for the API docs.
1375 2008-01-14 Stefan Kost <ensonic@users.sf.net>
1377 * libs/gst/base/gstbasetransform.c:
1378 Fix long property description for QoS.
1380 2008-01-12 Jan Schmidt <Jan.Schmidt@sun.com>
1383 _gst_trace_on is already provided by gsttrace.h, no need to declare
1386 * docs/libs/gstreamer-libs-sections.txt:
1387 Add 'buffers', 'check_cond' and 'check_mutex' from libgstcheck
1388 and remove strange tcase_add_test which is outputting a warning.
1390 * libs/gst/check/gstcheck.c:
1391 * libs/gst/check/gstcheck.h:
1392 Properly declare 'buffers', 'check_cond', 'check_mutex' extern
1393 and define them in gstcheck.c instead of having every .c file whcih
1394 includes gstcheck.h be defining its own copy and relying on symbol
1395 interposing to marry them all, which doesn't work on Solaris.
1397 * tests/check/elements/identity.c: (GST_START_TEST):
1398 Don't define 'buffers' locally, it comes from libgstcheck.
1400 * tests/check/generic/sinks.c: (send_buffer):
1401 Fix type of variable (GstFlowReturn, not GstStateChangeReturn)
1403 * tests/check/gst/gststructure.c: (GST_START_TEST):
1404 * tests/check/gst/gstsystemclock.c: (GST_START_TEST):
1405 * tests/check/gst/gstutils.c: (GST_START_TEST):
1406 * tests/check/gst/gstvalue.c: (GST_START_TEST):
1407 Add a bunch of casts to make various constants fit the types
1408 they're being assigned to.
1410 2008-01-10 Stefan Kost <ensonic@users.sf.net>
1412 * gst/gstchildproxy.c:
1413 Improve docs and add some ideas for making this more general-purpose.
1415 2008-01-10 Tim-Philipp Müller <tim at centricular dot net>
1417 * gst/gst_private.h: (GST_CAT_TYPES):
1418 Add GST_CAT_TYPES, for consistency, and so that the other
1419 debug categories don't make fun of it. Spotted by Saur on IRC.
1421 2008-01-10 Sebastian Dröge <slomo@circular-chaos.org>
1423 * gst/parse/Makefile.am:
1424 Move types.h from EXTRA_DIST to noinst_HEADERS.
1426 2008-01-10 Sebastian Dröge <slomo@circular-chaos.org>
1429 Add -Wno-portability to the automake parameters to stop warnings
1430 about GNU make extensions being used. We require GNU make in almost
1431 every Makefile anyway.
1434 Use AM_PROG_CC_C_O as a compiler that accepts both -c and -o
1435 at the same time is required for per target flags.
1437 2008-01-09 Tim-Philipp Müller <tim at centricular dot net>
1440 Include glib/gmacros.h for G_BEGIN_DECLS. Check if
1441 __GNUC__ is defined before using it.
1443 2008-01-09 Tim-Philipp Müller <tim at centricular dot net>
1445 * docs/gst/gstreamer-sections.txt:
1446 * gst/gst.c: (init_post):
1447 * gst/gstplugin.c: (_gst_plugin_register_static),
1448 (gst_plugin_register_static), (_gst_plugin_initialize),
1449 (gst_plugin_register_func):
1450 * gst/gstplugin.h: (GST_PLUGIN_DEFINE_STATIC):
1451 API: add gst_plugin_register_static() and deprecate
1452 GST_PLUGIN_DEFINE_STATIC, since it's not portable
1454 Also, in _gst_plugin_register_static(), make sure to call
1455 g_thread_init() before calling GLib functions such as
1456 g_list_append() if we're not initialised yet, since that
1457 may lead to random crashes with older GSlice/GLib versions.
1459 * tests/check/gst/gstplugin.c:
1460 Adapt unit test to above changes.
1462 2008-01-09 Tim-Philipp Müller <tim at centricular dot net>
1464 * gst/gst_private.h: (STRUCTURE_ESTIMATED_STRING_LEN):
1465 * gst/gstcaps.c: (gst_caps_to_string):
1466 * gst/gststructure.c: (GST_ASCII_IS_STRING),
1467 (priv_gst_structure_append_to_gstring), (gst_structure_to_string):
1468 Yet another gratuitous GString micro-optimisation: add a (private)
1469 function that serialises a structure appending to an existing
1470 GString, so that when we serialise caps we don't need to alloc+free
1471 a throwaway GString for each structure (each of which also entailing
1472 multiple reallocs on the way); also use g_string_sized_new() in
1473 various places with an approximate string length to avoid reallocs
1474 within GString. See #500143.
1476 2008-01-09 Tim-Philipp Müller <tim at centricular dot net>
1478 * gst/gststructure.c: (gst_structure_id_set_value):
1479 Always check UTF-8 conformance of structure strings and not only
1480 if the debugging system is enabled; reasoning: the behaviour of
1481 the actual code shouldn't really change depending on whether the
1482 debugging system is enabled or not (#508291).
1484 2008-01-09 Stefan Kost <ensonic@users.sf.net>
1487 Remove old coverage target in favour of "make lcov".
1489 2008-01-09 Wim Taymans <wim.taymans@collabora.co.uk>
1491 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
1492 (gst_base_src_loop):
1493 The start segment for reverse playback goes from start to last_stop.
1495 2008-01-09 Wim Taymans <wim.taymans@collabora.co.uk>
1497 Patch by: Peter Kjellerstedt <pkj axis com>
1500 Cast the results from the timeval/spec_to_time macros to what the
1501 docs say it casts to, a GstClockTime. fixes #508175.
1503 2008-01-09 Wim Taymans <wim.taymans@collabora.co.uk>
1506 Update some comments.
1508 * tools/gst-inspect.c: (print_element_properties_info):
1509 Improve printing of flags.
1511 2008-01-08 Tim-Philipp Müller <tim at centricular dot net>
1513 * libs/gst/base/gstbasetransform.c:
1514 (gst_base_transform_transform_size):
1515 Print element name with g_warning() if there's a problem
1518 2008-01-07 David Schleef <ds@schleef.org>
1520 Patch by: Damien Lespiau <damien.lespiau@gmail.com>
1522 * libs/gst/controller/gstcontroller.h:
1523 * libs/gst/controller/gstcontrolsource.h:
1524 * libs/gst/controller/gstinterpolationcontrolsource.h:
1525 * libs/gst/controller/gstlfocontrolsource.h:
1526 * libs/gst/dataprotocol/dataprotocol.h:
1527 Fix empty prototypes. Fixes bug #507957.
1529 2008-01-07 David Schleef <ds@schleef.org>
1531 * docs/faq/dependencies.xml: Fix typo.
1533 2008-01-07 Wim Taymans <wim.taymans@collabora.co.uk>
1535 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_do_seek),
1536 (gst_base_src_loop):
1537 Don't update the last_stop position in do_seek, that's the position we
1539 Read backwards when we have a negative rate.
1541 * tests/check/elements/filesrc.c: (event_func), (wait_eos),
1542 (setup_filesrc), (cleanup_filesrc), (GST_START_TEST),
1544 Add check for reverse reading.
1546 2008-01-07 Tim-Philipp Müller <tim at centricular dot net>
1548 Patch by: Alexis Ballier <aballier at gentoo org>
1550 * tests/check/gst/gstabi.c:
1551 * tests/check/gst/struct_ppc64.h:
1552 * tests/check/libs/libsabi.c:
1553 * tests/check/libs/struct_ppc64.h:
1554 Decide which header to include based on the userland ABI target
1555 and not the kernel/cpu. Fix up structure sizes of ppc64 header
1556 for 64-bit userland (#503590). Might need something similar for
1559 2008-01-05 Tim-Philipp Müller <tim at centricular dot net>
1561 * gst/gstdebugutils.c: (_gst_debug_bin_to_dot_file):
1562 Log the reason why fopen fails in addition to the fact that it failed.
1564 2008-01-04 Sebastian Dröge <slomo@circular-chaos.org>
1566 * gst/parse/parse.l:
1567 Use "%option never-interactive" to prevent useless calls to isatty()
1568 on every input when parsing. Also use "%option noinput" to not define
1569 the static input/yyinput functions which we don't use anyway. This
1570 removes a compiler warning with gcc 4.3 and saves some bytes in the
1573 * gst/parse/lex._gst_parse_yy.pre.c:
1574 Regenerated for the above change.
1576 2008-01-04 Wim Taymans <wim.taymans@collabora.co.uk>
1578 * gst/gstpad.c: (fixate_value):
1579 Don't crash when trying to fixate and empty list.
1582 2008-01-03 Sebastian Dröge <slomo@circular-chaos.org>
1584 * docs/faq/gst-uninstalled:
1585 Clarify the comments to make the usage of this script and what it
1586 does easier to understand.
1588 2008-01-01 Thijs Vermeir <thijsvermeir@gmail.com>
1590 * tools/gst-plot-timeline.py:
1591 Add more options to gst-plot-timeline
1593 2007-12-31 Wim Taymans <wim.taymans@collabora.co.uk>
1595 * docs/design/part-synchronisation.txt:
1596 Some more info on how the stream_time in GstBaseSink is done.
1598 2007-12-30 Tim-Philipp Müller <tim at centricular dot net>
1600 * tests/check/generic/sinks.c: (gst_sinks_suite):
1601 Put back the tcase_set_timeout(), apparently it's needed after
1602 all; fix it up in a way that makes things work with valgrind too.
1604 2007-12-30 Thijs Vermeir <thijsvermeir@gmail.com>
1606 * gst/gstdebugutils.c:
1607 Add warning when failed to open file for writing.
1609 2007-12-28 Tim-Philipp Müller <tim at centricular dot net>
1611 Based on patch by: Laurent Glayal <spglegle yahoo fr>
1613 * gst/gstvalue.c: (gst_value_is_fixed):
1614 Optimisation: bail out of the loop as early as possible (#500143).
1616 2007-12-28 Tim-Philipp Müller <tim at centricular dot net>
1618 * gst/gstcaps.c: (gst_caps_to_string):
1619 * gst/gstinfo.c: (gst_debug_construct_term_color):
1620 * gst/gstparse.c: (gst_parse_launchv):
1621 * gst/gstutils.c: (gst_util_dump_mem):
1622 * gst/gstvalue.c: (gst_value_serialize_any_list),
1623 (gst_value_transform_any_list_string):
1624 Bunch of gratuitous nano-optimisations.
1626 2007-12-28 Tim-Philipp Müller <tim at centricular dot net>
1628 * tests/check/generic/sinks.c: (async_done_func),
1629 (async_done_eos_func):
1630 Fix leak in unit test (bus sync handler must unref the message
1631 if it returns GST_BUS_DROP). Don't fiddle with the default test
1632 timeout, this is smaller than the current preconfigured value
1633 via CK_DEFAULT_TIMEOUT, and also breaks things with valgrind
1634 because it overrides the value specified in CK_DEFAULT_TIMEOUT.
1636 2007-12-24 Wim Taymans <wim.taymans@collabora.co.uk>
1638 Based on Patch by: Laurent Glayal <spglegle at yahoo dot fr>
1641 Check for stdio_ext.h for the filesink changes.
1643 * plugins/elements/gstfilesink.c: (buffer_mode_get_type),
1644 (gst_file_sink_class_init), (gst_file_sink_init),
1645 (gst_file_sink_dispose), (gst_file_sink_set_property),
1646 (gst_file_sink_get_property), (gst_file_sink_open_file),
1647 (gst_file_sink_close_file):
1648 * plugins/elements/gstfilesink.h:
1649 Add two properties to control the buffering mode and size.
1650 API: GstFileSink::buffer-mode
1651 API: GstFileSink::buffer-size
1654 2007-12-24 Wim Taymans <wim.taymans@collabora.co.uk>
1656 * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked):
1657 Add some more docs to explain why a FIXME was wrongly added.
1659 2007-12-22 Sebastian Dröge <slomo@circular-chaos.org>
1662 Fix typo in the gst_object_{ref,unref} documentation.
1664 2007-12-21 Tim-Philipp Müller <tim at centricular dot net>
1666 * tests/check/libs/controller.c:
1667 * tests/check/libs/typefindhelper.c:
1668 * tests/check/pipelines/parse-launch.c:
1669 Don't use GST_PLUGIN_DEFINE_STATIC, it is not portable and is
1670 going to be deprecated (see #498924).
1672 2007-12-21 Tim-Philipp Müller <tim at centricular dot net>
1674 * gst/gsttypefind.c: (gst_type_find_register):
1675 Make gst_type_find_register work for static typefind functions,
1676 ie. allow passing plugin == NULL (prerequisite for #498924).
1678 * gst/gstelementfactory.c: (gst_element_register):
1679 Small docs addition.
1681 2007-12-21 Wim Taymans <wim.taymans@collabora.co.uk>
1683 * gst/gstpad.c: (gst_pad_dispose):
1684 Really unlink the peer pad instead of setting the peer pointer to NULL
1685 when we dispose the pad.
1686 This correctly calls the unlink functions and makes sure that the peer
1687 does not have a handle to invalid memory. See #504671.
1689 * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
1690 Add testsuite for above case.
1692 2007-12-20 Tim-Philipp Müller <tim at centricular dot net>
1694 Patch by: Peter Kjellerstedt <pkj axis com>
1696 * libs/gst/check/gstcheck.h:
1697 Fix detection of the check version we're compiling against (would
1698 otherwise break if check goes v0.10.0); correctly report the
1699 name of the failed test again in case of failure, instead of
1700 just 'tf' (fixes #504499).
1702 2007-12-19 Wim Taymans <wim.taymans@collabora.co.uk>
1704 * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event),
1705 (gst_base_src_get_range), (gst_base_src_pad_get_range),
1706 (gst_base_src_loop), (gst_base_src_set_flushing),
1707 (gst_base_src_change_state):
1708 Allow sending EOS to the source to make it send out an EOS event from
1709 the streaming thread.
1710 Update docs and deprecate the old NULL/READY shutdown method.
1712 * tests/check/libs/basesrc.c: (GST_START_TEST),
1713 (gst_basesrc_suite):
1714 Add unit test for controlled shutdown.
1716 2007-12-19 Wim Taymans <wim.taymans@collabora.co.uk>
1718 * docs/design/part-synchronisation.txt:
1721 * gst/gstsegment.c: (gst_segment_set_seek),
1722 (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
1723 (gst_segment_to_running_time):
1724 The seek format can be different from the segment format when the start
1725 and stop values are not to be updated, when we only do a rate change for
1728 * tests/check/gst/gstsegment.c: (GST_START_TEST),
1729 (gst_segment_suite):
1730 Add a testcase for the rate-only seeks, checking that the format is
1731 correctly ignored when start and stop are not updated.
1733 2007-12-18 Sebastian Dröge <slomo@circular-chaos.org>
1735 Patch by: Matthias Bolte <photon at mail dot upb dot de>
1737 * win32/vs8/grammar.vcproj:
1738 * win32/vs8/libgstcontroller.vcproj:
1739 * win32/vs8/libgstreamer.vcproj:
1740 Fix compilation with VS8 and include some missing files.
1742 2007-12-18 Tim-Philipp Müller <tim at centricular dot net>
1745 Small docs addition: mention that the strings returned by
1746 gst_tag_list_get_string*() are in UTF-8 encoding.
1748 2007-12-17 Tim-Philipp Müller <tim at centricular dot net>
1751 The check-exports stuff moved to common/win32.mak, so include that.
1753 2007-12-17 Wim Taymans <wim.taymans@collabora.co.uk>
1755 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
1756 (gst_base_src_perform_seek), (gst_base_src_get_range),
1757 (gst_base_src_set_playing), (gst_base_src_change_state):
1758 Make _wait_playing() not check any variables so that we can call this
1759 function from subclasses. Move the checks elsewhere similar to
1760 _wait_preroll() in basesink.
1762 Only signal the LIVE cond when we are going back to PLAYING.
1764 2007-12-16 Tim-Philipp Müller <tim at centricular dot net>
1766 * gst/gstregistrybinary.c: (gst_registry_binary_write_cache):
1767 Use g_remove() and g_rename(). Check result of g_rename(), and
1768 don't leak the open file descriptor if we error out when writing.
1770 * gst/gstregistryxml.c: (load_plugin), (gst_registry_xml_write_cache):
1771 Must check the return value of close() after writing out the new
1772 registry file. Sometimes write problems such as out-of-diskspace
1773 are only reported when the file is closed and not already during
1774 the write. This may have caused partial/broken registry files in
1775 some rare circumstances. Should fix #503675.
1777 2007-12-16 Edward Hervey <edward.hervey@collabora.co.uk>
1779 * docs/gst/.cvsignore:
1780 * docs/libs/.cvsignore:
1781 * docs/plugins/.cvsignore:
1782 Ignore files generated by new common/* modifications
1784 2007-12-15 Stefan Kost <ensonic@users.sf.net>
1786 * win32/common/libgstbase.def:
1787 Yes, you can also have a <TAB> if you want.
1789 2007-12-15 Stefan Kost <ensonic@users.sf.net>
1791 * win32/common/libgstbase.def:
1792 Add new basetransform API to win export file.
1794 2007-12-15 Stefan Kost <ensonic@users.sf.net>
1796 * tests/check/gst/gstbin.c:
1797 Adjust the test to the refcount change two days ago.
1799 2007-12-14 David Schleef <ds@schleef.org>
1801 * docs/faq/getting.xml: Fix typo.
1803 2007-12-14 Sebastian Dröge <slomo@circular-chaos.org>
1805 * docs/libs/gstreamer-libs-sections.txt:
1806 * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
1807 (gst_base_transform_prepare_output_buffer),
1808 (gst_base_transform_set_gap_aware):
1809 * libs/gst/base/gstbasetransform.h:
1810 API: Add gst_base_transform_set_gap_aware() to control whether
1811 the element correctly handles GST_BUFFER_FLAG_GAP or shouldn't
1812 get buffers with this flag at all. Fixes #503231.
1814 2007-12-13 Stefan Kost <ensonic@users.sf.net>
1816 * libs/gst/base/gstbasesink.c:
1817 * libs/gst/base/gstbasesrc.c:
1818 * libs/gst/base/gstbasetransform.c:
1819 Replace gst_pad_get_parent by GST_OBJECT_PARENT inside streaming
1820 thread. Correct log message in gstbasesrc.c.
1822 2007-12-13 Tim-Philipp Müller <tim at centricular dot net>
1824 * gst/gstutils.c: (element_find_unconnected_pad):
1825 Fix possible compiler warning (#503417).
1827 2007-12-13 Tim-Philipp Müller <tim at centricular dot net>
1829 * gst/gstobject.c: (gst_object_dispatch_properties_changed):
1830 Don't use GST_CAT_EVENT here for logging, it makes no sense.
1832 2007-12-13 Sebastian Dröge <slomo@circular-chaos.org>
1834 * tools/gst-inspect.c: (print_element_properties_info):
1835 Add support for GstFraction properties.
1837 2007-12-12 Tim-Philipp Müller <tim at centricular dot net>
1840 Add check-exports target and run it as part of 'make check'
1841 (see #499140 and #493983).
1843 * gst/gst_private.h:
1844 * gst/gstelementfactory.h:
1845 * gst/gstghostpad.c: (gst_proxy_pad_class_init):
1846 * gst/gstinfo.c: (_priv_gst_in_valgrind), (_gst_debug_init),
1847 (_priv_gst_in_valgrind):
1848 * gst/gstinfo.h: (GstLogFunction):
1849 * gst/gsttypefind.c: (type_find_debug), (GST_CAT_DEFAULT),
1850 (gst_type_find_register):
1851 * gst/gsttypefindfactory.c: (type_find_debug), (GST_CAT_DEFAULT),
1852 (gst_type_find_factory_get_type):
1853 * libs/gst/controller/gstcontroller.c: (GST_CAT_DEFAULT),
1854 (GST_CAT_DEFAULT), (parent_class), (priv_gst_controller_key),
1855 (gst_controller_new_valist), (gst_controller_new_list),
1856 (_gst_controller_dispose), (_gst_controller_class_init):
1857 * libs/gst/controller/gstcontrolsource.c: (GST_CAT_DEFAULT):
1858 * libs/gst/controller/gsthelper.c: (GST_CAT_DEFAULT),
1859 (GST_CAT_DEFAULT), (gst_object_uncontrol_properties),
1860 (gst_object_get_controller), (gst_object_set_controller),
1861 (gst_object_suggest_next_sync), (gst_object_sync_values),
1862 (gst_object_set_control_source), (gst_object_get_control_source),
1863 (gst_object_get_value_arrays), (gst_object_get_value_array),
1864 (gst_object_get_control_rate), (gst_object_set_control_rate):
1865 * libs/gst/controller/gstinterpolation.c: (GST_CAT_DEFAULT):
1866 * libs/gst/controller/lib.c: (GST_CAT_DEFAULT):
1867 Make some functions that should be static static; rename some
1868 private symbols so that they don't get exported; add some FIXME
1869 comments so we can move accidentally exported functions into
1870 our private section in 0.11.
1872 * win32/common/libgstreamer.def:
1873 Add gst_utils_get_timestamp().
1875 2007-12-12 Stefan Kost <ensonic@users.sf.net>
1879 Add more missing "Since:" tags to docs.
1881 2007-12-12 Stefan Kost <ensonic@users.sf.net>
1884 Add mising "Since:" to docs.
1886 2007-12-11 Stefan Kost <ensonic@users.sf.net>
1889 Include "glib-compat-private.h" to fix the build on system with
1890 glib < 2.10. Fixes #503131.
1892 2007-12-11 Stefan Kost <ensonic@users.sf.net>
1896 Actually its not PURE as it gets the time from elsewhere.
1898 2007-12-11 Stefan Kost <ensonic@users.sf.net>
1900 * docs/gst/gstreamer-sections.txt:
1902 * gst/gstdebugutils.c:
1906 * libs/gst/base/gstbasesink.c:
1907 * tools/gst-launch.c:
1908 Change GST_GET_TIMESTAMP into gst_util_get_timestamp and replace all
1909 uses as we don't have HAVE_POSIX_TIMERS in public headers.
1910 Thanks Tim for spotting.
1911 API: gst_util_get_timestamp
1913 2007-12-09 Sebastian Dröge <slomo@circular-chaos.org>
1916 Don't define GST_DISABLE_DEPRECATED for releases. Fixes #498181.
1918 2007-12-08 Tim-Philipp Müller <tim at centricular dot net>
1920 * gst/gststructure.c: (gst_structure_validate_name),
1921 (gst_structure_new_valist), (gst_structure_parse_value),
1922 (gst_structure_from_string):
1923 Don't crash in _from_string() if the structure name is not valid
1924 (fixes #501560). Allow structure names to start with a number
1925 again (this apparently broke the ubuntu codec installer).
1927 * tests/check/gst/gststructure.c: (GST_START_TEST), (GST_START_TEST),
1929 Add unit test for the crash; update unit tests for new behaviour.
1931 2007-12-03 Wim Taymans <wim.taymans@gmail.com>
1934 Clarify gst_element_get_compatible_pad() documentation.
1937 2007-12-02 Sebastian Dröge <slomo@circular-chaos.org>
1939 * tests/check/Makefile.am:
1940 Don't forget to dist {gst,libs}/struct_hppa.h.
1942 2007-11-28 Stefan Kost <ensonic@users.sf.net>
1944 * libs/gst/base/gstbasesink.c:
1945 Use new API to get elapsed time.
1947 2007-11-28 Stefan Kost <ensonic@users.sf.net>
1949 * gst/gstdebugutils.c:
1951 Fix wrong order of args in GST_CLOCK_DIFF() usage.
1953 * tools/gst-launch.c:
1954 Use new API to get elapsed time.
1956 2007-11-28 Stefan Kost <ensonic@users.sf.net>
1958 * docs/gst/gstreamer-sections.txt:
1960 * gst/gstdebugutils.c:
1962 Rename new API + ChangeLog surgery to remove old name from last entry..
1964 2007-11-28 Stefan Kost <ensonic@users.sf.net>
1966 * docs/gst/gstreamer-sections.txt:
1968 * gst/gstdebugutils.c:
1970 Now hide the different clock stuff behind a macro.
1972 2007-11-28 Stefan Kost <ensonic@users.sf.net>
1975 * gst/gstdebugutils.c:
1977 Apply the posix-timer check from #361155. Conditionally use the posix
1978 timer for logging. This gives better timestamp precission, less
1979 overhead and no ntp jitter.
1981 2007-11-28 Sebastian Dröge <slomo@circular-chaos.org>
1983 * gst/gstminiobject.c: (gst_mini_object_get_type),
1984 (gst_mini_object_class_init), (gst_mini_object_copy_default),
1985 (gst_mini_object_finalize), (gst_mini_object_copy),
1986 (gst_mini_object_is_writable), (gst_mini_object_make_writable),
1987 (gst_mini_object_replace), (param_mini_object_validate),
1988 (gst_param_spec_mini_object_get_type):
1989 Some cleanup and checking against invalid function parameters.
1991 2007-11-28 Wim Taymans <wim.taymans@gmail.com>
1993 * docs/gst/gstreamer-sections.txt:
1995 * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
1996 (gst_systemclock_suite):
1997 Start merging in the easy bits of #361155, the monotonic clock patch.
1998 This one adds a few handy macros with docs and a testsuite.
2000 2007-11-27 Wim Taymans <wim.taymans@gmail.com>
2002 * plugins/elements/gstfilesink.c: (gst_file_sink_event):
2003 Be a bit smarter when seeking, like, don't try to do a seek when it's
2004 not needed. This avoids errors when the file is not seekable.
2007 2007-11-26 Stefan Kost <ensonic@users.sf.net>
2009 * docs/gst/gstreamer-docs.sgml:
2010 * docs/gst/gstreamer-sections.txt:
2011 * docs/gst/gstreamer.types.in:
2016 * plugins/elements/gstqueue.c:
2017 Due to popular request remove preset interface again. :-(.
2019 2007-11-22 Stefan Kost <ensonic@users.sf.net>
2021 * tools/gst-inspect.c:
2022 Print 'default value' for enums and flags too.
2024 2007-11-22 Stefan Kost <ensonic@users.sf.net>
2026 * docs/random/ensonic/profiling.txt:
2030 Fix typo and give better log output.
2032 * gst/gstdebugutils.c:
2033 * gst/gstdebugutils.h:
2034 More ideas, make graphs a bit smaller and fix param name in macro.
2036 2007-11-22 Stefan Kost <ensonic@users.sf.net>
2039 Try harder to use the return value from fgets().
2041 2007-11-21 Stefan Kost <ensonic@users.sf.net>
2044 For theses two fgets we handle the error below.
2046 2007-11-21 Wim Taymans <wim.taymans@gmail.com>
2048 * libs/gst/base/gstbasesink.c: (gst_base_sink_send_event):
2049 Only send upstream events upstream. Fixes #498746.
2051 2007-11-21 Wim Taymans <wim.taymans@gmail.com>
2053 Patch by: Laurent Glayal <spglegle at yahoo dot fr>
2055 * plugins/elements/gstidentity.c: (gst_identity_class_init),
2056 (gst_identity_init), (gst_identity_transform_ip),
2057 (gst_identity_set_property), (gst_identity_get_property):
2058 * plugins/elements/gstidentity.h:
2059 Add property to disable handoff signal emission. Fixes #498694.
2060 API: GstIdentity::signal-handoffs
2062 2007-11-21 Julien Moutte <julien@fluendo.com>
2064 * docs/faq/gst-uninstalled: Yet another missing library for the
2065 uninstalled script (fft)
2067 2007-11-21 Jan Schmidt <jan.schmidt@sun.com>
2069 * docs/faq/developing.xml:
2070 Add a question about how to submit new translations.
2072 * docs/random/release:
2073 Update the contact email address for the Translation Project
2075 * plugins/elements/gstfdsrc.c:
2076 The parent_class for fdsrc is pushsrc, not GstElement.
2078 2007-11-20 Stefan Kost <ensonic@users.sf.net>
2081 Plug a leak and fix saving.
2083 2007-11-20 Sebastian Dröge <slomo@circular-chaos.org>
2085 * docs/gst/gstreamer-sections.txt:
2086 Add new gst_preset__get_property_names() function to the docs
2089 2007-11-20 Stefan Kost <ensonic@users.sf.net>
2093 Change _get_preset_names API to return a strv with copies. Add
2094 _get_property_names to allow implementations to filter and provide
2095 good default implementation.
2097 2007-11-20 Julien MOUTTE <julien@moutte.net>
2099 * docs/faq/gst-uninstalled: Add another library to the uninstalled
2102 2007-11-19 Stefan Kost <ensonic@users.sf.net>
2105 More cleanups, docs, and TODOs from comments that now slowly come in.
2107 2007-11-19 Julien MOUTTE <julien@moutte.net>
2109 * docs/faq/gst-uninstalled: Add new base libraries in the LD
2112 2007-11-19 Stefan Kost <ensonic@users.sf.net>
2115 Fix bogus warning and make the property type specific code more
2118 2007-11-19 Julien MOUTTE <julien@moutte.net>
2120 * gst/gstpreset.c: (gst_preset_default_create_preset): Make
2123 2007-11-19 Wim Taymans <wim.taymans@gmail.com>
2125 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
2126 (gst_bin_add_func), (gst_bin_remove_func),
2127 (gst_bin_change_state_func), (gst_bin_continue_func):
2128 Change email, cleanups add some more debug and comments.
2129 Also set bus and clock on new elements when the pipeline was in error.
2131 2007-11-18 Stefan Kost <ensonic@users.sf.net>
2134 * gst/gstdebugutils.c:
2135 Fix build with --disable-gst-debug. Fixes #497859.
2136 Spotted by Sameer Naik.
2138 2007-11-17 Stefan Kost <ensonic@users.sf.net>
2141 Little documentation improvment.
2144 More TODO cleanups. Remove c++ comments.
2146 * libs/gst/controller/gstcontroller.c:
2147 Add TODO and use quark from static string.
2149 * tests/check/gst/gstmessage.c:
2150 * tests/check/gst/gststructure.c:
2151 Use quark from static string.
2153 2007-11-17 Stefan Kost <ensonic@users.sf.net>
2156 Add some comments and TODOs.
2159 Add padding for future changes.
2161 * plugins/elements/gstqueue.c:
2162 Implement the iface.
2164 2007-11-17 Stefan Kost <ensonic@users.sf.net>
2166 * docs/gst/gstreamer-docs.sgml:
2167 * docs/gst/gstreamer-sections.txt:
2168 * docs/gst/gstreamer.types.in:
2173 Add the preset interface (Fixes #396779). Do some doc cleanups along.
2175 2007-11-16 Jan Schmidt <jan.schmidt@sun.com>
2181 === release 0.10.15 ===
2183 2007-11-15 Jan Schmidt <jan.schmidt@sun.com>
2186 releasing 0.10.15, "October"
2188 2007-11-14 Jan Schmidt <jan.schmidt@sun.com>
2190 * win32/vs6/libgstreamer.dsp:
2191 Convert line endings back to DOS.
2193 2007-11-13 Stefan Kost <ensonic@users.sf.net>
2195 * docs/design/draft-tagreading.txt:
2196 * docs/random/ensonic/profiling.txt:
2197 Update fast tagreading draft and performance profiling ideas.
2199 2007-11-09 Wim Taymans <wim.taymans@gmail.com>
2201 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_last_buffer):
2202 Don't hold the object lock when unreffing a buffer because it could
2203 cause a deadlock when the finalize function wants to grab the object
2204 lock too. Fixes #495133.
2206 2007-11-09 Wim Taymans <wim.taymans@gmail.com>
2208 * gst/gstsegment.c: (gst_segment_set_newsegment_full),
2209 (gst_segment_to_stream_time), (gst_segment_to_running_time):
2210 Also accumulate time correctly when doing reverse playback. Fixes
2212 When converting to running and stream time, use default values for
2213 start/stop/time/accum when comparing different formats. Fixes #494245.
2215 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
2216 Do running/stream time in TIME format.
2218 * tests/check/gst/gstsegment.c: (GST_START_TEST),
2219 (gst_segment_suite):
2220 2 new unit tests for segment accumulation.
2222 2007-11-07 Tim-Philipp Müller <tim at centricular dot net>
2224 * gst/gst.c: (init_pre):
2225 * gst/gstdebugutils.c: (priv_gst_dump_dot_dir), (debug_dump_element),
2226 (_gst_debug_bin_to_dot_file):
2227 Move getenv() back into gst_init, so everyone can live happily
2228 ever after. Make sure the symbol isn't exported though.
2230 2007-11-06 Tim-Philipp Müller <tim at centricular dot net>
2232 Patch by: Sebastien Moutte <sebastien moutte net>
2234 * win32/common/gstenumtypes.c:
2235 * win32/common/gstenumtypes.h:
2238 * win32/vs6/libgstreamer.dsp:
2239 Update vs6 project files (#494343).
2241 2007-11-06 Wim Taymans <wim.taymans@gmail.com>
2243 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query),
2244 (gst_base_src_perform_seek), (gst_base_src_default_event),
2245 (gst_base_src_set_flushing), (gst_base_src_activate_push),
2246 (gst_base_src_activate_pull):
2247 Unify flushing code, remove some old unlock code that is no longer used.
2248 Take the streaming lock when seeking to avoid races. Fixes #492729.
2249 Added some more comments.
2251 2007-11-06 Tim-Philipp Müller <tim at centricular dot net>
2253 * gst/gst.c: (_gst_disable_segtrap):
2254 Make _gst_disable_segtrap static, it's only used in gstplugin.c and
2255 we can use gst_segtrap_is_enabled() there now that we have that API.
2256 Move _gst_debug_dump_dot_dir into gstdebugutils.c, there's no reason
2257 to do the getenv here (and export the variable).
2259 * gst/gstdebugutils.c: (debug_dump_element),
2260 (_gst_debug_bin_to_dot_file), (_gst_debug_bin_to_dot_file_with_ts):
2261 Don't use VLAs which is a C99ism and throws off MSVC (#493983).
2263 * gst/gstinfo.c: (_priv_gst_info_start_time), (_gst_debug_init),
2264 (gst_debug_log_default):
2265 Rename _gst_info_start_time to priv_gst_info_start_time so it
2266 doesn't get exported (was never in any header).
2268 * gst/gstplugin.c: (_gst_plugin_fault_handler_setup),
2269 (gst_plugin_loading_mutex):
2270 Make static mutex gst_plugin_loading_mutex really static (was never
2271 in any header), and use gst_segtrap_is_enabled() instead of
2272 _gst_disable_segtrap.
2274 * gst/gsttrace.c: (_gst_trace_default):
2275 Make local _gst_trace_default static (was never in any header).
2277 2007-11-06 Tim-Philipp Müller <tim at centricular dot net>
2279 Patch by: Ole André Vadla Ravnås <ole.andre.ravnas@tandberg.com>
2281 * win32/common/libgstbase.def:
2282 * win32/common/libgstcontroller.def:
2283 * win32/common/libgstdataprotocol.def:
2284 * win32/common/libgstnet.def:
2285 * win32/common/libgstreamer.def:
2286 Add more missing symbols, remove some duplicates, and sort
2287 as the 'sort' command sorts it (partially fixes #493983).
2289 2007-11-06 Wim Taymans <wim.taymans@gmail.com>
2291 * gst/gstelement.c: (gst_element_set_state_func):
2292 Only change the state cookie if a different state was set on the
2293 element. See #492729.
2295 2007-11-06 Tim-Philipp Müller <tim at centricular dot net>
2298 Remove unused and uninitialised type variables that were still
2299 exported for some reason (they were never in any header files
2302 2007-11-06 Wim Taymans <wim.taymans@gmail.com>
2304 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
2305 (gst_base_sink_do_sync), (gst_base_sink_preroll_object),
2306 (gst_base_sink_event), (gst_base_sink_get_position_last),
2307 (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
2308 (gst_base_sink_change_state):
2309 Don't try to report a 0 position when we don't know, return -1 and FALSE
2310 instead. This mostly happens when we are prerolling.
2311 Make sure we can report the right position before we post the ASYNC_DONE
2312 message so that a message handler can query position without races.
2314 * tests/check/generic/sinks.c: (send_eos), (GST_START_TEST),
2315 (async_done_handoff), (async_done_func), (send_buffer),
2316 (async_done_eos_func), (gst_sinks_suite):
2317 Add two tests for the above.
2319 2007-11-06 Wim Taymans <wim.taymans@gmail.com>
2322 Update with new email address.
2324 * docs/design/part-TODO.txt:
2325 Add some more info about future pad-block and negotiation changes.
2327 * docs/design/part-buffering.txt:
2328 Add some ideas about buffering reporting.
2330 2007-11-06 Jan Schmidt <jan.schmidt@sun.com>
2332 * tests/check/gst/gstobject.c:
2333 Disable silly racy test that always fails on this combination of CPU
2336 2007-11-03 Tim-Philipp Müller <tim at centricular dot net>
2338 Patch by: Murray Cumming <murrayc@murrayc.com>
2341 Corrected the registration of the parent-set and parent-unset
2342 signals: The parameter is a GstObject, not a GObject (#493134).
2344 2007-11-02 Tim-Philipp Müller <tim at centricular dot net>
2346 * gst/gst_private.h:
2355 Move declaration of private _gst_foo_initialize() functions into
2356 our private header file where they should have been all along.
2358 2007-11-02 Tim-Philipp Müller <tim at centricular dot net>
2360 * docs/plugins/gstreamer-plugins-sections.txt:
2361 * gst/gstdebugutils.h:
2363 * plugins/elements/gstqueue.c:
2364 gtk-doc fixes; trailing-comma-in-enum fix.
2366 2007-11-02 Tim-Philipp Müller <tim at centricular dot net>
2368 * gst/gst.c: (gst_deinit):
2369 Clean up on deinit (not the external ones though, doesn't seem to be
2370 needed for some reason).
2372 2007-11-01 Tim-Philipp Müller <tim at centricular dot net>
2374 * gst/gstinfo.h: (GST_DEBUG_CATEGORY_EXTERN):
2375 Remove __declspec(dllimport) for MSVC that was copied over into core
2376 from a plugin, obviously without ever having been tested (note the
2377 single underscore in _declspec in the initial commit), and that doesn't
2378 really make sense. See #492077.
2380 2007-11-01 Tim-Philipp Müller <tim at centricular dot net>
2382 * gst/gst.c: (init_post):
2383 * gst/gstevent.c: (_gst_event_initialize):
2384 * gst/gstquery.c: (_gst_query_initialize):
2385 * libs/gst/dataprotocol/dataprotocol.c (gst_dp_init):
2386 g_type_class_ref() other types as well, see #349410 and #64764.
2388 * gst/gstbuffer.c: (_gst_buffer_initialize):
2389 * gst/gstmessage.c: (_gst_message_initialize):
2390 Simplify existing g_type_class_ref().
2392 2007-11-01 Tim-Philipp Müller <tim at centricular dot net>
2394 * gst/gstformat.c: (_gst_format_initialize):
2395 g_type_class_ref() our GstFormat type to make sure we avoid the
2396 thread-unsafe bits of the GObject/GType system, ie. bug #349410 and
2397 bug #64764. Should fix intermittent tee unit test failures (#474823).
2399 2007-11-01 Tim-Philipp Müller <tim at centricular dot net>
2401 * tests/check/elements/tee.c: (test_num_buffers):
2402 Simplify, simplify, simplify - or not. Rewrite unit test
2403 not to use gst_parse_launch(); allow N sub-streams. Increasing
2404 the number of sub-streams seems to reproduce #474823 more easily.
2406 2007-10-31 Tim-Philipp Müller <tim at centricular dot net>
2408 Patch by: Ole André Vadla Ravnås <ole.andre.ravnas@tandberg.com>
2411 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_new):
2412 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
2413 * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_new):
2414 Fix a couple of missing includes for MSVC2005 and a C99 issue. Also,
2415 starting with 2.14.0, GLib won't provide a pipe() macro any longer,
2416 so use _pipe() directly (#492077).
2418 * win32/common/dirent.c: (_treaddir):
2419 Add a couple of casts to make it build without warnings with MSVC.
2421 * win32/common/libgstreamer.def:
2422 Add some more symbols that need to be exported.
2424 2007-10-31 Tim-Philipp Müller <tim at centricular dot net>
2426 * tests/examples/metadata/read-metadata.c: (message_loop):
2427 Use _KEEP as merge mode rather than _KEEP_ALL, so tags
2428 arriving in a second or third tag message are added to
2429 the tag list as well.
2431 2007-10-31 Stefan Kost <ensonic@users.sf.net>
2433 * libs/gst/base/gstbasesrc.c:
2434 Its "Since:" and not "@Since:". And remove an superflous cast.
2436 2007-10-30 Wim Taymans <wim.taymans@gmail.com>
2438 * docs/libs/gstreamer-libs-sections.txt:
2439 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
2440 (gst_base_sink_get_last_buffer), (gst_base_sink_set_last_buffer),
2441 (gst_base_sink_get_property), (gst_base_sink_render_object),
2442 (gst_base_sink_preroll_object),
2443 (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
2444 (gst_base_sink_change_state):
2445 * libs/gst/base/gstbasesink.h:
2446 Add a new last-buffer property that contains the last buffer used in
2447 basesink for preroll or rendering. useful for making snapshots.
2448 API: gst_base_sink_get_last_buffer()
2449 API: GstBaseSink::last-buffer
2451 2007-10-29 Stefan Kost <ensonic@users.sf.net>
2453 * docs/gst/running.xml:
2455 * gst/gstdebugutils.c:
2456 * gst/gstdebugutils.h:
2457 * tools/gst-launch.c:
2458 Improve bin graph dumping, by using the envvar to specify a path.
2459 Rename the envvar to GST_DEBUG_DUMP_DOT_DIR.
2461 2007-10-29 Tim-Philipp Müller <tim at centricular dot net>
2463 * plugins/elements/gsttypefindelement.c:
2464 (gst_type_find_element_handle_event),
2465 (gst_type_find_element_activate):
2466 Post special error message if we can't determine the type of a stream
2469 2007-10-29 Stefan Kost <ensonic@users.sf.net>
2471 * docs/gst/running.xml:
2472 * gst/gstdebugutils.c:
2473 Document new env-var. Add one log-line after dumpng a graph.
2475 2007-10-26 Tim-Philipp Müller <tim at centricular dot net>
2478 Ugly hack to put the (recently removed and non-portable, apparently)
2479 -Wl,--export-dynamic back into libgstcheck's LDFLAGS when we're using
2480 GNU ld, because without that 'make check' fails miserably on my debian
2481 stable box. Someone with more knowledge of linker intricacies and
2482 portability issues than me fix this properly please.
2484 2007-10-25 Wim Taymans <wim.taymans@gmail.com>
2486 * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
2487 Reset last seen position after flushing so that we don't report the old
2490 2007-10-25 Jan Schmidt <Jan.Schmidt@sun.com>
2492 * gst/gstelementfactory.c: (gst_element_register):
2494 Patch from Alessandro Decina adding get_type_full and
2495 get_protocols_full private vfuncs to the URIHandler interface
2496 to allow bindings to support creating URI handlers.
2497 Partially fixes: #339279
2498 API: GstURIHandlerInterface::get_type_full
2499 API: GstURIHandlerInterface::get_protocols_full
2501 2007-10-25 Jan Schmidt <Jan.Schmidt@sun.com>
2503 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
2504 (gst_multi_queue_request_new_pad), (gst_single_queue_flush),
2505 (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push):
2506 Make it so that pads are considered linked until a buffer is pushed
2507 and discovered otherwise. This avoids problems with decodebin2 hanging
2508 after a seek in the filesrc ! decodebin2 name=d ! fakesink d. ! fakesink
2511 Make sure we lock the multiqueue when updating the max-size properties.
2513 Fix a crash on Solaris in a debug statement in get_request_pad that
2514 passes a NULL string to GST_DEBUG.
2516 * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
2517 (run_output_order_test):
2518 Fix the test to allow the first buffer on not-linked pads to come out
2519 of sequence while multiqueue discovers that they are not-linked.
2521 2007-10-25 Jan Schmidt <Jan.Schmidt@sun.com>
2524 * libs/gst/check/Makefile.am:
2525 Use a custom export symbol regex for libgstcheck, as it needs
2526 to export symbols that don't match the standard GStreamer gst_*
2527 pattern, and --export-dynamic is not portable (only works on
2530 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
2531 (gst_check_setup_sink_pad):
2532 Make sure to pass a message parameter to the fail_* macros.
2534 * tests/check/gst/gstinfo.c: (GST_START_TEST):
2535 Fix some compiler warnings.
2537 2007-10-25 Tim-Philipp Müller <tim at centricular dot net>
2539 * tests/check/gst/gststructure.c: (test_to_string):
2540 Disable test that checks that white spaces are not allowed
2541 in structure names or field names, since we need to
2542 support that for now for backwards compatibility reasons.
2544 2007-10-24 Tim-Philipp Müller <tim at centricular dot net>
2546 * docs/gst/gstreamer-sections.txt:
2549 API: add GST_TAG_ARTIST_SORTNAME
2550 API: add GST_TAG_ALBUM_SORTNAME
2551 API: add GST_TAG_TITLE_SORTNAME
2552 Add tag variants for sorting (#414539).
2554 2007-10-24 Tim-Philipp Müller <tim at centricular dot net>
2556 * gst/gststructure.c:
2557 Also allow white space for names so we don't break
2558 backwards compatibility.
2560 2007-10-22 Wim Taymans <wim.taymans@gmail.com>
2562 * docs/design/part-TODO.txt:
2563 * docs/design/part-segments.txt:
2564 * docs/design/part-streams.txt:
2567 2007-10-22 Edgard Lima <edgard.lima@indt.org.br>
2569 * docs/gst/gstreamer-sections.txt:
2570 Fixed documentation from my previous commit (added new API add
2571 gst_value_set_structure(), add gst_value_get_structure() and
2572 GST_VALUE_HOLDS_STRUCTURE).
2574 2007-10-22 Stefan Kost <ensonic@users.sf.net>
2576 * gst/gstdebugutils.c:
2577 Reflow code to fix uninitialized variable warning.
2579 2007-10-22 Edgard Lima <edgard.lima@indt.org.br>
2581 * gst/gstcaps.c: (gst_caps_to_string),
2582 (gst_caps_from_string_inplace):
2583 * gst/gststructure.c: (gst_structure_get_abbrs),
2584 (gst_structure_to_string), (gst_structure_from_string):
2585 * gst/gstvalue.c: (gst_value_set_structure),
2586 (gst_value_get_structure), (gst_value_serialize_structure),
2587 (gst_value_deserialize_structure), (_gst_value_initialize):
2589 * tests/check/gst/gststructure.c: (GST_START_TEST),
2590 (gst_structure_suite):
2591 * tests/check/gst/gstvalue.c: (GST_START_TEST):
2592 Added GstStructure to gst_value_table and its related functions.
2593 Changed gst_structure_to_string to print ';' in the end.
2594 Changed gst_caps_to_string to not print ';' beteween its
2595 fields (structures) anymore and remove the lastes ';' from latest
2596 structure. Now it is possible to have nested structures.
2597 In addition, backward compatibilty is assured by accepting '\0' as
2598 end delimiter. Fixes: #487969.
2599 API: add gst_value_set_structure()
2600 API: add gst_value_get_structure()
2601 API: add GST_VALUE_HOLDS_STRUCTURE
2603 2007-10-19 Tim-Philipp Müller <tim at centricular dot net>
2606 When no GSource callback has been set up, tell developer
2607 to use a function that actually exists.
2609 2007-10-17 Stefan Kost <ensonic@users.sf.net>
2611 * docs/gst/gstreamer-sections.txt:
2615 * gst/gstdebugutils.c:
2616 * gst/gstdebugutils.h:
2619 * tools/gst-launch.c:
2620 Allow dumping pipelines as dot graphs. Fixes #456573.
2622 2007-10-16 Tim-Philipp Müller <tim at centricular dot net>
2624 * gst/gststructure.c:
2625 Allow '+' as well, it can be part of media or mime types
2626 such as image/svg+xml.
2628 2007-10-16 Tim-Philipp Müller <tim at centricular dot net>
2630 * docs/gst/gstreamer-sections.txt:
2633 API: add gst_bus_pop_filtered
2634 API: add gst_bus_timed_pop_filtered
2635 Two new functions for waiting for specific message types on the
2636 bus for a specified amount of time without iterating any main
2637 loops or main contexts.
2639 * tests/check/gst/gstbus.c:
2640 Some tests for the new functions.
2642 2007-10-16 Tim-Philipp Müller <tim at centricular dot net>
2644 * docs/libs/gstreamer-libs-sections.txt:
2645 Make gtk-doc ignore stuff it should ignore.
2647 2007-10-16 Tim-Philipp Müller <tim at centricular dot net>
2649 * libs/gst/check/gstcheck.c:
2650 * libs/gst/check/gstcheck.h:
2651 Allow runtime selection of unit tests to run via the GST_CHECKS
2652 environment variable (test case function names, comma-separated).
2654 2007-10-16 Stefan Kost <ensonic@users.sf.net>
2656 * gst/gststructure.c:
2657 * tests/check/gst/gststructure.c:
2658 Revert serialisation change and constrain structure-names after
2659 consensus on irc. Update api documentation to reflect the change.
2661 2007-10-16 Stefan Kost <ensonic@users.sf.net>
2663 * gst/gststructure.c:
2664 Improve serialization and fix tests.
2666 * tests/check/gst/gststructure.c:
2667 Add another test that covers why I actually did the previous structure
2670 2007-10-15 Wim Taymans <wim.taymans@gmail.com>
2672 * tools/gst-inspect.c: (print_element_info):
2673 Don't crash when inspecting an element.
2675 2007-10-15 Tim-Philipp Müller <tim at centricular dot net>
2677 * tests/check/gst/gststructure.c:
2678 Add unit test for escaping of structure name when serialising
2679 and deserialising to/from strings.
2681 2007-10-15 Wim Taymans <wim.taymans@gmail.com>
2683 * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
2684 (gst_single_queue_new):
2685 * plugins/elements/gstqueue.c: (gst_queue_init),
2686 (gst_queue_push_one):
2687 Fix queue negotiation. If acceptcaps unconditionally returns TRUE,
2688 upstream is tricked into thinking it can suggest a format downstream
2689 while downstream does not support that format. The real problem is that
2690 core calls acceptcaps when pushing a buffer with new caps, for which we
2691 do a little workaround by setting the caps on the srcpad ourselves
2692 before pushing the buffer (until this is figured out). Fixes #486758.
2694 2007-10-15 Stefan Kost <ensonic@users.sf.net>
2696 * gst/gststructure.c:
2698 Add some more comments and debug output. Quote structure name to fix
2699 deserialisation of some strings.
2701 2007-10-15 Stefan Kost <ensonic@users.sf.net>
2704 Define GST_BUFFER_FLAG_GAP more strictly to enable optimizations based
2705 on it. Fix docs for GST_BUFFER_MALLOCDATA and GstBuffer.malloc_data.
2707 2007-10-15 Stefan Kost <ensonic@users.sf.net>
2709 * tools/gst-inspect.c:
2710 Save approx. 400 1 byte allocs when printing. Use API to acces element
2716 * tools/gst-xmlinspect.c:
2717 Use API to acces element details.
2719 2007-10-15 Stefan Kost <ensonic@users.sf.net>
2722 Fix some spelling errors.
2724 2007-10-14 Wim Taymans <wim.taymans@gmail.com>
2726 * gst/gstbin.c: (bin_handle_async_done):
2727 Correctly set the next state if all of our async children commited their
2728 state. This makes sure we can actually cancel the state change in
2729 progress. Fixes a regression in Rhythmbox when seeking.
2731 2007-10-13 Tim-Philipp Müller <tim at centricular dot net>
2734 Don't shadow local variable.
2737 Don't shadow global function name.
2739 2007-10-13 Tim-Philipp Müller <tim at centricular dot net>
2741 * gst/gstelementfactory.c:
2742 * gst/gstpluginfeature.c:
2743 * gst/gstpluginfeature.h:
2744 * gst/gstregistrybinary.c:
2745 * gst/gstregistryxml.c:
2746 * gst/gsttypefind.c:
2747 Use already-interned string for the private GstPluginFeature
2750 2007-10-10 Tim-Philipp Müller <tim at centricular dot net>
2752 * docs/libs/gstreamer-libs-sections.txt:
2753 Add new API to docs; fixes the build.
2755 2007-10-10 Wim Taymans <wim.taymans@gmail.com>
2757 Patch inspired by: Benoit Fouet <benoit dot fouet at purplelabs dot com>
2759 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_eos),
2760 (gst_base_sink_event):
2761 * libs/gst/base/gstbasesink.h:
2762 Add function to wait for EOS, subclasses can use this to correctly wait
2763 for devices to drain before performing the EOS logic. Fixes #485343.
2764 API: gst_base_sink_wait_eos()
2766 2007-10-10 Tim-Philipp Müller <tim at centricular dot net>
2769 Cast description string constants in GST_PLUGIN_DEFINE macros
2770 to a (gchar*) to make C++ code using these macros compile
2771 without warning with g++-4.2 (see #462737). Even if slightly
2772 ugly, this seems preferable to putting the description strings
2773 into the GLib quark table or making the structure member a
2774 const gchar * and doing casts in core code that allocs and
2775 frees these strings, or requiring a cast in the C++ code.
2777 2007-10-09 Tim-Philipp Müller <tim at centricular dot net>
2780 Use __FUNCTION__ instead of __PRETTY_FUNCTION__, it's silly
2781 to print the entire class/function signature into the log
2782 file for C++ code. This only affects C++ code, for C code
2783 everything remains the same.
2785 2007-10-09 Wim Taymans <wim.taymans@gmail.com>
2787 * gst/gstbin.c: (remove_from_queue):
2788 Work around a problem with pipelines containing (semi)loops until a
2789 proper, more complicated solution is ready. See #475455.
2791 2007-10-09 Tim-Philipp Müller <tim at centricular dot net>
2795 * gst/gstregistrybinary.c:
2796 * gst/gstregistryxml.c:
2797 Put more strings into the GLib quark table. No need to keep
2798 a hundred-something copies of identical version strings,
2799 license strings, package name strings and package origin
2802 2007-10-09 Tim-Philipp Müller <tim at centricular dot net>
2804 * docs/manual/advanced-dataaccess.xml:
2805 Don't imply that it's okay to unconditionally change
2806 buffer data or buffer metadata in a pad probe callback,
2807 and a bunch of other comments. Fixes #430031.
2809 2007-10-08 Tim-Philipp Müller <tim at centricular dot net>
2811 * win32/common/gstenumtypes.c:
2812 * win32/common/gstenumtypes.h:
2813 * win32/common/gstversion.h:
2814 Update generated files.
2816 2007-10-08 Tim-Philipp Müller <tim at centricular dot net>
2818 * docs/manual/advanced-autoplugging.xml:
2819 Prefix section with broken code with a warning (see #342432).
2821 2007-10-08 Tim-Philipp Müller <tim at centricular dot net>
2823 * docs/manual/appendix-integration.xml:
2824 * docs/manual/basics-init.xml:
2825 Call g_thread_init() before g_option_context_new() to
2826 avoid warnings. Spotted by Ritesh Khadgaray. Fixes #484225.
2828 2007-10-08 Wim Taymans <wim.taymans@gmail.com>
2830 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
2831 (gst_base_sink_queue_object_unlocked),
2832 (gst_base_sink_queue_object), (gst_base_sink_event),
2833 (gst_base_sink_needs_preroll), (gst_base_sink_chain_unlocked):
2834 When we received EOS and are waiting for when to post the EOS message,
2835 our state is prerolled and we should not return ASYNC.
2836 Reorganize some code paths to implement this behavior.
2838 * tests/check/generic/sinks.c: (send_eos), (GST_START_TEST),
2840 Add unit test to verify above EOS fix.
2842 2007-10-08 Wim Taymans <wim.taymans@gmail.com>
2844 * plugins/elements/gsttypefindelement.c:
2845 (gst_type_find_element_have_type), (gst_type_find_element_init),
2846 (gst_type_find_element_setcaps), (gst_type_find_element_chain):
2847 Move detecting the input caps of the sinkpad to the setcaps function.
2848 This allows us to update the output caps when we receive new input caps
2849 instead of always using the first detected caps.
2851 2007-10-08 Wim Taymans <wim.taymans@gmail.com>
2853 * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
2854 (gst_base_sink_get_position):
2855 Don't try to preroll non-async elements after a flush.
2856 Subtract latency form clock times when reporting position.
2858 2007-10-05 Wim Taymans <wim.taymans@gmail.com>
2860 * gst/gstpad.c: (gst_pad_pause_task):
2862 Small comment and documentation update.
2864 2007-10-05 Wim Taymans <wim.taymans@gmail.com>
2866 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
2867 (gst_base_src_set_live), (gst_base_src_is_live),
2868 (gst_base_src_query_latency), (gst_base_src_perform_seek),
2869 (gst_base_src_default_event), (gst_base_src_wait),
2870 (gst_base_src_do_sync), (gst_base_src_get_range),
2871 (gst_base_src_pad_get_range), (gst_base_src_loop),
2872 (gst_base_src_unlock), (gst_base_src_unlock_stop),
2873 (gst_base_src_set_flushing), (gst_base_src_set_playing),
2874 (gst_base_src_activate_push), (gst_base_src_activate_pull),
2875 (gst_base_src_change_state):
2876 Rework the locking of basesrc in a similar fashion to basesink. We
2877 basically have one lock (LIVE_LOCK) protecting the dataflow. This allows
2878 us to handle live sources and semi live ones much better.
2880 Fix unlocking when seeking, shutting down and pausing in live sources.
2882 2007-10-05 Wim Taymans <wim.taymans@gmail.com>
2884 * tests/check/pipelines/simple-launch-lines.c: (run_pipeline):
2885 Fix compilation again.
2887 2007-10-03 Stefan Kost <ensonic@users.sf.net>
2890 Use meaningful categories for the logs to clean the default one.
2892 2007-10-03 Stefan Kost <ensonic@users.sf.net>
2894 * tests/check/pipelines/cleanup.c:
2895 Print message name and not just number.
2897 2007-10-03 Stefan Kost <ensonic@users.sf.net>
2899 * docs/design/draft-tagreading.txt:
2900 Add some more thoughts.
2902 2007-10-03 Stefan Kost <ensonic@users.sf.net>
2904 * tests/check/pipelines/simple-launch-lines.c:
2905 Print message name and not just number.
2907 2007-10-03 Stefan Kost <ensonic@users.sf.net>
2909 * libs/gst/base/gsttypefindhelper.c:
2910 Speedup typefinding. This is work in progress (see #459862).
2912 2007-10-03 Stefan Kost <ensonic@users.sf.net>
2915 Fix docs that mention 'plugin_desc' instead of 'gst_plugin_desc'.
2916 Spotted by Josep Torra Valles <josep@fluendo.com>.
2918 2007-10-03 Tim-Philipp Müller <tim at centricular dot net>
2921 Fix up broken GST_CLOCK_FLAGS macro and GstClock docs. The flags
2922 field has moved to GstObject.
2924 2007-10-02 Wim Taymans <wim.taymans@gmail.com>
2926 * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync),
2927 (gst_base_src_get_range), (gst_base_src_change_state):
2928 Call unlock for live sources so that they can't get stuck in _create and
2929 produce a buffer before they are set back to PLAYING.
2931 2007-10-02 Edward Hervey <bilboed@bilboed.com>
2933 * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
2934 (gst_queue_locked_dequeue):
2935 Comment the segment-related code... in the PROPER function.
2936 See #482147 and my commit from yesterday.
2938 2007-10-01 Wim Taymans <wim.taymans@gmail.com>
2940 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
2941 Also initialize the counter that calculates the first timestamp on a
2942 buffer correctly for non-live sources.
2944 2007-10-01 Edward Hervey <bilboed@bilboed.com>
2946 * plugins/elements/gstqueue.c: (gst_queue_locked_dequeue):
2947 Disable code that's breaking the current-time-level reporting.
2950 2007-09-30 Sebastian Dröge <slomo@circular-chaos.org>
2952 * docs/gst/gstreamer-sections.txt:
2953 Add M_PI and IMPORT_SYMBOL to the private part of the GstInfo section
2954 as they shouldn't show up. Fixes the docs build.
2956 2007-09-29 Sebastien Moutte <sebastien@moutte.net>
2959 Add an explicit variable importation needed on VS6 (only for MSC_VER)
2960 Define M_PI which is used in files which are including gstinfo.h.
2961 VS6 includes doesn't define it.
2962 * win32/common/libgstbase.def:
2963 * win32/common/libgstcontroller.def:
2964 * win32/common/libgstreamer.def:
2965 Add new exported functions and variables.
2966 * win32/vs6/libgstcontroller.dsp:
2967 * win32/vs6/libgstreamer.dsp:
2968 Update the list of files to build.
2970 2007-09-28 Wim Taymans <wim.taymans@gmail.com>
2972 Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
2974 * plugins/elements/gstqueue.c: (update_time_level), (apply_buffer),
2975 (gst_queue_locked_dequeue), (gst_queue_handle_sink_event),
2976 (gst_queue_chain), (gst_queue_loop), (gst_queue_src_activate_push):
2977 Improve debugging. Fixes #480858.
2979 2007-09-28 Wim Taymans <wim.taymans@gmail.com>
2981 Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
2983 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
2984 First patch of code cleanups, use the macros and right arguments in the
2985 macros to signal and lock the queue. See #480858.
2987 2007-09-26 Wim Taymans <wim.taymans@gmail.com>
2989 * gst/gstbus.c: (poll_func):
2990 Improve debugging when dealing with _poll().
2992 2007-09-26 Tim-Philipp Müller <tim at centricular dot net>
2994 * gst/gstregistryxml.c:
2995 Fix memory leak I introduced a few days ago.
2997 2007-09-26 Michael Smith <msmith@fluendo.com>
2999 * gst/gstbuffer.c: (gst_buffer_finalize):
3000 Make it once again possible to free GstBuffers in the default
3002 The poisoning scribbles on parts of the miniobject we need in
3006 2007-09-25 Tim-Philipp Müller <tim at centricular dot net>
3008 * docs/gst/gstreamer-sections.txt:
3011 API: add GST_TAG_COMPOSER, fixes #459809.
3013 2007-09-24 Sebastian Dröge <slomo@circular-chaos.org>
3017 Add the 3-clause BSD license and the MIT/X11 license to the license
3018 list. Fixes #479784.
3020 2007-09-24 Tim-Philipp Müller <tim at centricular dot net>
3022 * docs/faq/getting.xml:
3023 Add Q+A about different GStreamer versions (#364056).
3025 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
3027 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
3028 (gst_base_sink_event), (gst_base_sink_change_state):
3029 Return correct gboolean from query function.
3031 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
3033 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
3034 (gst_base_sink_event), (gst_base_sink_query),
3035 (gst_base_sink_change_state):
3036 Simplify latency query.
3037 When not synchronizing, we can report latency without querying the peer
3040 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
3044 Fix small typos in the docs.
3046 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
3048 * docs/design/draft-latency.txt:
3049 * docs/design/draft-push-pull.txt:
3050 * docs/design/draft-tagreading.txt:
3051 * docs/design/part-MT-refcounting.txt:
3052 * docs/design/part-activation.txt:
3053 * docs/design/part-block.txt:
3054 * docs/design/part-element-source.txt:
3055 * docs/design/part-events.txt:
3056 * docs/design/part-gstbin.txt:
3057 * docs/design/part-gstelement.txt:
3058 * docs/design/part-gstobject.txt:
3059 * docs/design/part-gstpipeline.txt:
3060 * docs/design/part-messages.txt:
3061 * docs/design/part-preroll.txt:
3062 * docs/design/part-push-pull.txt:
3063 * docs/design/part-qos.txt:
3064 * docs/design/part-query.txt:
3065 * docs/design/part-scheduling.txt:
3066 * docs/design/part-seeking.txt:
3067 * docs/design/part-segments.txt:
3068 * docs/design/part-states.txt:
3069 Documentation updates and typo fixes.
3071 2007-09-23 Tim-Philipp Müller <tim at centricular dot net>
3073 * plugins/elements/gstfakesink.c:
3074 Add some debug text to error message to indicate that
3075 we errored out on request.
3077 * tools/gst-launch.c:
3078 When the state change to PLAYING fails, check for an
3079 error message on the bus and print it.
3081 2007-09-22 Thomas Vander Stichele <thomas at apestaart dot org>
3083 translated by: Jorge González González <aloriel@gmail.com>
3087 Added Spanish translation.
3089 2007-09-21 Wim Taymans <wim.taymans@gmail.com>
3091 * plugins/elements/gstqueue.c: (gst_queue_push_one):
3092 Fix printf arguments.
3094 2007-09-20 Stefan Kost <ensonic@users.sf.net>
3096 * tests/check/generic/states.c:
3097 Improved state change unit test.
3099 2007-09-20 Stefan Kost <ensonic@users.sf.net>
3102 Move priv to the right place.
3104 * gst/gstsystemclock.c:
3105 Add FIXME: and improve log.
3107 * tests/check/Makefile.am:
3108 * tests/examples/manual/Makefile.am:
3109 Work with all types of registries.
3111 2007-09-19 Wim Taymans <wim.taymans@gmail.com>
3113 * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
3114 Don't unref the event after pushing it. Fixes #478401.
3116 2007-09-19 Stefan Kost <ensonic@users.sf.net>
3119 * tests/examples/manual/.cvsignore:
3120 Ignore registries in any format.
3122 2007-09-19 Tim-Philipp Müller <tim at centricular dot net>
3124 * gst/glib-compat-private.h:
3125 Add compatibility macro for g_intern_string() for
3126 GLib-2.8 (any reason we can't just bump the
3127 requirement to at least 2.10?)
3129 * gst/gstpadtemplate.h:
3130 * gst/gstelementfactory.c:
3131 * gst/gstregistryxml.c:
3132 * gst/gstregistrybinary.c:
3133 Make GstStaticPadTemplate's templ_name field a const gchar * and fix
3134 up the internal code accordingly. This shouldn't be a problem, since
3135 there is no reason external code could ever assume the string in such
3136 a structure is dynamically allocated unless it did that itself; the
3137 use of g_strdup() is private to element factories. The new code also
3138 saves some memory by putting pad template name strings into the GLib
3139 quark table instead of allocating them dynamically.
3140 Declaring this field constant fixes warnings with g++-4.2 when using
3141 the GST_STATIC_PAD_TEMPLATE macro in c++ code (#478092).
3143 2007-09-19 Stefan Kost <ensonic@users.sf.net>
3145 * gst/gstelementfactory.c:
3146 Release static caps. Fixes #475723.
3148 2007-09-18 Tim-Philipp Müller <tim at centricular dot net>
3152 Make some internal API take const gchar * instead of just
3153 gchar * to avoid compiler warnings with g++-4.2.2 when
3154 passing string constants (partially fixes #478092).
3156 2007-09-17 Wim Taymans <wim.taymans@gmail.com>
3158 * gst/gstbin.c: (bin_query_latency_fold), (gst_bin_query):
3159 A latency query fails when one of the sinks fail.
3161 * gst/gstelement.c: (gst_element_set_base_time):
3164 2007-09-17 Jan Schmidt - Sun Microsystems <jan.schmidt@sun.com>
3166 * gst/gstbin.c: (gst_bin_continue_func):
3167 * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
3168 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad_full):
3169 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_loop):
3171 Fix minor compilation warnings shown with Forte.
3173 2007-09-17 Wim Taymans <wim.taymans@gmail.com>
3175 * plugins/elements/gstqueue.c: (apply_buffer),
3176 (gst_queue_locked_enqueue), (gst_queue_locked_dequeue):
3177 Measure queue level based on the diff between head and tail timestamps
3178 even when pushing the first buffer.
3180 2007-09-14 Wim Taymans <wim.taymans@gmail.com>
3182 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
3183 (gst_base_sink_event), (gst_base_sink_change_state):
3184 Sinks that don't preroll can always be queried for the latency.
3185 Don't post ASYNC start when we are not async.
3187 2007-09-14 Wim Taymans <wim.taymans@gmail.com>
3189 * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
3190 (gst_queue_handle_sink_event), (gst_queue_chain),
3191 (gst_queue_push_one), (gst_queue_handle_src_query),
3192 (gst_queue_sink_activate_push), (gst_queue_src_activate_push):
3193 * plugins/elements/gstqueue.h:
3194 When downstream returns UNEXPECTED from pushing a buffer, don't try to
3195 push more buffers but allow pushing of EOS and NEWSEGMENT.
3196 Add some more debug info here and there. Fixes #476514.
3198 2007-09-14 Wim Taymans <wim.taymans@gmail.com>
3200 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
3201 (gst_base_sink_preroll_queue_flush), (gst_base_sink_commit_state),
3202 (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
3203 (gst_base_sink_set_flushing), (gst_base_sink_query),
3204 (gst_base_sink_change_state):
3205 Latency query is allowed after we are prerolled. Introduce a new flag
3206 for this and stop abusing other variables.
3208 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
3210 * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
3211 Push OOB events downstream when we get them in send_event. This allows
3212 the application to insert events in the pipeline.
3213 Add some more comments.
3215 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
3217 * gst/gstbin.c: (gst_bin_class_init), (clear_queue),
3218 (do_bin_latency), (gst_bin_change_state_func):
3219 * gst/gstpipeline.c: (gst_pipeline_change_state):
3220 Move latency query from GstPipeline to GstBin so that we can also
3221 use it when async-handling is enabled on bins.
3223 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
3225 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
3226 (gst_base_src_do_sync), (gst_base_src_change_state):
3228 Clean up the timestamping and syncing code for pseudo live sources.
3230 2007-09-13 Tim-Philipp Müller <tim at centricular dot net>
3232 Patch by: Steve Fink <sphink gmail com>
3234 * docs/manual/appendix-checklist.xml:
3235 Mention less -R switch in the section about debug output (#474055).
3237 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
3239 * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
3240 Queue can latency to the pipeline up to the configured max size in time.
3241 Report this fact in the latency query.
3243 2007-09-13 Sebastian Dröge <slomo@circular-chaos.org>
3245 Patch by: Sebastien Moutte <sebastien at moutte dot net>
3247 * libs/gst/controller/gstinterpolation.c:
3248 * libs/gst/controller/gstlfocontrolsource.c:
3249 Use gst_guint64_to_gdouble() when converting from a uint64 or
3250 GstClockTime to double to fix the build on win32. Fixes #474371.
3252 2007-09-13 Sebastian Dröge <slomo@circular-chaos.org>
3254 * gst/gstbuffer.c: (gst_buffer_finalize):
3255 Implement poisoning for GstBuffer if --enable-poisoning is specified.
3256 When finalizing a buffer the complete struct is filled with 0xff,
3257 thus making a use of the buffer after the final unref impossible.
3259 2007-09-13 Sebastian Dröge <slomo@circular-chaos.org>
3261 * tests/check/libs/controller.c: (GST_START_TEST):
3262 Use fail_unless_equals_int(a, b) instead of
3263 fail_unless_equals (a == b) to get better output on failures.
3265 2007-09-12 Tim-Philipp Müller <tim at centricular dot net>
3267 * tests/check/gst/gsturi.c:
3268 Also check for the other file URI variant on win32.
3270 2007-09-12 Tim-Philipp Müller <tim at centricular dot net>
3272 * gst/gsturi.c: (gst_uri_get_location):
3273 If there's no hostname, we want to return 'c:/foo/bar.txt'
3274 and not '/c:/foo/bar.txt' on Windows. Fixes #469402.
3276 * tests/check/gst/gsturi.c:
3277 Unit test for the above and a few more things.
3279 2007-09-11 Wim Taymans <wim.taymans@gmail.com>
3281 * docs/design/part-live-source.txt:
3282 Add docs on how live sources should timestamp.
3284 * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
3285 Add some more debug info.
3286 For subclasses that are live and like to sync, add aditional startup
3287 latency to sync time and timestamps so that we timstamp according to the
3290 2007-09-11 Tim-Philipp Müller <tim at centricular dot net>
3293 Also do a g_type_class_ref() for the subbuffer type in
3296 2007-09-11 Wim Taymans <wim.taymans@gmail.com>
3298 * docs/gst/gstreamer-sections.txt:
3299 * gst/gstpad.c: (gst_pad_peer_query):
3301 Add function to perform a query on the peer of a pad.
3302 API: gst_pad_peer_query()
3304 2007-09-11 Stefan Kost <ensonic@users.sf.net>
3306 * tests/check/gst/gstsystemclock.c:
3307 Cleanup the test a little (use gst-logging and not g_message). Improve
3308 test to check if a wait reached the target.
3310 2007-09-11 Tim-Philipp Müller <tim at centricular dot net>
3312 * docs/libs/gstreamer-libs-sections.txt:
3313 Add new API to docs and fix the build.
3315 2007-09-10 Wim Taymans <wim.taymans@gmail.com>
3317 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
3318 (gst_base_src_init), (gst_base_src_set_do_timestamp),
3319 (gst_base_src_get_do_timestamp), (gst_base_src_set_property),
3320 (gst_base_src_get_property), (gst_base_src_do_sync):
3321 * libs/gst/base/gstbasesrc.h:
3322 Add property to make the basesrc timestamp buffers based on the current
3324 API: GstBaseSrc::do-timestamp
3325 API: gst_base_src_set_do_timestamp()
3326 API: gst_base_src_get_do_timestamp()
3328 2007-09-08 Tim-Philipp Müller <tim at centricular dot net>
3330 * docs/random/release:
3331 Really make sure translations are up-to-date before
3332 a release (#465010).
3334 2007-09-07 Sebastian Dröge <slomo@circular-chaos.org>
3336 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
3337 Always destroy the timer, also in error cases.
3339 2007-09-05 Wim Taymans <wim.taymans@gmail.com>
3341 * docs/manual/highlevel-xml.xml:
3342 Fix XML example code. Fixes #472714.
3344 2007-09-05 Wim Taymans <wim.taymans@gmail.com>
3346 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
3347 (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
3348 (gst_base_sink_query):
3349 Protect eos and have_preroll with the OBJECT lock so we don't need to
3350 take the PREROLL lock when querying the latency. Fixes #473846.
3352 2007-09-05 Stefan Kost <ensonic@users.sf.net>
3355 Give some log-messages a category.
3357 2007-09-04 Wim Taymans <wim.taymans@gmail.com>
3359 * gst/gststructure.c:
3360 (gst_structure_fixate_field_nearest_fraction):
3361 Fix fraction list fixation code. Take the fraction with the smallest
3362 difference with the target instead of the first one in the list.
3364 * tests/check/gst/gststructure.c: (GST_START_TEST),
3365 (gst_structure_suite):
3366 Added test to verify correct fraction list fixation behaviour.
3368 2007-09-02 Tim-Philipp Müller <tim at centricular dot net>
3370 * win32/common/libgstreamer.def:
3371 Export gst_bus_add_signal_watch too.
3373 2007-08-30 Wim Taymans <wim.taymans@gmail.com>
3375 * docs/libs/gstreamer-libs-sections.txt:
3376 Add new methods to docs.
3378 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
3379 (gst_base_sink_init), (gst_base_sink_set_ts_offset),
3380 (gst_base_sink_get_ts_offset), (gst_base_sink_set_property),
3381 (gst_base_sink_get_property), (gst_base_sink_wait_clock):
3382 * libs/gst/base/gstbasesink.h:
3383 Add ts-offset property to fine-tune the synchronisation.
3384 API: GstBaseSink::ts-offset property
3385 API: gst_base_sink_set_ts_offset()
3386 API: gst_base_sink_get_ts_offset()
3388 2007-08-29 Wim Taymans <wim.taymans@gmail.com>
3390 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
3391 (gst_base_sink_init), (gst_base_sink_set_sync),
3392 (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
3393 (gst_base_sink_get_max_lateness), (gst_base_sink_set_qos_enabled),
3394 (gst_base_sink_is_qos_enabled), (gst_base_sink_set_async_enabled),
3395 (gst_base_sink_is_async_enabled), (gst_base_sink_set_property),
3396 (gst_base_sink_get_property), (gst_base_sink_change_state):
3397 * libs/gst/base/gstbasesink.h:
3398 Add async property to instruct the sink never to inform the parent about
3399 ASYNC state changes, update docs.
3400 Check argument with g_return_* for the public functions.
3401 API: GstBaseSink::async property
3402 API: gst_base_sink_set_async_enabled()
3403 API: gst_base_sink_is_async_enabled()
3405 2007-08-28 Wim Taymans <wim.taymans@gmail.com>
3407 * libs/gst/base/gstbasesink.c: (gst_base_sink_loop):
3410 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
3411 (gst_base_src_default_query), (gst_base_src_wait),
3412 (gst_base_src_do_sync), (gst_base_src_change_state):
3413 Rearrange some code so that we can add support for measuring the
3416 2007-08-27 Stefan Kost <ensonic@users.sf.net>
3418 * docs/random/ensonic/dynlink.txt:
3419 More thoughs on this.
3421 * plugins/elements/gstcapsfilter.c:
3422 Add bugzilla ticket number to FIXME comment.
3424 2007-08-24 Wim Taymans <wim.taymans@gmail.com>
3426 * docs/design/part-TODO.txt:
3427 * docs/design/part-block.txt:
3430 2007-08-24 Jan Schmidt <thaytan@mad.scientist.com>
3433 Revert patch which uses $(gst_headers) instead of $^ because it
3436 2007-08-24 Jan Schmidt <thaytan@mad.scientist.com>
3438 * tests/check/gst/gstbin.c: (GST_START_TEST):
3439 Fix leaks in the new unit test.
3441 2007-08-23 Tim-Philipp Müller <tim at centricular dot net>
3444 Don't use GST_INFO before the debug system is actually initialised
3445 (shouldn't do any harm, but won't print anything either, so we can
3446 just as well remove it).
3449 GST_CAT_LEVEL_LOG_valist(), which is our inline helper function for
3450 compilers that don't support variadic macros (such as MSVC), should
3451 check for debug_level <= __gst_debug_min as well, since that's the
3452 function called from all the level-specific GST_CAT_*_LOG_OBJECT()
3453 inline helper functions. Should improve performance a bit, but also
3454 makes sure uses of GST_INFO et.al are ignored if the debugging
3455 system isn't initialised yet (instead of printing an assertion
3458 2007-08-23 Stefan Kost <ensonic@users.sf.net>
3460 patch by: David Nečas <yeti@physics.muni.cz>
3463 Replace some non portable makefile constructs.
3465 2007-08-21 Stefan Kost <ensonic@users.sf.net>
3467 * common/gtk-doc-plugins.mak:
3468 Grrrrr. Don't remove the types file on make clean.
3470 2007-08-20 Wim Taymans <wim.taymans@gmail.com>
3472 * tools/gst-launch.1.in:
3473 Add colorspace to example pipeline. Fixes #458274.
3475 2007-08-20 Tim-Philipp Müller <tim at centricular dot net>
3477 * docs/random/release:
3478 The release manager should run 'make download-po' before making a
3479 release to make sure translations are up-to-date.
3485 Add some new translations.
3487 2007-08-17 Wim Taymans <wim.taymans@gmail.com>
3489 * tools/gst-launch.c: (event_loop), (main):
3490 Don´t try to do any state management when a live pipeline posts
3492 Also make the buffering string translatable.
3494 2007-08-16 Wim Taymans <wim.taymans@gmail.com>
3496 * gst/gstbin.c: (is_eos), (gst_bin_add_func),
3497 (bin_handle_async_start), (gst_bin_handle_message_func):
3499 When adding elements, insert messages into the bus of the newly added
3500 element and make sure the element is the source of the message. This
3501 allows the parent bin to intercept the message and do the
3502 right thing. It also avoids us posting ASYNC_START and CLOCK_PROVIDE
3503 messages to the app (which is not allowed).
3506 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
3507 Fix testsuite so that is does not work around messages that should not
3508 have been posted in the first place.
3510 2007-08-16 Wim Taymans <wim.taymans@gmail.com>
3512 * gst/gstbin.c: (add_to_queue), (remove_from_queue), (clear_queue),
3513 (update_degree), (gst_bin_sort_iterator_next):
3514 Fix annoying bug in the sorted iterator where a sink that is not really
3515 a sink (when it has downstream links) screwed up the iterator.
3517 * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
3518 Unit test to verify the fix.
3520 2007-08-16 Wim Taymans <wim.taymans@gmail.com>
3523 Add some more docs for the messages.
3525 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
3526 (gst_base_sink_query):
3527 Add some more debugging.
3529 * tools/gst-launch.c: (event_loop):
3530 When interrupting, don't try to set pipeline to PAUSED twice.
3532 2007-08-14 Wim Taymans <wim.taymans@gmail.com>
3535 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_element_set_state),
3536 (bin_handle_async_start), (gst_bin_handle_message_func):
3537 Move ASYNC_START message posting to where it belongs, similar to
3539 Don't post ASYNC_START when we are in error.
3540 Post ASYNC_START when we added an async element to a bin.
3542 2007-08-14 Julien MOUTTE <julien@moutte.net>
3544 * gst/gstindex.c: (gst_index_add_association): Fix index entry
3545 generation from vargs. Fixes #466595.
3547 2007-08-14 Wim Taymans <wim.taymans@gmail.com>
3549 * gst/gstbin.c: (gst_bin_element_set_state):
3550 Always change the state of a NO_PREROLL element even if it has ASYNC
3551 elements inside (in case of a bin).
3553 * tests/check/generic/sinks.c: (GST_START_TEST), (gst_sinks_suite):
3554 Unit test for this case.
3556 2007-08-13 Stefan Kost <ensonic@users.sf.net>
3558 * libs/gst/check/gstbufferstraw.c:
3559 * libs/gst/check/gstcheck.h:
3560 * libs/gst/controller/gstcontroller.c:
3561 * libs/gst/controller/gstcontrolsource.h:
3562 * libs/gst/controller/gstlfocontrolsource.h:
3563 * plugins/elements/gstcapsfilter.h:
3564 * plugins/elements/gstfdsink.h:
3565 * plugins/elements/gstfdsrc.h:
3566 Add more missing docs.
3568 2007-08-12 Wim Taymans <wim.taymans@gmail.com>
3570 * gst/gststructure.c:
3571 Add Since tag to docs.
3573 2007-08-12 Wim Taymans <wim.taymans@gmail.com>
3575 * docs/gst/gstreamer-sections.txt:
3576 * gst/gststructure.c: (gst_structure_get_uint):
3577 * gst/gststructure.h:
3578 Add function to get uint from a structure.
3579 API: gst_structure_get_uint()
3581 2007-08-12 Wim Taymans <wim.taymans@gmail.com>
3583 * gst/gstcaps.c: (gst_caps_set_simple_valist),
3584 (gst_caps_intersect):
3585 Fix proper check for simple caps.
3587 2007-08-10 Stefan Kost <ensonic@users.sf.net>
3589 * docs/gst/Makefile.am:
3590 * docs/libs/Makefile.am:
3591 Remove cruft and do some cleanups.
3593 * docs/gst/gstreamer-docs.sgml:
3594 * docs/libs/gstreamer-libs-docs.sgml:
3595 Prepare for comming gtkdoc features (rebase against online docs).
3597 2007-08-10 Michael Smith <msmith@fluendo.com>
3599 * docs/gst/gstreamer-sections.txt:
3600 Add gst_registry_add_path to docs.
3602 2007-08-10 Michael Smith <msmith@fluendo.com>
3604 * gst/gstregistry.h:
3605 Add gst_registry_add_path, which was missing from this header.
3607 2007-08-10 Tim-Philipp Müller <tim at centricular dot net>
3609 * libs/gst/controller/gstlfocontrolsource.c:
3612 2007-08-09 Philippe Kalaf <philippe.kalaf@collabora.co.uk>
3614 * libs/gst/base/gstbasesink.c:
3615 Don't send an async_start message during downwards state change if
3616 target state is less than READY
3618 2007-08-09 Thomas Vander Stichele <thomas at apestaart dot org>
3620 translated by: Gabor Kelemen <kelemeng@gnome.hu>
3624 Added Hungarian translation.
3626 2007-08-09 Thomas Vander Stichele <thomas at apestaart dot org>
3633 Updated translations.
3635 2007-08-07 Jan Schmidt <thaytan@mad.scientist.com>
3637 * libs/gst/controller/Makefile.am:
3638 Dist gstlfocontrolsourceprivate.h
3640 2007-08-07 Jan Schmidt <thaytan@mad.scientist.com>
3642 * docs/libs/gstreamer-libs.types:
3643 Don't register the enum type gst_lfo_waveform_get_type() in the
3644 .types file - only GObject derived types belong.
3646 2007-08-07 Wim Taymans <wim.taymans@gmail.com>
3648 Patch by: <arenevier at fdn dot fr>
3651 Remove comma from last element in enum to avoid compile errors when
3652 using -pendantic. Fixes #464366.
3654 2007-08-07 Wim Taymans <wim.taymans@gmail.com>
3656 * docs/design/part-TODO.txt:
3657 Add some more TODO items
3659 * gst/gstbin.c: (find_message), (gst_bin_change_state_func):
3662 * gst/gstcaps.c: (gst_caps_intersect):
3663 Optimize trivial intersection case between identical caps pointers.
3665 * gst/gstelement.c: (gst_element_continue_state),
3666 (gst_element_set_state_func):
3668 Fix spelling and grammar mistakes.
3670 2007-08-05 Stefan Kost <ensonic@users.sf.net>
3674 Update POTFILES. Fixes #461599.
3676 2007-08-03 Sebastian Dröge <slomo@circular-chaos.org>
3679 Fix confusing typo in debug output.
3681 2007-08-03 Sebastian Dröge <slomo@circular-chaos.org>
3683 reviewed by: Stefan Kost <ensonic@users.sf.net>
3685 * libs/gst/controller/Makefile.am:
3686 * libs/gst/controller/gstlfocontrolsource.c: (_calculate_pos),
3687 (gst_lfo_waveform_get_type), (gst_lfo_control_source_reset),
3688 (gst_lfo_control_source_new),
3689 (gst_lfo_control_source_set_waveform),
3690 (gst_lfo_control_source_bind), (gst_lfo_control_source_init),
3691 (gst_lfo_control_source_finalize),
3692 (gst_lfo_control_source_dispose),
3693 (gst_lfo_control_source_set_property),
3694 (gst_lfo_control_source_get_property),
3695 (gst_lfo_control_source_class_init):
3696 * libs/gst/controller/gstlfocontrolsource.h:
3697 * libs/gst/controller/gstlfocontrolsourceprivate.h:
3698 API: Add GstLFOControlSource, a control source that gives values
3699 for specific timestamps based on several periodic waveforms.
3702 * tests/check/libs/controller.c: (GST_START_TEST),
3703 (gst_controller_suite):
3704 * docs/libs/gstreamer-libs-docs.sgml:
3705 * docs/libs/gstreamer-libs-sections.txt:
3706 * docs/libs/gstreamer-libs.types:
3707 Add documentation and unit tests for GstLFOControlSource.
3709 2007-08-03 Jan Schmidt <thaytan@mad.scientist.com>
3714 === release 0.10.14 ===
3716 2007-08-03 Jan Schmidt <thaytan@mad.scientist.com>
3719 releasing 0.10.14, "Breathing Vacuum"
3721 2007-08-02 Tim-Philipp Müller <tim at centricular dot net>
3723 * gst/gstelement.c: (gst_element_class_set_details_simple):
3725 Make strings passed to gst_element_class_set_details_simple()
3726 constant, as they should be (#462752).
3728 2007-08-02 Wim Taymans <wim.taymans@gmail.com>
3730 * gst/gstbin.c: (gst_bin_change_state_func),
3731 (bin_handle_async_done), (gst_bin_handle_message_func):
3732 Don't forget about the fact that some element went ASYNC even after a
3733 resync. This makes us post the ASYNC_DONE message correctly.
3736 2007-07-31 Jan Schmidt <thaytan@mad.scientist.com>
3738 * gst/gstregistry.c: (gst_registry_add_feature):
3739 When replacing an existing feature in the registry, make sure to
3740 continue holding a reference until we've replaced the name string
3741 within our feature hash table. Make sure to use g_hash_table_replace
3742 instead of g_hash_table_insert to ensure the new name string is used
3743 as a key instead of the old one that we're about to free.
3746 2007-07-31 Jan Schmidt <thaytan@mad.scientist.com>
3748 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
3749 (gst_plugin_feature_set_name):
3750 Revert patch from #459466 until after the release and we can work
3751 out exactly what the problem is (if any).
3753 2007-07-26 Tim-Philipp Müller <tim at centricular dot net>
3755 * docs/gst/gstreamer-sections.txt:
3758 API: add GST_TAG_LICENSE_URI and GST_TAG_COPYRIGHT_URI (#451939).
3760 2007-07-26 Jan Schmidt <thaytan@mad.scientist.com>
3762 * docs/libs/Makefile.am:
3763 Include our build-prefix libs and includes before the generic ones to
3764 avoid linking against the installed libs when we want the build-tree
3767 2007-07-26 Tim-Philipp Müller <tim at centricular dot net>
3769 Patch by: Steve Fink <sphink gmail com>
3771 * docs/pwg/building-testapp.xml:
3772 Mention that GST_PLUGIN_PATH or --gst-plugin-path might be needed
3773 if people try to build or install the example from the plugin
3774 template against a GStreamer from package using the configure
3777 2007-07-25 Tim-Philipp Müller <tim at centricular dot net>
3779 Patch by: Steve Fink <sphink gmail com>
3781 * tools/gst-inspect.1.in:
3782 Document --print-all and --print-plugin-auto-install-info command
3783 line options in man page.
3785 2007-07-25 Wim Taymans <wim.taymans@gmail.com>
3787 * docs/gst/gstreamer-sections.txt:
3788 Add docs for new api function.
3790 2007-07-25 Wim Taymans <wim.taymans@gmail.com>
3792 * gst/gstelementfactory.c: (gst_element_factory_has_interface):
3793 * gst/gstelementfactory.h:
3794 API: gst_element_factory_has_interface()
3795 Added method to check if an element factory implements a named
3798 2007-07-25 Stefan Kost <ensonic@users.sf.net>
3801 * docs/gst/gstreamer.types.in:
3802 Another conditional doc check.
3805 * gst/gstparamspecs.h:
3806 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
3811 2007-07-24 Stefan Kost <ensonic@users.sf.net>
3813 * gst/gstregistrybinary.c: (gst_registry_binary_check_magic),
3814 (gst_registry_binary_load_feature),
3815 (gst_registry_binary_load_plugin),
3816 (gst_registry_binary_read_cache):
3817 Print error just once and with additional info.
3819 2007-07-24 Stefan Kost <ensonic@users.sf.net>
3821 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
3822 (helper_find_suggest), (helper_find_get_length),
3823 (gst_type_find_helper_get_range), (buf_helper_find_suggest),
3824 (gst_type_find_helper_for_buffer):
3825 Cleanup the typefindhelper code and add private doc comments.
3827 2007-07-24 Edward Hervey <bilboed@bilboed.com>
3829 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
3830 (gst_capsfilter_transform_size), (gst_capsfilter_prepare_buf):
3831 Fix capsfilter for cases where the caps set on capsfilter will provide
3832 additional information.
3835 2007-07-24 Stefan Kost <ensonic@users.sf.net>
3837 * gst/gsttypefindfactory.c:
3838 Fix docs that recommened wrong function to use.
3840 2007-07-23 Stefan Kost <ensonic@users.sf.net>
3842 * tools/gst-inspect.c: (print_plugin_features):
3843 Also give media-type for typefinders in element output.
3845 2007-07-23 Stefan Kost <ensonic@users.sf.net>
3847 * gst/gstregistry.c: (gst_registry_init), (gst_registry_finalize),
3848 (gst_registry_remove_features_for_plugin_unlocked),
3849 (gst_registry_add_feature), (gst_registry_remove_feature),
3850 (gst_registry_lookup_feature_locked):
3851 * gst/gstregistry.h:
3852 Speed up gst_registry_lookup_feature_locked() by using a hashmap.
3855 2007-07-23 Stefan Kost <ensonic@users.sf.net>
3857 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
3858 (gst_plugin_feature_set_name):
3859 Avoid double memory usage for pluginfeature names. Fixes #459466.
3861 2007-07-22 Tim-Philipp Müller <tim at centricular dot net>
3864 Small addition to GST_FLOW_IS_FATAL() docs: mention that elements
3865 driving the pipeline may need to explicitly check for NOT_LINKED as
3866 well, since IS_FATAL doesn't cover that.
3868 2007-07-22 Tim-Philipp Müller <tim at centricular dot net>
3870 * docs/pwg/advanced-types.xml:
3871 Fix typo and duplicate entry in video formats list.
3873 2007-07-22 Sebastian Dröge <slomo@circular-chaos.org>
3875 * libs/gst/controller/gstinterpolation.c:
3876 Also round to the nearest int when using cubic interpolation.
3878 2007-07-19 Jan Schmidt <thaytan@noraisin.net>
3880 * libs/gst/controller/gstinterpolation.c:
3881 When linearly interpolating integer types, round to the nearest int
3882 by adding 0.5. Don't do it for float/double types.
3883 Fixes the failing controller test on my machine, which is somehow
3884 rounding differently than on the buildbots.
3886 2007-07-20 Stefan Kost <ensonic@users.sf.net>
3888 * tools/gst-plot-timeline.py:
3889 Better log parsing (categories can have -). Adjust text vs. lines, so
3890 that they span the same y-range.
3892 2007-07-20 Stefan Kost <ensonic@users.sf.net>
3894 * docs/random/ensonic/audiobaseclasses.txt:
3895 * docs/random/ensonic/dynlink.txt:
3896 * docs/random/ensonic/profiling.txt:
3899 * docs/random/moving-plugins:
3900 Add note to use g_assert type macros.
3902 2007-07-20 Stefan Kost <ensonic@users.sf.net>
3905 * libs/gst/check/Makefile.am:
3906 Add libm check as we use in for plugins.
3908 2007-07-18 Jan Schmidt <thaytan@noraisin.net>
3910 * gst/gstbin.c: (gst_bin_continue_func):
3911 Check that the state_cookie hasn't changed since the continue_func
3912 was scheduled. Avoids problems where the state changes back to
3913 something it shouldn't be because it was changed in the meantime.
3915 2007-07-17 Stefan Kost <ensonic@users.sf.net>
3917 * gst/gstregistrybinary.c: (gst_registry_binary_save_const_string),
3918 (gst_registry_binary_save_string),
3919 (gst_registry_binary_save_pad_template),
3920 (gst_registry_binary_save_feature),
3921 (gst_registry_binary_save_plugin),
3922 (gst_registry_binary_load_feature),
3923 (gst_registry_binary_load_plugin),
3924 (gst_registry_binary_read_cache):
3925 Fix memory leak. Be less verbose in the log.
3927 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
3929 * tests/check/elements/.cvsignore:
3930 Add file to cvsignore as commanded.
3932 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
3934 * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
3935 (mq_dummypad_event), (run_output_order_test):
3936 Use a GStaticMutex to protect all cases where libcheck
3937 fail_if/fail_unless macros might be called from multiple threads
3938 simultaneously to avoid errors like:
3939 "check_pack.c:107: :-1081725400:Bad message type arg"
3941 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
3943 * tests/check/pipelines/stress.c: (GST_START_TEST):
3944 Make sure we set the pipeline back to the NULL state before
3945 dropping our final reference.
3947 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
3949 * tests/check/elements/tee.c: (GST_START_TEST):
3950 Make the tee stress-test a little less stressful so it doesn't just
3951 time out on slow-machines, and remove a small race when it's starting
3952 up by adding a get_state() call.
3954 2007-07-16 Stefan Kost <ensonic@users.sf.net>
3957 Avoid reading registry twice on startup. Fixes #457322.
3959 2007-07-13 Jan Schmidt <thaytan@mad.scientist.com>
3961 * pkgconfig/gstreamer-check-uninstalled.pc.in:
3962 * pkgconfig/gstreamer-check.pc.in:
3963 Substitute the CFLAGS for libcheck into our .pc file too so that
3964 dependent modules will pick it up properly if libcheck is installed
3965 into some other prefix.
3967 2007-07-13 Jan Schmidt <thaytan@mad.scientist.com>
3970 Revert the pkg-config check for libcheck, since it pulls in the
3971 wrong non-PIC libcheck.a on Ubuntu and probably Fedora too. We need
3972 a proper solution, either from the check project, or something else.
3974 2007-07-12 Stefan Kost <ensonic@users.sf.net>
3977 Use pkg-config to locate check.
3979 2007-07-10 Stefan Kost <ensonic@users.sf.net>
3986 Add deprecation guards.
3988 * libs/gst/base/gstcollectpads.h:
3989 Don't document object (this is implicitly private).
3991 2007-07-08 Tim-Philipp Müller <tim at centricular dot net>
3993 * gst/gststructure.c: (gst_structure_parse_value):
3994 When deserialising foo=bar without a type cast, check if it's a
3995 boolean before falling back to a string type, otherwise things like
3996 audiotestsrc ! audio/x-raw-int,signed=true ! fakesink won't work,
3997 because the filtercaps end up having a signed=(string)true field,
3998 which causes problems later when intersection caps.
4000 * tests/check/gst/gststructure.c: (GST_START_TEST):
4001 Add a unit test for this.
4003 2007-07-06 Sebastian Dröge <slomo@circular-chaos.org>
4005 Reviewed by: Stefan Kost <ensonic@users.sf.net>
4007 * libs/gst/controller/Makefile.am:
4008 * libs/gst/controller/gstcontroller.c:
4009 (gst_controlled_property_add_interpolation_control_source),
4010 (gst_controlled_property_new), (gst_controlled_property_free),
4011 (gst_controller_find_controlled_property),
4012 (gst_controller_new_valist), (gst_controller_new_list),
4013 (gst_controller_new), (gst_controller_remove_properties_valist),
4014 (gst_controller_remove_properties_list),
4015 (gst_controller_remove_properties),
4016 (gst_controller_set_property_disabled),
4017 (gst_controller_set_disabled), (gst_controller_set_control_source),
4018 (gst_controller_get_control_source), (gst_controller_get),
4019 (gst_controller_sync_values), (gst_controller_get_value_array),
4020 (_gst_controller_dispose), (gst_controller_get_type),
4021 (gst_controlled_property_set_interpolation_mode),
4022 (gst_controller_set), (gst_controller_set_from_list),
4023 (gst_controller_unset), (gst_controller_unset_all),
4024 (gst_controller_get_all), (gst_controller_set_interpolation_mode):
4025 * libs/gst/controller/gstcontroller.h:
4026 * libs/gst/controller/gstcontrollerprivate.h:
4027 * libs/gst/controller/gstcontrolsource.c:
4028 (gst_control_source_class_init), (gst_control_source_init),
4029 (gst_control_source_get_value),
4030 (gst_control_source_get_value_array), (gst_control_source_bind):
4031 * libs/gst/controller/gstcontrolsource.h:
4032 * libs/gst/controller/gsthelper.c: (gst_object_set_control_source),
4033 (gst_object_get_control_source):
4034 * libs/gst/controller/gstinterpolation.c:
4035 (gst_interpolation_control_source_find_control_point_node),
4036 (gst_interpolation_control_source_get_first_value),
4037 (_interpolate_none_get), (interpolate_none_get),
4038 (interpolate_none_get_boolean_value_array),
4039 (interpolate_none_get_enum_value_array),
4040 (interpolate_none_get_string_value_array),
4041 (_interpolate_trigger_get), (interpolate_trigger_get),
4042 (interpolate_trigger_get_boolean_value_array),
4043 (interpolate_trigger_get_enum_value_array),
4044 (interpolate_trigger_get_string_value_array):
4045 * libs/gst/controller/gstinterpolationcontrolsource.c:
4046 (gst_control_point_free), (gst_interpolation_control_source_reset),
4047 (gst_interpolation_control_source_new),
4048 (gst_interpolation_control_source_set_interpolation_mode),
4049 (gst_interpolation_control_source_bind),
4050 (gst_control_point_compare), (gst_control_point_find),
4051 (gst_interpolation_control_source_set_internal),
4052 (gst_interpolation_control_source_set),
4053 (gst_interpolation_control_source_set_from_list),
4054 (gst_interpolation_control_source_unset),
4055 (gst_interpolation_control_source_unset_all),
4056 (gst_interpolation_control_source_get_all),
4057 (gst_interpolation_control_source_get_count),
4058 (gst_interpolation_control_source_init),
4059 (gst_interpolation_control_source_finalize),
4060 (gst_interpolation_control_source_dispose),
4061 (gst_interpolation_control_source_class_init):
4062 * libs/gst/controller/gstinterpolationcontrolsource.h:
4063 * libs/gst/controller/gstinterpolationcontrolsourceprivate.h:
4064 API: Refactor GstController into the core controller which can take
4065 a GstControlSource for providing actual values for timestamps.
4066 Implement a interpolation control source and use this for backward
4067 compatibility, deprecate a bunch of functions that are now handled
4068 by GstControlSource or GstInterpolationControlSource.
4069 Make it possible to disable the controller completely or only for
4070 specific properties. Fixes #450711.
4071 * docs/libs/gstreamer-libs-docs.sgml:
4072 * docs/libs/gstreamer-libs-sections.txt:
4073 * docs/libs/gstreamer-libs.types:
4074 Add new functions and classes to the docs.
4075 * tests/check/libs/controller.c: (GST_START_TEST),
4076 (gst_controller_suite):
4077 * tests/examples/controller/audio-example.c: (main):
4078 Port unit test and example to the new API and add some new
4081 2007-07-05 Wim Taymans <wim.taymans@gmail.com>
4083 Patch by: Mark Nauwelaerts <manauw at skynet be>
4085 * plugins/elements/gstmultiqueue.c:
4086 (gst_multi_queue_get_internal_links), (apply_buffer),
4087 (single_queue_overrun_cb), (gst_single_queue_new):
4088 Implement non-default GstPadIntLinkFunction for multiqueue pads so that
4089 the pipeline layout can be tracked correctly. Fixes #453732.
4091 2007-07-05 Stefan Kost <ensonic@users.sf.net>
4093 * docs/gst/Makefile.am:
4094 * docs/libs/Makefile.am:
4095 * docs/plugins/Makefile.am:
4096 Simplify --extra-dir as gtkdoc scans recursively.
4098 2007-07-03 Wim Taymans <wim.taymans@gmail.com>
4100 * tools/gst-launch.c: (main):
4101 When we got an error, there is no point in waiting for preroll when
4104 2007-07-03 Wim Taymans <wim.taymans@gmail.com>
4106 * plugins/elements/gsttee.c: (gst_tee_base_init),
4107 (gst_tee_request_new_pad), (gst_tee_release_pad),
4108 (gst_tee_find_buffer_alloc), (gst_tee_buffer_alloc),
4109 (gst_tee_do_push), (clear_pads), (gst_tee_handle_buffer),
4111 Be a lot smarter when deciding what srcpad to use for proxying
4112 the buffer_alloc. Also handle pad added/removed when doing so.
4114 Keep track of what pads we already pushed on in case we have pads
4115 added/removed while pushing. Fixes #374639
4117 * tests/check/Makefile.am:
4118 * tests/check/elements/tee.c: (handoff), (GST_START_TEST),
4120 Added unit test for pad resync.
4122 2007-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
4126 Updated translations.
4128 2007-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
4130 translation by: Tommi Vainikainen <Tommi.Vainikainen@iki.fi>
4134 Added new Finnish translation.
4136 2007-06-28 Wim Taymans <wim@fluendo.com>
4138 * plugins/elements/gstmultiqueue.c: (apply_buffer),
4139 (single_queue_overrun_cb):
4140 When figuring out when a queue is filled, use our internal time estimate
4141 based on segments, just like check_full does.
4143 2007-06-27 Stefan Kost <ensonic@users.sf.net>
4145 * gst/gstminiobject.c: (gst_mini_object_get_type):
4146 Remove 3 do-nothing methods.
4148 2007-06-27 Wim Taymans <wim@fluendo.com>
4150 Patch by: Tim Angus <tim at ngus dot net>
4152 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
4153 (gst_capsfilter_set_property):
4154 Take a reference instead of a copy when setting "caps".
4155 Fix documentation to clarify this behaviour. Fixes #449414.
4157 2007-06-27 Stefan Kost <ensonic@users.sf.net>
4159 * gst/gstindexfactory.c: (gst_index_factory_get_type):
4160 * gst/gstplugin.c: (gst_plugin_init):
4161 * gst/gstpluginfeature.c: (gst_plugin_feature_init):
4162 * gst/gstquery.c: (gst_query_get_type):
4163 * gst/gstregistry.c: (gst_registry_init):
4164 * gst/gsturi.c: (gst_uri_handler_base_init):
4165 Remove empty instance_init() functions to save relocs and lessen the
4166 noise. Remove some of the function prototypes that are doubled by
4169 2007-06-27 Wim Taymans <wim@fluendo.com>
4171 Patch by: Étienne Noreau-Hébert <etienne at deepunder dot org>
4173 * gst/gstghostpad.c: (gst_proxy_pad_save_thyself):
4174 Add peer and direction in the XML serialisation of ghostpads.
4177 2007-06-26 Stefan Kost <ensonic@users.sf.net>
4180 Preserve useful information, thanks Tim.
4182 2007-06-26 Jan Schmidt <thaytan@noraisin.net>
4184 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
4185 (gst_single_queue_flush), (apply_segment), (apply_buffer),
4186 (gst_single_queue_push_one), (gst_multi_queue_loop),
4187 (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
4188 (gst_multi_queue_src_activate_push), (wake_up_next_non_linked),
4189 (compute_high_id), (gst_single_queue_new):
4190 * plugins/elements/gstmultiqueue.h:
4191 Take the multiqueue lock when updating the fill level so we don't get
4194 After applying a buffer or event on the src pad segment, make sure to
4195 call gst_data_queue_limits_changed() to get the data queue to unblock
4196 and check the filled state again.
4198 Rework the not-linked pad handling so the logic is that not-linked
4199 pads can push as fast as they like, but only so they never get
4200 ahead of any linked pads.
4202 * tests/check/elements/multiqueue.c: (mq_sinkpad_to_srcpad),
4203 (mq_dummypad_getcaps), (mq_dummypad_chain), (mq_dummypad_event),
4204 (run_output_order_test), (GST_START_TEST), (multiqueue_suite):
4206 Add a test to check that not-linked pads always stay behind
4211 2007-06-26 Jan Schmidt <thaytan@mad.scientist.com>
4213 * docs/random/release:
4214 Some updates to the release procedure.
4216 2007-06-26 Stefan Kost <ensonic@users.sf.net>
4218 * gst/gstelementfactory.c: (__gst_element_details_clear):
4219 Microoptimization that saves stunning 80 bytes.
4221 2007-06-25 Stefan Kost <ensonic@users.sf.net>
4223 * docs/plugins/gstreamer-plugins.args:
4224 * docs/plugins/inspect/plugin-coreelements.xml:
4225 * docs/plugins/inspect/plugin-coreindexers.xml:
4226 Update docs with caps info.
4228 2007-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
4231 Updated Italian translation.
4233 2007-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
4237 Update Vietnamese translations.
4239 2007-06-21 Tim-Philipp Müller <tim at centricular dot net>
4241 * libs/gst/base/gstbasesink.c:
4242 Remove unused signal enum.
4244 2007-06-21 Jan Schmidt <thaytan@mad.scientist.com>
4246 * docs/gst/gstreamer-sections.txt:
4248 * gst/gstutils.c: (gst_type_register_static_full):
4249 Beef up and include the docs for gst_type_register_static_full and
4250 gst_element_class_set_details_simple and add the API keyword
4253 2007-06-21 Jan Schmidt <thaytan@mad.scientist.com>
4255 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
4256 (update_time_level), (gst_single_queue_push_one),
4257 (gst_multi_queue_chain), (gst_multi_queue_sink_event),
4258 (single_queue_overrun_cb), (single_queue_underrun_cb),
4259 (single_queue_check_full):
4260 Fix setting max-* properties after adding queues.
4261 Use IS_FILLED for checking visible items.
4262 Signal overrun if multiple queues overrun.
4263 Add extra debug output.
4264 Patch by: Wim Taymans <wim@fluendo.com>
4266 2007-06-21 Stefan Kost <ensonic@users.sf.net>
4268 * gst/gstelement.c: (gst_element_class_set_details_simple):
4270 * gst/gstutils.c: (gst_type_register_static_full):
4272 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init):
4273 * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init):
4274 * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init):
4275 * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init):
4276 * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init):
4277 * plugins/elements/gstfilesink.c: (gst_file_sink_base_init):
4278 * plugins/elements/gstfilesrc.c: (gst_file_src_base_init):
4279 * plugins/elements/gstidentity.c: (gst_identity_base_init):
4280 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init):
4281 * plugins/elements/gstqueue.c: (gst_queue_base_init),
4282 (apply_buffer), (gst_queue_chain):
4283 * plugins/elements/gsttee.c: (gst_tee_base_init):
4284 * plugins/elements/gsttypefindelement.c:
4285 (gst_type_find_element_base_init),
4286 (gst_type_find_element_class_init):
4287 Saving relocations for GTypeInfo and GstElementDetails. Fixes #437457.
4288 API: add gst_type_register_static_full
4289 API: add gst_element_class_set_details_simple
4291 2007-06-21 Tim-Philipp Müller <tim at centricular dot net>
4293 * docs/pwg/advanced-types.xml:
4294 Fix typo in iana.org URI.
4296 2007-06-19 Andy Wingo <wingo@pobox.com>
4298 * tests/check/pipelines/simple-launch-lines.c
4299 (test_state_change_returns): Enable pull-mode tests now that
4300 basesink has been fixed.
4302 * libs/gst/base/gstbasesink.c (gst_base_sink_needs_preroll):
4303 Changed from gst_base_sink_is_prerolled, reversing the sense of
4304 the return value. Returns FALSE also if the sink is in pull mode,
4305 in which case it needs no preroll.
4306 (gst_base_sink_query, gst_base_sink_change_state): Update for
4307 needs_preroll change.
4308 (gst_base_sink_change_state): Add a case for READY_TO_PAUSED after
4309 chaining up, in which we return SUCCESS directly if we activated
4310 in pull mode instead of ASYNC. Involves countering an async_start
4311 message sent before chaining up; not sure if this is correct, in
4312 an ideal world we only send async-start when activating in push
4315 * tests/check/pipelines/simple-launch-lines.c
4316 (test_state_change_returns): New test, partially disabled until
4319 2007-06-19 Wim Taymans <wim@fluendo.com>
4321 * plugins/elements/gstmultiqueue.c: (apply_buffer),
4322 (gst_multi_queue_sink_event):
4325 2007-06-19 Wim Taymans <wim@fluendo.com>
4327 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
4328 (gst_bin_change_state_func), (bin_push_state_continue),
4329 (bin_handle_async_start), (bin_handle_async_done),
4330 (gst_bin_handle_message_func):
4331 Move the common code for posting state-change messages into
4333 Broadcast the state signal after we posted the messages.
4334 Mark the bin as busy when it's doing a state-change.
4335 Make sure async-start/done messages don't interfere with the bin's
4336 state when it's busy.
4337 After the state change, let the bin check which elements completed the
4338 state change while it was busy so that it can update its state.
4340 2007-06-19 Jan Schmidt <thaytan@mad.scientist.com>
4342 * docs/random/release:
4343 Add a note about updating the doap file to the release checklist
4345 2007-06-18 Wim Taymans <wim@fluendo.com>
4347 * plugins/elements/gstmultiqueue.c: (apply_buffer),
4348 (gst_single_queue_push_one), (gst_multi_queue_chain),
4349 (gst_multi_queue_sink_event):
4350 Make sure we don't reference the buffer/event after we have given away
4351 ownership in the queue.
4353 2007-06-18 Wim Taymans <wim@fluendo.com>
4355 * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
4356 (gst_multi_queue_chain), (gst_multi_queue_sink_event):
4357 Update queue state _after_ adding the item in the queue because else we
4358 could end up being full without the element added yet.
4360 2007-06-18 Wim Taymans <wim@fluendo.com>
4362 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
4363 (gst_bin_remove_func), (gst_bin_get_state_func),
4364 (gst_bin_element_set_state), (gst_bin_continue_func),
4365 (bin_push_state_continue), (bin_handle_async_start),
4366 (bin_handle_async_done), (gst_bin_handle_message_func):
4368 Immediatly commit the toplevel bin state when receiving an async-done
4369 message. This enables us to avoid spawning a thread to commit the state
4370 in some common cases and it also avoids some races.
4371 Avoid spawning a state thread when adding/removing async elements to a
4372 toplevel bin. Instead we immediatly update the bin state.
4373 Get rid of iterating all the children when getting the state in the bin
4374 because it is now always up-to-date.
4375 Fix bug where locked elements would always return _SUCCESS even it they
4376 returned NO_PREROLL before being locked.
4377 Fix the order of the state_change, async-start/done messages that was
4378 sometimes incorrect.
4379 Mark the state_dirty field as deprecated, we don't need it anymore as we
4380 are always up-to-date.
4382 * gst/gstelement.c: (gst_element_get_state_func),
4383 (gst_element_continue_state):
4384 Small debug inprovements.
4385 Return the previous element state return when nothing is pending instead
4386 of blindly returning SUCCESS.
4388 * tests/check/generic/sinks.c: (GST_START_TEST), (pad_blocked_cb),
4390 Add a whole bunch of new testcases.
4392 2007-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
4396 Update translations.
4398 2007-06-15 Jan Schmidt <thaytan@mad.scientist.com>
4401 Fix typo in the docs.
4403 2007-06-15 Wim Taymans <wim@fluendo.com>
4405 * docs/libs/gstreamer-libs-sections.txt:
4406 Add docs for new methods.
4408 2007-06-15 Wim Taymans <wim@fluendo.com>
4410 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_item_destroy),
4411 (gst_multi_queue_item_new):
4412 Don't use GSlice because we don't depend on >= 2.10 yet.
4414 2007-06-15 Wim Taymans <wim@fluendo.com>
4416 * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
4417 (update_time_level), (apply_segment), (apply_buffer),
4418 (gst_single_queue_push_one), (gst_multi_queue_item_new),
4419 (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push),
4420 (gst_multi_queue_sink_event), (single_queue_overrun_cb),
4421 (single_queue_underrun_cb), (single_queue_check_full):
4422 Remove debug printf.
4424 2007-06-15 Wim Taymans <wim@fluendo.com>
4426 * libs/gst/base/gstdataqueue.c: (gst_data_queue_cleanup),
4427 (gst_data_queue_finalize), (gst_data_queue_locked_is_empty),
4428 (gst_data_queue_set_flushing), (gst_data_queue_push),
4429 (gst_data_queue_pop), (gst_data_queue_drop_head),
4430 (gst_data_queue_limits_changed), (gst_data_queue_get_level):
4431 * libs/gst/base/gstdataqueue.h:
4433 Added methods to get the current levels and to inform the queue that the
4434 'full' limits changed.
4436 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
4437 (gst_multi_queue_finalize), (gst_multi_queue_set_property),
4438 (gst_single_queue_flush), (update_time_level), (apply_segment),
4439 (apply_buffer), (gst_single_queue_push_one),
4440 (gst_multi_queue_item_steal_object),
4441 (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
4442 (gst_multi_queue_loop), (gst_multi_queue_chain),
4443 (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
4444 (gst_multi_queue_getcaps), (gst_multi_queue_src_activate_push),
4445 (gst_multi_queue_src_query), (single_queue_overrun_cb),
4446 (single_queue_underrun_cb), (single_queue_check_full),
4447 (gst_single_queue_new):
4448 Keep track of time in the queue by measuring the difference between
4449 running_time on input and output. This gives more accurate results and
4450 can compensate for segments correctly.
4451 Make a queue by default only 5 buffers deep. We will now increase the
4452 buffer size depending on the filledness of the other queues.
4453 Factor out commong flush code.
4454 Make sure we don't add additional refcounts to buffers when we can avoid
4456 Propagate GstFlowReturn differently.
4457 Use GSlice for intermediate GstMultiQueueItems.
4459 Resize queues on over and underruns based on filled level of other
4461 When checking if the queue is filled, prefer to measure in time if we
4462 can and fall back to bytes when no time is known.
4464 * plugins/elements/gstqueue.c:
4467 2007-06-15 Wim Taymans <wim@fluendo.com>
4469 * libs/gst/base/gstbasetransform.c:
4470 (gst_base_transform_sink_event):
4471 Work around the brokenness of the event vmethod in basetransform. Prefer
4472 to return TRUE when the subclass returned FALSE (meaning don't forward
4475 * libs/gst/base/gstbasetransform.h:
4478 2007-06-15 Wim Taymans <wim@fluendo.com>
4480 * gst/gstpad.c: (gst_pad_push_event), (gst_pad_send_event):
4481 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
4482 (gst_base_src_default_query), (gst_base_src_get_range),
4483 (gst_base_src_start):
4484 * tests/check/pipelines/parse-launch.c: (setup_pipeline):
4487 2007-06-15 Stefan Kost <ensonic@users.sf.net>
4489 * docs/pwg/advanced-types.xml:
4490 Added more formats to caps table.
4492 2007-06-15 Stefan Kost <ensonic@users.sf.net>
4494 * tools/gst-launch.c: (main):
4495 Remove crufy code. GOption does not need this workaround.
4497 2007-06-14 Stefan Kost <ensonic@users.sf.net>
4499 * libs/gst/controller/gstcontroller.c:
4500 (gst_controlled_property_set_interpolation_mode):
4501 Fix wrong getter for enums in controller.
4503 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
4505 * libs/gst/check/gstcheck.c: (gst_check_init):
4506 Intercept criticals and warnings in the Gst-Phonon log domain, so
4507 ASSERT_CRITICAL() etc. can be used in gst-phonon's unit tests as
4510 2007-06-14 Edward Hervey <edward@fluendo.com>
4512 * gst/gstparamspecs.c: (_gst_param_fraction_validate):
4513 Since this file doesn't include "gst.h" it will not go through the
4514 macros that disable GST_LOG if debugging was disabled.
4516 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
4518 * libs/gst/check/Makefile.am:
4519 * libs/gst/check/gstcheck.h:
4520 * pkgconfig/gstreamer-check-uninstalled.pc.in:
4521 * pkgconfig/gstreamer-check.pc.in:
4522 Ugly 'fix' for the controller unit test on the p5 bot: in
4523 fail_unless_equals_float() check whether the values are 'almost
4524 equal' by allowing a small absolute error, which should be good
4525 enough for our use cases (normal numbers and values close to 0).
4526 Proper fixage left to floating point arithmetic aficionados.
4528 2007-06-14 Stefan Kost <ensonic@users.sf.net>
4530 * libs/gst/base/gstbasesink.c: (gst_base_sink_reset_qos),
4531 (gst_base_sink_render_object), (gst_base_sink_get_position):
4532 Add two breaks thats where missing.
4534 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
4536 * docs/libs/gstreamer-libs-sections.txt:
4537 * libs/gst/check/gstcheck.h:
4538 API: add fail_unless_equals_float() and assert_equals_float().
4539 Add documentation for some of the macros.
4541 * tests/check/libs/controller.c: (GST_START_TEST):
4542 Use newly-added asserts.
4544 2007-06-14 Stefan Kost <ensonic@users.sf.net>
4546 * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_push):
4547 Show the caps change in the log to help spotting the case of not
4548 exactly matching caps.
4550 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
4552 * docs/pwg/building-boiler.xml:
4553 Fix typos, spotted by Thijs Vermeir (#447190).
4555 2007-06-13 Jan Schmidt <thaytan@mad.scientist.com>
4557 * docs/plugins/tmpl/.cvsignore:
4558 Ignore file to keep the buildbots happy
4560 2007-06-13 Jan Schmidt <thaytan@mad.scientist.com>
4562 * docs/plugins/Makefile.am:
4563 * docs/plugins/gstreamer-plugins-docs.sgml:
4564 * docs/plugins/gstreamer-plugins-sections.txt:
4565 Pull fdsink into the docs too.
4567 2007-06-11 Sebastian Dröge <slomo@circular-chaos.org>
4569 * libs/gst/controller/gstinterpolation.c:
4570 Actually use the new functions with min/max checks for the trigger and
4571 none interpolation modes for get() and get_value_array() instead of
4574 2007-06-10 Sebastian Dröge <slomo@circular-chaos.org>
4576 * libs/gst/controller/gstcontroller.c:
4577 (gst_controlled_property_free):
4578 Unset the minimum and maximum GValues when freeing the corresponding
4579 GstControllerProperty struct.
4581 2007-06-09 Sebastian Dröge <slomo@circular-chaos.org>
4583 * libs/gst/controller/gstcontroller.c:
4584 (gst_controlled_property_new):
4585 * libs/gst/controller/gstcontrollerprivate.h:
4586 * libs/gst/controller/gstinterpolation.c:
4587 (gst_controlled_property_find_control_point_node),
4588 (interpolate_none_get), (interpolate_none_get_enum_value_array),
4589 (interpolate_none_get_string_value_array),
4590 (interpolate_trigger_get),
4591 (interpolate_trigger_get_enum_value_array),
4592 (interpolate_trigger_get_string_value_array):
4593 Protect against values larger or smaller than the minimum or maximum
4594 allowed value for the property when using values that can be compared.
4596 Optimize trigger interpolator a bit by taking the last requested value
4597 into account instead of always looping through the complete list.
4599 Fix coding style a bit, everywhere else we use "return foo" instead
4602 * tests/check/libs/controller.c: (GST_START_TEST),
4603 (gst_controller_suite):
4604 Add unit test for the protection against too large or too small
4607 2007-06-08 Sebastian Dröge <slomo@circular-chaos.org>
4609 * docs/random/slomo/controller.txt:
4610 Add some thoughts about the future of the controller.
4612 2007-06-08 Wim Taymans <wim@fluendo.com>
4614 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
4615 Don't overflow in retimestamping code.
4617 2007-06-07 Sebastien Moutte <sebastien@moutte.net>
4619 * libs/gst/controller/gstinterpolation.c: (DEFINE_CUBIC_GET):
4620 Use gst_util_guint64_to_gdouble for conversions.
4621 * win32/common/libgstreamer.def:
4622 Add new exported functions.
4624 2007-06-07 Tim-Philipp Müller <tim at centricular dot net>
4627 Small docs addition.
4629 2007-06-07 Stefan Kost <ensonic@users.sf.net>
4632 Remove that test line again.
4634 2007-06-07 Stefan Kost <ensonic@users.sf.net>
4637 Test commit mail sending.
4639 2007-06-07 Stefan Kost <ensonic@users.sf.net>
4642 Fix typo and test commit mail sending.
4644 2007-06-07 Stefan Kost <ensonic@users.sf.net>
4646 * tests/examples/controller/audio-example.c:
4647 Improve comment and test commit mail sending.
4649 2007-06-07 Wim Taymans <wim@fluendo.com>
4651 * gst/gstbin.c: (find_message), (bin_replace_message), (is_eos),
4652 (gst_bin_remove_func), (gst_bin_element_set_state),
4653 (bin_handle_async_start), (bin_handle_async_done),
4654 (gst_bin_handle_message_func):
4655 Add helper function to find messages.
4656 Generate the async-done messages together with the state change
4658 Small cleanups in handling toplevel bins.
4660 2007-06-06 Tim-Philipp Müller <tim at centricular dot net>
4662 * libs/gst/base/gstdataqueue.c:
4663 * libs/gst/base/gstdataqueue.h:
4664 * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
4665 (gst_multi_queue_item_new), (gst_multi_queue_chain),
4666 (gst_multi_queue_sink_event):
4667 * tests/check/elements/multiqueue.c: (multiqueue_suite):
4668 Fix multiqueue leaking buffers and events when downstream or the
4669 queue are flushing. Make refcounting assumptions explicit and
4670 document them (shouldn't break existing code that uses it other than
4671 maybe leak miniobjects, but that already happens anyway). Add unit
4672 test for the most common flushing case. Fixes #423700.
4674 2007-06-06 Sebastian Dröge <slomo@circular-chaos.org>
4676 * libs/gst/controller/gstcontroller.c:
4677 Clarify docs: The get_all, get_value_array(s) functions
4678 don't modify the GObject properties.
4680 2007-06-06 Sebastian Dröge <slomo@circular-chaos.org>
4682 * libs/gst/controller/gstcontroller.c:
4683 (gst_controlled_property_set_interpolation_mode),
4684 (gst_controlled_property_prepend_default),
4685 (gst_controlled_property_new), (gst_controller_set_unlocked),
4686 (gst_controller_set), (gst_controller_set_from_list),
4687 (gst_controller_unset), (gst_controller_unset_all):
4688 * libs/gst/controller/gstcontrollerprivate.h:
4689 * libs/gst/controller/gstinterpolation.c:
4690 Factor out the 'set' logic into gst_controller_set_unlocked for the
4691 gst_controller_set and gst_controller_set_from_list functions.
4693 To make life of the interpolators easier always add a control point
4694 at timestamp zero with the default value.
4696 In the linear interpolator make things more obvious by better variable
4699 Implement cubic interpolation mode (by using a natural cubic spline)
4700 and map the quadratic interpolation mode to this too (as quadratic
4701 doesn't make much sense, see discussion on the list).
4703 * tests/check/libs/controller.c: (GST_START_TEST),
4704 (gst_controller_suite):
4705 Add unit test for the cubic interpolation mode and check everywhere
4706 if the interpolation mode could be set as expected.
4708 2007-06-06 Tim-Philipp Müller <tim at centricular dot net>
4710 * gst/gstparamspecs.c: (gst_param_spec_fraction_get_type):
4711 Don't use GLib-2.10 functions, we still depend on
4712 GLib-how-old-is-it-again-2.8.
4714 2007-06-06 Tim-Philipp Müller <tim at centricular dot net>
4716 * docs/gst/gstreamer-sections.txt:
4720 * gst/gstparamspecs.c: (_gst_param_fraction_init),
4721 (_gst_param_fraction_set_default), (_gst_param_fraction_validate),
4722 (_gst_param_fraction_values_cmp),
4723 (gst_param_spec_fraction_get_type), (gst_param_spec_fraction):
4724 * gst/gstparamspecs.h:
4726 * tests/check/Makefile.am:
4727 * tests/check/gst/.cvsignore:
4728 * tests/check/gst/gstparamspecs.c: (gst_dummy_obj_base_init),
4729 (gst_dummy_obj_class_init), (gst_dummy_obj_init),
4730 (gst_dummy_obj_set_property), (gst_dummy_obj_get_property),
4731 (GST_START_TEST), (gst_param_spec_suite):
4732 API: add GstParamSpecFraction, so elements can have fraction
4733 properties without lots of painful string parsing (#444648).
4735 2007-06-05 Wim Taymans <wim@fluendo.com>
4737 * gst/gstobject.c: (gst_object_class_init):
4738 Fix signal signature.
4741 Add small clarification in the api docs.
4743 * plugins/elements/gstfilesrc.c: (gst_file_src_set_location):
4744 States are protected with object lock.
4746 2007-06-05 Jan Schmidt <thaytan@mad.scientist.com>
4749 I should probably be listed as an author by now.
4751 * docs/random/release:
4752 Update the release doc
4754 2007-06-05 Tim-Philipp Müller <tim at centricular dot net>
4757 Make docs for gst_value_compare() mention return enums that
4760 2007-06-05 Jan Schmidt <thaytan@mad.scientist.com>
4765 === release 0.10.13 ===
4767 2007-06-05 Jan Schmidt <thaytan@mad.scientist.com>
4770 releasing 0.10.13, "With or without you"
4772 2007-05-25 Wim Taymans <wim@fluendo.com>
4774 * gst/gstbin.c: (bin_handle_async_done):
4775 Make sure that the child bin stops after completing the async state
4776 change so that the parent can continue the state change to PLAYING.
4779 2007-05-25 Wim Taymans <wim@fluendo.com>
4781 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
4782 (unref_data), (gst_collect_pads_remove_pad),
4783 (gst_collect_pads_check_pads):
4784 Use additional refcounting to avoid crashes when dynamically adding and
4785 removing pads. Fixes #420206.
4787 2007-05-24 Wim Taymans <wim@fluendo.com>
4789 * tools/gst-launch.c: (event_loop):
4790 When buffering goes from a two digit to a single digit number, make sure
4791 to remove the old second digit by writing a blank over it.
4793 2007-05-24 Tim-Philipp Müller <tim at centricular dot net>
4795 * libs/gst/base/gstdataqueue.c:
4796 Eliminate tabs and trailing comma in enum list; fix some typos.
4798 2007-05-24 Wim Taymans <wim@fluendo.com>
4800 * tests/check/gst/gstbin.c: (GST_START_TEST):
4801 Allow refcount of 3 and 4 because some state thread might still be busy
4804 2007-05-24 Tim-Philipp Müller <tim at centricular dot net>
4806 * plugins/elements/Makefile.am:
4807 * plugins/elements/gstmultiqueue.h:
4808 * plugins/elements/gstqueue.h:
4809 These are not installed headers, no need for padding.
4811 2007-05-24 Wim Taymans <wim@fluendo.com>
4813 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
4814 (gst_bin_continue_func):
4815 Enable latency for next release.
4816 Restore STATE_LOCK around recalc_state that was left out during the
4817 rewrite and could result in racy behaviour when _get_state and
4818 recalc_state are run concurrently. See #440463.
4820 2007-05-23 Wim Taymans <wim@fluendo.com>
4822 * tests/check/gst/gstsystemclock.c: (store_callback),
4824 Improve test_async_order to also work when both timers are already
4825 expired when we get scheduled to check it.
4827 2007-05-22 Tim-Philipp Müller <tim at centricular dot net>
4829 * gst/gstbin.c: (gst_bin_init), (gst_bin_dispose),
4830 (gst_bin_set_property), (gst_bin_get_property),
4831 (gst_bin_remove_func), (gst_bin_handle_message_func):
4833 'private' is a c++ keyword, let's not use that in header files,
4834 otherwise c++ compilers will throw a tantrum.
4836 2007-05-22 Tim-Philipp Müller <tim at centricular dot net>
4838 * plugins/elements/gstelements.c:
4839 * plugins/elements/gstfilesink.c: (gst_file_sink_do_seek),
4840 (gst_file_sink_get_current_offset):
4841 * plugins/indexers/gstindexers.c: (plugin_init):
4842 Use #ifdef for HAVE_XYZ for consistency.
4844 * tests/check/Makefile.am:
4845 * tests/check/elements/.cvsignore:
4846 * tests/check/elements/filesink.c: (setup_filesink),
4847 (cleanup_filesink), (GST_START_TEST), (filesink_suite):
4848 Add some unit tests for filesink.
4850 2007-05-22 Tim-Philipp Müller <tim at centricular dot net>
4852 Patch by: Mark Nauwelaerts <manauw at skynet be>
4854 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
4855 (gst_file_sink_query), (gst_file_sink_do_seek),
4856 (gst_file_sink_get_current_offset), (gst_file_sink_render):
4857 * plugins/elements/gstfilesink.h:
4858 Fix position reporting; rename data_written member to current_pos to
4859 reflect its real meaning (fixes #412648).
4861 2007-05-22 Edward Hervey <edward@fluendo.com>
4863 * docs/gst/gstreamer-sections.txt:
4864 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
4865 (gst_bin_dispose), (gst_bin_set_property), (gst_bin_get_property),
4866 (gst_bin_remove_func), (gst_bin_handle_message_func):
4868 Add a property for bins that handle the state change of their childs.
4871 2007-05-22 Sebastian Dröge <slomo@circular-chaos.org>
4873 * libs/gst/controller/gstinterpolation.c:
4874 Use an array of the correct type when using _get_value_array with
4875 linear interpolation.
4877 2007-05-22 Stefan Kost <ensonic@users.sf.net>
4879 * gst/gstelement.c (gst_element_requires_clock,
4880 gst_element_provides_clock, gst_element_request_pad,
4881 gst_element_class_set_details, gst_element_class_set_details_simple,
4882 gst_element_default_send_event, gst_element_abort_state,
4883 gst_element_continue_state, gst_element_set_state,
4884 gst_element_set_state_func, iterator_activate_fold_with_resync):
4885 * gst/gstpad.c (gst_pad_activate_pull, gst_pad_set_getcaps_function,
4886 gst_pad_fixate_caps, gst_pad_configure_sink, gst_pad_configure_src,
4887 gst_pad_query, gst_pad_save_thyself, handle_pad_block, gst_pad_push,
4888 gst_pad_get_range, gst_pad_pull_range):
4889 * gst/gstpad.h (GST_PAD_LINK_SUCCESSFUL, GST_FLOW_CUSTOM_SUCCESS,
4890 GST_FLOW_NOT_SUPPORTED, GST_FLOW_IS_FATAL, GstPadActivateFunction,
4891 GstPadActivateModeFunction, GstPadChainFunction,
4892 GstPadGetCapsFunction, GstPadAcceptCapsFunction,
4893 GstPadFixateCapsFunction, GstPadTemplate):
4894 * gst/gstpipeline.c (gst_pipeline_change_state,
4895 gst_pipeline_set_new_stream_time, gst_pipeline_use_clock,
4896 gst_pipeline_set_clock, gst_pipeline_auto_clock,
4897 gst_pipeline_get_delay):
4898 Whitespace and docs fixes.
4900 2007-05-21 Sebastian Dröge <slomo@circular-chaos.org>
4902 * libs/gst/controller/gstinterpolation.c:
4903 (interpolate_trigger_get_enum_value_array),
4904 (interpolate_trigger_get_string_value_array):
4905 Add support for retrieving value arrays when using the trigger
4908 2007-05-21 Sebastian Dröge <slomo@circular-chaos.org>
4910 * libs/gst/controller/gstcontroller.c:
4911 (gst_controller_get_value_array):
4912 * libs/gst/controller/gstcontroller.h:
4913 Clarify the docs of gst_controller_get_value_array(): The array where
4914 the values should be written to must be allocated as there seems to be
4915 no way to get the size of a random GType. This doesn't change any
4916 behaviour. Also fix some typos all over the place and remove an unused,
4917 commented function that is not necessary as g_object_set() could be
4919 * tests/check/libs/controller.c: (GST_START_TEST),
4920 (gst_controller_suite):
4921 Add unit test for gst_controller_get_value_array().
4923 2007-05-21 Jan Schmidt <thaytan@mad.scientist.com>
4925 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
4927 Disable part of the gst_buffer_try_new_and_alloc test, because
4928 it can happily succeed on 64-bit systems where there's more address
4931 2007-05-21 Sebastian Dröge <slomo@circular-chaos.org>
4933 * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
4934 Add unit test for the improved caps checking from bug #421543.
4936 2007-05-21 Wim Taymans <wim@fluendo.com>
4938 * docs/design/part-synchronisation.txt:
4941 * gst/gstbin.c: (gst_bin_query):
4942 * plugins/elements/gstqueue.c: (apply_segment):
4948 2007-05-21 Wim Taymans <wim@fluendo.com>
4950 * gst/gstpad.c: (gst_pad_get_caps_unlocked),
4951 (gst_pad_acceptcaps_default), (gst_pad_configure_sink),
4952 (gst_pad_configure_src):
4953 Added simple version of improved caps checking. It was previously
4954 assumed that a setcaps function would check the validity of the caps but
4955 people prefer us to check caps against the template automatically.
4958 2007-05-21 Wim Taymans <wim@fluendo.com>
4960 * libs/gst/base/gstbasetransform.h:
4961 Fix macro for locking/unlocking the transform lock.
4963 2007-05-19 Tim-Philipp Müller <tim at centricular dot net>
4965 * docs/plugins/tmpl/.cvsignore:
4968 2007-05-18 Edward Hervey <edward@fluendo.com>
4970 * plugins/elements/gstqueue.c: (gst_queue_loop):
4971 Hello, I am Mr Taymans' personal debugger. Today I will introduce a fix
4972 for the subtle art of warning a potentially blocking thread that it
4973 should check the source pad return value, and relay the information
4976 2007-05-18 Edward Hervey <edward@fluendo.com>
4978 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
4979 Release the queue lock !
4981 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
4983 * docs/libs/gstreamer-libs-sections.txt:
4984 Add the two new controller functions to the appropiate places.
4986 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
4988 reviewed by: Stefan Kost <ensonic@users.sf.net>
4990 * libs/gst/controller/gstcontroller.c:
4991 (gst_controller_suggest_next_sync), (gst_controller_sync_values),
4992 (_gst_controller_get_property), (_gst_controller_set_property),
4993 (_gst_controller_init), (_gst_controller_class_init):
4994 * libs/gst/controller/gstcontroller.h:
4995 * libs/gst/controller/gsthelper.c: (gst_object_suggest_next_sync),
4996 (gst_object_get_control_rate), (gst_object_set_control_rate):
4997 API: gst_controller_suggest_next_sync(), gst_object_suggest_next_sync()
4998 Add API that provides sync suggestion timestamps for elements that
4999 call gst_object_sync_values() from which those elements can subdivide
5000 their processing loop to get the best results for the controlled
5001 properties. For now it just suggests last_sync + control_rate as
5002 new timestamp but this will be improved in the future.
5004 While doing that change the control-rate property to a GstClockTime
5005 from guint and change it's meaning from samples to nanoseconds as
5006 the GstController doesn't know anything about sampling rate. Strictly
5007 speaking this breaks ABI but as the control-rate property didn't do
5008 anything in the past and as such couldn't be used this should be no
5011 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
5013 reviewed by: Stefan Kost <ensonic@users.sf.net>
5015 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
5016 (gst_controller_unset_all):
5017 * libs/gst/controller/gstcontrollerprivate.h:
5018 * libs/gst/controller/gstinterpolation.c:
5019 (gst_controlled_property_find_control_point_node):
5020 Save last synced value from the list to continue searching from there
5021 in future syncs. This speeds everything up a bit.
5023 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
5025 reviewed by: Stefan Kost <ensonic@users.sf.net>
5027 * libs/gst/controller/gstcontroller.c: (gst_control_point_compare),
5028 (gst_control_point_find), (gst_controlled_property_new),
5029 (gst_control_point_free), (gst_controlled_property_free),
5030 (gst_controller_set), (gst_controller_set_from_list),
5031 (gst_controller_unset), (gst_controller_unset_all),
5032 (gst_controller_sync_values):
5033 * libs/gst/controller/gstcontroller.h:
5034 * libs/gst/controller/gstcontrollerprivate.h:
5035 * libs/gst/controller/gstinterpolation.c:
5036 (gst_controlled_property_find_control_point_node),
5037 (interpolate_none_get), (interpolate_trigger_get):
5038 Add a new private GstControlPoint struct which "inherits" from
5039 GstTimedValue to allow different interpolators to store internal
5040 values next to each control point. From the outside everything is
5041 still a GstControlPoint so we don't loose binary compatibility.
5042 Also fixup all the GValue handling to not leak GValues or list nodes.
5043 * tests/check/libs/controller.c: (GST_START_TEST):
5044 Free the list nodes and GValues in the controller_misc test.
5046 2007-05-17 Edward Hervey <edward@fluendo.com>
5051 2007-05-16 Tim-Philipp Müller <tim at centricular dot net>
5053 * gst/gstplugin.c: (gst_plugin_load_file):
5054 If we fail to load a plugin because of unresolved symbols or missing
5055 libraries and spew a warning to stderr, we may just as well mention
5056 which plugin it was that failed to load.
5058 2007-05-13 David Schleef <ds@schleef.org>
5060 * docs/Makefile.am: the gtk-doc makefile snippet correctly
5061 handles the case when ENABLE_GTK_DOC is false, and installs
5062 the prebuilt documentation. So gtk-doc subdirs are
5063 unconditionally enabled. Fixes: #349099.
5065 2007-05-13 David Schleef <ds@schleef.org>
5067 * gst/gstutils.h: Reword some documentation.
5069 2007-05-12 David Schleef <ds@schleef.org>
5071 * gst/gstplugin.c: gst_plugin_register_func() doesn't actually
5072 do anything with the passed "module" parameter, so remove it.
5073 Allows removal of additional vestigal code.
5075 2007-05-12 David Schleef <ds@schleef.org>
5078 Using sigaction should depend on HAVE_SIGACTION, not HAVE_WIN32.
5079 Switch to using g_stat() because it's more portable.
5081 2007-05-12 David Schleef <ds@schleef.org>
5084 Add GST_DISABLE_OPTION_PARSING, in order to disable option
5085 parsing for embedded systems.
5086 * gst/gstelementfactory.c:
5087 Allow gst_element_register() to be called with plugin==NULL.
5088 Did nobody notice that static elements were broken?
5090 2007-05-12 Wim Taymans <wim@fluendo.com>
5092 * tools/gst-launch.c: (event_loop):
5093 Give more interesting info when buffering starts and stops.
5094 Fix case where buffering starts but we fail to update the buffering flag
5095 because the target state is not PLAYING.
5097 2007-05-12 Wim Taymans <wim@fluendo.com>
5099 * plugins/elements/gstqueue.c: (gst_queue_init),
5100 (gst_queue_finalize), (update_time_level), (apply_segment),
5101 (apply_buffer), (gst_queue_locked_flush),
5102 (gst_queue_locked_enqueue), (gst_queue_locked_dequeue),
5103 (gst_queue_handle_sink_event), (gst_queue_chain),
5104 (gst_queue_push_one), (gst_queue_loop):
5105 * plugins/elements/gstqueue.h:
5106 Refactor an cleanup queue a bit.
5107 Do better time level calculations that also work when the srcpad is not
5109 Remove some unneeded debug lines.
5111 * tests/check/elements/queue.c: (GST_START_TEST), (queue_suite):
5112 Added testcase for time level measurement.
5113 Try to make some stuff more racefree.
5115 2007-05-11 Tim-Philipp Müller <tim at centricular dot net>
5117 * gst/gsturi.c: (gst_element_make_from_uri):
5118 Don't leak plugin feature.
5120 * tests/check/Makefile.am:
5121 * tests/check/gst/.cvsignore:
5122 * tests/check/gst/gsturi.c: (GST_START_TEST), (gst_uri_suite):
5123 Add brain-dead unit test.
5125 2007-05-11 Tim-Philipp Müller <tim at centricular dot net>
5127 Patch by: Jeroen Wouters <woutersj at gmail com>
5129 * gst/gsturi.c: (gst_uri_get_protocol), (search_by_entry):
5130 Treat protocol strings in a case-insensitive way (#437563).
5132 2007-05-11 Michael Smith <msmith@fluendo.com>
5134 * gst/gstplugin.c: (gst_plugin_load_file):
5135 * gst/gstregistry.c: (gst_registry_scan_path_level):
5136 Don't print a g_warning for any failure to load a shared object.
5137 Instead, push this down into gstplugin.c, and warn _only_ if we
5138 failed to open the module (i.e. failure to link).
5139 Avoids warnings on normal, working, non-plugin .so files.
5141 2007-05-11 Stefan Kost <ensonic@users.sf.net>
5143 * gst/gstplugin.c (gst_plugin_load_file):
5144 * gst/gstregistry.c (GST_CAT_DEFAULT,
5145 gst_registry_lookup_feature_locked, gst_registry_scan_path_level):
5146 Print a g_warning if there was an error when loading a plugins during
5147 registry scan. The shuld help beginners starting with gst-plugin
5150 2007-05-10 Wim Taymans <wim@fluendo.com>
5152 * plugins/elements/gstqueue.c: (gst_queue_class_init),
5153 (update_time_level), (gst_queue_locked_flush),
5154 (gst_queue_handle_sink_event), (gst_queue_chain),
5155 (gst_queue_push_one), (gst_queue_loop):
5156 * plugins/elements/gstqueue.h:
5157 Be smarter when calculating the current amount of data in the queue by
5158 measuring the difference between start and end timestamps (in running
5159 time) inside the queue. Fixes #432876.
5160 API: GstQueue::pushing to notify elements that we are pushing data again
5161 since the running signal is rather broken for this purpose.
5163 2007-05-10 Stefan Kost <ensonic@users.sf.net>
5165 * plugins/elements/gstqueue.c (_do_init, gst_queue_signals,
5166 gst_queue_base_init, gst_queue_init):
5169 2007-05-09 Sebastien Moutte <sebastien@moutte.net>
5171 * win32/common/libgstreamer.def:
5172 Add new exported functions.
5173 * win32/vs6/grammar.dsp:
5174 Use grammar pre-generated files.
5176 2007-05-09 Tim-Philipp Müller <tim at centricular dot net>
5178 Based on patch by: Peter Kjellerstedt <pkj at axis com>
5181 * gst/gstparse.c: (gst_parse_launchv), (gst_parse_launch):
5183 * gst/gstutils.c: (gst_parse_bin_from_description):
5185 Maintain API and ABI when --disable-parse is used. Now that
5186 we have an appropriate error code, we can just return NULL and the
5187 appropriate error when gst_parse_launch() is used despite it having
5188 been disabled (#342564).
5190 * tests/check/Makefile.am:
5191 * tests/check/pipelines/.cvsignore:
5192 * tests/check/pipelines/parse-disabled.c:
5193 Make sure these functions exist and return NULL plus a GError when
5194 --disable-parse is used.
5196 2007-05-09 Tim-Philipp Müller <tim at centricular dot net>
5198 * tests/benchmarks/complexity.c: (main):
5199 * tests/benchmarks/mass-elements.c: (main):
5200 Set a good example and don't leak messages.
5202 2007-05-06 Stefan Kost <ensonic@users.sf.net>
5204 * docs/gst/Makefile.am:
5205 * docs/libs/Makefile.am:
5206 Correct fixxrefs options.
5208 * docs/plugins/Makefile.am:
5209 * docs/plugins/gstreamer-plugins-docs.sgml:
5210 * docs/plugins/gstreamer-plugins-sections.txt:
5211 * plugins/elements/Makefile.am:
5212 * plugins/elements/gstcapsfilter.c (gst_capsfilter_details):
5213 * plugins/elements/gstcapsfilter.h (__GST_CAPSFILTER_H__,
5214 GST_TYPE_CAPSFILTER, GST_CAPSFILTER, GST_CAPSFILTER_CLASS,
5215 GST_IS_CAPSFILTER, GST_IS_CAPSFILTER_CLASS, GstCapsFilter,
5216 GstCapsFilterClass, _GstCapsFilter, trans, filter_caps,
5217 _GstCapsFilterClass, trans_class):
5218 * plugins/elements/gstelements.c (name, rank, type, _elements):
5219 * plugins/elements/gstidentity.c
5220 (gst_identity_check_imperfect_timestamp,
5221 gst_identity_check_imperfect_offset):
5222 Document capsfilter and add doc-blurb to identity.
5224 2007-05-04 Tim-Philipp Müller <tim at centricular dot net>
5226 * libs/gst/controller/gstcontroller.c:
5227 (gst_controlled_property_set_interpolation_mode):
5228 * libs/gst/controller/gstinterpolation.c:
5229 Don't crash if someone tries to set an interpolation mode that
5230 is invalid or that isn't supported yet. Fixes #422295.
5232 * tests/check/libs/controller.c: (GST_START_TEST),
5233 (gst_controller_suite):
5234 Add a test case for the above.
5236 2007-05-03 Edward Hervey <edward@fluendo.com>
5238 * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
5239 Properly set the last_stop position on GstSegment. This will only happen
5240 if there is a buffer to push out.
5242 2007-05-03 Wim Taymans <wim@fluendo.com>
5244 * libs/gst/base/gstbasetransform.c:
5245 (gst_base_transform_buffer_alloc):
5246 always_in_place does not mean that the sink and source caps are the
5247 same! Make sure we don't blindly proxy the buffer_alloc in this case.
5249 2007-05-03 Wim Taymans <wim@fluendo.com>
5251 * docs/libs/gstreamer-libs-sections.txt:
5252 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
5253 (gst_base_src_default_query), (gst_base_src_get_range):
5254 * libs/gst/base/gstbasesrc.h:
5255 API: gst_base_src_query_latency(). Added method so that subclasses can
5256 easily get the latency values of the base source class.
5258 2007-05-02 Zaheer Abbas Merali <<zaheerabbas at merali dot org>>
5260 * tools/gst-inspect.c (print_implementation_info):
5263 2007-05-02 Tim-Philipp Müller <tim at centricular dot net>
5265 * tools/Makefile.am:
5266 * tools/gst-launch.1.in:
5267 Don't create a customised man page based on the host architecture,
5268 describe the default registry path generically. That way the man
5269 page is the same for all architectures and packagers have one
5270 multilib issue less to deal with. Fixes #434926.
5272 2007-05-02 Wim Taymans <wim@fluendo.com>
5275 Fix documentation as spotted by rg on IRC.
5277 2007-04-29 Stefan Kost <ensonic@users.sf.net>
5280 Improve docs for gst_element_{link,unlink}.
5282 2007-04-28 Tim-Philipp Müller <tim at centricular dot net>
5284 * docs/design/part-events.txt:
5285 * docs/design/part-overview.txt:
5289 * libs/gst/base/gstbasesink.c:
5290 Typo fixes; minor docs addition.
5292 2007-04-27 Sebastian Dröge <slomo@circular-chaos.org>
5294 * docs/gst/gstreamer-sections.txt:
5295 * gst/gsturi.c: (get_element_factories_from_uri_protocol),
5296 (gst_uri_protocol_is_supported), (gst_element_make_from_uri):
5298 API: Add gst_uri_protocol_is_supported(), which checks if a sink
5299 or src that supports a given URI protocol exists.
5301 2007-04-27 Sebastian Dröge <slomo@circular-chaos.org>
5303 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
5304 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
5305 Set the location to NULL if "file://" is set as URI. Otherwise
5306 some random previous URI would still be set if "file://" is
5307 set on an already used filesink/filesrc.
5309 2007-04-27 Sebastian Dröge <slomo@circular-chaos.org>
5311 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
5312 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
5313 Special case the "file://" URI as as this is used by some
5314 applications to test with gst_element_make_from_uri if there's
5315 an element that supports the URI protocol.
5316 Also move the g_path_is_absolute() check for the location part
5317 of the URI to also check this for "file://localhost/bla" URIs.
5319 2007-04-26 Tim-Philipp Müller <tim at centricular dot net>
5321 * docs/gst/gstreamer-sections.txt:
5322 * gst/gstbuffer.c: (gst_buffer_try_new_and_alloc):
5324 * tests/check/gst/gstbuffer.c: (GST_START_TEST),
5326 API: add gst_buffer_try_new_and_alloc() plus unit test (#431940).
5328 2007-04-26 Stefan Kost <ensonic@users.sf.net>
5330 * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
5331 (gst_registry_binary_load_pad_template),
5332 (gst_registry_binary_load_plugin),
5333 (gst_registry_binary_read_cache):
5334 * gst/gstregistrybinary.h:
5335 Implement no-mmap alternative for registry reading. Do code cleanups.
5336 Add more comments about avoiding strdups for all text data. Comments
5339 2007-04-25 Stefan Kost <ensonic@users.sf.net>
5341 * gst/gstregistrybinary.h (GstBinaryPluginElement,
5342 GstBinaryPluginFeature, _GstBinaryElementFactory, plugin_feature,
5343 GstBinaryElementFactory, _GstBinaryTypeFindFactory, plugin_feature):
5344 Comment structs and reformat to fix the build (that stuff should go
5345 into a priv. header).
5347 2007-04-25 Stefan Kost <ensonic@users.sf.net>
5349 * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
5350 (gst_registry_binary_load_feature):
5351 * gst/gstregistrybinary.h:
5352 Refactor so that we can implement multiple features. Add support for
5353 TypeFindFactory features.
5355 2007-04-24 Stefan Kost <ensonic@users.sf.net>
5357 Patch by: Peter Kjellerstedt <Peter.Kjellerstedt@axis.com>
5360 Fix AM_CONDITIONAL(GST_DISABLE_GST_DEBUG,...) and update comment.
5362 2007-04-23 Stefan Kost <ensonic@users.sf.net>
5364 * gst/gstbin.c: (gst_bin_element_set_state),
5365 (iterator_activate_fold_with_resync), (gst_bin_continue_func),
5366 (bin_handle_async_done), (gst_bin_handle_message_func):
5367 Fix build with --gst-disable-gst-debug
5369 2007-04-21 Tim-Philipp Müller <tim at centricular dot net>
5371 * libs/gst/base/gstbasetransform.c: (gst_base_transform_activate):
5372 Make sure streaming has finished before calling the ::stop() vfunc,
5373 since that vfunc might clear state which is being used in the
5374 streaming thread. This fixes a race that caused crashes in
5375 audioresample when shutting down a pipeline (#420106).
5377 2007-04-20 Stefan Kost <ensonic@users.sf.net>
5379 * docs/gst/gstreamer-sections.txt:
5380 That was one byte missing.
5382 2007-04-20 Stefan Kost <ensonic@users.sf.net>
5385 * docs/gst/gstreamer-sections.txt:
5387 * gst/gstconfig.h.in:
5388 * gst/gstobject.c: (gst_object_class_init),
5389 (gst_signal_object_class_init):
5391 2nd attempt to have a xml-less build as a joined effort of #413123
5394 2007-04-20 Stefan Kost <ensonic@users.sf.net>
5396 * docs/design/draft-tagreading.txt:
5397 Added open issues/thoughts to draft.
5399 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
5401 * gst/parse/grammar.tab.pre.c:
5402 * gst/parse/grammar.tab.pre.h:
5403 * gst/parse/lex._gst_parse_yy.pre.c:
5404 Update the prebuild parser sources.
5406 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
5408 * gst/parse/Makefile.am:
5409 And now fix the building of the flex sources. Now everything should
5412 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
5414 * gst/parse/Makefile.am:
5415 Now hopefully fix the build failures by setting proper rule
5416 dependencies and moving instead of copying.
5418 2007-04-19 Stefan Kost <ensonic@users.sf.net>
5420 * tests/benchmarks/complexity.gnuplot:
5421 * tests/benchmarks/complexity.scm:
5422 * tests/benchmarks/mass-elements.gnuplot:
5423 * tests/benchmarks/mass-elements.scm:
5424 Total licensification.
5426 2007-04-19 Stefan Kost <ensonic@users.sf.net>
5428 * gst/parse/Makefile.am:
5429 Fix the build by correcting the rule that gave wrong files to flex.
5431 2007-04-19 Stefan Kost <ensonic@users.sf.net>
5433 * tests/benchmarks/complexity.c:
5434 * tests/benchmarks/mass-elements.c:
5435 Change licence to LGPL as granted by Benjamin and Andy.
5437 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
5439 * gst/parse/Makefile.am:
5440 Add correct grammar.tab.h dependency if compiling without new enough
5441 flex. Fixes #431150.
5443 2007-04-18 Sebastian Dröge <slomo@circular-chaos.org>
5445 * gst/parse/Makefile.am:
5446 Fix typo and use outdated sources if the flex/bison sources are newer
5447 than the pregenerated ones but flex is too old. Print a warning in
5448 that case. This should fix the build on the build bot.
5450 2007-04-18 Sebastian Dröge <slomo@circular-chaos.org>
5452 Patch by: Marc-Andre Lureau <marcandre dot lureau at gmail dot com>
5453 * gst/parse/Makefile.am:
5454 * gst/parse/grammar.y:
5455 * gst/parse/parse.l:
5456 Make the parser reentrant and recursively callable. This requires flex
5457 >= 2.5.31, for older versions pregenerated sources are used as we
5458 can't bump the build dependency. Finally fixes #349180.
5460 * gst/gstparse.c: (gst_parse_launch):
5461 Drop the HAVE_MT_SAVE_FLEX #ifdefs as we always use a new enough flex
5464 * docs/gst/Makefile.am:
5465 * docs/gst/Makefile.am:
5466 * gst/parse/grammar.tab.pre.c: (__gst_parse_strdup),
5467 (__gst_parse_strfree), (__gst_parse_link_new),
5468 (__gst_parse_link_free), (__gst_parse_chain_new),
5469 (__gst_parse_chain_free), (SET_ERROR), (YYPRINTF),
5470 (gst_parse_element_set), (gst_parse_free_link),
5471 (gst_parse_found_pad), (gst_parse_perform_delayed_link),
5472 (gst_parse_perform_link), (yytnamerr), (yysyntax_error), (yyerror),
5473 (_gst_parse_launch):
5474 * gst/parse/grammar.tab.pre.h:
5475 * gst/parse/lex._gst_parse_yy.pre.c: (PRINT), (yy_get_next_buffer),
5476 (yy_get_previous_state), (yy_try_NUL_trans), (input),
5477 (_gst_parse_yyrestart), (_gst_parse_yy_switch_to_buffer),
5478 (_gst_parse_yy_load_buffer_state), (_gst_parse_yy_create_buffer),
5479 (_gst_parse_yy_delete_buffer), (_gst_parse_yy_init_buffer),
5480 (_gst_parse_yy_flush_buffer), (_gst_parse_yypush_buffer_state),
5481 (_gst_parse_yypop_buffer_state),
5482 (_gst_parse_yyensure_buffer_stack), (_gst_parse_yy_scan_buffer),
5483 (_gst_parse_yy_scan_string), (_gst_parse_yy_scan_bytes),
5484 (yy_fatal_error), (_gst_parse_yyget_extra),
5485 (_gst_parse_yyget_lineno), (_gst_parse_yyget_column),
5486 (_gst_parse_yyget_in), (_gst_parse_yyget_out),
5487 (_gst_parse_yyget_leng), (_gst_parse_yyget_text),
5488 (_gst_parse_yyset_extra), (_gst_parse_yyset_lineno),
5489 (_gst_parse_yyset_column), (_gst_parse_yyset_in),
5490 (_gst_parse_yyset_out), (_gst_parse_yyget_debug),
5491 (_gst_parse_yyset_debug), (_gst_parse_yyget_lval),
5492 (_gst_parse_yyset_lval), (_gst_parse_yylex_init),
5493 (yy_init_globals), (_gst_parse_yylex_destroy), (yy_flex_strncpy),
5494 (yy_flex_strlen), (_gst_parse_yyalloc), (_gst_parse_yyrealloc),
5495 (_gst_parse_yyfree):
5496 If the installed flex version is too old use pre-generated parser
5497 sources. These pre-generated parser sources are always updated when
5498 the actual flex/bison sources change but require everybody who wants
5499 to change something in the parser to have flex >= 2.5.31 installed.
5501 2007-04-18 Stefan Kost <ensonic@users.sf.net>
5503 * common/m4/gst-gettext.m4:
5504 * gst/gst-i18n-lib.h:
5505 Make --disable-nls to work
5507 2007-04-17 Wim Taymans <wim@fluendo.com>
5509 * gst/gstconfig.h.in:
5510 Revert previous change that broke the build.
5512 2007-04-17 Stefan Kost <ensonic@users.sf.net>
5516 * gst/gstconfig.h.in:
5517 Drop libxml2 dependency when building with
5518 --enable-binary-registry --disable-loadsave
5520 2007-04-16 Tim-Philipp Müller <tim at centricular dot net>
5522 * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
5523 (gst_registry_binary_read_cache):
5524 * gst/gstregistrybinary.h:
5525 Remove unnecessary <sys/mman.h> include which broke the win32 build
5526 with MingW; move includes from header file to .c file, even if the
5527 header file isn't installed; use g_strerror() where UTF-8 strings
5528 are expected, such as in GST_DEBUG messages.
5530 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
5532 * docs/libs/gstreamer-libs-sections.txt:
5533 Remove bogus addition for API I didn't end up keeping.
5535 * libs/gst/base/gstbasesrc.h:
5536 Mention Since: 0.10.13 in the documentation.
5538 Add the API keyword to the previous ChangeLog entry.
5540 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
5542 * docs/libs/gstreamer-libs-sections.txt:
5543 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
5544 (gst_base_src_default_prepare_seek_segment),
5545 (gst_base_src_prepare_seek_segment), (gst_base_src_perform_seek):
5546 * libs/gst/base/gstbasesrc.h:
5547 Allow basesrc derived classes to execute seeks in other formats
5548 by providing a prepare_seek_segment vmethod. Sub-classes can choose
5549 to prepare the GstSegment in any format that their perform_seek method
5550 will be able to understand. The default implementation provides the
5551 old behaviour of attempting to convert the seek offsets to the
5552 configured native format.
5554 API: basesrc::prepare_seek_segment vmethod.
5556 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
5558 * gst/gstelement.c: (gst_element_get_state_func):
5559 Don't output the same debug statement twice.
5561 * libs/gst/base/gstadapter.c: (gst_adapter_try_to_merge_up),
5562 (gst_adapter_peek), (gst_adapter_take_buffer):
5563 Optimise the case where we have buffers at the head of the queue that
5564 can be joined quickly (because they're contiguous sub-buffers) by
5565 merging them together rather than copying data out into new memory.
5567 * gst/parse/grammar.y:
5568 * tests/check/pipelines/parse-launch.c:
5569 Fix a leak in an error path for parse_launch, and add a check
5570 for it to the testsuite.
5572 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
5574 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
5575 Don't deadlock when releasing a pad - gst_pad_set_active may try
5576 and take the multiqueue lock too.
5578 2007-04-12 Tim-Philipp Müller <tim at centricular dot net>
5580 * gst/gsterror.c: (_gst_core_errors_init):
5582 API: add GST_CORE_ERROR_DISABLED (#392804).
5584 2007-04-12 Thomas Vander Stichele <thomas at apestaart dot org>
5586 * docs/faq/gst-uninstalled:
5587 don't get empty paths on the PATH variables
5588 * gst/gstpad.c (gst_pad_is_active, gst_pad_set_blocked_async):
5589 Don't format for the uncommon terminal width of 84 characters.
5591 2007-04-06 Wim Taymans <wim@fluendo.com>
5593 * gst/gstpipeline.c: (reset_stream_time),
5594 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time):
5595 Only try to select a different pipeline clock when we went back to
5596 PAUSED and not when we merely got flushed.
5598 2007-04-05 Michael Smith <msmith@fluendo.com>
5600 * tools/gst-launch.1.in:
5601 fractions are better supported in gstreamer than ractions, so
5602 suggest using those.
5604 2007-04-05 Thomas Vander Stichele <thomas at apestaart dot org>
5606 Submitted by: Mogens Jaeger <mogens@jaeger.tf>
5610 Added Danish translation.
5612 2007-04-05 Wim Taymans <wim@fluendo.com>
5614 * libs/gst/base/gstbasesink.c:
5615 (gst_base_sink_queue_object_unlocked), (gst_base_sink_event):
5616 Fix leak caused when refusing newsegment after EOS.
5618 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
5619 (gst_fake_sink_init), (gst_fake_sink_set_property),
5620 (gst_fake_sink_get_property), (gst_fake_sink_preroll),
5621 (gst_fake_sink_render), (gst_fake_sink_change_state):
5622 * plugins/elements/gstfakesink.h:
5623 Add num-buffers property to make the element generate EOS after a
5624 configurable amount of buffers.
5625 API: fakesink::num-buffers property.
5627 * tests/check/elements/fakesink.c: (GST_START_TEST),
5629 Fix GstBus leak in test.
5630 Test for fakesink num-buffers.
5632 2007-04-05 Wim Taymans <wim@fluendo.com>
5634 * libs/gst/base/gstbasesink.c:
5635 (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
5636 (gst_base_sink_change_state):
5637 Don't accept anything after an EOS, return UNEXPECTED instead.
5639 * tests/check/elements/fakesink.c: (GST_START_TEST),
5641 Unit test for new EOS behaviour.
5643 2007-04-05 Wim Taymans <wim@fluendo.com>
5645 * gst/gstelement.c: (gst_element_get_request_pad):
5646 Make padtemplates also work when they don't contain %s or %d.
5648 2007-04-05 Wim Taymans <wim@fluendo.com>
5650 * docs/gst/gstreamer-sections.txt:
5651 * gst/gstclock.c: (gst_clock_adjust_unlocked),
5652 (gst_clock_unadjust_unlocked), (gst_clock_set_calibration):
5654 Improve _adjust_unlocked() so that it overflows less.
5655 Add gst_clock_unadjust_unlocked to convert from external time to
5656 internal time based on calibration.
5657 Add some more debug.
5658 API: GstClock::gst_clock_unadjust_unlocked()
5660 2007-04-03 Wim Taymans <wim@fluendo.com>
5662 Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
5664 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
5665 Deactivate pads and free GstSingleQueue with gst_single_queue_free()
5666 when releasing sink pad. Fixes #425400.
5668 2007-04-02 Stefan Kost <ensonic@users.sf.net>
5670 * docs/random/ensonic/dynlink.txt:
5671 More work on proposal for new core api.
5673 * docs/libs/gstreamer-libs-sections.txt:
5674 * libs/gst/base/gstbasetransform.h:
5675 API: GST_BASE_TRANSFORM_LOCK/UNLOCK added
5677 * libs/gst/controller/gstcontroller.c:
5678 (on_object_controlled_property_changed),
5679 (gst_controller_sync_values),
5680 (gst_controller_set_interpolation_mode):
5681 * libs/gst/controller/gstcontroller.h:
5682 Less verbose logging add docs for unimplemented parts and correctly
5683 return when using unavailable parts.
5685 2007-03-29 Jan Schmidt <thaytan@mad.scientist.com>
5687 * gst/gstclock.c: (gst_clock_set_master), (do_linear_regression):
5688 Move all the debug to the CLOCK category, and associate it with
5691 2007-03-29 Jan Schmidt <thaytan@mad.scientist.com>
5693 * libs/gst/base/gstadapter.c: (gst_adapter_take_buffer):
5694 Make take_buffer a bit quicker by removing redundant checks
5695 caused by calling gst_adapter_take.
5697 2007-03-28 Tim-Philipp Müller <tim at centricular dot net>
5699 * plugins/elements/gstmultiqueue.c: (gst_single_queue_free):
5702 * tests/check/Makefile.am:
5703 * tests/check/elements/.cvsignore:
5704 * tests/check/elements/multiqueue.c: (setup_multiqueue),
5705 (GST_START_TEST), (multiqueue_suite):
5706 Add some dead simple unit tests for the 'multiqueue' element
5707 (some bits don't work yet and are disabled for now).
5709 2007-03-28 Tim-Philipp Müller <tim at centricular dot net>
5711 * gst/gstelement.c: (gst_element_get_request_pad),
5712 (gst_element_class_get_request_pad_template):
5713 Make gst_element_get_request_pad() create request pads only for
5714 request pad templates and not for, say, sometimes pad templates.
5716 2007-03-28 Stefan Kost <ensonic@users.sf.net>
5718 * docs/design/draft-klass.txt:
5719 Add example that needs more thinking.
5721 * docs/design/draft-missing-plugins.txt:
5722 More thoughts about wrapper plugins.
5724 * docs/random/ensonic/embedded.txt:
5725 * docs/random/ensonic/profiling.txt:
5728 2007-03-25 Wim Taymans <wim@fluendo.com>
5730 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range),
5731 (gst_base_src_loop):
5732 Only push the segment events in the PLAYING state for live sources.
5734 2007-03-23 Jan Schmidt <thaytan@mad.scientist.com>
5736 * gst/gstpipeline.c: (gst_pipeline_change_state):
5737 Modify the clock distribution path in PAUSED->PLAYING so that we
5738 never attempt to choose a new clock unless we're actually leaving
5739 the PAUSED state for the first time. This prevents choosing a
5740 different clock when the state_change gets called for a 2nd time due
5741 to some element doing an async state change.
5743 2007-03-22 Sebastian Dröge <slomo@circular-chaos.org>
5745 * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_configure_sink),
5746 (gst_pad_configure_src), (gst_pad_alloc_buffer_full),
5747 (gst_pad_chain_unchecked), (gst_pad_push):
5748 Revert last commit. This needs some more thoughts.
5750 2007-03-22 Sebastian Dröge <slomo@circular-chaos.org>
5752 * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_alloc_buffer_full),
5753 (gst_pad_chain_unchecked), (gst_pad_push):
5754 Check in set_caps if the caps are compatible with the pad and remove
5755 two functions that are redundant now. Fixes #421543.
5757 2007-03-22 Wim Taymans <wim@fluendo.com>
5759 * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
5760 (mixed_thread), (mixed_async_cb), (gst_systemclock_suite):
5761 Unref some more to make valgrind happy.
5763 2007-03-22 Wim Taymans <wim@fluendo.com>
5765 * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked),
5766 (gst_system_clock_id_wait_jitter),
5767 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
5768 Fix anoying regression that survived a few releases. When adding an
5769 async entry while blocking on a sync entry, the sync entry will unblock
5770 but still be busy, so it should continue to wait instead of returning
5772 Add some comments here and there.
5774 * tests/check/gst/gstsystemclock.c: (mixed_thread),
5775 (mixed_async_cb), (GST_START_TEST), (gst_systemclock_suite):
5776 Add testcase for this.
5778 2007-03-22 Wim Taymans <wim@fluendo.com>
5780 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
5781 Handle errors from the clock sync better, only UNSCHEDULED indicates a
5782 WRONG_STATE and can silently pause the task. All other cases should
5785 2007-03-22 Wim Taymans <wim@fluendo.com>
5787 Patch by: Ville Syrjala <syrjala at sci dot fi>
5789 * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_send_event):
5790 Fix possible deadlock if pad eventfunc is not specified. Fixes #421177.
5793 2007-03-21 Michael Smith <msmith@fluendo.com>
5795 * docs/pwg/advanced-types.xml:
5796 Fix some errors in the typefinding docs pointed out on irc.
5798 2007-03-21 Jan Schmidt <thaytan@mad.scientist.com>
5800 * libs/gst/base/gstbasesrc.c:
5801 Clarify FIXME comment in the face of having added unlock_stop()
5803 2007-03-21 Wim Taymans <wim@fluendo.com>
5805 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_element_set_state):
5806 Prepare for release where we warn against possible app breakage in the
5807 case of live pipelines along with an env var to enable/disable live
5808 preroll mode (GST_COMPAT=[no-]live-preroll).
5810 2007-03-20 Zaheer Abbas Merali <zaheerabbas at merali dot org>
5812 * plugins/elements/gstidentity.c (gst_identity_check_imperfect_offset):
5813 So we should use correct constants for checking for None offset.
5815 2007-03-20 Wim Taymans <wim@fluendo.com>
5817 * docs/design/part-block.txt:
5818 Mention the fact that the newly switched element should be set to at
5821 2007-03-20 Wim Taymans <wim@fluendo.com>
5824 Fix compilation with registry disabled as spotted by Saur.
5826 2007-03-20 Wim Taymans <wim@fluendo.com>
5828 Patch by: Olivier Crete <tester at tester dot ca>
5830 * gst/gstelement.c: (gst_element_sync_state_with_parent):
5831 Look at the pending state too when syncing the element state to the
5832 parent. Fixes #420133.
5834 2007-03-19 Jan Schmidt <thaytan@mad.scientist.com>
5836 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
5837 (gst_base_sink_change_state):
5838 * libs/gst/base/gstbasesink.h:
5839 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
5840 (gst_base_src_default_event), (gst_base_src_unlock_stop),
5841 (gst_base_src_deactivate):
5842 * libs/gst/base/gstbasesrc.h:
5843 Add ::unlock_stop to basesrc and basesink. This allows an opportunity
5844 for sub-classes to correctly clear any state they set trying to
5845 unlock, such as clearing out unlock commands from a command fd.
5846 API: basesrc::unlock_stop
5847 API: basesink::unlock_stop
5849 * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init),
5850 (gst_fd_sink_render), (gst_fd_sink_unlock),
5851 (gst_fd_sink_unlock_stop):
5852 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
5853 (gst_fd_src_init), (gst_fd_src_unlock), (gst_fd_src_unlock_stop),
5854 (gst_fd_src_create), (gst_fd_src_get_size), (gst_fd_src_do_seek):
5856 Implement unlock_stop in fdsrc and fdsink.
5857 Implement seeking in fdsrc when a seekable fd is passed, as in
5858 gst-launch-0.10 fdsrc ! ... ! xvimagesink < /path/to/file
5860 2007-03-19 Wim Taymans <wim@fluendo.com>
5862 Patch by: Evan Nemerson <evan at coeus dash group dot com>
5864 * gst/gstelement.c: (gst_element_class_init):
5865 Fix pad-added and pad-removed signal signatures so that the pad type is
5866 stated as GST_TYPE_PAD instead of G_TYPE_OBJECT. Fixes #419851.
5868 2007-03-19 Wim Taymans <wim@fluendo.com>
5870 * docs/gst/gstreamer-sections.txt:
5871 Add new element field and method.
5873 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
5874 (bin_remove_messages), (gst_bin_add_func), (gst_bin_remove_func),
5875 (gst_bin_recalc_state), (gst_bin_get_state_func),
5876 (gst_bin_element_set_state), (gst_bin_change_state_func),
5877 (gst_bin_continue_func), (bin_bus_handler),
5878 (bin_push_state_continue), (bin_handle_async_start),
5879 (bin_handle_async_done), (gst_bin_handle_message_func):
5880 Make async state changes a bit smarter by using new ASYNC_START and
5881 ASYNC_DONE messages. This reduces the number of times we run the state
5882 recalculation thread.
5883 Don't change state of element with a pending ASYNC_START message.
5884 Deprecate STATE_DIRTY messages.
5886 * gst/gstelement.c: (gst_element_init), (gst_element_send_event),
5887 (gst_element_get_state_func), (gst_element_continue_state),
5888 (gst_element_lost_state), (gst_element_set_state_func),
5889 (gst_element_change_state):
5891 Keep the state that was last set by the app in a new element field.
5892 Don't allow state changes when handling an element event.
5893 Post ASYNC_START and ASYNC_DONE messages.
5894 Change lost_state so that we go to PAUSED and wait for the parent to set
5895 us to PLAYING again (so latency calculation can be performed)
5896 Export gst_element_change_state() method so that subclasses can use it.
5897 API: gst_element_change_state()
5898 API: GST_STATE_TARGET
5900 * gst/gstpipeline.c: (gst_pipeline_class_init),
5901 (reset_stream_time), (gst_pipeline_change_state),
5902 (gst_pipeline_handle_message), (gst_pipeline_set_new_stream_time):
5903 Using the new ASYNC_START message we can reset the base_time when
5904 needed. This can then be used to implement base_time redistribution in
5905 flushing seeks so that we can remove the explicit seek handling.
5906 Perform latency query and configuration when going to PLAYING.
5908 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
5909 (gst_base_sink_query), (gst_base_sink_change_state):
5910 Post new ASYNC_START/ASYNC_DONE messages.
5912 * tests/check/generic/sinks.c: (GST_START_TEST):
5913 Fix test because the bin will not set the async element to PLAYING right
5916 * tests/check/gst/gstbin.c: (pop_async_done), (GST_START_TEST):
5917 Make the message check a little stronger.
5918 Handle ASYNC messages.
5920 * tests/check/pipelines/cleanup.c: (GST_START_TEST):
5921 * tests/check/pipelines/simple-launch-lines.c: (GST_START_TEST):
5922 Expect ASYNC_DONE messages.
5924 2007-03-19 Wim Taymans <wim@fluendo.com>
5926 * docs/gst/gstreamer-sections.txt:
5927 * gst/gstmessage.c: (gst_message_new_async_start),
5928 (gst_message_new_async_done), (gst_message_parse_info),
5929 (gst_message_parse_async_start):
5931 Add ASYNC_START and ASYNC_DONE messages to prepare for latency
5934 2007-03-15 Tim-Philipp Müller <tim at centricular dot net>
5936 * tools/gst-inspect.c:
5937 (print_plugin_automatic_install_info_codecs):
5938 Now that we don't check for the 'Codec' keyword any longer in the
5939 klass, we shouldn't spew a warning if the klass isn't a decoder or
5940 encoder (since it might be a Source/Network, for example).
5942 2007-03-14 Tim-Philipp Müller <tim at centricular dot net>
5944 * tools/gst-inspect.c:
5945 (print_plugin_automatic_install_info_codecs):
5946 Don't require decoder/demuxer/depayloader elements or
5947 encoder/muxer/paylader elements to have 'Codec' as part of their
5948 factory class string when introspecting a plugin's capabilities.
5949 draft-klass.txt mentions that it might be removed in future, and
5950 flump3dec doesn't have it as part of its class string, so chances
5951 are others might also not have it.
5953 2007-03-14 Thomas Vander Stichele <thomas at apestaart dot org>
5975 Update translations from translation project
5977 2007-03-14 Stefan Kost <ensonic@users.sf.net>
5979 * gst/gstchildproxy.c: (gst_child_proxy_get_property),
5980 (gst_child_proxy_set_property):
5981 Invert precondition check to be alike the ones in the mimiced gobject
5984 2007-03-13 Stefan Kost <ensonic@users.sf.net>
5986 * docs/design/draft-tagreading.txt:
5987 * docs/random/ensonic/audiobaseclasses.txt:
5988 Do some Architect work.
5990 * gst/gstobject.c: (gst_object_set_name):
5994 Add docs that point from gst_pad_get_range to gst_pad_pull_range
5996 2007-03-12 Jan Schmidt <thaytan@mad.scientist.com>
5998 * gst/gstsystemclock.c: (gst_system_clock_init),
5999 (gst_system_clock_start_async), (gst_system_clock_id_wait_async):
6000 Defer starting the async system clock thread until the first async
6001 wait is scheduled. Fixes #414986.
6003 2007-03-12 Tim-Philipp Müller <tim at centricular dot net>
6005 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_finalize),
6006 (gst_single_queue_free):
6007 Fix small leak (free GstSingleQueue structure too, not only contents).
6009 2007-03-10 Sebastien Moutte <sebastien@moutte.net>
6011 * gst/gstbin.c:(gst_bin_add):
6012 Use GST_STR_NULL to prevent NULL pointer to be passed to GST_CAT_DEBUG.
6013 * win32/common/libgstbase.def:
6014 * win32/common/libgstreamer.def:
6015 Add new exported functions.
6017 2007-03-09 Wim Taymans <wim@fluendo.com>
6019 * docs/plugins/gstreamer-plugins-sections.txt:
6022 2007-03-09 Wim Taymans <wim@fluendo.com>
6024 * docs/gst/gstreamer-sections.txt:
6025 * gst/gstbuffer.c: (gst_buffer_copy_metadata), (_gst_buffer_copy):
6027 Add metadata copy functions. Fixes #393099.
6028 API: gst_buffer_copy_metadata()
6030 * gst/gstutils.c: (gst_buffer_stamp):
6031 * libs/gst/base/gstbasetransform.c:
6032 (gst_base_transform_prepare_output_buffer):
6033 Use new metadata copy functions.
6035 2007-03-09 Thomas Vander Stichele <thomas at apestaart dot org>
6037 * plugins/elements/gstidentity.c: (gst_identity_class_init),
6038 (gst_identity_init), (gst_identity_check_perfect),
6039 (gst_identity_check_imperfect_timestamp),
6040 (gst_identity_check_imperfect_offset), (gst_identity_transform_ip),
6041 (gst_identity_set_property), (gst_identity_get_property):
6042 * plugins/elements/gstidentity.h:
6043 Separate out check-imperfect-timestamp and check-imperfect-offset.
6044 Put back check-perfect as it was to keep compatibility.
6046 2007-03-09 Jan Schmidt <thaytan@mad.scientist.com>
6048 * gst/gstelement.c: (gst_element_dispose):
6049 There's no need to warn if VOID_PENDING is not NONE here, as
6050 long as the state is NULL it's ok, and that's checked immediately
6053 2007-03-08 Zaheer Abbas Merali <zaheerabbas at merali dot org>
6055 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
6056 Fix check for perfect stream to ignore buffers with -1
6057 offsets/offset ends when checking data contiguity.
6059 2007-03-08 Wim Taymans <wim@fluendo.com>
6061 * tools/gst-launch.c: (event_loop):
6062 Print INFO messages.
6064 2007-03-08 Wim Taymans <wim@fluendo.com>
6066 * libs/gst/base/gstbasetransform.c:
6067 (gst_base_transform_sink_eventfunc),
6068 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
6069 (gst_base_transform_activate):
6070 * libs/gst/base/gstbasetransform.h:
6071 Add support for dropping buffers with custom GstFlowReturn.
6072 Set DISCONT flags on outgoing buffers based on QoS, incomming DISCONT
6073 buffers or dropped buffers.
6075 * docs/libs/gstreamer-libs-sections.txt:
6076 docs for new custom return code.
6078 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
6079 Use drop support in base class to implement drop-probability.
6081 2007-03-07 Tim-Philipp Müller <tim at centricular dot net>
6083 * gst/gst.c: (load_plugin_func):
6084 * gst/gstplugin.c: (gst_plugin_load_by_name), (gst_plugin_load):
6085 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
6086 * gst/gsttrace.c: (gst_trace_new), (gst_alloc_trace_set_flags_all):
6087 Remove newlines at end of debug log strings.
6089 2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
6091 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
6092 Only post bus message at max, once per buffer received.
6094 2007-03-07 Wim Taymans <wim@fluendo.com>
6096 * docs/design/Makefile.am:
6097 * docs/design/part-synchronisation.txt:
6098 Add doc about synchronisation
6100 * docs/design/draft-latency.txt:
6101 * docs/design/part-TODO.txt:
6102 * docs/design/part-clocks.txt:
6103 * docs/design/part-events.txt:
6104 * docs/design/part-gstbus.txt:
6105 * docs/design/part-gstpipeline.txt:
6106 * docs/design/part-live-source.txt:
6107 * docs/design/part-messages.txt:
6108 * docs/design/part-overview.txt:
6109 * docs/design/part-streams.txt:
6110 * docs/design/part-trickmodes.txt:
6111 Documentation updates.
6113 2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
6116 Update the doap file.
6118 2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
6120 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
6121 Rename non-perfect to imperfect for Mike and for the sanctity of the
6123 Also make sure bus message gets emitted for data-incontiguities.
6125 2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
6127 * plugins/elements/gstidentity.c: (gst_identity_check_perfect),
6128 (gst_identity_start):
6129 * plugins/elements/gstidentity.h:
6130 Emit bus message if check-perfect is true and we encounter a
6131 non-perfect stream between 2 consecutive buffers.
6134 2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
6139 === release 0.10.12 ===
6141 2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
6144 releasing 0.10.12, "Inevitable Demise"
6146 2007-03-01 Jan Schmidt <thaytan@mad.scientist.com>
6149 Version 0.10.11.2 (0.10.12 pre-release)
6150 Bump libtool versioning.
6152 2007-03-01 Stefan Kost <ensonic@users.sf.net>
6154 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
6155 Log flow-names and not numbers.
6157 2007-02-28 Thomas Vander Stichele <thomas at apestaart dot org>
6160 Convert to new AG_GST style.
6162 2007-02-28 Wim Taymans <wim@fluendo.com>
6164 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency):
6165 Don't unref query twice.
6167 2007-02-28 Wim Taymans <wim@fluendo.com>
6169 * gst/gstvalue.c: (gst_value_transform_object_string),
6170 (_gst_value_initialize):
6171 Implement GstObject -> string transform so we print object names
6172 when serializing GValues containing GstObjects.
6174 2007-02-28 Wim Taymans <wim@fluendo.com>
6176 * docs/gst/gstreamer-sections.txt:
6177 Add new stuff to docs.
6179 2007-02-28 Wim Taymans <wim@fluendo.com>
6181 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
6182 (gst_base_sink_queue_object_unlocked), (gst_base_sink_send_event),
6183 (gst_base_sink_change_state):
6184 Improve latency query code.
6185 Don't leak latency events.
6187 * tests/check/gst/gstbin.c: (GST_START_TEST):
6190 2007-02-28 Wim Taymans <wim@fluendo.com>
6192 * gst/gstelement.c: (gst_element_message_full),
6193 (gst_element_get_state_func):
6195 Improve docs a little. Added Since: for new macro.
6197 * gst/gstobject.c: (gst_object_sink):
6198 * gst/gstpipeline.c: (gst_pipeline_change_state),
6199 (gst_pipeline_set_new_stream_time):
6200 * gst/gstpipeline.h:
6201 Improve debugging and docs.
6203 * gst/gstutils.c: (gst_element_state_change_return_get_name):
6206 2007-02-28 Wim Taymans <wim@fluendo.com>
6208 * gst/gstelement.c: (gst_element_message_full),
6209 (gst_element_set_locked_state), (gst_element_get_state_func),
6210 (gst_element_change_state):
6211 Handle INFO messages from the GST_ELEMENT_INFO macro as well.
6212 Documentation updates.
6213 Small code cleanups.
6215 * gst/gstmessage.c: (gst_message_new_info),
6216 (gst_message_parse_info):
6218 API: gst_message_new_info()
6219 API: gst_message_parse_info()
6220 Add INFO message create and parse code.
6222 2007-02-28 Wim Taymans <wim@fluendo.com>
6224 * gst/gstbin.c: (bin_query_min_max_init), (bin_query_latency_fold),
6225 (bin_query_latency_done):
6226 Also report the live parameter of a latency query.
6228 2007-02-28 Thomas Vander Stichele <thomas at apestaart dot org>
6230 * tests/check/generic/states.c: (GST_START_TEST), (states_suite):
6231 Copy the current generic/states example from -base and adapt so
6232 we can use the exact same code everywhere.
6233 Check a STATES_IGNORE_ELEMENTS env var which can be used
6234 to ignore certain element factories for this test, which is
6235 what is being done in -base
6236 * tests/check/Makefile.am:
6237 Mention this environment variable.
6239 2007-02-27 Wim Taymans <wim@fluendo.com>
6241 * docs/gst/gstreamer-sections.txt:
6242 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
6243 (gst_bus_timed_pop), (gst_bus_pop):
6245 API: gst_bus_timed_pop()
6246 Implement gst_bus_timed_pop() to do a blocking timed wait for a
6247 message to arrive on the bus.
6249 * tests/check/gst/gstbus.c: (GST_START_TEST), (pop_thread),
6251 Two unit tests for new _timed_pop() function.
6253 2007-02-23 Wim Taymans <wim@fluendo.com>
6255 * gst/gstpipeline.c: (gst_pipeline_change_state),
6256 (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay):
6257 Don't ref a NULL clock in _provide_clock_func().
6258 Don't allow an INVALID delay.
6259 Don't try to calculate base_time with an invalid start_time.
6260 Also distribute and notify a NULL clock when it was selected.
6262 * tools/gst-launch.c: (event_loop):
6263 Don't crash when a NULL clock was selected in the pipeline.
6265 2007-02-23 Tim-Philipp Müller <tim at centricular dot net>
6267 * docs/design/Makefile.am:
6268 * docs/design/draft-missing-plugins.txt:
6269 * docs/random/draft-missing-plugins.txt:
6270 Some small updates: update plugin system identifier prefix
6271 ('gstreamer.net' to 'gstreamer'), mention our new install
6272 API in libgstbaseutils rather than libgimme-codec, add
6273 reference to the online docs.
6275 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
6277 * win32/common/config.h:
6278 Pretty sure Bill never made a powerpc version. Powerpc hackers,
6279 use moap cl ci to only check in what is mentioned in the ChangeLog.
6281 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
6283 * docs/gst/gstreamer-sections.txt:
6285 Fix up documentation to link to the correct GstGError section.
6286 Add GST_ELEMENT_INFO macro since someone else added a Info message.
6288 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
6290 * tools/gst-launch.c: (event_loop):
6291 Make sure that we actually show the important message part of a
6293 No need to check if the gerror is not NULL to free; first of all
6294 g_free accepts NULL; and second the default error handler would
6295 segfault if gerror was NULL.
6297 2007-02-21 Wim Taymans <wim@fluendo.com>
6299 * docs/gst/gstreamer-sections.txt:
6300 Removed docs as well.
6302 2007-02-21 Wim Taymans <wim@fluendo.com>
6304 * gst/gstmessage.c: (gst_message_parse_duration):
6306 Remove new messages for release.
6308 2007-02-20 Wim Taymans <wim@fluendo.com>
6310 * docs/design/part-gstghostpad.txt:
6311 * gst/gstghostpad.c: (gst_ghost_pad_dispose),
6312 (gst_ghost_pad_new_full):
6313 Make the ghostpad a parent of the internal pad again for better backward
6314 compatibility. Don't write code that relies on this however.
6316 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
6317 (gst_pad_link_check_hierarchy):
6318 Require that parents should be GstElements in the hierarchy check.
6320 2007-02-20 Wim Taymans <wim@fluendo.com>
6322 * gst/gstbin.c: (bin_replace_message), (gst_bin_add_func),
6323 (gst_bin_change_state_func), (bin_query_min_max_init),
6324 (bin_query_latency_fold), (bin_query_latency_done),
6327 Implement latency query.
6329 2007-02-20 Wim Taymans <wim@fluendo.com>
6331 * docs/design/part-gstghostpad.txt:
6332 * gst/gstghostpad.c: (gst_ghost_pad_class_init),
6333 (gst_ghost_pad_internal_do_activate_push),
6334 (gst_ghost_pad_internal_do_activate_pull),
6335 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
6336 (gst_ghost_pad_do_link), (gst_ghost_pad_dispose),
6337 (gst_ghost_pad_new_full), (gst_ghost_pad_set_target):
6338 Do not set the internal pad as a parent anymore so we can avoid
6339 hierarchy linking errors when the ghostpad has no parent yet. This also
6340 fixes failed activation because of unlinked internal pads, which in
6341 turn fixes the impossible case where you have to activate a pad before
6342 you can add it to a running element.
6345 * gst/gstpad.c: (pre_activate), (post_activate),
6346 (gst_pad_set_active), (gst_pad_activate_pull),
6347 (gst_pad_activate_push), (gst_pad_check_pull_range):
6348 Add some more debug info.
6349 Mark activation mode in pre_activate so that we don't try to activate in
6350 endless loops. Fixes #385084.
6352 2007-02-19 Wim Taymans <wim@fluendo.com>
6354 * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
6355 (gst_base_transform_check_get_range):
6356 Implement a checkgetrange function instead of relying on the default
6357 core behaviour that assumes we can operate in pull mode if we have a
6358 getrange function. First step at fixing #385084.
6360 2007-02-15 Stefan Kost <ensonic@users.sf.net>
6362 * gst/gstchildproxy.h:
6363 * libs/gst/base/gstbasesink.h:
6364 * libs/gst/base/gstbasesrc.h:
6365 * libs/gst/base/gstbasetransform.h:
6366 More docs coverage and some ChangeLog surgery (add missing names)
6368 2007-02-15 Wim Taymans <wim@fluendo.com>
6370 * docs/design/part-TODO.txt:
6371 * docs/design/part-activation.txt:
6372 * docs/design/part-block.txt:
6373 * docs/design/part-buffering.txt:
6374 * docs/design/part-clocks.txt:
6375 * docs/design/part-element-source.txt:
6376 * docs/design/part-events.txt:
6377 * docs/design/part-gstbin.txt:
6378 * docs/design/part-gstbus.txt:
6379 * docs/design/part-gstpipeline.txt:
6380 * docs/design/part-live-source.txt:
6381 * docs/design/part-messages.txt:
6382 * docs/design/part-overview.txt:
6383 * docs/design/part-qos.txt:
6384 * docs/design/part-query.txt:
6385 * docs/design/part-states.txt:
6386 * docs/design/part-trickmodes.txt:
6387 Some doc updates. Start renaming from stream_time to running_time where
6388 it was used wrongly.
6390 2007-02-15 Wim Taymans <wim@fluendo.com>
6392 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
6393 Answer LATENCY query.
6395 2007-02-15 Wim Taymans <wim@fluendo.com>
6397 * tests/check/gst/gstevent.c: (event_probe), (test_event),
6401 2007-02-15 Wim Taymans <wim@fluendo.com>
6403 * gst/gstpad.c: (gst_pad_get_internal_links_default),
6404 (gst_pad_dispatcher):
6405 Improve debugging of default pad dispatcher and query functions.
6407 2007-02-15 Wim Taymans <wim@fluendo.com>
6409 * docs/gst/gstreamer-sections.txt:
6410 Remove old unused method.
6412 2007-02-13 Wim Taymans <wim@fluendo.com>
6414 * tests/check/gst/gstsegment.c: (GST_START_TEST):
6417 2007-02-13 Wim Taymans <wim@fluendo.com>
6419 * docs/design/part-seeking.txt:
6422 * gst/gstsegment.c: (gst_segment_set_seek):
6423 Revert old bogus change that should make seeking work again.
6425 2007-02-13 Stefan Kost <ensonic@users.sf.net>
6427 * docs/random/ensonic/dynlink.txt:
6428 * docs/random/ensonic/interfaces.txt:
6429 * docs/random/ensonic/receipies.txt:
6430 Possible dynamic reconnection api, plus some type fixes the other two
6433 2007-02-13 Sebastian Dröge <slomo@circular-chaos.org>
6435 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
6436 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
6437 Also check for an absolute path following file:// in the filesrc
6438 element. Remove redundant check and call g_path_is_absolute() on the
6441 2007-02-13 Stefan Kost <ensonic@users.sf.net>
6443 * docs/design/draft-klass.txt:
6444 Add existing category analysis.
6447 Fix doc example, framerate is a fraction.
6449 2007-02-12 Stefan Kost <ensonic@users.sf.net>
6452 * docs/gst/Makefile.am:
6453 * docs/gst/gstreamer-sections.txt:
6454 * docs/libs/Makefile.am:
6455 Erm, forgot a bunch of --extra-dir.
6457 2007-02-12 Stefan Kost <ensonic@users.sf.net>
6460 * docs/gst/Makefile.am:
6461 * docs/libs/Makefile.am:
6462 * docs/plugins/Makefile.am:
6463 Add crossreferences to glib/gobject docs.
6465 2007-02-12 Wim Taymans <wim@fluendo.com>
6467 * docs/design/draft-latency.txt:
6470 * docs/libs/gstreamer-libs-sections.txt:
6471 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
6472 (gst_base_sink_get_latency), (gst_base_sink_query_latency),
6473 (gst_base_sink_wait_clock), (gst_base_sink_send_qos),
6474 (gst_base_sink_perform_qos), (gst_base_sink_queue_object_unlocked),
6475 (gst_base_sink_chain_unlocked), (gst_base_sink_send_event),
6476 (gst_base_sink_get_position), (gst_base_sink_query),
6477 (gst_base_sink_change_state):
6478 * libs/gst/base/gstbasesink.h:
6479 API: gst_base_sink_query_latency() to let subclasses query the upstream
6481 API: gst_base_sink_get_latency() to let subclasses query the configured
6482 latency in the sink.
6483 Implement query and set latency.
6485 As spotted by Will Newton <will dot newton at gmail dot com>: Make sure we
6486 don't continue preroll when we are flushing. Fixes #405284.
6488 * tests/check/pipelines/stress.c: (change_state_timeout),
6489 (quit_timeout), (GST_START_TEST), (stress_suite):
6492 2007-02-09 Tim-Philipp Müller <tim at centricular dot net>
6494 Patch by: René Stadler <mail at renestadler de>
6496 * docs/gst/gstreamer-sections.txt:
6497 * gst/gsttaglist.c: (_gst_tag_initialize):
6499 API: add GST_TAG_REFERENCE_LEVEL (#403597).
6501 2007-02-11 Stefan Kost <ensonic@users.sf.net>
6503 * docs/libs/Makefile.am:
6504 Fix path to core docs.
6506 * gst/gstbin.c: (gst_bin_get_by_interface),
6507 (gst_bin_iterate_all_by_interface):
6508 Refix docs by also renaming 'interface' to 'iface' in implementation.
6510 * docs/gst/gstreamer-sections.txt:
6512 * gst/gstchildproxy.c: (gst_child_proxy_base_init):
6513 * gst/gstchildproxy.h:
6514 * gst/gstelementfactory.c:
6515 * gst/gstpadtemplate.h:
6516 * libs/gst/controller/gstcontroller.c:
6517 (gst_controlled_property_new):
6520 2007-02-10 Sébastien Moutte <sebastien@moutte.net>
6522 * gst/gstbin.h:(gst_bin_get_by_interface),
6523 (gst_bin_iterate_all_by_interface):
6524 Replace interface parameter name by iface as interface is
6525 a reserved keyword in Visual Studio for C++ projects so it removes
6526 a build error for application developpers using VS.
6527 * plugins/elements/gstfilesrc.c:(gst_file_src_uri_set_uri):
6528 Fix a bug on Windows in uri format check. Now the prefix checked
6529 is file:// and next we check if the path after file:// is absolute.
6530 * win32/common/libgstbase.def:
6531 * win32/common/libgstdataprotocol.def:
6532 * win32/common/libgstgstreamer.def:
6533 Add new exported functions.
6535 2007-02-09 Andy Wingo <wingo@pobox.com>
6537 * tests/check/pipelines/simple-launch-lines.c
6538 (simple_launch_lines_suite, test_tee): Disable tee test until I
6539 have time to fix it :-(
6541 * tests/check/Makefile.am (noinst_HEADERS):
6542 * tests/check/libs/libsabi.c:
6543 * tests/check/libs/struct_ppc32.h: Add ABI checks for PPC32.
6544 * tests/check/gst/gstabi.c:
6545 * tests/check/gst/struct_ppc32.h: Add ABI checks for PPC32.
6547 * tests/check/pipelines/simple-launch-lines.c (test_tee): Add
6548 tests for push and pull tee behavior.
6550 * plugins/elements/gsttee.h:
6551 * plugins/elements/gsttee.c: Describe has-sink-loop better, and
6552 mark as deprecated as well as unimplemented. It was a crack idea.
6553 Add support for tee operating in pull mode, off by default.
6555 * gst/gstregistryxml.c (load_feature, load_plugin): Drop some
6556 normal-case logs down to LOG, raise errors to WARNING.
6557 (gst_registry_xml_read_cache): Don't log before calling a function
6560 * gst/gstregistry.c (gst_registry_finalize): Less debug on program
6561 exit (registry finalize).
6562 (gst_registry_add_plugin, gst_registry_add_feature): No need for a
6563 DEBUG log when we emit signals that people don't even have the
6564 chance to connect to.
6565 (gst_registry_scan_path_level): Less logging in the normal case.
6567 2007-02-05 Sebastian Dröge <slomo@circular-chaos.org>
6569 Patch by: Michal Benes <michal dot benes at itonis dot tv>
6571 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
6572 Correctly generate EOS for non-seekable files. We don't have a total
6573 length for them and would get an unexpected end of file if we only
6574 special-cased for regular files. (Fixes: #404569)
6576 2007-02-05 Sebastian Dröge <slomo@circular-chaos.org>
6578 * tests/check/elements/filesrc.c: (GST_START_TEST),
6580 Add unit test for the GstURIHandler interface in filesrc. This also
6581 tests the newly added file://localhost/foo/bar support.
6583 2007-02-04 Tim-Philipp Müller <tim at centricular dot net>
6585 * gst/gstelementfactory.h:
6586 The klass string is not a hierarchy. Add reference to the design doc
6587 for more information and common types.
6589 2007-02-02 Wim Taymans <wim@fluendo.com>
6591 * gst/gstquery.c: (gst_query_new_latency):
6592 Remove old structure field.
6594 2007-02-02 Stefan Kost <ensonic@users.sf.net>
6596 * tools/gst-launch.1.in:
6597 Give example for network streaming (#351998)
6599 2007-02-02 Wim Taymans <wim@fluendo.com>
6601 * docs/gst/gstreamer-sections.txt:
6602 Add docs for new methods.
6604 * gst/gstevent.c: (gst_event_new_latency),
6605 (gst_event_parse_latency):
6607 Add new LATENCY event to configure latency in a pipeline.
6608 API: gst_event_new_latency
6609 API: gst_event_parse_latency
6611 * gst/gstmessage.c: (gst_message_new_buffering),
6612 (gst_message_new_lost_preroll), (gst_message_new_prerolled),
6613 (gst_message_new_latency), (gst_message_parse_buffering),
6614 (gst_message_parse_lost_preroll):
6616 Added messages used in draft-latency.
6617 API: gst_message_new_lost_preroll
6618 API: gst_message_parse_lost_preroll
6619 API: gst_message_new_prerolled
6620 API: gst_message_new_latency
6622 * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
6623 (gst_query_parse_latency):
6625 Implemented new latency query as in design doc.
6626 API: gst_query_new_latency
6627 API: gst_query_set_latency
6628 API: gst_query_parse_latency
6630 2007-02-02 Wim Taymans <wim@fluendo.com>
6632 * docs/design/draft-latency.txt:
6633 Slight redesign to allow for dynamic latency adjustments.
6635 * docs/design/part-negotiation.txt:
6638 2007-02-02 Sebastian Dröge <slomo@circular-chaos.org>
6640 reviewed by: Wim Taymans <wim@fluendo.com>
6642 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
6643 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
6644 Allow file://localhost/foo/bar URLs and correctly fail for every other
6645 hostname that one sets. This was gnomevfssrc is linked for those if
6646 installed as it can handle it (#403172)
6648 2007-02-01 Sebastian Dröge <slomo@circular-chaos.org>
6650 reviewed by: Tim-Philipp Müller <tim at centricular dot net>
6652 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
6653 (unref_data), (gst_collect_pads_add_pad_full):
6654 * libs/gst/base/gstcollectpads.h:
6655 Don't put the previously added destroy notify in the GstCollectData
6656 struct as all it's padding is already used and we don't want to break
6657 ABI. Instead put in the pad's GObject data for now. This should be
6658 cleaned up for 0.11 (#402393).
6660 2007-02-01 Sebastian Dröge <slomo@circular-chaos.org>
6662 reviewed by: Wim Taymans <wim@fluendo.com>
6664 * docs/libs/gstreamer-libs-sections.txt:
6665 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
6666 (unref_data), (gst_collect_pads_add_pad),
6667 (gst_collect_pads_add_pad_full):
6668 * libs/gst/base/gstcollectpads.h:
6669 API: Add function to specify a destroy notification for custom
6670 GstCollectData when adding new pads in GstCollectPads (#402393).
6672 2007-02-01 Tim-Philipp Müller <tim at centricular dot net>
6675 Update Swedish translation (#378255).
6677 2007-01-31 Stefan Kost <ensonic@users.sf.net>
6679 * docs/design/draft-klass.txt:
6680 Fix the previous change, this is a list of categories and not a hierarchy.
6682 2007-01-31 Stefan Kost <ensonic@users.sf.net>
6684 * docs/design/draft-klass.txt:
6685 Add info about how to get a list of used classes.
6687 2007-01-30 Tim-Philipp Müller <tim at centricular dot net>
6689 * plugins/elements/gsttypefindelement.c:
6690 (gst_type_find_element_chain_do_typefinding),
6691 (gst_type_find_element_change_state):
6692 Don't leak found caps in chain function (no idea why that never
6693 showed up as a leak anywhere).
6695 2007-01-30 Stefan Kost <ensonic@users.sf.net>
6698 Fix and expand GstPluginDesc API docs.
6700 2007-01-29 Stefan Kost <ensonic@users.sf.net>
6703 * gst/gstelementfactory.c:
6704 * gst/gstpadtemplate.h:
6707 * libs/gst/controller/gstcontroller.c:
6708 (gst_controlled_property_new):
6709 * tests/examples/controller/audio-example.c:
6712 2007-01-29 Stefan Kost <ensonic@users.sf.net>
6715 comment about refining the xml deps
6718 comments about moving away from jade for docs
6721 recommit the ifdefs to use the binary registry
6723 * gst/gstbin.c: (gst_bin_change_state_func):
6724 this break is obsolete
6726 * gst/gstelementfactory.h:
6727 better GST_ELEMENT_DETAILS docs, add comment about translation
6732 * gst/gstobject.c: (gst_signal_object_get_type):
6733 add G_UNLIKELY as usual
6735 * gst/gstpad.c: (gst_pad_event_default):
6736 add fall trhu comment
6738 * gst/gstregistrybinary.c: (gst_registry_binary_write),
6739 (gst_registry_binary_initialize_magic),
6740 (gst_registry_binary_save_string),
6741 (gst_registry_binary_save_pad_template),
6742 (gst_registry_binary_save_feature),
6743 (gst_registry_binary_save_plugin),
6744 (gst_registry_binary_write_cache),
6745 (gst_registry_binary_check_magic),
6746 (gst_registry_binary_load_pad_template),
6747 (gst_registry_binary_load_feature),
6748 (gst_registry_binary_load_plugin),
6749 (gst_registry_binary_read_cache):
6750 comment typo and formatting
6752 * gst/gstutils.c: (gst_element_state_get_name),
6753 (gst_element_state_change_return_get_name):
6754 remove obsolete breaks
6756 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
6757 add FIXME 0.11 and remove cpp comment
6759 2007-01-29 Edward Hervey <edward@fluendo.com>
6761 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
6762 Fix print statement in an even more portable way.
6764 2007-01-29 Tim-Philipp Müller <tim at centricular dot net>
6766 * docs/gst/gstreamer-sections.txt:
6768 API: add GST_ROUND_DOWN_* macros (#401781).
6770 2007-01-27 Tim-Philipp Müller <tim at centricular dot net>
6772 * docs/gst/gstreamer.types.in:
6773 * gst/gstregistry.c: (gst_registry_class_init):
6774 Document registry signals and make gtk-doc pick them up (#401381).
6776 2007-01-26 Tim-Philipp Müller <tim at centricular dot net>
6778 * docs/pwg/building-testapp.xml:
6779 Add some audioconverts and audioresample to the pipeline, and some
6780 more comments and error handling.
6782 2007-01-26 Tim-Philipp Müller <tim at centricular dot net>
6784 * docs/manual/manual.xml:
6788 2007-01-26 Wim Taymans <wim@fluendo.com>
6790 * gst/gstcaps.c: (gst_static_caps_get):
6791 Init caps flags too.
6793 2007-01-25 Sebastian Dröge <slomo@circular-chaos.org>
6795 Patch by: Jindrich Makovicka <jindrich.makovick at itonis dot tv>
6797 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
6798 If not using mmap'ed files try to seek to the end instead of the
6799 start to determine whether we can seek at all. This fixes the case
6800 of 2GB+ files over NFS, where seeks in the first 2GB can succeed but
6801 seeks for everything afterwards fail. Fixes #400656
6803 2007-01-25 Wim Taymans <wim@fluendo.com>
6805 * gst/gstcaps.c: (_gst_caps_free), (gst_static_caps_get):
6806 Add some refcount debugging.
6807 Make gst_static_caps_get threadsafe, which is needed when autoplugging
6808 in multiple streaming threads.
6810 2007-01-25 Wim Taymans <wim@fluendo.com>
6812 Patch by: David Schleef <ds at schleef dot org>
6814 * docs/libs/gstreamer-libs-sections.txt:
6815 * libs/gst/base/gstadapter.c: (gst_adapter_copy):
6816 * libs/gst/base/gstadapter.h:
6817 API: gst_adapter_copy() that can reduce the amount of memcpy when
6818 getting data from the adapter. Fixes #388201.
6820 2007-01-25 Edward Hervey <edward@fluendo.com>
6822 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
6823 In print statements, "%x" is for guint. Fixes build on macosx.
6825 2007-01-24 Edward Hervey <edward@fluendo.com>
6827 * plugins/elements/gstmultiqueue.c:
6828 (gst_multi_queue_loop):
6830 (single_queue_overrun_cb), (single_queue_underrun_cb),
6831 (single_queue_check_full), (gst_single_queue_new):
6832 Implement single queue growth system.
6833 This uses the extra-size properties, and will grow single queues by
6834 that much if one goes full whereas there are others empty. This is
6835 called extra-mode in the code.
6836 When a single queue's levels go back below the initial max-size
6837 limits, it is no longer in extra-mode. This is to ensure we don't
6838 consume too much memory.
6841 2007-01-23 Tim-Philipp Müller <tim at centricular dot net>
6843 * gst/gst.c: (gst_init_get_option_group):
6844 Make warning about late g_thread_init() calls a bit more explicit,
6845 so that it's more obvious to application developers what they need
6846 to do if a user files a bug against their application.
6848 2007-01-22 Edward Hervey <edward@fluendo.com>
6850 * plugins/elements/gstmultiqueue.c:
6851 (gst_multi_queue_src_activate_push), (gst_single_queue_new):
6852 Remove previous hack of unsetting the flushing flag for the source pad
6853 instead of activating it. Instead, fix the source pad activate function
6854 so that it no longer depends on having a parent set or not.
6856 2007-01-22 Tim-Philipp Müller <tim at centricular dot net>
6858 Patch by: Carlos Sanmartin Dominguez <csanmartin@igalia.com>
6860 * docs/manual/basics-bus.xml:
6861 Fix example code, gst_element_unref() doesn't exist any longer.
6863 2007-01-21 Tim-Philipp Müller <tim at centricular dot net>
6865 Patch by: Mark Nauwelaerts <manauw at skynet be>
6868 Fix two docs typoes (#399094).
6870 2007-01-19 Edward Hervey <edward@fluendo.com>
6872 * docs/faq/gst-uninstalled:
6873 Add gst-plugins-base/gst/utils/ to LD_LIBRARY_PATH so that plugins
6874 depending on libgstbaseutils can work in uninstalled environment.
6876 2007-01-18 Stefan Kost <ensonic@users.sf.net>
6879 * gst/gsttagsetter.c:
6880 Add more docs regarding tag merge-modes and when to send tags. Fix 'since'
6881 statement for new tag.
6883 2007-01-17 Edward Hervey <edward@fluendo.com>
6885 * plugins/elements/gstmultiqueue.c: (gst_single_queue_new):
6886 When dynamically creating single queues, activate sinkpad before adding
6888 We should be doing the same thing for the source pad, but we can't
6889 since it would call a method which needs the parent to be set in order
6890 to work propertly. Instead of activating the source pad, we just unset
6891 the flushing flag, which is the minimal requirement for adding a pad
6892 to an element in a state greater than READY.
6894 2007-01-17 Edward Hervey <edward@fluendo.com>
6896 * docs/faq/gst-uninstalled:
6897 Add DYLD_LIBRARY_PATH declarations so we can also use this script on
6900 2007-01-17 Tim-Philipp Müller <tim at centricular dot net>
6902 * tests/check/gst/gstabi.c:
6903 * tests/check/gst/struct_hppa.h:
6904 * tests/check/libs/libsabi.c:
6905 * tests/check/libs/struct_hppa.h:
6906 Add ABI structs for HPPA (see #393796).
6908 2007-01-16 Tim-Philipp Müller <tim at centricular dot net>
6910 * libs/gst/check/gstcheck.c: (gst_check_abi_list):
6911 Actually write ABI structs to the file specified in the GST_ABI
6912 environment variable, as the message we print claims we would.
6914 2007-01-15 Stefan Kost <ensonic@users.sf.net>
6916 * tests/check/gst/gsttask.c:
6919 2007-01-15 Stefan Kost <ensonic@users.sf.net>
6921 * gst/gsttaglist.c: (_gst_tag_initialize):
6922 Change tag type from STRING to DOUBLE. Apply ChangeLog surgery for my
6923 previous two entries.
6925 2007-01-15 Stefan Kost <ensonic@users.sf.net>
6927 * docs/gst/gstreamer-sections.txt:
6928 * gst/gsttaglist.c: (_gst_tag_initialize):
6930 Add tag support for beat-per-minute.
6932 2007-01-15 Stefan Kost <ensonic@users.sf.net>
6934 * gst/gstregistrybinary.c: (gst_registry_binary_write),
6935 (gst_registry_binary_initialize_magic),
6936 (gst_registry_binary_save_string), (gst_registry_binary_make_data),
6937 (gst_registry_binary_save_pad_template),
6938 (gst_registry_binary_save_feature),
6939 (gst_registry_binary_save_plugin),
6940 (gst_registry_binary_write_cache),
6941 (gst_registry_binary_check_magic),
6942 (gst_registry_binary_load_pad_template),
6943 (gst_registry_binary_load_feature),
6944 (gst_registry_binary_load_plugin),
6945 (gst_registry_binary_read_cache):
6946 * gst/gstregistrybinary.h:
6947 Use glib types, cleanup comments, impement interfaces and uri-types.
6949 2007-01-13 Andy Wingo <wingo@pobox.com>
6951 * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Allow
6952 getrange() to return buffers with other caps, while we fix
6953 demuxers and typefind, or otherwise change part-negotiation.txt.
6955 2007-01-12 Andy Wingo <wingo@pobox.com>
6957 * libs/gst/base/gstbasetransform.c (gst_base_transform_activate):
6958 Factor start/stop into this private function instead of partially
6959 in activate functions and partially in the change_state function.
6960 Fixes setup before the element has changed from READY->PAUSED, as
6961 is the case in pull-mode pipelines.
6962 (gst_base_transform_sink_activate_push)
6963 (gst_base_transform_src_activate_pull): Refactor to use
6964 gst_base_transform_activate().
6965 (gst_base_transform_change_state): Removed, not needed any more.
6967 * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
6968 Truncate before fixating.
6970 * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
6971 Don't set_caps() if the result of fixating is ANY, as it's not
6972 supported, and not necessary in the case of a link with no
6973 template caps on either side. Fixes tests/check/libs/basesrc in
6974 some pull-mode tests.
6976 * libs/gst/base/gstbasetransform.c (_GstBaseTransformPrivate):
6977 (gst_base_transform_init, gst_base_transform_sink_activate_push)
6978 (gst_base_transform_src_activate_pull):
6979 Track the activation mode.
6980 (gst_base_transform_setcaps): In pull mode, when activating the
6981 src pad, after activating the sink pad, activate the sink pad's
6982 peer, as discussed in part-negotiation.txt.
6984 * libs/gst/base/gstbasesrc.h:
6985 * libs/gst/base/gstbasesrc.c (gst_base_src_fixate): Add fixate
6986 vmethod, as in basesink.
6988 * libs/gst/base/gstbasesink.h: Reformat docs, add fixate vmethod.
6990 * libs/gst/base/gstbasesink.c (gst_base_sink_pad_setcaps): In pull
6991 mode, first proxy the setcaps to the peer pad.
6992 (gst_base_sink_pad_fixate): Add a fixate function that calls the
6994 (gst_base_sink_default_activate_pull): Rename from
6995 gst_base_sink_activate_pull.
6996 (gst_base_sink_negotiate_pull): New function, performs negotiation
6997 in pull mode before calling ::activate_pull().
6998 (gst_base_sink_pad_activate_pull): Actually call the activate_pull
6999 vmethod instead of the default implementation. I have no idea how
7000 this worked before. Negotiate before calling activate_pull.
7002 * gst/gstpad.c (gst_pad_activate_pull): Refuse to activate unlinked
7003 sink pads in pull mode. In addition to being correct, fixes
7004 filesrc ! decodebin ! identity ! fakesink.
7005 (gst_pad_get_range, gst_pad_pull_range): Don't call
7006 gst_pad_set_caps() if the caps changes; instead error out with
7007 GST_FLOW_NOT_NEGOTIATED, as discussed in part-negotiation.txt.
7009 2007-01-12 Andy Wingo <wingo@pobox.com>
7011 * docs/design/part-negotiation.txt: Update with more policy.
7013 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
7015 * libs/gst/check/gstbufferstraw.h:
7016 * libs/gst/check/gstcheck.h:
7017 Add G_BEGIN_DECLS and G_END_DECLS. Move GST_CHECK_MAIN where it
7020 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
7022 * tests/check/Makefile.am:
7023 * tests/check/gst/.cvsignore:
7024 * tests/check/gst/gsttagsetter.c: (gst_dummy_enc_add_interfaces),
7025 (gst_dummy_enc_base_init), (gst_dummy_enc_class_init),
7026 (gst_dummy_enc_init), (tag_list_foreach), (tag_setter_list_length),
7027 (GST_START_TEST), (gst_tag_setter_suite):
7028 Add minimal unit test for beforementioned GstTagSetter bug.
7030 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
7032 Patch by: René Stadler <mail at renestadler dot de>
7034 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
7035 gst_tag_list_merge() returns a new list, so it's not the best idea
7036 to ingore its return value. Effectively meant that tags could only
7037 be merged on a GstTagSetter once using _merge_tags(). Fixes #395554.
7038 Also add function guard to require a non-NULL taglist as input (has
7039 always been so due to gst_tag_list_copy(), just making it explicit).
7041 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
7043 * docs/random/draft-missing-plugins.txt:
7044 Some additions: mention new API that is supposed to be used at the
7045 various stages; short blob about new gst-inspect introspection
7046 option; mention potential future problem with plugins that have
7047 a dynamic list of elements (such as ladspa, pitfdll, libvisual).
7049 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
7051 * tools/gst-inspect.c:
7052 (print_plugin_automatic_install_info_codecs),
7053 (print_plugin_automatic_install_info_protocols),
7054 (print_plugin_automatic_install_info), (main):
7055 Add --print-plugin-auto-install-info option to gst-inspect, so we can
7056 introspect plugin files and get machine-parsable output that corresponds
7057 to the last bit of the missing-plugin installer string (small gotcha:
7058 doesn't take into account ranks).
7060 2007-01-11 Stefan Kost <ensonic@users.sf.net>
7063 * docs/gst/gstreamer-sections.txt:
7065 * gst/gstregistry.c: (gst_registry_lookup_feature_locked),
7066 (gst_registry_lookup_locked):
7067 * gst/gstregistry.h:
7068 * gst/gstregistrybinary.c: (gst_registry_binary_write),
7069 (gst_registry_binary_initialize_magic),
7070 (gst_registry_binary_save_string),
7071 (gst_registry_binary_save_pad_template),
7072 (gst_registry_binary_save_feature),
7073 (gst_registry_binary_save_plugin),
7074 (gst_registry_binary_write_cache),
7075 (gst_registry_binary_check_magic),
7076 (gst_registry_binary_load_pad_template),
7077 (gst_registry_binary_load_feature),
7078 (gst_registry_binary_load_plugin),
7079 (gst_registry_binary_read_cache):
7080 * gst/gstregistrybinary.h:
7081 * gst/gstregistryxml.c: (load_feature),
7082 (gst_registry_xml_read_cache):
7083 commit binary registry (disabled by default, see #359653)
7085 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
7087 * tests/check/gst/gstpad.c: (test_get_allowed_caps):
7088 Fix 'make check' too.
7090 2007-01-10 Andy Wingo <wingo@pobox.com>
7092 * docs/design/part-negotiation.txt: Fix a typo, add a couple
7095 * docs/design/part-negotiation.txt: Update with, um, one way that
7096 pull-mode negotiation might work?
7099 * gst/gstpad.c (gst_pad_get_allowed_caps): Remove the restriction
7100 that the pad must be a src pad; makes sense to call it the other
7101 way in pull mode, and the logic is symmetric anyway.
7103 2007-01-10 Tim-Philipp Müller <tim at centricular dot net>
7105 * plugins/elements/gstfilesink.c:
7106 Include <stdio.h> for fseeko().
7108 2007-01-10 Wim Taymans <wim@fluendo.com>
7112 Reserve LATENCY event.
7114 2007-01-09 Wim Taymans <wim@fluendo.com>
7116 * docs/design/draft-latency.txt:
7119 2007-01-09 Wim Taymans <wim@fluendo.com>
7121 * docs/design/draft-latency.txt:
7125 * gst/gststructure.c:
7129 2007-01-09 Tim-Philipp Müller <tim at centricular dot net>
7131 * tests/check/.cvsignore:
7132 Ignore test-registry.xml as well.
7134 2007-01-09 Wim Taymans <wim@fluendo.com>
7136 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
7137 unref data at the end when we are done with the pad.
7139 2007-01-08 Tim-Philipp Müller <tim at centricular dot net>
7141 * docs/gst/gstreamer-sections.txt:
7142 * gst/gst.c: (load_plugin_func), (scan_and_update_registry),
7143 (init_post), (gst_deinit), (gst_update_registry):
7145 API: add gst_update_registry() (#391296).
7147 * tests/check/Makefile.am:
7148 * tests/check/gst/gstregistry.c:
7149 * tests/check/gst/.cvsignore:
7150 Simple unit test for the above.
7152 2007-01-08 Tim-Philipp Müller <tim at centricular dot net>
7154 * gst/gstregistry.c: (gst_registry_scan_path_level):
7155 Plugin extension on HP-UX is .sl, add that to the list of approved
7156 plugin extensions (see #393796).
7158 * tests/check/gst/gstpad.c: (GST_START_TEST):
7159 ulong => gulong. Fixes compilation with HP-UX compiler.
7161 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
7162 Fix compilation if valgrind headers are not available.
7164 2007-01-07 Sébastien Moutte <sebastien@moutte.net>
7166 * win32/common/libgstreamer.def:
7167 Add new exported function.
7168 * win32/vs6/libgstbase.dsp:
7169 Add gstdataqueue.c to the build.
7170 * win32/vs6/libgstcoreelements.dsp:
7171 Add gstmultiqueue.c to the build.
7173 2007-01-06 Andy Wingo <wingo@pobox.com>
7175 * libs/gst/base/gstbasesink.h: New GstBaseSinkClass vmethod,
7176 activate_pull(), providing for a way to specialize the process of
7177 spawning a thread to pull on the sink pad. There is a default
7180 * libs/gst/base/gstbasesink.c (gst_base_sink_pad_activate_pull)
7181 (gst_base_sink_pad_activate_push, gst_base_sink_pad_activate)
7182 (gst_base_sink_init): Renamed pad activation functions (inserting
7183 "_pad" in their names). Refactor to use the new activate_pull
7184 vmethod, as appropriate.
7185 (gst_base_sink_class_init, gst_base_sink_activate_pull): Set the
7186 default activate_pull function to start a task pulling from the
7187 sink pad, as before.
7189 * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Set caps
7190 on the pads if necessary, as in push()/chain(). Update docs.
7191 Shouldn't affect existing pull() usage as it is currently only
7192 being used on buffers without caps.
7194 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
7196 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
7198 Call g_thread_init() first thing in gst_init() / gst_check_init().
7199 When initialisation is done via gst_init_get_option_group() and
7200 GOption parsing, issue a warning if the GLib thread system has not
7201 been initialised yet by the time gst_init_get_option_group() is
7202 called, as it's quite likely other GLib functions such as
7203 g_option_context_new() have been called already then, and
7204 g_thread_init() must be called before any other GLib function. The
7205 application in question must be fixed in that case, since memory
7206 corruption might happen otherwise.
7207 We issue the warning because even if the GLib folks decide to work
7208 around the problem on their end in future, this is still an issue
7209 with all GLib versions >= 2.10.0, so we should warn until we depend
7210 on a GLib version we know to be safe.
7211 Update documentation as well.
7214 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
7216 * tools/gst-inspect.c: (main):
7217 * tools/gst-launch.c: (main):
7218 * tools/gst-typefind.c: (main):
7219 * tools/gst-xmlinspect.c: (main):
7220 Call g_thread_init() really really early, before any other GLib
7221 function (see #342564 and recent discussion on gtk-devel-list).
7223 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
7225 Patch by: Vincent Torri <vtorri at univ-evry dot fr>
7227 * gst/gst_private.h:
7228 * gst/gstconfig.h.in:
7230 On win32, all the __declspec stuff for symbol exporting is
7231 apparently only needed with MSVC, but doesn't work with MingW.
7232 Fixes compilation with MingW and #391909.
7234 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
7236 * libs/gst/base/gstbasesrc.c: (gst_base_src_activate_push):
7237 Change some GST_ERROR_OBJECT that aren't really errors to
7238 GST_WARNING_OBJECT in order to reduce terminal spam.
7240 2007-01-04 Stefan Kost <ensonic@users.sf.net>
7242 * tests/check/Makefile.am:
7243 disable test again, as there seem to be still race problems
7245 2007-01-04 Stefan Kost <ensonic@users.sf.net>
7247 * tests/check/Makefile.am:
7248 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
7249 (GST_START_TEST), (queue_suite):
7250 enable queue test again, add tests for the leaky behaviour
7252 2007-01-02 Tim-Philipp Müller <tim at centricular dot net>
7255 * tests/examples/Makefile.am:
7256 Compile adapter test/example only if the required headers are
7257 available (fixes #391915).
7259 2007-01-01 David Schleef <ds@schleef.org>
7262 Restore the previous signal handler for SIGSEGV instead of
7263 setting to default, since we may have stolen it away from
7264 someone. (i.e., Mono)
7266 2006-12-26 Tim-Philipp Müller <tim at centricular dot net>
7268 * docs/random/draft-missing-plugins.txt:
7269 Some small additions and clarifications.
7271 2006-12-26 Tim-Philipp Müller <tim at centricular dot net>
7273 * gst/gstregistryxml.c: (gst_registry_save_escaped):
7274 Make sure we don't pass non-UTF-8 strings to g_markup_escape(),
7275 since that can lead to random memory corruptions and crashes
7276 (may or may not be related to #383244, #386711, and #386711).
7278 2006-12-21 Stefan Kost <ensonic@users.sf.net>
7280 * tests/check/.cvsignore:
7281 * tests/check/Makefile.am:
7282 sync .cvsignome and CLEANFILES
7284 2006-12-21 Stefan Kost <ensonic@users.sf.net>
7286 * tests/check/Makefile.am:
7289 2006-12-21 Stefan Kost <ensonic@users.sf.net>
7291 * docs/design/part-states.txt:
7292 two tiny additional comments
7294 * gst/gststructure.c:
7297 * tests/check/Makefile.am:
7298 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
7300 disable test for now, unless it gets fixed
7302 2006-12-21 Stefan Kost <ensonic@users.sf.net>
7304 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
7306 fix race in underrun test
7308 2006-12-21 Stefan Kost <ensonic@users.sf.net>
7310 * tests/check/elements/.cvsignore:
7313 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
7315 try to narrow test failure
7317 2006-12-21 David Schleef <ds@schleef.org>
7319 * plugins/elements/gstfakesrc.c:
7320 Use g_random_int_range(), since it produces better random
7321 numbers in a range than almost-correct floating point code.
7323 2006-12-21 Stefan Kost <ensonic@users.sf.net>
7325 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
7326 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
7327 (gst_check_teardown_sink_pad):
7328 do not automatically (de)activate pads
7330 * tests/check/Makefile.am:
7331 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
7332 (setup_queue), (cleanup_queue), (GST_START_TEST), (queue_suite):
7333 add new, yet simple tests for queue
7335 * tests/check/elements/fakesrc.c: (cleanup_fakesrc):
7336 * tests/check/elements/fdsrc.c: (cleanup_fdsrc):
7337 * tests/check/elements/filesrc.c: (cleanup_filesrc),
7339 * tests/check/elements/identity.c: (cleanup_identity):
7340 consistent pad (de)activation
7342 2006-12-20 Tim-Philipp Müller <tim at centricular dot net>
7344 Patch by: Sebastian Dröge <slomo ubuntu com>
7346 * libs/gst/base/gstcollectpads.c:
7347 Fix two doc typos (#387866).
7349 2006-12-19 Tim-Philipp Müller <tim at centricular dot net>
7351 * docs/manual/advanced-dparams.xml:
7352 Fix typo (g_object_control_properties() doesn't exist).
7354 2006-12-19 Edward Hervey <edward@fluendo.com>
7356 * gst/gstsegment.c: (gst_segment_set_seek):
7357 Fine tune the cases where the segment start/stop values are really
7359 * tests/check/gst/gstsegment.c: (GST_START_TEST):
7360 Add tests for the return values of gst_segment_set_seek().
7362 2006-12-19 Tim-Philipp Müller <tim at centricular dot net>
7367 * plugins/elements/gstqueue.c: (gst_queue_class_init),
7369 Fix incorrect documentation and flesh it out a bit more.
7370 Set default values for the max properties on the GParamSpec as well,
7371 so it shows up correctly in gst-inspect.
7373 2006-12-18 Stefan Kost <ensonic@users.sf.net>
7375 * plugins/elements/gstqueue.c: (queue_leaky_get_type):
7376 Correct docs of queue, add more detail and crosslink it more.
7378 2006-12-16 Tim-Philipp Müller <tim at centricular dot net>
7380 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
7381 Print additional debug info when the stream isn't perfectly
7382 timestamped; don't try to use invalid durations.
7384 2006-12-16 Tim-Philipp Müller <tim at centricular dot net>
7386 * docs/design/Makefile.am:
7387 Dist new design docs.
7389 2006-12-16 Wim Taymans <wim@fluendo.com>
7391 Patch by: Sjoerd Simons <sjoerd at luon dot net>
7393 * libs/gst/base/gstcollectpads.c: (ref_data), (unref_data),
7394 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
7395 (gst_collect_pads_stop), (gst_collect_pads_event),
7396 (gst_collect_pads_chain):
7397 * libs/gst/base/gstcollectpads.h:
7398 Add refcounting to the collectpads data so we can track when it's safe
7399 to free the data. Fixes #383382.
7401 2006-12-15 Wim Taymans <wim@fluendo.com>
7403 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
7404 (gst_collect_pads_remove_pad):
7405 Automatically activate/deactivate pads when they are added to a
7406 started/stoped collectpads.
7408 2006-12-15 Wim Taymans <wim@fluendo.com>
7410 * gst/gstelement.c: (gst_element_add_pad):
7411 * gst/gstghostpad.c: (gst_ghost_pad_new_full):
7412 * gst/gstpad.c: (gst_pad_init):
7413 Set pads to FLUSHING when they are created. Check, warn and fix when a
7414 demuxer adds an inactive pad to itself when running. Fixes #339326.
7416 2006-12-15 Wim Taymans <wim@fluendo.com>
7418 * gst/gstelement.c: (gst_element_class_init),
7419 (gst_element_default_send_event), (gst_element_send_event),
7420 (gst_element_default_query), (gst_element_query):
7421 Expose default element send_event and query handling as vmethods that
7422 subclasses can chain up to.
7424 2006-12-15 Wim Taymans <wim@fluendo.com>
7426 * gst/gstelement.c: (gst_element_set_state_func):
7427 Small documentation fixes.
7429 2006-12-15 Wim Taymans <wim@fluendo.com>
7431 * docs/design/draft-latency.txt:
7432 Checked in draft for handling latency in pipelines.
7434 2006-12-15 Thomas Vander Stichele <thomas at apestaart dot org>
7438 * gstreamer.spec.in:
7441 2006-12-14 Tim-Philipp Müller <tim at centricular dot net>
7443 * gst/gst.c: (init_pre), (init_post):
7444 init_pre() and init_post() might be called via our GOptionGroup or
7445 from gst_init(), and we should skip both of them if we've already
7446 been initialised, otherwise we will init some things twice or add
7447 two default log functions.
7449 2006-12-13 Edward Hervey <edward@fluendo.com>
7451 * docs/manual/basics-bus.xml:
7452 No, gst_main_loop does not exist. Its g_main_loop.
7453 Discovered by somebody who abused the copy-paste technique of coding :)
7455 2006-12-13 Tim-Philipp Müller <tim at centricular dot net>
7457 * gst/gstghostpad.c:
7458 Log ghostpad debug stuff to the GST_PADS category as well rather
7459 than just to the default category.
7461 2006-12-12 Tim-Philipp Müller <tim at centricular dot net>
7464 * gst/gst.c: (init_pre):
7465 Add some basic system details such as OS and architecture
7466 to the debug output if possible, courtesy of uname().
7468 2006-12-11 Tim-Philipp Müller <tim at centricular dot net>
7470 * docs/gst/running.xml:
7471 Document GST_REGISTRY_FORK and GST_DEBUG_NO_COLOR
7472 environment variables.
7474 2006-12-09 Jan Schmidt <thaytan@mad.scientist.com>
7476 * tests/check/gst/gstbin.c: (GST_START_TEST):
7477 It is acceptable to have a refcount of 2 or 3 at this point in the
7478 test, because the pipeline might be just posting its state_change
7479 message. The next line then waits for that message to appear using
7480 bus_poll, so that should be fine too.
7482 2006-12-09 Jan Schmidt <thaytan@mad.scientist.com>
7484 * gst/gst.c: (ensure_current_registry_forking):
7485 Ignore EINTR when reading from the child registry pipe.
7486 Explicitly ignore the return value from close, since it makes no
7489 * gst/gstminiobject.c: (gst_mini_object_ref),
7490 (gst_mini_object_unref):
7491 When debugging refcounts, check GST_IS_MINI_OBJECT and warn.
7493 * gst/gstregistry.c: (_priv_gst_registry_remove_cache_plugins):
7494 When removing cached plugins, remove their features too, so they're
7495 not visible after they've disappeared.
7497 * gst/gstutils.c: (prepare_link_maybe_ghosting):
7498 In the unlikely case that we are linking pads with no parents, don't
7499 crash trying to get the non-existent parent bin.
7501 * gst/parse/grammar.y:
7502 Output debug in the PIPELINE category
7504 2005-03-08 Wim Taymans <wim@fluendo.com>
7506 Patch by: René Stadler <mail at renestadler dot de>
7508 * gst/gstclock.c: (gst_clock_new_periodic_id):
7509 Reject invalid clock times for interval of periodic ids.
7512 2006-12-07 Jan Schmidt <thaytan@mad.scientist.com>
7514 * gst/gstelementfactory.c: (gst_element_factory_create):
7515 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
7516 * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
7517 * tools/gst-inspect.c: (print_element_info):
7518 Fix refcounting of gst_plugin_feature_load to match the docs.
7521 2006-12-07 Wim Taymans <wim@fluendo.com>
7523 * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
7524 (gst_base_sink_get_position):
7525 Improve debugging of events.
7527 2006-12-07 Wim Taymans <wim@fluendo.com>
7529 Patch by: René Stadler <mail at renestadler dot de>
7531 * gst/gstclock.c: (gst_clock_id_wait):
7532 Make period ids add the interval to the origial requested time instead
7533 of the possibly updated time which can be wrong when there are multiple
7534 waiters for the same id. Fixes #382592.
7536 * gst/gstsystemclock.c: (gst_system_clock_async_thread),
7537 (gst_system_clock_id_wait_jitter_unlocked),
7538 (gst_system_clock_id_wait_jitter):
7539 Fix restart in the async notify thread when an async entry is added to
7540 the front of the list. Fixes #381492.
7542 * tests/check/gst/gstsystemclock.c: (store_callback),
7543 (notify_callback), (GST_START_TEST), (gst_systemclock_suite):
7544 Added test for multiple async waits.
7545 Added test for async wait order.
7547 2006-12-07 Wim Taymans <wim@fluendo.com>
7549 * gst/gstbin.c: (gst_bin_query):
7550 Add some more docs about the POSITION query.
7552 2006-12-07 Jan Schmidt <thaytan@mad.scientist.com>
7555 Bump version nano - back to CVS.
7557 === release 0.10.11 ===
7559 2006-12-06 Jan Schmidt <thaytan@mad.scientist.com>
7562 releasing 0.10.11, "Love never runs on time"
7564 2006-12-01 Jan Schmidt <thaytan@mad.scientist.com>
7566 * win32/common/libgstbase.def:
7567 * win32/common/libgstreamer.def:
7568 * win32/vs8/libgstbase.vcproj:
7569 * win32/vs8/libgstcoreelements.vcproj:
7570 * win32/vs8/libgstreamer.vcproj:
7571 Fix compilation on win32 under VS8
7572 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
7573 Partially fixes #381175
7575 2006-11-29 Jan Schmidt <thaytan@mad.scientist.com>
7577 * gst/gstvalue.c: (gst_value_compare_fraction):
7578 If someone is foolish enough to compare 2 fractions with denominator =
7579 0, return UNORDERED rather than aborting.
7581 2006-11-28 Edward Hervey <edward@fluendo.com>
7583 * libs/gst/base/Makefile.am:
7584 * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type),
7585 (gst_data_queue_base_init), (gst_data_queue_class_init),
7586 (gst_data_queue_init), (gst_data_queue_new),
7587 (gst_data_queue_cleanup), (gst_data_queue_finalize),
7588 (gst_data_queue_locked_flush), (gst_data_queue_locked_is_empty),
7589 (gst_data_queue_locked_is_full), (gst_data_queue_flush),
7590 (gst_data_queue_is_empty), (gst_data_queue_is_full),
7591 (gst_data_queue_set_flushing), (gst_data_queue_push),
7592 (gst_data_queue_pop), (gst_data_queue_drop_head),
7593 (gst_data_queue_set_property), (gst_data_queue_get_property):
7594 * libs/gst/base/gstdataqueue.h:
7595 New GstDataQueue object for threadsafe queueing. Most useful for
7596 elements that need some queueing functionnality.
7597 * docs/libs/gstreamer-libs-docs.sgml:
7598 * docs/libs/gstreamer-libs-sections.txt:
7599 Insert documentation for GstDataQueue
7600 * plugins/elements/Makefile.am:
7601 * plugins/elements/gstelements.c:
7602 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
7603 (gst_multi_queue_class_init), (gst_multi_queue_init),
7604 (gst_multi_queue_finalize), (gst_multi_queue_set_property),
7605 (gst_multi_queue_get_property), (gst_multi_queue_request_new_pad),
7606 (gst_multi_queue_release_pad), (gst_single_queue_push_one),
7607 (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
7608 (gst_multi_queue_loop), (gst_multi_queue_chain),
7609 (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
7610 (gst_multi_queue_getcaps), (gst_multi_queue_bufferalloc),
7611 (gst_multi_queue_src_activate_push), (gst_multi_queue_acceptcaps),
7612 (gst_multi_queue_src_event), (gst_multi_queue_src_query),
7613 (wake_up_next_non_linked), (compute_next_non_linked),
7614 (single_queue_overrun_cb), (single_queue_underrun_cb),
7615 (single_queue_check_full), (gst_single_queue_new):
7616 * plugins/elements/gstmultiqueue.h:
7617 New multiqueue element, using GstDataQueue. Used for queuing multiple
7619 Closes #344639 and #347785
7621 2006-11-22 Stefan Kost <ensonic@users.sf.net>
7623 * docs/pwg/advanced-types.xml:
7624 add more missing type details
7626 * tools/gst-run.c: (main):
7627 remove unused variable
7629 2006-11-21 Stefan Kost <ensonic@users.sf.net>
7631 * docs/libs/Makefile.am:
7632 * docs/libs/gstreamer-libs.types:
7633 add types of base classes to enable gobject specific stuff in the docs
7635 * docs/random/ensonic/embedded.txt:
7636 more ideas about isolating platform specific things
7638 2006-11-20 Wim Taymans <wim@fluendo.com>
7640 Patch by: Sebastian Dröge <slomo at ubuntu dot com>
7642 * libs/gst/check/gstcheck.h:
7643 Fix compilation and running against 0.9.4. Fixes #377332.
7645 2006-11-20 Wim Taymans <wim@fluendo.com>
7647 * gst/gstsegment.c: (gst_segment_set_seek),
7648 (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
7649 (gst_segment_to_running_time):
7650 Fix boundary checking in to_running_time() and to_stream_time().
7653 * tests/check/gst/gstsegment.c: (GST_START_TEST):
7654 stream and running time can now be calculated for the complete
7657 2006-11-15 Tim-Philipp Müller <tim at centricular dot net>
7659 * gst/gstpad.c: (gst_pad_push_event):
7660 Can't access event structure after giving away ownership of
7663 2006-11-15 Stefan Kost <ensonic@users.sf.net>
7665 * docs/random/ensonic/embedded.txt:
7666 * docs/random/ensonic/profiling.txt:
7667 * docs/random/ensonic/receipies.txt:
7670 2006-11-13 Wim Taymans <wim@fluendo.com>
7672 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
7675 Fix documentation for gst_pad_dispatcher. Fixes #374475.
7677 2006-11-13 Wim Taymans <wim@fluendo.com>
7679 Patch by: Jonathan Matthew <jonathan at kaolin dot wh9 dot net>
7681 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
7682 Store new length in segment duration so we don't keep on calling the
7683 potentially expensize get_size() call. Fixes #370865.
7685 2006-11-10 Tim-Philipp Müller <tim at centricular dot net>
7687 Patch by: Sergey Scobich <sergey.scobich at gmail com>
7689 * win32/common/libgstreamer.def:
7690 Add two missing symbols (#366492).
7692 2006-11-10 Jan Schmidt <thaytan@mad.scientist.com>
7694 * libs/gst/base/gstadapter.c: (gst_adapter_flush),
7695 (gst_adapter_take_buffer):
7696 Fix format string to use all its arguments.
7697 Remove useless >= check on a guint
7699 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
7701 * tests/examples/adapter/.cvsignore:
7702 Ignore build file as commanded by the build-bot
7704 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
7706 * tests/examples/adapter/Makefile.am:
7707 * tests/examples/adapter/adapter_test.c: (run_test_take),
7708 (run_test_take_buffer), (run_tests), (main):
7710 Add new files from the previous commit
7712 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
7716 * libs/gst/base/gstadapter.c: (gst_adapter_clear),
7717 (gst_adapter_push), (gst_adapter_peek_into), (gst_adapter_peek),
7718 (gst_adapter_flush), (gst_adapter_take), (gst_adapter_take_buffer):
7719 * libs/gst/base/gstadapter.h:
7720 * tests/check/libs/adapter.c: (create_and_fill_adapter),
7721 (GST_START_TEST), (gst_adapter_suite):
7722 * tests/examples/Makefile.am:
7723 Do some optimisation work in GstAdapter to avoid copies in more cases.
7724 It could still do slightly better by merging buffers when
7725 gst_buffer_is_span_fast is true, but is already faster.
7727 Also, avoid traversing a single-linked list to append each incoming
7728 buffer inside the adapter.
7730 Add simple test app that times the adapter behaviour in different
7731 situations, and extend the unit test to check that bytes enter and
7732 exit the adapter in their original order.
7734 2006-11-08 Tim-Philipp Müller <tim at centricular dot net>
7736 * docs/random/draft-missing-plugins.txt:
7737 Update: use element message instead of adding a new message
7738 type to the core; don't provide GStreamer API to initiate the
7739 plugin download, just provide API to compose the strings needed
7740 and let an external libgimmestuff handle the rest.
7742 2006-11-08 Jan Schmidt <thaytan@mad.scientist.com>
7744 * tools/gst-inspect.c: (print_element_properties_info):
7745 Print a string instead of 'unknown type' for GValueArray properties
7747 2006-11-08 Christian F.K. Schaller <christian@fluendo.com>
7749 * docs/random/draft-missing-plugins.txt:
7752 2006-11-07 Tim-Philipp Müller <tim at centricular dot net>
7754 * tests/examples/typefind/typefind.c: (type_found), (main):
7755 Make typefind element example work again (#371894); add a
7758 2006-11-07 Tim-Philipp Müller <tim at centricular dot net>
7760 * docs/random/draft-missing-plugins.txt:
7761 Commit initial draft about how to deal with missing plugins,
7762 needs work (API too).
7764 2006-11-07 Stefan Kost <ensonic@users.sf.net>
7766 * docs/pwg/advanced-types.xml:
7767 documents the new caps elements (see #363118)
7769 2006-11-06 Tim-Philipp Müller <tim at centricular dot net>
7771 * gst/gstplugin.c: (gst_plugin_load_file):
7772 * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_finalize),
7773 (gst_file_src_map_region), (gst_file_src_start):
7774 * plugins/indexers/gstfileindex.c: (gst_file_index_load),
7775 (gst_file_index_commit):
7776 Use g_strerror() instead of strerror() - we want UTF-8.
7778 2006-11-06 Tim-Philipp Müller <tim at centricular dot net>
7780 Patch by: Peter Kjellerstedt <pkj at axis com>
7782 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
7783 Another printf fix (#371493).
7785 2006-11-06 Stefan Kost <ensonic@users.sf.net>
7787 * tests/check/gst/gsttag.c:
7788 relicence (okay with author=company)
7790 2006-11-06 Stefan Kost <ensonic@users.sf.net>
7792 * gst/gstpad.c: (gst_pad_event_default_dispatch),
7793 (gst_pad_push_event):
7794 Enhance debug and improve docs
7799 2006-11-06 Stefan Kost <ensonic@users.sf.net>
7801 * docs/random/ensonic/distributed.txt:
7802 * docs/random/ensonic/profiling.txt:
7805 2006-11-06 Stefan Kost <ensonic@users.sf.net>
7807 * docs/gst/gstreamer-sections.txt:
7808 add new API and fix the build
7810 * gst/gstbin.c: (gst_bin_recalc_state):
7811 * gst/gstelement.c: (gst_element_message_full),
7812 (gst_element_get_state_func), (gst_element_set_state_func):
7813 use new API and improve logging
7815 * gst/gstutils.c: (gst_element_state_change_return_get_name):
7817 API: add function to get StateChangereturn names to improve logs
7819 2006-11-04 Thomas Vander Stichele <thomas at apestaart dot org>
7821 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
7822 I'm considering shooting the next person to put strerror stuff
7823 in the translateable part of the message.
7825 2006-11-03 Wim Taymans <wim@fluendo.com>
7827 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
7828 Get the type and printf conversion specifiers right.
7830 2006-11-03 Wim Taymans <wim@fluendo.com>
7832 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
7834 * gst/gstpad.c: (gst_pad_init), (pre_activate),
7835 (gst_pad_set_blocked_async), (gst_pad_acceptcaps_default),
7836 (gst_pad_accept_caps), (handle_pad_block), (gst_pad_push_event):
7837 Some small cleanups. Improve debugging.
7839 Signal all waiting threads with a broadcast instead of just one.
7842 2006-11-03 Wim Taymans <wim@fluendo.com>
7844 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
7845 (gst_fd_src_create):
7847 Only update fd when it's different from the old.
7849 2006-11-02 Tim-Philipp Müller <tim at centricular dot net>
7851 * plugins/elements/gstfilesrc.c: (gst_file_src_create_mmap):
7852 Printf fixes for PPC/OSX, take two (#369366).
7854 2006-11-02 Tim-Philipp Müller <tim at centricular dot net>
7856 Based on patch by: Jan David Mol <j.j.d.mol at tudelft nl>
7858 * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
7859 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
7860 (gst_file_src_map_small_region), (gst_file_src_create_mmap):
7861 Printf fixes for gsize parameters on PPC/OSX (#369366). Also,
7862 don't cast to long long for portability reasons, but use
7863 GLib's types instead.
7865 2006-10-30 Michael Smith <msmith@fluendo.com>
7867 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
7868 Get the arguments to lseek() the right way around.
7871 2006-10-30 Wim Taymans <wim@fluendo.com>
7873 Patch by: gorshkov <gorshkov at oghma dot on dot ca>
7876 _declspec should be __declspec (two underscores, not one). Fixes 366572.
7878 2006-10-28 Tim-Philipp Müller <tim at centricular dot net>
7880 Patch by: Kjartan Maraas <kmaraas at gnome org>
7882 * docs/design/part-MT-refcounting.txt:
7883 * docs/random/wtay/capsnego2-docs:
7886 Typo fixes (#366212).
7888 2006-10-28 Wim Taymans <wim@fluendo.com>
7890 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
7893 * win32/common/libgstbase.def:
7894 * win32/common/libgstreamer.def:
7895 * win32/vs8/libgstbase.vcproj:
7896 * win32/vs8/libgstcontroller.vcproj:
7897 Add needed entries in .def files.
7899 Rearrange def files in vs8 solutions. Fixes #366286.
7901 2006-10-28 Tim-Philipp Müller <tim at centricular dot net>
7903 * win32/common/gstconfig.h:
7904 Add GST_SEGMENT_FORMAT and GST_USING_PRINTF_EXTENSION to the
7905 hand-made win32 gstconfig.h. Fixes #366321.
7907 2006-10-27 Wim Taymans <wim@fluendo.com>
7909 * gst/gstghostpad.c: (gst_proxy_pad_do_acceptcaps),
7910 (gst_ghost_pad_new_full):
7911 Make acceptcaps return TRUE when we don't have a target, just like
7914 2006-10-27 Wim Taymans <wim@fluendo.com>
7916 * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
7917 Revert previous commit, 0 sized buffers are allowed. Reopens #363095.
7919 2006-10-26 Tim-Philipp Müller <tim at centricular dot net>
7921 * gst/gststructure.c: (gst_structure_id_set_value):
7922 If someone tries to set a non-UTF8 string field on a structure,
7923 don't just print a warning, but also ignore the request and do
7924 not change/add that field to the structure.
7926 * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
7929 2006-10-25 David Schleef <ds@schleef.org>
7932 g_hash_table_insert() needs a cast to a non-const pointer duh.
7934 2006-10-25 David Schleef <ds@schleef.org>
7938 Change name parameter of _gst_debug_register_funcptr to const
7939 to reflect the constness of its use in the function as well
7940 as to quiet a gcc warning.
7942 2006-10-25 Edward Hervey <edward@fluendo.com>
7944 * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
7945 Don't push the buffer if it's empty.
7948 2006-10-24 Wim Taymans <wim@fluendo.com>
7953 * libs/gst/base/gstbasetransform.c:
7954 (gst_base_transform_sink_eventfunc):
7955 Debug segment values *after* updating them as this is more
7958 2006-10-23 Wim Taymans <wim@fluendo.com>
7960 * docs/design/part-events.txt:
7963 * docs/design/part-block.txt:
7964 * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
7965 (gst_pad_push_event):
7966 Revert BLOCKING patch, it tries to be smart without really having a
7967 clear idea what or how. So, now we discard all FLUSHING events again on
7968 a blocking pad. Should fix gnonlin again.
7970 2006-10-23 Wim Taymans <wim@fluendo.com>
7972 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
7974 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
7975 (gst_base_src_start), (gst_base_src_activate_push):
7976 Make sure size is always initialized. Fixes #364388.
7978 2006-10-20 Stefan Kost <ensonic@users.sf.net>
7980 * docs/random/ensonic/distributed.txt:
7981 add some ideas about doing distributed processing
7983 * docs/random/ensonic/profiling.txt:
7984 get_rusage look promising
7986 2006-10-18 Stefan Kost <ensonic@users.sf.net>
7988 * docs/manual/basics-helloworld.xml:
7989 Add a cast in example to fix compile warning
7991 2006-10-18 Wim Taymans <wim@fluendo.com>
7993 * gst/gstsegment.c: (gst_segment_set_last_stop),
7994 (gst_segment_set_seek), (gst_segment_set_newsegment_full):
7995 Relax arg checking again, -1 is allowed.
7997 2006-10-18 Wim Taymans <wim@fluendo.com>
7999 * gst/gstsegment.c: (gst_segment_set_last_stop),
8000 (gst_segment_set_seek), (gst_segment_set_newsegment_full):
8001 _set_last_stop() must be with a value != -1
8002 A _TYPE_SET to -1 means seek to 0.
8003 Calc last_stop correctly for negative rates.
8004 Make sure we work with positive durations when updating a segment.
8006 2006-10-18 Wim Taymans <wim@fluendo.com>
8008 * docs/design/part-live-source.txt:
8012 2006-10-18 Tim-Philipp Müller <tim at centricular dot net>
8015 Add an explicit cast to GstBuffer** to keep old code that added an
8016 explicit cast to GstMiniObject** for gst_mini_object_replace()
8017 compiling without warning.
8019 2006-10-18 Stefan Kost <ensonic@users.sf.net>
8021 * gst/gstvalue.c: (gst_value_set_date), (gst_date_copy):
8022 check for validity of dates
8024 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
8026 * docs/gst/gstreamer-sections.txt:
8027 Forgot this one, makes gtk-doc shut up.
8029 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
8031 Patch by: Peter Kjellerstedt <pkj at axis com>
8034 Don't define xmlNodePtr to gpointer if the core was built with
8035 --disable-loadsave and --disable-registry, this will break
8036 applications that want to use libxml2 but are buildling against a
8037 core that doesn't use libxml2. Use an intermediary type GstXmlNodePtr
8038 instead so we don't have to mess with the libxml2 namespace
8041 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
8044 Fix gst_buffer_replace() macro to avoid gst_mini_object_replace()-related
8045 type-punned pointer warnings.
8047 2006-10-16 Tim-Philipp Müller <tim at centricular dot net>
8050 Add casts to the correct return type to state <=> state transition
8053 2006-10-16 Stefan Kost <ensonic@users.sf.net>
8055 * docs/design/part-live-source.txt:
8056 describe howto handle latency
8058 * docs/random/ensonic/profiling.txt:
8061 * tools/gst-plot-timeline.py:
8062 fix log parsing for solaris, remove unused function
8064 2006-10-16 Wim Taymans <wim@fluendo.com>
8066 * docs/design/part-trickmodes.txt:
8068 Update some docs regarding reverse playback.
8070 2006-10-15 Tim-Philipp Müller <tim at centricular dot net>
8072 Patch by: Marcus Granado <mrc dot gran at gmail com>
8074 * win32/vs8/grammar.vcproj:
8075 Error out with a warning if glib-genmarshal.exe is not in path,
8076 instead of creating bogus gstmarshal.[ch] files. Fixes #361720.
8078 2006-10-13 Wim Taymans <wim@fluendo.com>
8080 * gst/gstsegment.c: (gst_segment_set_seek):
8081 When seeking to stop -1, set last_stop (current position) to the
8082 duration of the segment.
8084 2006-10-13 Wim Taymans <wim@fluendo.com>
8087 Clarify _NO_PREROLL a bit more.
8092 * gst/gstpad.c: (gst_pad_link_check_hierarchy),
8093 (gst_pad_get_caps_unlocked), (gst_pad_save_thyself),
8094 (handle_pad_block), (gst_pad_push_event), (gst_pad_send_event):
8095 Patch by: Yves Lefebvre <ivanohe at abacom dot com> Fix possible deadlock
8096 due to wrong locking order. Fixes #361769.
8097 Remove some redundant/misplaced checks in pad_block.
8099 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
8100 For negative rates, count backwards from the duration.
8102 2006-10-13 Tim-Philipp Müller <tim at centricular dot net>
8104 * gst/gsterror.c: (_gst_library_errors_init):
8105 Fix error message for GST_LIBRARY_ERROR_SETTINGS (feel free to come
8106 up with something better).
8108 2006-10-12 Tim-Philipp Müller <tim at centricular dot net>
8110 * win32/vs6/libgstreamer.dsp:
8111 * win32/vs7/libgstreamer.vcproj:
8112 * win32/vs8/libgstreamer.vcproj:
8113 Don't reference glib-compat.c which is currently not used and not
8114 disted; add gstquark.c which was recently added. Fixes #361730.
8116 2006-10-12 Tim-Philipp Müller <tim at centricular dot net>
8118 * win32/common/libgstbase.def:
8119 * win32/common/libgstcontroller.def:
8120 * win32/common/libgstreamer.def:
8121 Add gst_caps_merge() and a bunch of other recently-added functions.
8124 2006-10-11 Wim Taymans <wim@fluendo.com>
8126 * docs/plugins/gstreamer-plugins.args:
8127 * docs/plugins/inspect/plugin-coreelements.xml:
8128 * docs/plugins/inspect/plugin-coreindexers.xml:
8129 Update element args.
8131 * gst/gstsystemclock.c:
8132 Small comment update.
8134 * plugins/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
8135 (gst_tee_request_new_pad), (gst_tee_release_pad),
8136 (gst_tee_buffer_alloc), (gst_tee_sink_activate_push),
8137 (gst_tee_sink_activate_pull):
8138 * plugins/elements/gsttee.h:
8140 Add default property defines.
8141 Implement release pad function.
8142 Give properties better blubs etc.
8143 Activate pads before adding them to a running tee.
8144 Do simple buffer_alloc on the first requested pad.
8145 Post error when activation fails.
8147 2006-10-11 Tim-Philipp Müller <tim at centricular dot net>
8149 * gst/gst.c: (ensure_current_registry_forking):
8150 Check return value of write() to make compiler happy.
8152 2006-10-11 Wim Taymans <wim@fluendo.com>
8154 Patch by: Sjoerd Simons <sjoerd at luon dot net>
8156 * plugins/elements/gstqueue.c: (gst_queue_chain):
8157 Recheck queue filledness after signalling the overrun when we're about
8158 to leak downstream because we released the lock when emitting the signal
8159 and the queue could be empty again. Fixes #352345.
8161 2006-10-11 Tim-Philipp Müller <tim at centricular dot net>
8163 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
8164 Fix refcounting here too, just like we did for _new_valist() a few
8165 days ago (#357180) (thanks to René Stadler). Also remove all those
8166 'Since: 0.9' from the gtk-doc blobs.
8168 * tests/check/libs/controller.c: (controller_refcount_new_list),
8169 (gst_controller_suite):
8170 Unit test for the above.
8172 2006-10-10 Wim Taymans <wim@fluendo.com>
8174 Patch by: Sebastien Cote <sebas642 at yahoo dot ca>
8176 * gst/gstpad.c: (gst_pad_get_caps_unlocked),
8177 (gst_pad_save_thyself):
8179 Write pad direction in XML output. Fixes #345496.
8181 2006-10-10 Wim Taymans <wim@fluendo.com>
8183 Patch by: René Stadler <mail at renestadler dot de>
8185 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
8186 (gst_controller_new_list), (_gst_controller_dispose),
8187 (_gst_controller_finalize), (_gst_controller_class_init):
8188 Take ref to controlled object so that it cannot disappear.
8191 2006-10-10 Wim Taymans <wim@fluendo.com>
8193 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
8194 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
8195 (gst_check_teardown_sink_pad):
8196 Activate/deactivate pads in setup/teardown respectively.
8198 2006-10-10 Zaheer Abbas Merali <zaheerabbas at merali dot org>
8200 Patch by: Josep Torra Valles <josep@fluendo.com>
8203 Cast values when making gstenumtypes.h. This pacifies Forte
8204 so it doesn't warn about the ~0 as GST_MESSAGE_ANY not fitting
8207 2006-10-09 Wim Taymans <wim@fluendo.com>
8209 * gst/gstevent.c: (gst_event_new_seek), (gst_event_parse_seek):
8210 Rename some more @cur to @start to fix docs.
8212 * gst/gstsegment.c: (gst_segment_set_seek):
8214 time and start must always stay in sync as defined in design doc.
8216 * gst/gsttaglist.c: (gst_tag_list_is_empty):
8217 Rename param to fix docs.
8219 * tests/check/gst/gstsegment.c: (GST_START_TEST):
8220 Check that start and time are in sync.
8222 * tests/check/pipelines/parse-launch.c:
8223 (gst_parse_test_element_change_state):
8224 Activate pad before adding to the element.
8226 2006-10-09 Wim Taymans <wim@fluendo.com>
8228 * docs/design/part-qos.txt:
8233 Update seek event docs regarding negative rates.
8234 Rename @cur to @start.
8236 * gst/gstsegment.c: (gst_segment_set_seek):
8238 Update set_seek docs regarding negative rates.
8239 Correctly update last_stop to @stop when dealing with negative
8241 Rename @cur to @start.
8243 * tests/check/gst/gstpad.c: (GST_START_TEST):
8244 Activate pads before trying to use them.
8246 * tests/check/gst/gstsegment.c: (GST_START_TEST),
8247 (gst_segment_suite):
8248 Add simple check for segments and negative rates.
8250 2006-10-09 Tim-Philipp Müller <tim at centricular dot net>
8252 * gst/gsttaglist.c: (gst_tag_list_is_empty):
8254 * docs/gst/gstreamer-sections.txt:
8255 API: add gst_tag_list_is_empty() (#360467).
8257 * tests/check/gst/gsttag.c: (GST_START_TEST):
8260 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
8263 Revert change from earlier wrt GST_MESSAGE_TYPE_ANY having
8264 a value that doesn't fit on enumeration.
8266 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
8268 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
8269 Remove local debugging system and use Gstreamer's instead.
8271 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
8273 Patch by: Josep Torra Valles <josep@fluendo.com>
8275 * common/m4/gst-error.m4:
8276 Disable warning of statement not reached on Forte.
8278 Fix warning on Forte (value doesn't fit on enumeration).
8279 * libs/gst/base/gstbasesink.c: (gst_base_sink_chain_unlocked):
8280 Fix warning on Forte (value doesn't fit on enumeration).
8281 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
8282 DEBUG macro says it takes minimum of 2 args and so Forte
8283 complains about the use with just 1 arg.
8284 * plugins/elements/gstfdsink.c:
8285 * plugins/elements/gstfdsrc.c:
8286 * plugins/elements/gstfilesink.c:
8287 * plugins/elements/gstfilesrc.c:
8288 Use correct return type for the uri handler implementations.
8290 All these fix warnings in Forte. Fixes bug #360860.
8292 2006-10-08 Tim-Philipp Müller <tim at centricular dot net>
8295 gcc versions prior to gcc 3.3 apparently complain about a NULL printf
8296 format string, so don't use G_GNUC_PRINTF for those versions.
8298 2006-10-07 Tim-Philipp Müller <tim at centricular dot net>
8300 * gst/gsttaglist.c: (gst_is_tag_list):
8302 Minor fixes to GST_IS_TAG_LIST and gst_is_tag_list().
8304 * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
8305 Small test for the above.
8307 2006-10-07 Tim-Philipp Müller <tim at centricular dot net>
8310 Less tabs, more spaces.
8312 2006-10-06 Tim-Philipp Müller <tim at centricular dot net>
8315 Those two function declarations do actually belong there, revert
8316 commit from yesterday that turned them intro macros.
8318 2006-10-06 Zaheer Abbas Merali <zaheerabbas at merali dot org>
8320 Patch by: Josep Torra Valles <josep@fluendo.com>
8322 * gst/gst.c: (gst_init_get_option_group):
8323 Fix empty declaration and type mismatch.
8324 * gst/gstbin.c: (gst_bin_change_state_func):
8326 * gst/gstelement.c: (gst_element_continue_state),
8327 (gst_element_set_state_func), (gst_element_change_state),
8328 (gst_element_change_state_func):
8329 Fix type mismatches.
8330 * gst/gstinfo.c: (gst_debug_compare_log_function_by_func),
8331 (gst_debug_remove_log_function), (_gst_debug_nameof_funcptr):
8332 Cast as appropriate.
8333 * gst/gstobject.c: (gst_class_signal_connect):
8334 Cast as appropriate. The function pointer parameter really
8335 has the wrong type but would break API if we change it.
8337 Fix redefinition of _FILE_OFFSET_BITS caused on Solaris wrt
8338 order of including string.h.
8339 * gst/gstutils.c: (gst_element_state_get_name):
8340 Remove unreachable line.
8341 * gst/gstxml.c: (gst_xml_parse_doc):
8343 All these caught by Forte.
8345 2006-10-06 Zaheer Abbas Merali <zaheerabbas at merali dot org>
8347 Patch by: Josep Torra Valles <josep@fluendo.com>
8349 * common/m4/gst-error.m4:
8351 We need to disable warnings on Forte for empty declarations
8352 due to gst-indent adding ;s to lines that just use macros
8353 where the macro actually doesn't need a ; at end to end
8356 2006-10-06 Wim Taymans <wim@fluendo.com>
8358 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
8359 (gst_file_sink_close_file), (gst_file_sink_event),
8360 (gst_file_sink_render):
8361 Add some FIXME for the NEWSEGMENT handling.
8363 2006-10-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
8365 * gst/parse/grammar.y:
8366 Remove static function gst_parse_element_lock as all it does
8367 is return. Looks like cruft from 0.8.
8369 2006-10-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
8371 Patch by: Josep Torra Valles <josep@fluendo.com>
8373 * common/m4/gst-error.m4:
8375 * libs/gst/net/Makefile.am:
8376 Fix a compilation issue with Forte on Solaris. inet_aton is in
8379 2006-10-05 Tim-Philipp Müller <tim at centricular dot net>
8381 * gst/gstpad.c: (pre_activate):
8382 * gst/gstregistry.c: (gst_registry_scan_path_level):
8383 * gst/gstregistryxml.c: (load_plugin):
8384 * libs/gst/controller/gstcontroller.c:
8385 (gst_controlled_property_set_interpolation_mode):
8386 * libs/gst/dataprotocol/dataprotocol.c:
8387 (gst_dp_packet_from_event_1_0):
8388 * libs/gst/net/gstnetclientclock.c:
8389 (gst_net_client_clock_observe_times):
8390 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
8393 2006-10-05 Tim-Philipp Müller <tim at centricular dot net>
8396 * docs/gst/gstreamer-sections.txt:
8397 * gst/gstconfig.h.in:
8400 Add GST_USING_PRINTF_EXTENSION to gstconfig.h so that we know
8401 whether we can use G_GNUC_PRINTF in other header files and at
8402 least check the printf format/arguments of debug messages and
8403 GST_ELEMENT_ERROR messages when the printf extension is not
8405 Replace more tabs with spaces in gstinfo.h and remove two spurious
8406 function declarations in GST_DISABLE_DEBUG part with macros.
8408 2006-10-03 Tim-Philipp Müller <tim at centricular dot net>
8410 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_post):
8411 More docs for the sync-message signal (mention that it is not
8412 emitted by default); log message structures of messages posted on
8415 2006-10-03 Jan Schmidt <thaytan@mad.scientist.com>
8417 * gst/gst.c: (ensure_current_registry_forking):
8418 Use a pipe pair to receive status results from the forked child, and
8419 ignore the result from waitpid. Fixes #355499
8421 2006-10-02 Wim Taymans <wim@fluendo.com>
8423 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
8424 (gst_ghost_pad_suite):
8427 2006-10-02 Tim-Philipp Müller <tim at centricular dot net>
8430 Add 'Since: 0.10.11' to gst_pad_is_blocking() gtk-doc blurb.
8432 2006-10-02 Edward Hervey <edward@fluendo.com>
8434 * docs/design/part-block.txt:
8435 Further explain the use of flushing on blocked pads.
8436 * docs/gst/gstreamer-sections.txt:
8437 * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
8438 (gst_pad_push_event):
8440 Added new GstPadFlag : GST_PAD_BLOCKING.
8441 Adds the notion of pads really blocking, which enables to properly
8442 handle FLUSH_START/FLUSH_STOP events on blocked pads.
8444 API: gst_pad_is_blocking()
8445 API: GST_PAD_IS_BLOCKING() macro
8446 API: GST_PAD_BLOCKING GstPadFlag
8448 2006-10-02 Wim Taymans <wim@fluendo.com>
8450 Patch by: mrcgran <mrc.gran at gmail dot com>
8452 * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps):
8453 Filter the proxied caps against the padtemplate if we have one.
8455 * gst/gstquery.c: (gst_query_new_segment):
8456 Add include for gstinfo.h so that compilation with
8457 -DGST_DISABLE_GST_DEBUG works again. Fixes #358436.
8459 2006-10-02 Wim Taymans <wim@fluendo.com>
8461 Patch by: Alessandro Decina <alessandro at nnva org>
8463 * plugins/elements/gstfilesink.c: (gst_file_sink_init),
8464 (gst_file_sink_set_location), (gst_file_sink_open_file),
8465 (gst_file_sink_close_file), (gst_file_sink_event),
8466 (gst_file_sink_render):
8467 Set file to NULL when closing filesink so that we can set a new filename
8468 in READY. Fixes #358613.
8470 2006-10-02 Tim-Philipp Müller <tim at centricular dot net>
8472 Patch by: Alessandro Decina <alessandro at nnva org>
8474 * gst/gstevent.c: (_gst_event_copy):
8475 Fix gst_mini_object_make_writable() and gst_event_copy() for events
8476 with event structures by setting the parent refcount address of the
8477 copied structure to the address of the refcount member of the newly
8478 copied event rather than the address of the refcount member of the
8479 original event. Fixes #358737.
8481 * tests/check/gst/gstevent.c: (GST_START_TEST):
8482 Unit test for the above.
8484 2006-09-29 Stefan Kost <ensonic@users.sf.net>
8486 * docs/design/Makefile.am:
8487 Dist some more files.
8489 2006-09-29 Tim-Philipp Müller <tim at centricular dot net>
8491 * tests/check/libs/controller.c: (GST_START_TEST),
8492 (gst_controller_suite):
8493 Add test for the previous fix; add some more tests
8494 for correct refcounting behaviour; fix a few leaks
8495 in test cases; call gst_controller_init() at start
8498 2006-09-29 Tim-Philipp Müller <tim at centricular dot net>
8500 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
8501 (gst_controller_set_from_list):
8502 Don't g_return_val_if_fail() on timed values with invalid timestamps
8503 inside a critical section without unlocking the mutex. Spotted by
8504 René Stadler. (#357617)
8505 Also, fix up refcounting properly: when returning an existing
8506 controller, we should increase the reference only once and not
8507 once per property and when trying to control a property again
8508 we should also increase the refcount.
8510 2006-09-29 Wim Taymans <wim@fluendo.com>
8512 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
8513 * libs/gst/net/gstnettimeprovider.c:
8514 (gst_net_time_provider_thread):
8515 Stop reading commands when EOF as well.
8517 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
8518 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
8519 * plugins/elements/gstidentity.c: (gst_identity_class_init):
8520 Unify description of the dump property.
8522 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
8524 * tests/examples/manual/.cvsignore:
8525 OK, so it's actually cvsignore that needs changing. Stop laughing.
8527 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
8529 * tests/examples/manual/Makefile.am:
8530 Gah, declare vars *before* using them
8532 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
8534 * gst/gst.c: (init_pre), (scan_and_update_registry),
8535 (ensure_current_registry_nonforking),
8536 (ensure_current_registry_forking), (ensure_current_registry),
8537 (init_post), (gst_debug_help), (gst_deinit):
8538 * gst/gst_private.h:
8539 * gst/gstregistry.c: (gst_registry_finalize),
8540 (gst_registry_remove_features_for_plugin_unlocked),
8541 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
8542 (gst_registry_scan_path),
8543 (_priv_gst_registry_remove_cache_plugins),
8544 (_priv_gst_registry_cleanup):
8545 * gst/gstregistry.h:
8546 Re-commit the registry changes, along with an extra fix:
8547 When a cached plugin is encountered at a different file path,
8548 update the stored path in the registry cache so that the parent
8549 process knows where it actually is now when it re-reads the registry
8550 cache. Fixes the thing that broke distcheck with the previous commit.
8552 * tests/check/Makefile.am:
8553 Clean up files named 'core' too when running make clean.
8555 * tests/examples/manual/Makefile.am:
8556 Set up a registry path for running these tests, and clean it properly
8559 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
8562 Don't pull in gmodule-2.0.pc as a dependency in our .pc files - we
8563 want gmodule-no-export-2.0.pc instead so that we don't drag in
8564 --export-dynamic on every project that links to GStreamer.
8566 Also, make our export regex only match the start of symbols, rather
8567 than any symbol that contains '_gst' somewhere.
8569 * libs/gst/check/Makefile.am:
8570 The libgstcheck we build does however need export-dynamic, as it
8571 produces some symbols that don't match our _gst... style regex.
8574 2006-09-27 Jan Schmidt <thaytan@mad.scientist.com>
8576 * gst/gst.c: (init_pre), (scan_and_update_registry),
8577 (ensure_current_registry_nonforking),
8578 (ensure_current_registry_forking), (ensure_current_registry),
8579 (init_post), (gst_debug_help), (gst_deinit):
8580 * gst/gst_private.h:
8581 * gst/gstregistry.c: (gst_registry_finalize),
8582 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
8583 (gst_registry_scan_path), (_gst_registry_remove_cache_plugins),
8584 (_gst_registry_cleanup):
8585 * gst/gstregistry.h:
8586 Revert previous change until I figure out why it breaks distcheck.
8588 2006-09-27 Jan Schmidt <thaytan@mad.scientist.com>
8590 * gst/gst.c: (init_pre), (scan_and_update_registry),
8591 (ensure_current_registry_nonforking),
8592 (ensure_current_registry_forking), (ensure_current_registry),
8593 (init_post), (gst_debug_help), (gst_deinit):
8595 Make init_pre and init_post take the full complement of GOptionFunc
8596 args so they can return useful GErrors. Make the registry updating
8599 Call _priv_gst_registry_remove_cache_plugins after scanning files to
8600 ensure that the registry we're about to write out doesn't contain
8601 stale information about old-deleted plugin files.
8603 Make _priv_gst_registry_remove_cache_plugins return a boolean so
8604 that deletion of plugin files is considered a registry change.
8606 * gst/gst_private.h:
8607 * gst/gstregistry.c: (gst_registry_finalize),
8608 (gst_registry_remove_features_for_plugin_unlocked),
8609 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
8610 (gst_registry_scan_path),
8611 (_priv_gst_registry_remove_cache_plugins),
8612 (_priv_gst_registry_cleanup):
8613 * gst/gstregistry.h:
8614 Rename _gst_registry_remove_cache_plugins and _gst_registry_cleanup
8615 by adding _priv prefix, so that they won't appear in the global
8616 symbol table. They still do atm though because of #318031. Move the
8617 prototypes to gst_private.h
8619 When removing a plugin, remove all features for that plugin too.
8622 2006-09-27 Wim Taymans <wim@fluendo.com>
8624 * docs/random/moving-plugins:
8625 Make it clear that the "compiled-in descriptions" really mean
8626 the element details.
8628 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
8629 (gst_base_sink_wait_preroll):
8632 * docs/libs/gstreamer-libs-sections.txt:
8633 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
8634 (gst_base_src_get_range), (gst_base_src_activate_push):
8635 * libs/gst/base/gstbasesrc.h:
8636 Added function to block while waiting for PLAYING, this function
8637 is used by live sources that block on the clock.
8638 API: gst_base_src_wait_playing()
8640 2006-09-27 Tim-Philipp Müller <tim at centricular dot net>
8642 Patch by: Peter Kjellerstedt <pkj at axis com>
8645 gst-element-check.m4 is generated and should therefore be
8646 copied from the build dir rather than the source dir (#357593).
8647 'make distcheck' hasn't noticed this because we were disting
8648 the file as well, so stop doing that.
8650 2006-09-27 Tim-Philipp Müller <tim at centricular dot net>
8652 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
8653 Add some tests for gst_caps_intersect().
8655 * tools/gst-launch.c: (event_loop):
8656 Print all buffering percentages we get, even the 100% one.
8658 2006-09-26 Wim Taymans <wim@fluendo.com>
8660 * tools/gst-inspect.c: (print_element_properties_info),
8661 (print_signal_info):
8662 Fix printing of flags to match the look of enums.
8664 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
8666 * gst/gstelementfactory.c:
8667 Fix typo in docs blurb.
8669 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
8671 * gst/gsturi.c: (search_by_entry):
8672 Don't assert/crash here if a uri handler doesn't return any
8673 supported protocols. The list of protocols could be generated
8674 dynamically at runtime or at plugin registration, and an error
8675 in the underlying library shouldn't be fatal (#353301).
8677 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
8680 Fix warning if HAVE_PRINTF_EXTENSION is undefined
8681 (spotted by Peter Kjellerstedt).
8683 2006-09-23 Wim Taymans <wim@fluendo.com>
8685 Based on patch by: Antoine Tremblay <hexa00 at gmail dot com>
8687 * libs/gst/base/gstbasesrc.c:
8688 (gst_base_src_default_check_get_range), (gst_base_src_start),
8689 (gst_base_src_activate_push), (gst_base_src_activate_pull),
8690 (gst_base_src_change_state):
8691 Match _start/_stop calls in the activate functions. Remove redundant
8692 _stop call from the state change function. Fixes #356910.
8693 Turn failure DEBUG into ERROR.
8695 2006-09-22 Wim Taymans <wim@fluendo.com>
8697 * docs/design/part-buffering.txt:
8698 * gst/gstmessage.c: (gst_message_new_buffering),
8699 (gst_message_parse_buffering):
8700 Update docs about buffering.
8702 * docs/design/part-trickmodes.txt:
8705 2006-09-22 Stefan Kost <ensonic@users.sf.net>
8707 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
8708 (gst_controller_new_list):
8709 Ref instances when returning them again (fixes #357180)
8711 2006-09-22 Tim-Philipp Müller <tim at centricular dot net>
8713 * gst/gstghostpad.c: (gst_ghost_pad_set_target):
8714 Don't forget to release proxy lock when there's an error.
8716 2006-09-20 Jan Schmidt <thaytan@mad.scientist.com>
8719 Add extra initialisers for Caps things, to fix some plugin warnings
8722 2006-09-18 Wim Taymans <wim@fluendo.com>
8724 * gst/gstghostpad.c: (gst_ghost_pad_new_full):
8725 Also set template on the internal pad so that a getcaps from the
8726 target pad returns the template caps.
8728 2006-09-18 Wim Taymans <wim@fluendo.com>
8730 * gst/gstelement.c: (gst_element_post_message),
8731 (gst_element_dispose):
8732 Use _DEBUG_OBJECT some more.
8734 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
8737 * tools/gst-launch.c: (main):
8738 If the toplevel element is not a GstPipeline, it must be put in a
8739 pipeline so that a bus and clock is selected.
8741 2006-09-17 Tim-Philipp Müller <tim at centricular dot net>
8743 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
8744 JITTER, RATE, and LATENCY query should be handled by the
8745 default case and not by the CONVERT query code.
8747 2006-09-17 Tim-Philipp Müller <tim at centricular dot net>
8749 * gst/gstformat.c: (gst_format_register):
8750 Fix locking order (must take lock before using n_values).
8752 * gst/gstvalue.c: (gst_value_serialize_enum),
8753 (gst_value_deserialize_enum_iter_cmp),
8754 (gst_value_deserialize_enum):
8755 Fix serialisation/deserialisation of custom registered GstFormats.
8757 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
8758 Unit test for custom format serialisation/deserialisation.
8760 2006-09-17 Stefan Kost <ensonic@users.sf.net>
8762 * docs/pwg/building-boiler.xml:
8763 * plugins/elements/gstcapsfilter.c:
8764 More G_OBJECT macro fixing. Also Fix some details on the plugin-stamp
8767 2006-09-16 Edward Hervey <edward@fluendo.com>
8769 * libs/gst/base/gstbasetransform.c:
8770 (gst_base_transform_buffer_alloc):
8771 Check if requested caps are the same as the sinks caps IF
8772 ->have_same_caps is TRUE. If they are not, act as if have_same_caps
8774 This fixes the renegotiation issues stated in #352827.
8776 2006-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
8779 * docs/manual/advanced-autoplugging.xml:
8780 * tests/examples/Makefile.am:
8781 * tests/examples/manual/.cvsignore:
8782 * tests/examples/manual/Makefile.am:
8783 * tests/examples/manual/extract.pl:
8784 Extract the manual examples again like we used to do.
8787 2006-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
8789 * win32/common/config.h:
8792 2006-09-16 Stefan Kost <ensonic@users.sf.net>
8795 Documents how to receive errors.
8797 2006-09-15 Wim Taymans <wim@fluendo.com>
8799 * tools/gst-launch.c: (sigint_handler_sighandler), (check_intr),
8800 (event_loop), (main):
8801 Added some comments here and there.
8802 Post an application message when an interrupt is caught instead of doing
8803 an uncontrolled state change.
8804 Clean up the event loop.
8805 Handle buffering messages, pause/resume the pipeline.
8806 Make shutdown because of an interrupt more reliable.
8808 2006-09-15 Wim Taymans <wim@fluendo.com>
8810 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
8811 (gst_base_sink_wait_preroll), (gst_base_sink_do_sync),
8812 (gst_base_sink_preroll_object):
8813 Make sure that our internal state is correct when we commit our state
8814 asynchronously. This solves a race where a state change to PLAYING
8815 could cause the sink to remain blocked in preroll in some situations.
8817 2006-09-15 Wim Taymans <wim@fluendo.com>
8819 * tools/gst-inspect.c: (print_element_properties_info),
8820 (print_signal_info):
8821 List flags as hex so it's easier to deal with.
8823 2006-09-15 Wim Taymans <wim@fluendo.com>
8825 * docs/libs/gstreamer-libs-sections.txt:
8826 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_preroll),
8827 (gst_base_sink_do_sync):
8828 * libs/gst/base/gstbasesink.h:
8829 Expose logic to wait for preroll so that subclasses such as audiosink
8830 can also use this method.
8831 API: gst_base_sink_wait_preroll()
8833 2006-09-15 Wim Taymans <wim@fluendo.com>
8835 * gst/gstobject.c: (gst_object_set_parent):
8836 * gst/gstpipeline.c: (do_pipeline_seek):
8837 Small cleanups in docs and code.
8839 * gst/gstsegment.c: (gst_segment_clip):
8840 * tests/check/gst/gstsegment.c: (GST_START_TEST):
8841 if stop == start and start is in the segment, no clipping should be
8842 done. Also add a test for this.
8844 2006-09-15 Wim Taymans <wim@fluendo.com>
8846 * docs/design/part-buffering.txt:
8847 * docs/gst/gstreamer-sections.txt:
8848 * gst/gstmessage.c: (gst_message_new_buffering),
8849 (gst_message_parse_buffering):
8851 Added methods to create and parse BUFFERING messages.
8852 Added preliminary docs about buffering.
8853 API: gst_message_new_buffering
8854 API: gst_message_parse_buffering
8856 2006-09-06 Wim Taymans <wim@fluendo.com>
8859 Update documentation.
8861 * gst/gstelement.c: (gst_element_class_init),
8862 (gst_element_release_request_pad), (gst_element_set_clock),
8863 (gst_element_get_index), (gst_element_add_pad),
8864 (gst_element_remove_pad), (gst_element_get_random_pad),
8865 (gst_element_send_event), (gst_element_get_query_types),
8866 (gst_element_query), (gst_element_post_message),
8867 (gst_element_message_full), (gst_element_continue_state),
8868 (gst_element_lost_state), (gst_element_save_thyself),
8869 (gst_element_restore_thyself):
8870 Documentation updates.
8871 Rename last bit of the new-pad -> pad-added signal rename.
8872 Fix the case where an element query would only work if the source
8874 Avoid some useless type checking in message handling.
8879 Documentation updates.
8881 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
8883 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
8884 add an INFO line for when we actually update the fd
8886 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
8891 === release 0.10.10 ===
8893 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
8896 releasing 0.10.10, "Pais"
8898 2006-09-05 Tim-Philipp Müller <tim at centricular dot net>
8900 * docs/manual/advanced-position.xml:
8901 Fix typo in sample code.
8903 2006-09-05 Wim Taymans <wim@fluendo.com>
8905 * libs/gst/net/gstnetclientclock.c: (inet_aton),
8906 (gst_net_client_clock_init), (gst_net_client_clock_finalize),
8907 (gst_net_client_clock_do_select), (gst_net_client_clock_new):
8908 * libs/gst/net/gstnetclientclock.h:
8909 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
8910 * libs/gst/net/gstnettimepacket.h:
8911 * libs/gst/net/gstnettimeprovider.c: (inet_aton),
8912 (gst_net_time_provider_init), (gst_net_time_provider_finalize),
8913 (gst_net_time_provider_thread), (gst_net_time_provider_new):
8914 * libs/gst/net/gstnettimeprovider.h:
8915 Make stuff compile on windows. Fixes #345295.
8917 2006-09-03 Tim-Philipp Müller <tim at centricular dot net>
8919 * gst/gst.c: (ensure_current_registry_forking):
8920 Print better details when child was terminated by signal.
8922 2006-09-03 Tim-Philipp Müller <tim at centricular dot net>
8924 * gst/gstregistryxml.c: (gst_registry_xml_save_feature):
8925 Print a warning rather than g_assert() if a plugin feature
8926 is a URI handler but returns no protocols (#353976).
8928 2006-09-02 Stefan Kost <ensonic@users.sf.net>
8930 * docs/random/moving-plugins:
8933 2006-09-01 Tim-Philipp Müller <tim at centricular dot net>
8935 * gst/gstinfo.c: (_gst_debug_nameof_funcptr):
8936 Fix locking order, handle NULL function values properly.
8941 * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
8942 Initialise variable before using it and fix debug statement to
8943 print the address of the function rather than the address of the
8944 variable on the stack holding the address of the function.
8946 2006-09-01 Wim Taymans <wim@fluendo.com>
8948 * gst/gstghostpad.c: (gst_proxy_pad_do_event),
8949 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_chain),
8950 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
8951 (gst_proxy_pad_set_target_unlocked), (gst_ghost_pad_parent_set),
8952 (gst_ghost_pad_parent_unset),
8953 (gst_ghost_pad_internal_do_activate_push),
8954 (gst_ghost_pad_internal_do_activate_pull),
8955 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
8956 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
8957 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
8958 (gst_ghost_pad_new_full), (gst_ghost_pad_new_no_target),
8959 (gst_ghost_pad_new), (gst_ghost_pad_new_from_template),
8960 (gst_ghost_pad_new_no_target_from_template),
8961 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
8963 Avoid needless typechecking in macros.
8964 Since the internal pad is always present and never changes, there is
8965 no need to locking or ref when retrieving it.
8966 Improve debugging a bit.
8967 Handle link errors when setting the target. Fixes #341029.
8969 2006-09-01 Wim Taymans <wim@fluendo.com>
8971 * docs/libs/gstreamer-libs-sections.txt:
8972 * docs/plugins/gstreamer-plugins-sections.txt:
8975 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
8976 (gst_collect_pads_event):
8977 * libs/gst/base/gstcollectpads.h:
8978 Documentation updates.
8979 Free queued buffer when removing a pad.
8981 2006-08-31 Michael Smith <msmith@fluendo.com>
8983 * gst/gstutils.c: (gst_element_link_pads),
8984 (gst_element_link_pads_filtered):
8985 Ensure that we set a capsfilter to NULL if we failed to link it
8986 when doing filtered linking, to avoid criticals.
8988 No need to check for unreffing srcpad, which is explicly NULLed
8989 above (a trivial code cleanup).
8991 2006-08-31 Wim Taymans <wim@fluendo.com>
8993 * docs/design/part-gstghostpad.txt:
8994 Update ascii art in documentation.
8996 * gst/gstghostpad.c: (gst_proxy_pad_do_internal_link),
8997 (gst_proxy_pad_set_target_unlocked), (gst_proxy_pad_init),
8998 (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
8999 (gst_ghost_pad_internal_do_activate_push),
9000 (gst_ghost_pad_internal_do_activate_pull),
9001 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
9002 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
9003 (gst_ghost_pad_dispose), (gst_ghost_pad_new_full),
9004 (gst_ghost_pad_set_target):
9005 Small cleanups and leak fixes.
9006 Remove some checks now that the internal pad is never NULL.
9007 Fix the case where linking pads without a target would create nasty
9008 criticals. Fixes #341029.
9009 Don't assign a GstPadLinkReturn to a gboolean and mess up the return
9010 value of _set_target().
9012 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
9013 (gst_ghost_pad_suite):
9014 Some more tests for creating and linking untargeted ghostpads.
9016 2006-08-31 Edward Hervey <edward@fluendo.com>
9018 * docs/gst/gstreamer-sections.txt:
9019 * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps),
9020 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
9021 (gst_proxy_pad_dispose), (gst_ghost_pad_new_full),
9022 (gst_ghost_pad_new_no_target), (gst_ghost_pad_new),
9023 (gst_ghost_pad_new_from_template),
9024 (gst_ghost_pad_new_no_target_from_template):
9025 * gst/gstghostpad.h:
9026 Refactored *_new() functions.
9027 Templates are now used as a g_object_new() parameter.
9028 Use template in _do_getcaps() if we don't have a target.
9029 Small documentation cleanups.
9030 Added two new constructors:
9031 gst_ghost_pad_new_from_template()
9032 gst_ghost_pad_new_no_target_from_template()
9033 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
9034 (gst_ghost_pad_suite):
9035 Added tests for new ghostpad instanciation functions.
9037 API additions: gst_ghost_pad_new_from_template,
9038 gst_ghost_pad_new_no_target_from_template
9040 2006-08-30 Stefan Kost <ensonic@users.sf.net>
9042 * docs/random/ensonic/profiling.txt:
9043 Ideas about qos profiling.
9045 2006-08-29 Wim Taymans <wim@fluendo.com>
9047 * gst/gstcaps.c: (gst_caps_structure_is_subset_field):
9051 2006-08-29 Tim-Philipp Müller <tim at centricular dot net>
9054 Improve and detypofy docs.
9056 * tests/check/Makefile.am:
9057 * tests/check/gst/.cvsignore:
9058 * tests/check/gst/gstxml.c: (GST_START_TEST), (gst_xml_suite):
9059 Add a basic test suite for GstXML.
9061 2006-08-29 Wim Taymans <wim@fluendo.com>
9063 * gst/gstelement.c: (activate_pads), (clear_caps),
9064 (iterator_activate_fold_with_resync), (gst_element_pads_activate):
9065 Clear the pad caps when the element shut down all of the pads and
9066 is not streaming data that could modify the caps.
9069 2006-08-28 Michael Smith <msmith@fluendo.com>
9071 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
9072 Revert previous change; I misunderstood single-segment mode.
9074 2006-08-28 Michael Smith <msmith@fluendo.com>
9076 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
9077 Unset DISCONT on buffers when using single-segment mode.
9079 2006-08-28 Wim Taymans <wim@fluendo.com>
9081 * gst/gstcaps.c: (gst_caps_merge_structure):
9083 Fix docs and indentation again.
9085 * tests/check/gst/gstquery.c: (GST_START_TEST):
9086 Fix leak in tests and add some more tests.
9088 2006-08-28 Edward Hervey <edward@fluendo.com>
9090 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
9091 Inform GstSegment of the last stop position in order for the current
9092 segment to have a proper duration if it doesn't have a specific stop
9093 position from which a duration could be calculated.
9094 This bug was noticeable when a non-flushing, non-update new segment was
9095 followed by another segment (all buffers from the new segment were being
9098 2006-08-28 Wim Taymans <wim@fluendo.com>
9100 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
9101 Small comment update.
9103 * plugins/elements/gstidentity.c: (gst_identity_class_init),
9104 (gst_identity_transform_ip):
9105 Drop-probability is broken, mention this in the code with a
9106 FIXME and also in the property description.
9107 Make silent also be silent about the drop messages.
9109 2006-08-28 Tim-Philipp Müller <tim at centricular dot net>
9111 * docs/manual/appendix-win32.xml:
9112 Remove mention of popt, we don't depend on that any
9113 longer (#353136). Add some comments pointing out that
9114 this section is slightly outdated.
9116 2006-08-28 Wim Taymans <wim@fluendo.com>
9118 Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
9120 * gst/gstquery.c: (gst_query_new_segment):
9121 * tests/check/gst/gstquery.c: (GST_START_TEST):
9122 Initialize variables when creating a new segment query.
9125 2006-08-28 Wim Taymans <wim@fluendo.com>
9127 Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
9129 * gst/gstelement.c: (gst_element_get_bus):
9130 * tests/check/gst/gstelement.c: (GST_START_TEST):
9131 Check for NULL before _reffing the bus. Fixes #353122.
9133 2006-08-25 Tim-Philipp Müller <tim at centricular dot net>
9135 * docs/manual/basics-bus.xml:
9136 Docs update: fix wrong callback return value explanation; add
9137 some lines about the implicit relationship between main loop
9138 and main context; remove duplicate main loop variable declaration.
9140 2006-08-24 Tim-Philipp Müller <tim at centricular dot net>
9142 * tests/check/gst/gstcaps.c: (GST_START_TEST):
9143 Don't leak caps in unit test; add a few more simple
9146 2006-08-24 Stefan Kost <ensonic@users.sf.net>
9148 * docs/gst/gstreamer-sections.txt:
9149 * gst/gstcaps.c: (gst_caps_structure_is_subset_field),
9150 (gst_caps_structure_is_subset), (gst_caps_merge),
9151 (gst_caps_merge_structure):
9153 * libs/gst/base/gstbasetransform.c:
9154 (gst_base_transform_transform_caps):
9155 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
9156 implement caps merging (fixes #352580)
9158 2006-08-23 Stefan Kost <ensonic@users.sf.net>
9160 * tools/Makefile.am:
9161 * tools/gst-plot-timeline.py:
9162 add debug-log plotting developer tool (#340674)
9164 2006-08-23 Wim Taymans <wim@fluendo.com>
9166 * gst/gstpad.c: (gst_pad_start_task), (gst_pad_pause_task),
9167 (gst_pad_stop_task):
9168 Improve debugging for task functions.
9170 * gst/gsttask.c: (gst_task_func), (gst_task_set_lock),
9171 (gst_task_start), (gst_task_pause), (gst_task_join):
9172 Make sure that the task function started and finished after a
9174 Don't try to push the task function on the threadpool multiple
9176 Improve the g_warning message with some useful suggestions
9177 about how to fix the problem.
9179 2006-08-23 Wim Taymans <wim@fluendo.com>
9181 * gst/gstutils.c: (gst_pad_proxy_getcaps):
9182 Handle RESYNC correctly in _proxy_getcaps.
9184 2006-08-21 Tim-Philipp Müller <tim at centricular dot net>
9186 * gst/gstxml.c: (gst_xml_dispose), (gst_xml_parse_file),
9187 (gst_xml_parse_memory), (gst_xml_get_element):
9188 Chain up to parent class in dispose function and also
9189 unref the elements in the toplevel_elements GList.
9190 Don't leak XmlDocPtr in _parse_file() and _parse_memory().
9191 Always return a reference in gst_xml_get_element() rather
9192 than only sometimes.
9194 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
9195 Don't leak GstXml object.
9197 2006-08-21 Stefan Kost <ensonic@users.sf.net>
9199 * docs/gst/gstreamer-sections.txt:
9200 * gst/gstcaps.c: (gst_structure_is_equal_foreach),
9203 * libs/gst/base/gstbasetransform.c:
9204 (gst_base_transform_transform_caps):
9205 API: Add gst_caps_merge() and use it in basetransform, fixes #345444
9208 2006-08-21 Edward Hervey <edward@fluendo.com>
9210 * gst/gstxml.c: (gst_xml_class_init), (gst_xml_dispose):
9211 Implement GObject::dispose virtual method in GstXML so we can free the
9214 2006-08-21 Wim Taymans <wim@fluendo.com>
9216 * gst/gstbuffer.c: (gst_buffer_make_metadata_writable),
9217 (gst_buffer_create_sub):
9218 Copy duration/offset_end/caps when creating a subbuffer of the
9220 Make the subbuffer read-only when we make the metadata writable for
9223 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
9224 Added check for metadata copy when creating subbuffers.
9226 2006-08-21 Edward Hervey <edward@fluendo.com>
9228 * libs/gst/base/gstbasetransform.c:
9229 (gst_base_transform_buffer_alloc):
9230 Only call downstream buffer_alloc if transform element is passthrough
9231 or always_in_place. Closes #350449.
9233 2006-08-20 Stefan Kost <ensonic@users.sf.net>
9236 ChangeLog surgery to add comments to previous changes
9238 2006-08-20 Stefan Kost <ensonic@users.sf.net>
9243 * gst/gstpad.c: (gst_pad_set_active):
9244 Be more verbose in the log
9246 * libs/gst/base/gstbasetransform.c:
9247 (gst_base_transform_transform_caps):
9248 Simplify caps to get rid of duplicates, fixes #345444
9250 2006-08-20 Stefan Kost <ensonic@users.sf.net>
9254 Use these optimizations only internally.
9256 2006-08-20 Stefan Kost <ensonic@users.sf.net>
9258 * gst/gstvalue.c: (gst_value_compare_list),
9259 (gst_value_compare_fraction_range),
9260 (gst_value_intersect_fraction_fraction_range),
9261 (gst_value_intersect_fraction_range_fraction_range),
9262 (gst_value_subtract_fraction_fraction_range),
9263 (gst_value_subtract_fraction_range_fraction_range),
9264 (gst_value_get_compare_func), (gst_value_compare),
9265 (gst_value_compare_with_func):
9267 Saves the expensive lookup of the compare function in many cases
9270 2006-08-18 Edward Hervey <edward@fluendo.com>
9272 * tests/check/gst/gstinfo.c: (gst_info_suite):
9273 Disable test that require gstdebug if it wasn't built in core.
9275 2006-08-18 Stefan Kost <ensonic@users.sf.net>
9277 * docs/random/ensonic/logging.txt:
9280 * gst/gstinfo.c: (gst_debug_log_default):
9281 reorder fields, save some columns, add optional color codes for log
9284 2006-08-18 Stefan Kost <ensonic@users.sf.net>
9286 * docs/random/ensonic/logging.txt:
9287 add ideas about making the logs a bit more useful
9289 2006-08-17 Tim-Philipp Müller <tim at centricular dot net>
9291 * docs/pwg/advanced-events.xml:
9292 * docs/pwg/titlepage.xml:
9293 Update for 0.10 API (#340627). Add myself
9296 2006-08-17 Tim-Philipp Müller <tim at centricular dot net>
9298 * docs/libs/gstreamer-libs-docs.sgml:
9299 * docs/libs/gstreamer-libs-sections.txt:
9300 * libs/gst/check/gstbufferstraw.c:
9301 Make gstcheck stuff show up in docs (still needs to
9302 be documented properly though).
9304 2006-08-16 Jan Schmidt <thaytan@mad.scientist.com>
9306 * docs/gst/gstreamer-sections.txt:
9308 * gst/gst.c: (init_post):
9309 * gst/gst_private.h:
9310 * gst/gstquark.c: (_priv_gst_quarks_initialize):
9312 * gst/gstquery.c: (gst_query_new_position),
9313 (gst_query_set_position), (gst_query_parse_position),
9314 (gst_query_new_duration), (gst_query_set_duration),
9315 (gst_query_parse_duration), (gst_query_new_convert),
9316 (gst_query_set_convert), (gst_query_parse_convert),
9317 (gst_query_new_segment), (gst_query_set_segment),
9318 (gst_query_parse_segment), (gst_query_new_seeking),
9319 (gst_query_set_seeking), (gst_query_parse_seeking):
9320 Add internal helpers for pre-registering quarks from static strings
9321 and using the quark values directly instead of looking them up when
9322 creating and parsing queries. Can be used for event construction too.
9325 2006-08-16 Wim Taymans <wim@fluendo.com>
9330 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
9332 * gst/gstutils.c: (gst_util_set_value_from_string):
9333 Fix memleak (#351502).
9335 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
9336 Add unit test for most of gst_util_set_value_from_string()
9337 (not that one would want to encourage use of this function).
9339 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
9341 * libs/gst/check/gstcheck.h:
9342 Use const gchar * variables in fail_unless_equals_string
9343 macro to avoid compiler warnings (and don't use tabs for
9346 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
9348 * tools/gst-launch.c: (print_tag):
9349 More space on the left for the tag names, to cater
9350 for the 'extended comment' tag (not touching the
9351 string for the first line since it's translated).
9353 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
9355 * libs/gst/check/gstcheck.h:
9356 Fix ASSERT_CRITICAL and ASSERT_WARNING macros to actually
9357 print something when they fail.
9359 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
9361 * docs/gst/gstreamer-sections.txt:
9362 * gst/gsttaglist.c: (_gst_tag_initialize):
9364 API: add GST_TAG_EXTENDED_COMMENT (#350935).
9365 Also change merge function for GST_TAG_COMMENT to
9368 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
9370 * gst/gstinfo.c: (gst_debug_print_object):
9371 Make GST_PTR_FORMAT print messages as well.
9373 * tests/check/gst/gstinfo.c: (printf_extension_log_func),
9374 (GST_START_TEST), (gst_info_suite):
9377 2006-08-14 Edward Hervey <edward@fluendo.com>
9379 * gst/gstelementfactory.c: (gst_element_register):
9380 If the GstElementClass doesn't have a GstElementDetails with all fields
9381 filled up correctly (longname, description AND author), then error out
9382 nicely instead of crashing.
9384 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
9386 * gst/gststructure.c:
9387 Fix typo in docs and re-wrap docs blurb to not exceed 80 chars/line.
9390 Expand on the difference between arrays and lists as we use them.
9392 2006-08-14 Wim Taymans <wim@fluendo.com>
9394 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
9395 If the parent state change function failed, don't assume we can safely
9396 stop the source, this will be done when the pads are deactivated.
9398 2006-08-14 Wim Taymans <wim@fluendo.com>
9401 * gst/gsttask.c: (gst_task_join):
9404 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
9405 (gst_pad_stop_task):
9406 When pad (de)activation failed for some reason, restore the old
9407 activation mode and set the pad to flushing instead of assuming the
9409 If the _task_join() failed, reinstall the task on the pad so that it can
9410 be stopped later and return an error.
9412 2006-08-11 Andy Wingo <wingo@pobox.com>
9415 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
9416 * tests/check/libs/gdp.c: (gst_dp_suite): GST_DISABLE_DEPRECATED
9417 is only for users of API that don't want to see deprecated
9418 functions in the headers; people that want to compile out
9419 deprecated code should pass -DGST_REMOVE_DEPRECATED into the
9420 CFLAGS. Fixes the build of multifdsink, or will soon..
9422 2006-08-11 Wim Taymans <wim@fluendo.com>
9424 * docs/gst/gstreamer-sections.txt:
9425 Add GstClockClass vmethod docs.
9428 Mark #endif with comment for associated #if
9430 * gst/gstclock.c: (gst_clock_id_wait):
9432 Add vmethod wait_jitter to avoid an unneeded _get_time() for
9433 most clock implementations.
9435 Flesh out docs about resolution methods.
9436 API: GstClockClass::wait_jitter
9438 * gst/gstsystemclock.c: (gst_system_clock_class_init),
9439 (gst_system_clock_async_thread),
9440 (gst_system_clock_id_wait_jitter_unlocked),
9441 (gst_system_clock_id_wait_jitter):
9442 Use base class wait_jitter variant for improved performance
9443 due to less clock polling.
9445 2006-08-11 Edward Hervey <edward@fluendo.com>
9447 * gst/gst.c: (gst_init_check), (init_post):
9448 Set gst as being initialized before scanning/updating the registry,
9449 since there might be my python plugin loader that calls gst_init() and
9450 we don't want to loop back in.
9453 2006-08-11 Wim Taymans <wim@fluendo.com>
9455 * docs/design/part-qos.txt:
9456 Bring docs in line with the code. Mostly the sign of the jitter was
9457 wrong in the docs. Fixes #349943.
9460 Fix the docs for the jitter.
9462 * gst/gstevent.c: (gst_event_new_custom), (gst_event_new_tag),
9463 (gst_event_parse_tag), (gst_event_new_buffer_size),
9464 (gst_event_parse_buffer_size), (gst_event_parse_qos),
9465 (gst_event_new_seek), (gst_event_parse_seek),
9466 (gst_event_new_navigation):
9467 Make sure the GstStructure has no parent when creating custom
9469 Add some more argument checking so that we avoid 0.0 rates.
9470 Flesh out the docs for the QoS event some more.
9472 2006-08-11 Wim Taymans <wim@fluendo.com>
9474 * docs/gst/gstreamer-sections.txt:
9475 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
9476 (ensure_current_registry_forking), (ensure_current_registry),
9477 (parse_one_option), (parse_goption_arg), (gst_deinit),
9478 (gst_registry_fork_is_enabled), (gst_registry_fork_set_enabled):
9481 Added API and command line option to disable registry forking in
9482 addition to the environment variable.
9483 Constify some static arrays.
9484 Added some more debug.
9486 API: gst_registry_fork_is_enabled()
9487 API: gst_registry_fork_set_enabled()
9488 API: --gst-disable-registry-fork command line option
9491 2006-08-11 Tim-Philipp Müller <tim at centricular dot net>
9493 * gst/gst.c: (gst_init):
9494 Fix typo in error message.
9496 2006-08-10 Stefan Kost <ensonic@users.sf.net>
9498 * libs/gst/controller/gstcontroller.h:
9499 fix ABI size-correction
9501 * tests/check/libs/gdp.c: (gst_dp_suite):
9502 make tests that use deprecated API conditional
9504 2006-08-10 Stefan Kost <ensonic@users.sf.net>
9506 * docs/libs/gstreamer-libs-sections.txt:
9507 * libs/gst/controller/gstcontroller.c:
9508 (_gst_controller_get_property), (_gst_controller_set_property),
9509 (_gst_controller_init), (_gst_controller_class_init):
9510 * libs/gst/controller/gstcontroller.h:
9511 * libs/gst/controller/gsthelper.c: (gst_object_get_control_rate),
9512 (gst_object_set_control_rate):
9513 API: add gst_object_{s,g}et_control_rate(), add private data section,
9516 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
9517 * libs/gst/dataprotocol/dataprotocol.h:
9518 add deprecation guards to make gtk-doc happy and allow disabling cruft
9520 2006-08-09 Tim-Philipp Müller <tim at centricular dot net>
9522 * tests/check/Makefile.am:
9523 * tests/check/gst/.cvsignore:
9524 Let's enable the new unit test as well.
9526 2006-08-08 Tim-Philipp Müller <tim at centricular dot net>
9529 * docs/gst/gstreamer-sections.txt:
9530 * gst/gstconfig.h.in:
9531 * gst/gstinfo.c: (_gst_debug_init), (gst_debug_print_segment),
9532 (_gst_info_printf_extension_ptr),
9533 (_gst_info_printf_extension_segment):
9534 API: add GST_SEGMENT_FORMAT, which is a printf extension we
9535 register that lets us easily dump GstSegments into debug
9538 * tests/check/gst/gstinfo.c: (segment_printf_extension_log_func),
9539 (info_segment_format_printf_extension), (gst_info_suite):
9540 Add simple unit test that logs a bunch of different segments (not
9541 valgrinded at the moment because of leaks in
9542 gst_debug_add_log_function).
9544 2006-08-09 Edward Hervey <edward@fluendo.com>
9546 * libs/gst/base/gstbasetransform.c:
9547 (gst_base_transform_buffer_alloc):
9548 Even if we can't figure out the proper format to request downstream,
9549 call buffer_alloc() downstream with the input parameters without setting
9550 the caps on the srcpad. This will force negotiation in the chain
9554 2006-08-08 Edward Hervey <edward@fluendo.com>
9556 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
9557 Unlinking from a pad without a target is now a perfectly valid case
9558 which should NOT raise an assertion.
9559 This case would happen if a linked ghostpad its target set to NULL after
9560 it was previously linked.
9562 2006-08-08 Edward Hervey <edward@fluendo.com>
9564 * tests/check/libs/gdp.c:
9565 Also comment out the test (see below).
9567 2006-08-08 Edward Hervey <edward@fluendo.com>
9569 * tests/check/libs/gdp.c: (gst_dp_suite):
9570 Use the architecture information from config.h and not gcc macros
9571 in order to properly disable a test that fails on PPC64.
9573 2006-08-04 Tim-Philipp Müller <tim at centricular dot net>
9575 * gst/gstelement.c: (gst_element_remove_pad):
9576 Don't crash printing the warning if the pad has no parent.
9578 2006-08-02 Wim Taymans <wim@fluendo.com>
9580 * libs/gst/dataprotocol/dataprotocol.c:
9581 (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
9582 (gst_dp_crc), (gst_dp_header_payload_length),
9583 (gst_dp_header_payload_type), (gst_dp_packet_from_event),
9584 (gst_dp_packet_from_event_1_0), (gst_dp_buffer_from_header),
9585 (gst_dp_caps_from_packet), (gst_dp_event_from_packet_0_2),
9586 (gst_dp_event_from_packet), (gst_dp_validate_header),
9587 (gst_dp_validate_payload):
9588 Make debug category static
9589 Constify the crc table.
9590 Do some more arg checking in public functions.
9591 Fix some docs and do some small cleanups.
9593 * tests/check/libs/gdp.c: (GST_START_TEST), (gst_dp_suite):
9594 Add some more checks to see if GDP deals with bogus input.
9596 2006-07-31 Wim Taymans <wim@fluendo.com>
9598 * gst/gstvalue.c: (gst_value_compare_list):
9599 Fix GstValueList comparison code. Fixes #347293.
9601 * tests/check/gst/gstvalue.c: (GST_START_TEST):
9602 Check to test GstValueList comparison.
9604 2006-07-31 Jan Schmidt <thaytan@mad.scientist.com>
9606 * gst/gstelementfactory.c: (gst_element_factory_create):
9607 Remove unnecessary ref/unref pair
9609 * gst/parse/grammar.y:
9610 Make sure to free the parse buffer on all code paths.
9611 Move a g_free up to the error handler where it's easier to see.
9613 * tests/check/gst/gstevent.c: (test_event):
9614 Extending timeout for downstream travelling events to 10 seconds to
9615 hopefully avoid intermittent failure on the buildbots.
9617 * tests/check/pipelines/parse-launch.c: (run_delayed_test):
9618 Don't manually set the state of the src element - it will happen as a
9619 natural consequence of the pipeline changing state, and that way it
9620 will do it in the right order too.
9622 2006-07-31 Wim Taymans <wim@fluendo.com>
9624 * libs/gst/base/gstbasetransform.c:
9625 (gst_base_transform_buffer_alloc):
9626 Use OBJECT_LOCK and refcounting to get the pad caps in the
9627 buffer_alloc function because the caps could change while we are
9628 busy with them. Fixes #349105
9630 2006-07-31 Wim Taymans <wim@fluendo.com>
9632 * gst/gstutils.c: (gst_pad_get_fixed_caps_func):
9633 Protect _PAD_CAPS with OBJECT_LOCK.
9635 2006-07-31 Wim Taymans <wim@fluendo.com>
9637 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
9638 (gst_pad_get_property), (gst_pad_activate_pull),
9639 (gst_pad_activate_push), (gst_pad_set_blocked_async),
9640 (gst_pad_set_activate_function),
9641 (gst_pad_set_activatepull_function),
9642 (gst_pad_set_activatepush_function), (gst_pad_set_chain_function),
9643 (gst_pad_set_getrange_function),
9644 (gst_pad_set_checkgetrange_function), (gst_pad_set_event_function),
9645 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
9646 (gst_pad_set_internal_link_function), (gst_pad_set_link_function),
9647 (gst_pad_set_unlink_function), (gst_pad_set_getcaps_function),
9648 (gst_pad_set_acceptcaps_function),
9649 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
9650 (gst_pad_set_bufferalloc_function), (gst_pad_link_check_hierarchy),
9651 (gst_pad_get_caps_unlocked), (gst_pad_get_caps),
9652 (gst_pad_peer_get_caps), (gst_pad_accept_caps),
9653 (gst_pad_peer_accept_caps), (gst_pad_set_caps),
9654 (gst_pad_configure_sink), (gst_pad_configure_src),
9655 (gst_pad_get_allowed_caps), (gst_pad_get_negotiated_caps),
9656 (gst_pad_buffer_alloc_unchecked), (gst_pad_alloc_buffer_full),
9657 (gst_pad_query), (gst_pad_load_and_link), (handle_pad_block),
9658 (gst_pad_chain_unchecked), (gst_pad_push), (gst_pad_get_range),
9659 (gst_pad_send_event):
9660 Use _DEBUG_OBJECT when it makes sense.
9661 Protect GST_PAD_CAPS with the OBJECT_LOCK.
9662 Small cleanups and code reflows.
9663 Avoid caps refcounting in _accept_caps.
9664 Refactor alloc_buffer so that the code performed on the peer is in a
9665 separate function. Also if the pad does not implement a buffer alloc
9666 function, we should still check if the pad is flushing before falling
9667 back to the default allocator.
9669 2006-07-31 Jan Schmidt <thaytan@mad.scientist.com>
9671 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
9672 Make all uses of identity and fakesink have silent=true to avoid
9673 serialising every passing data structure, which is breaking tests
9674 on FC4 for some unknown reason.
9676 2006-07-30 Stefan Kost <ensonic@users.sf.net>
9678 * gst/parse/Makefile.am:
9679 * gst/parse/grammar.y:
9680 * gst/parse/parse.l:
9681 Reverted previous patch as it required to bump the flex dependency to
9682 2.5.31, where fc4/5 seem to ship only the ancient 2.5.4a :(
9684 2006-07-30 Stefan Kost <ensonic@users.sf.net>
9686 Patch by: Marc-Andre Lureau <marcandre.lureau@gmail.com>
9688 * gst/parse/Makefile.am:
9689 * gst/parse/grammar.y:
9690 * gst/parse/parse.l:
9691 push & pop the state of the lexer for reentrant use case
9694 2006-07-29 Tim-Philipp Müller <tim at centricular dot net>
9696 * libs/gst/base/gstbasesrc.h:
9697 Note in the docs that the ::newsegment vfunc is not actually used by
9700 2006-07-28 Wim Taymans <wim@fluendo.com>
9702 * libs/gst/base/gstcollectpads.c:
9703 (gst_collect_pads_set_flushing_unlocked), (gst_collect_pads_pop),
9704 (gst_collect_pads_clear), (gst_collect_pads_flush),
9705 (gst_collect_pads_event), (gst_collect_pads_chain):
9706 When flushing a pad, also clear the queued buffer so that we don't
9707 accidentally use it when we shouldn't.
9708 Fix leaks by inreffing incomming buffer.
9709 Flush out queued buffers in case of errors.
9712 2006-07-28 Wim Taymans <wim@fluendo.com>
9714 * docs/random/phonon-gst:
9715 Random notes about a Phonon backend.
9717 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
9719 * libs/gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
9721 * tests/check/libs/gdp.c: (gst_dp_suite):
9722 Take a whack at fixing the ppc compile using a different define to
9723 disable the broken test.
9725 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
9726 Remove excess g_print()
9728 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
9730 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
9731 Oops, meant to uncomment this line too to dampen the noise a bit.
9733 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
9735 * gst/parse/grammar.y:
9736 * gst/parse/parse.l:
9737 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
9738 (GST_START_TEST), (parse_suite):
9739 Fix some of the leaks exposed by extending the parse-launch testsuite,
9740 and move the 3 I can't figure out into a separate test that won't run
9741 the pipelines unless the appropriate line is uncommented.
9743 2006-07-27 Tim-Philipp Müller <tim at centricular dot net>
9745 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
9746 Requesting 0 bytes before the end of the file should result in
9747 FLOW_OK and an empty buffer, not FLOW_UNEXPECTED. Thank you
9750 2006-07-27 Wim Taymans <wim@fluendo.com>
9752 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_get_structure):
9753 Fix useless assert, a uint is always positive.
9755 * gst/gststructure.c: (gst_structure_nth_field_name),
9756 (gst_structure_foreach), (gst_structure_map_in_place):
9757 Check input arguments for public functions to avoid obvious crashes.
9759 * plugins/elements/gstfakesink.c: (gst_fake_sink_render):
9760 * plugins/elements/gstfakesink.h:
9761 Do less useless typechecking.
9763 2006-07-27 Tim-Philipp Müller <tim at centricular dot net>
9765 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
9766 Do not use mmap() by default since there are a number of error
9767 conditions that we would like to handle in a non-fatal way that
9768 will result in a SIGBUS if we use mmap(). Examples: external
9769 devices (USB harddrive, portable music player) being unplugged
9770 while in use; file on mounted CD/DVD that can't be read because
9771 the medium is partly damaged. Fixes #348455 and #348475.
9773 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
9776 Delete unused and misleading define of GST_QUERY_TYPE_RATE_DEN -
9779 2006-07-26 Stefan Kost <ensonic@users.sf.net>
9781 * gst/gstregistry.c:
9782 Move big documentation comment into class section header, so that it
9783 appears in the API docs.
9785 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
9787 * docs/gst/gstreamer-sections.txt:
9788 Oops. Commit the docs additions too for new API.
9789 Also, remove the mention of the non-existent GST_QUERY_TYPE_RATE_DEN
9791 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
9793 * gst/gststructure.c: (gst_structure_id_set),
9794 (gst_structure_id_set_valist):
9795 * gst/gststructure.h:
9796 Add API for setting values into structures without performing
9797 a quark lookup, if the appropriate quark is already known.
9799 API: gst_structure_id_set
9800 API: gst_structure_id_set_valist
9802 * gst/parse/grammar.y:
9803 * gst/parse/parse.l:
9804 Remove some dead code shown by the coverage information.
9805 Don't throw a critical g_warning when encountering a syntax error,
9806 just warn and let the normal error path handle it.
9808 * plugins/elements/gstelements.c:
9809 Bump the rank of filesink up to PRIMARY so that it is preferred over
9810 gnomevfssink for file:// sink uri's
9812 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
9813 (GST_START_TEST), (run_delayed_test),
9814 (gst_parse_test_element_base_init),
9815 (gst_parse_test_element_class_init), (gst_parse_test_element_init),
9816 (gst_parse_test_element_change_state),
9817 (gst_register_parse_element), (parse_suite):
9818 Beef up the tests for parse syntax to check that more error cases
9819 fail as they are supposed to. Increases the test coverage a bit.
9821 2006-07-26 Tim-Philipp Müller <tim at centricular dot net>
9823 * docs/manual/basics-elements.xml:
9824 Fix gst_element_link() example.
9827 Mention in API docs that one should usually gst_bin_add()
9828 elements to a bin or pipeline before doing the linking.
9830 2006-07-26 Wim Taymans <wim@fluendo.com>
9832 * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_new),
9833 (gst_subbuffer_get_type), (gst_buffer_create_sub):
9834 Avoid function call for known types by keeping the buffer and
9835 subbuffer GType global.
9837 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
9838 Random silly optimisations in read() path.
9840 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
9842 * tools/gst-launch.c: (main):
9843 If the top-level of the parse is a normal bin, it doesn't do the
9844 right logic to run as a top-level element, so place it inside a
9847 2006-07-25 Tim-Philipp Müller <tim at centricular dot net>
9849 * plugins/elements/gstfilesrc.c: (gst_file_src_set_property):
9850 Remove superfluous g_object_notify() calls, GObject does
9851 that for us automatically.
9853 2006-07-25 Stefan Kost <ensonic@users.sf.net>
9856 on Win32, use dllspec to export the debug category symbols
9858 2006-07-24 Tim-Philipp Müller <tim at centricular dot net>
9860 * gst/gsttaglist.c: (_gst_tag_initialize):
9861 Allow more than one GST_TAG_IMAGE per taglist.
9863 2006-07-24 Thomas Vander Stichele <thomas at apestaart dot org>
9865 * gst/gstminiobject.c:
9867 * plugins/elements/gstfdsrc.c: (gst_fd_src_set_property),
9868 (gst_fd_src_create):
9869 log recurring events at LOG level
9870 add more debug for when the fd gets set
9872 2006-07-21 Stefan Kost <ensonic@users.sf.net>
9874 * gst/gstparse.c: (gst_parse_launch):
9875 Also remove reentrance checks if flex is MT safe (#348179)
9876 Fix my empty ChangeLog entry below
9878 2006-07-21 Andy Wingo <wingo@pobox.com>
9880 * docs/libs/gstreamer-libs-sections.txt: Attempt to pacify buildbot.
9882 * libs/gst/check/Makefile.am
9883 (libgstcheck_@GST_MAJORMINOR@include_HEADERS)
9884 (libgstcheck_@GST_MAJORMINOR@_la_SOURCES):
9885 * libs/gst/check/gstbufferstraw.h:
9886 * libs/gst/check/gstbufferstraw.c: Add some new hype testing
9887 functions, thus proving I am still a GStreamer haxor. OK I wrote
9888 them a long time ago, but anyways.
9890 2006-07-21 Stefan Kost <ensonic@users.sf.net>
9893 * gst/gstparse.c: (gst_parse_launch):
9894 Check for flex version and omit mutex if we have a MT save flex
9897 2006-07-21 Wim Taymans <wim@fluendo.com>
9899 * gst/gstparse.c: (gst_parse_launch):
9900 Protect recursive calls to _parse with a recursive mutex
9903 2006-07-21 Wim Taymans <wim@fluendo.com>
9905 * tests/check/gst/gstpad.c: (GST_START_TEST):
9908 2006-07-20 Stefan Kost <ensonic@users.sf.net>
9910 * gst/gstparse.c: (gst_parse_launch):
9911 Do not hang on recursive usage of gst_parse_launch()
9913 2006-07-20 Tim-Philipp Müller <tim at centricular dot net>
9916 Add some more docs, comments and FIXME 0.11s here and there
9917 and also fix some typos.
9919 2006-07-20 Tim-Philipp Müller <tim at centricular dot net>
9922 Convert tabs to spaces for better readability.
9924 2006-07-20 Edward Hervey <edward@fluendo.com>
9926 * tests/check/libs/gdp.c: (gst_dp_suite):
9927 the test_buffer test fails at line 140 on ppc64 at the following
9929 fail_unless (GST_BUFFER_FLAG_IS_SET (newbuffer,
9930 GST_BUFFER_FLAG_IN_CAPS),
9931 "GST_BUFFER_IN_CAPS flag should have been copied !");
9932 See bug #348114 for more details.
9934 2006-07-19 Tim-Philipp Müller <tim at centricular dot net>
9936 * docs/pwg/advanced-scheduling.xml:
9938 Fix typos (#348000).
9940 2006-07-18 Tim-Philipp Müller <tim at centricular dot net>
9942 * docs/pwg/intro-basics.xml:
9943 Fix wrong links (#347927).
9945 2006-07-18 Stefan Kost <ensonic@users.sf.net>
9947 * gst/gstregistry.h:
9948 * gst/gstregistryxml.c: (load_feature),
9949 (gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
9950 * win32/common/config.h:
9951 make --disable-index work (#342564)
9953 2006-07-18 Wim Taymans <wim@fluendo.com>
9955 Patch by: Peter Kjellerstedt <pkj at axis dot com>
9959 The attached patch adds two missing defines to gsttrace.h when tracing
9960 is disabled. It also corrects one existing define.
9963 2006-07-17 Wim Taymans <wim@fluendo.com>
9965 * docs/gst/gstreamer-sections.txt:
9966 * gst/gst.c: (gst_segtrap_is_enabled), (gst_segtrap_set_enabled):
9968 * gst/gstplugin.c: (_gst_plugin_fault_handler_restore):
9969 Add two functions to check and change the SIGSEGV behaviour
9970 when loading plugins.
9971 Don't mess with the SIGSEGV handler when we were told not to.
9973 API: gst_segtrap_is_enabled
9974 API: gst_segtrap_set_enabled
9976 2006-07-14 Wim Taymans <wim@fluendo.com>
9978 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
9979 * tests/check/elements/filesrc.c: (GST_START_TEST):
9980 Revert fix for regression in #347408 after release.
9982 2006-07-14 Tim-Philipp Müller <tim at centricular dot net>
9984 Patch by: Antoine Tremblay <hexa00 at gmail com>
9986 * gst/gstutils.c: (gst_element_unlink):
9987 Free iterator when done (#347311).
9989 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
9990 And add a test case for this.
9992 2006-07-14 Jan Schmidt <thaytan@mad.scientist.com>
9995 Bump nano back to CVS
9997 === release 0.10.9 ===
9999 2006-07-13 Jan Schmidt <thaytan@mad.scientist.com>
10002 releasing 0.10.9, "On the road again"
10004 2006-07-13 Wim Taymans <wim@fluendo.com>
10006 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
10007 * tests/check/elements/filesrc.c: (GST_START_TEST):
10008 Revert pull-0 fix for release. Disable check. Fixes #347408.
10010 2006-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
10012 * libs/gst/dataprotocol/dataprotocol.c:
10013 (gst_dp_event_from_packet_1_0):
10014 Fixes #347337: failure to deserialize event packets with
10015 empty payload (only event type)
10017 2006-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
10020 do not install a .c file in the header directory
10022 2006-07-13 Edward Hervey <edward@fluendo.com>
10024 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
10025 GhostPad no longer implicitely use the padtemplates of the targets.
10028 2006-07-11 Jan Schmidt <thaytan@mad.scientist.com>
10030 * gst/gstvalue.c: (gst_value_compare_list),
10031 (gst_value_compare_array), (_gst_value_initialize):
10032 * tests/check/gst/gstvalue.c: (GST_START_TEST):
10033 Make GstValueArray comparison be order dependent as designed.
10034 Add checks for value lists and value array comparisons.
10037 2006-07-11 Edward Hervey <edward@fluendo.com>
10039 * gst/gstbin.c: (activate_pads),
10040 (iterator_activate_fold_with_resync), (gst_bin_src_pads_activate),
10041 (gst_bin_change_state_func):
10042 (de)activate src pads before calling state_change on the childs.
10043 This is to avoid the case where a src ghostpad is blocked (holding the
10044 stream lock), which would block the deactivation of the ghostpad's
10046 * gst/gstghostpad.c: (gst_proxy_pad_do_query_type),
10047 (gst_proxy_pad_do_event), (gst_proxy_pad_do_query),
10048 (gst_proxy_pad_do_internal_link), (gst_proxy_pad_do_bufferalloc),
10049 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
10050 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
10051 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
10052 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
10053 (gst_proxy_pad_set_target), (gst_proxy_pad_get_internal),
10054 (gst_proxy_pad_dispose), (gst_proxy_pad_init),
10055 (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
10056 (gst_ghost_pad_class_init),
10057 (gst_ghost_pad_internal_do_activate_push),
10058 (gst_ghost_pad_internal_do_activate_pull),
10059 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
10060 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
10061 (gst_ghost_pad_dispose), (gst_ghost_pad_new_no_target),
10062 (gst_ghost_pad_new), (gst_ghost_pad_set_target):
10063 GhostPads now create their internal GstProxyPad at creation (and not
10064 when they're linked, as it was being done previously).
10065 The internal and target pads are linked straight away.
10066 The data will also travel through the other pad in order to make
10067 pad blocking and probes non-hackish (the probe/block now really happens
10068 on the GhostPad and not on the target).
10069 * gst/gstpad.c: (gst_pad_set_blocked_async),
10070 (gst_pad_link_prepare), (gst_pad_push_event):
10071 Remove previous ghostpad cruft.
10072 * gst/gstutils.c: (gst_pad_add_data_probe),
10073 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
10074 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
10075 (gst_pad_remove_buffer_probe):
10076 Remove previous ghost pad cruft.
10077 Added more detailed debug statements.
10078 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
10079 Fix the testsuite for refcounting changes.
10080 The comments about who has references were correct, but the refcount
10081 being checked wasn't the same (!?!).
10085 2006-07-10 Stefan Kost <ensonic@users.sf.net>
10087 * docs/gst/gstreamer-sections.txt:
10088 * gst/gstconfig.h.in:
10089 More docs for configuration options, add docs to gtk-doc.
10091 2006-07-10 Stefan Kost <ensonic@users.sf.net>
10094 * gst/gstconfig.h.in:
10095 * win32/common/config.h:
10096 Fix build when disabling tracing (fixes #344016). Also start to document
10097 the defines that disable the sub-systems.
10099 2006-07-10 Edward Hervey <edward@fluendo.com>
10101 * gst/gst.c: (ensure_current_registry_forking):
10102 let's make valgrind happy...
10104 2006-07-09 Wim Taymans <wim@fluendo.com>
10106 * gst/gstelement.c: (activate_pads),
10107 (iterator_activate_fold_with_resync), (gst_element_pads_activate):
10108 Better pad activation code: Reset the collect value too on resync.
10111 2006-07-09 Wim Taymans <wim@fluendo.com>
10113 * gst/gstpad.c: (gst_pad_init), (gst_pad_activate_pull),
10114 (gst_pad_activate_push):
10115 Use some more macros where it makes sense.
10116 Allow pad mode switching instead of asserting. When a pad
10117 is activated in one mode and we activate it in another,
10118 deactivate it first before activating it in a different mode.
10121 2006-07-08 Andy Wingo <wingo@pobox.com>
10123 * tools/gst-launch.c (main): Handle err == NULL.
10125 * gst/gst.c (init_post, ensure_current_registry)
10126 (ensure_current_registry_forking)
10127 (ensure_current_registry_nonforking): Reduce #ifdef ratnest by
10128 factoring out the registry scanning into separate functions. Don't
10129 fork for the rescan is GST_REGISTRY_FORK=no; useful in debugging.
10130 Better environment var name/interface suggestions accepted.
10132 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
10134 * gst/gstobject.c: (gst_object_set_name_default),
10135 (gst_object_set_name):
10136 Random micro-optimisation: don't use a hash table
10137 with strings as keys and the usual strdup/strcmp
10138 involved, but rather just use the GQuark of the
10139 type name as key, since it needs to be looked up
10140 anyway to get the type name string.
10142 * tests/check/gst/gstobject.c: (GST_START_TEST):
10145 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
10147 * gst/gstbin.c: (compare_interface), (gst_bin_get_by_interface),
10148 (gst_bin_iterate_all_by_interface):
10149 Can't use GPOINTER_TO_INT and GINT_TO_POINTER with GTypes.
10150 GTypes are gulongs and thus the top 4 bytes might be cut
10151 off on some platforms when doing GPOINTER_TO_INT, leading
10152 to invalid GTypes and bad things happening (see RH bug #179654).
10153 Also add a check to make sure the type passed in is really
10156 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
10161 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
10165 * gst-element-check.m4:
10166 * gst-element-check.m4.in:
10167 Make gst-element-check-$VERSION.m4 call gst-inspect-$VERSION
10168 instead of the unversioned gst-inspect (#324176, #168659).
10170 2006-07-06 Wim Taymans <wim@fluendo.com>
10172 * gst/gstmessage.h:
10173 Use a valid int for the _MESSAGE_ANY enum value to avoid compiler
10176 2006-07-06 Wim Taymans <wim@fluendo.com>
10178 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
10179 (gst_base_src_wait), (gst_base_src_update_length),
10180 (gst_base_src_get_range), (gst_base_src_default_check_get_range),
10181 (gst_base_src_check_get_range), (gst_base_src_pad_check_get_range),
10182 (gst_base_src_loop), (gst_base_src_start),
10183 (gst_base_src_activate_pull):
10185 blocksize == 0 now means the default blocksize when working in push
10187 Remove some pointless asserts in _wait function.
10188 Fix offset/length calculations and EOS handling. We can now pull 0
10189 bytes as well, which is allowed.
10190 use _check_get_range() to decide if we can operate in _pull based
10192 Fix refcounting leak when check_get_range function was not
10194 API GstBaseSrc::blocksize range can be 0 too now (default)
10196 * tests/check/elements/filesrc.c: (GST_START_TEST),
10198 Added check to test _get_range() behaviour.
10200 2006-07-06 Wim Taymans <wim@fluendo.com>
10202 * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
10203 (gst_pad_push), (gst_pad_check_pull_range), (gst_pad_get_range),
10204 (gst_pad_pull_range):
10206 Lots of comments and docs added to the pad functions.
10207 Flesh out the expected behaviour of the get_range() functions.
10209 2006-07-06 Wim Taymans <wim@fluendo.com>
10214 * gst/gstiterator.h:
10218 Remove comma at end of enumerator list.
10220 2006-07-05 Sebastien Moutte <sebastien@moutte.net>
10222 * win32/common/libgstbase.def:
10223 * win32/common/libgstdataprotocol.def:
10224 * win32/common/libsgtreamer.def:
10225 Add new exported functions.
10227 2006-07-05 Wim Taymans <wim@fluendo.com>
10229 * libs/gst/base/gstpushsrc.c: (gst_push_src_check_get_range):
10230 Add some more docs here and there.
10232 2006-07-05 Wim Taymans <wim@fluendo.com>
10234 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_object),
10235 (gst_base_sink_loop), (gst_base_sink_get_position):
10236 When operating in pull mode update the offset so that we
10239 2006-07-05 Wim Taymans <wim@fluendo.com>
10241 * gst/gstregistryxml.c: (read_string):
10242 Avoid strdup. (will happen in libxml, but hey!)
10245 Add some more docs.
10247 2006-07-05 Wim Taymans <wim@fluendo.com>
10249 * gst/gstbuffer.c: (_gst_buffer_copy), (gst_buffer_create_sub):
10250 * tests/check/gst/gstbuffer.c: (GST_START_TEST),
10251 (gst_buffer_suite):
10252 No point in checking if the size of the subbuffer > 0, the
10253 code handles it correclty as demonstrated by unit test.
10254 Also add a unit test for the zero sized _new_and_alloc and
10255 _copy. Fixes #346663.
10257 2006-07-05 Wim Taymans <wim@fluendo.com>
10259 * libs/gst/base/gstbasetransform.c:
10260 (gst_base_transform_prepare_output_buffer),
10261 (gst_base_transform_buffer_alloc),
10262 (gst_base_transform_handle_buffer):
10263 Make sure the buffer we pass to transform_ip has a refcount of
10264 1 and thus is writable. Fixes #343196
10266 2006-07-04 Jan Schmidt <thaytan@mad.scientist.com>
10268 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
10269 (gst_file_src_init), (gst_file_src_set_property),
10270 (gst_file_src_get_property), (gst_file_src_map_region):
10271 * plugins/elements/gstfilesrc.h:
10272 Add "sequential" property, off by default, to use madvise and hint
10273 to the kernel that sequential access is desired.
10274 Touch all retrieved pages by default to ensure they are pulled
10275 into memory. (Closes #345720)
10277 2006-07-03 Wim Taymans <wim@fluendo.com>
10279 * docs/design/part-block.txt:
10280 * docs/design/part-dynamic.txt:
10281 Small docs updates.
10283 2006-07-03 Wim Taymans <wim@fluendo.com>
10285 * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free),
10286 (gst_caps_unref), (gst_static_caps_get),
10287 (gst_caps_append_structure):
10288 * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
10289 Use GSlice when the glib we build against is >= 2.10
10291 2006-07-03 Wim Taymans <wim@fluendo.com>
10293 * gst/gstelement.c: (gst_element_pads_activate):
10294 Small cleanup in pad activation code.
10296 2006-07-03 Wim Taymans <wim@fluendo.com>
10298 Patch by: Peter Kjellerstedt <pkj at axis dot com>
10300 * gst/gst-i18n-app.h:
10301 * gst/gst-i18n-lib.h:
10302 * tools/gst-inspect.c: (print_signal_info):
10303 The attached patch will make the inclusion of gettext.h unconditional in
10304 gst/gst-i18n-app.h and gst/gst-i18n-lib.h, and it will remove the inclusion of
10305 libintl.h in tools/gst-inspect.c.
10306 This allows use of --disable-nls again and fixes #344642.
10308 2006-07-03 Edward Hervey <edward@fluendo.com>
10310 * gst/gstpad.c: (handle_pad_block), (gst_pad_push_event):
10311 Implement pad blocking on events according to part-block.txt.
10312 More comments on behaviour.
10313 * tests/check/gst/gstevent.c: (test_event):
10314 Send event to peer pad of blocked pad (else it will block).
10316 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
10318 * libs/gst/check/gstcheck.c: (gst_check_message_error),
10319 (gst_check_run_suite):
10320 if we get the wrong message, give us the types as string
10321 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
10323 * tests/check/elements/filesrc.c: (GST_START_TEST):
10324 add a test for trying to open a non-existing file
10326 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
10328 * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
10329 add a test for adding self
10331 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
10333 * libs/gst/check/gstcheck.h:
10334 add some assert_ as alias for fail_unless_*
10335 * tests/check/gst/gst.c: (GST_START_TEST), (gst_suite):
10336 increase test coverage
10338 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
10341 include lcov.mak for lcov coverage generation
10342 * tools/Makefile.am:
10345 2006-07-02 Edward Hervey <edward@fluendo.com>
10347 * tests/check/elements/.cvsignore:
10350 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
10353 don't set CFLAGS and friends for gcov, done from GST_GCOV now
10354 * tests/check/Makefile.am:
10355 clean up gcov files
10357 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
10359 * gst/gstcaps.c: (gst_caps_remove_and_get_structure):
10360 remove gst_caps_simplify; it was not declared and not used
10361 and deprecated in 0.8
10363 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
10365 * docs/faq/gst-uninstalled:
10366 don't put empty paths on PYTHONPATH
10367 * docs/gst/gstreamer-sections.txt:
10368 remove some symbols that are not there
10370 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
10372 * gst/gstcaps.c: (gst_caps_compare_structures):
10374 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
10375 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
10378 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
10380 * libs/gst/dataprotocol/Makefile.am:
10381 build dataprotocol test by linking to the lib, instead of
10382 compiling the source, so we get coverage
10383 * tests/check/Makefile.am:
10384 * tests/check/elements/filesrc.c: (event_func), (setup_filesrc),
10385 (cleanup_filesrc), (GST_START_TEST), (filesrc_suite):
10386 add a test for filesrc
10388 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
10390 * tests/check/gst/gststructure.c: (GST_START_TEST),
10391 (gst_structure_suite):
10392 Push coverage from 59.04% to 70.00%
10394 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
10396 * tests/check/Makefile.am:
10397 gst-inspect every element; this makes sure that we also get
10398 coverage on element's get/set functions
10400 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
10403 set CFLAGS and friends to -O0 if gcov is being used
10406 * libs/gst/base/Makefile.am:
10407 * libs/gst/check/Makefile.am:
10408 * libs/gst/controller/Makefile.am:
10409 * libs/gst/dataprotocol/Makefile.am:
10410 * libs/gst/net/Makefile.am:
10411 * plugins/elements/Makefile.am:
10412 * plugins/indexers/Makefile.am:
10413 add makefile rules to generate gcov data and clean up
10414 * tests/check/Makefile.am:
10415 add a coverage target that generates an html overview
10418 2006-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
10420 * tests/check/elements/fakesink.c:
10421 * tests/check/elements/fakesrc.c:
10422 * tests/check/elements/fdsrc.c:
10423 * tests/check/elements/identity.c:
10424 * tests/check/generic/sinks.c: (gst_sinks_suite):
10425 * tests/check/generic/states.c:
10426 * tests/check/gst/gst.c:
10427 * tests/check/gst/gstabi.c:
10428 * tests/check/gst/gstbin.c:
10429 * tests/check/gst/gstbuffer.c: (gst_buffer_suite):
10430 * tests/check/gst/gstbus.c: (gst_bus_suite):
10431 * tests/check/gst/gstcaps.c: (GST_START_TEST):
10432 * tests/check/gst/gstelement.c:
10433 * tests/check/gst/gstevent.c: (gst_event_suite):
10434 * tests/check/gst/gstghostpad.c:
10435 * tests/check/gst/gstiterator.c: (gst_iterator_suite):
10436 * tests/check/gst/gstmessage.c: (gst_message_suite):
10437 * tests/check/gst/gstminiobject.c:
10438 * tests/check/gst/gstobject.c:
10439 * tests/check/gst/gstpad.c:
10440 * tests/check/gst/gstpipeline.c:
10441 * tests/check/gst/gstplugin.c:
10442 * tests/check/gst/gstquery.c: (gst_query_suite):
10443 * tests/check/gst/gstsegment.c: (gst_segment_suite):
10444 * tests/check/gst/gststructure.c:
10445 * tests/check/gst/gstsystemclock.c:
10446 * tests/check/gst/gsttag.c:
10447 * tests/check/gst/gsttask.c: (gst_task_suite):
10448 * tests/check/gst/gstutils.c:
10449 * tests/check/gst/gstvalue.c:
10450 * tests/check/libs/adapter.c:
10451 * tests/check/libs/basesrc.c:
10452 * tests/check/libs/collectpads.c:
10453 * tests/check/libs/controller.c:
10454 * tests/check/libs/gdp.c: (gst_dp_suite):
10455 * tests/check/libs/gstnetclientclock.c:
10456 * tests/check/libs/gstnettimeprovider.c:
10457 * tests/check/libs/libsabi.c: (libsabi_suite):
10458 * tests/check/libs/typefindhelper.c:
10459 * tests/check/pipelines/cleanup.c:
10460 * tests/check/pipelines/parse-launch.c:
10461 * tests/check/pipelines/simple-launch-lines.c:
10462 * tests/check/pipelines/stress.c: (stress_suite):
10465 2006-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
10467 * libs/gst/check/gstcheck.c: (gst_check_run_suite):
10468 * libs/gst/check/gstcheck.h:
10469 create a macro and function so that the simple unit test
10470 case can be just one macro to create main()
10472 2006-06-30 Tim-Philipp Müller <tim at centricular dot net>
10474 * gst/gstbin.c: (gst_bin_restore_thyself):
10475 * gst/gstxml.c: (gst_xml_make_element):
10476 Fix deserialisation from XML. Set parent manually
10477 instead of using gst_bin_add(), since gst_bin_add()
10478 will unlink all pads of the element being added.
10481 2006-06-28 Tim-Philipp Müller <tim at centricular dot net>
10483 Patch by: Peter Kjellerstedt <pkj at axis com>
10485 * gst/gst.c: (prepare_for_load_plugin_func), (split_and_iterate):
10486 Fix missing g_strdup() and double free when using the
10487 --gst-plugin-load command line option (#346097).
10489 2006-06-23 Tim-Philipp Müller <tim at centricular dot net>
10492 Promote GST_DEBUG_CATEGORY_STATIC in example in docs.
10494 * libs/gst/net/gstnetclientclock.c:
10495 * libs/gst/net/gstnettimeprovider.c:
10496 Use GST_DEBUG_CATEGORY_STATIC here too (#342503).
10498 2006-06-23 Tim-Philipp Müller <tim at centricular dot net>
10500 * docs/manual/advanced-dataaccess.xml:
10501 Fix buffer probe example compilation in
10504 2006-06-22 Edward Hervey <edward@fluendo.com>
10506 * gst/gstelement.c: (gst_element_pads_activate):
10507 We need to deactivate src pads first and then sink pads.
10508 The reason is the src pads might be blocking while holding the streaming
10509 lock, so we need to deactivate them first so that deactivating the sink
10510 pads doesn't block (since it will require the streaming lock).
10512 2006-06-22 Wim Taymans <wim@fluendo.com>
10514 * libs/gst/base/gstbasetransform.c:
10515 (gst_base_transform_buffer_alloc):
10516 Forgot to remove two unneeded unrefs.
10517 Simplify a check _is_equal allready checks the obvious case.
10519 2006-06-22 Wim Taymans <wim@fluendo.com>
10521 * docs/design/part-block.txt:
10522 Some docs about what pad_block should do.
10524 2006-06-22 Wim Taymans <wim@fluendo.com>
10526 * gst/gstcaps.c: (gst_caps_replace):
10527 Fix crasher when passed NULL. Doc clarification.
10528 Optimize for the trivial case.
10530 * gst/gstpipeline.c: (gst_pipeline_change_state):
10533 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
10534 Small documentation cleanup.
10536 * libs/gst/base/gstbasetransform.c:
10537 (gst_base_transform_buffer_alloc):
10538 Don't use silly gst_pad_get_negotiated_caps, GST_PAD_CAPS
10539 is what we need and it avoids a whole lot of redundant
10540 refcount operations.
10542 2006-06-22 Tim-Philipp Müller <tim at centricular dot net>
10544 Patch by: Philip Jägenstedt <philip at lysator liu se>
10546 * docs/manual/advanced-dataaccess.xml:
10547 Fix 'Embedding static elements' section to use
10548 GST_PLUGIN_DEFINE_STATIC (#345607).
10550 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
10552 * tests/check/pipelines/simple-launch-lines.c: (test_stop_from_app):
10553 Attempt to 'fix' spuriously failing test case: it seems like the
10554 timeout of half a second is simply too small when the system is under
10555 load otherwise, and the timeout doesn't really seem to serve any
10556 particular purpose here. Give the pipeline a few seconds to preroll
10557 first, and then give it another half a second to go from PAUSED to
10558 PLAYING and marshal the message into the main thread.
10560 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
10562 * tools/gst-feedback-m.m:
10563 Don't only use unversioned tools, try versioned tools as well
10566 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
10568 * gst/gstbus.c: (gst_bus_class_init):
10569 Fix some typos, make docs more explicit.
10571 2006-06-20 Wim Taymans <wim@fluendo.com>
10573 * tests/check/gst/gstghostpad.c: (block_callback),
10574 (GST_START_TEST), (gst_ghost_pad_suite):
10575 Added some more ghostpad tests, mainly blocking
10578 2006-06-16 Wim Taymans <wim@fluendo.com>
10580 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
10581 (gst_file_sink_close_file), (gst_file_sink_do_seek),
10582 (gst_file_sink_event), (gst_file_sink_render):
10583 * plugins/elements/gstfilesink.h:
10584 Check if we can seek in the file instead of assuming
10585 we always can. Post an error when we are asked to seek in a
10586 non-seekable file (like a fifo). Fixes #343312.
10589 2006-06-16 Tim-Philipp Müller <tim at centricular dot net>
10591 * tools/gst-launch.1.in:
10592 Un-garble (fourcc) bit in filtered caps section.
10594 2006-06-16 Tim-Philipp Müller <tim at centricular dot net>
10596 * docs/manual/advanced-autoplugging.xml:
10597 * docs/manual/basics-helloworld.xml:
10598 * docs/manual/highlevel-components.xml:
10599 Don't leak bus reference in sample code.
10601 2006-06-15 Tim-Philipp Müller <tim at centricular dot net>
10604 Add default for new --enable-plugin-docs switch.
10607 Use new GST_PLUGIN_DOCS macro to check for pyxml etc.
10610 * docs/Makefile.am:
10611 Use new ENABLE_PLUGIN_DOCS conditional.
10613 2006-06-14 Wim Taymans <wim@fluendo.com>
10615 * gst/gstbin.c: (bin_query_duration_done), (gst_bin_query):
10616 Make it clear with a FIXME and a real define what the #if 0
10617 previously disabled.
10619 2006-06-14 Wim Taymans <wim@fluendo.com>
10621 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
10622 (gst_base_sink_preroll_object), (gst_base_sink_get_position):
10623 * libs/gst/base/gstbasetransform.c:
10624 (gst_base_transform_sink_eventfunc):
10625 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
10626 Don't randomly and silently reset a segment when the format
10627 changes as this is a bug somewhere upstream. Fixes #330379.
10629 2006-06-14 Tim-Philipp Müller <tim at centricular dot net>
10631 Patch by: Wouter Paesen <wouter at kangaroot net>
10633 * libs/gst/controller/gstcontroller.c:
10634 (gst_controlled_property_new):
10635 Fix controlling of float properties (#344849).
10637 * tests/check/libs/controller.c:
10638 (gst_test_mono_source_get_property),
10639 (gst_test_mono_source_set_property),
10640 (gst_test_mono_source_class_init), (GST_START_TEST):
10641 While we're at it, add some float stuff to unit test.
10643 2006-06-13 Thomas Vander Stichele <thomas at apestaart dot org>
10646 * docs/images/gdp-header.svg:
10648 * docs/libs/Makefile.am:
10649 * docs/libs/gdp-header.png:
10650 * libs/gst/dataprotocol/dataprotocol.c:
10651 add it to the API docs
10652 * docs/manual/intro-motivation.xml:
10655 2006-06-13 Tim-Philipp Müller <tim at centricular dot net>
10657 * gst/gst.c: (scan_and_update_registry), (init_post):
10658 If the fork()'ed child process can't write the updated registry cache
10659 file to disk for some reason, make it exit with a failure exit code,
10660 so that the parent can then re-scan the plugins itself and update the
10661 registry structures in memory and work with that (rather than failing
10662 when creating elements because seemingly no plugins are available).
10663 Refactor registry scanning code into separate function for this and
10664 also separate fork() and non-fork() code paths. Fixes #344748.
10666 2006-06-13 Wim Taymans <wim@fluendo.com>
10668 * docs/manual/advanced-dataaccess.xml:
10669 Fix wrong PluginDesc. Fixes #344755.
10671 2006-06-13 Tim-Philipp Müller <tim at centricular dot net>
10673 * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
10674 Fix silly bug that prevented us from creating
10675 ~/.gstreamer-0.10 and writing the registry in one
10676 go (the first call to g_mkstemp() would overwrite the
10677 placeholder in the template string, so the second call
10678 to g_mkstemp() after creating the missing directory
10679 would then error out with 'invalid argument').
10681 2006-06-13 Edward Hervey <edward@fluendo.com>
10683 * gst/gst.c: (init_post):
10686 2006-06-13 Thomas Vander Stichele <thomas at apestaart dot org>
10688 * gst/glib-compat-private.h:
10689 * gst/glib-compat.c:
10690 * gst/glib-compat.h:
10691 * gst/gstvalue.c: (gst_value_serialize_flags):
10692 remove GLib 2.6 compatibility code
10694 2006-06-12 Tim-Philipp Müller <tim at centricular dot net>
10696 * gst/parse/Makefile.am:
10697 Fix build with 'make -j N' even more (#340016).
10699 2006-06-12 Wim Taymans <wim@fluendo.com>
10701 * docs/gst/gstreamer-sections.txt:
10704 2006-06-12 Wim Taymans <wim@fluendo.com>
10706 * gst/gstsegment.c: (gst_segment_set_duration),
10707 (gst_segment_set_last_stop), (gst_segment_set_seek),
10708 (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
10709 (gst_segment_to_running_time), (gst_segment_clip):
10710 Use G_UNLIKELY to help the compiler a bit.
10712 2006-06-12 Wim Taymans <wim@fluendo.com>
10714 Patch by: Stefan Kost <ensonic at sonicpulse dot de>
10716 * gst/gstevent.c: (gst_event_get_type):
10717 * gst/gstmessage.c:
10718 * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
10720 constify quark registration strings. Fixes #344115
10721 Avoid unneeded type checking is _pad_push() by internally
10722 calling gst_pad_chain_unchecked().
10724 2006-06-12 Wim Taymans <wim@fluendo.com>
10726 * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_finalize),
10727 (_gst_buffer_copy), (gst_buffer_is_metadata_writable),
10728 (gst_subbuffer_finalize), (gst_buffer_create_sub),
10729 (gst_buffer_is_span_fast), (gst_buffer_span):
10730 Init _type for consistency.
10731 Use _FLAGS macro to avoid type check.
10732 Avoid unneeded type checks in subbufer code.
10734 2006-06-12 Wim Taymans <wim@fluendo.com>
10736 * gst/gst.c: (gst_debug_help):
10737 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_list_free):
10738 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
10739 (gst_plugin_feature_list_free):
10740 * gst/gstregistry.c: (gst_registry_add_plugin),
10741 (gst_registry_add_feature), (gst_registry_plugin_filter),
10742 (gst_registry_feature_filter), (gst_registry_find_plugin),
10743 (gst_registry_find_feature), (gst_registry_get_plugin_list),
10744 (gst_registry_lookup_feature_locked), (gst_registry_lookup_locked):
10745 * gst/gstregistryxml.c: (load_feature),
10746 (gst_registry_xml_read_cache), (gst_registry_xml_write_cache):
10747 * gst/gstminiobject.c: (gst_mini_object_unref),
10748 (gst_mini_object_replace), (gst_value_mini_object_free),
10749 (gst_value_mini_object_copy):
10750 Use _CAST macros to avoid unneeded type checking.
10751 Added some more G_UNLIKELY.
10753 2006-06-12 Wim Taymans <wim@fluendo.com>
10756 Avoid unneeded type checking.
10757 API: GST_BUFFER_IS_DISCONT
10759 * gst/gstminiobject.h:
10760 Avoid type check in flag accessor.
10762 * gst/gstelementfactory.h:
10764 * gst/gstpluginfeature.h:
10766 API: GST_ELEMENT_FACTORY_CAST
10767 API: GST_PLUGIN_CAST
10768 API: GST_PLUGIN_FEATURE_CAST
10770 2006-06-12 Wim Taymans <wim@fluendo.com>
10772 * gst/gstobject.c: (gst_object_get_type), (gst_object_ref),
10773 (gst_object_unref):
10774 Add G_UNLIKELY in type registration.
10775 Avoid type check in _ref/_unref since that is also
10778 2006-06-12 Wim Taymans <wim@fluendo.com>
10780 * gst/gsterror.c: (gst_g_error_get_type):
10781 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
10782 (gst_static_pad_template_get_type):
10783 * gst/gsttaglist.c: (gst_tag_list_get_type):
10784 * gst/gsttagsetter.c: (gst_tag_setter_get_type):
10785 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type):
10786 * gst/gsturi.c: (gst_uri_handler_get_type):
10787 * gst/gstvalue.c: (gst_date_get_type):
10788 * gst/gstxml.c: (gst_xml_get_type):
10789 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
10790 (gst_base_sink_preroll_object), (gst_base_sink_get_position):
10791 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type):
10792 Add G_UNLIKELY in type registration.
10794 2006-06-12 Wim Taymans <wim@fluendo.com>
10796 * tools/gst-inspect.c: (print_signal_info):
10797 Properly print enum values.
10799 2006-06-12 Wim Taymans <wim@fluendo.com>
10801 * gst/gstinfo.c: (gst_debug_set_active),
10802 (gst_debug_category_set_threshold), (_gst_debug_nameof_funcptr):
10804 Add some G_[UN]LIKELY.
10805 Maintain __gst_debug_min to avoid formatting the arguments of
10806 debug messages that will be dropped anyway to avoid a lot of
10807 overhead from the debugging system.
10809 2006-06-11 Stefan Kost <ensonic@users.sf.net>
10812 * po/POTFILES.skip:
10813 add missing files containing translatable strings, tell intltool about
10816 2006-06-11 Stefan Kost <ensonic@users.sf.net>
10818 * tests/check/libs/.cvsignore:
10819 add test-binary to ignore list
10821 2006-06-11 Stefan Kost <ensonic@users.sf.net>
10823 * docs/libs/gstreamer-libs-docs.sgml:
10824 reorder (put dp into a chapter) and indent
10826 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
10831 === release 0.10.8 ===
10833 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
10836 releasing 0.10.8, "Soepeke, ik zie ou nog altijd nie"
10838 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
10840 * gst/gst.c: (init_post):
10841 move pid declaration to declaration block
10843 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
10845 * gst/gst.c: (init_post):
10846 use _exit() instead of exit() in our forked child; this ensures
10847 that none of the registered exit handlers from whatever is using
10848 GStreamer get executed. This fixes gnome-mixer-applet failing
10849 to load, because ORBit would shut down.
10850 Spotted by: Edward Hervey <edward@fluendo.com>
10851 Fix suggested by: Tim-Philipp Müller <tim at centricular dot net>
10854 2006-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
10859 === release 0.10.7 ===
10861 2006-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
10864 releasing 0.10.7, "Soepeke, ik zie ou"
10866 2006-06-07 Thomas Vander Stichele <thomas at apestaart dot org>
10889 * win32/common/config.h:
10890 0.10.6.2 prerelease
10892 2006-06-07 Wim Taymans <wim@fluendo.com>
10894 * gst/gstindex.c: (gst_index_gtype_resolver):
10895 * tools/gst-xmlinspect.c: (print_plugin_info):
10896 Fix leak spotted by coverity checker. Fixes #343827
10897 Fix another other leak found by paolo borelli.
10899 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
10901 * libs/gst/dataprotocol/dataprotocol.c:
10902 (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
10903 (gst_dp_version_get_type), (gst_dp_init),
10904 (gst_dp_header_from_buffer), (gst_dp_header_from_buffer_1_0),
10905 (gst_dp_packet_from_caps), (gst_dp_packet_from_caps_1_0),
10906 (gst_dp_packet_from_event), (gst_dp_packet_from_event_1_0),
10907 (gst_dp_event_from_packet_0_2), (gst_dp_event_from_packet_1_0),
10908 (gst_dp_event_from_packet), (gst_dp_packetizer_new),
10909 (gst_dp_packetizer_free):
10910 * libs/gst/dataprotocol/dataprotocol.h:
10911 API: add a GstDPPacketizer object, and create/free functions
10912 API: add GstDPVersion enum
10913 Add 1.0 event function that uses the string serialization
10914 Serialize more useful buffer flags
10917 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
10919 * tests/check/Makefile.am:
10920 * tests/check/gst/gstabi.c:
10921 * tests/check/gst/struct_ppc64.h:
10922 * tests/check/libs/libsabi.c:
10923 * tests/check/libs/struct_ppc64.h:
10924 add ppc64 structure sizes
10926 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
10928 * tests/check/Makefile.am:
10929 * tests/check/gst/gstabi.c:
10930 * tests/check/gst/struct_x86_64.h:
10931 * tests/check/libs/libsabi.c:
10932 * tests/check/libs/struct_x86_64.h:
10933 generate and add structure size lists for x86_64
10935 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
10937 * libs/gst/check/gstcheck.c: (gst_check_abi_list):
10938 * libs/gst/check/gstcheck.h:
10939 factor out the method from tests that checks size of structures,
10940 and add code to generate the header containing these sizes
10941 * tests/check/gst/gstabi.c: (GST_START_TEST):
10942 * tests/check/gst/struct_i386.h:
10943 * tests/check/libs/libsabi.c: (GST_START_TEST):
10944 * tests/check/libs/struct_i386.h:
10947 2006-06-06 Michael Smith <msmith@fluendo.com>
10949 * gst/gstsegment.h:
10950 Don't use c++-style comments, fixes #343929
10952 2006-06-05 Edward Hervey <edward@fluendo.com>
10955 plugin_paths is not used if we build without registry support.
10957 * gst/gstsegment.c: (gst_segment_copy):
10958 _copy() was always returning NULL...
10960 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
10962 * libs/gst/dataprotocol/dataprotocol.c:
10963 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
10964 (gst_dp_packet_from_event):
10965 factor out CRC code
10967 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
10969 * libs/gst/check/gstcheck.c: (gst_check_teardown_src_pad):
10970 make sure we unset caps
10972 2006-06-02 Michael Smith <msmith@fluendo.com>
10974 * libs/gst/check/gstcheck.c: (gst_check_init),
10975 (gst_check_chain_func):
10976 * libs/gst/check/gstcheck.h:
10977 Add a cond/mutex to the check support lib, signal this whenever we
10978 add to the buffers list. This will allow tests to not busy-wait on
10981 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
10983 * libs/gst/dataprotocol/dataprotocol.c:
10984 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
10985 (gst_dp_packet_from_event):
10986 factor out some common header init code
10988 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
10990 * docs/libs/gstreamer-libs-sections.txt:
10991 * docs/libs/tmpl/gstdataprotocol.sgml:
10992 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc):
10993 * libs/gst/dataprotocol/dataprotocol.h:
10994 API: make gst_dp_crc() public
10996 2006-06-01 Stefan Kost <ensonic@users.sf.net>
10998 * plugins/indexers/gstindexers.c: (plugin_init):
10999 conditionally register fileindexer (fixes #343598)
11001 2006-06-01 Stefan Kost <ensonic@users.sf.net>
11003 * gst/gsttagsetter.h:
11004 Can't cast ifaces to a class
11006 * libs/gst/net/gstnetclientclock.h:
11007 * libs/gst/net/gstnettimeprovider.h:
11008 * plugins/elements/gstfakesink.h:
11009 * plugins/elements/gstfakesrc.h:
11010 * plugins/elements/gstfdsink.h:
11011 * plugins/elements/gstfdsrc.h:
11012 * plugins/elements/gstfilesink.h:
11013 * plugins/elements/gstfilesrc.h:
11014 * plugins/elements/gstidentity.h:
11015 * plugins/elements/gstqueue.h:
11016 * plugins/elements/gsttee.h:
11017 * plugins/indexers/gstfileindex.c:
11018 * plugins/indexers/gstmemindex.c:
11019 * tests/old/examples/plugins/example.h:
11020 Fix more gobject macros: obj<->klass, GstXXX<->GstXXXClass
11022 2006-06-01 Thomas Vander Stichele <thomas at apestaart dot org>
11024 * libs/gst/dataprotocol/dataprotocol.c:
11025 (gst_dp_header_from_buffer):
11026 make sure we zero the whole ABI-compatible area
11028 2006-06-01 Wim Taymans <wim@fluendo.com>
11030 Patch by: Alessandro Decina <alessandro at nnva dot org>
11032 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop):
11033 Make sure the EOS flag is cleared from pads after a flush
11034 or stop. Fixes #343538.
11036 * tests/check/libs/collectpads.c: (GST_START_TEST),
11037 (gst_collect_pads_suite):
11038 Added test for collectpads reusage after EOS.
11040 2006-05-30 Sebastien Moutte <sebastien@moutte.net>
11043 set #include <sys/wait.h> in a #ifdef #ifdef HAVE_FORK
11044 * win32/common/libgstbase.def:
11045 export gst_collect_pads_set_flushing
11046 * win32/common/libgstreamer.def:
11047 export gst_pad_set_acceptcaps_function, gst_structure_empty_new,
11048 gst_value_fraction_multiply
11049 * win32/vs6/gst_inspect.dsp:
11050 add a link to intl.lib
11052 2006-05-30 Wim Taymans <wim@fluendo.com>
11054 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
11055 (gst_collect_pads_chain):
11056 Handle the case where a pad is removed from the collection
11057 that could cause the other pads to become collectable.
11059 2006-05-30 Wim Taymans <wim@fluendo.com>
11061 * gst/gstelement.c:
11062 Clarify the use of _release_request_pad() and
11063 _get_request_pad() a bit better.
11065 * libs/gst/base/gstadapter.c: (gst_adapter_peek),
11066 (gst_adapter_take_buffer):
11067 Fix some doc and comment typos.
11069 2006-05-30 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
11071 * docs/gst/gstreamer-sections.txt:
11072 * docs/libs/gstreamer-libs-sections.txt:
11073 add declared symbols
11075 2006-05-30 Jan Schmidt <thaytan@mad.scientist.com>
11077 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
11078 Add debug that can be enabled using a #define at the top of the file,
11079 for dumping stats about how late/early we were when waking up from
11080 waiting on the clock.
11082 2006-05-30 Wim Taymans <wim@fluendo.com>
11084 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_check_pads):
11085 When rebuilding the pad list, don't leak the previous list.
11087 2006-05-30 Wim Taymans <wim@fluendo.com>
11089 Patch by: Lutz Mueller <lutz at topfrose dot de>
11091 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
11092 (gst_base_src_get_query_types), (gst_base_src_update_length):
11093 Publish supported query types.
11094 Update last_stop field in get_range mode so the position
11095 query works. Fixes #342321.
11097 2006-05-30 Tim-Philipp Müller <tim at centricular dot net>
11099 * docs/gst/gstreamer-sections.txt:
11100 * gst/gsttaglist.c: (_gst_tag_initialize):
11101 * gst/gsttaglist.h:
11102 API: add GST_TAG_PREVIEW_IMAGE (#343341).
11104 2006-05-30 Wim Taymans <wim@fluendo.com>
11106 Patch by: Alessandro Decina <alessandro at nnva dot org>
11108 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
11109 Unlock mutex when removing an unknown pad.
11112 * tests/check/Makefile.am:
11113 * tests/check/libs/collectpads.c: (collected_cb), (push_buffer),
11114 (push_event), (setup), (teardown), (GST_START_TEST),
11115 (gst_collect_pads_suite), (main):
11116 Added collecpads check, disabled for now as check crashes for
11119 2006-05-29 Wim Taymans <wim@fluendo.com>
11121 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize):
11122 Don't leak pads lists.
11124 2006-05-29 Wim Taymans <wim@fluendo.com>
11126 * docs/libs/gstreamer-libs-sections.txt:
11127 * libs/gst/base/gstcollectpads.c:
11128 (gst_collect_pads_set_flushing_unlocked),
11129 (gst_collect_pads_set_flushing), (gst_collect_pads_start),
11130 (gst_collect_pads_stop):
11131 * libs/gst/base/gstcollectpads.h:
11132 API: gst_collect_pads_set_flushing()
11133 Added api to set the pads to flushing, useful for seeking
11134 code in elements using collectpads.
11135 Clear segment when receiving a flush.
11137 2006-05-29 Tim-Philipp Müller <tim at centricular dot net>
11139 * gst/gst.c: (add_path_func), (init_post):
11140 Don't scan registry paths passed via --gst-plugin-path immediately
11141 (will crash, because absolutely nothing is set up and no types are
11142 registered etc.); do this later in init_post(). Fixes #343057.
11144 2006-05-28 Thomas Vander Stichele <thomas at apestaart dot org>
11146 * gst/gst.c: (init_post):
11147 if we have fork, fork while reading/rebuilding the registry
11148 so the parent doesn't take the hit of having all plugins loaded
11149 in memory. Fixes #342777.
11151 Check if we have fork()
11152 * win32/common/config.h.in:
11155 2006-05-26 Jan Schmidt <thaytan@mad.scientist.com>
11157 * plugins/elements/gstelements.c:
11158 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
11159 (gst_file_src_init), (gst_file_src_set_property),
11160 (gst_file_src_get_property), (gst_file_src_start):
11161 * plugins/elements/gstfilesrc.h:
11162 API: GstFileSrc::use-mmap
11164 Add a use-mmap property to enable easier testing of all code paths.
11165 Bump rank to PRIMARY, so filesrc is the preferred file reader and used
11166 in the absence of gnomevfssrc. (Closes #340501)
11168 2006-05-26 Zaheer Abbas Merali <zaheerabbas at merali dot org>
11170 * tools/gst-inspect.c:
11171 Add missing include, removes warning of ngettext not being defined on
11174 2006-05-26 Jan Schmidt <thaytan@mad.scientist.com>
11176 * gst/gstvalue.c: (gst_value_deserialize_fraction):
11177 Handle NULL input and output pointers silently as a failed conversion,
11178 rather than g_warnings.
11180 2006-05-25 Wim Taymans <wim@fluendo.com>
11182 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_start):
11183 Initialize variable before using. Fixes #342820.
11185 2006-05-24 Tim-Philipp Müller <tim at centricular dot net>
11187 * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek):
11188 Fix off-by-one bug that would only allow peeks of N-1 bytes
11189 from the start even if the buffer to typefind on contains
11190 in fact N bytes of data (makes vorbis typefinding from a
11191 vorbis identification header buffer work).
11193 * tests/check/Makefile.am:
11194 * tests/check/libs/.cvsignore:
11195 * tests/check/libs/typefindhelper.c: (GST_START_TEST),
11196 (gst_typefindhelper_suite), (main), (foobar_typefind),
11198 Add very basic unit test for gst_type_find_helper_for_buffer()
11199 that checks for the problem fixed above.
11201 2006-05-24 Thomas Vander Stichele <thomas at apestaart dot org>
11203 * tools/gst-inspect.c: (print_interfaces),
11204 (print_element_properties_info), (print_element_list), (main):
11205 add more translatable strings
11207 2006-05-23 Tim-Philipp Müller <tim at centricular dot net>
11209 Patch by: Julien Moutte <julien at moutte net>
11211 * docs/gst/gstreamer-sections.txt:
11212 Make new GST_FLOW_IS_SUCCESS macro visible in docs.
11214 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
11215 (gst_fake_sink_preroll):
11216 * plugins/elements/gstfakesink.h:
11217 API: Add new GstFakeSink::preroll-handoff signal (#337100).
11219 2006-05-23 Wim Taymans <wim@fluendo.com>
11221 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark):
11223 Added _CUSTOM error and success GstFlowReturn that can be
11224 used be elements internally.
11225 Added macro to check for SUCCESS flowreturns.
11226 API: GST_FLOW_CUSTOM_SUCCESS
11227 API: GST_FLOW_CUSTOM_ERROR
11228 API: GST_FLOW_IS_SUCCESS
11230 * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
11231 Added check for GstFlowReturn sanity.
11233 2006-05-23 Wim Taymans <wim@fluendo.com>
11235 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
11237 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
11238 (gst_collect_pads_event):
11239 clear/reset segment info in FLUSH_STOP.
11242 2006-05-22 Stefan Kost <ensonic@users.sf.net>
11244 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop),
11245 (gst_collect_pads_check_collected):
11246 Flush queued buffer on _stop(), fixes playing again (#342454)
11248 2006-05-22 Thomas Vander Stichele <thomas at apestaart dot org>
11250 * tests/check/gst/gststructure.c: (GST_START_TEST),
11251 (gst_structure_suite):
11252 add a test for a complete structure
11254 2006-05-19 Tim-Philipp Müller <tim at centricular dot net>
11256 * docs/faq/developing.xml:
11257 * docs/faq/faq.xml:
11258 * docs/faq/troubleshooting.xml:
11259 * docs/faq/using.xml:
11260 Some minor FAQ updates that won't change the fact that
11261 our FAQ is badly structured, full of information hardly
11262 anyone new to GStreamer needs to know and lacking lots
11263 of information people constantly ask for.
11265 2006-05-19 Jan Schmidt <thaytan@mad.scientist.com>
11267 * gst/gstpad.c: (gst_pad_set_caps):
11268 Short-circuit gst_pad_set_caps if setting the existing
11269 caps pointer again, and avoid printing debug and
11270 reffing/unreffing the caps.
11272 * plugins/elements/gstqueue.c: (gst_queue_push_one):
11273 There's actually no need to set the caps before pushing -
11274 the acceptcaps method will handle it anyway.
11276 2006-05-19 Tim-Philipp Müller <tim at centricular dot net>
11278 * docs/gst/gstreamer-sections.txt:
11279 * win32/common/libgstreamer.def:
11280 * gst/gstutils.c: (gst_element_seek_simple):
11282 API: add gst_element_seek_simple() (#342238).
11284 2006-05-18 Edward Hervey <edward@fluendo.com>
11286 * gst/gsttypefind.c: (gst_type_find_get_type):
11287 * gst/gsttypefind.h:
11288 Added GST_TYPE_TYPE_FIND and gst_type_find_get_type() so a GType gets
11289 registered for GstTypeFind pointers. This allows wrapping the structure
11290 in bindings (i.e. gst-python).
11292 2006-05-18 Tim-Philipp Müller <tim at centricular dot net>
11294 * gst/gsttagsetter.c:
11295 Docs additions and fixes (see #339918).
11297 2006-05-18 Jan Schmidt <thaytan@mad.scientist.com>
11299 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
11300 The caps intersection algorithm can produce multiple copies of the
11301 caps. Until that is fixed, we need to simplify the result to be
11302 sure whether the allowed caps are fixed or not.
11304 * plugins/elements/gstqueue.c: (gst_queue_init),
11305 (gst_queue_bufferalloc), (gst_queue_acceptcaps),
11306 (gst_queue_push_one):
11307 Proxied buffer alloc should not set the caps on the source pad.
11308 When pushing buffers, we always accept the caps change that triggers.
11309 This prevents negotiation errors caused by caps changing mid-stream
11310 and then being refused on our source pad (because upstream is now
11311 refusing those caps).
11313 2006-05-18 Tim-Philipp Müller <tim at centricular dot net>
11315 * tests/examples/helloworld/helloworld.c: (main):
11316 Must plug audioconvert and audioresample between decoder
11319 2006-05-17 Jan Schmidt <thaytan@mad.scientist.com>
11321 * gst/gstregistryxml.c: (read_string), (load_pad_template),
11322 (load_feature), (load_plugin):
11323 Allow empty strings for some of the plugin fields so we don't
11324 drop valid plugin entries that were written out correctly
11327 2006-05-17 Sebastien Moutte <sebastien@moutte.net>
11329 * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
11330 Use g_remove and g_rename instead of remove and rename that don't
11331 handle utf8 characters. rename was failing for users who had specific
11332 characters in their name then the registry was built at each
11334 * win32/vs6/gst_inspect.dsp:
11335 * win32/vs6/gst_launch.dsp:
11336 * win32/vs6/libgstbase.dsp:
11337 * win32/vs6/libgstcoreelements.dsp:
11338 * win32/vs6/libgstreamer.dsp:
11339 Use a debug version of libxml2 (libxml2D.lib,libxml2D.dll) for DEBUG
11340 build of libgstreamer and clean unused libraries in projects link
11343 2006-05-17 Edward Hervey <edward@fluendo.com>
11345 * plugins/elements/gstqueue.c: (gst_queue_push_one):
11346 The queue is not responsible for pushing an EOS when receiving a fatal
11347 flow error. It's up to the real element driving the pipeline to do that.
11349 2006-05-16 Edward Hervey <edward@fluendo.com>
11351 * plugins/elements/gstqueue.c: (gst_queue_push_one):
11352 The queue was posting a non-needed GST_MESSAGE_ERROR when pushing a
11353 buffer returned a fatal error. It should just send an EOS and stop
11355 Upstream elements will then properly receive the GST_FLOW_UNEXPECTED
11356 when pushing buffers on the queue and will be able to handle the event.
11358 2006-05-16 Tim-Philipp Müller <tim at centricular dot net>
11360 * docs/manual/basics-bins.xml:
11361 * docs/manual/basics-init.xml:
11362 Fix typos and minor errors in sample code (#341856).
11364 2006-05-16 Wim Taymans <wim@fluendo.com>
11366 * docs/design/part-qos.txt:
11367 Fix indexes in formulas to make more sense.
11369 2006-05-15 Wim Taymans <wim@fluendo.com>
11371 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
11372 Don't report POSITION based on clock time if sync is
11373 disabled in a sink.
11375 2006-05-15 Tim-Philipp Müller <tim at centricular dot net>
11378 Add cast to make compiler happy - refcount variable was a gint
11379 in GstObject but is a guint in GObject and g_atomic_int_get()
11382 2006-05-15 Thomas Vander Stichele <thomas at apestaart dot org>
11384 * gst/parse/Makefile.am:
11385 chain commands using &&, which also makes parallel make work
11387 2006-05-14 Tim-Philipp Müller <tim at centricular dot net>
11389 * docs/gst/gstreamer-sections.txt:
11392 * gst/gstmessage.h:
11395 === release 0.10.6 ===
11397 2006-05-14 Jan Schmidt <thaytan@mad.scientist.com>
11400 releasing 0.10.6, "Take the cannoli"
11402 2006-05-13 Tim-Philipp Müller <tim at centricular dot net>
11404 * tools/gst-launch.c: (print_tag):
11405 Fix use of uninitialized variable in the hypothetical
11406 case that some broken plugin creates a GST_TAG_IMAGE
11407 tag containing a NULL buffer (#341667).
11409 2006-05-12 Tim-Philipp Müller <tim at centricular dot net>
11411 * tools/gst-launch.c: (print_tag):
11412 Print something more intelligible for image tags when
11413 using the -t switch (#341556).
11415 2006-05-12 Thomas Vander Stichele <thomas at apestaart dot org>
11420 define GST_MAJORMINOR so we have it available in win32/common/config.h
11421 Possibly remove it from our Makefile.am files later
11422 * win32/common/config.h:
11423 * win32/common/config.h.in:
11424 added GST_MAJORMINOR
11425 * win32/common/gstenumtypes.c: (register_gst_resource_error):
11426 * win32/common/gstversion.h:
11429 2006-05-12 Sebastien Moutte <sebastien@moutte.net>
11432 Update win32 files listing.
11433 * win32/common/gstversion.h:
11434 Add GST_MAJORMINOR definition.
11435 * win32/common/libgstreamer.def:
11436 Add new exported functions.
11438 2006-05-12 Michael Smith <msmith@fluendo.com>
11440 * gst/gstplugin.c: (gst_plugin_load_file):
11441 If an so file has no plugin entry point, unload the module.
11443 2006-05-11 Wim Taymans <wim@fluendo.com>
11445 * plugins/elements/gstqueue.c: (gst_queue_chain), (gst_queue_loop),
11446 (gst_queue_set_property):
11447 Don't forget to signal the _chain or _loop function
11448 when the queue size or thresholds change since that might
11449 cause them to make progres again.
11451 2006-05-11 Stefan Kost <ensonic@users.sf.net>
11453 * gst/gstclock.c: (gst_clock_class_init):
11454 * gst/gstindex.c: (gst_index_class_init):
11455 * gst/gstobject.c: (gst_object_class_init):
11456 * gst/gstpad.c: (gst_pad_class_init):
11457 * gst/gstpipeline.c: (gst_pipeline_class_init):
11458 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
11459 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
11460 * libs/gst/base/gstbasetransform.c:
11461 (gst_base_transform_class_init):
11462 * libs/gst/net/gstnetclientclock.c:
11463 (gst_net_client_clock_class_init):
11464 * libs/gst/net/gstnettimeprovider.c:
11465 (gst_net_time_provider_class_init):
11466 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
11467 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
11468 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
11469 * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
11470 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
11471 * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
11472 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
11473 * plugins/elements/gstidentity.c: (gst_identity_class_init):
11474 * plugins/elements/gsttee.c: (gst_tee_class_init):
11475 * tests/old/examples/plugins/example.c: (gst_example_class_init):
11476 * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
11477 G_OBJECT_CLASS macro usage batch cleanup, fixes #337747 for core
11479 2006-05-11 Wim Taymans <wim@fluendo.com>
11481 * gst/gstbuffer.c: (_gst_buffer_initialize):
11482 Register subbufer along with the buffer type so that
11483 it does not accidentally gets registered from N
11484 different streaming threads in a non threadsafe way.
11486 2006-05-10 Tim-Philipp Müller <tim at centricular dot net>
11490 * gst/gstmessage.h:
11491 Make gtk-doc generate docs for our inlined gst_buffer_ref(),
11492 gst_event_ref() and gst_message_ref() functions again
11493 (ugly hack, please do fix if there's a better way besides
11494 overrides.txt, which doesn't seem to work).
11496 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
11498 * libs/gst/check/gstcheck.h:
11499 add an assert for setting state to avoid lots of repetitive code
11502 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
11504 * gst/gstvalue.c: (gst_value_serialize_flags):
11505 fix a leak if no flags are set
11506 * tests/check/gst/gstvalue.c: (GST_START_TEST):
11509 2006-05-10 Tim-Philipp Müller <tim at centricular dot net>
11511 * docs/manual/basics-pads.xml:
11512 Expand a bit on caps and filtered links and update
11513 examples that were still using the no longer existing
11514 gst_pad_link_filtered() (#338206).
11516 2006-05-10 Wim Taymans <wim@fluendo.com>
11518 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
11519 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
11520 (gst_collect_pads_set_flushing), (gst_collect_pads_start),
11521 (gst_collect_pads_stop):
11522 * libs/gst/base/gstcollectpads.h:
11523 No need to call _stop in _finalize.
11524 Iterate the main pad list in _finalize.
11525 Added some more debug.
11526 Free lists and data in the right order.
11527 Also free data whem doing _remove_pad when stopped for
11528 backward compatibility protect ::started with PAD_LOCK as
11531 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
11533 * gst/gststructure.c: (gst_structure_gtype_from_abbr),
11534 (gst_structure_parse_value):
11536 rename a method so that it actually says what it does better
11538 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
11540 * gst/gstevent.c: (_gst_event_initialize):
11541 * gst/gstformat.c: (_gst_format_initialize):
11542 make sure some essential types used by events are registered
11543 as part of gst_init()
11544 * gst/gstvalue.c: (gst_value_serialize_flags):
11545 if no flags are set, serialize them to a value that represents NONE
11546 so that deserializing them works
11547 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
11548 add tests for serialization and deserialization of flags
11550 2006-05-10 Wim Taymans <wim@fluendo.com>
11552 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_collect),
11553 (gst_collect_pads_collect_range), (gst_collect_pads_available),
11554 (gst_collect_pads_check_pads), (gst_collect_pads_check_collected),
11555 (gst_collect_pads_event), (gst_collect_pads_chain):
11558 Catch and return errors from the collect function
11559 Refuse data on eos pads.
11561 2006-05-10 Edward Hervey <edward@fluendo.com>
11563 * gst/gstinterface.h:
11564 GST_IMPLEMENTS_INTERFACE and GST_IS_IMPLEMENTS_INTERFACE use the normal
11565 GInterface type checking.
11566 They were previously using non-defined macros.
11568 2006-05-09 Wim Taymans <wim@fluendo.com>
11570 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_init),
11571 (gst_collect_pads_finalize), (gst_collect_pads_add_pad),
11572 (gst_collect_pads_remove_pad), (gst_collect_pads_set_flushing),
11573 (gst_collect_pads_start), (gst_collect_pads_stop),
11574 (gst_collect_pads_peek), (gst_collect_pads_pop),
11575 (gst_collect_pads_available), (gst_collect_pads_read),
11576 (gst_collect_pads_flush), (gst_collect_pads_check_pads),
11577 (gst_collect_pads_is_collected), (gst_collect_pads_event),
11578 (gst_collect_pads_chain):
11579 * libs/gst/base/gstcollectpads.h:
11580 Clean up the mess that is collectpads, add comments and
11581 FIXMEs where needed.
11582 Maintain a separate pad list so we can add pads while
11583 collecting the other ones. For this we need a new separate
11585 Fix memory leak in finalize.
11586 Refactor some weird code to set/unset pad flushing flags, mark
11588 Don't crash in _available, _read, _flush when we're EOS.
11590 * tests/check/libs/.cvsignore:
11591 Ignore adapter check binary.
11593 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
11595 * gst/gstindex.c: (gst_index_resolver_get_type):
11596 * plugins/elements/gstfakesink.c:
11597 (gst_fake_sink_state_error_get_type):
11598 * plugins/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
11599 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type):
11600 * plugins/elements/gstqueue.c: (queue_leaky_get_type):
11601 Const-ify GEnumValue arrays.
11603 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
11605 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
11606 Add test case for flags + gst_buffer_make_metadata_writable().
11608 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
11610 * gst/gstbuffer.c: (gst_buffer_make_metadata_writable):
11611 gst_buffer_make_metadata_writable() should maintain the
11612 buffer flags (those that make sense at least) (see #340859).
11614 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
11616 * tools/gst-inspect.c:
11617 * tools/gst-launch.c:
11618 * tools/gst-typefind.c:
11619 * tools/gst-xmlinspect.c:
11621 Fix up includes: need to include stdlib.h in tools.h for exit().
11623 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
11625 * gst/gsttaglist.c: (_gst_tag_initialize):
11626 * gst/gsttaglist.h:
11627 API: add GST_TAG_IMAGE tag (#340721).
11629 2006-05-08 Wim Taymans <wim@fluendo.com>
11632 Added some docs for the segment query.
11634 2006-05-08 Wim Taymans <wim@fluendo.com>
11636 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
11637 (gst_base_src_loop), (gst_base_src_change_state):
11638 Always push non-flushing serialized events in the streaming
11641 2006-05-08 Thomas Vander Stichele <thomas at apestaart dot org>
11643 * gst/gsterror.c: (_gst_stream_errors_init):
11644 Add a missing error string.
11646 2006-05-08 Jan Schmidt <thaytan@mad.scientist.com>
11648 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment):
11649 Add applied_rate to the debug
11651 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
11652 Copy applied_rate into the outgoing NEWSEGMENT event
11654 2006-05-08 Wim Taymans <wim@fluendo.com>
11656 Patch by: Philippe Rouquier <philippero at libertysurf dot fr>
11658 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
11659 (gst_base_sink_change_state):
11660 call ::unlock before taking the PREROLL_LOCK so we can safely
11661 handle elements that lock in ::render.
11664 2006-05-08 Edward Hervey <edward@fluendo.com>
11666 * autogen.sh: (CONFIGURE_DEF_OPT):
11667 Darwin's libtoolize is in fact called glibtoolize.
11668 Adding glibtoolize to the list of accepted names for libtoolize.
11670 2006-05-08 Wim Taymans <wim@fluendo.com>
11672 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
11673 Unify error handling, don't post an error message
11674 when a push() returns EOS but perform our normal EOS
11675 handling code. Fixes #340772.
11677 2006-05-08 Wim Taymans <wim@fluendo.com>
11679 * docs/design/part-overview.txt:
11680 Make upsteam/downstream concepts more clear.
11681 Give an example of serialized/non-serialized events.
11683 * docs/design/part-events.txt:
11684 * docs/design/part-streams.txt:
11685 Mention applied_rate.
11687 * docs/design/part-trickmodes.txt:
11688 Mention applied rate, flesh out some more use cases.
11690 * gst/gstevent.c: (gst_event_new_new_segment),
11691 (gst_event_parse_new_segment), (gst_event_new_new_segment_full),
11692 (gst_event_parse_new_segment_full), (gst_event_new_tag),
11693 (gst_event_parse_tag), (gst_event_new_buffer_size),
11694 (gst_event_parse_buffer_size), (gst_event_new_qos),
11695 (gst_event_parse_qos), (gst_event_parse_seek),
11696 (gst_event_new_navigation):
11698 Add applied_rate field to NEWSEGMENT event.
11699 API: gst_event_new_new_segment_full()
11700 API: gst_event_parse_new_segment_full()
11702 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_seek),
11703 (gst_segment_set_newsegment), (gst_segment_set_newsegment_full),
11704 (gst_segment_to_stream_time), (gst_segment_to_running_time):
11705 * gst/gstsegment.h:
11706 Add applied_rate to GstSegment structure.
11707 Make calculation of stream_time and running_time more correct
11708 wrt rate/applied_rate.
11709 Add some more docs.
11710 API: GstSegment::applied_rate field
11711 API: gst_segment_set_newsegment_full();
11713 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
11714 (gst_base_sink_get_sync_times), (gst_base_sink_get_position):
11715 * libs/gst/base/gstbasetransform.c:
11716 (gst_base_transform_sink_eventfunc),
11717 (gst_base_transform_handle_buffer):
11718 Parse and use applied_rate in the GstSegment field.
11720 * tests/check/gst/gstevent.c: (GST_START_TEST):
11721 Add check for applied_rate field.
11723 * tests/check/gst/gstsegment.c: (GST_START_TEST),
11724 (gstsegments_suite):
11725 Add more checks for various GstSegment operations.
11727 2006-05-08 Wim Taymans <wim@fluendo.com>
11729 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
11730 (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked),
11731 (gst_base_sink_get_position), (gst_base_sink_change_state):
11732 Store the sync time of the buffer end position separatly in a
11733 new variable eos_rtime so we can properly sync the EOS event.
11735 Fix the docs for gst_base_sink_set_qos_enabled().
11736 Don't set segment start to invalid value when we receive a
11737 non TIME newsegment.
11738 get closer to handling position reporting for negative rates
11741 2006-05-07 Stefan Kost <ensonic@users.sf.net>
11744 Docs about how to print caps for debug purposes.
11746 * gst/gstpadtemplate.c: (gst_static_pad_template_get):
11747 use gst_caps_make_writable instead of gst_caps_copy, Fixes #340608
11749 2006-05-07 Stefan Kost <ensonic@users.sf.net>
11751 * gst/gstelement.c:
11752 use full enum names and preprend a '%' in docs strings to make recent
11753 gtk-doc turn that into a link
11755 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
11757 * docs/manual/basics-bins.xml:
11758 * docs/manual/basics-bus.xml:
11759 * docs/manual/basics-pads.xml:
11760 Some typo fixes, some additions, some clarifications.
11762 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
11764 * tools/gst-inspect.c: (main):
11765 * tools/gst-launch.c: (main):
11766 * tools/gst-run.c: (main):
11767 * tools/gst-typefind.c: (main):
11768 * tools/gst-xmlinspect.c: (main):
11769 Use the string passed to g_option_context_new() for
11770 what it's intended for - the program name is already
11773 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
11775 * tools/Makefile.am:
11776 * tools/gst-inspect.c: (main):
11777 * tools/gst-launch.c: (main):
11778 * tools/gst-xmlinspect.c: (main):
11780 Add back --version command line option (#340460).
11782 * tools/gst-typefind.c: (have_type_handler), (typefind_file), (main):
11783 Add --version option and use GOption for argument parsing; refactor a
11784 bit; accept directories as arguments and recurse into them; lastly,
11785 print a decent error message when things go wrong.
11787 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
11789 * docs/manual/basics-bins.xml:
11790 Don't mention GstThread (#340611)
11791 * docs/manual/basics-elements.xml:
11792 Update link to GObject tutorial (#340607)
11794 2006-05-05 Wim Taymans <wim@fluendo.com>
11797 * gst/gstminiobject.c:
11798 Add note about refcounting and miniobject/buffer writeability
11799 to docs. Fixes #340604
11801 * gst/gstelementfactory.h:
11802 Added some explanation about @klass.
11804 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
11806 * docs/manual/intro-motivation.xml:
11807 * docs/manual/manual.xml:
11808 Avoid CORBA & Bonobo references (#340598)
11810 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
11812 * docs/manual/basics-bus.xml:
11813 * docs/manual/basics-pads.xml:
11814 Fix up some inaccuracies and omissions (#340609)
11816 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
11818 * gst/gstghostpad.c:
11819 Small typo in docs (#340625)
11821 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
11823 * gst/parse/Makefile.am:
11824 Make 'make -j' proof (see #340698).
11826 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
11829 Require GLib-2.8 here as well.
11831 2006-05-05 Wim Taymans <wim@fluendo.com>
11833 * gst/glib-compat.c:
11834 * gst/gst.c: (init_pre):
11835 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
11836 (gst_object_unref), (gst_object_replace), (gst_object_dispose),
11837 (gst_object_dispatch_properties_changed):
11839 * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
11840 * gst/gststructure.c: (gst_structure_set_valist):
11841 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
11842 Remove pre glib2.8 compatibility, fixes #340508
11844 2006-05-04 Tim-Philipp Müller <tim at centricular dot net>
11846 * gst/gsttaglist.h:
11847 Mention type of tags in doc blurbs.
11849 2006-05-04 Jan Schmidt <thaytan@mad.scientist.com>
11851 * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
11852 (gst_pad_configure_src), (gst_pad_push):
11853 Restore acceptcaps checking behaviour now that good plugins have
11856 2006-05-04 Tim-Philipp Müller <tim at centricular dot net>
11858 Patch by: James Andrewartha <trs80 at tartarus uwa edu au>
11865 * gst/gstmessage.c:
11869 * gst/parse/Makefile.am:
11870 * libs/gst/base/gstadapter.c:
11871 * libs/gst/base/gstbasesrc.c:
11872 * libs/gst/base/gstpushsrc.c:
11873 * libs/gst/base/gsttypefindhelper.c:
11874 * plugins/elements/gstfakesrc.c:
11875 * plugins/elements/gstidentity.c:
11876 Make sure gstprivate.h and/or config.h are
11877 always included first, otherwise some of our
11878 defines (like _FILE_OFFSET_BITS) might be
11879 redefined in the system headers. Fixes build
11880 on opensolaris (#340016).
11882 2006-05-04 Wim Taymans <wim@fluendo.com>
11884 * docs/libs/gstreamer-libs-sections.txt:
11885 API: addition: gst_adapter_take_buffer()
11887 * libs/gst/base/gstadapter.c: (gst_adapter_push),
11888 (gst_adapter_peek), (gst_adapter_take), (gst_adapter_take_buffer),
11889 (gst_adapter_available_fast):
11890 * libs/gst/base/gstadapter.h:
11891 Prepare for optimizing the hell out of this hugely inefficient
11893 Added gst_adapter_take_buffer() so we can at least start thinking
11894 about subbuffering and merging.
11895 Added some comments.
11897 * tests/check/Makefile.am:
11898 * tests/check/libs/adapter.c: (GST_START_TEST),
11899 (gst_adapter_suite), (main):
11900 Added GstAdapter check.
11902 2006-05-04 Wim Taymans <wim@fluendo.com>
11904 * docs/design/part-overview.txt:
11905 Fix some typos, add blurb about buffer flags.
11907 2006-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
11909 * docs/libs/gstreamer-libs-sections.txt:
11910 make sure GstBaseTransformClass shows up in the docs
11911 * libs/gst/base/gstbasetransform.c:
11912 * libs/gst/base/gstbasetransform.h:
11913 move docs so gtk-doc picks it up now
11915 2006-05-02 Stefan Kost <ensonic@users.sf.net>
11917 * docs/libs/gstreamer-libs-sections.txt:
11918 add missing symbols to docs
11920 2006-05-02 Stefan Kost <ensonic@users.sf.net>
11922 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
11923 back out the newsegment handling change, see #340060 for ongoing
11926 2006-04-30 Tim-Philipp Müller <tim at centricular dot net>
11928 * tools/gst-run.c: (get_candidates), (main):
11929 Fix wrong g_file_test() usage (see glib docs for why it doesn't
11930 work); fix typo in error message. Fixes #340079.
11932 2006-04-29 Thomas Vander Stichele <thomas at apestaart dot org>
11934 * common/Makefile.am:
11935 * docs/Makefile.am:
11936 * docs/faq/Makefile.am:
11937 * docs/gst/Makefile.am:
11938 * docs/libs/Makefile.am:
11939 * docs/manual/Makefile.am:
11940 * docs/plugins/Makefile.am:
11941 * docs/pwg/Makefile.am:
11942 * docs/slides/Makefile.am:
11944 * common/upload.mak:
11945 move upload.mak to common
11947 2006-04-29 Thomas Vander Stichele <thomas at apestaart dot org>
11949 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
11950 add more asserts on refcounts
11951 do more cleanup at end of tests
11952 fix test leaks showing in FC5
11954 2006-04-29 Stefan Kost <ensonic@users.sf.net>
11956 * plugins/elements/gsttypefindelement.c:
11957 (gst_type_find_element_handle_event):
11958 reverted wrong change and reflowed code to avoid others falling into
11961 2006-04-28 Stefan Kost <ensonic@users.sf.net>
11963 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
11964 fix changelog entry about last collectpads change,
11965 add notes about proper fix
11967 2006-04-28 Stefan Kost <ensonic@users.sf.net>
11970 * gst/gstregistry.c: (gst_registry_scan_path_level),
11971 (gst_registry_scan_path):
11972 * gst/gstregistry.h:
11973 only write out registry if it has changed, fixes #338339
11975 2006-04-28 Stefan Kost <ensonic@users.sf.net>
11978 * gst/gstpipeline.c:
11979 * plugins/elements/gstcapsfilter.c:
11980 * plugins/elements/gstfakesink.c:
11981 * plugins/elements/gstfakesrc.c:
11982 * plugins/elements/gstfdsink.c:
11983 * plugins/elements/gstfdsrc.c:
11984 * plugins/elements/gstfilesink.c:
11985 * plugins/elements/gstfilesrc.c:
11986 * plugins/elements/gstidentity.c:
11987 * plugins/elements/gstqueue.c:
11988 * plugins/elements/gsttee.c:
11989 * plugins/elements/gsttypefindelement.c:
11990 (gst_type_find_element_handle_event):
11991 make GstElementDetails const
11993 2006-04-28 Stefan Kost <ensonic@users.sf.net>
11995 * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
11996 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
11997 (gst_collect_pads_is_collected), (gst_collect_pads_event):
11998 more detailed debug and formatting cleanup,
11999 forward newsegments to src-pad (so that e.g. adder not eats them)
12001 2006-04-28 Stefan Kost <ensonic@users.sf.net>
12003 * gst/gstutils.c: (gst_element_link_pads):
12004 cleanup double code
12006 2006-04-28 Stefan Kost <ensonic@users.sf.net>
12008 * libs/gst/controller/gstcontroller.c:
12009 (gst_controller_sync_values):
12011 * tests/check/libs/controller.c: (GST_START_TEST),
12012 (gst_controller_suite):
12013 a new test for live value handling
12015 2006-04-28 Wim Taymans <wim@fluendo.com>
12017 * gst/gstutils.c: (push_and_ref):
12018 Added some more docs.
12019 Fix refcount issue whith gst_element_found_tags() helper
12020 function. Fixes #338335
12022 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
12023 Added testsuite for gst_element_found_tags().
12025 2006-04-28 Michael Smith <msmith@fluendo.com>
12027 * gst/gstvalue.c: (gst_value_serialize_flags):
12028 Avoid NULL dereference when trying to serialize flags containing
12031 2006-04-28 Michael Smith <msmith@fluendo.com>
12033 * plugins/elements/gsttypefindelement.c:
12034 (gst_type_find_element_handle_event):
12035 If we get EOS before any data is accumulated, don't use
12036 uninitialised local variables.
12038 2006-04-28 Michael Smith <msmith@fluendo.com>
12040 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
12041 (gst_dp_event_from_packet):
12042 Fixes in reading/writing events over GDP (not currently used?) -
12043 dereferencing NULL events for unknown/invalid event types, memory
12044 leak, and change g_warning to GST_WARNING.
12046 2006-04-28 Wim Taymans <wim@fluendo.com>
12048 * libs/gst/base/gstbasesink.c: (gst_base_sink_is_too_late),
12049 (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
12050 (gst_base_sink_get_position), (gst_base_sink_change_state):
12051 When frame dropping is enabled, we should not ignore frames
12052 without a duration.
12053 Update some documentation.
12055 2006-04-28 Wim Taymans <wim@fluendo.com>
12057 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
12058 (gst_base_src_send_event), (gst_base_src_change_state):
12059 Documentation updates.
12061 2006-04-28 Wim Taymans <wim@fluendo.com>
12063 * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
12064 (gst_fd_sink_check_fd), (gst_fd_sink_update_fd):
12065 handle EAGAIN, EINTR and short writes correctly. Also clean
12066 up some error cases, avoid a deadlock on bad file descriptors and
12067 use GST_DEBUG_OBJECT.
12070 2006-04-28 Wim Taymans <wim@fluendo.com>
12072 * gst/gstvalue.c: (gst_value_serialize_buffer),
12073 (gst_value_deserialize_buffer):
12074 Don't try to serialize a GValue with a NULL buffer.
12077 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
12078 Added check for serialisation of NULL buffers.
12080 2006-04-28 Wim Taymans <wim@fluendo.com>
12082 * gst/gstminiobject.c: (gst_value_take_mini_object):
12083 Taking a NULL miniobject is valid, fix the case where
12084 we try to unref the NULL miniobject.
12086 2006-04-28 Wim Taymans <wim@fluendo.com>
12088 Patch by: Stefan Kost <ensonic at sonicpulse dot de>
12090 * gst/gstbin.c: (gst_bin_handle_message_func):
12092 Don't leak bin refcount when a state recalc is
12093 in progress and we delay another one #339808.
12095 2006-04-28 Wim Taymans <wim@fluendo.com>
12097 * docs/design/part-TODO.txt:
12098 Mention QoS as an ongoing work item.
12100 * docs/design/part-buffering.txt:
12101 New doc about buffering that needs to be fleshed out
12104 * docs/design/part-qos.txt:
12105 More QoS policy for decoders/demuxers/transforms
12107 * docs/design/part-trickmodes.txt:
12110 2006-04-28 Thomas Vander Stichele <thomas at apestaart dot org>
12115 === release 0.10.5 ===
12117 2006-04-28 Thomas Vander Stichele <thomas at apestaart dot org>
12120 releasing 0.10.5, "Fogo"
12122 2006-04-22 Thomas Vander Stichele <thomas at apestaart dot org>
12124 patch by: Wim Taymans
12126 * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
12127 (gst_pad_configure_src), (gst_pad_push):
12128 * gst/gstpipeline.c: (gst_pipeline_init):
12129 Fix internal data flow errors. Fixes #338711.
12131 2006-04-12 Wim Taymans <wim@fluendo.com>
12133 * tests/check/gst/gstelement.c: (GST_START_TEST):
12134 Don't leak the factory.
12136 2006-04-12 Thomas Vander Stichele <thomas at apestaart dot org>
12139 * win32/common/config.h:
12142 2006-04-12 Tim-Philipp Müller <tim at centricular dot net>
12144 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
12145 (gst_controller_unset_all):
12146 Free allocated GstTimedValues when freeing list nodes.
12147 Should fix leaks 'make check-valgrind' complains about.
12149 * win32/common/libgstcontroller.def:
12150 Add gst_controller_unset_all.
12152 2006-04-11 Stefan Kost <ensonic@users.sf.net>
12154 * docs/libs/gstreamer-libs-sections.txt:
12155 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
12156 (gst_controller_unset_all):
12157 * libs/gst/controller/gstcontroller.h:
12158 API: Added new method gst_controller_unset_all()
12159 fixed gst_controller_unset()
12160 * tests/check/libs/controller.c: (GST_START_TEST),
12161 (gst_controller_suite):
12162 Added two testcases for new and fixed method
12164 2006-04-11 Tim-Philipp Müller <tim at centricular dot net>
12166 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
12167 MSG_DONTWAIT is not defined on Cygwin, so work
12168 around that (fixes #317048).
12170 2006-04-11 Wim Taymans <wim@fluendo.com>
12172 * gst/gstelementfactory.c: (gst_element_register),
12173 (gst_element_factory_create), (gst_element_factory_make):
12176 Updated docs (Fixes #131079)
12178 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
12181 * tests/check/gst/gstelement.c: (GST_START_TEST),
12182 (gst_element_suite):
12183 Added testcase for elementfactory class field.
12185 2006-04-10 Wim Taymans <wim@fluendo.com>
12187 * gst/gstsegment.c:
12188 Added some more docs.
12190 * libs/gst/base/gstbasesink.c: (gst_base_sink_perform_qos),
12191 (gst_base_sink_reset_qos):
12192 Calculate more accurate rate values.
12194 2006-04-09 Sebastien Moutte <sebastien@moutte.net>
12196 * gst/gst_private.h:
12197 add a new #ifdef to use __declspec(dllimport) only for
12198 other modules and not for gstreamer core
12199 * gst/gstbasesink.c: (gst_base_sink_perform_qos):
12200 use gst_guint64_to_gdouble for conversion
12201 * win32/common/libgstreamer.def:
12202 add new exported functions
12203 * win32/vs6/gst_inspect.dsp:
12204 * win32/vs6/gst_launch.dsp:
12205 * win32/vs6/libgstbase.dsp:
12206 * win32/vs6/libgstcontroller.dsp:
12207 * win32/vs6/libgstcoreelements.dsp:
12208 * win32/vs6/libgstdataprotocol.dsp:
12209 * win32/vs6/libgstnet.dsp:
12210 update project files
12212 2006-04-08 Stefan Kost <ensonic@users.sf.net>
12214 * gst/gstbuffer.c: (gst_subbuffer_class_init):
12215 * gst/gstclock.c: (gst_clock_class_init):
12216 * gst/gstelement.c: (gst_element_class_init):
12217 * gst/gstindex.c: (gst_index_class_init):
12218 * gst/gstindexfactory.c: (gst_index_factory_class_init):
12219 * gst/gstobject.c: (gst_object_class_init),
12220 (gst_signal_object_class_init):
12221 * gst/gstpad.c: (gst_pad_class_init):
12222 * gst/gstpadtemplate.c: (gst_pad_template_class_init):
12223 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init):
12224 * gst/gstregistry.c: (gst_registry_class_init):
12225 * gst/gstsystemclock.c: (gst_system_clock_class_init):
12226 * gst/gsttask.c: (gst_task_class_init):
12227 * gst/gstxml.c: (gst_xml_class_init):
12228 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
12229 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
12230 (gst_base_src_loop):
12231 * libs/gst/controller/gstcontroller.c:/
12232 (_gst_controller_class_init):
12233 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
12234 * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
12235 * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init):
12236 * tests/old/examples/plugins/example.c: (gst_example_class_init):
12237 * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
12238 Fix #337365 (g_type_class_ref <-> g_type_class_peek_parent)
12240 2006-04-08 Tim-Philipp Müller <tim at centricular dot net>
12242 * gst/gstpad.c: (gst_pad_link):
12243 Must set peer pads before calling the link function, otherwise
12244 a task started from a link function might get a flow-not-linked
12245 result when trying to push because the other thread where the
12246 linking happens hasn't had a chance to set the peers yet. This
12247 might happen for example when a queue gets linked to a downstream
12248 element, as queue starts a streaming task when its source pad
12249 gets linked. Happens in real life when playing back flac/musepack
12250 files in playbin (#332390).
12252 2006-04-08 Stefan Kost <ensonic@users.sf.net>
12256 * libs/gst/base/gstadapter.h:
12257 * libs/gst/base/gstbasesink.h:
12258 * libs/gst/base/gstbasesrc.h:
12259 * libs/gst/base/gstbasetransform.h:
12260 * libs/gst/base/gstcollectpads.h:
12261 * libs/gst/base/gstpushsrc.h:
12262 Fix broken GObject macros
12264 2006-04-07 Wim Taymans <wim@fluendo.com>
12266 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
12267 Initialize start and stop times, thanks valgrind.
12269 2006-04-07 Wim Taymans <wim@fluendo.com>
12271 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
12272 Be a bit nicer to badly behaving upstream elements that expect
12273 us to deal with non TIME segments and timestamps (such as fakesrc
12276 2006-04-07 Wim Taymans <wim@fluendo.com>
12279 Small documentation clarification about the signal watch.
12281 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
12282 (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
12283 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
12284 (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
12285 (gst_base_sink_get_position_last),
12286 (gst_base_sink_get_position_paused), (gst_base_sink_change_state):
12287 Convert and store timestamps in stream time and running time, the
12288 raw timestamps are not useful, also document this better.
12289 Use different window sizes for good and bad QoS observations so
12290 we react to badness a little quicker.
12291 Keep track of the amount of rendered and dropped buffers.
12292 Send QoS timestamps in running time.
12294 * libs/gst/base/gstbasetransform.c:
12295 (gst_base_transform_sink_eventfunc),
12296 (gst_base_transform_handle_buffer):
12297 Compare QoS timestamps against running time.
12299 2006-04-06 Tim-Philipp Müller <tim at centricular dot net>
12302 Typo fixes in docs.
12304 2006-04-06 Michael Smith <msmith@fluendo.com>
12306 * gst/gstpad.c: (gst_pad_set_property):
12307 Use g_value_get_object() instead of g_value_dup_gst_object(),
12308 to avoid double-reffing the pad template (which we then sink,
12309 so this worked previously if (and only if) the pad template
12312 * gst/gstpadtemplate.c: (gst_pad_template_init),
12313 (gst_pad_template_pad_created):
12314 Never return floating references to pad templates, create
12315 them as initially-sunken.
12317 Document an extra function (and make this stop sinking our
12318 pad template, since that is now guaranteed to do nothing,
12319 since we created it sunken).
12321 * gst/gstghostpad.c:
12324 2006-04-06 Tim-Philipp Müller <tim at centricular dot net>
12326 * gst/gstinfo.c: (__gst_in_valgrind):
12329 * plugins/elements/gsttypefindelement.c:
12330 (gst_type_find_element_chain):
12331 Don't leak buffer caps.
12333 2006-04-06 Michael Smith <msmith@fluendo.com>
12335 * gst/parse/grammar.y:
12336 Fix a leak in parse-launch for any source-or-sink named element
12339 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
12340 Unref the pipeline if it exists after we've failed parsing.
12342 2006-04-05 Michael Smith <msmith@fluendo.com>
12344 * gst/gstpipeline.c: (gst_pipeline_init):
12345 When we create a pipeline bus, initially create it in flushing mode.
12346 Fixes leaks in at least one test, and makes a new pipeline work the
12347 same as one that has gone to READY and then back to NULL.
12349 * gst/gstelement.c:
12352 2006-04-05 Michael Smith <msmith@fluendo.com>
12354 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
12355 Unref a pad we reffed.
12356 * tests/check/gst/gstutils.c: (GST_START_TEST):
12359 2006-04-05 Michael Smith <msmith@fluendo.com>
12361 * gst/gstquery.c: (gst_query_set_formats),
12362 (gst_query_set_formatsv):
12363 Fix leaking GValues in queries, as shown by valgrind/testsuite.
12365 2006-04-05 Michael Smith <msmith@fluendo.com>
12367 * tests/check/generic/sinks.c: (GST_START_TEST):
12368 Fix a variety of memleaks in sinks check, which are only sometimes
12369 shown by running the tests under valgrind (weird?).
12371 2006-04-05 Jan Schmidt <thaytan@mad.scientist.com>
12373 * docs/version.entities.in:
12374 Fix the substituted entity name after thomas' changes on the
12377 2006-04-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
12379 * gst/gstinfo.c: (__gst_in_valgrind): Use printf instead of
12382 2006-04-05 Andy Wingo <wingo@pobox.com>
12384 * gst/gstpad.c (gst_pad_set_blocked_async): More debug.
12386 * libs/gst/base/gstbasetransform.c
12387 (gst_base_transform_sink_eventfunc): When resetting our segment on
12388 FLUSH_STOP, also update the flag saying we haven't seen a
12391 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
12393 Patch by: Paolo Borelli <pborelli at katamail dot com>
12395 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
12396 (gst_plugin_check_license):
12397 minor clean-ups: G_DEFINE_TYPE already takes care of the
12398 parent_class stuff, no need to do it twice. Mark array of
12399 license strings as constant. (#337103)
12401 2006-04-04 Michael Smith <msmith@fluendo.com>
12403 * tools/gst-inspect.c: (print_element_list):
12404 Free the right plugin list; fixes a memory leak.
12406 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
12408 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
12410 * plugins/elements/gstfilesink.c: (gst_file_sink_render):
12411 Don't error out on empty buffers (#336945).
12413 2006-04-04 Jan Schmidt <thaytan@mad.scientist.com>
12415 * docs/libs/gstreamer-libs-sections.txt:
12416 * gst/gsttaglist.c:
12417 * libs/gst/base/gstbasesink.c:
12418 * libs/gst/base/gstbasesink.h:
12419 * libs/gst/base/gstbasesrc.c:
12420 * libs/gst/base/gstbasesrc.h:
12421 Documentation updates. Make BaseSink and BaseSrc docs contain the
12422 class structure so that people can actually see the prototypes for
12423 virtual functions they're supposed to be overriding.
12425 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
12427 * plugins/elements/gsttypefindelement.c:
12428 (gst_type_find_element_chain):
12429 More debug info; when skipping typefinding, send cached
12430 events in all cases.
12432 2006-04-01 Thomas Vander Stichele <thomas at apestaart dot org>
12435 use new AS_VERSION and AS_NANO macros
12436 * gst/gst-i18n-lib.h:
12439 * gst/gstversion.h.in:
12440 * win32/common/config.h:
12441 * win32/common/config.h.in:
12444 2006-03-31 Michael Smith <msmith@fluendo.com>
12446 * plugins/elements/gsttypefindelement.c:
12447 (gst_type_find_element_chain):
12448 Do not typefind content if the buffers already have caps.
12449 Neccesary for icydemux (#333657), and the right thing to do anyway.
12451 2006-03-30 Wim Taymans <wim@fluendo.com>
12453 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
12454 (gst_base_sink_finalize), (gst_base_sink_set_qos_enabled),
12455 (gst_base_sink_is_qos_enabled), (gst_base_sink_do_sync),
12456 (gst_base_sink_record_qos_observation),
12457 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
12458 (gst_base_sink_is_too_late), (gst_base_sink_render_object),
12459 (gst_base_sink_change_state):
12460 More QoS measurements as described in the design doc.
12461 Get rid of ringbuffer with observations, running average is
12462 more simple and equally good.
12463 Calculates valid proportion now.
12464 Added beginning of flood measurement.
12466 2006-03-29 Wim Taymans <wim@fluendo.com>
12468 * docs/design/part-qos.txt:
12470 Small documentation updates and additions.
12472 2006-03-29 Wim Taymans <wim@fluendo.com>
12474 * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
12475 (gst_base_src_send_event), (gst_base_src_loop),
12476 (gst_base_src_change_state):
12477 Perform the EOS logic when we reach the segment stop position.
12478 Fix compilation on gcc4.1
12480 2006-03-29 Wim Taymans <wim@fluendo.com>
12482 Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
12484 * plugins/elements/gstqueue.c: (gst_queue_init),
12485 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
12486 (gst_queue_set_property):
12487 * plugins/elements/gstqueue.h:
12488 In queue, when EOS is received, if minimum threshold > max_size -
12489 current_level, there is chance that queue blocks forever in conditional
12490 item del wait. This is because the queue is not emptied completely due
12491 to minimum threshold. Here is another approach. Instead of setting
12492 cur_levels to max in EOS, just zero all minimum threshold levels. This
12493 should make sure that queue gives out all data. When going to READY
12494 (stop) state, just reset the original minimum threshold levels.
12497 2006-03-29 Tim-Philipp Müller <tim at centricular dot net>
12499 * plugins/elements/gsttypefindelement.c: (stop_typefinding),
12500 (gst_type_find_element_handle_event),
12501 (gst_type_find_element_send_cached_events),
12502 (gst_type_find_element_change_state):
12503 * plugins/elements/gsttypefindelement.h:
12504 When typefinding is done in push mode, we should cache
12505 events we receive during typefinding instead of just
12506 dropping them (e.g. newsegment, custom events from
12507 dvdreadsrc etc.) and then send them out once we've
12508 determined the type of the stream (and decodebin
12509 has had a chance to plug in a decoder/demuxer).
12511 2006-03-27 Wim Taymans <wim@fluendo.com>
12513 * docs/design/part-qos.txt:
12516 2006-03-27 Wim Taymans <wim@fluendo.com>
12518 Inspired by a patch of: Lutz Mueller <lutz at topfrose dot de>
12520 * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
12521 (gst_base_src_send_event), (gst_base_src_change_state):
12522 Handle element seek correctly when we are streaming.
12525 2006-03-24 Michael Smith <msmith@fluendo.com>
12527 * docs/faq/gst-uninstalled:
12528 Set up LD_LIBRARY_PATH to point at all the gstreamer libs. This will
12529 allow you to correctly run intalled applications built against old
12530 core, using plugins that require updated core (e.g. running
12531 installed totem against a full uninstalled gstreamer stack)
12533 2006-03-24 Stefan Kost <ensonic@users.sf.net>
12535 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
12538 2006-03-24 Wim Taymans <wim@fluendo.com>
12540 * docs/gst/gstreamer-sections.txt:
12541 Rearrange the order of the methods so that related methods
12542 are grouped together in sections.
12544 2006-03-24 Stefan Kost <ensonic@users.sf.net>
12546 * gst/gstelement.c:
12547 Little clarification in the docs
12549 2006-03-24 Stefan Kost <ensonic@users.sf.net>
12553 * plugins/elements/gstidentity.c:
12554 * plugins/elements/gstqueue.c:
12555 * plugins/elements/gsttee.c:
12556 * plugins/elements/gsttypefindelement.c:
12557 GST_ELEMENT_DETAILS formatting
12559 2006-03-24 Wim Taymans <wim@fluendo.com>
12561 * libs/gst/base/gstbasesink.h:
12562 Only add fields, not insert or we break ABI.
12564 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
12566 * win32/common/libgstbase.def:
12567 * win32/common/libgstreamer.def:
12568 Update, add recently added functions.
12570 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
12572 * docs/gst/gstreamer-sections.txt:
12573 * gst/gstutils.c: (gst_pad_query_peer_position),
12574 (gst_pad_query_peer_duration), (gst_pad_query_peer_convert):
12576 API: add some new utility functions:
12577 - gst_pad_query_peer_position()
12578 - gst_pad_query_peer_duration()
12579 - gst_pad_query_peer_convert()
12581 2006-03-23 Wim Taymans <wim@fluendo.com>
12583 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
12584 (gst_base_sink_init), (gst_base_sink_finalize),
12585 (gst_base_sink_set_qos_enabled), (gst_base_sink_is_qos_enabled),
12586 (gst_base_sink_set_property), (gst_base_sink_get_property),
12587 (gst_base_sink_commit_state), (gst_base_sink_get_sync_times),
12588 (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
12589 (gst_base_sink_add_qos_observation), (gst_base_sink_send_qos),
12590 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
12591 (gst_base_sink_is_too_late), (gst_base_sink_render_object),
12592 (gst_base_sink_preroll_object), (gst_base_sink_event),
12593 (gst_base_sink_chain_unlocked), (gst_base_sink_get_position_last),
12594 (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
12595 (gst_base_sink_query), (gst_base_sink_change_state):
12596 Decouple max-lateness and the fact that QoS messages are generated
12597 with a new property (qos).
12598 added API: GstBaseSink::async_play()
12599 Add vmethod so subclasses can be notified of ASYNC playing
12601 Collect timestamp start and stop to report better current
12602 position in EOS/PLAYING/PAUSED/READY/NULL.
12603 Refactor QoS/frame dropping and other measurements.
12604 API: GstBaseSrc::qos
12607 * libs/gst/base/gstbasesink.h:
12608 Added Private struct.
12609 API: gst_base_sink_set_qos_enabled()
12610 API: gst_base_sink_is_qos_enabled()
12612 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
12614 * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
12615 If compiling against GLib-2.8 or newer, try to read the
12616 registry file using GMappedFile first before falling back
12617 to fopen() + fread() (#332151).
12619 2006-03-22 Wim Taymans <wim@fluendo.com>
12621 * gst/gstinfo.c: (gst_debug_set_active),
12622 (gst_debug_category_set_threshold):
12623 Disable debugging unless explicitly activated.
12626 2006-03-22 Wim Taymans <wim@fluendo.com>
12628 * gst/gstelement.c: (gst_element_set_locked_state),
12629 (gst_element_dispose):
12630 Cleanup the error case.
12632 * gst/gstobject.c: (gst_object_dispose):
12633 print a critical when some object was disposed with
12634 a parent, also revive the object since it might
12637 2006-03-22 Tim-Philipp Müller <tim at centricular dot net>
12639 * tools/gst-launch.1.in:
12642 2006-03-21 Thomas Vander Stichele <thomas at apestaart dot org>
12645 * tests/check/Makefile.am:
12646 disable some tests when we don't have a registry
12647 * tests/check/gst/gstutils.c: (gst_utils_suite):
12648 don't build the part that needs parsing
12650 2006-03-21 Thomas Vander Stichele <thomas at apestaart dot org>
12653 * tests/examples/Makefile.am:
12654 fix --disable-parse build
12656 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
12658 * tools/gst-feedback.1.in:
12659 Fix typo: s/feeback/feedback/ (#133494).
12661 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
12663 * tools/Makefile.am:
12664 * tools/gst-launch.1.in:
12665 Add FILES section and correct entry about GST_REGISTRY_PATH
12666 environment variable (#133495; #133494).
12668 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
12670 * tools/Makefile.am:
12671 * tools/gst-md5sum.1.in:
12672 * tools/gst-md5sum.c:
12673 Remove gst-md5sum and man page (the md5sink element
12674 required was removed ages ago)
12676 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
12678 * gst/gststructure.c: (gst_structure_id_set_value):
12679 Make sure that string fields in structures/taglists
12680 contain valid UTF-8 - we don't want to pass rubbish to
12681 applications because of a buggy plugin (cp. #334167).
12683 2006-03-21 Edward Hervey <edward@fluendo.com>
12685 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
12686 (gst_bin_handle_message_func):
12687 * gst/gstclock.c: (gst_clock_dispose), (gst_clock_set_master):
12688 * gst/gstelement.c: (gst_element_set_clock), (gst_element_dispose),
12689 (gst_element_set_bus_func):
12690 * gst/gstghostpad.c: (gst_proxy_pad_dispose):
12691 * gst/gstminiobject.c: (gst_value_set_mini_object),
12692 (gst_value_take_mini_object):
12693 * gst/gstpad.c: (gst_pad_set_pad_template):
12694 * gst/gstpipeline.c: (gst_pipeline_dispose),
12695 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
12696 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop),
12697 (gst_collect_pads_chain):
12698 * libs/gst/net/gstnettimeprovider.c:
12699 (gst_net_time_provider_set_property):
12700 Series of fixes for dereferenced pointers that gcc 4.1 complains about.
12701 It's in fact all issues with gst_*object_replace().
12703 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
12705 Patch by: Loïc Minier <lool + gnome at via dot ecp dot fr>
12707 * pkgconfig/gstreamer-check-uninstalled.pc.in:
12708 * pkgconfig/gstreamer-check.pc.in:
12709 Use @CHECK_LIBS@ here instead of hard-coding -lcheck (#334109).
12711 2006-03-21 Edward Hervey <edward@fluendo.com>
12715 * gst/gstmessage.h:
12716 gst_[buffer|event|message]_ref() macros are replaced by a static
12717 inline functions because gcc-4.1 will about if the return value
12719 * tests/check/gst/gstevent.c: (event_probe):
12720 gst_event_ref now has to be given a GstEvent* , fix check accordingly.
12722 2006-03-20 Jan Schmidt <thaytan@mad.scientist.com>
12725 Add G_UNLIKELY to our boilerplate to optimise the 'already registered
12726 the type' case. (Closes: #335195 for now). In the future, when we
12727 depend on GLib 2.10, we could also intern the type name using
12728 g_intern_static_string()
12730 2006-03-20 Wim Taymans <wim@fluendo.com>
12732 * gst/gstbin.c: (gst_bin_handle_message_func),
12733 (bin_query_max_init), (bin_query_position_fold),
12734 (bin_query_position_done), (gst_bin_query):
12735 Position query should also take max of all streams.
12737 2006-03-20 Wim Taymans <wim@fluendo.com>
12739 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
12740 (gst_fake_src_finalize):
12741 Fix leaks in fakesrc.
12743 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
12744 Fix leaks in the testcase.
12746 2006-03-19 Sebastien Moutte <sebastien@moutte.net>
12748 * gst/gst_private.h:
12749 add win32 specific import decoration(__declspec(dllimport))
12750 for all extern GstDebugCategory * variables
12751 * win32/common/libgstbase.def:
12752 * win32/common/libgstcontroller.def:
12753 * win32/common/libgstreamer.def:
12754 Add some exports, remove empty lines
12755 * win32/common/libgstdataprotocol.def:
12756 * win32/common/libgstdataprotocol.dsp:
12757 * win32/common/libgstnet.def:
12758 * win32/common/libgstnet.dsp:
12759 new project files and exportation files added
12761 2006-03-19 Wim Taymans <wim@fluendo.com>
12763 * tests/check/libs/basesrc.c: (eos_event_counter):
12764 Use proper return value for probe.
12766 2006-03-17 Wim Taymans <wim@fluendo.com>
12768 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
12770 Don't leak buffers, caps and pads on negotiation errors.
12772 2006-03-16 Stefan Kost <ensonic@users.sf.net>
12774 * docs/faq/cvs.xml:
12775 * docs/faq/dependencies.xml:
12776 * docs/faq/developing.xml:
12777 * docs/faq/faq.xml:
12778 * docs/faq/general.xml:
12779 * docs/faq/getting.xml:
12780 * docs/faq/legal.xml:
12781 * docs/faq/troubleshooting.xml:
12782 * docs/faq/using.xml:
12783 Faq review and update.
12785 2006-03-16 Jan Schmidt <thaytan@mad.scientist.com>
12787 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
12789 Don't pound the cpu to pieces by checking get_caps when accept_caps
12790 is called with the same caps as the pad already has.
12791 Use GST_DEBUG_OBJECT when outputting caps change information.
12793 2006-03-15 Wim Taymans <wim@fluendo.com>
12795 * gst/gstclock.c: (gst_clock_class_init):
12798 2006-03-15 Jan Schmidt <thaytan@mad.scientist.com>
12803 * gst/gstpad.c: (gst_pad_init), (gst_pad_acceptcaps_default),
12804 (gst_pad_accept_caps), (gst_pad_configure_sink),
12805 (gst_pad_configure_src), (gst_pad_chain), (gst_pad_push):
12806 Make the default acceptcaps behaviour be to check the requested
12807 caps against the gst_pad_get_caps output.
12809 Ensure that gst_pad_accept_caps is used to check caps when a pad
12810 doesn't have a setcaps function, so that pads automatically refuse
12811 caps that they don't allow in their pad template. (Fixes #332986)
12813 When a buffer with attached caps is pushed, ensure that the source
12814 pad receives those caps even if the element didn't call
12815 gst_pad_set_caps first.
12817 2006-03-15 Wim Taymans <wim@fluendo.com>
12819 * libs/gst/base/gstadapter.c:
12822 2006-03-15 Tim-Philipp Müller <tim at centricular dot net>
12824 * win32/common/libgstbase.def:
12825 * win32/common/libgstcontroller.def:
12826 * win32/common/libgstreamer.def:
12827 Add a whole bunch of missing functions (#334434).
12829 2006-03-14 Wim Taymans <wim@fluendo.com>
12831 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
12832 (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
12833 (gst_base_sink_do_sync), (gst_base_sink_do_qos):
12834 Better debug info when we receive a segment event.
12835 Reorganize a bit so we can pass the get_times() results around.
12836 Use the segment format when calculating the running time.
12837 Don't do QoS is sync is disabled or we have no clock or the
12838 element does not want us to sync to the clock.
12839 Don't drop buffers if QoS is disabled for now.
12841 2006-03-14 Wim Taymans <wim@fluendo.com>
12843 * gst/gstclock.c: (gst_clock_class_init), (do_linear_regression):
12844 Marked the stats property as unimplemented so people don't get
12846 Add debug message when regression goes wrong.
12847 Added some more docs.
12849 2006-03-14 Wim Taymans <wim@fluendo.com>
12851 * gst/gstsegment.c: (gst_segment_to_stream_time):
12852 Return correct return type in case of errors.
12854 2006-03-14 Wim Taymans <wim@fluendo.com>
12856 * gst/gstformat.c: (gst_format_get_name), (gst_format_to_quark):
12857 Don't segfault on invalid formats.
12859 2006-03-14 Tim-Philipp Müller <tim at centricular dot net>
12861 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
12862 Can't use gst_segment_to_running_time() when the segment
12863 is not in GST_TIME_FORMAT (like with filesink, for example).
12864 Stops flac encoding pipelines from spewing critical warnings
12867 2006-03-14 Tim-Philipp Müller <tim at centricular dot net>
12869 * gst/gstpipeline.c: (gst_pipeline_class_init):
12870 Add 'Since: 0.10.5' to gtk-doc blurb for added property.
12872 * plugins/elements/gsttypefindelement.c:
12873 (gst_type_find_element_handle_event):
12874 Don't try to typefind empty streams.
12876 2006-03-14 Wim Taymans <wim@fluendo.com>
12878 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
12879 (gst_base_sink_do_qos):
12880 Separate QoS calculation.
12881 Only drop buffers when lateness is bigger than the
12882 duration of the buffer.
12884 2006-03-13 Wim Taymans <wim@fluendo.com>
12886 * gst/gstpipeline.c: (gst_pipeline_set_property),
12887 (gst_pipeline_get_property), (do_pipeline_seek),
12888 (gst_pipeline_change_state), (gst_pipeline_set_delay),
12889 (gst_pipeline_get_delay):
12890 Don't deadlock when reading properties.
12892 2006-03-13 Wim Taymans <wim@fluendo.com>
12894 * libs/gst/base/gstbasetransform.c:
12895 (gst_base_transform_class_init), (gst_base_transform_init),
12896 (gst_base_transform_sink_event),
12897 (gst_base_transform_sink_eventfunc),
12898 (gst_base_transform_src_event), (gst_base_transform_src_eventfunc),
12899 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
12900 (gst_base_transform_set_property),
12901 (gst_base_transform_get_property),
12902 (gst_base_transform_change_state), (gst_base_transform_update_qos),
12903 (gst_base_transform_set_qos_enabled),
12904 (gst_base_transform_is_qos_enabled):
12905 * libs/gst/base/gstbasetransform.h:
12906 Make basetransform virtual method for src events too.
12907 Handle QOS in basetransform.
12908 API: gst_base_transform_update_qos()
12909 API: gst_base_transform_set_qos_enabled()
12910 API: gst_base_transform_is_qos_enabled()
12912 2006-03-13 Wim Taymans <wim@fluendo.com>
12914 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
12915 (gst_base_sink_do_sync):
12917 Use QOS debug category.
12919 2006-03-13 Wim Taymans <wim@fluendo.com>
12921 * plugins/elements/gstqueue.c:
12922 Very small doc update.
12924 2006-03-13 Wim Taymans <wim@fluendo.com>
12926 * gst/gst_private.h:
12927 * gst/gstinfo.c: (_gst_debug_init):
12928 Added QOS debug category
12930 2006-03-13 Wim Taymans <wim@fluendo.com>
12932 * docs/gst/gstreamer-sections.txt:
12933 * gst/gstbin.c: (bin_bus_handler), (gst_bin_handle_message_func):
12935 * gst/gstbus.c: (gst_bus_class_init):
12938 * gst/gstelement.c: (gst_element_set_locked_state):
12939 * gst/gstsegment.c:
12940 Documentation updates.
12942 * gst/gstpipeline.c: (gst_pipeline_get_type),
12943 (gst_pipeline_class_init), (gst_pipeline_init),
12944 (gst_pipeline_dispose), (gst_pipeline_set_property),
12945 (gst_pipeline_get_property), (do_pipeline_seek),
12946 (gst_pipeline_send_event), (gst_pipeline_change_state),
12947 (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay),
12948 (gst_pipeline_get_delay):
12949 * gst/gstpipeline.h:
12950 Added methods for setting the delay.
12951 API: gst_pipeline_set_delay()
12952 API: gst_pipeline_get_delay()
12953 Add pipeline debug category
12956 Don't reset stream time when seek failed.
12958 2006-03-13 Wim Taymans <wim@fluendo.com>
12960 * docs/design/draft-klass.txt:
12961 * docs/design/part-clocks.txt:
12962 * docs/design/part-events.txt:
12963 * docs/design/part-gstbin.txt:
12964 * docs/design/part-gstpipeline.txt:
12965 * docs/design/part-messages.txt:
12966 * docs/design/part-negotiation.txt:
12967 * docs/design/part-overview.txt:
12968 * docs/design/part-preroll.txt:
12969 * docs/design/part-seeking.txt:
12970 * docs/design/part-states.txt:
12971 * docs/design/part-streams.txt:
12972 Documentation updates.
12974 2006-03-12 Julien MOUTTE <julien@moutte.net>
12976 * gst/gsttaglist.c: Fix rubbish docs that are encouraging
12977 us to leak strings...
12979 2006-03-12 Thomas Vander Stichele <thomas at apestaart dot org>
12981 * libs/gst/net/gstnettimeprovider.c:
12983 * win32/common/config.h:
12986 2006-03-12 Tim-Philipp Müller <tim at centricular dot net>
12988 Patch by: Julio M. Merino Vidal <jmmv at netbsd org>
12991 Don't check for libgnomeui (leftover from old examples
12992 that aren't built or disted any longer) (#334303).
12994 2006-03-11 Tim-Philipp Müller <tim at centricular dot net>
12996 * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
12997 * plugins/elements/gstfilesink.c: (gst_file_sink_render):
12998 Emit RESOURCE_NO_SPACE_LEFT error here as well when
12999 there's no space left on the device.
13001 2006-03-10 Tim-Philipp Müller <tim at centricular dot net>
13004 Fix GST_CLOCK_TIME_IS_VALID signedness issues - we need
13005 to cast the input to GstClockTime before comparing with
13006 another GstClockTime value.
13008 2006-03-10 Thomas Vander Stichele <thomas at apestaart dot org>
13013 === release 0.10.4 ===
13015 2006-03-10 Thomas Vander Stichele <thomas at apestaart dot org>
13018 releasing 0.10.4, "Light"
13020 2006-03-10 Michael Smith <msmith@fluendo.com>
13022 * libs/gst/dataprotocol/dataprotocol.c:
13023 Fix docs for dataprocotol to not get the return types completely
13024 wrong for a few functions.
13026 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
13028 * docs/gst/gstreamer-sections.txt:
13029 * gst/gstpipeline.c: (gst_pipeline_class_init),
13030 (gst_pipeline_init), (gst_pipeline_set_property),
13031 (gst_pipeline_get_property), (gst_pipeline_change_state),
13032 (gst_pipeline_set_auto_flush_bus),
13033 (gst_pipeline_get_auto_flush_bus):
13034 * gst/gstpipeline.h:
13035 Add new API: gst_pipeline_set_auto_flush_bus() and
13036 gst_pipeline_get_auto_flush_bus() to disable automatic
13037 flushing of the pipeline's GstBus when going from READY
13038 to NULL state (#332045).
13040 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
13042 * docs/gst/gstreamer-sections.txt:
13043 * gst/gsturi.c: (gst_uri_has_protocol):
13045 Add new API: gst_uri_has_protocol() (#333779).
13047 2006-03-09 Wim Taymans <wim@fluendo.com>
13049 * gst/gstclock.c: (gst_clock_entry_new),
13050 (gst_clock_id_compare_func), (gst_clock_id_wait),
13051 (gst_clock_id_wait_async), (gst_clock_id_unschedule),
13052 (gst_clock_init), (gst_clock_get_internal_time),
13053 (gst_clock_set_master), (do_linear_regression),
13054 (gst_clock_add_observation), (gst_clock_set_property):
13058 Fix a possible segfault when the window-size is made smaller.
13059 Calculate jitter before performing the clock wait. Ideally
13060 the clock implementation should calculate jitter but we need
13061 API breakage for that.
13063 * gst/gstsystemclock.c: (gst_system_clock_init):
13066 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
13067 Remove leftover else
13069 * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
13070 (gst_systemclock_suite):
13071 Added check to test GST_CLOCK_DIFF.
13073 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
13075 * libs/gst/base/gsttypefindhelper.c: (helper_find_get_length),
13076 (gst_type_find_helper_get_range):
13077 If we are provided with the size, we should implement
13078 GstTypeFind::get_length, so that typefind functions who
13079 want to can actually peek at the middle of a file.
13081 2006-03-08 Tim-Philipp Müller <tim at centricular dot net>
13083 * docs/manual/advanced-dataaccess.xml:
13084 Add some very very basic error checking.
13086 * docs/pwg/appendix-checklist.xml:
13087 Some updates to the list of things to check when writing an element.
13089 2006-03-08 Wim Taymans <wim@fluendo.com>
13091 * docs/design/part-element-transform.txt:
13092 Added some docs about the design of tranform elements.
13094 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
13095 (gst_base_src_loop), (gst_base_src_change_state):
13096 Mark buffers with the DISCONT flag.
13098 2006-03-08 Michael Smith <msmith@fluendo.com>
13100 * gst/gstregistry.h:
13101 * gst/gstregistryxml.c: (gst_registry_save),
13102 (gst_registry_save_escaped), (gst_registry_xml_save_caps),
13103 (gst_registry_xml_save_pad_template),
13104 (gst_registry_xml_save_feature), (gst_registry_xml_save_plugin),
13105 (gst_registry_xml_write_cache):
13106 Rewrite registry-saving to avoid race conditions and check for
13109 2006-03-08 Wim Taymans <wim@fluendo.com>
13111 * libs/gst/base/gstbasetransform.c:
13112 (gst_base_transform_transform_caps),
13113 (gst_base_transform_transform_size),
13114 (gst_base_transform_prepare_output_buffer),
13115 (gst_base_transform_get_unit_size),
13116 (gst_base_transform_buffer_alloc),
13117 (gst_base_transform_handle_buffer),
13118 (gst_base_transform_change_state):
13119 Cleanups, separate normal flow from errors, add sensible
13121 Don't try to renegotiate when allocating an output buffer.
13122 Also copy DISCONT buffer flag when copying a buffer.
13123 Reset the transform after we finish streaming, not during.
13125 2006-03-08 Wim Taymans <wim@fluendo.com>
13127 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
13128 Use last buffer timestamp in qos message.
13130 2006-03-07 Wim Taymans <wim@fluendo.com>
13132 Patch by: Christophe Fergeau
13134 * docs/pwg/advanced-tagging.xml:
13135 * docs/pwg/building-pads.xml:
13138 2006-03-07 Wim Taymans <wim@fluendo.com>
13140 * docs/libs/gstreamer-libs-sections.txt:
13141 Added basesink new methods.
13145 Docs updates. Flesh out the QoS docs.
13147 * libs/gst/base/gstadapter.c:
13148 Small doc clarification about ownership and flushing.
13150 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_sync),
13151 (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
13152 (gst_base_sink_get_max_lateness), (gst_base_sink_set_property),
13153 (gst_base_sink_get_property), (gst_base_sink_do_sync):
13154 * libs/gst/base/gstbasesink.h:
13156 Added new methods to allow subclass to control max-lateness
13158 Generate very basic QoS events based on last sync observation.
13159 Updated docs, fix typo, added some QoS blurb.
13161 * libs/gst/base/gstbasesrc.c:
13162 Remove obsolete _get_state() calls from docs.
13164 2006-03-07 Wim Taymans <wim@fluendo.com>
13166 * docs/libs/gstreamer-libs-sections.txt:
13167 * libs/gst/base/gstbasetransform.h:
13168 API addition: Fix #333669, Add pad accessor defines for GstBaseTransform
13169 Fix docs for GstBaseSrc.
13171 2006-03-07 Wim Taymans <wim@fluendo.com>
13173 * docs/gst/gstreamer-sections.txt:
13176 * libs/gst/base/gstbasetransform.h:
13177 Small documentation fixes.
13179 2006-03-07 Tim-Philipp Müller <tim at centricular dot net>
13182 Document thread-unsafety of gst_value_register_foo_func()
13183 when used at the same time as gst_value_foo() (#322628).
13185 2006-03-07 Tim-Philipp Müller <tim at centricular dot net>
13187 * libs/gst/base/gstpushsrc.c: (gst_push_src_class_init),
13188 (gst_push_src_check_get_range):
13189 Push sources don't support pull mode by default.
13191 2006-03-06 Tim-Philipp Müller <tim at centricular dot net>
13193 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
13194 (gst_base_src_init), (gst_base_src_pad_check_get_range),
13195 (gst_base_src_default_check_get_range):
13196 * libs/gst/base/gstbasesrc.h:
13197 API addition: Add ::check_get_range() vfunc to GstBaseSrc (#332611),
13198 provide default implementation, and rename
13199 gst_base_src_check_get_range() to
13200 gst_base_src_pad_check_get_range() for clarity.
13202 2006-03-06 Wim Taymans <wim@fluendo.com>
13204 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
13205 Make property overridable.
13207 2006-03-06 Wim Taymans <wim@fluendo.com>
13209 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
13210 (gst_base_sink_init), (gst_base_sink_set_property),
13211 (gst_base_sink_get_property), (gst_base_sink_do_sync):
13212 * libs/gst/base/gstbasesink.h:
13213 API addition: Make max-lateness a property.
13215 2006-03-06 Wim Taymans <wim@fluendo.com>
13217 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock),
13218 (gst_base_sink_do_sync), (gst_base_sink_render_object):
13219 Don't ever draw a frame that is >10ms late.
13221 2006-03-06 Michael Smith <msmith@fluendo.com>
13223 * gst/gstmessage.c: (_gst_message_copy):
13224 When copying a message, set the parent_refcount of the enclosed
13225 structure to point at the copy, not the original message.
13227 2006-03-06 Tim-Philipp Müller <tim at centricular dot net>
13229 Patch by: Christophe Fergeau
13232 Do proper cast here to make GST_BOILERPLATE_WITH_INTERFACE
13233 usable in c++ code (#333417)
13235 2006-03-06 Thomas Vander Stichele <thomas at apestaart dot org>
13238 Show GST_CLOCK_TIME_NONE as 99:99:99.999999999
13240 2006-03-05 Tim-Philipp Müller <tim at centricular dot net>
13242 * libs/gst/base/gstbasetransform.c:
13243 (gst_base_transform_transform_caps):
13244 Make sure caps are writable before passing them to
13247 2006-03-04 Tim-Philipp Müller <tim at centricular dot net>
13250 Fix some minor docs errors.
13252 2006-03-04 Tim-Philipp Müller <tim at centricular dot net>
13254 Patch by: Ross Burton <ross at burtonini dot com>
13256 * gst/gsterror.c: (_gst_resource_errors_init):
13258 Add GST_RESOURCE_ERROR_NO_SPACE_LEFT (for #333352;
13260 2006-03-03 Jan Schmidt <thaytan@mad.scientist.com>
13263 Add a check and output a g_warning when GStreamer is built
13264 against GLib 2.6 but running against 2.8 or higher, and vice
13265 versa. (Closes: #323542)
13267 2006-03-03 Jan Schmidt <thaytan@mad.scientist.com>
13269 * gst/parse/parse.l:
13270 Commit patch for parse_launch syntax from #331255. Removes
13271 support for quoted strings and mimetypes when writing filtered
13272 caps. See the bug report for more details - I'm pretty sure this
13273 obscure feature is not in use by _anyone_ anywhere.
13275 With this simple change, the size of the gstreamer.so here
13276 drops from 2193KB to 1565KB.
13278 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
13280 * plugins/elements/gsttypefindelement.h:
13281 * plugins/elements/gsttypefindelement.c:
13282 (gst_type_find_element_src_event), (start_typefinding),
13283 (stop_typefinding), (gst_type_find_element_handle_event),
13284 (gst_type_find_element_chain),
13285 (gst_type_find_element_chain_do_typefinding):
13286 Use gst_type_find_helper_for_buffer() for chain-based
13289 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
13291 * plugins/elements/gsttypefindelement.c:
13292 (gst_type_find_element_class_init),
13293 (gst_type_find_element_set_property),
13294 (gst_type_find_element_get_property):
13295 Deprecate "maximum" property (not only was it only taken into
13296 account for typefinding in push-mode anyway, it also was never
13297 actually possible to set it in the first place because the
13298 property was registered with the numeric property ID for the
13299 "minimum" property). Register "maximum" property correctly,
13300 for the sake of future copy'n'pasters. Remove some cruft
13301 from property get/set functions.
13303 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
13305 * plugins/elements/gsttypefindelement.c:
13306 (gst_type_find_element_activate):
13307 Use gst_type_find_helper_get_range() here, so we
13308 can honour the "minimum" property and also emit
13309 the signal with the correct probability of the found caps.
13311 2006-03-02 Tim-Philipp Müller <tim at centricular dot net>
13313 * docs/libs/gstreamer-libs-sections.txt:
13314 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
13315 (helper_find_suggest), (gst_type_find_helper_get_range),
13316 (gst_type_find_helper):
13317 * libs/gst/base/gsttypefindhelper.h:
13318 New API: gst_type_find_helper_get_range() (#333042).
13320 2006-03-02 Michael Smith <msmith@fluendo.com>
13322 * gst/gstregistryxml.c: (load_feature):
13323 Asserting on a failure to read part of the registry is Not Cool.
13324 Just log a warning and return NULL (which is already handled)
13326 2006-02-28 Sebastien Moutte <sebastien@moutte.net>
13328 * win32/common/libgstbase.def:
13329 added export of gst_type_find_helper_for_buffer
13330 * win32/common/libgstbase.def:
13331 added some exports : gst_bin_iterate_elements, gst_iterator_resync,
13332 gst_ghost_pad_get_target
13334 2006-02-28 Wim Taymans <wim@fluendo.com>
13336 * docs/design/draft-klass.txt:
13338 Added Connector to mark elements that are only used to
13339 allow pipeline connections.
13340 Moved Debug to extra feature since most of them are
13341 functionally something else.
13343 2006-02-28 Wim Taymans <wim@fluendo.com>
13345 * docs/design/draft-klass.txt:
13346 Some updates and clarifications.
13348 2006-02-28 Wim Taymans <wim@fluendo.com>
13350 * docs/design/draft-klass.txt:
13351 Proposal for klass field values.
13353 * docs/design/part-streams.txt:
13354 Start of a doc describing stream anatomy.
13356 2006-02-28 Wim Taymans <wim@fluendo.com>
13358 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_handle_message_func):
13359 Help the compiler a bit with type registration.
13360 Use existing forward cod path instead of duplicating it when
13361 handling a message.
13363 * gst/gstbus.c: (gst_bus_get_type):
13364 * gst/gstcaps.c: (gst_caps_get_type), (gst_static_caps_get_type):
13365 * gst/gstchildproxy.c: (gst_child_proxy_get_type):
13366 * gst/gstclock.c: (gst_clock_get_type):
13367 * gst/gstelement.c: (gst_element_get_type),
13368 * gst/gstelementfactory.c: (gst_element_factory_get_type):
13369 * gst/gstindexfactory.c: (gst_index_factory_get_type):
13370 * gst/gstminiobject.c: (gst_mini_object_get_type):
13371 * gst/gstpad.c: (gst_pad_get_type):
13372 * gst/gstsegment.c: (gst_segment_get_type):
13373 * gst/gststructure.c: (gst_structure_get_type):
13374 * gst/gstsystemclock.c: (gst_system_clock_get_type):
13375 * gst/gsttask.c: (gst_task_get_type), (gst_task_join):
13377 Help compiler with type registration.
13379 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
13382 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
13384 * plugins/elements/gsttypefindelement.c:
13385 (gst_type_find_element_handle_event):
13386 When we get an EOS event and have not found a type yet
13387 (most likely because we had not yet accumulated
13388 TYPE_FIND_MIN_SIZE of data yet), try to determine the
13389 type given the data we have so far. Fixes typefinding
13390 for very short streams again, most notably quicktime
13391 redirections as used on Apple's trailer site (#331701).
13393 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
13395 * libs/gst/base/gsttypefindhelper.c: (type_find_factory_rank_cmp),
13396 (gst_type_find_helper):
13397 Try typefinding factories with the highest rank first.
13399 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
13401 * docs/libs/gstreamer-libs-docs.sgml:
13402 * docs/libs/gstreamer-libs-sections.txt:
13403 * libs/gst/base/gsttypefindhelper.c:
13404 Add section for typefind helper and add documentation
13405 for the old and the new function.
13407 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
13409 * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek),
13410 (buf_helper_find_suggest), (type_find_factory_rank_cmp),
13411 (gst_type_find_helper_for_buffer):
13412 * libs/gst/base/gsttypefindhelper.h:
13413 New API: gst_type_find_helper_for_buffer() (#332723).
13415 2006-02-27 Michael Smith <msmith@fluendo.com>
13417 Patch by: Loïc Minier
13420 * docs/Makefile.am:
13421 * docs/slides/Makefile.am:
13422 prevent CVS directories getting disted.
13424 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
13426 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref):
13427 Use the REFCOUNTING category for caps refcounting.
13429 2006-02-26 Tim-Philipp Müller <tim at centricular dot net>
13431 * plugins/elements/gsttypefindelement.c: (stop_typefinding):
13432 This should be 0 not GST_CLOCK_TIME_NONE (see #331701).
13434 2006-02-26 Tim-Philipp Müller <tim at centricular dot net>
13436 * plugins/elements/gsttypefindelement.c:
13437 (gst_type_find_element_activate):
13438 Use gst_pad_check_pull_range() before _activate_pull()
13439 to avoid unnecessary open/close (see #331690).
13441 2006-02-24 Tim-Philipp Müller <tim at centricular dot net>
13444 Docs enhancement: make it crystal clear what the
13445 gst_pad_add_*_probe() callbacks should look like.
13447 2006-02-24 Tim-Philipp Müller <tim at centricular dot net>
13449 * libs/gst/base/gstbasesrc.c:
13450 Document how applications can stop recording from
13451 live sources (see #330996).
13453 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
13455 * tests/check/Makefile.am:
13456 * tests/check/libs/basesrc.c: (eos_event_counter),
13457 (basesrc_eos_events_pull), (basesrc_eos_events_push),
13458 (basesrc_eos_events_push_live_op), (basesrc_eos_events_pull_live_op),
13459 (gst_basesrc_suite), (main):
13460 ... and add some tests for the base source EOS stuff.
13462 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
13464 * tests/check/gst/gstutils.c: (test_buffer_probe_n_times):
13465 Test case originally showed the problem fixed below,
13466 but was then amended. Add checks back at the place
13467 where they used to be.
13469 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
13471 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
13472 (gst_base_src_init), (gst_base_src_loop),
13473 (gst_base_src_activate_push), (gst_base_src_activate_pull),
13474 (gst_base_src_change_state):
13475 * libs/gst/base/gstbasesrc.h:
13476 Don't unconditionally send EOS when going from PAUSED to
13477 READY state, esp. make sure we don't send two EOS events
13478 in some cases (e.g. one when reaching EOS and one when
13479 going from PAUSED to READY). Also, we don't want to send
13480 EOS events when operating in pull mode. However, we do
13481 want to send an EOS event when shutting down a live
13482 source explicitly, for example (fixes #330996).
13484 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
13486 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
13487 Update src->read_position after a seek when not using mmap.
13488 Fixes #332277, patch by: Renchi Raju <renchi gmail com>
13490 2006-02-21 Jan Schmidt <thaytan@mad.scientist.com>
13496 Make things work with --disable-parse as they do with
13497 --disable-load-save - the symbols involved disappear, but the
13498 header is still installed and GST_DISABLE_PARSE is included via
13501 2006-02-20 Julien MOUTTE <julien@moutte.net>
13503 * libs/gst/base/gstbasetransform.c:
13504 (gst_base_transform_change_state): Fix a stupid bug. I was
13505 sure I compiled that.
13507 2006-02-20 Julien MOUTTE <julien@moutte.net>
13509 * gst/gstpad.c: (gst_pad_set_blocked_async):
13510 * gst/gstutils.c: (gst_pad_add_data_probe),
13511 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
13512 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
13513 (gst_pad_remove_buffer_probe): Make those function act on the
13514 ghostpad target when it's a ghostpad. (Closes #331727)
13516 2006-02-20 Julien MOUTTE <julien@moutte.net>
13518 * libs/gst/base/gstbasetransform.c:
13519 (gst_base_transform_change_state): Make basetransform reusable.
13522 2006-02-20 Jan Schmidt <thaytan@mad.scientist.com>
13524 * docs/random/release:
13525 Move the current documentation of how to do a release to the top
13528 * gst/gstbin.c: (gst_bin_class_init),
13529 (gst_bin_handle_message_func):
13530 Allow multiple state-recalculation threads. (Closes #328873)
13532 2006-02-19 Julien MOUTTE <julien@moutte.net>
13534 * gst/gstinfo.h: Add GST_STR_NULL to the second string.
13535 * gst/gstpad.c: (gst_pad_set_event_function),
13536 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
13537 (gst_pad_set_getcaps_function): GST_DEBUG_PAD_NAME evaluates to
13538 2 strings. You can't use the STR_NULL macro on that.
13540 2006-02-19 Sebastien Moutte <sebastien@moutte.net>
13542 * gst/gstpad.c: (gst_pad_set_event_function),
13543 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
13544 (gst_pad_set_getcaps_function)
13545 * gst/parse/grammar.y: (gst_parse_found_pad), (gst_parse_perform_delayed_link)
13546 Fixed NULL pointer used in GST_CAT_DEBUG using GST_STR_NULL macro
13547 So now, we can use --gst-debug-level=5 on Windows
13548 * win32/common/libgstcontroller.def:
13549 Added export of gst_controller_init
13550 * win32/vs6/libgstcontroller.dsp:
13551 Fixed Release post build configuration
13553 2006-02-17 Wim Taymans <wim@fluendo.com>
13555 * tests/check/gst/gstquery.c: (GST_START_TEST):
13556 Added another check.
13558 2006-02-15 Tim-Philipp Müller <tim at centricular dot net>
13560 * plugins/elements/gsttypefindelement.c: (find_peek):
13561 We can do peeks at non-zero offsets, as long as they
13562 fall within the buffer we have.
13564 2006-02-15 Jan Schmidt <thaytan@mad.scientist.com>
13566 * tests/check/Makefile.am:
13567 * tests/check/pipelines/parse-launch.c: (setup_pipeline),
13568 (expected_fail_pipe), (check_pipeline_runs), (GST_START_TEST),
13569 (parse_suite), (main):
13570 Add testsuite for parse launch syntax
13572 2006-02-14 Tim-Philipp Müller <tim at centricular dot net>
13574 * plugins/elements/gsttypefindelement.c:
13575 (gst_type_find_element_chain):
13576 When typefinding is unsuccessful in the chain function, don't
13577 error out immediately. Only error out with NO_CAPS_FOUND if
13578 the amount of data is at least MAX_TYPEFIND_SIZE bytes,
13579 otherwise simply wait for more data so we can try typefinding
13580 again with more data later. Also, don't attempt to typefind
13581 if we have less than MIN_TYPEFIND_SIZE data available. Overall,
13582 this should improve typefinding from network sources where the
13583 size of the first buffer can be somewhat random.
13585 2006-02-14 Wim Taymans <wim@fluendo.com>
13587 * docs/gst/gstreamer-sections.txt:
13588 * gst/gstpadtemplate.c:
13589 * gst/gstpadtemplate.h:
13590 Fix padtemplate docs, fixes #328805.
13592 2006-02-14 Wim Taymans <wim@fluendo.com>
13594 * tools/gst-launch.c: (main):
13595 NO_PREROLL is not an ERROR so don't send confusing messages
13598 2006-02-14 Wim Taymans <wim@fluendo.com>
13600 Patch by: Torsten Schoenfeld
13602 * gst/gstregistry.c: (gst_registry_get_default),
13603 (_gst_registry_cleanup):
13604 Protect default registry with lock and ref/sink it.
13607 2006-02-14 Wim Taymans <wim@fluendo.com>
13610 * gst/gstquery.c: (gst_query_list_add_format),
13611 (gst_query_set_formatsv), (gst_query_parse_formats_length),
13612 (gst_query_parse_formats_nth):
13613 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
13616 2006-02-14 Wim Taymans <wim@fluendo.com>
13618 * docs/gst/gstreamer-sections.txt:
13619 Reworked query docs.
13621 * gst/gstquery.c: (gst_query_new_formats),
13622 (gst_query_list_add_format), (gst_query_set_formats),
13623 (gst_query_set_formatsv), (gst_query_parse_formats_length),
13624 (gst_query_parse_formats_nth):
13626 Flesh out formats query, added some new methods.
13627 Fix part of #324398.
13629 * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite):
13630 Added query creation tests.
13632 2006-02-14 Jan Schmidt <thaytan@mad.scientist.com>
13634 * gst/gstpad.c: (fixate_value):
13635 Add a default fixation for fraction lists.
13637 2006-02-13 Wim Taymans <wim@fluendo.com>
13639 * gst/gsttask.c: (gst_task_init), (gst_task_func),
13640 (gst_task_set_lock), (gst_task_start), (gst_task_pause),
13643 Detect and warn for obvious deadlocks. fixes #320340
13644 Fix error case where lock was not released.
13646 * tests/check/Makefile.am:
13647 * tests/check/gst/gsttask.c: (task_func2), (GST_START_TEST),
13648 (task_func), (gst_element_suite), (main):
13651 2006-02-13 Wim Taymans <wim@fluendo.com>
13653 * docs/gst/gstreamer-sections.txt:
13655 Add new functions to docs.
13657 2006-02-13 Wim Taymans <wim@fluendo.com>
13659 * docs/design/part-TODO.txt:
13660 Updated TODO list, basesrc supports seeking to non-bytes
13663 * docs/design/part-element-sink.txt:
13666 * gst/gstbin.c: (bin_replace_message),
13667 (gst_bin_handle_message_func):
13668 * gst/gstbus.c: (gst_bus_post), (gst_bus_pop):
13669 * gst/gstevent.c: (gst_event_finalize):
13670 * gst/gstpad.c: (gst_pad_event_default_dispatch),
13671 (gst_pad_send_event):
13672 Use shiny new _TYPE_NAME macros.
13674 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
13675 Move debug statement up.
13677 * gst/gstelement.c: (gst_element_set_locked_state):
13678 Add some debugging.
13680 2006-02-13 Tim-Philipp Müller <tim at centricular dot net>
13682 * docs/gst/gstreamer-sections.txt:
13683 * gst/gstmessage.h:
13685 New API: add GST_MESSAGE_TYPE_NAME and GST_QUERY_TYPE_NAME
13686 macros (#330906). Also, document the already existing
13687 GST_QUERY_TYPE macro.
13689 2006-02-13 Wim Taymans <wim@fluendo.com>
13691 * tests/check/gst/gstutils.c: (data_probe), (buffer_probe),
13692 (event_probe), (GST_START_TEST):
13693 Only events up to the pipeline EOS are counted, there are
13694 some more when going to NULL currently which we don't care
13697 2006-02-13 Wim Taymans <wim@fluendo.com>
13699 * gst/gstpad.c: (gst_pad_send_event):
13700 Correctly check flushing and emit probes. fixes #330125
13702 2006-02-10 Andy Wingo <wingo@pobox.com>
13704 * gst/gstbus.c (gst_bus_class_init): Declare our private data
13706 (gst_bus_init): Cache the location of the private data in the
13707 instance structure.
13708 (gst_bus_enable_sync_message_emission)
13709 (gst_bus_disable_sync_message_emission): Implement new public
13711 (gst_bus_post): Emit the sync-message signal if the user asked for
13714 * gst/gstbus.h (GstBus): Use a padding pointer to cache the
13715 location of the bus-private structure.
13716 (gst_bus_enable_sync_message_emission)
13717 (gst_bus_disable_sync_message_emission): API addition
13719 2006-02-10 Jan Schmidt <thaytan@mad.scientist.com>
13721 Patch by: Vincent Torri
13723 * docs/pwg/building-boiler.xml:
13724 PWG patch from #326800
13726 2006-02-09 Tim-Philipp Müller <tim at centricular dot net>
13729 * docs/Makefile.am:
13730 * docs/design/Makefile.am:
13733 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
13738 === release 0.10.3 ===
13740 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
13743 releasing 0.10.3, "Like a virgin"
13745 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
13748 2nd prerelease of 0.10.3
13749 Bump libtool versioning.
13751 2006-02-07 Andy Wingo <wingo@pobox.com>
13753 * libs/gst/base/gstcollectpads.c (gst_collect_pads_chain): Only
13754 update last_stop if we're in TIME format and the timestamp is
13757 * libs/gst/base/gstcollectpads.c (gst_collect_pads_event)
13758 * libs/gst/base/gstbasetransform.c (gst_base_transform_eventfunc):
13759 * libs/gst/base/gstbasesink.c (gst_base_sink_configure_segment):
13760 If we get a new newsegment with a different format, adapt
13763 * gst/gstclock.c (gst_clock_set_calibration): Accept a numerator
13764 of 0. Not a problem, really.
13766 * libs/gst/base/gstbasesink.c (gst_base_sink_chain_unlocked): Only
13769 2006-02-06 Jan Schmidt <thaytan@mad.scientist.com>
13774 2006-02-06 Sebastien Moutte <sebastien@moutte.net>
13777 project files updated to the default vs7 configuration
13778 * win32/common/libgstbase.def:
13779 * win32/common/libgstreamer.def:
13781 removed empty lines,
13782 sorted all exported symbols alphabetically
13783 * win32/common/dirent.c:
13784 * win32/common/dirent.h:
13785 * win32/common/gchar.h:
13786 use windows line end.
13788 2006-02-06 Tim-Philipp Müller <tim at centricular dot net>
13790 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
13791 Send EOS event when stopping.
13793 2006-02-06 Tim-Philipp Müller <tim at centricular dot net>
13796 Tell folks what to do if the plugin-foobar.xml file
13797 hasn't been generated for a newly-added plugin.
13799 2006-02-05 Julien MOUTTE <julien@moutte.net>
13801 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
13802 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
13803 (gst_collect_pads_start), (gst_collect_pads_stop),
13804 (gst_collect_pads_event): Collectpads now holds a reference
13805 to the GstPad that was added. Indeed we don't want to look
13806 at pads that might just go away with no warning...
13808 2006-02-05 Julien MOUTTE <julien@moutte.net>
13810 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
13811 (gst_collect_pads_start), (gst_collect_pads_stop),
13812 (gst_collect_pads_event), (gst_collect_pads_chain):
13813 * libs/gst/base/gstcollectpads.h: Handle flush. Adapted from
13814 Mark Nauwelaerts's patch on bug #328491.
13816 2006-02-04 Tim-Philipp Müller <tim at centricular dot net>
13818 * tests/check/gst/gstutils.c: (test_parse_bin_from_description),
13820 Add some simple tests for gst_parse_bin_from_description() and
13821 gst_bin_find_unconnected_pad() (#329069).
13823 2006-02-04 Tim-Philipp Müller <tim at centricular dot net>
13825 * tools/gst-launch.c: (event_loop), (main):
13826 Catch errors during preroll (#320084).
13828 2006-02-03 Tim-Philipp Müller <tim at centricular dot net>
13830 * plugins/elements/gsttypefindelement.c:
13831 (gst_type_find_element_activate):
13832 Post TYPE_NOT_FOUND error message when typefinding
13833 is unsuccessful in the activate function as well.
13835 2006-02-02 Wim Taymans <wim@fluendo.com>
13837 * docs/design/part-element-sink.txt:
13840 2006-02-02 Wim Taymans <wim@fluendo.com>
13842 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
13843 (gst_base_sink_render_object),
13844 (gst_base_sink_queue_object_unlocked):
13845 Only keep track of prerollable items when we are
13847 Before rendering after preroll, always check if we
13849 Added some more debugging.
13851 2006-02-02 Wim Taymans <wim@fluendo.com>
13853 * gst/gstelement.c: (gst_element_continue_state),
13854 (gst_element_set_state_func), (gst_element_change_state):
13855 Fixed #326576, been running this for quite some time with
13856 no regressions at all.
13858 2006-02-02 Wim Taymans <wim@fluendo.com>
13861 Added more suppressions
13863 2006-02-02 Wim Taymans <wim@fluendo.com>
13865 * docs/design/part-element-sink.txt:
13868 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
13869 (gst_base_sink_finalize), (gst_base_sink_preroll_queue_flush),
13870 (gst_base_sink_configure_segment), (gst_base_sink_commit_state),
13871 (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
13872 (gst_base_sink_do_sync), (gst_base_sink_render_object),
13873 (gst_base_sink_preroll_object),
13874 (gst_base_sink_queue_object_unlocked),
13875 (gst_base_sink_queue_object), (gst_base_sink_event),
13876 (gst_base_sink_chain_unlocked), (gst_base_sink_chain),
13877 (gst_base_sink_loop), (gst_base_sink_activate_pull),
13878 (gst_base_sink_get_position), (gst_base_sink_change_state):
13879 * libs/gst/base/gstbasesink.h:
13880 Totally refactored matching the design doc.
13881 Use two segments, one to clip incomming buffers and another to
13883 Handle queueing correctly, bypass the queue when playing.
13884 Make EOS cancelable.
13885 Handle errors correctly when operating in pull based mode.
13887 * tests/check/elements/fakesink.c: (GST_START_TEST),
13889 Added new check for sinks.
13891 2006-02-02 Wim Taymans <wim@fluendo.com>
13893 * gst/gstsegment.c: (gst_segment_clip):
13894 No reason to refuse to clip when start == -1
13896 2006-02-02 Stefan Kost <ensonic@users.sf.net>
13899 * docs/manual/intro-basics.xml:
13900 * docs/manual/intro-preface.xml:
13901 * docs/manual/manual.xml:
13902 * docs/pwg/advanced-dparams.xml:
13903 * docs/pwg/intro-basics.xml:
13904 * docs/pwg/intro-preface.xml:
13905 * docs/pwg/pwg.xml:
13906 describe dparams (controller) for plugins
13907 unify docs a little more
13909 2006-02-02 Tim-Philipp Müller <tim at centricular dot net>
13911 * docs/gst/gstreamer-sections.txt:
13912 * gst/gstutils.c: (element_find_unconnected_pad),
13913 (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description):
13915 Add new API: gst_parse_bin_from_description() and
13916 gst_bin_find_unconnected_pad() (#329069).
13918 2006-02-01 Stefan Kost <ensonic@users.sf.net>
13920 * docs/manual/README:
13921 uncover a nasty detail of the docs build
13923 2006-01-31 Wim Taymans <wim@fluendo.com>
13925 * gst/gstbin.c: (bin_remove_messages), (bin_query_duration_done):
13926 Don't cache duration messages if we're not going to use or
13929 2006-01-31 Stefan Kost <ensonic@users.sf.net>
13931 * docs/manual/advanced-dparams.xml:
13932 * docs/pwg/advanced-dparams.xml:
13936 * libs/gst/controller/lib.c: (gst_controller_init):
13939 2006-01-31 Thomas Vander Stichele <thomas at apestaart dot org>
13941 * gst/gstelement.c: (gst_element_message_full):
13942 also show file/line/func if no additional debug was given
13944 2006-01-31 Sebastien Moutte <sebastien@moutte.net>
13946 * win32/vs7/grammar.vcproj:
13947 activate copy of autogenerated files for Release mode
13949 2006-01-30 Sebastien Moutte <sebastien@moutte.net>
13951 * win32/common/libgstreamer.def:
13952 export gst_value_compare
13954 2006-01-30 Jan Schmidt <thaytan@mad.scientist.com>
13956 * plugins/elements/Makefile.am:
13957 * plugins/elements/gstelements.c:
13958 * plugins/elements/gstfdsink.c: (_do_init),
13959 (gst_fd_sink_base_init), (gst_fd_sink_class_init),
13960 (gst_fd_sink_init), (gst_fd_sink_dispose), (gst_fd_sink_query),
13961 (gst_fd_sink_render), (gst_fd_sink_check_fd), (gst_fd_sink_start),
13962 (gst_fd_sink_stop), (gst_fd_sink_unlock), (gst_fd_sink_update_fd),
13963 (gst_fd_sink_set_property), (gst_fd_sink_uri_get_type),
13964 (gst_fd_sink_uri_get_protocols), (gst_fd_sink_uri_get_uri),
13965 (gst_fd_sink_uri_set_uri), (gst_fd_sink_uri_handler_init):
13966 * plugins/elements/gstfdsink.h:
13967 Port fdsink to 0.10 (patch by Philippe Rouquier) (Fixes #325490)
13969 2006-01-30 Stefan Kost <ensonic@users.sf.net>
13971 * docs/manual/advanced-dparams.xml:
13972 describe controller
13973 * docs/manual/advanced-position.xml:
13974 * docs/manual/basics-init.xml:
13975 * docs/manual/manual.xml:
13976 * docs/manual/titlepage.xml:
13977 * docs/pwg/pwg.xml:
13978 * docs/pwg/titlepage.xml:
13979 cleanup xml (more to come)
13980 * libs/gst/controller/gstcontroller.c:
13983 2006-01-30 Sebastien Moutte <sebastien@moutte.net>
13985 * win32/vs6/grammar.dsp:
13986 add autogen of gstmarshal.c,h for Release mode
13988 2006-01-30 Wim Taymans <wim@fluendo.com>
13990 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
13991 (gst_base_sink_preroll_queue_empty), (gst_base_sink_commit_state),
13992 (gst_base_sink_handle_object), (gst_base_sink_event),
13993 (gst_base_sink_is_prerolled), (gst_base_sink_wait),
13994 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
13995 (gst_base_sink_handle_buffer), (gst_base_sink_set_flushing),
13996 (gst_base_sink_deactivate), (gst_base_sink_activate),
13997 (gst_base_sink_activate_pull), (gst_base_sink_get_position),
13998 (gst_base_sink_query), (gst_base_sink_change_state):
13999 Basesink cleanups, remove some old code.
14000 Handle the case where a subclass can preroll in the render
14001 method (mostly audiosinks).
14002 Handle more events.
14003 Remove some locks around variables that are now protected
14004 with the PREROLL_LOCK (clock_id, flushing, ..).
14005 Optimize position query some more, do correct locking.
14006 Remove old code to push queue in state change, this is not
14007 needed anymore since preroll blocks on all prerollable items
14009 Almost implemented as described in design doc.
14011 2006-01-30 Wim Taymans <wim@fluendo.com>
14013 * tests/check/gst/gstbin.c: (GST_START_TEST):
14014 Wait for refcount to settle down before checking.
14016 2006-01-30 Wim Taymans <wim@fluendo.com>
14018 * docs/design/part-element-sink.txt:
14019 Pseudo code overview of desired sink behaviour regarding
14022 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
14023 * win32/vs6/grammar.dsp:
14024 fix some bugs in Release mode for autogenerated files
14026 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
14027 * win32/common/libgstbase.def:
14028 * win32/common/libgstreamer.def:
14029 export some new symbols: gst_base_src_set_format,
14030 gst_iterator_next, gst_structure_set_valist
14032 2006-01-29 Julien MOUTTE <julien@moutte.net>
14034 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
14035 Set pad functions unconditionally. Fixes #329105.
14037 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
14039 add vs8 project files created by Sergey Scobich
14041 2006-01-28 Jan Schmidt <thaytan@mad.scientist.com>
14043 * gst/gstutils.c: (gst_element_unlink_pads):
14044 Don't leak pad references.
14046 * tests/check/elements/fakesink.c: (GST_START_TEST):
14047 * tests/check/generic/sinks.c: (GST_START_TEST):
14048 * tests/check/generic/states.c: (GST_START_TEST):
14049 * tests/check/gst/gstbin.c: (GST_START_TEST):
14050 * tests/check/gst/gstcaps.c: (GST_START_TEST):
14051 * tests/check/gst/gstelement.c: (GST_START_TEST):
14052 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
14053 * tests/check/gst/gstiterator.c: (GST_START_TEST):
14054 * tests/check/gst/gstvalue.c: (GST_START_TEST):
14055 Fix a bunch of leaks. Make generic/sinks.c
14056 use a bit less cpu by slowing the buffer rate
14057 between fakesrc and fakesink.
14059 2006-01-27 Stefan Kost <ensonic@users.sf.net>
14061 * gst/gstelement.c: (gst_element_send_event):
14064 * gst/gstiterator.c:
14065 * gst/gstiterator.h:
14066 * gst/gstpad.c: (gst_pad_send_event):
14067 * gst/gststructure.c:
14071 * libs/gst/base/gstadapter.c:
14072 doc fixes, to link to function, just write gst_cool_function(), don't
14075 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
14077 * plugins/elements/gsttee.c: (gst_tee_do_push),
14078 (gst_tee_handle_buffer):
14079 Always prefer an actual return value from a src
14080 pad in place of NOT_LINKED. This means we return
14081 WRONG_STATE when all src pads are WRONG_STATE
14082 instead of NOT_LINKED.
14084 Lock when replacing the last message to prevent
14085 racing with the get_property method.
14089 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
14091 * tests/check/Makefile.am:
14092 * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite),
14094 Add a very simple check that should have caught the memleak I fixed
14095 last night (if not for the slice allocator hiding it)
14097 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
14099 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
14100 (gst_bin_remove_func), (gst_bin_handle_message_func),
14101 (bin_query_duration_fold), (bin_query_generic_fold):
14102 Clean up references to the clock provider when disposed or when
14103 handling a clock-lost message from it.
14105 Unref sinks when performing a query via gst_iterator_fold, as the
14106 gst_bin_iterate_sinks iterator refs each item. (Fixes #323874)
14108 * gst/gstclock.c: (gst_clock_class_init), (gst_clock_dispose),
14109 (gst_clock_set_master):
14110 Drop our reference to the master clock, if any, when we are disposed.
14112 * gst/gsttypefindfactory.c: (gst_type_find_factory_dispose):
14113 Chain up in dispose.
14115 2006-01-26 Wim Taymans <wim@fluendo.com>
14117 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
14118 Add some debugging.
14120 2006-01-26 Julien MOUTTE <julien@moutte.net>
14122 * plugins/elements/gsttee.c: (gst_tee_do_push),
14123 (gst_tee_handle_buffer): Apply patch from #328715. Tee now
14124 handles pad being NOT_LINKED or in WRONG_STATE.
14126 2006-01-26 Stefan Kost <ensonic@users.sf.net>
14131 2006-01-26 Stefan Kost <ensonic@users.sf.net>
14134 remove obsolete entry
14136 2006-01-26 Stefan Kost <ensonic@users.sf.net>
14138 * docs/gst/gstreamer-sections.txt:
14139 * gst/gstbin.c: (bin_element_is_src), (src_iterator_filter),
14140 (gst_bin_iterate_sources), (gst_bin_send_event):
14142 * gst/gstelement.c: (gst_element_send_event):
14144 * gst/gstpad.c: (gst_pad_send_event):
14145 added code for downstream events, reviewed docs in gstevent.c
14147 2006-01-25 Julien MOUTTE <julien@moutte.net>
14149 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
14150 We only query position using the clock in the playing state.
14151 Query peer in the other cases.
14152 * win32/common/config.h: Updates.
14154 2006-01-24 Wim Taymans <wim@fluendo.com>
14156 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
14157 A clock entry that is scheduled for the exact time of the
14158 clock is still in time.
14160 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
14161 (gst_base_sink_do_sync):
14162 Add some more debug info.
14164 2006-01-23 Sebastien Moutte <sebastien@moutte.net>
14167 Add new vs7 project files and solution.
14169 2006-01-23 Sebastien Moutte <sebastien@moutte.net>
14172 all files removed as they were out-dated.
14174 2006-01-20 Thomas Vander Stichele <thomas at apestaart dot org>
14176 * docs/random/release:
14178 * gst/gstbin.c: (gst_bin_init):
14179 * gst/gstbus.c: (gst_bus_new):
14181 * gst/gstpipeline.c: (gst_pipeline_init):
14182 use gst_bus_new(), improve logging, fix docs
14183 * win32/common/config.h:
14184 update for cvs build
14186 2006-01-20 Thomas Vander Stichele <thomas at apestaart dot org>
14189 up required version of automake to 1.7
14191 2006-01-20 Sebastien Moutte <sebastien@moutte.net>
14193 * win32/common/libgstreamer.def:
14194 export gst_buffer_is_metadata_writable
14196 2006-01-20 Tim-Philipp Müller <tim at centricular dot net>
14198 * docs/gst/gstreamer-sections.txt:
14200 Add gst_event_replace() (#327001)
14202 2006-01-20 Wim Taymans <wim@fluendo.com>
14204 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
14205 Make it actually compile too..
14207 2006-01-20 Wim Taymans <wim@fluendo.com>
14210 Clarify behaviour of _is_equal() when passing NULL parameters.
14212 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
14213 (gst_pad_set_caps):
14214 Cleanups. Don't unref NULL caps.
14215 When setting the same caps, protect caps of the pad with
14217 Use full functionality of _is_equal() when comparing caps.
14219 2006-01-20 Jan Schmidt <thaytan@mad.scientist.com>
14221 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
14222 Don't loop infinitely if there are no buffers to present. Partially
14223 fixes #327197, but collectpads is just broken for reusing elements
14224 to do multiple encodes atm.
14226 2006-01-20 Jan Schmidt <thaytan@mad.scientist.com>
14228 * tools/gst-inspect.c: (print_element_features):
14229 * tools/gst-xmlinspect.c: (main):
14230 URL_HANDLER is not a plugin feature we can search for in
14233 2006-01-19 Edward Hervey <edward@fluendo.com>
14235 * gst/gstelement.c: (gst_element_pads_activate):
14236 When activating, do src pads first, then sink pads.
14237 When de-activating, do sink pads first, then src pads.
14239 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
14241 * docs/gst/gstreamer-sections.txt:
14242 Add gst_index_add_associationv to the docs
14244 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
14249 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event),
14250 (gst_queue_chain), (gst_queue_push_one), (gst_queue_loop):
14251 Do some refactoring. Doesn't actually change functionality,
14252 but makes landing the DRAIN event easier later.
14254 2006-01-19 Tim-Philipp Müller <tim at centricular dot net>
14256 * docs/pwg/advanced-scheduling.xml:
14257 Update from 0.9.x to 0.10 API and make example a bit
14260 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
14262 * docs/gst/gstreamer-sections.txt:
14263 Add gst_buffer_(is|make)_metadata_writable methods.
14265 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
14267 * docs/design/part-sparsestreams.txt:
14268 Update sparse streams doc, hopefully for greater clarity
14270 2006-01-18 Jan Schmidt <thaytan@mad.scientist.com>
14272 * docs/design/part-events.txt:
14273 Remove mention of FILLER events.
14276 * docs/design/part-sparsestreams.txt:
14277 Write some things about using NEWSEGMENT to keep sparse streams
14280 2006-01-18 Tim-Philipp Müller <tim at centricular dot net>
14282 * gst/gstbin.c: (gst_bin_dispose):
14283 Guard gst_object_unref call against a NULL object (dispose
14284 can theoretically be called multiple times).
14286 2006-01-18 Wim Taymans <wim@fluendo.com>
14288 * gst/gstbin.c: (gst_bin_element_set_state):
14289 * gst/gstclock.c: (gst_clock_id_wait):
14290 Added some more debug info.
14292 * libs/gst/base/gstadapter.c:
14295 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
14296 (gst_base_sink_do_sync), (gst_base_sink_chain):
14297 Added some comments.
14299 2006-01-18 Wim Taymans <wim@fluendo.com>
14301 * tests/check/Makefile.am:
14302 * tests/check/elements/fakesink.c: (chain_async_buffer),
14303 (chain_async), (chain_async_return), (GST_START_TEST),
14304 (fakesink_suite), (main):
14305 Added fakesink test that checks prerolling and clipping
14308 * tests/check/gst/gstutils.c: (GST_START_TEST):
14309 Make check run faster so that buildbots don't timeout.
14311 2006-01-18 Wim Taymans <wim@fluendo.com>
14313 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
14314 (gst_base_sink_do_sync):
14316 When the sink finishes blocking on the preroll buffer, it can
14317 immediatly render it instead of rendering when the next buffer
14320 2006-01-18 Wim Taymans <wim@fluendo.com>
14322 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_property),
14323 (gst_base_sink_get_property), (gst_base_sink_do_sync),
14324 (gst_base_sink_chain):
14326 GST_ELEMENT_CLOCK and sync are protected with LOCK.
14327 Don't store _last_stop if the buffer is dropped.
14329 2006-01-18 Tim-Philipp Müller <tim at centricular dot net>
14331 * plugins/elements/gsttypefindelement.c:
14332 (gst_type_find_element_class_init):
14333 'have-type' signal needs to be G_SIGNAL_RUN_FIRST, as it is the
14334 object method handler that sets the caps on the pad and we want
14335 that to happen before we emit the signal (fixes e.g. feeding a
14336 plain text file to decodebin).
14338 2006-01-18 Christian Schaller <Christian@fluendo.com>
14340 * gst/gstplugin.c: Add MPL and Proprietary as license options
14342 2006-01-18 Andy Wingo <wingo@pobox.com>
14344 * gst/gstindex.h (gst_index_add_associationv): Add to header. The
14345 symbol was exported before, it appears this was just an oversight.
14347 Patch by: Torsten Schoenfeld <kaffeetisch at gmx.de>
14349 * gst/gstindex.c (gst_index_add_associationv): Changed int in
14350 prototype to gint. OK since this prototype was not in the header.
14352 2006-01-17 Andy Wingo <wingo@pobox.com>
14354 * gst/gstregistry.c (_gst_registry_remove_cache_plugins): Lock the
14355 registry while we remove plugins.
14357 * tools/gst-inspect.c (print_element_info): Don't unref the
14358 factory arg, that should be the responsibility of whatever code
14359 received the ref. Fixes a double-free when called from
14360 print_element_list via gst-inspect-0.10 -a. Fixes #327324.
14361 (main): Unref the factory if we have one.
14362 (print_element_list): No change -- relies on the
14363 plugin_feature_list_free to free the list of features.
14365 2006-01-17 Jan Schmidt <thaytan@mad.scientist.com>
14367 * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
14368 (gst_buffer_make_metadata_writable):
14370 * libs/gst/base/gstbasetransform.c:
14371 (gst_base_transform_prepare_output_buf):
14372 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
14373 * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
14374 Replace gst_buffer_(make|is)_metadata_writable patch now
14375 that the release is out.
14377 2006-01-17 Andy Wingo <wingo@pobox.com>
14379 * gst/gstregistry.c: Reflow design comment. Update so as to speak
14380 in the present tense without reference to versions.
14382 * gst/gstregistry.c (gst_registry_add_plugin)
14383 (gst_registry_remove_plugin, gst_registry_remove_feature)
14384 (gst_registry_find_feature, gst_registry_get_feature_list)
14385 (gst_registry_get_plugin_list, gst_registry_lookup_feature)
14386 (gst_registry_lookup, gst_registry_scan_path)
14387 (_gst_registry_remove_cache_plugins)
14388 (gst_registry_get_feature_list_by_plugin): Add argument
14391 === release 0.10.2 ===
14393 2006-01-16 Thomas Vander Stichele <thomas at apestaart dot org>
14396 releasing 0.10.2, "If man is five"
14398 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
14402 * libs/gst/base/gstbasetransform.c:
14403 (gst_base_transform_prepare_output_buf):
14404 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
14405 * tests/check/gst/gstbuffer.c: (gst_test_suite):
14406 Back out patch until after the release.
14408 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
14410 * gst/gstminiobject.c:
14411 Spelling fix in docs.
14412 * ChangeLog - remove conflict indicator
14414 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
14416 Reviewed By: Andy Wingo
14418 * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
14419 (gst_buffer_make_metadata_writable):
14421 Add gst_buffer_(is|make)_metadata_writable as analogues of
14422 gst_buffer_(is|make)_writable.
14424 * libs/gst/base/gstbasetransform.c:
14425 (gst_base_transform_prepare_output_buf):
14426 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
14427 Use name gst_buffer_(is|make)_metadata_writable functions.
14429 * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
14430 Test gst_buffer_(is|make)_metadata_writable
14434 2006-01-14 Thomas Vander Stichele <thomas at apestaart dot org>
14436 * docs/manual/Makefile.am:
14437 don't do parallel make
14440 * win32/common/config.h.in:
14441 add generations for HOST_CPU and GST_MAJORMINOR
14442 * win32/common/config.h:
14443 commit generated result
14445 2006-01-13 Tim-Philipp Müller <tim at centricular dot net>
14447 * docs/manual/appendix-integration.xml:
14448 Update GNOME integration section to use gst_init_get_option_group()
14449 instead of the old popt stuff (#322911). Also, GNOME applications
14450 should now use gconf*sink and gconf*src instead of the old gconf
14453 2006-01-13 Stefan Kost <ensonic@users.sf.net>
14456 * docs/gst/gstreamer-docs.sgml:
14457 * docs/gst/gstreamer-sections.txt:
14458 * docs/libs/gstreamer-libs-sections.txt:
14459 add new API entries to the docs
14460 * libs/gst/controller/Makefile.am:
14461 * libs/gst/controller/gstcontroller.c:
14462 * libs/gst/controller/gstcontroller.h:
14463 * libs/gst/controller/gstcontrollerprivate.h:
14464 * libs/gst/controller/gsthelper.c:
14465 * libs/gst/controller/gstinterpolation.c:
14466 move private structs to private header
14468 gstreamer-0.7 -> gstreamer-0.10
14469 * tests/check/libs/struct_i386.h:
14470 remove private structs
14472 2006-01-13 Thomas Vander Stichele <thomas at apestaart dot org>
14474 * plugins/indexers/Makefile.am:
14475 Fixes as part of #317048
14477 2006-01-13 Thomas Vander Stichele <thomas at apestaart dot org>
14479 * plugins/indexers/Makefile.am:
14480 fix #316086 - compilation when mmap is missing
14482 2006-01-12 Sebastien Moutte <sebastien@moutte.net>
14484 * libs/gst/base/gstbasesink.c:
14485 *cur = (now - base) * basesink->segment.abs_rate + time; replaced by
14486 *cur = gst_guint64_to_gdouble(now - base) * basesink->segment.abs_rate + time; for vs6
14487 * win32/common/config.h:
14488 added some defines GST_MAJORMINOR and HOST_CPU
14489 * win32/common/libgstbase.def:
14490 * win32/common/libgstreamer.def:
14491 added some exported functions.
14493 2006-01-12 Stefan Kost <ensonic@users.sf.net>
14495 * libs/gst/controller/gstcontroller.c:
14496 (gst_controlled_property_set_interpolation_mode),
14497 (gst_controlled_property_new):
14498 * libs/gst/controller/gstcontroller.h:
14499 * libs/gst/controller/gstinterpolation.c:
14500 (interpolate_none_get_string_value_array):
14501 make G_TYPE_STRING controlable
14503 2006-01-12 Stefan Kost <ensonic@users.sf.net>
14506 * tools/gst-feedback.1.in:
14507 * tools/gst-inspect.1.in:
14508 * tools/gst-launch.1.in:
14509 * tools/gst-md5sum.1.in:
14510 * tools/gst-typefind.1.in:
14511 * tools/gst-xmlinspect.1.in:
14512 * tools/gst-xmllaunch.1.in:
14513 cleanup man-pages, remove reference to gst-register, document env-vars
14515 2006-01-12 Jan Schmidt <thaytan@mad.scientist.com>
14517 * gst/gstbuffer.c: (gst_buffer_span):
14518 gst_buffer_span should copy the timestamp of the first buffer
14519 if they were both originally overlapping subbuffers of the
14520 same parent, using the same logic as the 'slow copy' case.
14522 2006-01-11 Jan Schmidt <thaytan@mad.scientist.com>
14524 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop):
14525 Need to awaken ALL the pads when we pop a buffer, otherwise
14526 collectpads only works when there is 2 input streams.
14528 2006-01-11 Stefan Kost <ensonic@users.sf.net>
14530 * docs/random/ensonic/media-device-daemon.txt:
14533 fix doc example, add clarification
14534 * tools/gst-launch.1.in:
14535 add initial info about GST_PLUGIN_PATH, needs more work
14537 2006-01-11 Tim-Philipp Müller <tim at centricular dot net>
14539 * docs/manual/basics-bins.xml:
14540 * docs/manual/basics-elements.xml:
14541 * docs/manual/intro-basics.xml:
14542 Some more minor docs additions and updates.
14544 2006-01-11 Wim Taymans <wim@fluendo.com>
14546 * docs/manual/basics-bins.xml:
14547 * docs/manual/basics-elements.xml:
14548 Some small fixes as pointed out by Ser-ver on IRC.
14550 2006-01-10 Edward Hervey <edward@fluendo.com>
14552 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
14553 Set the buffer offset/offset_end to GST_CLOCK_TIME_NONE when using
14554 the single-segment mode.
14556 2006-01-10 Brian Cameron <brian dot cameron at sun dot com>
14558 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
14560 * libs/gst/base/gstbasesrc.c: (gst_base_src_init),
14561 (gst_base_src_perform_seek), (gst_base_src_send_event),
14562 (gst_base_src_set_property), (gst_base_src_get_property),
14563 (gst_base_src_loop), (gst_base_src_start),
14564 (gst_base_src_activate_push):
14565 * libs/gst/base/gstbasesrc.h:
14566 Name (private) union; makes Sun's Forte compiler happy (#324900).
14568 2006-01-09 Tim-Philipp Müller <tim at centricular dot net>
14571 gst-register is gone.
14573 2006-01-07 Thomas Vander Stichele <thomas at apestaart dot org>
14575 * gst/gstvalue.c: (_gst_value_initialize):
14576 make the G_TYPE_DATE instantiation work if debug is disabled
14578 2006-01-06 Tim-Philipp Müller <tim at centricular dot net>
14580 * gst/gstmessage.c: (gst_message_parse_tag),
14581 (gst_message_parse_error), (gst_message_parse_warning):
14582 Don't crash when return location for error/warning debug
14583 string is NULL; add fact that return locations can be
14584 NULL to docs where appropriate.
14586 2006-01-05 Wim Taymans <wim@fluendo.com>
14588 * gst/gstplugin.c: (gst_plugin_load_file):
14589 Replace strdup by g_strdup.
14591 2006-01-05 Thomas Vander Stichele <thomas at apestaart dot org>
14593 * docs/pwg/advanced-types.xml:
14596 2006-01-05 Thomas Vander Stichele <thomas at apestaart dot org>
14598 submitted by: Abel Cheung
14602 Added Chinese (traditional) translation
14604 2006-01-04 Wim Taymans <wim@fluendo.com>
14606 * docs/manual/basics-pads.xml:
14607 * docs/plugins/Makefile.am:
14608 * docs/plugins/gstreamer-plugins-docs.sgml:
14609 * docs/plugins/gstreamer-plugins-sections.txt:
14610 * docs/pwg/advanced-clock.xml:
14611 * docs/pwg/advanced-scheduling.xml:
14612 * docs/pwg/advanced-types.xml:
14613 * plugins/elements/gstfdsink.c:
14614 * plugins/elements/gstfdsrc.c:
14615 * plugins/elements/gstfdsrc.h:
14616 * plugins/elements/gstidentity.c: (gst_identity_class_init):
14617 * plugins/elements/gstidentity.h:
14618 * plugins/elements/gstqueue.h:
14619 * plugins/elements/gsttee.c:
14620 * plugins/elements/gsttee.h:
14621 * plugins/elements/gsttypefindelement.c:
14622 (gst_type_find_element_class_init):
14623 * plugins/elements/gsttypefindelement.h:
14624 Small updates to various docs.
14625 Added core plugins to docs.
14627 2006-01-03 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
14630 add a suppression for liboil's uninitialized variable
14632 2006-01-02 James Livingston <jrl at ids dot org dot au>
14634 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
14637 Add prototype for _get_type() function to GST_BOILERPLATE_FULL
14638 macro, so that gcc doesn't complain if the -Wmissing-prototypes
14639 compiler switch is being used (#325429).
14641 2005-12-29 Tim-Philipp Müller <tim at centricular dot net>
14643 * gst/gstbin.c: (gst_bin_query):
14644 Disable duration query caching in bins until it gets
14645 fixed (see #324807).
14647 2005-12-27 Tim-Philipp Müller <tim at centricular dot net>
14649 * tools/gst-inspect.c: (print_element_properties_info):
14650 Handle properties of POINTER and BOXED type.
14652 2005-12-27 Tim-Philipp Müller <tim at centricular dot net>
14654 * gst/gst.c: (init_post):
14655 Init tags stuff and some other things before loading
14656 any static plugins (there may be other static plugins
14657 than just the GStreamer ones, and they may want to
14658 register their own tags or formats or whatever, and
14659 preferably without segfaulting).
14661 * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
14662 Print at least a warning in the debug logs if we drop a
14663 query just because we don't know how to adjust the value
14664 in the particular format.
14666 2005-12-24 David Schleef <ds@schleef.org>
14668 * tools/gstreamer-completion:
14669 Replacement for gst-complete written in sh and sed. Only
14670 completes names of features, but that's 90% of what I want
14671 it for. Properties are not available in registry.xml. (Maybe
14674 === release 0.10.1 ===
14676 2005-12-23 Thomas Vander Stichele <thomas at apestaart dot org>
14679 releasing 0.10.1, "Nollaig chridheil"
14681 2005-12-22 Tim-Philipp Müller <tim at centricular dot net>
14683 * docs/faq/cvs.xml:
14684 Add missing quote, should be make ERROR_CFLAGS="".
14686 2005-12-20 Wim Taymans <wim@fluendo.com>
14688 * docs/design/part-trickmodes.txt:
14689 More documentation on trickmodes.
14691 2005-12-20 Edward Hervey <edward@fluendo.com>
14693 * gst/gstcaps.c: (gst_static_caps_get_type):
14695 API addition: GST_TYPE_STATIC_CAPS
14696 Added gpointer GType for GstStaticCaps so we can wrap them in bindings.
14697 * gst/gstpadtemplate.c: (gst_static_pad_template_get_type):
14698 * gst/gstpadtemplate.h:
14699 API addition: GST_TYPE_STATIC_PAD_TEMPLATE
14700 Added gpointer GType for GstStaticPadTemplate so we can wrap them in
14703 2005-12-18 Wim Taymans <wim@fluendo.com>
14705 * libs/gst/base/gstadapter.c:
14706 * libs/gst/base/gstadapter.h:
14707 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
14708 (gst_base_sink_get_position):
14709 * libs/gst/base/gstbasesink.h:
14710 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
14711 (gst_base_src_default_query), (gst_base_src_default_do_seek),
14712 (gst_base_src_do_seek), (gst_base_src_perform_seek),
14713 (gst_base_src_send_event), (gst_base_src_update_length),
14714 (gst_base_src_get_range), (gst_base_src_loop),
14715 (gst_base_src_start):
14716 * libs/gst/base/gstbasesrc.h:
14717 * libs/gst/base/gstbasetransform.h:
14718 * libs/gst/base/gstcollectpads.h:
14719 * libs/gst/base/gstpushsrc.c:
14720 * libs/gst/base/gstpushsrc.h:
14721 * libs/gst/dataprotocol/dataprotocol.c:
14722 * libs/gst/dataprotocol/dataprotocol.h:
14723 * libs/gst/net/gstnetclientclock.h:
14724 * libs/gst/net/gstnettimeprovider.h:
14725 Documentation updates.
14727 2005-12-18 Tim-Philipp Müller <tim at centricular dot net>
14729 * docs/manual/basics-helloworld.xml:
14730 Remove superfluous closing bracket in helloworld example.
14732 2005-12-17 Tim-Philipp Müller <tim at centricular dot net>
14734 * tools/gst-launch.1.in:
14735 Update gst-launch man page; add a section with useful
14736 environment variables. Fixes #323882.
14738 2005-12-16 Stefan Kost <ensonic@users.sf.net>
14741 * gst/gst_private.h:
14742 change some char* into char[]
14744 2005-12-16 Wim Taymans <wim@fluendo.com>
14746 * gst/gstregistryxml.c: (load_feature):
14748 Don't use g_object_unref on GstObjects so that we avoid
14749 leaks on unsafe glibs.
14751 2005-12-16 Wim Taymans <wim@fluendo.com>
14753 * gst/gstbin.c: (gst_bin_recalc_state):
14756 2005-12-16 Wim Taymans <wim@fluendo.com>
14758 * common/check.mak:
14759 Added make forever target for check.
14761 2005-12-16 Thomas Vander Stichele <thomas at apestaart dot org>
14763 * gst/gst.c: (init_post):
14764 make the registry cache file HOST_CPU-dependent
14766 2005-12-16 Andy Wingo <wingo@pobox.com>
14768 * plugins/elements/gstbufferstore.c
14769 (gst_buffer_store_cleared_func): Pay attention to g_list_append
14772 * tests/check/gst/gstobject.c
14773 (test_fake_object_name_threaded_unique): Pay attention to
14774 g_list_sort return value.
14776 2005-12-16 Tim-Philipp Müller <tim at centricular dot net>
14778 * tools/gst-feedback-m.m:
14779 Update for 0.9/0.10 (fixes #323870).
14781 2005-12-15 Tim-Philipp Müller <tim at centricular dot net>
14783 * gst/gstminiobject.c: (gst_value_mini_object_lcopy):
14784 Fix lcopy for mini objects, the mini object needs to be ref'ed.
14786 * tests/check/gst/gstminiobject.c: (my_foo_init),
14787 (my_foo_get_property), (my_foo_set_property), (my_foo_class_init),
14788 (test_value_collection), (gst_mini_object_suite):
14789 Add test to ensure refcounts end up as expected when passing
14790 GstMiniObjects through g_object_get() and g_object_set().
14792 2005-12-14 Julien MOUTTE <julien@moutte.net>
14794 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
14795 (gst_collect_pads_remove_pad), (gst_collect_pads_is_collected),
14796 (gst_collect_pads_event), (gst_collect_pads_chain): Refactoring
14797 of collectpads. This version removes a lot of races without
14798 touching API/ABI. Yay !
14800 2005-12-14 Jan Schmidt <thaytan@mad.scientist.com>
14802 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_link_prepare):
14803 Don't allow activation of a srcpad in pull_range if it has no
14805 Change some debug statements to be a little clearer
14807 * plugins/elements/gsttypefindelement.c:
14808 (gst_type_find_handle_src_query):
14809 Check that we have a peer before executing queries thereupon.
14811 * tests/examples/metadata/read-metadata.c: (message_loop):
14812 Use gst_bus_pop instead of gst_bus_poll when we just want it to
14813 immediately return us any available message with 0 timeout.
14815 2005-12-12 Michael Smith <msmith@fluendo.com>
14817 * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
14818 Don't unref factories after calling them.
14819 * libs/gst/base/gsttypefindhelper.c: (gst_type_find_helper):
14820 * plugins/elements/gsttypefindelement.c:
14821 (gst_type_find_element_chain):
14822 Free lists of factories after using them. Fixing typefinding memory
14825 2005-12-12 Stefan Kost <ensonic@users.sf.net>
14827 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
14828 (gst_plugin_feature_load):
14829 more meaningful debug output
14831 * tests/Makefile.am:
14832 * tests/old/examples/Makefile.am:
14833 make make distcheck happy again
14835 2005-12-12 Tim-Philipp Müller <tim at centricular dot net>
14837 * plugins/elements/gsttypefindelement.c: (stop_typefinding):
14838 Catch the special case where we are operating chain-based,
14839 but the downstream peer pad has no chain function. Emit a
14840 custom error message in this case instead of letting the
14841 core generate one implying that this is some sort of core
14842 bug. It's not, it just means that whatever got plugged
14843 into the pipeline downstream when we announced the type
14844 can only operate pull-based, while our source can only
14845 operate push-based (e.g. http://foo/bar.mov ! qtdemux ! ...)
14846 Error string has not been marked for translation yet, as
14847 it probably needs some more work first.
14849 (gst_type_find_element_get_best_possibility):
14850 Add helper function to find the best of all available
14851 found possibilities that qualify given the min. threshold.
14853 (gst_type_find_element_handle_event):
14854 Fix the case where we get an EOS while still in TYPEFIND
14855 mode (we want to chose the best of all possible types,
14856 not just the first type that happens to be in our unsorted
14857 list of possible types).
14859 (gst_type_find_element_chain):
14860 Make sure we return GST_FLOW_ERROR when we errored out
14861 in stop_typefinding(); also, don't just find the best of
14862 all found type entries and then use the last examined
14863 type entry, but actually use the best entry.
14865 2005-12-12 Tim-Philipp Müller <tim at centricular dot net>
14867 * tests/examples/typefind/typefind.c: (type_found):
14868 * tests/examples/xml/runxml.c: (xml_loaded):
14869 More gcc4 fixes and a mem leak fix.
14871 2005-12-12 Stefan Kost <ensonic@users.sf.net>
14873 * tests/examples/xml/createxml.c: (object_saved):
14876 2005-12-12 Stefan Kost <ensonic@users.sf.net>
14878 * tests/Makefile.am:
14879 enable the examples even more
14881 2005-12-12 Andy Wingo <wingo@pobox.com>
14883 * libs/gst/net/gstnettimeprovider.c
14884 (gst_net_time_provider_class_init, gst_net_time_provider_init)
14885 (gst_net_time_provider_set_property)
14886 (gst_net_time_provider_get_property):
14887 API addition: Export "active" as a GObject property.
14888 (gst_net_time_provider_thread): Only respond to time queries if
14889 the time provider is active.
14891 * libs/gst/net/gstnettimeprovider.h: Add an "active" boolean to
14892 NetTimeProvider, preserving binary compat.
14894 2005-12-12 Stefan Kost <ensonic@users.sf.net>
14896 * tests/examples/controller/audio-example.c: (main):
14897 * tests/examples/launch/Makefile.am:
14898 convert comments again
14900 2005-12-12 Wim Taymans <wim@fluendo.com>
14902 * libs/gst/base/gstpushsrc.c:
14905 2005-12-12 Wim Taymans <wim@fluendo.com>
14907 * docs/libs/gstreamer-libs-sections.txt:
14908 Added new symbol to docs.
14910 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
14911 (gst_base_src_init), (gst_base_src_set_format),
14912 (gst_base_src_default_query), (gst_base_src_query),
14913 (gst_base_src_default_do_seek), (gst_base_src_do_seek),
14914 (gst_base_src_perform_seek), (gst_base_src_send_event),
14915 (gst_base_src_default_event), (gst_base_src_event_handler),
14916 (gst_base_src_set_property), (gst_base_src_get_property),
14917 (gst_base_src_wait), (gst_base_src_do_sync),
14918 (gst_base_src_update_length), (gst_base_src_get_range),
14919 (gst_base_src_check_get_range), (gst_base_src_loop),
14920 (gst_base_src_default_negotiate), (gst_base_src_start),
14921 (gst_base_src_activate_push), (gst_base_src_activate_pull),
14922 (gst_base_src_change_state):
14923 * libs/gst/base/gstbasesrc.h:
14924 Implement seeking to other formats than _BYTES.
14925 Implement more seeking methods correctly.
14927 Added query vmethod.
14928 Added do_seek vmethod to make life easier for subclasses
14930 API addition: gst_base_src_set_format()
14932 2005-12-12 Stefan Kost <ensonic@users.sf.net>
14934 * tests/examples/Makefile.am:
14937 2005-12-12 Stefan Kost <ensonic@users.sf.net>
14940 * docs/random/ensonic/media-device-daemon.txt:
14941 * tests/examples/controller/.cvsignore:
14942 * tests/examples/controller/Makefile.am:
14943 * tests/examples/controller/audio-example.c: (main):
14944 * tests/examples/helloworld/.cvsignore:
14945 * tests/examples/helloworld/Makefile.am:
14946 * tests/examples/helloworld/helloworld.c: (event_loop), (main):
14947 * tests/examples/launch/.cvsignore:
14948 * tests/examples/launch/Makefile.am:
14949 * tests/examples/launch/mp3parselaunch.c: (event_loop), (main):
14950 * tests/examples/metadata/.cvsignore:
14951 * tests/examples/metadata/Makefile.am:
14952 * tests/examples/metadata/read-metadata.c: (message_loop),
14953 (make_pipeline), (print_tag), (main):
14954 * tests/examples/queue/.cvsignore:
14955 * tests/examples/queue/Makefile.am:
14956 * tests/examples/queue/queue.c: (event_loop), (main):
14957 * tests/examples/typefind/.cvsignore:
14958 * tests/examples/typefind/Makefile.am:
14959 * tests/examples/typefind/typefind.c: (type_found), (event_loop),
14961 * tests/examples/xml/.cvsignore:
14962 * tests/examples/xml/Makefile.am:
14963 * tests/examples/xml/createxml.c: (object_saved), (main):
14964 * tests/examples/xml/runxml.c: (xml_loaded), (event_loop), (main):
14965 * tests/old/examples/Makefile.am:
14966 * tests/old/examples/TODO:
14967 * tests/old/examples/controller/.cvsignore:
14968 * tests/old/examples/controller/Makefile.am:
14969 * tests/old/examples/controller/audio-example.c:
14970 * tests/old/examples/helloworld/.cvsignore:
14971 * tests/old/examples/helloworld/Makefile.am:
14972 * tests/old/examples/helloworld/helloworld.c:
14973 * tests/old/examples/launch/.cvsignore:
14974 * tests/old/examples/launch/Makefile.am:
14975 * tests/old/examples/launch/mp3parselaunch.c:
14976 * tests/old/examples/launch/mp3play:
14977 * tests/old/examples/manual/Makefile.am:
14978 * tests/old/examples/metadata/Makefile.am:
14979 * tests/old/examples/metadata/read-metadata.c:
14980 * tests/old/examples/queue/.cvsignore:
14981 * tests/old/examples/queue/Makefile.am:
14982 * tests/old/examples/queue/queue.c:
14983 * tests/old/examples/typefind/.cvsignore:
14984 * tests/old/examples/typefind/Makefile.am:
14985 * tests/old/examples/typefind/typefind.c:
14986 * tests/old/examples/xml/.cvsignore:
14987 * tests/old/examples/xml/Makefile.am:
14988 * tests/old/examples/xml/createxml.c:
14989 * tests/old/examples/xml/runxml.c:
14990 applied some simple fixing to some examples
14991 re-enabled the working examples
14993 2005-12-12 Wim Taymans <wim@fluendo.com>
14995 * gst/gstsegment.c: (gst_segment_init),
14996 (gst_segment_set_last_stop), (gst_segment_set_seek),
14997 (gst_segment_set_newsegment), (gst_segment_to_stream_time),
14998 (gst_segment_to_running_time):
14999 Added more documentation.
15000 Make sure the last_pos value is updated properly.
15001 Make sure to_stream_time and to_running_time don't
15002 operate on wrong values.
15004 * tests/check/gst/gstsegment.c: (GST_START_TEST):
15007 2005-12-12 Michael Smith <msmith@fluendo.com>
15009 * plugins/elements/gsttypefindelement.c: (free_entry),
15010 (gst_type_find_element_chain):
15011 Now that we're not leaking factories, make sure we keep references
15012 to them while we need them.
15014 2005-12-12 Thomas Vander Stichele <thomas at apestaart dot org>
15016 * tests/check/gst/struct_i386.h:
15017 ifdef out the XML structs
15019 2005-12-12 Thomas Vander Stichele <thomas at apestaart dot org>
15021 * gst/gstvalue.c: (gst_value_transform_double_fraction):
15022 floor is not needed, F is always positive; this obviates the
15023 need for adding -lm when building without libxml
15025 2005-12-12 Wim Taymans <wim@fluendo.com>
15027 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
15028 Take current playback rate into account when reporting
15031 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
15033 * docs/manual/mime-world.fig:
15034 Let's try this again, this time with a file that is
15035 actually in XFig format.
15037 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
15039 * docs/manual/mime-world.fig:
15040 Add audioconvert element to diagram so that it
15041 matches the text and the code (fixes #319526).
15043 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
15045 * docs/pwg/building-chainfn.xml:
15046 * docs/pwg/building-pads.xml:
15047 * docs/pwg/building-state.xml:
15048 * docs/pwg/other-source.xml:
15049 Update state change stuff for 0.10 (fixes #322969).
15051 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
15053 * docs/manual/advanced-dataaccess.xml:
15054 * docs/manual/appendix-checklist.xml:
15055 * docs/manual/appendix-programs.xml:
15056 * docs/manual/basics-pads.xml:
15057 * docs/manual/highlevel-components.xml:
15058 * docs/manual/manual.xml:
15059 Update for 0.10: s/0.9/0.10/; s/audioscale/audiorsample/;
15060 add converters in front of pipelines; remove curly
15061 brackets for threads stuff, they no longer exist; use
15062 GST_TYPE_FRACTION for framerates; update some pieces of
15063 code to 0.10, but there's plenty more to do.
15065 * docs/manual/appendix-porting.xml:
15066 Expand on asynchroneous state changes; s/0.9/0.10/;
15067 mention disappearance of gst_init_get_popt_table()
15070 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
15072 * docs/faq/using.xml:
15073 Spider no longer exists, and neither does gst-launch-ext.
15074 Update examples to use decodebin and playbin and put
15075 converters in front of sinks (fixes #323726).
15077 2005-12-09 Michael Smith <msmith@fluendo.com>
15079 * plugins/elements/gsttypefindelement.c: (find_peek),
15080 (gst_type_find_element_chain):
15081 Fix leaking element factories in typefinding.
15082 Fix problem where we forgot about a probable type on non-seekable
15083 files, and thus later mis-typefound it.
15085 2005-12-09 Michael Smith <msmith@fluendo.com>
15087 * common/m4/gst-makecontext.m4:
15088 * common/m4/gst-mcsc.m4:
15090 * win32/common/config.h:
15091 * win32/common/config.h.in:
15092 Remove makecontext stuff; not used in 0.10 and causes problems on
15093 HPUX according to bug #322441
15095 2005-12-07 Wim Taymans <wim@fluendo.com>
15097 * tests/check/Makefile.am:
15098 * tests/check/libs/libsabi.c: (GST_START_TEST), (gstabi_suite),
15100 * tests/check/libs/struct_i386.h:
15101 Added ABI check for libs
15103 2005-12-07 Wim Taymans <wim@fluendo.com>
15105 * tests/check/Makefile.am:
15106 And add the struct_i386.h to dist.
15108 2005-12-07 Wim Taymans <wim@fluendo.com>
15110 * tests/check/Makefile.am:
15111 * tests/check/gst/.cvsignore:
15112 * tests/check/gst/gstabi.c: (GST_START_TEST), (gstabi_suite),
15114 * tests/check/gst/struct_i386.h:
15115 Added check for ABI compatibility.
15117 2005-12-07 Wim Taymans <wim@fluendo.com>
15119 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
15120 (gst_fake_src_get_times), (gst_fake_src_create):
15121 Fix broken sync option, fixes #323259
15123 2005-12-07 Wim Taymans <wim@fluendo.com>
15128 * gst/gstcaps.c: (gst_caps_is_equal):
15129 Don't assert on NULL <--> X. Fixes #323260
15131 * gst/gstminiobject.c: (gst_mini_object_replace):
15132 If we're doing atomic operations, we might just as well use
15133 the proper way to get an atomic pointer.
15135 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
15136 Clean up debugging.
15138 2005-12-07 Michael Smith <msmith@fluendo.com>
15140 * gst/parse/grammar.y:
15141 Remove handling of { } for threads.
15143 2005-12-06 David Schleef <ds@schleef.org>
15145 * libs/gst/base/gstbasetransform.c: speling fix.
15147 2005-12-06 Thomas Vander Stichele <thomas at apestaart dot org>
15149 * docs/libs/tmpl/gstdataprotocol.sgml:
15150 * docs/random/omega/testing/gstobject.c:
15153 * gst/gstelement.c:
15154 * gst/gstelementfactory.c:
15157 * gst/gstghostpad.c:
15159 * gst/gstpadtemplate.c:
15160 * gst/gstregistryxml.c:
15161 * gst/gsttaglist.c:
15162 * gst/gsttagsetter.c:
15163 * gst/gsttypefind.c:
15165 * libs/gst/base/gstbasesrc.c:
15166 * libs/gst/net/gstnetclientclock.c:
15167 * libs/gst/net/gstnettimeprovider.c:
15168 * plugins/elements/gstfakesrc.c:
15169 * plugins/elements/gstfdsrc.c:
15170 * plugins/elements/gstfilesrc.c:
15171 * plugins/elements/gstidentity.c:
15172 * plugins/elements/gstqueue.c:
15173 * plugins/elements/gsttypefindelement.c:
15174 * plugins/indexers/gstfileindex.c:
15175 * plugins/indexers/gstmemindex.c:
15176 * tests/check/gst/gsttag.c:
15177 * tests/old/examples/cutter/cutter.c:
15178 * tests/old/examples/mixer/mixer.c:
15179 * tests/old/examples/xml/runxml.c: (main):
15180 * tests/old/testsuite/caps/normalisation.c:
15181 * tests/old/testsuite/debug/global.c:
15182 * tests/old/testsuite/parse/parse1.c:
15183 * tools/gst-xmlinspect.c:
15184 * win32/common/dirent.c:
15187 === release 0.10.0 ===
15189 2005-12-05 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
15192 releasing 0.10.0, "Maroilles"
15194 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
15196 submitted by: Funda Wang <fundawang@linux.net.cn>
15200 added Chinese (Traditional) translation
15202 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
15204 * docs/gst/gstreamer-sections.txt:
15205 * docs/libs/tmpl/gstdataprotocol.sgml:
15206 * docs/random/thomasvs/TODO:
15211 2005-12-05 Andy Wingo <wingo@pobox.com>
15213 patch by: Wim Taymans <wim@fluendo.com>
15215 * libs/gst/base/gstbasetransform.c
15216 (gst_base_transform_prepare_output_buf)
15217 (gst_base_transform_buffer_alloc):
15218 * plugins/elements/gstqueue.c (gst_queue_bufferalloc): Call
15219 alloc_buffer_and_set_caps.
15221 * gst/gstpad.c (gst_pad_alloc_buffer): Changed to not call
15222 set_caps on the source pad.
15223 (gst_pad_alloc_buffer_and_set_caps): New function, does what
15224 alloc_buffer used to do. Fixes #322874.
15226 * docs/gst/gstreamer-sections.txt:
15227 * docs/design/part-negotiation.txt:
15228 * docs/pwg/advanced-negotiation.xml: Update for the alloc_buffer
15231 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
15233 patch by: Sebastien Moutte
15236 * win32/common/config.h.in:
15237 * win32/vs6/libgstcontroller.dsp:
15240 2005-12-05 Wim Taymans <wim@fluendo.com>
15242 * gst/gstcaps.c: (gst_caps_is_equal):
15243 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
15244 (gst_fake_src_create):
15245 Back out previous code changes, leave doc updates, file bugs
15248 2005-12-05 Wim Taymans <wim@fluendo.com>
15250 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
15251 (gst_fake_src_get_times), (gst_fake_src_create):
15252 * plugins/elements/gstfakesrc.h:
15253 Fix broken sync code.
15255 2005-12-05 Wim Taymans <wim@fluendo.com>
15257 * gst/gstcaps.c: (gst_caps_is_equal):
15258 Comparing NULL against !NULL yields different caps, not a
15261 2005-12-05 Wim Taymans <wim@fluendo.com>
15263 * gst/gstpipeline.c:
15264 Fix small typo in docs.
15266 2005-12-05 Andy Wingo <wingo@pobox.com>
15268 patch by: Thomas Vander Stichele <thomas at apestaart dot org>
15270 * gst/gst.c (init_post): remove hard-coded 0.9 location for
15271 registries/plugins with a MAJORMINOR one.
15272 (plugin_desc): Rename library from gstcoreleements to
15273 staticelements. Fixes #323222.
15275 2005-12-05 Tim-Philipp Müller <tim at centricular dot net>
15277 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init):
15278 Change debug category to 'collectpads' from 'collect_pads'
15281 2005-12-04 Thomas Vander Stichele <thomas at apestaart dot org>
15283 patch by: Sebastien Moutte
15285 * libs/gst/controller/gstinterpolation.c:
15286 use convert function for uint64/double
15287 * win32/vs6/libgstcontroller.dsp:
15290 2005-12-04 Thomas Vander Stichele <thomas at apestaart dot org>
15292 * gst/gstutils.c: (gst_util_guint64_to_gdouble),
15293 (gst_util_gdouble_to_guint64), (gst_util_uint64_scale_int64):
15295 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
15296 add tests that seem to show that the guint64/gdouble conversions
15299 2005-12-02 Wim Taymans <wim@fluendo.com>
15301 * gst/gstregistry.c: (gst_registry_add_path):
15302 * gst/gstregistry.h:
15303 * gst/gstregistryxml.c:
15306 2005-12-02 Wim Taymans <wim@fluendo.com>
15308 * gst/gstutils.c: (gst_util_uint64_scale_int64),
15309 (gst_util_uint64_scale_int):
15312 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object):
15313 Add debug log line.
15315 * libs/gst/base/gstbasetransform.c: (gst_base_transform_event):
15318 2005-12-02 Thomas Vander Stichele <thomas at apestaart dot org>
15321 * win32/common/config.h:
15322 * win32/vs6/gstreamer.dsw:
15323 * win32/vs6/libgstcoreelements.dsp:
15324 * win32/vs6/libgstelements.dsp:
15325 renamed core elements plugin
15327 2005-12-02 Thomas Vander Stichele <thomas at apestaart dot org>
15329 * tools/gst-run.c: (compare_major_minor), (find_highest_version),
15331 do piece-wise major/minor comparison so 0.9 < 0.10
15332 also allow .exe extensions for tools
15334 2005-12-02 Michael Smith <msmith@fluendo.com>
15337 Escape a % to make gtkdoc happier; bug 322958.
15339 === release 0.9.7 ===
15341 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
15344 releasing 0.9.7, "My Dog Has No Nose"
15346 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
15348 * common/gst-xmlinspect.py:
15350 * docs/libs/tmpl/gstdataprotocol.sgml:
15351 * docs/random/release:
15370 * win32/common/config.h:
15371 * win32/common/config.h.in:
15372 * win32/vs6/gst_inspect.dsp:
15373 * win32/vs6/gst_launch.dsp:
15374 * win32/vs6/libgstbase.dsp:
15375 * win32/vs6/libgstelements.dsp:
15376 * win32/vs6/libgstreamer.dsp:
15377 * win32/vs7/GStreamer.vcproj:
15378 * win32/vs7/gst-inspect.vcproj:
15379 * win32/vs7/gst-launch.vcproj:
15380 * win32/vs7/libgstbase.vcproj:
15381 bump GST_MAJORMINOR to 0.10
15382 reset libtool version
15384 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
15388 Added Bulgarian translation by (Alexander Shopov)
15390 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
15392 * tests/check/gst/gstplugin.c:
15395 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
15397 * common/gst-xmlinspect.py:
15398 * common/gtk-doc-plugins.mak:
15400 * docs/Makefile.am:
15401 * docs/gst/Makefile.am:
15402 * docs/gst/gstreamer-docs.sgml:
15403 * docs/gst/gstreamer-sections.txt:
15404 * docs/gst/gstreamer.types:
15405 * docs/gst/gstreamer.types.in:
15406 * docs/plugins/Makefile.am:
15407 * docs/plugins/gstreamer-plugins-docs.sgml:
15408 * docs/plugins/gstreamer-plugins-sections.txt:
15409 * docs/plugins/gstreamer-plugins.types:
15410 * docs/plugins/inspect.stamp:
15411 * docs/plugins/inspect/plugin-coreelements.xml:
15412 * docs/plugins/inspect/plugin-coreindexers.xml:
15413 * docs/plugins/scanobj-build.stamp:
15414 * gstreamer.spec.in:
15415 * plugins/elements/Makefile.am:
15416 * plugins/elements/gstelements.c:
15417 * plugins/elements/gstfakesink.c:
15418 * plugins/elements/gstfakesrc.c:
15419 * plugins/elements/gstfilesink.c:
15420 * plugins/elements/gstfilesrc.c:
15421 * plugins/elements/gstqueue.c:
15422 * plugins/indexers/Makefile.am:
15423 * plugins/indexers/gstindexers.c:
15424 document core plugins in a separate document just like all the
15426 rename these plugins to something starting with core
15428 2005-12-01 Andy Wingo <wingo@pobox.com>
15430 * gst/gstevent.h (struct _GstEvent): Meant to remove the extra
15431 padding here before, but it missed the commit.
15433 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
15435 * libs/gst/controller/gstinterpolation.c:
15436 whitespace prices have crashed, we should feel free to use some now
15437 use gst_guint64_to_gdouble
15439 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
15441 * libs/gst/controller/gstcontroller.c:
15442 * libs/gst/controller/gsthelper.c:
15443 * libs/gst/controller/gstinterpolation.c:
15444 * libs/gst/controller/lib.c:
15445 wrap config.h include
15447 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
15449 * docs/gst/gstreamer-sections.txt:
15452 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
15454 * plugins/elements/gstelements.c:
15455 * plugins/elements/gstfdsink.c: (gst_fd_sink__base_init),
15456 (gst_fd_sink__class_init), (gst_fd_sink__init),
15457 (gst_fd_sink__chain), (gst_fd_sink__set_property),
15458 (gst_fd_sink__get_property):
15459 * plugins/elements/gstfdsink.h:
15460 * plugins/elements/gstfdsrc.c: (_do_init), (gst_fd_src_base_init),
15461 (gst_fd_src_class_init), (gst_fd_src_init), (gst_fd_src_dispose),
15462 (gst_fd_src_update_fd), (gst_fd_src_start), (gst_fd_src_stop),
15463 (gst_fd_src_unlock), (gst_fd_src_set_property),
15464 (gst_fd_src_get_property), (gst_fd_src_create),
15465 (gst_fd_src_is_seekable), (gst_fd_src_get_size),
15466 (gst_fd_src_uri_get_type), (gst_fd_src_uri_get_protocols),
15467 (gst_fd_src_uri_get_uri), (gst_fd_src_uri_set_uri),
15468 (gst_fd_src_uri_handler_init):
15469 * plugins/elements/gstfdsrc.h:
15470 * plugins/elements/gstqueue.c: (gst_queue_get_type):
15473 2005-11-30 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
15475 * docs/gst/Makefile.am:
15476 * docs/gst/gstreamer.types.in:
15480 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
15486 * gst/gstregistry.h:
15487 * tests/benchmarks/complexity.c:
15488 * tests/benchmarks/mass-elements.c:
15489 * tests/check/Makefile.am:
15490 * tools/Makefile.am:
15491 * tools/gst-inspect.c:
15492 * tools/gst-xmlinspect.c:
15493 various fixes to make
15494 --disable-nls --disable-registry --disable-loadsave
15495 --disable-parse --disable-gst-debug
15496 work and get the core .so down to 360444 bytes after stripping
15498 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
15503 * docs/random/thomasvs/TODO:
15504 * tests/Makefile.am:
15508 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
15510 * win32/GStreamer.vcproj:
15513 * win32/Makefile.inspect:
15514 * win32/Makefile.launch:
15515 * win32/Makefile.register:
15516 * win32/README.txt:
15517 * win32/gst-inspect.vcproj:
15518 * win32/gst-launch.vcproj:
15519 * win32/gst-register.vcproj:
15520 * win32/gstelements.vcproj:
15521 * win32/gstgetbits.def:
15522 * win32/gstgetbits.vcproj:
15523 * win32/gstreamer-dbg.def:
15524 * win32/gstreamer.def:
15525 * win32/libgstbase.def:
15526 * win32/libgstbase.vcproj:
15527 * win32/link_oldruntime.c:
15531 * win32/msvc71.sln:
15532 move even more stuff, win32/ is nice and clean now
15534 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
15536 * libs/gst/control/.cvsignore:
15541 * win32/gstbytestream.def:
15542 * win32/gstbytestream.vcproj:
15543 * win32/gstconfig.h:
15544 * win32/gstenumtypes.c:
15545 * win32/gstenumtypes.h:
15546 * win32/gstoptimalscheduler.vcproj:
15547 * win32/gstversion.h:
15549 * win32/testsuite/bins.vcproj:
15550 * win32/testsuite/bytestream.vcproj:
15551 * win32/testsuite/caps.vcproj:
15552 * win32/testsuite/cleanup.vcproj:
15553 * win32/testsuite/clock.vcproj:
15554 * win32/testsuite/debug.vcproj:
15555 * win32/testsuite/dlopen.vcproj:
15556 * win32/testsuite/dynparams.vcproj:
15557 * win32/testsuite/elements.vcproj:
15558 * win32/testsuite/ghostpads.vcproj:
15559 * win32/testsuite/indexers.vcproj:
15560 * win32/testsuite/negotiation.vcproj:
15561 * win32/testsuite/parse.vcproj:
15562 * win32/testsuite/plugin.vcproj:
15563 * win32/testsuite/refcounting.vcproj:
15564 * win32/testsuite/schedulers.vcproj:
15565 * win32/testsuite/states.vcproj:
15566 * win32/testsuite/tags.vcproj:
15567 * win32/testsuite/threads.vcproj:
15568 remove old win32 stuff that isn't maintained and should be
15571 2005-11-30 Andy Wingo <wingo@pobox.com>
15573 * configure.ac (GST_PKG_DEPS): Revert previous patch, makes
15574 loading the gst.interfaces python module bork.
15576 * configure.ac (GST_PKG_DEPS): Use gmodule-no-export-2.0.pc,
15577 available since GLib 2.2. Fixes #318031.
15579 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
15582 * check/.cvsignore:
15583 * check/Makefile.am:
15584 * check/elements/.cvsignore:
15585 * check/elements/fakesrc.c:
15586 * check/elements/fdsrc.c:
15587 * check/elements/identity.c:
15588 * check/generic/.cvsignore:
15589 * check/generic/states.c:
15590 * check/gst-libs/.cvsignore:
15591 * check/gst-libs/controller.c:
15592 * check/gst-libs/gdp.c:
15593 * check/gst/.cvsignore:
15594 * check/gst/capslist.h:
15596 * check/gst/gstbin.c:
15597 * check/gst/gstbuffer.c:
15598 * check/gst/gstbus.c:
15599 * check/gst/gstcaps.c:
15600 * check/gst/gstelement.c:
15601 * check/gst/gstevent.c:
15602 * check/gst/gstghostpad.c:
15603 * check/gst/gstiterator.c:
15604 * check/gst/gstmessage.c:
15605 * check/gst/gstminiobject.c:
15606 * check/gst/gstobject.c:
15607 * check/gst/gstpad.c:
15608 * check/gst/gstpipeline.c:
15609 * check/gst/gstplugin.c:
15610 * check/gst/gstsegment.c:
15611 * check/gst/gststructure.c:
15612 * check/gst/gstsystemclock.c:
15613 * check/gst/gsttag.c:
15614 * check/gst/gstutils.c:
15615 * check/gst/gstvalue.c:
15616 * check/net/.cvsignore:
15617 * check/net/gstnetclientclock.c:
15618 * check/net/gstnettimeprovider.c:
15619 * check/pipelines/.cvsignore:
15620 * check/pipelines/cleanup.c:
15621 * check/pipelines/simple_launch_lines.c:
15622 * check/pipelines/stress.c:
15623 * check/states/.cvsignore:
15624 * check/states/sinks.c:
15626 * examples/Makefile.am:
15627 * examples/appreader/.cvsignore:
15628 * examples/appreader/Makefile.am:
15629 * examples/appreader/appreader.c:
15630 * examples/controller/.cvsignore:
15631 * examples/controller/Makefile.am:
15632 * examples/controller/audio-example.c:
15633 * examples/cutter/.cvsignore:
15634 * examples/cutter/Makefile.am:
15635 * examples/cutter/cutter.c:
15636 * examples/cutter/cutter.h:
15637 * examples/events/Makefile.am:
15638 * examples/events/seek.c:
15639 * examples/helloworld/.cvsignore:
15640 * examples/helloworld/Makefile.am:
15641 * examples/helloworld/helloworld.c:
15642 * examples/helloworld2/.cvsignore:
15643 * examples/helloworld2/Makefile.am:
15644 * examples/helloworld2/helloworld2.c:
15645 * examples/launch/.cvsignore:
15646 * examples/launch/Makefile.am:
15647 * examples/launch/mp3parselaunch.c:
15648 * examples/launch/mp3play:
15649 * examples/manual/.cvsignore:
15650 * examples/manual/Makefile.am:
15651 * examples/manual/extract.pl:
15652 * examples/metadata/Makefile.am:
15653 * examples/metadata/read-metadata.c:
15654 * examples/mixer/.cvsignore:
15655 * examples/mixer/Makefile.am:
15656 * examples/mixer/mixer.c:
15657 * examples/mixer/mixer.h:
15658 * examples/pingpong/.cvsignore:
15659 * examples/pingpong/Makefile.am:
15660 * examples/pingpong/pingpong.c:
15661 * examples/plugins/.cvsignore:
15662 * examples/plugins/Makefile.am:
15663 * examples/plugins/example.c:
15664 * examples/plugins/example.h:
15665 * examples/pwg/.cvsignore:
15666 * examples/pwg/Makefile.am:
15667 * examples/pwg/extract.pl:
15668 * examples/queue/.cvsignore:
15669 * examples/queue/Makefile.am:
15670 * examples/queue/queue.c:
15671 * examples/queue2/.cvsignore:
15672 * examples/queue2/Makefile.am:
15673 * examples/queue2/queue2.c:
15674 * examples/queue3/.cvsignore:
15675 * examples/queue3/Makefile.am:
15676 * examples/queue3/queue3.c:
15677 * examples/queue4/.cvsignore:
15678 * examples/queue4/Makefile.am:
15679 * examples/queue4/queue4.c:
15680 * examples/retag/.cvsignore:
15681 * examples/retag/Makefile.am:
15682 * examples/retag/retag.c:
15683 * examples/retag/transcode.c:
15684 * examples/thread/.cvsignore:
15685 * examples/thread/Makefile.am:
15686 * examples/thread/thread.c:
15687 * examples/typefind/.cvsignore:
15688 * examples/typefind/Makefile.am:
15689 * examples/typefind/typefind.c:
15690 * examples/xml/.cvsignore:
15691 * examples/xml/Makefile.am:
15692 * examples/xml/createxml.c:
15693 * examples/xml/runxml.c:
15694 * tests/Makefile.am:
15695 * tests/check/Makefile.am:
15696 * testsuite/.cvsignore:
15697 * testsuite/Makefile.am:
15699 * testsuite/caps/.cvsignore:
15700 * testsuite/caps/Makefile.am:
15701 * testsuite/caps/app_fixate.c:
15702 * testsuite/caps/audioscale.c:
15703 * testsuite/caps/caps.c:
15704 * testsuite/caps/caps.h:
15705 * testsuite/caps/caps_strings:
15706 * testsuite/caps/compatibility.c:
15707 * testsuite/caps/deserialize.c:
15708 * testsuite/caps/enumcaps.c:
15709 * testsuite/caps/eratosthenes.c:
15710 * testsuite/caps/filtercaps.c:
15711 * testsuite/caps/fixed.c:
15712 * testsuite/caps/fraction-convert.c:
15713 * testsuite/caps/fraction-multiply-and-zero.c:
15714 * testsuite/caps/intersect2.c:
15715 * testsuite/caps/intersection.c:
15716 * testsuite/caps/normalisation.c:
15717 * testsuite/caps/random.c:
15718 * testsuite/caps/renegotiate.c:
15719 * testsuite/caps/sets.c:
15720 * testsuite/caps/simplify.c:
15721 * testsuite/caps/string-conversions.c:
15722 * testsuite/caps/structure.c:
15723 * testsuite/caps/subtract.c:
15724 * testsuite/caps/union.c:
15725 * testsuite/debug/.cvsignore:
15726 * testsuite/debug/Makefile.am:
15727 * testsuite/debug/category.c:
15728 * testsuite/debug/commandline.c:
15729 * testsuite/debug/global.c:
15730 * testsuite/debug/output.c:
15731 * testsuite/debug/printf_extension.c:
15732 * testsuite/dlopen/.cvsignore:
15733 * testsuite/dlopen/Makefile.am:
15734 * testsuite/dlopen/dlopen_gst.c:
15735 * testsuite/dlopen/loadgst.c:
15736 * testsuite/elements/.cvsignore:
15737 * testsuite/elements/Makefile.am:
15738 * testsuite/elements/gst-inspect-check.in:
15739 * testsuite/elements/struct_i386.h:
15740 * testsuite/elements/struct_size.c:
15741 * testsuite/indexers/.cvsignore:
15742 * testsuite/indexers/Makefile.am:
15743 * testsuite/indexers/cache1.c:
15744 * testsuite/indexers/indexdump.c:
15745 * testsuite/parse/.cvsignore:
15746 * testsuite/parse/Makefile.am:
15747 * testsuite/parse/parse1.c:
15748 * testsuite/parse/parse2.c:
15749 * testsuite/plugin/.cvsignore:
15750 * testsuite/plugin/Makefile.am:
15751 * testsuite/plugin/README:
15752 * testsuite/plugin/dynamic.c:
15753 * testsuite/plugin/linked.c:
15754 * testsuite/plugin/loading.c:
15755 * testsuite/plugin/registry.c:
15756 * testsuite/plugin/static.c:
15757 * testsuite/plugin/static2.c:
15758 * testsuite/plugin/testplugin.c:
15759 * testsuite/plugin/testplugin2.c:
15760 * testsuite/plugin/testplugin2_s.c:
15761 * testsuite/plugin/testplugin_s.c:
15762 * testsuite/refcounting/.cvsignore:
15763 * testsuite/refcounting/Makefile.am:
15764 * testsuite/refcounting/bin.c:
15765 * testsuite/refcounting/element.c:
15766 * testsuite/refcounting/element_pad.c:
15767 * testsuite/refcounting/mainloop.c:
15768 * testsuite/refcounting/mem.c:
15769 * testsuite/refcounting/mem.h:
15770 * testsuite/refcounting/object.c:
15771 * testsuite/refcounting/pad.c:
15772 * testsuite/refcounting/sched.c:
15773 * testsuite/refcounting/thread.c:
15774 * testsuite/states/.cvsignore:
15775 * testsuite/states/Makefile.am:
15776 * testsuite/states/bin.c:
15777 * testsuite/states/locked.c:
15778 * testsuite/states/parent.c:
15779 * testsuite/threads/.cvsignore:
15780 * testsuite/threads/159566.c:
15781 * testsuite/threads/159852.c:
15782 * testsuite/threads/Makefile.am:
15783 * testsuite/threads/queue.c:
15784 * testsuite/threads/signals.c:
15785 * testsuite/threads/staticrec.c:
15786 * testsuite/threads/thread.c:
15787 * testsuite/threads/threadb.c:
15788 * testsuite/threads/threadc.c:
15789 * testsuite/threads/threadd.c:
15790 * testsuite/threads/threade.c:
15791 * testsuite/threads/threadf.c:
15792 * testsuite/threads/threadg.c:
15793 * testsuite/threads/threadh.c:
15794 * testsuite/threads/threadi.c:
15795 move all of these under tests
15797 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
15800 * tests/Makefile.am:
15803 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
15805 * docs/gst/gstreamer-sections.txt:
15806 * tests/sched/.cvsignore:
15807 * tests/sched/Makefile.am:
15808 * tests/sched/cases/(fs-fs).xml:
15809 * tests/sched/cases/(fs-i-fs).xml:
15810 * tests/sched/cases/(fs-i-i-fs).xml:
15811 * tests/sched/cases/(fs-i-q[i-fs]).xml:
15812 * tests/sched/dynamic-pipeline.c:
15813 * tests/sched/interrupt1.c:
15814 * tests/sched/interrupt2.c:
15815 * tests/sched/interrupt3.c:
15816 * tests/sched/runtestcases:
15817 * tests/sched/runxml.c:
15818 * tests/sched/sched-stress.c:
15819 * tests/sched/sort.c:
15820 * tests/sched/testcases:
15821 * tests/sched/testcases1.tc:
15822 * tests/seeking/.cvsignore:
15823 * tests/seeking/Makefile.am:
15824 * tests/seeking/seeking1.c:
15825 * tests/threadstate/.cvsignore:
15826 * tests/threadstate/Makefile.am:
15827 * tests/threadstate/test1.c:
15828 * tests/threadstate/test2.c:
15829 * tests/threadstate/threadstate1.c:
15830 * tests/threadstate/threadstate2.c:
15831 * tests/threadstate/threadstate3.c:
15832 * tests/threadstate/threadstate4.c:
15833 * tests/threadstate/threadstate5.c:
15834 remove obsolete tests
15836 * tests/bench-complexity.scm:
15837 * tests/bench-mass_elements.scm:
15838 * tests/complexity.c:
15839 * tests/complexity.gnuplot:
15840 * tests/instantiate/.cvsignore:
15841 * tests/instantiate/Makefile.am:
15842 * tests/instantiate/caps.c:
15843 * tests/mass_elements.c:
15844 * tests/network-clock-utils.scm:
15845 * tests/network-clock.scm:
15847 First pass at cleaning up tests/ dir before moving the rest
15848 Combined with CVS surgery
15850 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
15853 queue has moved, update
15855 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
15857 * docs/gst/gstreamer-sections.txt:
15858 remove double entries from the docs
15859 * gst/gst_private.h:
15860 * gst/gstinfo.c: (_gst_debug_init):
15861 remove the THREAD debug category
15865 * docs/gst/gstreamer.types:
15866 * plugins/elements/gstqueue.c: (gst_queue_get_type),
15867 (gst_queue_init), (gst_queue_finalize), (gst_queue_change_state):
15868 completely move queue and fix up debugging categories
15870 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
15872 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
15873 make initialization portable, using LL is not
15875 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
15877 * win32/common/gstconfig.h:
15880 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
15882 * win32/common/libgstreamer.def:
15883 rename symbols; sort base section
15885 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
15887 * gst/gstclock.c: (do_linear_regression):
15888 remove crack non-portable handrolled DEBUG macro
15890 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
15892 * docs/random/release:
15894 * win32/common/gstenumtypes.c: (register_gst_object_flags),
15895 (gst_object_flags_get_type), (register_gst_bin_flags),
15896 (gst_bin_flags_get_type), (register_gst_buffer_flag),
15897 (gst_buffer_flag_get_type), (register_gst_bus_flags),
15898 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
15899 (gst_bus_sync_reply_get_type), (register_gst_caps_flags),
15900 (gst_caps_flags_get_type), (register_gst_clock_return),
15901 (gst_clock_return_get_type), (register_gst_clock_entry_type),
15902 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
15903 (gst_clock_flags_get_type), (register_gst_state),
15904 (gst_state_get_type), (register_gst_state_change_return),
15905 (gst_state_change_return_get_type), (register_gst_state_change),
15906 (gst_state_change_get_type), (register_gst_element_flags),
15907 (gst_element_flags_get_type), (register_gst_core_error),
15908 (gst_core_error_get_type), (register_gst_library_error),
15909 (gst_library_error_get_type), (register_gst_resource_error),
15910 (gst_resource_error_get_type), (register_gst_stream_error),
15911 (gst_stream_error_get_type), (register_gst_event_type_flags),
15912 (gst_event_type_flags_get_type), (register_gst_event_type),
15913 (gst_event_type_get_type), (register_gst_seek_type),
15914 (gst_seek_type_get_type), (register_gst_seek_flags),
15915 (gst_seek_flags_get_type), (register_gst_format),
15916 (gst_format_get_type), (register_gst_index_certainty),
15917 (gst_index_certainty_get_type), (register_gst_index_entry_type),
15918 (gst_index_entry_type_get_type),
15919 (register_gst_index_lookup_method),
15920 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
15921 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
15922 (gst_index_resolver_method_get_type), (register_gst_index_flags),
15923 (gst_index_flags_get_type), (register_gst_debug_level),
15924 (gst_debug_level_get_type), (register_gst_debug_color_flags),
15925 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
15926 (gst_iterator_result_get_type), (register_gst_iterator_item),
15927 (gst_iterator_item_get_type), (register_gst_message_type),
15928 (gst_message_type_get_type), (register_gst_mini_object_flags),
15929 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
15930 (gst_pad_link_return_get_type), (register_gst_flow_return),
15931 (gst_flow_return_get_type), (register_gst_activate_mode),
15932 (gst_activate_mode_get_type), (register_gst_pad_direction),
15933 (gst_pad_direction_get_type), (register_gst_pad_flags),
15934 (gst_pad_flags_get_type), (register_gst_pad_presence),
15935 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
15936 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
15937 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
15938 (gst_plugin_error_get_type), (register_gst_plugin_flags),
15939 (gst_plugin_flags_get_type), (register_gst_rank),
15940 (gst_rank_get_type), (register_gst_query_type),
15941 (gst_query_type_get_type), (register_gst_tag_merge_mode),
15942 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
15943 (gst_tag_flag_get_type), (register_gst_task_state),
15944 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
15945 (gst_alloc_trace_flags_get_type),
15946 (register_gst_type_find_probability),
15947 (gst_type_find_probability_get_type), (register_gst_uri_type),
15948 (gst_uri_type_get_type), (register_gst_parse_error),
15949 (gst_parse_error_get_type):
15950 * win32/common/gstenumtypes.h:
15951 * win32/common/gstversion.h:
15952 update visual studio generated files
15954 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
15956 * win32/vs6/libgstbase.dsp:
15957 * win32/vs6/libgstelements.dsp:
15958 update project files for new locations
15960 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
15965 reinstate and update
15970 * docs/random/LICENSE:
15973 2005-11-30 Edward Hervey <edward@fluendo.com>
15975 * gst/gsttypefind.c: (gst_type_find_register):
15976 * gst/gsttypefind.h:
15977 * gst/gsttypefindfactory.c: (gst_type_find_factory_init),
15978 (gst_type_find_factory_dispose):
15979 * gst/gsttypefindfactory.h:
15980 Fix memory leak in GstTypeFindFactory.
15982 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
15985 * plugins/elements/Makefile.am:
15986 * plugins/elements/gstelements.c:
15987 * plugins/elements/gstqueue.c:
15988 move queue from core to the elements plugin
15990 2005-11-29 Andy Wingo <wingo@pobox.com>
15992 * libs/gst/base/gstbasetransform.h:
15993 * libs/gst/base/gstbasesrc.h:
15994 * libs/gst/base/gstbasesink.h: en-LARGE the padding.
15996 * gst/gstconfig.h.in (GST_PADDING_LARGE): New define, the number
15997 of pointers by which to pad very extensible base classes (like the
15998 ones in libs/gst/base).
16000 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
16002 * docs/gst/gstreamer-docs.sgml:
16003 * docs/gst/gstreamer-sections.txt:
16004 * docs/libs/gstreamer-libs-docs.sgml:
16005 * docs/libs/gstreamer-libs-sections.txt:
16006 moving documentation from core to lib
16008 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
16010 * check/Makefile.am:
16012 * docs/gst/Makefile.am:
16014 * gst/base/.cvsignore:
16015 * gst/base/Makefile.am:
16017 * gst/base/gstadapter.c:
16018 * gst/base/gstadapter.h:
16019 * gst/base/gstbasesink.c:
16020 * gst/base/gstbasesink.h:
16021 * gst/base/gstbasesrc.c:
16022 * gst/base/gstbasesrc.h:
16023 * gst/base/gstbasetransform.c:
16024 * gst/base/gstbasetransform.h:
16025 * gst/base/gstcollectpads.c:
16026 * gst/base/gstcollectpads.h:
16027 * gst/base/gstpushsrc.c:
16028 * gst/base/gstpushsrc.h:
16029 * gst/base/gsttypefindhelper.c:
16030 * gst/base/gsttypefindhelper.h:
16031 * gst/check/Makefile.am:
16032 * gst/check/gstcheck.c:
16033 * gst/check/gstcheck.h:
16034 * gst/net/Makefile.am:
16035 * gst/net/gstnet.h:
16036 * gst/net/gstnetclientclock.c:
16037 * gst/net/gstnetclientclock.h:
16038 * gst/net/gstnettimepacket.c:
16039 * gst/net/gstnettimepacket.h:
16040 * gst/net/gstnettimeprovider.c:
16041 * gst/net/gstnettimeprovider.h:
16042 * libs/gst/Makefile.am:
16043 * libs/gst/base/Makefile.am:
16044 * libs/gst/base/gstbasetransform.c:
16045 * libs/gst/check/Makefile.am:
16046 * plugins/elements/Makefile.am:
16048 CVS surgery + support to move base, check, and net out of gst
16051 2005-11-29 Andy Wingo <wingo@pobox.com>
16053 * gst/gstevent.h (struct _GstEvent): Only one pointer of padding.
16055 * gst/gststructure.h (struct _GstStructure): Only one pointer of
16058 * gst/gstquery.h (struct _GstQuery): Only one pointer of padding.
16060 * gst/gstpluginfeature.h: Remove a comment in PluginFeature.
16062 * gst/gstplugin.h (struct _GstPluginClass): Add some padding.
16064 * gst/gstobject.h: (struct _GstObject): Only one pointer of
16065 padding; reduces object size by about 30%. We don't expect
16066 anything else to go into gstobject.
16068 * gst/gstminiobject.h (struct _GstMiniObject)
16069 (struct _GstMiniObjectClass): Only one pointer of padding; the
16070 payload is only a pointer and two ints anyway. For the class there
16071 are only two methods as well.
16073 * gst/gstelement.h (struct _GstElementClass): Removed
16074 the state_changed signal callback, it is not used.
16076 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
16078 * docs/gst/gstreamer.types:
16079 fix includes, though they are a little dinky
16081 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
16083 * check/Makefile.am:
16084 look in the right place for elements, a lot more chance of
16087 remove indexers and elements subdirs
16088 * plugins/Makefile.am:
16089 make indexers conditional
16091 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
16095 * plugins/elements/Makefile.am:
16096 * plugins/elements/gstcapsfilter.c:
16097 * plugins/elements/gstfilesink.c:
16098 * plugins/elements/gstfilesrc.c:
16099 * plugins/elements/gstidentity.c:
16100 * plugins/indexers/Makefile.am:
16101 do CVS surgery and related build fixery to move elements
16102 and indexers in a new gstreamer/plugins directory, out of the
16105 2005-11-29 Andy Wingo <wingo@pobox.com>
16107 * check/Makefile.am:
16108 * pkgconfig/gstreamer-net-uninstalled.pc.in:
16109 * pkgconfig/gstreamer-net.pc.in:
16110 * gst/net/Makefile.am: Rename gstnet-tempname to gstnet. Fixes
16113 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
16115 * tools/Makefile.am:
16116 * tools/gst-complete.1.in:
16117 * tools/gst-complete.c:
16118 * tools/gst-compprep.1.in:
16119 * tools/gst-compprep.c:
16120 removing -compprep and -complete
16122 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
16124 * gst/gstevent.c: (gst_event_new_new_segment),
16125 (gst_event_parse_new_segment):
16127 fix #320529 - clean up new_segment API and structure.
16128 Let's hope everyone was using the methods, and not the structure.
16130 2005-11-29 Edward Hervey <edward@fluendo.com>
16132 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
16133 (gst_base_sink_event), (gst_base_sink_do_sync),
16134 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
16135 Properly handle non GST_FORMAT_TIME segment
16136 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
16137 Properly handle non GST_FORMAT_TIME segment
16138 * gst/gstsegment.c:
16139 This function is valid if the accumulator is 0 and the format
16140 is different from the requested format.
16142 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
16144 * docs/gst/gstreamer-sections.txt:
16145 Add gst_query_new_seeking and gst_query_parse_seeking to the
16148 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
16150 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
16151 Treat a pad alloc with new caps the same as if we were not
16152 negotiated, in order to allow a changing upstream output
16153 to produce a new format of data.
16155 2005-11-29 Edward Hervey <edward@fluendo.com>
16157 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
16158 (gst_base_transform_event), (gst_base_transform_eventfunc):
16159 The event virtual method is now properly implemented, with a default
16161 Sub classes should call the parent_class event method. They should
16162 return FALSE if they had a problem handling the given event, or don't
16163 want GstBaseTransform to send that even downstream
16164 * gst/elements/gstidentity.c: (gst_identity_class_init),
16165 (gst_identity_init), (gst_identity_event),
16166 (gst_identity_transform_ip), (gst_identity_set_property),
16167 (gst_identity_get_property):
16168 * gst/elements/gstidentity.h:
16169 Added the single-segment boolean property.
16170 If set to TRUE, it will output a single segment of data, starting from
16171 0, will eat up all incoming newsegment, and modify the timestamp of the
16172 buffers accordingly
16174 2005-11-29 Tim-Philipp Müller <tim at centricular dot net>
16176 * gst/gstghostpad.c: (gst_proxy_pad_get_target):
16177 Don't ref NULL target pad (#322751). Improve docs.
16179 2005-11-29 Michael Smith <msmith@fluendo.com>
16181 * gst/gstregistryxml.c: (load_plugin):
16182 Don't crash if we failed to load a feature from a plugin.
16184 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
16186 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
16188 use more check API and less GLib API
16190 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
16193 don't run checks if we don't have check
16194 * common/check.mak:
16195 remove the registry when running make torture
16196 * docs/gst/gstreamer-sections.txt:
16197 remove second multiply
16198 * gst/gstqueue.c: (gst_queue_loop):
16199 fix a compile warning when disabling debug
16201 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
16204 Hey! Let's print the pad name if the pointer != NULL instead
16205 of when it == NULL :-)
16207 2005-11-28 Wim Taymans <wim@fluendo.com>
16209 * check/gst/gstutils.c: (GST_START_TEST):
16210 Updated check, add some scaling accuracy checking code.
16212 * gst/gstutils.c: (gst_util_div128_64),
16213 (gst_util_uint64_scale_int64), (gst_util_uint64_scale),
16214 (gst_util_uint64_scale_int):
16215 Fix 6 times faster division code. Optimize for common
16216 1/1 and less common X/1 cases.
16218 2005-11-28 Wim Taymans <wim@fluendo.com>
16220 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
16223 * gst/gstclock.c: (gst_clock_finalize), (gst_clock_set_master),
16224 (do_linear_regression), (gst_clock_add_observation):
16226 Release lock when the clock cannot be slaved.
16227 Catch the case where the regression returned an invalid denominator.
16229 * gst/gstutils.c: (gst_util_div128_64_iterate),
16230 (gst_util_div128_64), (gst_util_uint64_scale_int64),
16231 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
16232 Add protentially more performant non-iterative 128/64 divide function
16233 that unfortunatly does not work yet.
16234 Shortcut the trivial 0/X = 0 case.
16235 Remove the warnings on overflow.
16237 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
16239 * gst/gstplugin.c: (gst_plugin_register_func):
16240 everything causing a plugin not to load should be at least a WARNING
16242 2005-11-28 Stefan Kost <ensonic@users.sf.net>
16244 * docs/random/ensonic/dparams.txt:
16245 some TODOs for the next dev cycle
16246 * libs/gst/controller/gstcontroller.c:
16247 (gst_controlled_property_set_interpolation_mode),
16248 (gst_controlled_property_new):
16249 * libs/gst/controller/gstcontroller.h:
16250 use base type to assign acccessor functions
16252 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
16254 * check/Makefile.am:
16255 Oops, that should have been top_srcdir
16257 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
16259 * check/Makefile.am:
16260 * check/elements/fdsrc.c: (GST_START_TEST):
16261 Use a cmdline define to specify the location of a file to use for
16262 testing, to avoid breaking distcheck.
16264 2005-11-28 Andy Wingo <wingo@pobox.com>
16266 * gst/gstpad.c (fixate_value): Use array functions for arrays.
16268 2005-11-28 Edward Hervey <edward@fluendo.com>
16270 * tools/gst-launch.c: (main):
16271 Clarify the output strings, makes it easier to translate.
16274 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
16277 don't try and build net if we don't even have <sys/socket.h>
16279 2005-11-27 Jan Schmidt <thaytan@mad.scientist.com>
16281 * check/Makefile.am:
16282 * check/elements/fdsrc.c: (event_func), (setup_fdsrc),
16283 (cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
16284 Add tests for fdsrc seekability
16286 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
16287 (gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
16288 (gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
16289 (gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
16290 * gst/elements/gstfdsrc.h:
16291 fdsrc should not be a 'live' source.
16292 Implement seeking on seekable fd's.
16294 * gst/gstquery.c: (gst_query_new_seeking),
16295 (gst_query_parse_seeking):
16297 Implement SEEKING query functions:
16298 *_new_seeking and *_parse_seeking
16300 2005-11-27 Stefan Kost <ensonic@users.sf.net>
16302 * gst/gstelement.c: (gst_element_dispose):
16305 * gst/gstiterator.c:
16306 * gst/gststructure.c:
16309 * libs/gst/controller/gstcontroller.c:
16310 (gst_controlled_property_set_interpolation_mode):
16311 * libs/gst/controller/gstcontroller.h:
16312 * libs/gst/controller/gstinterpolation.c:
16313 (interpolate_none_get_enum_value_array):
16314 support controlling enums
16316 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
16319 Improve documentation for gst_value_union().
16322 Change return value for union, intersect and subtract functions
16323 from gint to gboolean.
16325 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
16327 * gst/gstvalue.c: (gst_value_serialize_any_list),
16328 (gst_value_transform_any_list_string),
16329 (gst_value_deserialize_list), (gst_value_deserialize_array),
16330 (gst_value_set_int_range), (gst_value_deserialize_int_range),
16331 (gst_value_set_double_range), (gst_value_deserialize_double_range),
16332 (gst_value_set_fraction_range_full),
16333 (gst_value_deserialize_fraction_range),
16334 (gst_value_deserialize_caps), (gst_value_deserialize_buffer),
16335 (gst_value_deserialize_boolean),
16336 (gst_value_deserialize_int_helper), (gst_value_deserialize_double),
16337 (gst_value_serialize_float), (gst_value_deserialize_float),
16338 (gst_string_wrap), (gst_value_deserialize_string),
16339 (gst_value_deserialize_enum), (gst_value_deserialize_flags),
16340 (gst_value_union_int_range_int_range),
16341 (gst_value_intersect_int_range_int_range),
16342 (gst_value_intersect_double_range_double_range),
16343 (gst_value_create_new_range), (gst_value_subtract_int_range_int),
16344 (gst_value_subtract_int_range_int_range),
16345 (gst_value_subtract_double_double_range),
16346 (gst_value_subtract_double_range_double_range),
16347 (gst_value_deserialize_fraction):
16349 Use gint, gdouble and gchar in our API instead of int, double and
16350 char (and make usage in gstvalue.c more consistent).
16352 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
16354 * check/Makefile.am:
16355 * libs/gst/controller/Makefile.am:
16356 * libs/gst/dataprotocol/Makefile.am:
16357 fix up Makefile.am and remove GST_ENABLE_NEW
16359 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
16363 * gst/base/Makefile.am:
16364 * gst/check/Makefile.am:
16365 * gst/elements/Makefile.am:
16366 * gst/net/Makefile.am:
16367 update LDFLAGS use some more
16369 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
16371 * common/m4/gst-doc.m4:
16374 2005-11-26 Edward Hervey <edward@fluendo.com>
16376 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
16377 This shouldn't issue a g_warning since it returns NULL if it
16378 couldn't find the plugin, and all functions using this behave
16379 properly on a NULL return. Switching to a GST_WARNING.
16381 2005-11-25 Jan Schmidt <thaytan@mad.scientist.com>
16383 * gst/gstbin.c: (gst_bin_handle_message_func):
16384 Don't leak clock messages.
16386 2005-11-25 Wim Taymans <wim@fluendo.com>
16388 * gst/gstutils.c: (gst_util_uint64_scale_int64),
16389 (gst_util_uint64_scale_int):
16390 Optimisations, remove unneeded vars.
16392 2005-11-25 Wim Taymans <wim@fluendo.com>
16394 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
16395 Added more checks for the high precision uint64 cases.
16397 * gst/gstutils.c: (gst_util_uint64_scale_int64),
16398 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
16399 Implement high precision (guint64 * guint64) / guint64.
16401 2005-11-24 Wim Taymans <wim@fluendo.com>
16403 * gst/base/gstbasesrc.c: (gst_base_src_query):
16404 Fix wrong percentage query.
16406 * gst/gstutils.c: (gst_util_uint64_scale),
16407 (gst_util_uint64_scale_int):
16408 Add some more common cases that can be handled
16409 efficiently to _scale.
16411 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
16413 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
16414 (gst_mini_object_suite):
16415 don't use check calls from threads; check probably isn't
16416 threadsafe and using a lock to make it threadsafe would
16417 defeat the purpose of this check
16418 * gst/check/gstcheck.c:
16419 * gst/check/gstcheck.h:
16420 use GST_DEBUG some more
16422 2005-11-24 Wim Taymans <wim@fluendo.com>
16424 * gst/gstutils.c: (gst_util_uint64_scale),
16425 (gst_util_uint64_scale_int):
16426 Chain trivial case to _scale_int.
16428 2005-11-24 Wim Taymans <wim@fluendo.com>
16430 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
16431 Added test for scaling.
16436 * gst/gstutils.c: (gst_util_uint64_scale_int):
16437 Implemented high precision scaling code.
16439 2005-11-24 Stefan Kost <ensonic@users.sf.net>
16442 do not crash on pad==NULL
16444 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
16446 Patch by: Stefan Kost
16448 * common/gtk-doc.mak:
16449 * docs/gst/Makefile.am:
16450 * docs/libs/Makefile.am:
16451 Fix distcheck issues for the libraries docs build
16454 2005-11-24 Michael Smith <msmith@fluendo.com>
16456 * docs/manual/basics-helloworld.xml:
16457 Fix bug #315027: memory leak in example code in docs.
16459 2005-11-24 Michael Smith <msmith@fluendo.com>
16461 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
16462 Unlock the PREROLL_LOCK in a failure case.
16464 2005-11-24 Wim Taymans <wim@fluendo.com>
16466 * docs/gst/gstreamer-sections.txt:
16467 * gst/base/gstadapter.h:
16468 * gst/base/gstbasesink.h:
16469 * gst/base/gstbasesrc.h:
16470 * gst/base/gstbasetransform.h:
16471 * gst/base/gstpushsrc.h:
16472 * gst/elements/gstfakesink.h:
16473 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
16474 * gst/elements/gstfakesrc.h:
16475 * gst/elements/gstfilesink.h:
16476 * gst/elements/gstfilesrc.h:
16479 * gst/gstbuffer.c: (_gst_buffer_copy):
16482 * gst/gstchildproxy.c:
16484 * gst/gstelement.c:
16485 * gst/gstelementfactory.c:
16486 * gst/gstelementfactory.h:
16488 * gst/gstghostpad.h:
16490 * gst/gstinterface.h:
16491 * gst/gstminiobject.c:
16492 * gst/gstminiobject.h:
16495 * gst/gstpadtemplate.h:
16496 * gst/gstpipeline.h:
16497 * gst/gstpluginfeature.h:
16500 * gst/gsttaglist.c:
16501 * gst/gsttaglist.h:
16502 * gst/gsttagsetter.c:
16503 * gst/gsttagsetter.h:
16506 * gst/gsttypefind.h:
16509 * gst/net/gstnetclientclock.c:
16510 * gst/net/gstnetclientclock.h:
16511 * gst/net/gstnettimepacket.c:
16512 * gst/net/gstnettimeprovider.c:
16513 * gst/net/gstnettimeprovider.h:
16516 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
16518 * configure.ac: back to HEAD
16520 === release 0.9.6 ===
16522 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
16525 releasing 0.9.6, "Always On Time"
16527 2005-11-23 Wim Taymans <wim@fluendo.com>
16529 * docs/gst/gstreamer-sections.txt:
16530 * gst/glib-compat.c:
16531 * gst/gsttagsetter.c:
16533 * gst/net/gstnetclientclock.c:
16534 * gst/net/gstnettimepacket.h:
16537 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
16539 * docs/faq/using.xml:
16540 * docs/libs/tmpl/gstcontrol.sgml:
16541 * docs/manual/advanced-dparams.xml:
16542 * docs/manual/appendix-checklist.xml:
16543 * docs/manual/basics-elements.xml:
16544 * docs/pwg/other-source.xml:
16545 * docs/random/moving-plugins:
16547 * tools/gst-launch.1.in:
16548 remove mentions of sinesrc
16550 2005-11-23 Michael Smith <msmith@fluendo.com>
16552 * docs/gst/gstreamer-sections.txt:
16553 Update for new API and API changes.
16555 Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
16557 Documentation typo fix.
16558 * gst/net/gstnettimepacket.c:
16559 Documentation fixes for arguments.
16561 2005-11-23 Jan Schmidt <thaytan@mad.scientist.com>
16563 * gst/gststructure.c: (gst_structure_get_fraction),
16564 (gst_structure_parse_value),
16565 (gst_structure_fixate_field_nearest_fraction):
16566 * gst/gststructure.h:
16567 * gst/gstutils.c: (gst_util_uint64_scale_int):
16569 * scripts/update-funcnames:
16571 Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
16572 Make gst_structure_fixate_field_nearest_fraction take a numerator
16573 and denominator argument instead of a GValue
16574 add gst_structure_get_fraction helper function.
16576 2005-11-23 Wim Taymans <wim@fluendo.com>
16578 * docs/design/part-TODO.txt:
16581 * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
16582 * gst/net/gstnetclientclock.h:
16583 Use parent fields for timeout and window_size.
16585 2005-11-23 Andy Wingo <wingo@pobox.com>
16587 * check/net/gstnetclientclock.c (test_functioning): Adjust to
16588 rate_num/rate_denom change.
16590 * gst/net/gstnetclientclock.c
16591 (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
16592 OBJECT_LOCK. Don't call add_observation with the lock.
16594 * gst/gstclock.c (gst_clock_init): Initialize the rate as a
16596 (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
16598 (gst_clock_set_calibration, gst_clock_get_calibration): Change to
16599 deal with rate as a fraction whose numerator and denominator are
16600 GstClockTime values.
16601 (gst_clock_set_master): Only use the OBJECT_LOCK to set the
16602 master; the other fields are protected by the SLAVE_LOCK.
16603 (do_linear_regression): Note that this must be called with the
16605 (gst_clock_add_observation): Take the SLAVE_LOCK, not the
16606 OBJECT_LOCK. Call set_calibration instead of touching the
16607 variables directly.
16608 (gst_clock_set_property, gst_clock_get_property): Protect
16609 master/slave parameters with the SLAVE_LOCK.
16611 * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
16612 rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
16613 note that all of the instance variables that add_observation and
16614 the set_master functions use are protected by that lock and not
16616 (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
16618 * gst/gstclock.c (gst_clock_add_observation): No longer requires
16619 the caller to take the object lock.
16621 2005-11-23 Wim Taymans <wim@fluendo.com>
16623 * gst/gsterror.c: (_gst_core_errors_init):
16625 Add error for clock stuff.
16627 * gst/gstpipeline.c: (gst_pipeline_change_state),
16628 (gst_pipeline_set_clock):
16629 Post clock error when clock cannot be used in a pipeline.
16631 2005-11-23 Stefan Kost <ensonic@users.sf.net>
16633 * docs/gst/gstreamer-sections.txt:
16634 make two symbols from gstinfo private for the docs
16635 * gst/base/gstcollectpads.h:
16637 fix doc typos, update docs
16639 2005-11-22 Wim Taymans <wim@fluendo.com>
16641 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
16642 (gst_base_sink_wait), (gst_base_sink_do_sync),
16643 (gst_base_sink_handle_event):
16644 * gst/base/gstbasesink.h:
16645 No need to store the clock, the parent element class already
16648 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
16649 Updates for clock_set returning a gboolean
16651 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
16652 (gst_clock_id_wait_async), (gst_clock_class_init),
16653 (gst_clock_init), (gst_clock_finalize),
16654 (gst_clock_get_internal_time), (gst_clock_get_time),
16655 (gst_clock_slave_callback), (gst_clock_set_master),
16656 (gst_clock_get_master), (do_linear_regression),
16657 (gst_clock_add_observation), (gst_clock_set_property),
16658 (gst_clock_get_property):
16660 Implement master/slave. When setting a clock as a slave, a
16661 periodic timeout is scheduled to sample master and slave times.
16662 Then the slave clock is recalibrated to match offset and rate
16663 of the master clock.
16664 Update logging a bit.
16665 Add flag so that a clock can state that is cannot be slaved to
16668 * gst/gstelement.c: (gst_element_set_clock):
16669 * gst/gstelement.h:
16670 The set clock returns a gboolean for when an element cannot
16671 deal with the selected clock in the pipeline.
16673 * gst/gstpipeline.c: (gst_pipeline_change_state),
16674 (gst_pipeline_set_clock):
16675 * gst/gstpipeline.h:
16676 Handle the case where the selected clock cannot be set on
16679 * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
16680 (gst_net_client_clock_init), (gst_net_client_clock_finalize),
16681 (gst_net_client_clock_set_property),
16682 (gst_net_client_clock_get_property),
16683 (gst_net_client_clock_observe_times):
16684 * gst/net/gstnetclientclock.h:
16685 Use regression code in GstClock parent, remove duplicated
16688 2005-11-22 Michael Smith <msmith@fluendo.com>
16690 * gst/gstutils.c: (gst_util_clock_time_scale):
16692 * docs/gst/gstreamer-sections.txt:
16693 Rename method to have extra underscore.
16695 2005-11-22 Thomas Vander Stichele <thomas at apestaart dot org>
16697 * gst/elements/Makefile.am:
16698 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
16699 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
16700 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
16701 (gst_fake_src_init), (gst_fake_src_prepare_buffer),
16702 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
16703 * gst/elements/gstfakesrc.h:
16704 * gst/gstqueue.c: (queue_leaky_get_type):
16705 correctly fix GEnumValues so that nick is the short lowercase
16707 * tools/gst-inspect.c: (print_element_properties_info):
16708 also show the nick, since it's useful to use from parse_launch
16712 2005-11-22 Michael Smith <msmith@fluendo.com>
16714 * gst/gstutils.c: (gst_util_clocktime_scale):
16716 * docs/gst/gstreamer-sections.txt:
16717 Add util method for scaling a clocktime by a fraction. Useful
16718 implementation is left as an exercise for the reader.
16720 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
16722 * gst/gstvalue.c: (gst_value_collect_fraction_range):
16723 If needed, allocate storage in the destination value during
16726 2005-11-22 Edward Hervey <edward@fluendo.com>
16728 * docs/gst/gstreamer-sections.txt:
16731 * gst/gsturitype.c:
16732 * gst/gsturitype.h:
16733 * gst/gstutils.c: (gst_util_set_object_arg):
16734 * tools/gst-compprep.c: (main):
16735 * tools/gst-inspect.c: (print_element_properties_info):
16736 Removed GstURI, closes bug #321061
16738 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
16740 * check/gst/gststructure.c: (GST_START_TEST):
16741 * gst/gststructure.c: (gst_structure_parse_value):
16742 Oops, broke automatic string type parsing.
16743 Add a test to catch it in future.
16745 2005-11-22 Andy Wingo <wingo@pobox.com>
16747 * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode)
16748 (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
16749 Actually rename the function implementations. Grr.
16751 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
16753 * check/gst/capslist.h:
16755 * check/gst/gststructure.c: (GST_START_TEST),
16756 (gst_structure_suite):
16757 Test automatic value type detection in gst_structure_from_string.
16758 * gst/gststructure.c: (gst_structure_parse_value):
16759 Add fraction as a type we try and guess automatically in
16760 caps/structure strings.
16762 2005-11-22 Andy Wingo <wingo@pobox.com>
16764 patch by: Torsten Schoenfeld <kaffeetisch gmx de>
16766 * gst/gsttagsetter.h:
16767 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
16768 (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
16769 (gst_tag_setter_add_tag_valist)
16770 (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
16771 _add_values, _add_valist, and _add_valist_values. Since this is an
16772 interface the function suffixes should be more explicit so
16773 language binding don't end up with element.add_valist ->
16774 gst_tag_setter_add_valist, for example. Fixes #322069.
16776 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
16778 * check/gst/gstcaps.c: (GST_START_TEST):
16779 Extend caps string tests to check that a caps to string
16780 conversion is reversible and produces the same caps.
16782 * gst/gststructure.c: (gst_structure_value_get_generic_type):
16783 Output "fraction" as the generic type fraction range, so caps
16784 serialisation and deserialisation works.
16785 * check/gst/capslist.h:
16786 * gst/gstvalue.c: (gst_value_deserialize_fraction):
16787 Support 'MIN' and 'MAX' for deserialising fractions.
16789 2005-11-22 Andy Wingo <wingo@pobox.com>
16791 * gst/gstevent.h (gst_event_new_new_segment)
16792 (gst_event_parse_new_segment, gst_event_new_buffer_size)
16793 (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
16794 Renamed from *_newsegment, *_buffersize, *_notarget.
16796 * scripts/update-funcnames: New script, performs the changes
16799 2005-11-22 Wim Taymans <wim@fluendo.com>
16801 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
16802 Make sure the GstFlowReturn is returned.
16804 * gst/gstbus.c: (gst_bus_add_signal_watch_full),
16805 (gst_bus_add_signal_watch):
16807 add gst_bus_add_signal_watch_full.
16809 * gst/gstplugin.c: (gst_plugin_load_file):
16810 Small style cleanup.
16812 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
16814 * check/gst/gstevent.c: (test_event), (GST_START_TEST):
16815 Block the fakesrc srcpad when we send an event, to avoid
16816 contention on the stream_lock causing random test failures.
16818 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
16820 * check/gst/gstvalue.c: (GST_START_TEST):
16821 * gst/gstvalue.c: (gst_value_fraction_subtract):
16824 2005-11-22 Stefan Kost <ensonic@users.sf.net>
16827 include "gstchildproxy.h"
16828 * gst/gstchildproxy.h:
16829 * libs/gst/controller/gstcontroller.h:
16830 use G_GNUC_NULL_TERMINATED
16832 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
16834 * check/gst/capslist.h:
16835 * check/gst/gstcaps.c: (GST_START_TEST):
16836 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
16837 * gst/gststructure.c: (gst_structure_parse_range),
16838 (gst_structure_fixate_field_nearest_fraction):
16839 * gst/gststructure.h:
16840 * gst/gstvalue.c: (gst_value_init_fraction_range),
16841 (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
16842 (gst_value_collect_fraction_range),
16843 (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
16844 (gst_value_set_fraction_range_full),
16845 (gst_value_get_fraction_range_min),
16846 (gst_value_get_fraction_range_max),
16847 (gst_value_serialize_fraction_range),
16848 (gst_value_transform_fraction_range_string),
16849 (gst_value_compare_fraction_range),
16850 (gst_value_deserialize_fraction_range),
16851 (gst_value_intersect_fraction_fraction_range),
16852 (gst_value_intersect_fraction_range_fraction_range),
16853 (gst_value_subtract_fraction_fraction_range),
16854 (gst_value_subtract_fraction_range_fraction),
16855 (gst_value_subtract_fraction_range_fraction_range),
16856 (gst_value_collect_fraction), (gst_value_fraction_multiply),
16857 (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
16858 (gst_value_transform_string_fraction), (_gst_value_initialize):
16860 Implement fraction ranges and extend GstFraction to support
16861 arithmetic subtraction, as well as deserialization from integer
16862 strings such as "100"
16863 Add a testsuite as for int and double range set operations
16865 2005-11-21 Andy Wingo <wingo@pobox.com>
16867 * gst/gsttaglist.h:
16869 * gst/gststructure.h: Add glib-compat.h.
16871 2005-11-21 Wim Taymans <wim@fluendo.com>
16873 * gst/gstbin.c: (gst_bin_change_state_func):
16876 2005-11-21 Wim Taymans <wim@fluendo.com>
16878 * gst/gstsegment.h:
16879 And add a nice define too.
16881 2005-11-21 Wim Taymans <wim@fluendo.com>
16883 * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
16884 (gst_segment_new), (gst_segment_free), (gst_segment_init),
16885 (gst_segment_set_duration), (gst_segment_set_last_stop),
16886 (gst_segment_set_seek), (gst_segment_set_newsegment),
16887 (gst_segment_to_stream_time), (gst_segment_to_running_time),
16888 (gst_segment_clip):
16889 * gst/gstsegment.h:
16890 Make binding friendly.
16892 2005-11-21 Andy Wingo <wingo@pobox.com>
16894 * gst/gsttagsetter.h:
16895 * gst/gsttaglist.h:
16896 * gst/gststructure.h:
16898 * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
16901 * gst/gsterror.c (_gst_core_errors_init):
16902 * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
16905 * gst/Makefile.am (gst_headers): Add glib-compat.h.
16906 (noinst_HEADERS): noinst the -private.
16908 2005-11-21 Michael Smith <msmith@fluendo.com>
16911 * gst/gstregistry.h:
16912 Remove unimplemented declarations for which we can see no sensible
16915 2005-11-21 Andy Wingo <wingo@pobox.com>
16917 * gst/gst.h: Include glib-compat.h.
16919 * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
16921 * gst/glib-compat.c: Include the public and the private header.
16923 * gst/glib-compat-private.h: Copied here from glib-compat.h.
16927 * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
16929 * check/gst/gstevent.c (create_custom_events): Check that
16930 FLUSH_STOP is serialized.
16932 * check/elements/identity.c (event_func):
16933 * check/elements/fakesrc.c (event_func): No stream lock, the core
16936 * gst/base/gstbasetransform.c (gst_base_transform_event): No more
16937 stream lock taking, yay.
16939 * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
16940 ensure that core takes the stream lock.
16942 * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
16945 * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
16946 the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
16947 it already. For the flush start we do take it though so we get the
16948 right preroll state change messages.
16950 * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
16951 the stream lock here, the core does it for us.
16953 * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
16954 GST_STREAM_GET_LOCK.
16955 (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK)
16956 (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL)
16957 (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
16958 (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
16959 (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK)
16960 (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
16962 * gst/gstpad.c: Update for stream lock name change.
16964 * gst/base/gstbasesink.c: Update for preroll lock name change.
16966 2005-11-21 Wim Taymans <wim@fluendo.com>
16968 * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
16969 (gst_clock_get_master):
16971 * gst/gstsystemclock.c: (gst_system_clock_init):
16972 Convert Clock flags to object flags.
16973 Added methods to manage master/slave clocks.
16975 2005-11-21 Wim Taymans <wim@fluendo.com>
16977 * check/gst/gstsegment.c: (GST_START_TEST):
16978 * docs/design/part-TODO.txt:
16979 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
16980 (gst_base_sink_event), (gst_base_sink_do_sync),
16981 (gst_base_sink_activate_pull), (gst_base_sink_get_position),
16982 (gst_base_sink_query), (gst_base_sink_change_state):
16983 * gst/base/gstbasesink.h:
16984 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
16985 (gst_base_src_default_newsegment),
16986 (gst_base_src_configure_segment), (gst_base_src_do_seek),
16987 (gst_base_src_get_range), (gst_base_src_loop),
16988 (gst_base_src_change_state):
16989 * gst/base/gstbasesrc.h:
16990 * gst/base/gstbasetransform.c:
16991 (gst_base_transform_prepare_output_buf),
16992 (gst_base_transform_event), (gst_base_transform_change_state):
16993 * gst/base/gstbasetransform.h:
16994 * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
16995 (gst_collect_pads_event):
16996 * gst/base/gstcollectpads.h:
16997 * gst/elements/gstfakesrc.c: (gst_fake_src_init),
16998 (gst_fake_src_create):
16999 * gst/elements/gstfakesrc.h:
17000 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
17001 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
17002 (gst_segment_set_last_stop), (gst_segment_set_seek),
17003 (gst_segment_set_newsegment), (gst_segment_to_stream_time),
17004 (gst_segment_to_running_time), (gst_segment_clip):
17005 * gst/gstsegment.h:
17006 More segment updates, replace code in plugins with segment
17009 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
17011 * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
17012 Don't ignore sscanf results
17014 2005-11-21 Andy Wingo <wingo@pobox.com>
17016 * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
17019 * *.c: Ran scripts/update-macros. Oh yes.
17021 * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
17022 (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
17025 * scripts/update-macros: New script. Run it on your files to
17026 change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
17029 2005-11-21 Stefan Kost <ensonic@users.sf.net>
17031 * docs/gst/Makefile.am:
17032 * docs/gst/gstreamer-docs.sgml:
17033 * docs/gst/gstreamer-sections.txt:
17034 * docs/gst/gstreamer.types:
17036 more docs fixes, add new api to the docs
17038 2005-11-21 Andy Wingo <wingo@pobox.com>
17040 * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
17041 state_broadcast call.
17043 * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
17045 2005-11-21 Julien MOUTTE <julien@moutte.net>
17047 * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
17048 function calls for arrays.
17050 2005-11-21 Stefan Kost <ensonic@users.sf.net>
17052 * docs/random/ensonic/media-device-daemon.txt:
17053 wild idea, can this be done?
17054 * docs/gst/gstreamer-sections.txt:
17059 * gst/gstpluginfeature.c:
17063 doc fixes and additions
17065 2005-11-21 Andy Wingo <wingo@pobox.com>
17067 * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL)
17068 (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND)
17069 (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK)
17070 (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
17071 private to the basesrc implementation.
17073 * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
17074 behalf of event function if necessary. It should no longer be
17075 necessary to take the stream lock in pad's event functions. Fixes
17078 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
17079 * docs/gst/gstreamer-sections.txt:
17080 * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
17081 (gst_structure_fixate_field_nearest_double),
17082 (gst_structure_fixate_field_boolean):
17083 * gst/gststructure.h:
17084 * win32/common/libgstreamer.def:
17085 * win32/gstreamer.def:
17087 Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
17090 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
17092 * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
17093 (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
17094 (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
17095 (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
17096 (gst_fdsrc_uri_handler_init):
17097 * gst/elements/gstfdsrc.h:
17098 Port fd:// URI handler from 0.8 to fdsrc
17100 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
17102 * gst/gstvalue.c: (gst_value_transform_fourcc_string),
17103 (gst_value_serialize_fourcc):
17105 Drop leading '%' from GST_FOURCC_FORMAT, thus making it
17106 consistent with our other format defines (#320324).
17108 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
17110 * gst/gstvalue.c: (gst_value_is_fixed):
17111 Revert previous commit. Value lists are by definition
17112 not fixed, as they are a list of possible values.
17114 2005-11-21 Andy Wingo <wingo@pobox.com>
17116 * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
17117 during the stable series if we need it. Fixes #319178.
17119 * gst/gstevent.c (gst_event_new_filler): Removed.
17121 * check/gst/gstevent.c: Update comment about filler events.
17123 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
17125 * gst/gstvalue.c: (gst_value_is_fixed):
17126 Should handle both value arrays and value lists.
17128 2005-11-21 Andy Wingo <wingo@pobox.com>
17130 patch by: Alessandro Dessina <alessandro nnva org>
17132 * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
17133 functions to access arrays. Fixes #321962.
17135 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
17137 * docs/gst/gstreamer.types:
17138 gst_collectpads_get_type => gst_collect_pads_get_type.
17140 * gst/base/gstbasetransform.c:
17141 Remove unused SIGNAL_HANDOFF enum.
17143 2005-11-21 Andy Wingo <wingo@pobox.com>
17145 * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
17146 the event type (upstream, downstream, serialized). Renamed
17147 GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
17148 (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
17149 CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
17151 * gst/gstevent.c: Update for new CUSTOM event names.
17153 * check/gst/gstevent.c: Update check for new CUSTOM event names.
17156 * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
17159 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
17161 * docs/gst/gstreamer-sections.txt:
17162 * win32/common/libgstbase.def:
17163 * win32/libgstbase.def:
17164 * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
17165 (gst_collect_pads_class_init), (gst_collect_pads_init),
17166 (gst_collect_pads_finalize), (gst_collect_pads_new),
17167 (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
17168 (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
17169 (gst_collect_pads_collect), (gst_collect_pads_collect_range),
17170 (gst_collect_pads_start), (gst_collect_pads_stop),
17171 (gst_collect_pads_peek), (gst_collect_pads_pop),
17172 (gst_collect_pads_available), (gst_collect_pads_read),
17173 (gst_collect_pads_flush), (gst_collect_pads_event),
17174 (gst_collect_pads_chain):
17175 * gst/base/gstcollectpads.h:
17176 Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
17177 unimplemented functions as unimplemented. Add padding to
17178 GstCollectData. (#320766, #320423)
17180 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
17182 * gst/gstmessage.c:
17183 Improve docs for DURATION message (usage of duration parameter)
17186 2005-11-20 Wim Taymans <wim@fluendo.com>
17188 * check/Makefile.am:
17189 * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
17193 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
17194 (gst_segment_set_seek), (gst_segment_set_newsegment),
17195 (gst_segment_to_stream_time), (gst_segment_to_running_time),
17196 (gst_segment_clip):
17197 * gst/gstsegment.h:
17198 Added segment helper structure and methods. Not fully implemented
17200 Added segment check.
17202 2005-11-20 Jan Schmidt <thaytan@mad.scientist.com>
17204 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
17205 Add a deserialisation test for fractions
17206 * examples/metadata/read-metadata.c: (message_loop),
17207 (make_pipeline), (main):
17208 Fix up metadata reading sample.
17209 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
17211 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
17212 Don't try and fixate empty caps
17213 * gst/gst_private.h:
17214 Wrap in G_BEGIN_DECLS/G_END_DECLS
17215 * gst/gstvalue.c: (gst_value_collect_fraction),
17216 (gst_value_set_fraction), (gst_value_get_fraction_denominator),
17217 (gst_value_transform_string_fraction),
17218 (gst_value_compare_fraction):
17219 Add some extra guards to ensure that we don't end up
17220 with an invalid denominator of 0 in a gstfraction and
17221 that fractions always get reduced.
17223 2005-11-20 Wim Taymans <wim@fluendo.com>
17225 * docs/gst/gstreamer-sections.txt:
17227 * gst/gstelement.c:
17236 2005-11-20 Wim Taymans <wim@fluendo.com>
17238 * docs/design/part-TODO.txt:
17240 Make a proper enum of the flag.
17242 2005-11-19 Wim Taymans <wim@fluendo.com>
17244 * docs/design/part-TODO.txt:
17245 * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
17246 (gst_format_to_quark), (gst_format_register):
17248 * gst/gstquery.c: (_gst_query_initialize),
17249 (gst_query_type_get_name), (gst_query_type_to_quark),
17250 (gst_query_type_register):
17252 Add type to quark and type to string conversions.
17254 2005-11-19 Andy Wingo <wingo@pobox.com>
17256 * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
17259 2005-11-19 Wim Taymans <wim@fluendo.com>
17261 * docs/design/part-TODO.txt:
17262 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
17263 (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
17264 (gst_bin_handle_message_func):
17266 Make message handling overridable.
17268 2005-11-19 Andy Wingo <wingo@pobox.com>
17270 * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
17273 * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
17275 (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
17276 is a GstClockTime. Fixes #321710.
17278 * gst/gstclock.h (GstClock): Remove offset property. Add
17279 internal_calibration and external_calibration. Fix padding. Pad
17280 also by GstClockTime so we don't run into problems.
17282 * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
17283 (gst_clock_get_rate_offset): Remove.
17284 (gst_clock_set_time_adjust): Remove. Fixes #321712.
17287 * gst/gstutils.c (g_static_rec_cond_wait)
17288 (g_static_rec_cond_timed_wait): Removed, no longer needed.
17290 * gst/gstbin.c: Remove terrible continue_state prototype.
17292 * gst/gstelement.h (gst_element_continue_state): Make public.
17294 * gst/gstelement.h:
17295 * gst/gstelement.c (gst_element_commit_state): Removed, replaced
17296 by continue_state. Fixes #319389.
17298 * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
17299 Really fixes #168438. However I don't see anywhere where the
17300 filter function is called... stupid GStreamer...
17302 * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
17303 don't have a dispose function, so it won't get called when the
17304 object is unreffed, but oh well!
17306 * gst/gstindex.c (gst_index_set_filter_full): New API function,
17307 allows a destroy function to be set so user_data can be freed.
17309 (gst_index_set_filter): Call gst_index_set_filter_full.
17311 * check/gst/gstvalue.c (test_string): Add test for bug #165650.
17313 * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
17314 string should produce an error, given the lack of a way to
17315 represent NULL strings. Fixes #165650.
17318 * gst/gstvalue.c (gst_value_array_append_value)
17319 (gst_value_array_prepend_value, gst_value_array_get_size)
17320 (gst_value_array_get_value): New API, copied from
17321 gst_value_list_*, only operates on arrays.
17322 (gst_value_list_append_value, gst_value_list_prepend_value)
17323 (gst_value_list_concat, gst_value_list_get_size)
17324 (gst_value_list_get_value): Only operate on lists. Fixes #156633.
17326 * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
17327 init_list, because it works on both.
17328 (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
17329 (gst_value_copy_list_or_array): Renamed from copy_list.
17330 (gst_value_free_list_or_array): Renamed from free_list.
17331 (gst_value_collect_list_or_array): Renamed from collect_list.
17332 (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
17333 (gst_value_list_or_array_peek_pointer): Renamed from
17335 (_gst_value_array_value_table, _gst_value_list_value_table):
17336 Update value table functions.
17337 (gst_value_compare_list_or_array): Renamed from compare_list.
17339 * gsttaglist.h: Whoops, foreach function returns void. Also fix
17342 * gst/gsttaglist.c:
17343 * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
17344 GstTagList*. Fixes #143472.
17346 * gst/gststructure.h: Clarify what the foreach/map functions can
17347 or can't do to their arguments.
17349 2005-11-18 Wim Taymans <wim@fluendo.com>
17351 * gst/gstclock.c: (gst_clock_set_calibration),
17352 (gst_clock_get_calibration):
17354 Calibration can be set with internal time equal to current
17357 2005-11-18 Thomas Vander Stichele <thomas at apestaart dot org>
17363 2005-11-18 Andy Wingo <wingo@pobox.com>
17366 * pkgconfig/gstreamer-net.pc.in:
17367 * pkgconfig/gstreamer-net-uninstalled.pc.in:
17368 * pkgconfig/Makefile.am: Add net pkgconfig files.
17370 2005-11-18 Stefan Kost <ensonic@users.sf.net>
17373 * gst/gstghostpad.c:
17379 2005-11-18 Andy Wingo <wingo@pobox.com>
17381 * gst/net/gstnetclientclock.c: Turn off debugging.
17383 * check/net/gstnetclientclock.c (test_functioning): Assert that the
17384 times connverge somewhat. Can't make a real test.
17386 * gst/net/gstnetclientclock.c (do_linear_regression): Use all
17387 integer arithmetic. Return the minimum of the domain, which can be
17388 set as "internal" for gst_clock_set_calibration.
17389 (gst_net_client_clock_observe_times): Call _set_calibration.
17390 (gst_net_client_clock_new): Call _set_calibration instead of
17393 * check/net/gstnetclientclock.c (test_functioning): Use the right
17397 * gst/gstclock.c (gst_clock_get_calibration)
17398 (gst_clock_set_calibration): New functions, obsolete the ones I
17399 added yesterday. Doh. Precision issues mean we have to extrapolate
17400 from a point in the more recent past than 1970.
17401 (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
17403 (gst_clock_adjust_unlocked): Use the right calibration data.
17405 2005-11-18 Edward Hervey <edward@fluendo.com>
17407 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
17408 Also reset the ->current_* values in READY->PAUSED
17410 2005-11-18 Andy Wingo <wingo@pobox.com>
17412 * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
17413 Whoops, check the right fd. Also add some debugging.
17414 (gst_net_client_clock_observe_times): Adjust for int64 offset.
17415 (do_linear_regression): Add a crapload of debugging. Subtract off
17416 the minimum values from the input series to discard unneeded bits.
17417 Use only int arithmetic. There is still double arithmetic when
17418 calculating the intercept that needs fixing. Return boolean to
17419 indicate success; FALSE would mean the domain or range is too
17420 great. Still needs fixes.
17422 2005-11-18 Wim Taymans <wim@fluendo.com>
17424 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
17425 For the current position in stream time, we need to subtract
17428 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
17429 Release lock before calling the callback function of async
17432 2005-11-18 Andy Wingo <wingo@pobox.com>
17434 * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
17435 Port goes all the way to MAXUINT16.
17437 * gst/net/gstnettimeprovider.c: Make the port range the same as
17438 for the kernel: 0 assigns, otherwise ports are less than
17441 * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
17444 * check/net/gstnetclientclock.c (test_functioning): Add the start
17447 2005-11-18 Wim Taymans <wim@fluendo.com>
17449 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
17450 (gst_bin_remove_func), (bin_bus_handler):
17452 Removing a clock provider from a bin, triggers a clock lost message
17453 so that a new clock will be selected.
17454 Adding a clock to a bin triggers a clock provider message.
17455 Make sure we reselect a clock when we received a clock lost message.
17456 Keep a reference to the element that provided the clock.
17458 2005-11-18 Andy Wingo <wingo@pobox.com>
17460 * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
17461 the clock initially so it produces values around the base time.
17462 (gst_net_client_clock_class_init): Typo fix.
17463 (gst_net_client_clock_thread): Add note on when the socket gets
17466 2005-11-17 Wim Taymans <wim@fluendo.com>
17468 * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
17469 Free remote and local time arrays.
17471 2005-11-17 Wim Taymans <wim@fluendo.com>
17473 * gst/net/gstnetclientclock.c: (do_linear_regression),
17474 (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
17475 Fix compilation, uninitialized vars and a forgotten continue.
17477 2005-11-17 Andy Wingo <wingo@pobox.com>
17479 * check/Makefile.am (check_PROGRAMS):
17480 * check/net/gstnetclientclock.c: Add a most minimal test for the
17481 net client clock. More to come later.
17483 * gst/net/gstnet.h:
17484 * gst/net/Makefile.am: Add netclientclock.
17486 * gst/net/gstnetclientclock.h:
17487 * gst/net/gstnetclientclock.c: New files, implement an untested
17488 GstClock that takes its time from a network time provider.
17489 Implements the algorithm in network-clock.scm.
17491 * tests/network-clock.scm (*window-size*): Rename from
17493 * tests/network-clock.scm (network-time):
17494 * tests/network-clock-utils.scm (q-push): Update callers.
17496 2005-11-17 Wim Taymans <wim@fluendo.com>
17498 * gst/gstbin.c: (gst_bin_provide_clock_func),
17499 (gst_bin_sort_iterator_new):
17500 And unref the child too..
17502 2005-11-17 Wim Taymans <wim@fluendo.com>
17504 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
17505 (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
17506 Refactor the sort iterator so it can be used while holding the
17508 Make clock selection select a clock closest to the source.
17510 2005-11-17 Michael Smith <msmith@fluendo.com>
17512 * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
17513 (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
17515 Anonymous structs are a gcc (and some other compilers) extension, so
17516 don't use them. Since this is only for ABI-compatibility, and our
17517 API/ABI freeze is over in a few days, this whole thing will only
17518 last a few days, so don't bother trying to think up a meaningful
17519 name for the struct.
17521 2005-11-17 Andy Wingo <wingo@pobox.com>
17523 * gst/gstclock.h (GstClock): Add rate and offset properties,
17524 preserving ABI stability. Add rate/offset accessors. Will file bug
17525 for the freeze break.
17527 * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
17528 and offset, trying to keep precision and avoiding
17529 underflow/overflow.
17530 (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
17531 functions. Make gst_clock_set_time_adjust obsolete.
17532 (gst_clock_set_time_adjust): Note that this function is obsolete.
17533 Will file bug soon.
17535 * gst/base/gstbasetransform.h: Make the ABI-stability hack
17536 greppable by using GST_PADDING-1+1.
17538 2005-11-17 Torsten Schoenfeld <kaffeetisch at gmx dot net>
17540 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
17542 * gst/gstmessage.c: (gst_message_parse_clock_lost):
17543 Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
17545 * gst/gstpadtemplate.h:
17546 * gst/gstpluginfeature.h:
17547 Don't use c++ style comments in headers (#321638).
17549 2005-11-16 Andy Wingo <wingo@pobox.com>
17551 * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
17554 * check/net/gstnettimeprovider.c: Check to see that the time
17555 provider actually provides times. Works, yo!
17557 2005-11-16 Wim Taymans <wim@fluendo.com>
17559 * check/Makefile.am:
17562 * check/elements/fakesrc.c: (GST_START_TEST):
17563 Set element to NULL before disposing it.
17565 2005-11-16 Andy Wingo <wingo@pobox.com>
17567 * gst/net/Makefile.am:
17568 * gst/net/gstnet.h:
17569 * gst/net/gstnettimeprovider.c:
17570 * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
17571 provider, include it from gstnet.h, and add it to the build.
17573 * gst/net/gstnettimepacket.h:
17574 * gst/net/gstnettimepacket.c: New files, abstracts out the packet
17575 sending and receiving.
17577 2005-11-16 Wim Taymans <wim@fluendo.com>
17579 * check/Makefile.am:
17580 Enable valgrind check.
17582 * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
17583 (gst_fake_src_alloc_buffer):
17586 2005-11-16 Wim Taymans <wim@fluendo.com>
17588 * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
17589 Call parent finalize too.
17591 2005-11-16 Wim Taymans <wim@fluendo.com>
17593 * check/Makefile.am:
17594 Enable valgrind check that should work fine now.
17596 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
17597 * gst/gstqueue.c: (gst_queue_init):
17598 Fix memleaks in pad allocation.
17600 2005-11-16 Andy Wingo <wingo@pobox.com>
17602 * gst/net/Makefile.am:
17603 * gst/net/gstnet.h: New part of core to hold network elements and
17604 objects. Put in core because it exposes API that applications want
17605 to use. The library is named libgstnet-tempname right now because
17606 of the existing libgstnet in gst-plugins-base. Solution is
17607 probably to rename the one in plugins-base; will file a bug for
17610 * gst/net/gstnettimeprovider.c:
17611 * gst/net/gstnettimeprovider.h: New object to export a GstClock's
17612 get_time call over the network.
17615 * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
17617 * check/Makefile.am:
17618 * check/net/gstnettimeprovider.c: A most minimal test suite. Will
17619 get additions shortly.
17621 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
17623 * gst/gstpad.c: (gst_pad_new_from_static_template):
17625 add gst_pad_new_from_static_template functions
17626 * gst/check/gstcheck.c: (gst_check_setup_src_pad),
17627 (gst_check_setup_sink_pad):
17628 * gst/elements/gsttee.c: (gst_tee_init):
17631 2005-11-16 Wim Taymans <wim@fluendo.com>
17633 * gst/gstpad.c: (gst_pad_pause_task):
17634 Removed warning, it's not really an error either.
17636 2005-11-16 Wim Taymans <wim@fluendo.com>
17638 * gst/base/gstbasetransform.c:
17639 (gst_base_transform_prepare_output_buf),
17640 (gst_base_transform_event):
17641 Check if the caps are NULL, this can happen if the element
17642 is shutting down and the pad caps are set to NULL.
17644 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
17646 * gst/elements/gsttee.c: (gst_tee_init):
17647 fix pad template leak in tee
17649 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
17651 * gst/glib-compat.c: (g_value_dup_gst_object):
17652 * gst/glib-compat.h:
17653 * gst/gstpad.c: (gst_pad_set_property):
17654 use gst_object_ref when setting the pad template; this will
17655 trigger the pad template leaks on GLib 2.6 and the slaves
17657 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
17659 * gst/glib-compat.c: (gst_flags_get_first_value):
17660 * gst/glib-compat.h:
17661 * gst/gstregistryxml.c:
17662 remove functions copied from GLib 2.6
17664 2005-11-16 Michael Smith <msmith@fluendo.com>
17667 Don't link against VALGRIND_LIBS. That was always the wrong thing to
17668 do, but only breaks with newer valgrind versions. We're not a
17669 valgrind tool, we have no link-time dependencies on libcoregrind.
17671 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
17673 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
17675 * gst/gstmessage.h:
17678 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
17680 * gst/base/gstbasesrc.c: (gst_base_src_init):
17681 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
17682 * gst/gstqueue.c: (gst_queue_init):
17683 * gst/gstregistryxml.c: (load_feature):
17684 Revert all these unrefs, they don't even pass make check !
17686 2005-11-15 Johan Dahlin <johan@gnome.org>
17688 * gst/base/gstbasesrc.c: (gst_base_src_init):
17689 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
17690 * gst/gstqueue.c: (gst_queue_init):
17691 Free pad templates, fixes a couple of leaks.
17693 2005-11-15 Daniel Fischer <dan at f3c dot com>
17695 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
17697 * gst/gstpad.c: (gst_pad_get_property):
17698 GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
17699 GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
17702 2005-11-15 Wim Taymans <wim@fluendo.com>
17707 2005-11-15 Andy Wingo <wingo@pobox.com>
17709 * gst/gstelement.c (gst_element_set_base_time): Add debugging.
17711 * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
17712 using GST_CLOCK_TIME_NONE to disable base time management.
17713 (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
17714 time if it was NONE before.
17715 (gst_pipeline_change_state): Only munge the base time if
17716 stream_time != GST_CLOCK_TIME_NONE.
17718 * check/gst/gstpipeline.c (test_base_time): Punt around the
17719 problem of the probe not being called, because that's not the
17720 issue I'm looking at. Add a check that setting stream_time to NONE
17721 disables base time management.
17723 2005-11-15 Wim Taymans <wim@fluendo.com>
17725 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
17726 segment_stop == -1 at startup.
17728 * gst/base/gstbasetransform.c: (gst_base_transform_event),
17729 (gst_base_transform_change_state):
17730 Init segment values at start.
17732 2005-11-15 Wim Taymans <wim@fluendo.com>
17734 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
17735 0 segment values are 0 in any format.
17737 * gst/base/gstbasetransform.c: (gst_base_transform_event):
17738 * gst/base/gstbasetransform.h:
17739 Parse newsegment correctly in basetransform
17741 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
17742 Sync to clock using updated segment values.
17744 2005-11-15 Andy Wingo <wingo@pobox.com>
17746 * check/gst/gstpipeline.c (test_base_time): Add check that the
17747 base time and stream time are reset correctly.
17749 2005-11-15 Wim Taymans <wim@fluendo.com>
17751 * docs/design/part-TODO.txt:
17752 Some more TODO items.
17754 2005-11-15 Andy Wingo <wingo@pobox.com>
17756 * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
17757 error if the user selected "no clock" as the clocking method.
17759 * check/gst/gstpipeline.c (test_base_time): New test for buffer
17760 timestamps with live capture.
17762 * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
17763 is 0 but we are a live source, timestamp the buffers using the
17766 2005-11-14 Stefan Kost <ensonic@users.sf.net>
17768 * docs/gst/gstreamer-sections.txt:
17770 * gst/gstghostpad.c:
17775 2005-11-14 Wim Taymans <wim@fluendo.com>
17778 add suppressions from Wim's Debian machine
17780 2005-11-14 Thomas Vander Stichele <thomas at apestaart dot org>
17783 add suppressions from Andy's AMD64 Ubuntu machine
17785 2005-11-14 Andy Wingo <wingo@pobox.com>
17787 * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
17788 STATE_LOCK not necessary. Fixes #311489.
17790 * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
17793 * gst/gstindex.c (gst_index_add_object): Note in the docs that
17794 this function is not implemented.
17796 2005-11-14 Julien MOUTTE <julien@moutte.net>
17798 * gst/base/gstbasetransform.c:
17799 (gst_base_transform_prepare_output_buf):
17800 Ref the source pad caps while we need them.
17803 2005-11-11 Wim Taymans <wim@fluendo.com>
17805 * docs/gst/gstreamer-sections.txt:
17806 Added some docs for GstCollectData.
17808 * gst/base/gstadapter.c:
17809 Some small code example fix.
17811 * gst/base/gstcollectpads.c:
17812 * gst/base/gstcollectpads.h:
17813 Document some more.
17815 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
17817 * configure.ac: back to HEAD
17819 === release 0.9.5 ===
17821 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
17824 releasing 0.9.5, "Bike Lunch Day"
17826 2005-11-11 Wim Taymans <wim@fluendo.com>
17828 * gst/gstbuffer.c: (_gst_buffer_copy):
17831 * gst/gstcaps.c: (gst_caps_is_equal):
17833 Make _is_equal fast in the trivial cases.
17835 * gst/gstminiobject.c:
17836 * gst/gstminiobject.h:
17837 More docs. Spifify .h file.
17842 2005-11-11 Wim Taymans <wim@fluendo.com>
17844 * gst/base/gstbasetransform.c:
17845 (gst_base_transform_prepare_output_buf),
17846 (gst_base_transform_handle_buffer):
17848 If we're processing a buffer and need to allocate an output
17849 buffer, we cannot accept a format change. If we did get a
17850 format change, we have to alloc a buffer ourselves of the
17853 2005-11-11 Wim Taymans <wim@fluendo.com>
17855 * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
17856 While checking the flag for reentrancy in the gstcaps function
17857 is nice to detect recursive invocations, it also makes it
17858 impossible to call getcaps from multiple threads, which must be
17859 possible. So, checking for recursive calls has to go.
17861 2005-11-11 Michael Smith <msmith@fluendo.com>
17863 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
17864 Don't sync on buffers that fall partially outside our current
17865 segment. Prevents an assertion failure/abort playing some files.
17867 2005-11-10 Andy Wingo <wingo@pobox.com>
17869 * check/gst/gstbin.c (test_message_state_changed_children): Style
17872 * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
17873 gst_bus_poll with the signal watch. Ensures that poll and a signal
17874 watch see the same messages.
17876 * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
17877 a poll and a watch at the same time get the same messages.
17879 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
17881 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
17882 * gst/gstcaps.c: (gst_caps_intersect):
17883 Don't call gst_caps_do_simplify - it doesn't respect order of caps
17884 and it's not needed.
17886 2005-11-10 Wim Taymans <wim@fluendo.com>
17888 * docs/design/part-TODO.txt:
17891 2005-11-10 Wim Taymans <wim@fluendo.com>
17893 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
17894 * gst/base/gstbasesrc.c: (gst_base_src_wait),
17895 (gst_base_src_do_sync), (gst_base_src_get_range):
17896 Implement clock sync in base class.
17898 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
17900 patch by: Tim-Philipp Müller <tim at centricular dot net>
17902 * gst/gststructure.c: (gst_structure_parse_field),
17903 (gst_structure_from_string):
17904 Forward-port a 0.8 patch to handle escaped spaces in structure string,
17905 so that gst_parse_launch() can deal with spaces in filtered link
17906 caps (fixes #164479)
17907 * check/gst/capslist.h:
17908 * check/gst/gststructure.c: (GST_START_TEST):
17909 add unit tests for this change
17911 2005-11-10 Wim Taymans <wim@fluendo.com>
17913 * docs/gst/gstreamer-sections.txt:
17914 * gst/gstelement.c:
17915 * gst/gstelement.h:
17916 Fix docs, move some STATE macros to private.
17918 2005-11-10 Wim Taymans <wim@fluendo.com>
17920 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
17921 Added check for bug #317341
17925 Some more spiffifying.
17927 * gst/gstghostpad.c: (gst_ghost_pad_do_link):
17928 Call peer linkfunction if we are a source pad. Totally fixes
17932 Update docs, source pads should call the peer linkfunction
17933 so they can atomically perform the pad link.
17935 2005-11-09 Wim Taymans <wim@fluendo.com>
17939 Uber-spiffy-spiffify some more.
17941 2005-11-09 Tim-Philipp Müller <tim at centricular dot net>
17943 * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
17944 * gst/elements/gstfilesink.c: (gst_file_sink_init):
17945 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
17946 * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
17947 (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
17948 * gst/gstpad.c: (gst_pad_init):
17949 Use GST_DEBUG_FUNCPTR() more extensively.
17951 2005-11-09 Wim Taymans <wim@fluendo.com>
17953 * gst/gstobject.c: (gst_object_class_init):
17955 Documentation fixes.
17957 2005-11-09 Edward Hervey <edward@fluendo.com>
17959 * gst/gsttypefindfactory.c:
17962 2005-11-09 Edward Hervey <edward@fluendo.com>
17964 * gst/base/gsttypefindhelper.c:
17965 * gst/gsttypefind.c:
17966 * gst/gsttypefind.h:
17969 2005-11-09 Wim Taymans <wim@fluendo.com>
17971 * gst/gstiterator.c:
17978 2005-11-09 Wim Taymans <wim@fluendo.com>
17984 2005-11-09 Wim Taymans <wim@fluendo.com>
17986 * docs/gst/gstreamer-sections.txt:
17987 Moved the message async delivery private lock and cond
17988 to the private section.
17990 * gst/gstmessage.c:
17991 * gst/gstmessage.h:
17994 2005-11-09 Edward Hervey <edward@fluendo.com>
17996 * docs/gst/gstreamer-sections.txt:
17999 Document GstURIHandler
18001 2005-11-09 Wim Taymans <wim@fluendo.com>
18003 * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
18004 (gst_iterator_find_custom):
18005 * gst/gstiterator.h:
18008 2005-11-09 Wim Taymans <wim@fluendo.com>
18011 Document another field.
18013 * gst/gststructure.c:
18014 * gst/gststructure.h:
18017 2005-11-09 Wim Taymans <wim@fluendo.com>
18020 Documented structs.
18022 2005-11-09 Wim Taymans <wim@fluendo.com>
18024 * docs/gst/gstreamer-sections.txt:
18025 Added some new macros.
18032 2005-11-09 Wim Taymans <wim@fluendo.com>
18034 * docs/design/part-TODO.txt:
18035 Some more items for the TODO
18041 2005-11-09 Andy Wingo <wingo@pobox.com>
18043 * gst/base/gstbasesink.c: Add the beginning of docs here -- have
18044 to work on something else now tho...
18046 * gst/base/gstadapter.c: More adapter docs.
18048 * gst/elements/gstfilesink.c (gst_file_sink_start)
18049 (gst_file_sink_stop): New functions, replace the state change
18051 (gst_file_sink_class_init): Hook up the start and stop functions.
18052 (gst_file_sink_base_init): Don't set the state change handler any
18053 more. It was a bit ugly too, being set from here...
18054 (gst_file_sink_get_property, gst_file_sink_set_property):
18056 (gst_file_sink_set_location): More robust check that doesn't call
18057 GST_STATE. Ugggggg.
18059 2005-11-08 Tim-Philipp Müller <tim at centricular dot net>
18061 * gst/base/gstbasetransform.c: (gst_base_transform_event):
18062 Hold STREAM_LOCK while pushing newsegment or tag events as well.
18064 2005-11-08 Wim Taymans <wim@fluendo.com>
18066 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
18067 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
18068 (gst_base_sink_chain), (gst_base_sink_change_state):
18069 * gst/base/gstbasesink.h:
18070 * gst/base/gstbasesrc.h:
18071 * gst/gstelement.h:
18073 Avoid excessive typechecking in macros.
18075 * gst/gstminiobject.c: (gst_mini_object_get_type),
18076 (gst_mini_object_init), (gst_mini_object_new),
18077 (gst_mini_object_free):
18078 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
18079 (gst_object_finalize):
18080 Remove cruft code, optimize alloc_trace.
18082 2005-11-07 Thomas Vander Stichele <thomas at apestaart dot org>
18084 * docs/faq/gst-uninstalled:
18085 fix up PS1 for systems that try to reset it
18087 2005-11-07 Wim Taymans <wim@fluendo.com>
18089 * gst/base/gstbasesrc.c: (gst_base_src_init),
18090 (gst_base_src_get_range):
18091 Set the segment_end to -1 initially. Fixed typefind.
18093 2005-11-07 Tim-Philipp Müller <tim at centricular dot net>
18095 * gst/base/gstadapter.c:
18096 Debug category should be 'adapter', not 'GstAdapter'.
18098 * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
18099 (gst_collectpads_class_init), (gst_collectpads_init),
18100 (gst_collectpads_peek), (gst_collectpads_pop),
18101 (gst_collectpads_event), (gst_collectpads_chain):
18102 Add debug category and some debugging output. Use boilerplate
18103 macros. Remove some extraneous words from docs.
18105 2005-11-05 Andy Wingo <wingo@pobox.com>
18107 * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
18110 2005-11-04 Stefan Kost <ensonic@users.sf.net>
18112 * docs/gst/gstreamer-sections.txt:
18115 * gst/gstminiobject.h:
18120 2005-11-04 Wim Taymans <wim@fluendo.com>
18122 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
18123 Small update to stop at the configured segment_end
18126 2005-11-04 Stefan Kost <ensonic@users.sf.net>
18128 * gst/gstregistry.c:
18129 * gst/gstregistry.h:
18132 2005-11-04 Edward Hervey <edward@fluendo.com>
18134 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
18135 Check if we are doing a segment seek and have arrived at the
18136 end of that segment.
18138 2005-11-04 Wim Taymans <wim@fluendo.com>
18140 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
18141 Don't leak a mutex unlock in case of an error.
18146 2005-11-04 Wim Taymans <wim@fluendo.com>
18148 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
18150 Get the context to wake up only once.
18152 2005-11-03 Wim Taymans <wim@fluendo.com>
18154 * check/states/sinks.c: (GST_START_TEST):
18155 Uncomment fixed check.
18157 * docs/design/part-TODO.txt:
18160 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
18161 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
18162 (gst_base_sink_get_position):
18163 If we are going to PLAYING, post the right pending state
18164 when we post the intermediate paused message.
18166 * gst/gstelement.c: (gst_element_continue_state),
18167 (gst_element_set_state_func), (gst_element_change_state):
18168 Don't post state changes that were between the same state
18169 and were not ASYNC.
18171 2005-11-03 Stefan Kost <ensonic@users.sf.net>
18173 * docs/gst/gstreamer-sections.txt:
18176 * gst/gstminiobject.h:
18179 more docs and doc style fixes
18181 2005-11-03 Stefan Kost <ensonic@users.sf.net>
18183 * docs/gst/gstreamer-sections.txt:
18184 * gst/gstelement.c:
18185 * gst/gstminiobject.c:
18188 2005-11-03 Andy Wingo <wingo@pobox.com>
18190 * check/states/sinks.c (test_livesrc_sink): Add checks that the
18191 state-changed messages actually have the right order and the right
18194 2005-11-03 Wim Taymans <wim@fluendo.com>
18196 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
18197 Added some more checks. Specifically the case where NO_PREROLL
18198 elements are in the pipeline.
18200 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
18201 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
18202 (gst_base_sink_get_position):
18203 Post READY->PAUSED state change messages too.
18204 Fix bug where VOID was posted as pending state...
18206 * gst/gstbin.c: (gst_bin_recalc_state):
18207 use _element_continue_state() to continue the state change.
18209 * gst/gstelement.c: (gst_element_continue_state),
18210 (gst_element_commit_state), (gst_element_set_state_func),
18211 (gst_element_change_state), (gst_element_change_state_func):
18212 Lots of state change cleanups, assign the STATE_RETURN in
18213 a new continue_state() function that also propagates the
18214 last return value from a state change to the app.
18215 Update some debug statements with proper category.
18217 2005-11-03 Wim Taymans <wim@fluendo.com>
18219 * docs/design/part-events.txt:
18220 * docs/design/part-gstpipeline.txt:
18221 * docs/design/part-messages.txt:
18222 * docs/design/part-overview.txt:
18223 * docs/design/part-seeking.txt:
18224 * docs/design/part-states.txt:
18225 * docs/design/part-trickmodes.txt:
18226 * docs/manual/advanced-position.xml:
18227 Small docs updates.
18230 People think !! is ugly, this looks better.
18232 * gst/gstpad.c: (gst_pad_set_blocked_async):
18233 Remove !! since it's fixed elsewhere now.
18235 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
18237 * gst/gstminiobject.h:
18239 Add !! to _FLAG_IS_SET macros to make the result boolean.
18241 2005-11-03 Edward Hervey <edward@fluendo.com>
18243 * gst/gstpad.c: (gst_pad_set_blocked_async):
18244 comparing a flag and a gboolean rarely returns coherent results...
18245 Added two characters (!!) to make that work correctly.
18247 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
18249 * gst/gstbus.c: (gst_bus_class_init):
18252 * gst/gstqueue.c: (gst_queue_loop):
18253 Don't assume a miniobject that isn't a buffer is an
18254 event (it could be that there is a refcounting
18255 problem somewhere and the pointer is stale and
18256 refers to an already destroyed miniobject).
18258 2005-11-03 Julien MOUTTE <julien@moutte.net>
18260 * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
18262 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
18264 * docs/manual/advanced-position.xml:
18265 Update seek example and explanations to current 0.9 API.
18267 * gst/elements/gsttypefindelement.c:
18268 (gst_type_find_element_activate):
18269 Remove FIXME comment now that the found caps
18272 2005-11-03 Thomas Vander Stichele <thomas at apestaart dot org>
18274 * gst/gstregistryxml.c: (load_feature):
18275 Add another GST_STR_NULL instance
18277 2005-11-02 Edward Hervey <edward@fluendo.com>
18279 * gst/gstpad.c: (handle_pad_block):
18280 Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
18282 2005-11-02 Wim Taymans <wim@fluendo.com>
18287 * gst/gstelement.c: (gst_element_commit_state):
18288 Remove unused value.
18290 * gst/gstiterator.c:
18291 Mention that the returned element is reffed in the docs.
18293 2005-11-02 Wim Taymans <wim@fluendo.com>
18295 * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
18296 (gst_pad_push), (gst_pad_push_event):
18297 Unlock blocked pads when they are flushed.
18299 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
18302 * docs/gst/gstreamer-sections.txt:
18305 * gst/gstregistry.c: (gst_registry_scan_path_level):
18306 fix for a nasty little missed situation where an installed plug-in
18307 which was in the cache did not get overridden by an uninstalled one
18308 which was earlier in the plugin path because the newly created plugin
18309 for the uninstalled one (not in the registry) didn't get its
18310 ->registered set to TRUE
18312 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
18314 * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
18315 (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
18316 (gst_collectpads_is_active), (gst_collectpads_collect),
18317 (gst_collectpads_collect_range), (gst_collectpads_start),
18318 (gst_collectpads_stop), (gst_collectpads_peek),
18319 (gst_collectpads_pop), (gst_collectpads_available),
18320 (gst_collectpads_read), (gst_collectpads_flush):
18321 Guard public API with assertions.
18324 Fix docs for gst_pad_set_link_function().
18326 2005-11-02 Johan Dahlin <johan@gnome.org>
18328 * gst/elements/gsttypefindelement.c (gst_type_find_element_activate):
18329 Unref found_caps after we used it.
18331 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
18333 * gst/base/gstcollectpads.c: (gst_collectpads_peek):
18334 Don't try to ref NULL.
18336 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
18338 * win32/common/config.h.in:
18339 provide a GST_FUNCTION that just gives a string for now
18341 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
18343 * win32/common/gstenumtypes.c: (register_gst_object_flags),
18344 (gst_object_flags_get_type), (register_gst_bin_flags),
18345 (gst_bin_flags_get_type), (register_gst_buffer_flag),
18346 (gst_buffer_flag_get_type), (register_gst_bus_flags),
18347 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
18348 (gst_bus_sync_reply_get_type), (register_gst_clock_return),
18349 (gst_clock_return_get_type), (register_gst_clock_entry_type),
18350 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
18351 (gst_clock_flags_get_type), (register_gst_state),
18352 (gst_state_get_type), (register_gst_state_change_return),
18353 (gst_state_change_return_get_type), (register_gst_state_change),
18354 (gst_state_change_get_type), (register_gst_element_flags),
18355 (gst_element_flags_get_type), (register_gst_core_error),
18356 (gst_core_error_get_type), (register_gst_library_error),
18357 (gst_library_error_get_type), (register_gst_resource_error),
18358 (gst_resource_error_get_type), (register_gst_stream_error),
18359 (gst_stream_error_get_type), (register_gst_event_type),
18360 (gst_event_type_get_type), (register_gst_seek_type),
18361 (gst_seek_type_get_type), (register_gst_seek_flags),
18362 (gst_seek_flags_get_type), (register_gst_format),
18363 (gst_format_get_type), (register_gst_index_certainty),
18364 (gst_index_certainty_get_type), (register_gst_index_entry_type),
18365 (gst_index_entry_type_get_type),
18366 (register_gst_index_lookup_method),
18367 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
18368 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
18369 (gst_index_resolver_method_get_type), (register_gst_index_flags),
18370 (gst_index_flags_get_type), (register_gst_debug_level),
18371 (gst_debug_level_get_type), (register_gst_debug_color_flags),
18372 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
18373 (gst_iterator_result_get_type), (register_gst_iterator_item),
18374 (gst_iterator_item_get_type), (register_gst_message_type),
18375 (gst_message_type_get_type), (register_gst_mini_object_flags),
18376 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
18377 (gst_pad_link_return_get_type), (register_gst_flow_return),
18378 (gst_flow_return_get_type), (register_gst_activate_mode),
18379 (gst_activate_mode_get_type), (register_gst_pad_direction),
18380 (gst_pad_direction_get_type), (register_gst_pad_flags),
18381 (gst_pad_flags_get_type), (register_gst_pad_presence),
18382 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
18383 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
18384 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
18385 (gst_plugin_error_get_type), (register_gst_plugin_flags),
18386 (gst_plugin_flags_get_type), (register_gst_rank),
18387 (gst_rank_get_type), (register_gst_query_type),
18388 (gst_query_type_get_type), (register_gst_tag_merge_mode),
18389 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
18390 (gst_tag_flag_get_type), (register_gst_task_state),
18391 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
18392 (gst_alloc_trace_flags_get_type),
18393 (register_gst_type_find_probability),
18394 (gst_type_find_probability_get_type), (register_gst_uri_type),
18395 (gst_uri_type_get_type), (register_gst_parse_error),
18396 (gst_parse_error_get_type):
18397 * win32/common/gstversion.h:
18398 update win32 copies
18400 2005-11-01 Luca Ognibene <luogni@tin.it>
18403 fix docs. popt is dead, long live GOption.
18405 2005-10-31 Wim Taymans <wim@fluendo.com>
18410 2005-10-31 Andy Wingo <wingo@pobox.com>
18414 * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
18416 * gst/gstobject.c (gst_object_dispatch_properties_changed): No
18417 need to serialize property notifications on GLib 2.8. GLib 2.6 has
18418 the possibility of deadlocks here if code calling notify() or
18419 set() has a lock that can be taken in another notify handler (ABBA
18420 with class lock and e.g. python GIL state lock).
18422 2005-10-28 Julien MOUTTE <julien@moutte.net>
18424 * gst/gstbus.c: Doc updates.
18426 2005-10-28 Wim Taymans <wim@fluendo.com>
18428 * docs/design/part-TODO.txt:
18429 * gst/gstiterator.c:
18430 * gst/gstsystemclock.c:
18431 * gst/gstsystemclock.h:
18434 2005-10-28 Edward Hervey <edward@fluendo.com>
18436 * docs/gst/gstreamer-docs.sgml:
18437 * docs/gst/gstreamer-sections.txt:
18438 the GstURIType documentation page is private, it only defines GstURIType
18439 which should be defined in the GstURIHandler page
18441 2005-10-28 Thomas Vander Stichele <thomas at apestaart dot org>
18443 * gst/gstbin.c: (gst_bin_class_init):
18446 Documentation updates.
18448 2005-10-28 Wim Taymans <wim@fluendo.com>
18450 * docs/gst/gstreamer-sections.txt:
18453 Documented the clocks.
18455 2005-10-28 Stefan Kost <ensonic@users.sf.net>
18457 * docs/gst/gstreamer-sections.txt:
18458 move some macros to private sections
18459 * gst/gstminiobject.c:
18460 * gst/gstminiobject.h:
18461 add descriptions provided by ds and some more
18463 mark macro as to be removed
18465 2005-10-28 Wim Taymans <wim@fluendo.com>
18467 * docs/design/part-TODO.txt:
18468 Add an item to TODO.
18470 * gst/gstiterator.c: (gst_iterator_fold),
18471 (gst_iterator_find_custom):
18472 * gst/gstiterator.h:
18475 2005-10-28 Wim Taymans <wim@fluendo.com>
18477 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
18478 (gst_base_transform_init):
18481 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
18482 An EOS event marks the queue as completely filled.
18484 2005-10-27 Wim Taymans <wim@fluendo.com>
18486 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18487 (gst_base_sink_do_sync), (gst_base_sink_get_position):
18488 Some more debugging.
18490 * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
18491 (gst_base_transform_init), (gst_base_transform_buffer_alloc),
18492 (gst_base_transform_event), (gst_base_transform_getrange),
18493 (gst_base_transform_chain):
18494 * gst/base/gstbasetransform.h:
18496 Protect transform and concurrent buffer alloc with a new lock.
18497 Try not to break ABI/API.
18499 2005-10-27 Wim Taymans <wim@fluendo.com>
18501 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
18502 (gst_base_src_init), (gst_base_src_query),
18503 (gst_base_src_default_newsegment),
18504 (gst_base_src_configure_segment), (gst_base_src_do_seek),
18505 (gst_base_src_send_event), (gst_base_src_event_handler),
18506 (gst_base_src_pad_get_range), (gst_base_src_loop),
18507 (gst_base_src_unlock), (gst_base_src_default_negotiate),
18508 (gst_base_src_start), (gst_base_src_deactivate),
18509 (gst_base_src_activate_push), (gst_base_src_change_state):
18510 Move some stuff around and cleanup things.
18512 2005-10-27 Tim-Philipp Müller <tim at centricular dot net>
18514 * gst/base/gstbasesrc.c: (gst_base_src_query):
18515 Add missing break statements.
18517 2005-10-27 Wim Taymans <wim@fluendo.com>
18519 * check/gst/gstbin.c: (GST_START_TEST):
18520 An extra refcount is taken in basesrc.
18522 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
18523 (gst_base_src_get_range), (gst_base_src_pad_get_range),
18524 (gst_base_src_loop):
18525 Small cleanups, check for flushing after being unlocked from the
18526 LIVE_LOCK. take refcounts correctly (not yet everywhere).
18527 Don't send out EOS when going to READY.
18529 2005-10-27 Wim Taymans <wim@fluendo.com>
18531 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18532 (gst_base_sink_get_position):
18535 * gst/gstbin.c: (message_check), (bin_replace_message),
18536 (bin_remove_messages), (is_eos), (gst_bin_add_func),
18537 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
18538 (bin_query_duration_init), (bin_query_duration_fold),
18539 (bin_query_duration_done), (bin_query_generic_fold),
18541 * tools/gst-launch.c: (main):
18544 2005-10-26 Stefan Kost <ensonic@users.sf.net>
18546 * examples/controller/audio-example.c: (main):
18547 * examples/queue/queue.c: (event_loop):
18548 * gst/base/gstbasetransform.h:
18549 * gst/gstelement.c: (gst_element_send_event):
18551 * gst/gstpad.c: (gst_pad_send_event):
18554 changing log priority in error situations
18556 2005-10-25 Wim Taymans <wim@fluendo.com>
18558 * gst/gstbin.c: (message_check), (bin_replace_message),
18559 (bin_remove_messages), (is_eos), (gst_bin_add_func),
18560 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
18561 (bin_query_duration_init), (bin_query_duration_fold),
18562 (bin_query_duration_done), (bin_query_generic_fold),
18564 Some doc and debug updates.
18565 Cache previously requested query DURATION for speed. invalidate
18566 cached duration if element posts a DURATION message.
18568 2005-10-25 Wim Taymans <wim@fluendo.com>
18570 * docs/design/part-TODO.txt:
18573 * gst/gstbin.c: (message_check), (bin_replace_message),
18574 (bin_remove_messages), (is_eos), (gst_bin_add_func),
18575 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
18576 (bin_query_duration_init), (bin_query_duration_fold),
18577 (bin_query_duration_done), (bin_query_generic_fold),
18579 Handle SEGMENT_START/DONE messages correctly.
18580 More evolved query algorithm that handles duration queries
18583 * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
18584 (gst_element_get_state_func), (gst_element_abort_state),
18585 (gst_element_commit_state), (gst_element_lost_state):
18586 Some more debugging.
18588 * gst/gstmessage.h:
18591 2005-10-25 Wim Taymans <wim@fluendo.com>
18593 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
18594 Don't use invalid stream_time.
18596 * gst/gstevent.c: (gst_event_new_newsegment):
18597 stream_time in newsegment cannot be undefined.
18599 2005-10-24 Wim Taymans <wim@fluendo.com>
18604 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
18606 Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
18608 2005-10-24 Stefan Kost <ensonic@users.sf.net>
18610 * docs/libs/tmpl/gstdparam.sgml:
18611 * docs/libs/tmpl/gstdplinint.sgml:
18612 * docs/libs/tmpl/gstdpman.sgml:
18613 * docs/libs/tmpl/gstdpsmooth.sgml:
18614 * docs/libs/tmpl/gstunitconvert.sgml:
18617 2005-10-24 Thomas Vander Stichele <thomas at apestaart dot org>
18622 === release 0.9.4 ===
18624 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
18627 releasing 0.9.4, "Tyrannosaurus Rex"
18629 2005-10-23 Tim-Philipp Müller <tim at centricular dot net>
18631 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
18632 (gst_file_sink_get_current_offset):
18633 Use fseeko() and ftello() if available. When falling back on
18634 lseek() to get the current offset, fflush() first to make sure
18635 everything is up-to-date and we get the right offset.
18637 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
18639 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
18640 * gst/base/gstbasesrc.c: (gst_base_src_loop):
18641 * gst/gsterror.c: (_gst_stream_errors_init):
18643 * gst/gstqueue.c: (gst_queue_loop):
18645 remove prematurely added error category and clean up the instances
18647 2005-10-21 Wim Taymans <wim@fluendo.com>
18649 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
18650 (gst_base_sink_get_position), (gst_base_sink_query),
18651 (gst_base_sink_change_state):
18652 Simply set the right flag when going to playing, that's all
18653 we need to do instead of calling a function inside the object
18654 lock (that could take the lock as well and deadlock)
18656 2005-10-21 Wim Taymans <wim@fluendo.com>
18658 * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
18659 (gst_base_src_loop):
18660 Don't warn, the peer element knows what to do best when
18661 the seek failed, it might try something else.
18663 2005-10-21 Wim Taymans <wim@fluendo.com>
18665 * gst/base/gstbasesrc.c: (gst_base_src_init),
18666 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
18669 2005-10-21 Wim Taymans <wim@fluendo.com>
18671 * docs/design/part-segments.txt:
18674 * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
18675 Correctly set caps, even on the subbufer.
18677 2005-10-21 Wim Taymans <wim@fluendo.com>
18679 * docs/gst/gstreamer-docs.sgml:
18680 * docs/gst/gstreamer-sections.txt:
18681 * gst/gstelement.h:
18684 * gst/gstmessage.h:
18687 * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
18691 And 2% more doc coverage.
18693 2005-10-21 Andy Wingo <wingo@pobox.com>
18695 * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
18696 position reporting.
18698 2005-10-20 Wim Taymans <wim@fluendo.com>
18700 * gst/gsterror.c: (gst_error_get_message):
18703 * gst/gststructure.c:
18708 2005-10-20 Wim Taymans <wim@fluendo.com>
18713 Another 1% more coverage.
18715 2005-10-20 Wim Taymans <wim@fluendo.com>
18717 * docs/gst/gstreamer-sections.txt:
18718 * gst/gstelement.c: (gst_element_get_state_func),
18719 (gst_element_abort_state), (gst_element_commit_state),
18720 (gst_element_lost_state):
18722 * gst/gstquery.c: (gst_query_set_position),
18723 (gst_query_parse_position), (gst_query_set_duration),
18724 (gst_query_parse_duration), (gst_query_new_convert):
18726 Yay! 1% more docs coverage.
18728 2005-10-20 Wim Taymans <wim@fluendo.com>
18731 * gst/gstquery.c: (gst_query_set_position),
18732 (gst_query_parse_position), (gst_query_set_duration),
18733 (gst_query_parse_duration), (gst_query_new_convert):
18735 * gst/gstutils.c: (gst_element_query_convert):
18737 Docs and consistency fixes.
18739 2005-10-20 Wim Taymans <wim@fluendo.com>
18745 2005-10-20 Wim Taymans <wim@fluendo.com>
18747 * gst/gstbin.c: (message_check), (bin_replace_message),
18748 (bin_remove_messages), (is_eos), (gst_bin_add_func),
18749 (update_degree), (gst_bin_sort_iterator_next),
18750 (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
18751 Reworked the message handling a bit, cache the messages instead of
18752 only the senders. alows us to do more in the future.
18754 2005-10-20 Wim Taymans <wim@fluendo.com>
18756 * docs/design/part-TODO.txt:
18759 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
18760 (gst_base_sink_query):
18761 Don't use clock time to report position when in EOS.
18763 2005-10-20 Tim-Philipp Müller <tim at centricular dot net>
18765 * tools/gst-inspect.c: (print_interfaces),
18766 (print_element_properties_info), (print_element_info):
18767 Fix interface output with gst-inspect -a; don't print
18768 newlines after double/float properties.
18770 2005-10-20 Wim Taymans <wim@fluendo.com>
18772 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
18773 (gst_base_sink_query):
18774 Speed up current position calculation.
18776 * gst/base/gstbasesrc.c: (gst_base_src_query),
18777 (gst_base_src_default_newsegment):
18778 Correctly set stream position in newsegment.
18780 * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
18781 (update_degree), (gst_bin_sort_iterator_next),
18782 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
18783 * gst/gstmessage.c: (gst_message_new_custom):
18784 Clean up debugging info
18786 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
18787 (gst_queue_loop), (gst_queue_handle_src_query):
18790 2005-10-19 Wim Taymans <wim@fluendo.com>
18792 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
18793 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
18794 Fix query handling again.
18796 2005-10-19 Wim Taymans <wim@fluendo.com>
18798 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
18799 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
18800 * gst/base/gstbasesrc.c: (gst_base_src_query):
18801 * gst/elements/gstfilesink.c: (gst_file_sink_query):
18802 * gst/elements/gsttypefindelement.c:
18803 (gst_type_find_handle_src_query), (find_element_get_length),
18804 (gst_type_find_element_activate):
18807 * gst/gstquery.c: (gst_query_new_position),
18808 (gst_query_set_position), (gst_query_parse_position),
18809 (gst_query_new_duration), (gst_query_set_duration),
18810 (gst_query_parse_duration), (gst_query_set_segment),
18811 (gst_query_parse_segment):
18813 Bundling query position/duration is not a good idea since duration
18814 does not change much and we don't want to recalculate it for every
18815 position query, so they are separated again..
18816 Base value in segment query is not needed.
18818 * gst/gstqueue.c: (gst_queue_handle_src_query):
18819 * gst/gstutils.c: (gst_element_query_position),
18820 (gst_element_query_duration), (gst_pad_query_position),
18821 (gst_pad_query_duration):
18823 Updates for query API change.
18824 Added some docs here and there.
18826 2005-10-19 Thomas Vander Stichele <thomas at apestaart dot org>
18828 * check/gst/gstbin.c: (GST_START_TEST):
18829 * check/gst/gstghostpad.c: (GST_START_TEST):
18830 * check/pipelines/cleanup.c: (GST_START_TEST):
18831 wait on thread to die so we can check refcount correctly
18833 2005-10-18 Wim Taymans <wim@fluendo.com>
18835 * check/pipelines/stress.c: (GST_START_TEST):
18836 Make check a little more time consuming.
18838 2005-10-18 Wim Taymans <wim@fluendo.com>
18840 * check/Makefile.am:
18841 * check/pipelines/stress.c: (GST_START_TEST),
18842 (simple_launch_lines_suite), (main):
18843 Small state change torture test.
18845 * docs/design/part-states.txt:
18846 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
18847 (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
18848 (gst_base_sink_change_state):
18849 Never take state lock from streaming thread, clean up ugly
18850 hacks. Unfortunatly core does not yet support nice ways to
18851 async commit state.
18853 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
18855 Start state recalc if a STATE_DIRTY message is posted, but only
18856 on the toplevel bin.
18858 * gst/gstelement.c: (gst_element_sync_state_with_parent),
18859 (gst_element_get_state_func), (gst_element_abort_state),
18860 (gst_element_commit_state), (gst_element_lost_state),
18861 (gst_element_set_state_func), (gst_element_change_state):
18862 * gst/gstelement.h:
18863 State variables are now protected with the LOCK, the state
18864 lock is only used to serialize _set_state().
18866 2005-10-18 Wim Taymans <wim@fluendo.com>
18868 * check/gst/gstbin.c: (GST_START_TEST):
18869 * check/gst/gstmessage.c: (GST_START_TEST):
18870 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
18871 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
18873 * gst/gstelement.c: (gst_element_abort_state),
18874 (gst_element_commit_state), (gst_element_lost_state):
18875 * gst/gstmessage.c: (gst_message_new_state_changed),
18876 (gst_message_new_state_dirty), (gst_message_new_segment_start),
18877 (gst_message_new_segment_done), (gst_message_new_duration),
18878 (gst_message_parse_state_changed),
18879 (gst_message_parse_segment_start),
18880 (gst_message_parse_segment_done), (gst_message_parse_duration):
18881 * gst/gstmessage.h:
18882 * tools/gst-launch.c: (event_loop):
18883 Seriously, this is better than a previous commit as we only need
18884 to notify the fact that an element changed state in a streaming
18885 thread, marking the state of the parents dirty, hence the
18886 STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
18889 2005-10-18 Wim Taymans <wim@fluendo.com>
18891 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
18892 (gst_bin_recalc_func):
18893 * gst/gstelement.c: (gst_element_set_clock),
18894 (gst_element_abort_state), (gst_element_lost_state):
18895 Cleanups, prepare for state change fixes.
18897 2005-10-18 Wim Taymans <wim@fluendo.com>
18900 * gst/gstelement.c: (gst_element_class_init),
18901 (gst_element_set_state), (gst_element_set_state_func):
18902 * gst/gstelement.h:
18903 Pending ABI changes.
18904 GThreadPool in GstBinClass to monitor async state changes.
18905 state_cookie in GstElement to detect concurrent gst/set state.
18906 set_state is now virtual too in case a very complicated element
18907 has to be constructed.
18909 2005-10-18 Wim Taymans <wim@fluendo.com>
18911 * check/gst/gstbin.c: (GST_START_TEST):
18912 * check/gst/gstmessage.c: (GST_START_TEST):
18913 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
18914 * gst/gstbin.c: (bin_bus_handler):
18915 * gst/gstelement.c: (gst_element_commit_state),
18916 (gst_element_lost_state):
18917 * gst/gstmessage.c: (gst_message_new_state_changed),
18918 (gst_message_new_segment_start), (gst_message_new_segment_done),
18919 (gst_message_new_duration), (gst_message_parse_state_changed),
18920 (gst_message_parse_segment_start),
18921 (gst_message_parse_segment_done), (gst_message_parse_duration):
18922 * gst/gstmessage.h:
18923 * tools/gst-launch.c: (event_loop):
18924 Make messages future proof.
18925 state-change gets a flag if it was a message comming from the
18927 segment-start/stop can also be specified in other formats.
18928 A message to notify an app that a pipeline changed playback
18930 Also fix a GstMessage leak in -launch
18932 2005-10-18 Andy Wingo <wingo@pobox.com>
18934 * gst/gstelement.c (gst_element_dispose): More helpful message.
18936 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
18938 reviewed by: <delete if not using a buddy>
18940 * common/gtk-doc.mak:
18942 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
18944 * gst/gstregistry.c: (gst_registry_scan_path_level):
18945 unref a plug-in we get that was already initialized
18947 2005-10-18 Stefan Kost <ensonic@users.sf.net>
18949 * docs/gst/gstreamer-sections.txt:
18950 * docs/libs/gstreamer-libs-sections.txt:
18951 * gst/gstelement.h:
18952 add new api entries
18953 hide internal macro
18955 2005-10-17 Andy Wingo <wingo@pobox.com>
18957 * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
18960 * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
18962 * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
18964 * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
18965 (gst_element_get_state_func): Better debug message.
18966 (gst_element_commit_state): s/INFO/DEBUG/.
18967 (gst_element_lost_state, gst_element_change_state):
18969 * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
18970 (gst_message_new_custom): s/INFO/LOG/.
18972 2005-10-17 Michael Smith <msmith@fluendo.com>
18974 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
18975 Check if end time is valid using end time, not start time.
18977 2005-10-17 Stefan Kost <ensonic@users.sf.net>
18979 * check/gst-libs/controller.c: (GST_START_TEST),
18980 (gst_controller_suite):
18981 * libs/gst/controller/gstcontroller.c:
18982 (gst_controlled_property_set_interpolation_mode):
18983 * libs/gst/controller/gstcontroller.h:
18984 * libs/gst/controller/gstinterpolation.c:
18985 * testsuite/controller/.cvsignore:
18986 * testsuite/controller/Makefile.am:
18987 * testsuite/controller/interpolator.c:
18988 merge controller testsuites
18990 remove mem-chunk from docs
18992 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
18994 * gst/gstmemchunk.c:
18995 * gst/gstmemchunk.h:
18996 * gst/gsttrashstack.c:
18997 * gst/gsttrashstack.h:
18998 out. get out. you're fired. to the Attic !
19000 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
19002 * gst/gstcaps.c: (gst_caps_intersect):
19003 fix signedness issues in a (hopefully) correct way
19004 * gst/gstelement.c: (gst_element_pads_activate):
19006 * gst/gstobject.c: (gst_object_set_parent):
19009 2005-10-17 Julien MOUTTE <julien@moutte.net>
19011 * gst/gstvalue.h: Fix prototypes.
19013 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
19015 * docs/gst/gstreamer-sections.txt:
19016 * gst/gst.c: (gst_version_string):
19018 * gst/gstversion.h.in:
19019 * win32/common/libgstreamer.def:
19020 add gst_version_string ()
19022 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
19026 * gst/gst.c: (init_post):
19027 * win32/common/config.h.in:
19029 * gst/gstcaps.c: (gst_caps_intersect):
19030 use gint64, the range could be bigger than a guint
19032 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
19035 document potential problem in 2038
19037 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
19039 * gst/gstcaps.c: (gst_caps_intersect):
19040 Fix guint j diving under 0
19042 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
19045 * win32/common/config.h:
19046 * win32/common/config.h.in:
19047 check for process.h, declares getpid() on Windows
19049 include process.h if we have it
19050 * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
19051 * gst/gstmemchunk.h:
19052 fix signedness issues
19053 * win32/common/libgstreamer.def:
19056 2005-10-16 Julien MOUTTE <julien@moutte.net>
19058 * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
19059 fix. Because of unsigned ints, caps intersection was going nuts and
19060 trying to access structures with G_MAXUINT index. That fixes
19061 videotestsrc ! ffmpegcolorspace ! fakesink
19062 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
19065 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
19068 use the gettext macro
19069 * gst/elements/gstelements.c:
19071 * gst/indexers/gstindexers.c:
19072 update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
19073 * win32/common/config.h:
19075 * win32/common/config.h.in:
19076 add the template to generate config.h
19077 * win32/common/gstenumtypes.c:
19078 * win32/common/gstversion.h:
19081 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
19083 * gst/gst.c: (gst_version):
19084 * gst/gstversion.h.in:
19087 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
19090 Oops, add missing closing bracket.
19092 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
19095 use common m4's for argument checking
19097 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
19099 * docs/gst/gstreamer-sections.txt:
19101 Add GST_EVENT_TYPE_NAME() macro.
19103 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
19106 * gst/gstpluginfeature.c:
19108 privatize more symbols
19110 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
19113 add srcdir, builddir includes to GST_ALL_CFLAGS, since
19114 everything that uses GStreamer API should have the includes
19116 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
19118 * docs/gst/gstreamer-sections.txt:
19119 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
19121 give each value a _get_type, removes the DATA exports
19123 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
19127 remove _gst_registry_auto_load, not used anymore
19128 * gst/gstbin.c: (gst_bin_get_type):
19130 * gst/gstelement.c: (gst_element_get_type):
19131 * gst/gstelement.h:
19132 * gst/gstobject.c: (gst_object_get_type):
19134 * gst/gstpad.c: (gst_pad_get_type):
19136 make _get_type functions similar, fixes data export from library
19138 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
19141 correctly make conditionals
19142 * gst/elements/Makefile.am:
19143 * gst/elements/gstelements.c:
19144 fix typo causing fdsrc not to build
19146 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
19148 * testsuite/Makefile.am:
19149 * testsuite/bytestream/.cvsignore:
19150 * testsuite/bytestream/Makefile.am:
19151 * testsuite/bytestream/filepadsink.c:
19152 * testsuite/bytestream/gstbstest.c:
19153 * testsuite/bytestream/test1.c:
19154 * testsuite/bytestream/testfile1:
19155 * testsuite/caps/normalisation.c:
19156 * testsuite/caps/random.c: (main):
19157 * testsuite/cleanup/.cvsignore:
19158 * testsuite/cleanup/Makefile.am:
19159 * testsuite/cleanup/cleanup1.c:
19160 * testsuite/cleanup/cleanup2.c:
19161 * testsuite/cleanup/cleanup3.c:
19162 * testsuite/cleanup/cleanup4.c:
19163 * testsuite/cleanup/cleanup5.c:
19164 * testsuite/controller/interpolator.c:
19165 * testsuite/debug/printf_extension.c: (main):
19166 * testsuite/elements/tee.c:
19167 * testsuite/negotiation/.cvsignore:
19168 * testsuite/negotiation/Makefile.am:
19169 * testsuite/negotiation/pad_link.c:
19170 * testsuite/pad/Makefile.am:
19171 * testsuite/pad/chainnopull.c:
19172 * testsuite/pad/getnopush.c:
19173 * testsuite/pad/link.c:
19174 * testsuite/refcounting/sched.c: (create_pipeline):
19175 * testsuite/registry/Makefile.am:
19176 * testsuite/registry/gst-print-formats.c:
19177 * testsuite/schedulers/.cvsignore:
19178 * testsuite/schedulers/142183-2.c:
19179 * testsuite/schedulers/142183.c:
19180 * testsuite/schedulers/143777-2.c:
19181 * testsuite/schedulers/143777.c:
19182 * testsuite/schedulers/147713.c:
19183 * testsuite/schedulers/147819.c:
19184 * testsuite/schedulers/147894-2.c:
19185 * testsuite/schedulers/147894.c:
19186 * testsuite/schedulers/Makefile.am:
19187 * testsuite/schedulers/group_link.c:
19188 * testsuite/schedulers/queue_link.c:
19189 * testsuite/schedulers/relink.c:
19190 * testsuite/schedulers/unlink.c:
19191 * testsuite/schedulers/unref.c:
19192 * testsuite/schedulers/useless_iteration.c:
19193 * testsuite/states/bin.c:
19194 clean out/remove some stuff from the testsuite directories
19196 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
19199 check for some headers
19200 * gst/elements/Makefile.am:
19201 * gst/elements/gstelements.c:
19202 don't compile fdsrc without sys/socket.h
19203 * gst/indexers/Makefile.am:
19204 * gst/indexers/gstindexers.c: (plugin_init):
19205 don't compile fileindex without mmap
19207 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
19214 * check/Makefile.am:
19215 * docs/gst/Makefile.am:
19216 * examples/helloworld/Makefile.am:
19218 * gst/base/Makefile.am:
19219 * gst/check/Makefile.am:
19220 * gst/elements/Makefile.am:
19221 * gst/indexers/Makefile.am:
19222 * gst/parse/Makefile.am:
19223 * libs/gst/controller/Makefile.am:
19224 * libs/gst/dataprotocol/Makefile.am:
19225 * examples/helloworld/helloworld.c: (event_loop):
19226 compile fixes, though it's not being compiled currently
19228 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
19230 * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
19231 Add some simple tests for the new taglist date API.
19233 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
19235 * gst/elements/gstfakesink.c: (gst_fake_sink_render):
19236 * gst/elements/gstfakesrc.c: (gst_fake_src_create):
19237 Beautify 'last-message' output: print 'none' for buffer timestamps
19238 and durations if none is set; improve alignment with next messages.
19240 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
19242 * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
19243 * gst/gstpluginfeature.h:
19244 * gst/gstregistry.c: (gst_default_registry_check_feature_version):
19245 * gst/gstregistry.h:
19246 * docs/gst/gstreamer-sections.txt:
19247 Add new API to check plugin feature version requirements.
19249 * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
19250 Some basic tests for the above.
19252 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
19254 * gst/gststructure.c: (gst_structure_to_string):
19255 guard against NULL printf - happens when for example
19256 a message structure with GstClock gets serialized
19258 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
19260 * gst/base/gstcollectpads.c: (gst_collectpads_event):
19261 Fix presumable copy'n'pasto.
19263 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
19265 * gst/elements/gstfakesrc.h:
19266 * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
19267 * gst/elements/gsttypefindelement.c:
19268 fix some signedness
19269 * gst/elements/gstfilesink.c: (gst_file_sink_render):
19270 I wonder if this could actually write +2GB files before
19272 2005-10-13 Andy Wingo <wingo@pobox.com>
19274 * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
19275 Fix Timmeke Waymans bug.
19276 (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
19277 string of the proper length to gst_caps_from_string. There's a
19278 potential for, before this fix, that this could cause someone
19279 connecting over the network to cause a segfault if the payload is
19280 not NUL-terminated.
19282 2005-10-13 Stefan Kost <ensonic@users.sf.net>
19284 * docs/design/draft-push-pull.txt:
19285 * docs/design/part-overview.txt:
19286 * docs/random/TODO-pre-0.9:
19287 * docs/random/old/ChangeLog.gstreamer:
19288 * gst/base/gstpushsrc.c:
19292 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
19294 * gst/glib-compat.c: (gst_flags_get_first_value):
19295 * gst/glib-compat.h:
19296 * gst/gstvalue.c: (gst_value_deserialize_int_helper),
19297 (gst_value_compare_double), (gst_value_serialize_flags):
19298 GLib 2.6 g_flags_get_first_value has a bug that triggers an
19301 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
19303 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
19304 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
19306 * tools/gst-launch.c: (event_loop):
19307 print out clock nicely
19309 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
19311 * docs/gst/gstreamer-sections.txt:
19312 * gst/gsttaglist.h:
19313 * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
19314 (gst_tag_list_get_date_index):
19315 Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
19316 GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
19318 2005-10-13 Julien MOUTTE <julien@moutte.net>
19320 * gst/base/gstcollectpads.c: (gst_collectpads_event),
19321 (gst_collectpads_chain):
19322 * gst/base/gstcollectpads.h: Handle newsegment and store informations
19325 2005-10-13 Stefan Kost <ensonic@users.sf.net>
19327 * docs/gst/gstreamer-sections.txt:
19330 * tools/gst-inspect.c: (main):
19331 * tools/gst-launch.c: (main):
19332 * tools/gst-run.c: (main):
19333 * tools/gst-xmlinspect.c: (main):
19334 fix GOption context leaks
19337 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
19341 * win32/common/config.h:
19343 * win32/vs6/grammar.dsp:
19344 * win32/vs6/libgstelements.dsp:
19345 * win32/vs6/libgstreamer.dsp:
19348 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
19350 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
19351 * gst/base/gstbasesrc.c: (gst_base_src_query):
19352 fix more guint64<->gdouble conversions
19354 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
19357 add win32-update target
19358 * win32/common/gstconfig.h:
19359 * win32/common/gstenumtypes.c:
19360 * win32/common/gstenumtypes.h:
19361 * win32/common/gstversion.h:
19362 add files that visual studio can't generate
19364 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
19367 add a win32-update target
19370 2005-10-12 Wim Taymans <wim@fluendo.com>
19372 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
19373 (reset_degree), (gst_bin_dispose), (bin_bus_handler):
19374 * gst/gstelement.c: (gst_element_commit_state),
19375 (gst_element_set_state):
19376 Protect flags with proper lock.
19377 unref provided cached clock in dispose.
19379 2005-10-12 Stefan Kost <ensonic@users.sf.net>
19382 * gst/gstminiobject.h:
19384 * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
19385 removed unused flags from miniobject
19388 2005-10-12 Wim Taymans <wim@fluendo.com>
19390 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
19391 (gst_file_sink_event), (gst_file_sink_render):
19392 Flush before seeking.
19394 2005-10-12 Andy Wingo <wingo@pobox.com>
19396 * gst/gst.c (gst_init_check): Ignore unknown options, as has
19397 always been the case.
19399 2005-10-12 Stefan Kost <ensonic@users.sf.net>
19401 * check/gst/gstbin.c: (GST_START_TEST):
19402 * docs/gst/gstreamer-sections.txt:
19403 * gst/base/gstbasesink.c: (gst_base_sink_init):
19404 * gst/base/gstbasesrc.c: (gst_base_src_init),
19405 (gst_base_src_get_range), (gst_base_src_check_get_range),
19406 (gst_base_src_start), (gst_base_src_stop):
19407 * gst/base/gstbasesrc.h:
19408 * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
19409 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
19410 (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
19414 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
19416 * gst/gstelement.c: (gst_element_is_locked_state),
19417 (gst_element_set_locked_state), (gst_element_commit_state),
19418 (gst_element_set_state):
19419 * gst/gstelement.h:
19420 * gst/gstindex.c: (gst_index_init):
19422 * gst/gstminiobject.h:
19423 * gst/gstobject.c: (gst_object_init), (gst_object_sink),
19424 (gst_object_set_parent):
19426 * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
19427 (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
19429 * gst/gstpadtemplate.h:
19430 * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
19431 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
19432 * gst/gstpipeline.h:
19433 * gst/indexers/gstfileindex.c: (gst_file_index_load),
19434 (gst_file_index_commit):
19435 * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
19436 * testsuite/pad/link.c: (gst_test_src_init),
19437 (gst_test_filter_init), (gst_test_sink_init):
19438 * testsuite/states/locked.c: (main):
19439 renamed GST_FLAGS macros to GST_OBJECT_FLAGS
19440 moved bitshift from macro to enum definition
19442 2005-10-12 Wim Taymans <wim@fluendo.com>
19444 * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
19445 * gst/elements/gstfilesink.c: (gst_file_sink_event),
19446 (gst_file_sink_render):
19447 Some more debugging info.
19449 2005-10-12 Wim Taymans <wim@fluendo.com>
19451 * docs/design/part-states.txt:
19452 * tools/gst-launch.c: (main):
19454 Revert non-intentional change.
19456 2005-10-12 Wim Taymans <wim@fluendo.com>
19458 * check/gst/gstbin.c: (GST_START_TEST):
19459 * check/gst/gstelement.c: (GST_START_TEST):
19460 * check/gst/gstevent.c: (GST_START_TEST), (test_event):
19461 * check/gst/gstghostpad.c: (GST_START_TEST):
19462 * check/gst/gstpipeline.c: (GST_START_TEST):
19463 * check/pipelines/simple_launch_lines.c: (run_pipeline):
19464 * check/states/sinks.c: (GST_START_TEST):
19465 * gst/elements/gsttypefindelement.c: (stop_typefinding):
19466 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
19467 (gst_bin_remove_func), (gst_bin_get_state_func),
19468 (gst_bin_recalc_state), (gst_bin_change_state_func),
19470 * gst/gstelement.c: (gst_element_get_state_func),
19471 (gst_element_get_state), (gst_element_abort_state),
19472 (gst_element_commit_state), (gst_element_set_state),
19473 (gst_element_change_state), (gst_element_change_state_func):
19474 * gst/gstelement.h:
19475 * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
19476 (gst_pipeline_provide_clock_func):
19477 * gst/gstutils.c: (gst_element_link_pads_filtered):
19478 * tools/gst-launch.c: (main):
19479 * tools/gst-typefind.c: (main):
19480 Use GstClockTime in _get_state() instead of GTimeVal.
19481 Remove old code in gstutils.c
19483 2005-10-12 Andy Wingo <wingo@pobox.com>
19485 * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
19488 * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
19489 there is no task. Shouldn't affect any code, as nothing in our
19490 plugins checks this return value.
19491 (gst_pad_stop_task): Also take the stream lock if the pad has no
19492 task. Docs updated.
19494 2005-10-12 Wim Taymans <wim@fluendo.com>
19496 * gst/gstpad.c: (pre_activate), (post_activate),
19497 (gst_pad_activate_pull), (gst_pad_activate_push):
19498 Cleanup activation code. Reset old state if
19501 2005-10-12 Wim Taymans <wim@fluendo.com>
19503 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
19504 (gst_base_sink_change_state):
19505 No need to prerol after receiving EOS.
19507 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
19508 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
19509 * gst/elements/gstidentity.c: (gst_identity_event):
19510 Print events more verbosely.
19512 2005-10-12 Wim Taymans <wim@fluendo.com>
19514 * check/Makefile.am:
19515 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
19516 * check/states/sinks2.c:
19517 Moved sinks2 testcode in sinks check.
19519 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
19520 (gst_bin_remove_func), (gst_bin_recalc_state),
19521 (gst_bin_change_state_func), (bin_bus_handler):
19522 Fix potential race condition when _get_state() iterated over an
19523 ASYNC element right before it posted a state completion.
19526 Do proper cast here.
19528 * gst/gstevent.c: (gst_event_new_newsegment),
19529 (gst_event_parse_newsegment):
19530 A playback rate of 0.0 is not allowed.
19532 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
19534 * win32/common/config.h:
19535 * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
19536 (_trewinddir), (_ttelldir), (_tseekdir):
19537 * win32/common/dirent.h:
19538 * win32/common/gtchar.h:
19539 * win32/common/libgstbase.def:
19540 * win32/common/libgstreamer.def:
19541 * win32/vs6/grammar.dsp:
19542 * win32/vs6/gst_inspect.dsp:
19543 * win32/vs6/gst_launch.dsp:
19544 * win32/vs6/gstreamer.dsw:
19545 * win32/vs6/libgstbase.dsp:
19546 * win32/vs6/libgstelements.dsp:
19547 * win32/vs6/libgstreamer.dsp:
19548 Visual Studio 6 project files, and a new common directory.
19551 2005-10-11 Wim Taymans <wim@fluendo.com>
19553 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
19554 (gst_base_sink_do_sync), (gst_base_sink_query),
19555 (gst_base_sink_change_state):
19556 * gst/base/gstbasesink.h:
19557 Correctly parse newsegment info.
19559 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
19561 * gst/gst.c: (init_post):
19562 split plugin paths correctly
19564 2005-10-11 Wim Taymans <wim@fluendo.com>
19566 * check/gst/gstevent.c: (GST_START_TEST):
19567 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
19568 (gst_base_sink_change_state):
19569 * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
19570 * gst/base/gstbasetransform.c: (gst_base_transform_event):
19571 * gst/elements/gstfilesink.c: (gst_file_sink_event):
19572 * gst/gstevent.c: (gst_event_new_newsegment),
19573 (gst_event_parse_newsegment):
19575 Added extra flag to newsegment for future API freeze.
19576 Updated check and base elements.
19578 2005-10-11 Julien MOUTTE <julien@moutte.net>
19580 * gst/base/gstcollectpads.c: (gst_collectpads_init),
19581 (gst_collectpads_add_pad), (gst_collectpads_pop),
19582 (gst_collectpads_event), (gst_collectpads_chain):
19583 * gst/base/gstcollectpads.h: Handle EOS correctly.
19585 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
19587 * tools/gst-launch.c: (main):
19588 more null protecting
19590 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
19592 * gst/gst-i18n-lib.h:
19593 check for ENABLE_NLS, not GETTEXT_PACKAGE
19594 * gst/gstregistry.c: (gst_registry_add_plugin),
19595 (gst_registry_scan_path_level),
19596 (_gst_registry_remove_cache_plugins):
19597 protect possibly NULL strings
19598 * gst/parse/types.h:
19599 config.h already included before
19600 * tools/gst-inspect.c: (main):
19601 sys/wait.h also doesn�t exist on mingw, so change the ifdef check
19602 check for ENABLE_NLS, not GETTEXT_PACKAGE
19603 * tools/gst-launch.c: (main):
19604 check for ENABLE_NLS, not GETTEXT_PACKAGE
19606 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
19609 if we don't have glib, fail before testing 2.8
19610 * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
19611 fix a leak, should fix plugins-base testsuite
19613 2005-10-11 Andy Wingo <wingo@pobox.com>
19615 * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
19616 take the mode we're going to as an arg. Go head and set the mode
19617 and flushing flags now, so that if the activate function starts a
19618 thread all the flags will be in the right state.
19619 (post_activate): Renamed also. Just handle making sure streaming
19620 finishes for the deactivation case, and setting the deactivated
19622 (gst_pad_set_active): Complain loudly if deactivation fails.
19623 (gst_pad_activate_pull): Adapt to pre/post_activate changes.
19624 (gst_pad_activate_push): Adapt to pre/post_activate changes,
19625 remove the terrible hack.
19627 2005-10-11 Wim Taymans <wim@fluendo.com>
19629 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
19630 (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
19631 (gst_bin_recalc_state), (gst_bin_change_state_func),
19632 (gst_bin_dispose), (bin_bus_handler):
19634 Prepare to make current EOS message queue more generic.
19637 * gst/gstevent.c: (gst_event_new_newsegment),
19638 (gst_event_parse_newsegment):
19640 Rename base to stream_time.
19642 * gst/gstmessage.h:
19645 2005-10-11 Wim Taymans <wim@fluendo.com>
19647 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
19648 (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
19649 (gst_bin_change_state_func), (bin_bus_handler):
19651 Work on proper clock selection.
19653 2005-10-11 Edward Hervey <edward@fluendo.com>
19655 * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list):
19656 * libs/gst/controller/gstcontroller.h:
19657 Added GList* version of _remove_properties() in order to be able to wrap
19660 2005-10-11 Wim Taymans <wim@fluendo.com>
19662 * docs/design/part-states.txt:
19665 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
19666 (gst_bin_change_state_func), (bin_bus_handler):
19667 Doc updates. Don't distribute the same clock over and over again.
19673 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
19674 (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
19675 (gst_pad_send_event):
19677 Make probe emission threadsafe again.
19678 Register quarks and move _get_name() from utils.
19681 * gst/gstpipeline.c: (gst_pipeline_class_init),
19682 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
19683 Only redistribute the clock of it changed.
19685 * gst/gstsystemclock.h:
19690 Moved the _flow_get_name() to GstPad.
19692 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
19694 * check/gst-libs/gdp.c: (GST_START_TEST):
19695 * check/gst/gstcaps.c: (GST_START_TEST):
19696 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
19697 (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
19698 (gst_dp_packet_from_caps):
19699 fix more valgrind warnings before turning up the heat
19701 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
19703 * gst/parse/grammar.y:
19704 some cleanup before the hacking
19706 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
19708 * gst/base/gstbasesrc.c: (gst_base_src_query):
19710 * gst/gstutils.c: (gst_guint64_to_gdouble),
19711 (gst_gdouble_to_guint64), (gst_util_uint64_scale):
19713 externalize, basesrc uses it
19714 obviously the implementation needs testing
19716 2005-10-10 Wim Taymans <wim@fluendo.com>
19718 * tests/sched/Makefile.am:
19719 * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
19720 (make_pipeline3), (make_pipeline4), (print_elem), (main):
19722 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
19724 * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
19725 apparently converting from guint64 to double is not implemented
19728 2005-10-10 Wim Taymans <wim@fluendo.com>
19730 * check/Makefile.am:
19731 * check/generic/states.c: (GST_START_TEST):
19732 * check/gst/gstbin.c: (GST_START_TEST):
19733 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
19734 * check/states/sinks.c: (GST_START_TEST):
19735 * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
19737 Check fixes, use API as stated in design docs, remove hacks.
19739 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
19740 (gst_base_sink_change_state):
19741 Catch stopping our task while we're shutting down.
19743 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
19744 (gst_bin_remove_func), (gst_bin_get_state_func),
19745 (gst_bin_recalc_state), (gst_bin_change_state_func),
19748 * gst/gstelement.c: (gst_element_init),
19749 (gst_element_get_state_func), (gst_element_abort_state),
19750 (gst_element_commit_state), (gst_element_lost_state),
19751 (gst_element_set_state), (gst_element_change_state),
19752 (gst_element_change_state_func):
19753 * gst/gstelement.h:
19754 New state change algorithm (see #318116)
19756 * gst/gstpipeline.c: (gst_pipeline_class_init),
19757 (gst_pipeline_init), (gst_pipeline_set_property),
19758 (gst_pipeline_get_property), (do_pipeline_seek),
19759 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
19760 * gst/gstpipeline.h:
19761 Remove crude state change hacks.
19764 Remove crude hacks.
19766 * tools/gst-launch.c: (main):
19767 Fixes for state change. Needs some more work to fully use the
19770 2005-10-10 Andy Wingo <wingo@pobox.com>
19772 * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
19774 * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
19775 this flag, but it's not even in GLib 2.6. Odd. Hack around the
19778 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
19780 * gst/gstiterator.c: (gst_iterator_new):
19781 Fix my previous commit: GTypes passed to gst_iterator_new()
19782 can be fundamental types.
19784 2005-10-10 Wim Taymans <wim@fluendo.com>
19786 * gst/gstelement.c: (gst_element_iterate_pad_list),
19787 (gst_element_iterate_pads), (gst_element_iterate_src_pads),
19788 (gst_element_iterate_sink_pads):
19789 Use src/sink pads lists for the respective iterators instead
19792 2005-10-10 Andy Wingo <wingo@pobox.com>
19794 Merged in popt removal + GOption addition patch from Ronald, bug
19797 * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
19798 GstElement macros around, remove popt-related symbols, add goption
19801 * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
19803 * docs/gst/Makefile.am:
19804 * docs/libs/Makefile.am: No POPT_CFLAGS.
19806 * examples/manual/Makefile.am:
19807 * docs/manual/basics-init.xml: Doc updates with an example.
19809 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
19810 (gst_init), (parse_one_option), (parse_goption_arg):
19811 * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
19812 bit of hand merging and debugging to get the GOption stuff working
19815 * tests/Makefile.am:
19816 * tools/Makefile.am:
19817 * tools/gst-inspect.c: (main):
19818 * tools/gst-launch.c: (main):
19819 * tools/gst-run.c: (main):
19820 * tools/gst-xmlinspect.c: (main): Thanks Ronald!
19822 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
19824 * gst/gstiterator.c: (gst_iterator_new):
19825 Add assertions to make sure passed GType is likely to really
19826 be a GType (as the compiler won't catch it if the size and
19827 GType arguments get mixed up, see #318447).
19829 2005-10-10 Josef Zlomek <josef dot zlomek at xeris dot cz>
19831 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
19833 * gst/gstbin.c: (gst_bin_iterate_sorted):
19834 Pass GType and size arguments to gst_iterator_new() in the right
19835 order (maybe we should make _new() take the GType as first argument
19836 just like _new_list()?) (#318447).
19839 2005-10-10 Wim Taymans <wim@fluendo.com>
19841 * gst/gstelement.c: (gst_element_finalize):
19842 And free the GStaticRecMutex too
19844 2005-10-10 Andy Wingo <wingo@pobox.com>
19846 * gst/gstelement.c (gst_element_init, gst_element_finalize):
19847 Allocate and free the mutex properly.
19849 * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
19851 (GstElement): The state_lock is now recursive. Rebuild your
19852 plugins, suckers. Old macros adapted.
19854 * docs/gst/gstreamer-sections.txt: Doc updates.
19857 * gst/gstutils.c (g_static_rec_cond_timed_wait)
19858 (g_static_rec_cond_wait): Ported from state changes patch, while
19859 we wait on bug #317802 to be solved in a well-distributed GLib.
19861 * gst/gstelement.c (gst_element_change_state_func): Renamed from
19862 gst_element_change_state, variable name changes.
19863 (gst_element_change_state): Split out of gst_element_set_state in
19864 preparation for the state change merge. Doesn't pay attention to
19865 the 'transition' argument.
19866 (gst_element_set_state): Updates, hopefully purely cosmetic.
19867 (gst_element_sync_state_with_parent): MT-safety. Ported from the
19868 state change patch.
19869 (gst_element_get_state_func): Renamed from get_state, cosmetic
19872 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
19874 * gst/elements/gstelements.c:
19875 * win32/GStreamer.vcproj:
19877 * win32/dirent.c: (_tseekdir):
19878 * win32/gst-inspect.vcproj:
19879 * win32/gst-launch.vcproj:
19880 * win32/gstconfig.h:
19881 * win32/gstelements.vcproj:
19882 * win32/gstenumtypes.c: (gst_object_flags_get_type):
19883 * win32/gstreamer.def:
19884 * win32/msvc71.sln:
19885 updates for the win32 build (patch from Sebastien Moutte)
19887 2005-10-10 Andy Wingo <wingo@pobox.com>
19889 * gst/gstbin.c (gst_bin_get_state_func): Renamed from
19890 gst_bin_get_state, cleaned up (but no logic changes).
19891 (bin_element_is_sink): Comment updates.
19892 (sink_iterator_filter): Remove needless cast.
19893 (gst_bin_iterate_sinks): Doc update.
19894 (gst_bin_change_state_func): Renamed from gst_bin_change_state,
19895 cleaned up (but no logic changes).
19897 * check/states/sinks.c (test_src_sink): Cleanups from the state
19899 (test_livesrc_sink): Sync on the state.
19901 * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
19902 the state change patch.
19904 * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
19907 * check/gst/gstbin.c: Merge in some style fixes and additional
19908 checks from Wim's state change patch.
19910 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
19912 * gst/base/gsttypefindhelper.c: (helper_find_peek),
19913 (gst_type_find_helper):
19914 Check whether we have the requested data already in our list of
19915 cached buffers before pulling a new buffer; also make the buffer
19916 list a GSList. Speeds up typefinding by ca. 5-10% altogether.
19918 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
19923 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
19924 don't use long long, it's not portable. Replacing with
19925 gint64 seems to work; let's hope no skeletons fall out of the closet.
19927 2005-10-10 Andy Wingo <wingo@pobox.com>
19929 * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
19931 2005-10-09 Stefan Kost <ensonic@users.sf.net>
19933 * docs/gst/gstreamer-sections.txt:
19938 * gst/gstmessage.c: (gst_message_parse_state_changed):
19941 more docs, fix compilation
19943 2005-10-09 Philippe Khalaf <burger@speedy.org>
19944 * gst/gstmessage.c:
19945 Fixed a few forgotten variables on previous commit
19947 2005-10-09 Tim-Philipp Müller <tim at centricular dot net>
19949 * gst/base/gsttypefindhelper.c: (helper_find_peek):
19950 Fix evil typefind crasher: getrange() might return a short
19951 buffer at the end of a file, but gst_type_find_peek() must
19952 either return the full data as requested or NULL, but
19953 never a short buffer.
19955 2005-10-09 Thomas Vander Stichele <thomas at apestaart dot org>
19957 * gst/gstmessage.c: (gst_message_new_state_changed),
19958 (gst_message_parse_state_changed):
19959 * gst/gstmessage.h:
19960 don't use "new", it's a C++ keyword
19962 2005-10-08 Wim Taymans <wim@fluendo.com>
19964 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
19965 * gst/gstelement.c: (gst_element_post_message):
19966 * gst/gstpipeline.c: (gst_pipeline_change_state):
19967 Small docs and debug updates.
19969 2005-10-08 Stefan Kost <ensonic@users.sf.net>
19971 * docs/gst/gstreamer-sections.txt:
19972 * gst/gstelementfactory.c:
19974 * gst/gsttaglist.c:
19977 2005-10-08 Wim Taymans <wim@fluendo.com>
19979 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
19980 (gst_bin_dispose), (bin_bus_handler):
19981 Fix typos, add comments.
19982 Clear EOS list when going to PAUSED from any direction and do it
19983 in a threadsafe way.
19984 Get base time in a threadsafe way too.
19985 Fix confusing debug in the change_state function.
19986 Various other small cleanups.
19988 * gst/gstelement.c: (gst_element_post_message):
19989 Fix very verbose bus posting code.
19991 * gst/gstpipeline.c: (gst_pipeline_class_init),
19992 (gst_pipeline_set_property), (gst_pipeline_get_property),
19993 (gst_pipeline_change_state):
19994 Small ARG_ -> PROP_ cleanup
19996 2005-10-08 Wim Taymans <wim@fluendo.com>
19998 * gst/gstbin.c: (is_eos), (bin_bus_handler):
19999 Do a less CPU demanding EOS check because we can.
20001 2005-10-08 Wim Taymans <wim@fluendo.com>
20003 * libs/gst/dataprotocol/dataprotocol.c:
20004 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
20005 (gst_dp_packet_from_event):
20006 * libs/gst/dataprotocol/dataprotocol.h:
20007 * libs/gst/dataprotocol/dp-private.h:
20008 It's about time we bump the version number.
20009 Since event types don't fit in the guint8 anymore describing
20010 the payload type, make payload type 16 bits wide.
20012 2005-10-08 Wim Taymans <wim@fluendo.com>
20014 * docs/design/part-TODO.txt:
20015 * docs/design/part-clocks.txt:
20016 * docs/design/part-events.txt:
20017 * docs/design/part-gstbin.txt:
20018 * docs/design/part-gstelement.txt:
20019 * docs/design/part-gstpipeline.txt:
20020 * docs/design/part-live-source.txt:
20021 * docs/design/part-messages.txt:
20022 * docs/design/part-overview.txt:
20023 * docs/design/part-states.txt:
20026 2005-10-08 Wim Taymans <wim@fluendo.com>
20030 Fix event quark registration.
20031 Add some space between events so we can insert them in the
20034 2005-10-08 Wim Taymans <wim@fluendo.com>
20036 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20037 (gst_base_sink_handle_buffer):
20038 Better log message.
20041 * gst/gstelement.h:
20044 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
20045 (gst_queue_set_property), (gst_queue_get_property):
20047 Remove old unused properties.
20049 2005-10-08 Stefan Kost <ensonic@users.sf.net>
20050 * docs/gst/gstreamer-sections.txt:
20051 * gst/gstmessage.c:
20052 * gst/gstmessage.h:
20053 * gst/gstminiobject.c:
20054 * gst/gstminiobject.h:
20058 lots of new docs and doc fixes
20060 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
20062 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
20064 * gst/gstregistry.c: (gst_registry_lookup_locked),
20065 (gst_registry_scan_path_level):
20066 * gst/gstregistryxml.c: (load_plugin):
20067 Only ever load one plugin for a given plugin basename.
20068 This ensures correct overriding of GST_PLUGIN_PATH over
20069 GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
20070 system installed plugins.
20072 2005-10-08 Wim Taymans <wim@fluendo.com>
20074 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20075 (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
20076 Prepare for doing QOS.
20078 2005-10-08 Wim Taymans <wim@fluendo.com>
20080 * check/gst/gstbin.c: (GST_START_TEST):
20081 * check/pipelines/cleanup.c: (GST_START_TEST):
20082 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
20083 Allow new clock message too.
20085 2005-10-08 Wim Taymans <wim@fluendo.com>
20087 * gst/gstmessage.c: (gst_message_new_error),
20088 (gst_message_new_warning), (gst_message_new_tag),
20089 (gst_message_new_state_changed), (gst_message_new_clock_provide),
20090 (gst_message_new_clock_lost), (gst_message_new_new_clock),
20091 (gst_message_new_segment_start), (gst_message_new_segment_done),
20092 (gst_message_parse_state_changed),
20093 (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
20094 (gst_message_parse_new_clock):
20095 * gst/gstmessage.h:
20096 Also carry the clock in question.
20098 2005-10-08 Wim Taymans <wim@fluendo.com>
20100 * gst/gstmessage.c: (gst_message_new_custom),
20101 (gst_message_new_eos), (gst_message_new_error),
20102 (gst_message_new_warning), (gst_message_new_tag),
20103 (gst_message_new_state_changed), (gst_message_new_clock_provide),
20104 (gst_message_new_new_clock), (gst_message_new_segment_start),
20105 (gst_message_new_segment_done), (gst_message_parse_state_changed),
20106 (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
20107 * gst/gstmessage.h:
20109 Added clock related messages.
20111 * gst/gstpipeline.c: (gst_pipeline_change_state):
20112 Post message when the clock changed.
20114 * tools/gst-launch.c: (event_loop):
20117 2005-10-08 Tim-Philipp Müller <tim at centricular dot net>
20119 * tools/gst-inspect.c: (print_element_properties_info):
20120 Can't pass NULL strings to g_print() on windows.
20122 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
20124 * docs/Makefile.am:
20125 * docs/gst/Makefile.am:
20126 * docs/gst/gstreamer-docs.sgml:
20127 * docs/gst/running.xml:
20128 * docs/version.entities.in:
20129 add a chapter on running GStreamer.
20130 document GST_DEBUG and GST_PLUGIN* env vars
20132 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
20137 remove PLUGINS_BUILDDIR stuff
20138 * gst/gst.c: (init_post):
20139 reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
20141 remove, it was condescending and not needed
20143 2005-10-08 Wim Taymans <wim@fluendo.com>
20145 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
20146 (gst_base_sink_handle_object), (gst_base_sink_event),
20147 (gst_base_sink_wait), (gst_base_sink_handle_event),
20148 (gst_base_sink_change_state):
20149 * gst/base/gstbasesink.h:
20150 Repost EOS message while going to PLAYING if still EOS.
20151 Make sure that when receiving a FLUSH_START we don't attempt
20152 to sync on the clock anymore.
20154 2005-10-08 Wim Taymans <wim@fluendo.com>
20156 * tools/gst-launch.c: (event_loop):
20157 Better message printout.
20159 2005-10-08 Wim Taymans <wim@fluendo.com>
20161 * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
20162 (gst_bin_child_proxy_get_children_count):
20163 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
20164 (gst_child_proxy_lookup), (gst_child_proxy_get_property),
20165 (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
20166 (gst_child_proxy_set_valist):
20167 * gst/parse/grammar.y:
20168 Make ChildProxy threadsafe and fix mem leaks.
20170 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
20172 * gst/gst.c: (init_post):
20173 debug the GST_PLUGIN_ env vars
20175 2005-10-08 Wim Taymans <wim@fluendo.com>
20177 * check/gst/gstbin.c: (GST_START_TEST):
20178 * check/gst/gstmessage.c: (GST_START_TEST):
20179 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
20180 * gst/gstelement.c: (gst_element_commit_state),
20181 (gst_element_lost_state):
20182 * gst/gstmessage.c: (gst_message_new_state_changed),
20183 (gst_message_parse_state_changed):
20184 * gst/gstmessage.h:
20185 * tools/gst-launch.c: (event_loop):
20186 Added extra field to STATE_CHANGE message with the pending
20187 state, which will be different from the new state soon.
20189 2005-10-08 Wim Taymans <wim@fluendo.com>
20191 * gst/gstbus.c: (gst_bus_pop):
20193 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
20194 Small cleanups and doc updates.
20196 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
20198 * gst/gst.c: (init_pre):
20199 * gst/gstbin.c: (gst_bin_add_func):
20200 log distributing clocks and base time
20201 * gst/gstregistry.c: (gst_registry_add_plugin),
20202 (gst_registry_scan_path_level), (gst_registry_scan_path):
20203 clean up the debugging output a little
20204 * gst/gstutils.c: (gst_element_state_get_name):
20205 warn about a memleak (I've actually seen this be used, though
20206 it was probably a bug)
20208 2005-10-07 Wim Taymans <wim@fluendo.com>
20210 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
20211 (gst_base_src_init), (gst_base_src_default_newsegment),
20212 (gst_base_src_newsegment), (gst_base_src_do_seek),
20213 (gst_base_src_loop), (gst_base_src_start):
20214 * gst/base/gstbasesrc.h:
20215 Make the newsegment event customizable by subclasses.
20217 2005-10-07 Wim Taymans <wim@fluendo.com>
20219 * gst/gstevent.c: (gst_event_new_buffersize),
20220 (gst_event_parse_buffersize):
20222 New event for future idea.
20224 2005-10-07 Andy Wingo <wingo@pobox.com>
20226 * gst/gstelement.c (gst_element_post_message): Doc update.
20228 * docs/gst/gstreamer-sections.txt: Update.
20230 * gst/gstmessage.c (gst_message_new_application): Made into a
20231 function like honest API calls.
20232 (gst_message_new_element): New message type.
20234 * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
20236 * check/elements/fakesrc.c (test_no_preroll): New check, checks
20237 that setting a live fakesrc to PAUSED returns NO_PREROLL both
20240 * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
20241 NO_PREROLL from gst_element_change_state to fall through.
20243 2005-10-07 Wim Taymans <wim@fluendo.com>
20245 * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
20246 (gst_ghost_pad_do_activate_push):
20247 Activating a ghostpad with no internal pad in push mode
20250 2005-10-07 Thomas Vander Stichele <thomas at apestaart dot org>
20253 there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
20254 Fixes compilation on Windows.
20256 2005-10-07 Michael Smith <msmith@fluendo.com>
20258 * tools/gst-inspect.c:
20259 Print out feature and plugin count at the end when printing out
20262 2005-10-04 Michael Smith <msmith@fluendo.com>
20264 * gst/gsterror.c: (_gst_stream_errors_init):
20265 Add another error string used in a few existing plugins.
20268 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
20269 * tools/gst-inspect.c: (print_element_info):
20270 When a feature disappears from a plugin (and the feature exists in
20271 the cached registry file), things went horribly wrong. This isn't a
20272 complete fix, we should actually be removing the 'missing' features
20273 from the features list when we load the actual plugin. That's not
20276 2005-10-04 Johan Dahlin <johan@gnome.org>
20278 * check/gst/gstiterator.c: (GST_START_TEST):
20279 * gst/gstbin.c: (gst_bin_iterate_elements),
20280 (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
20281 * gst/gstelement.c: (gst_element_iterate_pads):
20282 * gst/gstformat.c: (gst_format_iterate_definitions):
20283 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
20284 (gst_iterator_new_list), (gst_iterator_filter):
20285 * gst/gstiterator.h:
20286 * gst/gstquery.c: (gst_query_type_iterate_definitions):
20287 Add a GType to GstIterator, update callsites and tests.
20289 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
20291 * gst/gstpad.c: (gst_pad_event_default_dispatch):
20292 give events a chance to be handled by event probes when the pad
20295 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
20297 * gst/gstevent.c: (gst_event_type_get_name),
20298 (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
20300 add string representations for event types
20302 2005-10-06 Wim Taymans <wim@fluendo.com>
20304 * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
20305 Don't use NULL pointers.
20307 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
20309 * gst/gst_private.h:
20311 * gst/gstelement.c:
20313 * gst/gstpluginfeature.c:
20314 widen the debug category in output to fit the biggest one we have
20315 add a bus category and use it
20316 play with the colors
20317 fix up some categories
20319 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
20321 * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
20322 add push activation of sink ghost pads.
20323 Andye, please verify
20325 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
20327 * gst/gstutils.c: (gst_element_link_pads):
20328 fix a bug in the case where neither element has a pad
20329 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
20330 add a test for that case
20332 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
20334 * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
20335 emit have-data before checking for peers. This allows
20336 for probe handlers to connect elements. This helps autopluggers.
20337 * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
20339 add six checks, linked/unlinked with no/true/false probe
20341 2005-10-04 Wim Taymans <wim@fluendo.com>
20343 * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
20344 (gst_fake_sink_event), (gst_fake_sink_preroll),
20345 (gst_fake_sink_render), (gst_fake_sink_change_state):
20346 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
20347 (gst_fake_src_get_property), (gst_fake_src_create),
20348 (gst_fake_src_stop):
20349 * gst/elements/gstidentity.c: (gst_identity_stop):
20350 Protect last_message with lock.
20352 2005-10-04 Edward Hervey <edward@fluendo.com>
20355 Added precision in the comments for GST_FORMAT_DEFAULT
20357 2005-10-04 Tim-Philipp Müller <tim at centricular dot net>
20359 * tools/gst-launch.c: (main):
20360 Don't try to run erroneous pipelines.
20362 2005-10-04 Julien MOUTTE <julien@moutte.net>
20364 * gst/gstbus.c: We don't need this header.
20366 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
20369 back to development
20371 === release 0.9.3 ===
20373 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
20377 Releasing 0.9.3, "Unregistered"
20379 2005-10-03 Andy Wingo <wingo@pobox.com>
20381 * gst/gstpad.c (gst_pad_activate_push): There is a race condition
20382 whereby calling a pad's activatepush() function can start a thread
20383 that starts to push or pull before the pad gets the FLUSHING flag
20384 unset. Hack around it by holding the stream lock until the flag is
20385 set. Need to replace this with a proper solution. Together with
20386 the ghost pad fixes, this fixes mp3 playing/tagreading.
20388 * docs/design/part-gstghostpad.txt: Add a note about activation of
20389 proxy pads outside of ghost pads.
20391 * gst/gstghostpad.c: Implement the ghost pad activation design.
20393 2005-10-02 Andy Wingo <wingo@pobox.com>
20395 * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
20396 It is volatile, after all.
20398 * docs/design/part-gstghostpad.txt: Flesh out activation with
20401 * gst/base/gstbasesrc.c (gst_base_src_init): Use
20404 2005-10-02 Tim-Philipp Müller <tim at centricular dot net>
20407 Fix (unused) AM_CONDITIONAL tests.
20409 2005-10-01 Alessandro Decina <alessandro at nnva dot org>
20411 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
20413 * gst/gstutils.c: (gst_pad_query_convert):
20414 Add assertion that makes sure src_val is >=0, just like
20415 gst_query_new_convert() has. (#315895)
20417 2005-09-30 Edward Hervey <edward@fluendo.com>
20419 * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
20420 Let's not iterate pads we're not interested in, it avoids getting
20421 sky-high refcounts on sinkpad.
20423 2005-09-30 Wim Taymans <wim@fluendo.com>
20425 * gst/gstelement.c: (gst_element_set_state),
20426 (gst_element_change_state):
20427 Small tweak, element in ASYNC remains ASYNC.
20429 2005-09-30 Wim Taymans <wim@fluendo.com>
20431 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
20432 Only error is an error.
20434 * gst/gstbin.c: (gst_bin_change_state):
20437 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
20438 Also call pad_block in pad alloc.
20440 * gst/gstutils.c: (gst_flow_get_name):
20443 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
20445 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
20446 (gst_base_src_get_range):
20447 Fix documentation typos. Add some more debug info.
20449 2005-09-29 David Schleef <ds@schleef.org>
20451 * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
20452 more end-user friendly.
20453 * tools/gst-inspect.c: (main): Check if command-line argument is
20454 a file and attempt to load that file as a plugin.
20456 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
20458 * check/gst/gstbin.c:
20459 * check/states/sinks.c:
20460 fix tests for the new warning
20461 * check/gst/gstpipeline.c:
20462 add a test for pipeline and bus interaction
20463 * gst/gstelement.c:
20464 elements should be NULL if they get disposed; add a warning if not
20466 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
20469 for 2.6 refcounting, make debug log more correct by printing
20470 the actual refcounts at the time of swap (Wim)
20472 2005-09-29 Andy Wingo <wingo@pobox.com>
20474 * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
20475 removes signal watches previously added via
20476 gst_bus_add_signal_watch.
20477 (gst_bus_add_signal_watch): Don't return the source id, just store
20478 it on the bus if there wasn't an id already.
20480 * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
20481 add_signal_watch and remove_signal_watch.
20483 2005-09-29 Edward Hervey <edward@fluendo.com>
20485 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
20486 Better if we actually iterate the list :)
20488 2005-09-29 Wim Taymans <wim@fluendo.com>
20490 * check/gst/gstbin.c: (GST_START_TEST):
20491 Change for new bus API.
20493 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
20494 (send_messages), (GST_START_TEST), (gstbus_suite):
20495 Change for new bus signal API.
20497 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
20498 (gst_bus_source_prepare), (gst_bus_source_check),
20499 (gst_bus_create_watch), (gst_bus_add_watch_full),
20500 (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
20501 (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
20503 Remove support for multiple GSources operating on different
20504 message types as it is too complex and unneeded when using
20506 Added support for receiving signals from the bus.
20508 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
20510 * docs/libs/tmpl/gstdataprotocol.sgml:
20511 * docs/manual/advanced-dataaccess.xml:
20512 * gst/elements/gstcapsfilter.c:
20514 rename filter-caps to caps property
20516 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
20518 * gst/gstvalue.c: (gst_value_deserialize_fraction):
20519 More robust fraction string parsing.
20521 * docs/pwg/appendix-porting.xml:
20522 Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
20524 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
20526 * gst/gstcaps.c: (gst_caps_do_simplify):
20527 Thou shalt not free a structure and then continue using it
20528 in the next loop iteration.
20530 * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
20532 Add test case for caps simplification.
20534 2005-09-29 Wim Taymans <wim@fluendo.com>
20536 * check/gst/gstbin.c: (GST_START_TEST):
20539 2005-09-29 Wim Taymans <wim@fluendo.com>
20541 * check/gst/gstbin.c: (GST_START_TEST):
20544 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
20545 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
20546 (find_element), (gst_bin_sort_iterator_next),
20547 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
20548 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
20549 (gst_bin_change_state), (gst_bin_dispose):
20550 A bin does not have a bus, it gets the bus from the parent.
20552 * gst/gstelement.c: (gst_element_requires_clock),
20553 (gst_element_provides_clock), (gst_element_is_indexable),
20554 (gst_element_is_locked_state), (gst_element_change_state),
20555 (gst_element_set_bus_func):
20558 * gst/gstpipeline.c: (gst_pipeline_class_init),
20559 (gst_pipeline_init), (gst_pipeline_provide_clock_func):
20560 The pipeline provides a bus.
20562 2005-09-28 Johan Dahlin <johan@gnome.org>
20564 * gst/gstmessage.c (gst_message_parse_state_changed): Use
20565 gst_structure_get_enum instead of gst_structure_get_int
20567 * gst/gststructure.c (gst_structure_get_enum): Impl.
20569 * gst/gststructure.h (gst_structure_get_enum): Add
20571 * docs/gst/gstreamer-sections.txt: Ditto
20573 * gst/gstmessage.c (gst_message_new_state_changed): Use
20574 GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
20575 which does introspection.
20576 Reviewed by Christian Schaller
20578 2005-09-28 Stefan Kost <ensonic@users.sf.net>
20580 * gst/gstinfo.c: (gst_debug_log_default):
20581 don't do dummy g_strdup()s
20582 * libs/gst/controller/gstcontroller.c:
20583 (on_object_controlled_property_changed),
20584 (gst_controlled_property_new), (gst_controller_new_valist),
20585 (gst_controller_new_list),
20586 (gst_controller_remove_properties_valist), (gst_controller_set),
20587 (gst_controller_get), (gst_controller_sync_values),
20588 (gst_controller_get_value_array), (_gst_controller_class_init),
20589 (gst_controller_get_type):
20590 * libs/gst/controller/gstcontroller.h:
20591 * libs/gst/controller/gstinterpolation.c:
20592 (gst_controlled_property_find_timed_value_node):
20593 convert // to /**/ comments
20595 2005-09-28 Wim Taymans <wim@fluendo.com>
20597 * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
20598 (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
20599 (gst_bus_sync_signal_handler):
20601 Added async-message and sync-message signals to the bus.
20602 Added helper BusFunc to emit signals for all posted messages.
20604 * gst/gstmessage.c: (gst_message_type_get_name),
20605 (gst_message_type_to_quark), (gst_message_get_type):
20606 * gst/gstmessage.h:
20607 Register quarks for message names.
20609 2005-09-28 Stefan Kost <ensonic@users.sf.net>
20611 * docs/libs/gstreamer-libs-sections.txt:
20612 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
20613 (gst_controller_new_list):
20614 * libs/gst/controller/gstcontroller.h:
20615 added another constructor for language bindings
20617 2005-09-28 Thomas Vander Stichele <thomas at apestaart dot org>
20619 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
20623 * gst/gstinfo.c: (_gst_debug_init):
20624 slightly more readable color for refcount debugging
20626 2005-09-28 Wim Taymans <wim@fluendo.com>
20628 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
20629 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
20630 (find_element), (gst_bin_sort_iterator_next),
20631 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
20632 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
20633 (gst_bin_change_state), (gst_bin_dispose):
20634 Small doc fixes. get_clock -> provide_clock.
20636 * gst/gstelement.c: (gst_element_class_init),
20637 (gst_element_provides_clock), (gst_element_provide_clock),
20638 (gst_element_get_clock), (gst_element_commit_state),
20639 (gst_element_lost_state):
20640 * gst/gstelement.h:
20641 Make get/set_clock() symetric. Add provide_clock vmethod since
20642 that is actually what this function does.
20644 * gst/gstpipeline.c: (gst_pipeline_class_init),
20645 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
20646 (gst_pipeline_get_clock):
20647 get_clock -> provide_clock.
20649 2005-09-28 Andy Wingo <wingo@pobox.com>
20651 * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
20652 lieu of real docs...
20654 * gst/elements/gstfdsrc.c: Cleaned up a bit.
20656 2005-09-28 Tim-Philipp Müller <tim at centricular dot net>
20658 * gst/elements/gstcapsfilter.c:
20659 * gst/elements/gstfakesink.c:
20660 * gst/elements/gstfakesrc.c:
20661 * gst/elements/gstfdsink.c:
20662 * gst/elements/gstfdsrc.c:
20663 * gst/elements/gstfilesink.c:
20664 * gst/elements/gstfilesrc.c:
20665 * gst/elements/gstidentity.c:
20666 * gst/elements/gsttee.c:
20667 * gst/elements/gsttypefindelement.c:
20668 Make element details static.
20670 2005-09-28 Wim Taymans <wim@fluendo.com>
20672 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
20673 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
20674 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
20675 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
20676 (gst_bin_change_state), (gst_bin_dispose):
20677 Some documentation updates.
20678 Clean up dispose handlers.
20680 * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
20681 * gst/gstpad.c: (gst_pad_dispose):
20682 Clean up dispose handler.
20684 * gst/gstpipeline.c: (gst_pipeline_change_state):
20685 Removed spurious UNLOCK.
20687 2005-09-27 Stefan Kost <ensonic@users.sf.net>
20689 * docs/gst/gstreamer-sections.txt:
20690 * gst/base/gstbasesrc.h:
20691 * gst/gstelement.h:
20695 * gst/gstpipeline.c:
20696 * gst/gstpipeline.h:
20699 added two new functions to the docs
20700 documents all undocumented GstXXXFlags
20701 completed some incomplete docs
20703 2005-09-27 Thomas Vander Stichele <thomas at apestaart dot org>
20705 * gst/gstbin.c: (gst_bin_dispose):
20706 * gst/gstelement.c: (gst_element_dispose):
20707 remove now useless and leaky resurrection code in dispose
20708 * gst/base/gstbasesrc.c: (gst_base_src_init):
20709 * gst/gstelementfactory.c: (gst_element_factory_create):
20710 * gst/gstobject.c: (gst_object_set_parent):
20713 2005-09-27 Wim Taymans <wim@fluendo.com>
20715 * docs/design/part-TODO.txt:
20718 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
20719 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
20720 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
20721 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
20722 (gst_bin_change_state):
20723 * gst/gstelement.h:
20724 Remove element variable, we keep element info in the iterator now.
20726 2005-09-27 Andy Wingo <wingo@pobox.com>
20728 * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
20731 2005-09-27 Wim Taymans <wim@fluendo.com>
20733 * check/gst/gstbin.c: (GST_START_TEST):
20734 Enable check that works now.
20736 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
20737 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
20738 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
20739 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
20740 (gst_bin_change_state):
20742 Redid the state change algorithm using a topological sort algo.
20743 Handles all cases correctly.
20744 Exposed iterator for state change order.
20746 * gst/gstelement.h:
20747 Temp storage for state changes. Need to get rid of this soon.
20749 2005-09-27 Wim Taymans <wim@fluendo.com>
20751 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
20752 * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
20753 (link_fold_func), (gst_pad_proxy_setcaps):
20754 Leak fixes, the fold functions need to unref the passed object and
20755 _get_parent_*() returns ref to parent.
20757 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
20759 * check/gst/gstbuffer.c: (test_make_writable):
20760 Plug leak in test case and fix 'make check-valgrind'
20762 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
20764 * gst/gstbuffer.c: (gst_subbuffer_init):
20765 Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
20766 works correctly in all circumstances (we could have just copied
20767 the parent buffer's readonly flag, but conceptually it seems
20768 cleaner to mark all subbuffers as read-only). (based on patch
20769 by Alessandro Decina, #314710).
20771 * check/gst/gstbuffer.c: (create_read_only_buffer),
20772 (test_make_writable), (test_subbuffer_make_writable),
20774 Add some tests for gst_buffer_make_writable().
20776 2005-09-27 Wim Taymans <wim@fluendo.com>
20778 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
20779 use gst_object_has_ancestor().
20781 * gst/gstobject.c: (gst_object_has_ancestor):
20783 gst_object_has_ancestor() copied from gstbin.c as it is a
20786 * tests/instantiate/create.c: (create_all_elements):
20787 * tests/lat.c: (handoff_src), (handoff_sink):
20788 * tests/sched/runxml.c: (main):
20789 * tests/seeking/seeking1.c: (main):
20790 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
20792 Fix compilation of some tests.
20794 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
20797 Remove comment. GST_TYPE_G_ERROR is here to stay,
20798 G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
20799 (#316961, #300610).
20801 2005-09-26 Wim Taymans <wim@fluendo.com>
20803 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
20804 Added check that shows error in state change order.
20806 2005-09-26 Wim Taymans <wim@fluendo.com>
20808 * gst/gstbin.c: (gst_bin_change_state):
20809 Make state change function use 3 queues again, we were
20810 adding elements in the wrong order.
20812 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
20815 * gst/gstpad.c: (gst_pad_dispose):
20816 Added some debug info first.
20818 2005-09-26 Tim-Philipp Müller <tim at centricular dot net>
20820 * docs/design/draft-push-pull.txt:
20821 * docs/design/part-events.txt:
20822 * docs/design/part-overview.txt:
20823 * docs/design/part-scheduling.txt:
20824 Replace all _pull_region() with _pull_range()
20826 2005-09-26 Andy Wingo <wingo@pobox.com>
20828 * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
20830 * check/gst-libs/controller.c: Update for controller api change.
20833 * tests/Makefile.am:
20834 * tests/memchunk: Remove memchunk benchmark stuff, this is taken
20835 over by GLib bug 118439.
20837 * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
20838 routines to a function.
20840 * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
20842 * libs/gst/controller/gsthelper.c:
20843 * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
20844 (gst_object_sync_values): Renamed from sink_values. Ugh.
20846 * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
20848 * libs/gst/controller/gstcontroller.c (__gst_controller_key):
20849 Renamed from controller_key, as it is exported.
20851 * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
20853 2005-09-26 Thomas Vander Stichele <thomas at apestaart dot org>
20858 * gst/gstpadtemplate.h:
20861 * gst/gstqueryutils.c:
20862 * gst/gstqueryutils.h:
20863 remove queryutils headers after moving the two used functions
20864 to gstquery. also fixes build problem for gstsiddec
20866 2005-09-26 Michael Smith <msmith@fluendo.com>
20868 * tools/gst-launch.1.in:
20869 Correct documentation in manpage of debug syntax
20871 2005-09-26 Wim Taymans <wim@fluendo.com>
20873 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
20874 (gst_base_src_is_seekable), (gst_base_src_change_state):
20875 Some more debugging info.
20877 2005-09-25 Stefan Kost <ensonic@users.sf.net>
20879 * docs/gst/gstreamer-sections.txt:
20880 * gst/base/gstbasetransform.h:
20884 2005-09-25 Stefan Kost <ensonic@users.sf.net>
20886 * docs/gst/.cvsignore:
20887 * docs/gst/tmpl/.cvsignore:
20888 * docs/gst/tmpl/gstpipeline.sgml:
20889 * docs/gst/tmpl/gstplugin.sgml:
20890 * gst/gstpipeline.c:
20893 inlined the last two docs files
20894 removed the tmpl directory from cvs (no more conflicts here!)
20896 2005-09-25 Stefan Kost <ensonic@users.sf.net>
20898 * docs/gst/gstreamer-sections.txt:
20899 * docs/gst/tmpl/.cvsignore:
20900 * docs/gst/tmpl/gstpad.sgml:
20901 * docs/gst/tmpl/gstpadtemplate.sgml:
20903 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
20904 (gst_pad_finalize), (gst_pad_set_pad_template):
20906 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
20907 (gst_pad_template_class_init), (gst_pad_template_init),
20908 (gst_pad_template_dispose), (name_is_valid),
20909 (gst_static_pad_template_get), (gst_pad_template_new),
20910 (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
20911 (gst_pad_template_pad_created):
20912 * gst/gstpadtemplate.h:
20913 inlined two more docs
20914 factored gstpadtemplate out of gstpad
20916 2005-09-24 Tim-Philipp Müller <tim at centricular dot net>
20918 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
20919 (test_children_state_change_order_semi_sink):
20920 Fix test case: we can't rely on a fixed state change order when
20921 going from READY => PAUSED because the sink might commit its
20922 new state first when the first buffer created by the source
20923 reaches the sink before the source has finished its change state.
20924 (Test case still fails at times, see #316856, comment 5 onwards)
20926 2005-09-24 Wim Taymans <wim@fluendo.com>
20928 * docs/design/part-events.txt:
20929 * docs/design/part-gstbus.txt:
20930 * docs/design/part-gstpipeline.txt:
20931 * docs/design/part-messages.txt:
20932 * docs/design/part-overview.txt:
20933 * docs/design/part-segments.txt:
20937 * gst/gstelement.c:
20940 * gst/gstiterator.c:
20941 Various documentation updates.
20943 2005-09-24 Thomas Vander Stichele <thomas at apestaart dot org>
20946 Well, that's embarassing. Luckily we weren't using
20947 GST_CLOCK_DIFF anywhere.
20949 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
20951 * common/gtk-doc.mak:
20952 don't fail on building XML, FC4 slave shows a bunch of doc
20953 missing bits that I don't get
20955 * gst/gstpipeline.c:
20956 * gst/gststructure.c:
20959 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
20961 * docs/design/part-gstbin.txt:
20962 * docs/design/part-gstbus.txt:
20964 Add blurb about how the bus goes into flushing mode and
20965 drops all messages when its bin goes from READY into NULL
20968 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
20970 * docs/gst/gstreamer-sections.txt:
20971 * gst/gststructure.c: (gst_structure_get_clock_time):
20972 * gst/gststructure.h:
20973 add a method to get a GstClockTime out of a structure
20975 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
20977 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
20978 (test_children_state_change_order_semi_sink), (gst_bin_suite):
20979 Added test to check state change order in bins (can still be made
20980 to fail here under heavy disk load; bails out with 'Push on pad
20981 fakesink:sink0, but it was not activated in push mode').
20983 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
20984 Fix state change order when there is only a semi sink (#316856)
20986 * gst/gstbus.c: (gst_bus_class_init):
20987 Use _class_peek_parent(), not _class_ref(); fix docs to say
20988 'default main context' instead of 'mainloop' where that is
20991 * gst/gstelement.c: (gst_element_commit_state),
20992 (gst_element_set_state):
20993 Fix typos in debug messages
20995 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
20998 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
20999 * gst/gstpluginfeature.c:
21001 various doc updates
21002 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
21003 change an assert into an error until it gets fixed properly
21005 2005-09-23 Stefan Kost <ensonic@users.sf.net>
21007 * docs/gst/gstreamer-sections.txt:
21008 * docs/gst/tmpl/.cvsignore:
21009 * docs/gst/tmpl/gstelement.sgml:
21010 * docs/gst/tmpl/gstinfo.sgml:
21011 * docs/gst/tmpl/gstobject.sgml:
21012 * gst/gstelement.c:
21013 * gst/gstelement.h:
21016 * gst/gstobject.c: (gst_object_class_init):
21018 inlined 3 more biiiig doc files and added some missing docs on the fly
21020 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
21022 * check/gst/.cvsignore:
21023 * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
21024 * gst/gstregistryxml.c: (load_plugin),
21025 (gst_registry_xml_save_plugin):
21026 put back source in registry. add checks for find_plugin.
21027 * testsuite/states/bin.c: (assert_state), (empty_bin),
21028 (test_adding_one_element), (main):
21029 * testsuite/states/locked.c: (main):
21030 some compile/run fixes
21032 2005-09-22 Thomas Vander Stichele <thomas at apestaart dot org>
21034 * check/gst/gstvalue.c: (GST_START_TEST):
21035 fix leaks in the test itself
21037 2005-09-22 Wim Taymans <wim@fluendo.com>
21039 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
21040 (gst_base_sink_send_event), (gst_base_sink_peer_query),
21041 (gst_base_sink_query):
21042 Prepare for more accurate position reporting and query
21045 * gst/gstelement.c: (gst_element_send_event),
21046 (gst_element_set_state):
21049 2005-09-22 Wim Taymans <wim@fluendo.com>
21051 * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
21052 (gst_query_parse_segment):
21054 More documentation.
21055 Add segment query for future use.
21057 2005-09-22 Wim Taymans <wim@fluendo.com>
21059 * gst/gstbin.c: (gst_bin_add_func):
21060 Some more debug info.
21062 * gst/gstelement.c: (gst_element_send_event):
21063 Simplify send_event
21065 * gst/gstelement.h:
21066 Don't know how flags got broken.
21071 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
21073 * check/gst/gstvalue.c: (test_date), (gst_value_suite):
21074 Add simplistic test suite for GST_TYPE_DATE serialisation and
21077 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
21079 * docs/gst/gstreamer-sections.txt:
21080 * gst/gststructure.c: (gst_structure_set_valist),
21081 (gst_structure_get_date):
21082 * gst/gststructure.h:
21083 * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
21084 (gst_date_copy), (gst_value_compare_date),
21085 (gst_value_serialize_date), (gst_value_deserialize_date),
21086 (gst_value_transform_date_string),
21087 (gst_value_transform_string_date), (_gst_value_initialize):
21089 Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
21090 bunch of utility functions along with a hack that checks that
21091 developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
21092 is required. Part of the grand scheme in #170777.
21094 2005-09-22 Andy Wingo <wingo@pobox.com>
21096 * gst/gstconfig.h.in: Psych out gtk-doc.
21098 * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
21100 * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
21102 * tools/gst-inspect.c (print_element_list): Plug some
21103 inconsequential leaks.
21105 * gst/gstregistry.c (gst_registry_get_default): Doc.
21107 * check/gst/gstplugin.c:
21108 * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
21109 * gst/gstelementfactory.c (gst_element_factory_create):
21110 * gst/gstindexfactory.c (gst_index_factory_create): Update for
21113 * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
21114 (gst_plugin_feature_load): Doc, don't eat refs.
21116 * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
21117 (gst_plugin_list_free): Doc.
21118 (gst_plugin_load_file): Doc updates.
21120 * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
21121 accessors returning refcounted objects, return a ref.
21123 * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
21124 accessor for caps. IDEMPOTENCE. Oh yes.
21126 2005-09-21 Francis Labonte <francis_labonte at hotmail dot com>
21128 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
21130 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
21131 (_gst_debug_register_funcptr):
21132 Add mutex to serialise access to the hash table with
21133 the function pointer => function name string mapping;
21134 make that hash table static scope (#316809).
21136 * gst/registries/.cvsignore:
21137 Remove left-over file.
21139 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
21141 * docs/pwg/appendix-porting.xml:
21142 And something about newsegment events and caps-on-buffers to
21143 the porting guide (feel free to improve).
21145 2005-09-21 Andy Wingo <wingo@pobox.com>
21147 * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
21148 data and event probes on the same pad.
21149 (test_buffer_probe_once): Test that removing probes from within
21150 the probe functions works.
21152 2005-09-21 Andy Wingo <wingo@pobox.com>
21154 * check/gst/gstutils.c: New file.
21155 (test_buffer_probe_n_times): A simple buffer probe test. More to
21158 * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
21159 have-data::buffer, not have-data.
21160 (gst_pad_add_event_probe): Likewise for have-data::event.
21161 (gst_pad_add_data_probe): More docs. The part about 'resolving the
21162 peer' isn't quite right yet though.
21163 (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe)
21164 (gst_pad_remove_data_probe): Change to take the guint handler_id
21165 as their arg, not the function+data, which is more glib-like.
21167 * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
21168 the signal emission to indicate if the data is a buffer or an
21170 (gst_pad_get_type): Initialize buffer and event quarks.
21171 (gst_pad_class_init): have-data is now a detailed signal, yes it
21174 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
21176 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
21177 * gst/gstutils.c: (gst_util_set_value_from_string),
21178 (gst_util_set_object_arg):
21179 Don't put functional code in g_return_if_fail() or
21180 g_return_val_if_fail() statements, otherwise things will
21181 break when G_DISABLE_CHECKS is defined during compilation.
21183 2005-09-21 Stefan Kost <ensonic@users.sf.net>
21185 * docs/gst/tmpl/.cvsignore:
21186 * docs/gst/tmpl/gstvalue.sgml:
21189 inlied another one and added some obvious docs
21191 2005-09-21 Wim Taymans <wim@fluendo.com>
21193 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
21194 (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
21195 (gst_fdsrc_unlock), (gst_fdsrc_set_property),
21196 (gst_fdsrc_get_property), (gst_fdsrc_create):
21197 * gst/elements/gstfdsrc.h:
21198 Properly implement fdsrc. Removed signal and timeout,
21199 better implemented somewhere else.
21201 2005-09-21 Stefan Kost <ensonic@users.sf.net>
21203 * docs/gst/tmpl/.cvsignore:
21204 * docs/gst/tmpl/gstimplementsinterface.sgml:
21205 * gst/gstinterface.c:
21208 2005-09-21 Stefan Kost <ensonic@users.sf.net>
21210 * docs/gst/gstreamer-sections.txt:
21211 * docs/gst/tmpl/.cvsignore:
21212 * docs/gst/tmpl/gstenumtypes.sgml:
21213 remove obsolete doc file
21215 2005-09-21 David Schleef <ds@schleef.org>
21217 * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
21218 little beer, fix a little leak.
21220 2005-09-21 Stefan Kost <ensonic@users.sf.net>
21222 * docs/gst/gstreamer-docs.sgml:
21223 * docs/gst/gstreamer-sections.txt:
21224 * docs/gst/tmpl/.cvsignore:
21228 * gst/gstelement.h:
21229 * gst/gstindex.c: (gst_index_class_init):
21231 * gst/gstindexfactory.c: (gst_index_factory_get_type),
21232 (gst_index_factory_class_init), (gst_index_factory_init),
21233 (gst_index_factory_finalize), (gst_index_factory_new),
21234 (gst_index_factory_destroy), (gst_index_factory_find),
21235 (gst_index_factory_create), (gst_index_factory_make):
21236 * gst/gstindexfactory.h:
21237 * gst/gstpluginfeature.c:
21238 * gst/gstpluginfeature.h:
21239 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
21240 more docs inlined, splitted gstindex.{c,h}
21242 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
21244 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
21247 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
21249 * gst/elements/gstfilesink.c: (gst_file_sink_init):
21250 Set sync to FALSE by default.
21252 2005-09-20 Wim Taymans <wim@fluendo.com>
21254 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
21255 (gst_base_sink_init):
21256 Make sync property settable from subclass.
21258 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
21259 (gst_fake_sink_change_state):
21260 Set sync to FALSE by default.
21262 2005-09-20 Wim Taymans <wim@fluendo.com>
21264 * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
21265 * tools/gst-launch.c: (main):
21266 The timeout handler should have lower priority than the source
21267 so we don't timeout before popping a message with 0 timeout.
21268 Dump error messages after failed state change.
21270 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
21272 * tools/gst-inspect.c: (print_element_properties_info):
21275 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
21277 * check/gst/gstevent.c:
21278 * gst/elements/gstfakesink.c:
21279 * gst/elements/gstfakesink.h:
21280 remove the sync property from fakesink.
21281 has the side effect of setting sync TRUE
21282 for fakesink, which is a change. Anyone who knows how
21283 to fix this nicely in a GObject-y way, feel free.
21285 2005-09-20 Stefan Kost <ensonic@users.sf.net>
21287 * docs/gst/gstreamer-docs.sgml:
21288 remove probe refsection
21290 2005-09-20 Stefan Kost <ensonic@users.sf.net>
21292 * check/Makefile.am:
21293 disable valgrinding the controller test again
21294 * docs/gst/gstreamer-sections.txt:
21295 update for api-changes
21297 2005-09-20 Wim Taymans <wim@fluendo.com>
21299 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
21300 (gst_base_sink_set_property), (gst_base_sink_get_property),
21301 (gst_base_sink_do_sync):
21302 * gst/base/gstbasesink.h:
21303 Added sync property to basesink to disable clock sync.
21305 2005-09-20 Andy Wingo <wingo@pobox.com>
21307 * gst/gstelementfactory.c (gst_element_factory_create): Avoid
21308 eating the caller's refcount.
21310 * gst/gstobject.h (GST_OBJECT_REFCOUNT)
21311 (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
21314 * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
21315 * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
21316 of GLib 2.8 public, so we can know which refcount to check in
21319 * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
21320 (gst_object_init): Only set the gst refcount if we're going ahead
21321 with the refcount hack.
21323 2005-09-20 Stefan Kost <ensonic@users.sf.net>
21325 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
21326 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
21327 more leaks plumbed, added more debug-logging
21331 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
21333 * gst/gstmessage.c:
21334 remove include of gstmemchunk.h
21336 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
21338 * gst/gstclock.c: (_gst_clock_id_free):
21339 Commit from the Political Party For More Atomic CVS Commits,
21340 so that people don't waste too much of their day fishing
21341 out obvious leaks out of massive commits.
21342 Oh, and fix a pretty damn obvious leak in the memchunk
21345 2005-09-20 Stefan Kost <ensonic@users.sf.net>
21347 * check/Makefile.am:
21348 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
21349 plug mem-leak, re-add to valgrindable tests
21351 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
21354 unbreak the build for those who have chronic arthritis
21355 and typing "make check" is just too taxing on the hands
21357 2005-09-20 Andy Wingo <wingo@pobox.com>
21359 * gst/gst.h: Re-add marshal to gst.h's include list -- if we
21360 really want it out, you should fix plugins at the same time.
21362 2005-09-19 Stefan Kost <ensonic@users.sf.net>
21365 * docs/gst/gstreamer-sections.txt:
21367 added missing symbols to api docs
21368 disable ref-count hack if we have glib >= 2.8
21370 2005-09-19 David Schleef <ds@schleef.org>
21372 * docs/gst/Makefile.am: Ignore a few more internal headers
21373 * docs/gst/gstreamer-docs.sgml: Remove old sections
21374 * docs/gst/gstreamer-sections.txt: Remove old sections
21375 * docs/gst/tmpl/gstobject.sgml: update
21376 * docs/gst/tmpl/gstplugin.sgml: update
21377 * docs/gst/tmpl/gstpluginfeature.sgml: update
21378 * docs/random/ds/0.9-suggested-changes: update.
21379 * gst/Makefile.am: remove memchunk and trashstack, since they're
21381 * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
21382 * gst/gst.h: don't include some headers
21383 * gst/gstchildproxy.c: add gstmarshal.h
21384 * gst/gstclock.c: Don't use memchunks
21385 * gst/gstminiobject.c: Add some docs
21386 * gst/gstobject.c: remove DESTROYED flag, since it's redundant
21387 * gst/gstobject.h: same
21388 * gst/gstplugin.c: include gstmacros.h
21389 * gst/gstplugin.h: don't include gstmacros.h, since it's private
21390 * gst/gstquery.c: don't use memchunks
21391 * gst/gstregistry.c: rename gst_registry_deinit()
21392 * gst/gstregistry.h: same
21394 2005-09-19 David Schleef <ds@schleef.org>
21396 * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
21397 * docs/libs/gstreamer-libs-sections.txt:
21398 * docs/libs/tmpl/gstgetbits.sgml:
21399 * docs/libs/tmpl/gstputbits.sgml:
21401 2005-09-19 Tim-Philipp Müller <tim at centricular dot net>
21403 * win32/gstenumtypes.c:
21404 * win32/gstenumtypes.h:
21407 2005-09-19 Wim Taymans <wim@fluendo.com>
21409 * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
21410 Automatically PAUSE and RESUME a pipeline when a flushing seek
21413 2005-09-19 Andy Wingo <wingo@pobox.com>
21415 * gst/gstregistry.h: Spacing fixen.
21417 2005-09-19 Wim Taymans <wim@fluendo.com>
21419 * gst/base/gstbasesrc.c: (gst_base_src_change_state):
21420 Handle state change failure more correctly.
21422 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
21424 * check/Makefile.am:
21425 * check/pipelines/cleanup.c: (run_pipeline):
21426 * check/pipelines/simple_launch_lines.c: (run_pipeline),
21428 enable cleanup again after fixing the leak
21430 some more info on docs
21432 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
21434 * check/Makefile.am:
21435 re-enable tests now that leaks are plugged
21437 * check/gst/gstbin.c:
21438 * check/gst/gstpipeline.c:
21439 add some more tests while fixing leaks
21440 * common/check.mak:
21441 make sure binaries are uptodate when valgrinding/gdbing
21443 * gst/gstelementfactory.c:
21444 remove a ref too many, and add a FIXME for when we get
21445 round to disposing of classes
21447 fix the refcounting when loading a plugin from a file and
21448 the code pretends that the pointer is the same even though
21449 of course it can change
21450 * gst/gstpluginfeature.c:
21451 unref plugins marked cached (a bit confusing as a name)
21452 as the docs state should be done
21453 various doc additions to explain refcounting
21454 * gst/gstregistry.c:
21455 * gst/gstregistryxml.c:
21458 2005-09-19 Wim Taymans <wim@fluendo.com>
21460 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
21461 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
21462 (send_messages), (GST_START_TEST), (gstbus_suite):
21463 * check/gst/gstpipeline.c: (GST_START_TEST):
21464 * check/pipelines/cleanup.c: (run_pipeline):
21465 * check/pipelines/simple_launch_lines.c: (run_pipeline),
21467 * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
21468 (gst_bus_source_check), (gst_bus_source_dispatch),
21469 (gst_bus_create_watch), (gst_bus_add_watch_full),
21470 (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
21472 * tools/gst-launch.c: (event_loop):
21473 * tools/gst-md5sum.c: (event_loop):
21474 GstBusHandler -> GstBusFunc, return value has the same meaning as
21475 any other GSource (FALSE == remove source).
21476 _add_watch() and _add_watch_full() now take a MessageType mask to
21477 only handle specific types of messages.
21478 _poll() returns the GstMessage instead of the message type to avoid
21480 _have_pending() takes a MessageType mask now too.
21481 Added testsuite for multiple bus watches.
21482 Fix testsuites and applications for new bus API.
21484 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
21486 * check/Makefile.am:
21487 mark a bunch of the tests as to fix until we fix them
21489 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
21491 * common/check.mak:
21492 use GST_PLUGIN settings for valgrind tests as well, so we're
21493 valgrinding the correct thing
21494 * gst/gst.c: (init_post):
21497 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
21499 * gst/gst.c: (init_post), (gst_deinit):
21500 * gst/gstelementfactory.c: (gst_element_factory_class_init),
21501 (gst_element_factory_finalize), (gst_element_factory_cleanup):
21502 * gst/gstindex.c: (gst_index_factory_class_init),
21503 (gst_index_factory_finalize):
21504 * gst/gstobject.c: (gst_object_dispose):
21505 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
21506 (gst_plugin_load_file), (gst_plugin_desc_free):
21507 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
21508 (gst_plugin_feature_finalize):
21509 * gst/gstregistry.c: (gst_registry_class_init),
21510 (gst_registry_init), (gst_registry_finalize),
21511 (gst_registry_get_default), (gst_registry_deinit):
21512 * gst/gstregistry.h:
21513 * gst/gstregistryxml.c: (load_feature), (load_plugin):
21514 various cleanups and memleak plugging. make valgrind is happy now.
21516 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
21518 * common/check.mak:
21519 add a check-valgrind target
21521 2005-09-18 David Schleef <ds@schleef.org>
21523 * tools/gst-inspect.c: Revert the GOption code.
21525 2005-09-17 David Schleef <ds@schleef.org>
21527 * check/Makefile.am: Fix environment variables.
21528 * check/gst/gstplugin.c: Fix for API changes.
21529 * tools/gst-inspect.c: Fix for API changes.
21530 * tools/gst-xmlinspect.c: Fix for API changes.
21531 * gst/gstelementfactory.c:
21534 * gst/gstpluginfeature.c:
21535 * gst/gstpluginfeature.h:
21536 * gst/gstregistry.c:
21537 * gst/gstregistry.h:
21538 * gst/gstregistryxml.c:
21539 * gst/gsttypefind.c:
21540 * gst/gsttypefindfactory.c:
21541 * gst/indexers/gstfileindex.c:
21542 * gst/indexers/gstmemindex.c:
21543 * gst/schedulers/Makefile.am:
21544 Change registry to keep track of both plugins and features,
21545 removing the feature tracking from plugins themselves.
21547 2005-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
21549 * check/Makefile.am:
21550 * tools/gst-register.1.in:
21551 remove gst-register
21553 2005-09-15 David Schleef <ds@schleef.org>
21555 * check/gst/gstplugin.c:
21556 * gst/gstelementfactory.c:
21558 * gst/gstpluginfeature.c:
21559 * gst/gstregistry.c:
21560 Getting tired of debugging. Disabled all the unreffing of
21561 plugins and features, which fixes the segfaults, but of
21562 course leaks like crazy. At least playbin works.
21564 2005-09-15 David Schleef <ds@schleef.org>
21566 * check/gst/gstplugin.c: (register_check_elements),
21567 (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
21569 * gst/elements/gsttypefindelement.c: Fix refcounting.
21570 * gst/gsttypefind.c:
21571 * gst/gsttypefindfactory.c:
21572 * gst/gsttypefindfactory.h:
21574 2005-09-15 David Schleef <ds@schleef.org>
21576 * gst/gstindex.c: get refcounting correct.
21577 * gst/gstregistry.c: Handle the case where a feature/plugin is
21580 2005-09-15 David Schleef <ds@schleef.org>
21582 * check/Makefile.am:
21583 * check/gst/gstplugin.c: Add test
21584 * gst/gstplugin.c: Fix problems noticed by testsuite
21586 * gst/gstregistry.c:
21587 * gst/gstregistry.h:
21589 2005-09-15 David Schleef <ds@schleef.org>
21591 * gst/gstplugin.c: Implement semi-decent recounting and locking
21592 in plugins and plugin features.
21594 * gst/gstpluginfeature.c:
21595 * gst/gstpluginfeature.h:
21596 * gst/gstregistry.c:
21598 2005-09-15 Michael Smith <msmith@fluendo.com>
21600 * gst/gstregistry.c: (gst_registry_get_feature_list):
21601 Implement this. Makes oggdemux work; decodebin still broken.
21603 2005-09-14 David Schleef <ds@schleef.org>
21605 * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
21607 * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
21608 * gst/check/Makefile.am:
21609 * libs/gst/controller/Makefile.am:
21610 * libs/gst/dataprotocol/Makefile.am:
21612 2005-09-14 David Schleef <ds@schleef.org>
21614 * configure.ac: Remove getbits library. Nothing uses it, and
21615 it should be in something like liboil if someone did want
21617 * libs/gst/Makefile.am:
21618 * libs/gst/getbits/Makefile.am:
21619 * libs/gst/getbits/gbtest.c:
21620 * libs/gst/getbits/getbits.c:
21621 * libs/gst/getbits/getbits.h:
21622 * libs/gst/getbits/gstgetbits_generic.c:
21623 * libs/gst/getbits/gstgetbits_i386.s:
21624 * libs/gst/getbits/gstgetbits_inl.h:
21626 2005-09-14 David Schleef <ds@schleef.org>
21628 * gst/Makefile.am: Dist glib-compat.h
21630 2005-09-14 David Schleef <ds@schleef.org>
21632 * configure.ac: Remove gst/registries, since it's no longer used.
21633 * gst/registries/Makefile.am:
21634 * gst/registries/gstlibxmlregistry.c:
21635 * gst/registries/gstlibxmlregistry.h:
21636 * gst/registries/gstxmlregistry.c:
21637 * gst/registries/gstxmlregistry.h:
21638 * gst/registries/registrytest.c:
21640 2005-09-14 David Schleef <ds@schleef.org>
21642 * gst/glib-compat.h:
21643 * gst/gstregistryxml.c:
21644 Convergence is near. Seriously.
21646 2005-09-14 David Schleef <ds@schleef.org>
21648 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
21649 * gst/glib-compat.h:
21650 Attempt #4 to appease the buildbots.
21652 2005-09-14 David Schleef <ds@schleef.org>
21654 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
21657 2005-09-14 David Schleef <ds@schleef.org>
21659 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
21662 2005-09-14 David Schleef <ds@schleef.org>
21664 * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
21667 2005-09-14 David Schleef <ds@schleef.org>
21669 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
21670 * gst/glib-compat.h: Add some functions that are in newer versions
21671 of glib than we care to require.
21672 * gst/gstregistryxml.c: Use them.
21674 2005-09-14 David Schleef <ds@schleef.org>
21676 * po/POTFILES.in: remove gst-register.c
21678 2005-09-14 David Schleef <ds@schleef.org>
21680 * docs/gst/gstreamer-docs.sgml:
21681 * docs/gst/gstreamer-sections.txt:
21682 * docs/gst/gstreamer.types:
21683 * docs/gst/tmpl/gstelement.sgml:
21684 * docs/gst/tmpl/gstplugin.sgml:
21685 * docs/gst/tmpl/gstpluginfeature.sgml:
21686 Documentation updates for registry changes.
21688 2005-09-14 David Schleef <ds@schleef.org>
21690 * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
21691 because we don't require glib-2.8.
21693 2005-09-14 David Schleef <ds@schleef.org>
21695 * gst/gstregistryxml.c: Added. Essentially moved out of the
21696 registries directory.
21698 2005-09-14 David Schleef <ds@schleef.org>
21700 * check/Makefile.am:
21701 * check/generic/states.c:
21705 * gst/gst_private.h:
21706 * gst/gstelementfactory.c:
21711 * gst/gstpluginfeature.c:
21712 * gst/gstpluginfeature.h:
21713 * gst/gstregistry.c:
21714 * gst/gstregistry.h:
21715 * gst/gstregistrypool.c: remove
21716 * gst/gstregistrypool.h: remove
21717 * gst/gsttypefind.c:
21718 * gst/gsttypefindfactory.c:
21720 * tools/Makefile.am:
21721 * tools/gst-compprep.c:
21722 * tools/gst-inspect.c:
21723 * tools/gst-register.c: remove
21724 * tools/gst-xmlinspect.c:
21725 Registry rewrite. Changes registry from being a file created
21726 by a tool into a simple cache file created automatically by
21727 libgstreamer. Removed gst-register (because it's no longer
21728 needed). Remove registry pools, because we only have one
21729 registry implementation (XML). Fix up other subsystems as
21732 2005-09-13 Michael Smith <msmith@fluendo.com>
21734 * gst/gstconfig.h.in:
21735 Don't Use windows linking attributes for MinGW. Fixes #316157
21737 2005-09-13 Thomas Vander Stichele <thomas at apestaart dot org>
21739 * gst/gstutils.c: (set_state_async_thread_func),
21740 (gst_element_set_state_async):
21741 Apparently people think it's better if this function doesn't
21742 try to set the state to whatever state was asked for on the first
21743 call to this function for any object. Seriously.
21745 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
21747 * check/gst/gstpipeline.c: (GST_START_TEST):
21748 * docs/gst/gstreamer-sections.txt:
21749 * gst/gstutils.c: (set_state_async_thread_func),
21750 (gst_element_set_state_async):
21752 add a "gst_element_set_state_async" method that
21753 sets the state and starts a thread to make sure the state
21754 change completes as best as it can
21756 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
21758 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
21759 codify design+behaviour in testsuite after discussion
21761 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
21763 * docs/gst/tmpl/gstelement.sgml:
21764 * docs/manual/appendix-quotes.xml:
21766 * gst/gstelement.c: (gst_element_set_state):
21769 2005-09-12 Jan Schmidt <thaytan@mad.scientist.com>
21771 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
21772 (gst_base_transform_prepare_output_buf),
21773 (gst_base_transform_handle_buffer):
21774 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
21775 (gst_capsfilter_prepare_buf):
21776 Remove the requirement for sub-classes to call the parent
21777 implementation of prepare_output_buffer with a wrapper function.
21779 * gst/gsttaglist.h:
21780 * gst/gsttagsetter.h:
21781 Fix #define wrapper
21783 2005-09-11 Stefan Kost <ensonic@users.sf.net>
21785 * docs/gst/gstreamer-sections.txt:
21788 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
21790 * docs/gst/gstreamer-sections.txt:
21791 * docs/gst/tmpl/gstelement.sgml:
21792 * docs/gst/tmpl/gstplugin.sgml:
21793 * gst/gstminiobject.c:
21795 docs now stop throwing warnings
21797 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
21799 * docs/gst/gstreamer-sections.txt:
21800 * docs/gst/gstreamer.types:
21801 * docs/gst/tmpl/gstpad.sgml:
21802 * docs/gst/tmpl/gsttypes.sgml:
21803 * gst/base/gstadapter.h:
21804 * gst/base/gstbasesink.h:
21805 * gst/base/gstbasesrc.h:
21811 * gst/gstelement.h:
21813 * gst/gstmessage.h:
21815 * gst/gststructure.c:
21816 * gst/registries/gstlibxmlregistry.h:
21817 various documentation fixes
21819 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
21821 * docs/gst/gstreamer-sections.txt:
21822 * docs/gst/tmpl/gstvalue.sgml:
21823 rearrange gstvalue section
21824 * gst/gstutils.c: (gst_element_state_get_name):
21826 * gst/gstvalue.c: (_gst_value_initialize):
21830 2005-09-10 Jan Schmidt <thaytan@mad.scientist.com>
21832 * check/gst-libs/controller.c:
21833 Header include fix.
21834 * gst/base/gstbasetransform.c:
21835 (gst_base_transform_default_prepare_buf),
21836 (gst_base_transform_handle_buffer):
21837 * gst/base/gstbasetransform.h:
21838 Some more basetransform changes and fixes to enable sub-classes
21839 that modify buffer metadata only.
21840 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
21841 (gst_capsfilter_init), (gst_capsfilter_transform_ip),
21842 (gst_capsfilter_prepare_buf):
21843 If the output pad has fixed allowed caps and input buffers
21844 don't have any, set the fixed caps on outgoing buffers.
21846 2005-09-09 Jan Schmidt <thaytan@mad.scientist.com>
21847 * check/elements/identity.c: (GST_START_TEST):
21848 Make the error a little clearer when the test fails because
21849 identity made a copy of the buffer.
21850 * docs/gst/gstreamer-sections.txt:
21851 New symbols in gstbasetransform.h
21852 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
21853 (gst_base_transform_init), (gst_base_transform_transform_size),
21854 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
21855 (gst_base_transform_default_prepare_buf),
21856 (gst_base_transform_get_unit_size),
21857 (gst_base_transform_buffer_alloc),
21858 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
21859 (gst_base_transform_change_state),
21860 (gst_base_transform_set_passthrough),
21861 (gst_base_transform_set_in_place),
21862 (gst_base_transform_is_in_place):
21863 * gst/base/gstbasetransform.h:
21864 Change BaseTransform to separate in_place operate from same_caps
21865 output. in_place implies that the element can perform the transform
21866 on incoming buffers in-place, even if the caps on the output are
21868 Sub-class elements can now implement special buffer allocation
21869 methods for outgoing buffers if they wish to.
21870 Big documentation addition.
21871 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
21872 * gst/elements/gstelements.c:
21873 Changes for basetransform modifications.
21874 * gst/elements/Makefile.am:
21875 * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
21876 Compile fix. Extra debug output.
21878 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
21880 * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
21882 add tests for valid pad naming
21883 * gst/check/gstcheck.c: (gst_check_log_message_func),
21884 (gst_check_log_critical_func):
21886 remove printing of code, it is fragile when the code contains
21887 % and the line number is enough info
21888 * gst/check/gstcheck.h:
21889 * gst/gstpad.c: (gst_pad_template_new):
21892 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
21895 say what CHECK flags we use
21896 * docs/libs/gstreamer-libs.types:
21897 * libs/gst/controller/Makefile.am:
21898 * libs/gst/controller/gst-controller.c:
21899 * libs/gst/controller/gst-controller.h:
21900 * libs/gst/controller/gst-helper.c:
21901 * libs/gst/controller/gst-interpolation.c:
21902 * libs/gst/controller/gstcontroller.c:
21903 * libs/gst/controller/gsthelper.c:
21904 * libs/gst/controller/gstinterpolation.c:
21905 * tools/gst-inspect.c: (print_plugin_info):
21906 we don't use dashes in header names
21908 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
21910 * check/Makefile.am:
21911 * check/gst/.cvsignore:
21912 * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
21913 (gst_pipeline_suite), (main):
21914 adding a test for pipelines and state changes
21915 * gst/gstutils.c: (get_state_func):
21917 * gstreamer.spec.in:
21920 2005-09-08 Michael Smith <msmith@fluendo.com>
21922 * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
21923 (gst_file_src_map_small_region), (gst_file_src_create_mmap),
21924 (gst_file_src_is_seekable), (gst_file_src_get_size),
21925 (gst_file_src_start):
21926 * gst/elements/gstfilesrc.h:
21927 Various fixes for unseekable, unmmapable, and non-normal files, so
21928 that fallback to read() rather than mmap() works.
21929 * gst/gstevent.c: (gst_event_new_newsegment):
21930 Allow newsegment events with segment_start == segment_end, as will
21931 correctly happen if you use filesrc on a zero-size file, for
21934 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
21936 * gst/gstplugin.c: (gst_plugin_load_file):
21937 Call g_module_close when we don't load the module
21939 * gst/registries/gstlibxmlregistry.c:
21940 (gst_xml_registry_get_property):
21941 Port leak fix from 0.8
21943 2005-09-07 Stefan Kost <ensonic@users.sf.net>
21945 * docs/gst/gstreamer-docs.sgml:
21946 * docs/gst/tmpl/.cvsignore:
21947 * docs/gst/tmpl/gsttrace.sgml:
21948 * docs/gst/tmpl/gsttrashstack.sgml:
21951 * gst/gstelement.h:
21953 * gst/gstmessage.c:
21954 * gst/gstmessage.h:
21957 * gst/gsttaginterface.c:
21958 * gst/gsttaginterface.h:
21959 * gst/gsttaglist.c:
21960 * gst/gsttaglist.h:
21961 * gst/gsttagsetter.c:
21962 * gst/gsttagsetter.h:
21965 * gst/gsttrashstack.c:
21966 renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
21967 inlined docs for gsttrace, gsttrashstack
21969 2005-09-07 Stefan Kost <ensonic@users.sf.net>
21972 * gst/elements/gstbufferstore.h:
21973 * gst/elements/gsttypefindelement.c:
21974 * gst/elements/gsttypefindelement.h:
21976 * gst/gsttypefind.c:
21977 * gst/gsttypefind.h:
21978 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
21979 (gst_type_find_factory_class_init), (gst_type_find_factory_init),
21980 (gst_type_find_factory_dispose),
21981 (gst_type_find_factory_unload_thyself),
21982 (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
21983 (gst_type_find_factory_get_caps),
21984 (gst_type_find_factory_get_extensions),
21985 (gst_type_find_factory_call_function):
21986 * gst/gsttypefindfactory.h:
21987 * gst/registries/gstlibxmlregistry.c:
21988 * gst/registries/gstxmlregistry.c:
21989 splitted gsttypefind into gsttypefind, gsttypefindfactory
21991 2005-09-07 Andy Wingo <wingo@pobox.com>
21993 * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
21994 condition whereby the pad's task function is entered before the
21995 pad_mode variable was set.
21997 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
21999 * gst/gstpad.c: (gst_pad_alloc_buffer):
22000 Catch misbehaving pad_alloc functions that don't
22001 set up caps and do it for them.
22003 2005-09-07 Stefan Kost <ensonic@users.sf.net>
22005 * check/pipelines/simple_launch_lines.c: (run_pipeline):
22006 test for pipe!=NULL
22007 * docs/gst/tmpl/.cvsignore:
22008 * docs/gst/tmpl/gstmemchunk.sgml:
22009 * docs/gst/tmpl/gstparse.sgml:
22010 * docs/gst/tmpl/gsttaglist.sgml:
22011 * docs/gst/tmpl/gsttagsetter.sgml:
22012 * docs/gst/tmpl/gsttypefind.sgml:
22013 * docs/gst/tmpl/gsttypefindfactory.sgml:
22014 * gst/gstmemchunk.c:
22017 * gst/gsttaginterface.c:
22018 * gst/gsttypefind.c:
22019 * gst/gsttypefind.h:
22022 === release 0.9.2 ===
22024 2005-09-06 Thomas Vander Stichele <thomas at apestaart dot org>
22029 releasing 0.9.2, "South"
22031 2005-09-05 Andy Wingo <wingo@pobox.com>
22033 * gst/registries/gstxmlregistry.h:
22034 * gst/registries/gstxmlregistry.c: Um... resurrect...
22036 * gst/registries/gstxmlregistry.h:
22037 * gst/registries/gstxmlregistry.c: and update to newer API.
22038 Incidentally they should be a bit faster now that they don't have
22041 2005-09-05 Andy Wingo <wingo@pobox.com>
22043 * gst/registries/gstxmlregistry.h:
22044 * gst/registries/gstxmlregistry.c: Remove from CVS, they were
22045 replaced by the libxml registry a while back
22047 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
22049 * docs/gst/tmpl/gstplugin.sgml:
22050 * gst/elements/gstelements.c:
22052 * gst/gstplugin.c: (gst_plugin_register_func),
22053 (gst_plugin_desc_copy), (gst_plugin_desc_free),
22054 (gst_plugin_get_source):
22056 * gst/registries/gstlibxmlregistry.c: (load_plugin),
22057 (gst_xml_registry_save_plugin):
22058 * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
22059 (gst_xml_registry_save_plugin):
22060 * tools/gst-inspect.c: (print_plugin_info):
22061 add a "source" plugin description field, to represent the source
22062 module this plugin is a part of. By default GST_PLUGIN_DEFINE
22063 will set it to PACKAGE, which is automake's idea of the name of
22064 the source project.
22066 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
22071 * docs/Makefile.am:
22072 * docs/faq/Makefile.am:
22073 * docs/gst/tmpl/gstelement.sgml:
22074 * docs/gst/tmpl/gsttypes.sgml:
22075 * docs/htmlinstall.mak:
22076 * docs/manual/Makefile.am:
22077 * docs/pwg/Makefile.am:
22078 reorganize doc build a little
22079 split out docbook and gtk-doc stuff
22080 have two separate --enable's and enable them through autogen
22081 but disable by default in configure (to be similar to other
22083 * gstreamer.spec.in:
22084 clean up docs install
22102 translation updates
22104 2005-09-03 Tim-Philipp Müller <tim at centricular dot net>
22106 * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
22109 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
22110 (gst_fake_sink_change_state):
22111 Make state change function thread-safe.
22113 * gst/gstpad.c: (gst_pad_alloc_buffer):
22114 Set offset on generic buffer allocated by fallback.
22116 2005-09-03 Stefan Kost <ensonic@users.sf.net>
22118 * docs/gst/gstreamer-sections.txt:
22119 * docs/gst/tmpl/gstelement.sgml:
22121 * libs/gst/controller/gst-controller.c:
22122 (gst_controlled_property_set_interpolation_mode),
22123 (gst_controlled_property_new),
22124 (gst_controller_find_controlled_property):
22125 run the wingo-magic script against the docs
22127 2005-09-02 Stefan Kost <ensonic@users.sf.net>
22129 * docs/gst/gstreamer-docs.sgml:
22130 * docs/gst/gstreamer-sections.txt:
22131 * docs/gst/tmpl/.cvsignore:
22132 * docs/gst/tmpl/gstelementdetails.sgml:
22133 * docs/gst/tmpl/gstelementfactory.sgml:
22136 * gst/gstelementfactory.c:
22137 * gst/gstelementfactory.h:
22138 merged elementdetails docs into elementfactory docs
22141 2005-09-02 Andy Wingo <wingo@pobox.com>
22143 * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
22144 consider this enum an enum and not a flags.
22146 2005-09-02 Stefan Kost <ensonic@users.sf.net>
22148 * docs/gst/gstreamer-docs.sgml:
22149 * docs/gst/tmpl/.cvsignore:
22150 * docs/gst/tmpl/gstghostpad.sgml:
22151 * docs/gst/tmpl/gstiterator.sgml:
22152 * docs/gst/tmpl/gstmacros.sgml:
22153 * docs/gst/tmpl/gstrealpad.sgml:
22154 * docs/gst/tmpl/gstregistry.sgml:
22155 * docs/gst/tmpl/gstregistrypool.sgml:
22156 * docs/gst/tmpl/gststructure.sgml:
22157 * docs/gst/tmpl/gstsystemclock.sgml:
22158 * docs/gst/tmpl/gsttrace.sgml:
22159 * gst/gstghostpad.c:
22161 * gst/gstmemchunk.c:
22162 * gst/gstmemchunk.h:
22164 * gst/gstregistry.c:
22165 * gst/gstregistrypool.c:
22166 * gst/gststructure.c:
22167 * gst/gstsystemclock.c:
22170 2005-09-02 Andy Wingo <wingo@pobox.com>
22172 * gst/gstelement.h (GstState): Renamed from GstElementState,
22173 changed to be a normal enum instead of flags.
22174 (GstStateChangeReturn): Renamed from GstElementStateReturn, names
22175 munged to be GST_STATE_CHANGE_*.
22176 (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
22177 work with the new state representation.
22178 (GstStateChange): New enumeration of possible state transitions.
22179 Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
22180 (GstElementClass::change_state): Pass the GstStateChange along as
22181 an argument. Helps language bindings, so they don't have to use
22182 tricky lock-needing macros like GST_STATE_CHANGE ().
22184 * scripts/update-states (file): New script. Run it on a file to
22185 update it for state naming and API changes. Updates files in
22188 * All files updated for the new API.
22190 2005-09-02 Thomas Vander Stichele <thomas at apestaart dot org>
22192 * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
22193 * gst/gstutils.c: (gst_util_set_value_from_string),
22194 (gst_util_set_object_arg):
22195 fix a bunch of unchecked return values
22196 * tools/gst-complete.c: (main):
22197 * gstreamer.spec.in:
22200 2005-09-01 Wim Taymans <wim@fluendo.com>
22202 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
22203 (gst_base_sink_event), (gst_base_sink_do_sync),
22204 (gst_base_sink_handle_event):
22205 * gst/base/gstbasesink.h:
22206 Handle newsegments more correctly.
22211 * gst/gstevent.c: (gst_event_new_newsegment):
22212 A newsegment cannot have a start_time of -1
22214 2005-09-01 Tim-Philipp Müller <tim at centricular dot net>
22216 * win32/gstenumtypes.c:
22217 * win32/gstenumtypes.h:
22220 2005-08-31 Stefan Kost <ensonic@users.sf.net>
22222 * libs/gst/controller/gst-controller.c:
22223 (gst_controlled_property_set_interpolation_mode),
22224 (gst_controlled_property_new):
22225 fixed boolean again
22227 2005-08-31 Thomas Vander Stichele <thomas at apestaart dot org>
22229 * docs/faq/gst-uninstalled:
22234 * gst/gstutils.c: (gst_element_link_filtered):
22236 add gst_element_link_filtered
22238 2005-08-31 Stefan Kost <ensonic@users.sf.net>
22240 * docs/gst/gstreamer-docs.sgml:
22241 * docs/gst/gstreamer-sections.txt:
22242 * docs/gst/tmpl/.cvsignore:
22243 * docs/gst/tmpl/gsterror.sgml:
22244 * docs/gst/tmpl/gstfilter.sgml:
22245 * docs/gst/tmpl/gsturihandler.sgml:
22246 * docs/gst/tmpl/gsturitype.sgml:
22247 * docs/gst/tmpl/gstutils.sgml:
22248 * docs/gst/tmpl/gstxml.sgml:
22253 * gst/gsturitype.c:
22256 inlined more docs, fixed double id-ref
22258 2005-08-31 Wim Taymans <wim@fluendo.com>
22260 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
22261 (gst_base_transform_handle_buffer):
22262 Passthrough elements don't need the caps as they don't care.
22264 2005-08-31 Wim Taymans <wim@fluendo.com>
22266 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
22267 (gst_base_transform_handle_buffer), (gst_base_transform_chain):
22268 Don't leak refcounts on buffers.
22270 2005-08-31 Wim Taymans <wim@fluendo.com>
22272 * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
22273 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
22274 (gst_base_transform_chain), (gst_base_transform_change_state):
22275 * gst/base/gstbasetransform.h:
22276 Handle the case where we are not negotiated more gracefully.
22278 2005-08-31 Tim-Philipp Müller <tim at centricular dot net>
22280 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
22281 (gst_file_src_map_region):
22282 Set READONLY flag on mmap'ed buffers, otherwise
22283 gst_buffer_make_writable() won't work properly (#314708).
22285 2005-08-31 Wim Taymans <wim@fluendo.com>
22287 * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
22288 passthrough elements can even do inplace on non writable
22289 buffers (as they don't touch them).
22291 2005-08-31 Stefan Kost <ensonic@users.sf.net>
22293 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
22294 (gst_test_mono_source_set_property),
22295 (gst_test_mono_source_class_init), (GST_START_TEST),
22296 (gst_controller_suite):
22297 more tests (hehe I have the most)
22299 describe popping messages whenusing mulltiple sources
22300 * libs/gst/controller/gst-controller.c:
22301 (gst_controlled_property_set_interpolation_mode),
22302 (gst_controlled_property_new):
22303 * libs/gst/controller/gst-controller.h:
22304 * libs/gst/controller/gst-interpolation.c:
22305 implement boolean properties
22307 2005-08-31 Wim Taymans <wim@fluendo.com>
22309 * gst/gstminiobject.c: (gst_mini_object_ref):
22310 Cannot assert that the refcount has to be positive
22311 since a disposed object can be resurrected.
22313 2005-08-31 Wim Taymans <wim@fluendo.com>
22315 * gst/gstpad.c: (gst_pad_init):
22316 Revert change, need to first fix badly behaving
22319 2005-08-30 Wim Taymans <wim@fluendo.com>
22321 * check/elements/fakesrc.c: (setup_fakesrc):
22322 * check/elements/identity.c: (setup_identity):
22323 Activate pads before using them.
22325 2005-08-30 Wim Taymans <wim@fluendo.com>
22327 * gst/base/gstadapter.c: (gst_adapter_flush):
22328 Flushing out 0 bytes is ok for this function.
22330 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
22331 no newsegment gives a warning and sets the start/stop to
22334 * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
22335 (gst_base_transform_set_passthrough):
22338 * gst/gstminiobject.c: (gst_mini_object_ref):
22339 Check refcount here too.
22341 * gst/gstpad.c: (gst_pad_init):
22342 Pads are initially flushing and refusing data.
22344 * gst/gstutils.c: (gst_element_link_pads_filtered):
22345 When adding a capsfilter element make sure it has the
22346 same state as the parent bin.
22348 2005-08-30 Stefan Kost <ensonic@users.sf.net>
22350 * docs/gst/tmpl/.cvsignore:
22351 * docs/gst/tmpl/gstformat.sgml:
22352 * docs/gst/tmpl/gstversion.sgml:
22356 * gst/gstversion.h.in:
22357 more docs and two more inlined
22359 2005-08-30 Wim Taymans <wim@fluendo.com>
22361 * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
22362 Don't sync to clock.
22364 2005-08-30 Stefan Kost <ensonic@users.sf.net>
22366 * docs/gst/gstreamer-sections.txt:
22367 ultral33t func10ns deserve to appear in the docs actually
22368 * docs/gst/tmpl/.cvsignore:
22369 * docs/gst/tmpl/gstcompat.sgml:
22370 * docs/gst/tmpl/gstconfig.sgml:
22371 * gst/check/gstcheck.c:
22373 * gst/gstconfig.h.in:
22376 2005-08-30 Stefan Kost <ensonic@users.sf.net>
22378 * docs/gst/tmpl/.cvsignore:
22379 * docs/gst/tmpl/gstquery.sgml:
22380 * docs/gst/tmpl/gstutils.sgml:
22383 inlined and extended docs
22385 2005-08-30 Stefan Kost <ensonic@users.sf.net>
22387 * check/gst-libs/controller.c: (GST_START_TEST),
22388 (gst_controller_suite):
22390 * docs/gst/tmpl/gstutils.sgml:
22391 * docs/libs/gstreamer-libs-sections.txt:
22392 * docs/libs/tmpl/gstdataprotocol.sgml:
22394 * examples/controller/audio-example.c: (main):
22395 controller example works now
22398 * tools/gst-inspect.c: (print_element_properties_info):
22399 show param spec flags
22401 2005-08-29 Andy Wingo <wingo@pobox.com>
22403 * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
22405 2005-08-28 Andy Wingo <wingo@pobox.com>
22407 * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
22408 as having two arguments instead of just one. Allows superclasses
22409 to access information on subclasses -- see the terrible for() loop
22410 in gtype.c:g_type_create_instance for the reason why. All callers
22413 2005-08-27 Stefan Kost <ensonic@users.sf.net>
22415 * docs/design/part-messages.txt:
22417 * docs/gst/tmpl/.cvsignore:
22418 * docs/gst/tmpl/gstcaps.sgml:
22419 * docs/gst/tmpl/gstclock.sgml:
22425 * gst/gstmessage.c:
22426 added descriptions for bus and message
22427 inline caps and clock docs
22429 2005-08-27 Stefan Kost <ensonic@users.sf.net>
22431 * gst/gstmessage.c:
22432 * gst/gstmessage.h:
22435 2005-08-27 Stefan Kost <ensonic@users.sf.net>
22437 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
22440 2005-08-26 Andy Wingo <wingo@pobox.com>
22442 * check/pipelines/simple_launch_lines.c (run_pipeline): Check
22443 element_set_state's return val.
22444 (test_2_elements): Add test that's been disabled for months.
22446 * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
22447 can-activate-pull properties.
22449 * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
22450 can-activate-pull properties. Implement is_seekable so fakesrc can
22451 operate in pull mode.
22453 * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
22455 (gst_base_sink_activate, gst_base_sink_activate_pull)
22456 (gst_base_sink_activate_push): Make activation mode choosing work.
22458 (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
22459 is right. Make pull mode work. Post an eos before pausing in pull
22461 (gst_base_sink_change_state): Pay attention to the core's
22462 change_state() return val.
22464 * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
22465 has-getrange properties. Cleanups.
22467 * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
22468 has_getrange and replace with can_activate_pull and
22471 * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
22472 locking comments. Remove has_loop, has_chain and replace with
22473 can_activate_pull and can_activate_push.
22475 2005-08-26 Jan Schmidt <thaytan@mad.scientist.com>
22478 * examples/Makefile.am:
22479 * examples/metadata/Makefile.am:
22480 * examples/metadata/read-metadata.c: (message_loop),
22481 (have_pad_handler), (make_pipeline), (print_tag), (main):
22482 Add metadata reading example that loops over a list of filenames,
22483 dumping any tags found.
22485 * gst/gstbus.c: (gst_bus_dispose):
22486 * gst/gstelement.c: (gst_element_dispose):
22487 Release a few potentially-held references in dispose.
22489 2005-08-26 Stefan Kost <ensonic@users.sf.net>
22491 * docs/gst/tmpl/gstminiobject.sgml:
22492 do *not* add tmpl/*.sgml files to CVS!
22494 2005-08-26 Stefan Kost <ensonic@users.sf.net>
22496 * libs/gst/bytestream/.cvsignore:
22497 * libs/gst/bytestream/Makefile.am:
22498 * libs/gst/bytestream/adapter.c:
22499 * libs/gst/bytestream/adapter.h:
22500 * libs/gst/bytestream/bytestream.c:
22501 * libs/gst/bytestream/bytestream.h:
22502 * libs/gst/bytestream/filepad.c:
22503 * libs/gst/bytestream/filepad.h:
22504 removing obsolete files
22506 2005-08-26 Stefan Kost <ensonic@users.sf.net>
22508 * docs/gst/gstreamer-docs.sgml:
22509 * docs/libs/gstreamer-libs-docs.sgml:
22510 disabed additional index entries again, as this makes docs-gen just
22511 slow and they aren't useful yet
22512 * docs/libs/gstreamer-libs-sections.txt:
22513 little -section.txt cleanup for libs
22515 2005-08-26 Thomas Vander Stichele <thomas at apestaart dot org>
22517 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
22518 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
22519 fix up some debugging
22520 (gst_base_transform_get_unit_size),
22521 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
22522 (gst_base_transform_handle_buffer):
22523 * gst/base/gstbasetransform.h:
22524 handle and store timed NEWSEGMENT events so that subclasses that
22525 calculate time by counting samples have a segment_start time they
22526 need to add to their timestamps - see audioresample
22528 2005-08-26 Stefan Kost <ensonic@users.sf.net>
22531 removed ';' from the end of macro defs
22532 * docs/gst/gstreamer-docs.sgml:
22533 * docs/gst/gstreamer-sections.txt:
22534 * docs/gst/tmpl/.cvsignore:
22536 * gst/gstelement.c: (gst_element_class_init),
22537 (gst_element_set_state), (activate_pads),
22538 (gst_element_save_thyself):
22539 * gst/gstevent.c: (gst_event_new_newsegment):
22541 * gst/gstiterator.c:
22542 * gst/gstiterator.h:
22545 * gst/gstutils.c: (gst_pad_query_convert):
22547 fixed parameter name mismatches between source, header and docs
22548 added some more docs, resolved the last batch of unused elements in
22549 docs (now someone needs to doc them)
22551 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
22553 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
22554 * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
22555 don't walk through the plugins backwards. Where is all this
22556 reversed logic coming from ?
22558 2005-08-25 Wim Taymans <wim@fluendo.com>
22560 * gst/base/gstbasetransform.c: (gst_base_transform_init),
22561 (gst_base_transform_transform_size),
22562 (gst_base_transform_configure_caps),
22563 (gst_base_transform_get_unit_size),
22564 (gst_base_transform_buffer_alloc),
22565 (gst_base_transform_change_state):
22566 * gst/base/gstbasetransform.h:
22567 Cache caps unit_size.
22568 Make sure we cannot negotiate up and downstream at the
22571 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
22573 * gst/gst.c: (init_pre), (init_post):
22574 register the installed plugin path after the env var
22575 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
22576 * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
22577 don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
22578 directories, so the tests can prefer uninstalled over installed
22580 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
22582 * gst/base/gstbasetransform.h:
22587 2005-08-25 Wim Taymans <wim@fluendo.com>
22589 * gst/gstbin.c: (bin_bus_handler):
22590 Be a bit more conservative about the posted message.
22592 * gst/gstbus.c: (gst_bus_post):
22593 Some cleanups, warn wrong return values.
22595 2005-08-25 Jan Schmidt <thaytan@mad.scientist.com>
22597 * check/gst/gstbin.c: (GST_START_TEST):
22598 * gst/gstbin.c: (bin_bus_handler):
22599 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
22600 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
22601 (gst_message_new_warning), (gst_message_new_tag),
22602 (gst_message_new_state_changed), (gst_message_new_segment_start),
22603 (gst_message_new_segment_done), (gst_message_new_custom):
22604 * gst/gstmessage.h:
22605 * tools/gst-launch.c: (event_loop):
22606 * tools/gst-md5sum.c: (event_loop):
22607 Revert unpopular change for GST_MESSAGE_SRC to GObject.
22609 2005-08-25 Wim Taymans <wim@fluendo.com>
22611 * check/generic/states.c: (GST_START_TEST):
22612 Cleanup can be done at the end.
22614 * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
22615 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
22616 (gst_task_get_state), (gst_task_start), (gst_task_pause):
22617 Oh boy.. Thanks for finding this, Thomas.
22619 2005-08-25 Stefan Kost <ensonic@users.sf.net>
22621 * docs/gst/gstreamer.types:
22622 added missing types
22624 2005-08-25 Stefan Kost <ensonic@users.sf.net>
22626 * docs/gst/gstreamer-docs.sgml:
22627 * docs/gst/gstreamer-sections.txt:
22628 * docs/gst/tmpl/.cvsignore:
22630 * gst/gstiterator.c:
22632 * gst/registries/gstxmlregistry.h:
22633 added missing classes and symbols (123 more to go)
22634 removed removed symbols from section file
22635 fixed many doc-comments
22637 2005-08-24 Wim Taymans <wim@fluendo.com>
22639 * check/generic/states.c: (GST_START_TEST):
22640 Make sure all tasks are stopped.
22642 * check/gst/gstbin.c: (GST_START_TEST):
22643 Unref after usage for proper valgrinding.
22645 * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
22646 Really wait for the task to stop before destroying the
22649 * gst/gstqueue.c: (gst_queue_sink_activate_push),
22650 (gst_queue_src_activate_push):
22651 Small cleanups. Don't stop the task when we did not start
22654 * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
22655 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
22656 (gst_task_get_state), (gst_task_start), (gst_task_pause),
22659 Protect the stream lock with the object lock.
22660 Disallow setting the stream lock when running.
22661 Add cleanup_all to wait for the threadpool to finish.
22662 Remove code to autoallocate a mutex if none was provided.
22663 Add _join() to wait for a task to stop.
22664 Protect the thread pool with a global lock.
22666 2005-08-24 Wim Taymans <wim@fluendo.com>
22668 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
22669 (gst_base_sink_get_times), (gst_base_sink_do_sync),
22670 (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
22671 * gst/base/gstbasesink.h:
22672 Handle newsegment events correctly.
22673 Drop buffers out of the segment range.
22675 2005-08-22 Andy Wingo <wingo@pobox.com>
22677 * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
22678 macro, implements an interface and gstimplementsinterface for a
22681 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
22683 * check/Makefile.am:
22684 * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
22685 add a test that does a bunch of state changes on elements
22686 needs some fixing for valgrind
22687 * check/states/sinks.c: (gst_object_suite):
22690 add prototype for gst_caps_is_equal_fixed
22692 * gst/gstregistrypool.c:
22695 2005-08-24 Andy Wingo <wingo@pobox.com>
22697 * gst/gstquery.c (gst_query_new_convert): Spew if we try to
22698 convert a negative value. Doesn't make much sense. Mostly this is
22699 here to force callers to ensure -1 maps to -1.
22701 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
22703 * docs/pwg/advanced-types.xml:
22704 Well done to Michael for catching my deliberate introduction
22705 of this spelling mistake.
22706 * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
22707 * gst/gstelement.h:
22708 Add GST_ELEMENT_UNPARENTING to prevent races so that we can
22709 unlink pads before removing the element from the bin.
22711 2005-08-24 Andy Wingo <wingo@pobox.com>
22713 * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
22714 the same thing as GST_DEBUG=*:4.
22715 (parse_debug_level, parse_debug_category): New helper parsers.
22717 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
22719 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
22720 (gst_base_transform_transform_size), (gst_base_transform_getcaps),
22721 (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
22722 (gst_base_transform_buffer_alloc),
22723 (gst_base_transform_handle_buffer):
22724 use gboolean return values and pointers to size so we can use the
22725 full GST_BUFFER_SIZE range (guint) for buffer sizes
22726 use GstPadDirection for transform_caps
22727 * gst/base/gstbasetransform.h:
22728 rename get_size to get_unit_size since that's what it is
22729 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
22730 use GstPadDirection for transform_caps
22731 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
22733 cleanup and debugging
22735 2005-08-24 Stefan Kost <ensonic@users.sf.net>
22737 * gst/gstelement.c: (gst_element_class_init),
22738 (gst_element_set_state), (activate_pads),
22739 (gst_element_save_thyself):
22740 * tools/gst-compprep.c: (main):
22741 * tools/gst-inspect.c: (print_element_properties_info):
22742 * tools/gst-xmlinspect.c: (print_element_properties):
22743 Fixed long standing mem-leak
22745 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
22747 * check/gst/gstbin.c: (GST_START_TEST):
22748 * gst/gstbin.c: (bin_bus_handler):
22749 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
22750 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
22751 (gst_message_new_warning), (gst_message_new_tag),
22752 (gst_message_new_state_changed), (gst_message_new_segment_start),
22753 (gst_message_new_segment_done), (gst_message_new_custom):
22754 * gst/gstmessage.h:
22755 * tools/gst-launch.c: (event_loop):
22756 * tools/gst-md5sum.c: (event_loop):
22757 Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
22758 that applications can sensibly post custom messages with references
22759 to their own objects.
22761 2005-08-24 Andy Wingo <wingo@pobox.com>
22763 * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
22766 2005-08-24 Wim Taymans <wim@fluendo.com>
22768 * gst/base/gstbasetransform.c: (gst_base_transform_init),
22769 (gst_base_transform_transform_caps),
22770 (gst_base_transform_transform_size),
22771 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
22772 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
22773 (gst_base_transform_handle_buffer):
22774 * gst/base/gstbasetransform.h:
22775 Many fixes and new features added by Thomas. Can now also do
22776 transforms with variable sizes and a custom fixate_caps function.
22778 2005-08-24 Wim Taymans <wim@fluendo.com>
22780 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
22784 Cast to ClockTime before formatting to time.
22789 2005-08-24 Stefan Kost <ensonic@users.sf.net>
22791 * check/gst-libs/controller.c: (GST_START_TEST),
22792 (gst_controller_suite):
22793 * docs/gst/tmpl/gstcaps.sgml:
22794 * docs/gst/tmpl/gstghostpad.sgml:
22795 * docs/gst/tmpl/gstquery.sgml:
22796 * docs/gst/tmpl/gstutils.sgml:
22797 * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
22798 (gst_object_sink_values), (gst_object_get_value_arrays),
22799 (gst_object_get_value_array):
22800 gracefully handle helper method calls to objects that are not beeing
22801 controlled, added test case for that
22803 2005-08-23 Wim Taymans <wim@fluendo.com>
22805 * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
22806 (gst_event_new_newsegment), (gst_event_parse_newsegment),
22807 (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
22808 (gst_event_parse_qos), (gst_event_new_seek),
22809 (gst_event_parse_seek):
22811 Some more debugging output and doc cleanups.
22813 * gst/gstqueue.c: (gst_queue_handle_sink_event):
22814 Fix possible deadlock.
22816 2005-08-23 Stefan Kost <ensonic@users.sf.net>
22818 * docs/gst/gstreamer-docs.sgml:
22819 * docs/gst/gstreamer-sections.txt:
22820 * docs/gst/gstreamer.types:
22821 * docs/gst/tmpl/.cvsignore:
22824 * gst/gstelement.c:
22826 added 100 symbols from gstreamer-unused.txt to the right sections
22827 fixed more broken comments
22828 added GstBus to docs
22830 2005-08-23 Stefan Kost <ensonic@users.sf.net>
22832 * docs/gst/gstreamer-sections.txt:
22833 * docs/gst/tmpl/.cvsignore:
22834 * docs/gst/tmpl/gstbin.sgml:
22835 * docs/gst/tmpl/gstbuffer.sgml:
22836 * gst/base/gstbasesrc.c:
22837 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
22840 * tools/gst-launch.1.in:
22841 inlined more doc comments, added missing comments and fixed comments
22844 2005-08-23 Thomas Vander Stichele <thomas at apestaart dot org>
22846 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
22850 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
22852 * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
22853 * gst/gststructure.h:
22854 add a fixate function for booleans; add a FIXME that these func
22855 names should probably be gst_structure_fixate_*
22857 2005-08-23 Stefan Kost <ensonic@users.sf.net>
22859 * docs/gst/gstreamer-docs.sgml:
22860 * docs/gst/gstreamer-sections.txt:
22862 * gst/gstbin.c: (gst_bin_get_type),
22863 (gst_bin_child_proxy_get_child_by_index),
22864 (gst_bin_child_proxy_get_children_count),
22865 (gst_bin_child_proxy_init):
22866 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
22867 (gst_child_proxy_get_child_by_index),
22868 (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
22869 (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
22870 (gst_child_proxy_get), (gst_child_proxy_set_property),
22871 (gst_child_proxy_set_valist), (gst_child_proxy_set),
22872 (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
22873 (gst_child_proxy_base_init), (gst_child_proxy_get_type):
22874 * gst/gstchildproxy.h:
22875 * gst/parse/grammar.y:
22876 * tools/gst-inspect.c: (print_interfaces),
22877 (print_element_properties_info), (print_element_info):
22878 ported gstchildproxy over from 0.8
22879 ported gst-inspect fixes and enhancements over from 0.8
22881 2005-08-22 Wim Taymans <wim@fluendo.com>
22883 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
22884 (gst_base_transform_handle_buffer):
22885 Also call the transform function if we have ANY caps.
22887 * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
22890 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
22892 * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
22893 Don't pretend to handle seek events if the source is not seekable
22895 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
22897 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
22898 Remove extra parameter to debug output
22900 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
22901 (gst_base_src_do_seek), (gst_base_src_activate_push):
22902 Fix seek event handling.
22904 * gst/gstpipeline.c: (gst_pipeline_change_state):
22905 * gst/gstqueue.c: (gst_queue_handle_sink_event),
22906 (gst_queue_src_activate_push):
22907 Don't start the src pad task on FLUSH_STOP if the pad
22911 2005-08-22 Wim Taymans <wim@fluendo.com>
22913 * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
22914 Added check for gst_static_caps_get() refcounting.
22916 2005-08-22 Wim Taymans <wim@fluendo.com>
22918 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
22919 Make _static_caps_get() refcounting sane.
22921 * gst/gstelement.c: (gst_element_set_state):
22922 Add g_return_val_if_fail() to protect against segfaults.
22924 2005-08-22 Stefan Kost <ensonic@users.sf.net>
22926 * docs/gst/tmpl/gstevent.sgml:
22929 inlined remaining docs, added missing doc comments
22931 2005-08-22 Thomas Vander Stichele <thomas at apestaart dot org>
22933 * check/gst/gstbin.c: (GST_START_TEST):
22934 since we don't know when preroll is done, use refcount range
22936 * gst/check/gstcheck.h:
22937 add macro for checking refcount range
22939 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
22941 * check/Makefile.am:
22942 clean up environment for when registry gets built versus
22943 when actual tests are run; valgrind seems to not report
22944 leaks if GST_PLUGIN_PATH is set to some specific values
22945 * check/gst/gstbin.c: (GST_START_TEST):
22946 add more refcounting checks; maybe this exposes a
22948 * common/check.mak:
22949 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
22950 * gst/check/gstcheck.h:
22951 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
22952 (gst_bin_change_state):
22953 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
22954 add/fix debugging/whitespace
22956 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
22958 * check/gst/gstevent.c: (event_probe), (test_event),
22960 Er, don't call gst_bin_watch_for_state_change you idiot.
22962 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
22964 * check/Makefile.am:
22965 Use CHECK_CFLAGS and CHECK_LIBS
22966 * check/gst/gstevent.c: (event_probe), (test_event),
22969 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
22970 (gst_base_src_start), (gst_base_src_stop),
22971 (gst_base_src_activate_push), (gst_base_src_activate_pull),
22972 (gst_base_src_change_state):
22973 Sprinkle gst_base_src_stop liberally around error paths to fix
22974 problems reusing a source after failed state changes.
22975 * gst/base/gsttypefindhelper.c: (helper_find_peek),
22976 (helper_find_suggest), (gst_type_find_helper):
22977 Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
22979 * docs/gst/tmpl/gstevent.sgml:
22980 Migrate part of the docs from the SGML file. Wait for ensonic to
22981 tell me how I did it wrong ;)
22982 * tools/gst-typefind.c: (main):
22983 Extra robustness to state changes between files.
22985 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
22987 * check/Makefile.am:
22988 don't valgrind the controller test - it's leaking - Stefan, HELP
22989 * gst/check/gstcheck.c: (gst_check_message_error),
22990 (gst_check_chain_func), (gst_check_setup_element),
22991 (gst_check_teardown_element), (gst_check_setup_src_pad),
22992 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
22993 (gst_check_teardown_sink_pad):
22994 * gst/check/gstcheck.h:
22995 add a bunch of methods to set up elements, and src and sink pads
22996 * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
22997 * check/elements/identity.c: (setup_identity), (cleanup_identity),
23000 * gst/gstmessage.c:
23002 whitespace/doc fixes
23004 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
23006 * gst/gstelement.h:
23007 make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
23008 be handled by the application and not always printed as well
23010 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
23012 * check/Makefile.am:
23014 * gst/check/gstcheck.c: (gst_check_message_error):
23015 * gst/check/gstcheck.h:
23016 add a fail_unless_equals_int
23017 add fail_unless for error messages
23019 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
23021 * check/Makefile.am:
23023 * common/Makefile.am:
23024 * common/check.mak:
23026 factor out some of the common stuff so we can use it
23028 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
23030 * check/Makefile.am:
23031 * check/gst/gstiterator.c: (GST_START_TEST):
23032 * check/gst/gstsystemclock.c: (GST_START_TEST),
23033 (gst_systemclock_suite):
23034 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
23036 valgrind more tests
23038 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
23040 * check/elements/.cvsignore:
23041 * check/elements/gstfakesrc.c:
23042 rename to name of element
23043 * check/elements/identity.c: (chain_func), (event_func),
23044 (setup_identity), (cleanup_identity), (GST_START_TEST),
23045 (identity_suite), (main):
23046 add a test for identity
23047 * check/Makefile.am:
23048 * pkgconfig/Makefile.am:
23049 * pkgconfig/gstreamer-check.pc.in:
23050 * pkgconfig/gstreamer-check-uninstalled.pc.in:
23054 move the check stuff to a library that gets installed
23055 * check/gst-libs/controller.c: (GST_START_TEST):
23056 * check/gst-libs/gdp.c:
23057 * check/gst/gst.c: (GST_START_TEST):
23058 * check/gst/gstbin.c:
23059 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
23060 * check/gst/gstbus.c:
23061 * check/gst/gstcaps.c: (GST_START_TEST):
23062 * check/gst/gstelement.c:
23063 * check/gst/gstghostpad.c:
23064 * check/gst/gstiterator.c:
23065 * check/gst/gstmessage.c:
23066 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
23067 * check/gst/gstobject.c:
23068 * check/gst/gstpad.c: (GST_START_TEST):
23069 * check/gst/gststructure.c: (GST_START_TEST):
23070 * check/gst/gstsystemclock.c: (GST_START_TEST),
23071 (gst_systemclock_suite):
23072 * check/gst/gsttag.c: (gst_tag_suite):
23073 * check/gst/gstvalue.c:
23074 * check/pipelines/cleanup.c:
23075 * check/pipelines/simple_launch_lines.c:
23076 * check/states/sinks.c:
23077 change include statement
23079 * docs/gst/gstreamer-sections.txt:
23080 * docs/gst/tmpl/gstpad.sgml:
23081 document more pad stuff
23082 * gst/gstminiobject.c: (gst_mini_object_ref),
23083 (gst_mini_object_unref):
23086 2005-08-19 Stefan Kost <ensonic@users.sf.net>
23088 * docs/gst/tmpl/gst.sgml:
23090 eliminate another tmpl file, fix spelling in the long-description
23092 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
23094 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
23095 (test_event), (timediff), (gstevents_suite):
23096 Should fix build on 64-bit arch's
23098 2005-08-18 Andy Wingo <wingo@pobox.com>
23100 Make sure that when a pipeline goes to PLAYING, that data has
23101 actually hit the sink.
23103 * check/states/sinks.c (test_sink): A sink that doesn't get any
23104 data shouldn't return SUCCESS for going to either PLAYING or
23105 PAUSED. Test also the return values on the way back down.
23107 * gst/gstelement.c (gst_element_set_state): When changing the
23108 state of an element currently changing state asynchronously, go to
23109 lost-state after commiting the pending state. Makes future calls
23110 to get_state continue to return ASYNC.
23112 * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
23113 ASYNC when going to PLAYING if we still don't have preroll, as can
23114 happen with live sources.
23116 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
23118 * docs/pwg/advanced-types.xml:
23119 Hack long paragraph into 2 chunks as a workaround for buggy
23120 jadetex version in sid and breezy that loops infinitely and
23123 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
23125 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
23126 (test_event), (timediff), (gstevents_suite):
23127 Provide more error margin in clock measurements to allow for
23128 g_get_current_time inaccuracies.
23130 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
23132 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
23133 (test_event), (timediff), (gstevents_suite):
23134 Fix error message output so I might be able to tell why the
23135 test works here but fails on the build farm.
23137 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
23139 * check/Makefile.am:
23140 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
23141 (test_event), (timediff), (gstevents_suite), (main):
23144 * docs/design/part-seeking.txt:
23145 Spelling correction
23147 * docs/gst/tmpl/gstevent.sgml:
23148 * docs/gst/tmpl/gstfakesrc.sgml:
23151 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
23152 Treat a buffer-without-newsegment the same as a receiving
23153 a newsegment not in time format, and disable syncing to the clock
23156 * gst/gstbus.c: (gst_bus_set_sync_handler):
23157 Assert if anyone tries to replace the existing sync_handler for bus,
23158 as only the owner should be setting it.
23161 Have a fixed set of custom event enums with events identified by
23162 their structure name (as in 0.8), rather than a free-for-all
23163 allowing collisions between enum values from different plugins.
23165 * gst/gstpad.c: (gst_pad_class_init):
23168 * gst/gstqueue.c: (gst_queue_handle_sink_event):
23169 Handle out-of-band downstream events from the sending thread.
23171 2005-08-17 Andy Wingo <wingo@pobox.com>
23173 * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
23174 play-timeout==0 to mean no timeout at all. In that case, don't
23175 bother with a get_state or a warning, just return directly, even
23178 * gst/base/gstbasetransform.c: Debug changes.
23181 * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
23182 ensure bins post state change messages. A bit of a hack but I can't
23183 think of a way to avoid it.
23185 * check/gst/gstbin.c (test_watch_for_state_change): Added test.
23187 2005-08-16 Andy Wingo <wingo@pobox.com>
23189 * gst/base/gstadapter.h:
23190 * gst/base/gstadapter.c (gst_adapter_take): New function, like
23191 peek() but you own the data. Not terribly efficient atm.
23193 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23195 * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
23196 (gst_element_found_tags):
23198 Add two utility functions for tag handling.
23200 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23202 * docs/manual/advanced-dataaccess.xml:
23203 * docs/manual/basics-helloworld.xml:
23204 Fix docs to use _bin_add() before _link(), which fixes the examples
23205 with recent core versions (reported by Madhan Raj M
23206 <raj_madan@rediffmail.com>, #313199).
23208 2005-08-16 Wim Taymans <wim@fluendo.com>
23210 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
23211 Added subtract checks.
23213 * docs/design/part-events.txt:
23214 Some more docs about newsegment
23216 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
23219 * gst/gstcaps.c: (gst_caps_to_string):
23220 Add comments, cleanups.
23222 * gst/gstelement.c: (gst_element_save_thyself):
23225 * gst/gstvalue.c: (gst_value_collect_int_range),
23226 (gst_string_unwrap), (gst_value_union_int_int_range),
23227 (gst_value_union_int_range_int_range),
23228 (gst_value_intersect_int_int_range),
23229 (gst_value_intersect_int_range_int_range),
23230 (gst_value_intersect_double_double_range),
23231 (gst_value_intersect_double_range_double_range),
23232 (gst_value_intersect_list), (gst_value_subtract_int_int_range),
23233 (gst_value_subtract_int_range_int),
23234 (gst_value_subtract_double_range_double),
23235 (gst_value_subtract_double_range_double_range),
23236 (gst_value_subtract_from_list), (gst_value_subtract_list),
23237 (gst_value_can_compare), (gst_value_compare_fraction):
23238 Cleanups, add comments, remove unneeded asserts.
23240 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
23242 * tools/gst-launch.c: (event_loop):
23243 don't convert NULL structures to strings
23245 2005-08-15 Stefan Kost <ensonic@users.sf.net>
23247 * docs/gst/gstreamer-sections.txt:
23248 made some defines private
23249 * docs/gst/tmpl/gstconfig.sgml:
23250 * docs/gst/tmpl/gstqueue.sgml:
23251 * docs/gst/tmpl/gsttaglist.sgml:
23252 * docs/gst/tmpl/gsttypes.sgml:
23253 * docs/gst/tmpl/gstutils.sgml:
23254 * docs/pwg/appendix-porting.xml:
23255 * gst/base/gstbasesink.h:
23256 * gst/base/gstbasesrc.c:
23257 * gst/base/gstbasesrc.h:
23258 * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
23259 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
23260 * gst/gstelement.c: (gst_element_class_init):
23261 * gst/gstpad.c: (gst_pad_class_init):
23262 * gst/gstqueue.c: (gst_queue_class_init):
23263 * gst/gstxml.c: (gst_xml_class_init):
23264 documented all undocumented signal inline
23265 * libs/gst/controller/gst-controller.h:
23268 2005-08-15 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23270 * docs/pwg/appendix-porting.xml:
23271 Document _set_link_function -> _set_setcaps_function.
23273 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
23275 * check/Makefile.am:
23276 add a .check target for running the check
23277 * check/gst-libs/controller.c: (GST_START_TEST):
23279 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
23280 complete checks for gstbuffer; would be nice if I could get the
23281 gcov stuff to work so I can see if I actually completed gstbuffer.c
23282 * check/gstcheck.h:
23283 add ASSERT_BUFFER_REFCOUNT
23285 2005-08-13 Tim-Philipp Müller <tim at centricular dot net>
23287 * docs/gst/gstreamer-sections.txt:
23288 * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
23290 Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
23291 spew out a warning if a tag that is already registered
23292 is re-registered, unless it is re-registered with a
23293 different type (#308438).
23295 2005-08-12 Tim-Philipp Müller <tim at centricular dot net>
23297 * docs/pwg/appendix-porting.xml:
23298 * docs/pwg/building-state.xml:
23299 Add some paragraphs about state changes in 0.9 to the PWG
23300 and the porting guide, in particular about the new meaning
23301 of GST_STATE_PAUSED and how to write state change functions
23302 with concurrent access by multiple threads in mind.
23304 2005-08-11 Stefan Kost <ensonic@users.sf.net>
23306 * docs/gst/gstreamer-docs.sgml:
23307 * docs/libs/gstreamer-libs-docs.sgml:
23308 added deprecation and since indexes
23309 * libs/gst/controller/gst-controller.c:
23310 * libs/gst/controller/gst-helper.c:
23314 2005-08-11 Wim Taymans <wim@fluendo.com>
23316 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
23317 (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
23318 (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
23319 (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
23320 (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
23321 (gst_ghost_pad_set_target):
23322 Actually implement (re)setting the target on a ghostpad
23323 as described in the docs.
23325 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
23327 * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
23328 Check whether GST_DEBUG_NO_COLOR environment variable is
23329 set and disable coloured debug output if that is the case.
23331 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
23333 * gst/base/gsttypefindhelper.c: (helper_find_peek),
23334 (gst_type_find_helper):
23335 The memory returned by gst_type_find_peek() needs to
23336 stay valid until the end of a typefind function, and
23337 typefind functions may keep results from different
23338 offsets around, so we can't just unref the buffer from
23339 the previous _peek(), but have to save all buffers
23340 returned by _peek() until typefinding is done and only
23343 2005-08-09 Tim-Philipp Müller <tim at centricular dot net>
23345 * docs/gst/gstreamer-sections.txt:
23347 New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
23349 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23351 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
23352 Fix a pretty good memleak.
23354 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
23356 * gst/gstiterator.h:
23357 Fix wrong include and 'make distcheck'.
23359 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23361 * gst/gstbin.c: (bin_bus_handler):
23362 Use gst_element_post_message() instead.
23364 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
23366 * gst/base/gstadapter.h:
23367 * gst/base/gstbasesink.h:
23368 * gst/base/gstbasesrc.h:
23369 * gst/base/gstbasetransform.h:
23370 * gst/base/gstcollectpads.h:
23371 * gst/base/gstpushsrc.h:
23372 * gst/gstiterator.h:
23373 Add padding to our base elements' class and instance structs and
23374 to GstIterator (you will need to rebuild all plugins and apps!)
23376 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23378 * gst/gstbin.c: (bin_bus_handler):
23379 Make default message forwarding from child->bus to bin->bus
23380 threadsafe and make it not emit warnings if the parent has no bus.
23382 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23384 * gst/gstelement.c: (activate_pads):
23385 On paused->ready, set pad->caps to NULL, as is the documented
23386 behaviour in this state change. Fixes playback of series of
23387 media files when visualization is enabled in Totem.
23389 2005-08-07 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23391 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
23392 Allow NULL as filter-caps (which means "any").
23394 2005-08-05 Stefan Kost <ensonic@users.sf.net>
23396 * docs/libs/gstreamer-libs-sections.txt:
23397 * libs/gst/controller/gst-controller.c:
23398 * libs/gst/controller/gst-controller.h:
23399 * libs/gst/controller/gst-helper.c:
23400 adding more entries to the docs and fix small doc-bugs
23402 2005-08-05 Stefan Kost <ensonic@users.sf.net>
23404 * docs/gst/gstreamer-docs.sgml:
23405 * docs/gst/gstreamer-sections.txt:
23406 * docs/gst/gstreamer.types:
23407 * docs/gst/tmpl/gstbasesink.sgml:
23408 * docs/gst/tmpl/gstbasesrc.sgml:
23409 * docs/gst/tmpl/gstbasetransform.sgml:
23410 * docs/gst/tmpl/gstfakesrc.sgml:
23411 * gst/base/gstcollectpads.c:
23412 * gst/base/gstcollectpads.h:
23413 * libs/gst/controller/gst-controller.c:
23414 * libs/gst/controller/gst-controller.h:
23415 * libs/gst/controller/gst-helper.c:
23416 * libs/gst/controller/gst-interpolation.c:
23417 * libs/gst/controller/lib.c:
23418 added long/short desc for controller docs
23419 added collectpads base class docs
23420 added correct includes to base-class docs
23422 2005-08-05 Stefan Kost <ensonic@users.sf.net>
23424 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
23425 (gst_test_mono_source_set_property),
23426 (gst_test_mono_source_class_init), (GST_START_TEST),
23427 (gst_controller_suite):
23428 * docs/gst/gstreamer-docs.sgml:
23429 * docs/gst/gstreamer-sections.txt:
23430 * docs/gst/gstreamer.types:
23431 * docs/libs/gstreamer-libs-docs.sgml:
23432 * docs/libs/gstreamer-libs-sections.txt:
23433 * gst/base/gstadapter.c:
23434 * libs/gst/controller/gst-controller.c:
23435 (gst_controlled_property_new), (gst_controlled_property_free),
23436 (gst_controller_new_valist),
23437 (gst_controller_remove_properties_valist),
23438 (gst_controller_sink_values), (_gst_controller_finalize):
23439 * libs/gst/controller/gst-controller.h:
23440 * libs/gst/controller/gst-helper.c:
23441 (gst_object_control_properties), (gst_object_uncontrol_properties),
23442 (gst_object_get_controller), (gst_object_set_controller),
23443 (gst_object_sink_values), (gst_object_get_value_arrays),
23444 (gst_object_get_value_array):
23445 more tests (and fixes) for the controller
23446 more docs for the controller
23447 integrated companies docs for the adapter
23449 2005-08-05 Thomas Vander Stichele <thomas at apestaart dot org>
23451 * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
23452 (GST_START_TEST), (fakesrc_suite):
23453 add tests for sizetype
23455 2005-08-04 Andy Wingo <wingo@pobox.com>
23457 * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
23458 fixes buffer_alloc proxying among other things.
23460 * gst/base/gstbasetransform.c:
23461 * gst/base/gstbasetransform.h:
23462 Revert patch to gstbasetransform from 7-28 removing
23465 * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
23466 * gst/base/gstbasetransform.c (gst_base_transform_get_size):
23467 Semantics changed, should return not the size of the output buffer
23468 but the byte size of a buffer with a given caps.
23470 * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
23472 (gst_base_transform_configure_caps): Don't set out_size here: (in,
23473 out) are not the pad caps until setcaps finishes.
23474 (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
23475 not-in-place case as well. Deal with changing from in-place to
23476 not-in-place within calling pad_alloc_buffer. Still a bit
23477 concerned about the overhead here...
23479 2005-08-03 Andy Wingo <wingo@pobox.com>
23481 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
23482 fixating is an error.
23484 2005-08-04 Edward Hervey <edward@fluendo.com>
23486 * gst/base/gstadapter.h:
23487 Added gst_adapter_get_type() to the header
23489 2005-08-03 Stefan Kost <ensonic@users.sf.net>
23491 * check/Makefile.am:
23492 * check/gst-libs/controller.c:
23493 * libs/gst/controller/gst-controller.c:
23494 (gst_controller_new_valist):
23495 added check test suite for the controller
23496 * gst/base/gstpushsrc.c:
23499 2005-08-03 Stefan Kost <ensonic@users.sf.net>
23501 * docs/gst/Makefile.am:
23502 * docs/gst/gstreamer-docs.sgml:
23503 * docs/gst/gstreamer-sections.txt:
23504 * docs/gst/gstreamer.types:
23505 * docs/gst/tmpl/gstfakesrc.sgml:
23507 * gst/base/gstbasesink.c:
23508 * gst/base/gstbasesink.h:
23509 * gst/base/gstbasesrc.c:
23510 * gst/base/gstbasesrc.h:
23511 * gst/base/gstbasetransform.c:
23512 * gst/base/gstpushsrc.c:
23513 * gst/base/gstpushsrc.h:
23514 add short/long description docs to base classes
23515 add pushsrc to the docs
23516 remove consolidated doc fragments
23518 2005-08-03 Stefan Kost <ensonic@users.sf.net>
23521 * docs/libs/Makefile.am:
23522 * docs/libs/gstreamer-libs-docs.sgml:
23523 * docs/libs/gstreamer-libs-sections.txt:
23524 * docs/libs/gstreamer-libs.types:
23525 * examples/Makefile.am:
23526 * examples/controller/.cvsignore:
23527 * examples/controller/Makefile.am:
23528 * examples/controller/audio-example.c: (main):
23529 * libs/gst/Makefile.am:
23530 * libs/gst/controller/.cvsignore:
23531 * libs/gst/controller/Makefile.am:
23532 * libs/gst/controller/gst-controller.c:
23533 (on_object_controlled_property_changed), (gst_timed_value_compare),
23534 (gst_timed_value_find),
23535 (gst_controlled_property_set_interpolation_mode),
23536 (gst_controlled_property_new), (gst_controlled_property_free),
23537 (gst_controller_find_controlled_property),
23538 (gst_controller_new_valist), (gst_controller_new),
23539 (gst_controller_remove_properties_valist),
23540 (gst_controller_remove_properties), (gst_controller_set),
23541 (gst_controller_set_from_list), (gst_controller_unset),
23542 (gst_controller_get), (gst_controller_get_all),
23543 (gst_controller_sink_values), (gst_controller_get_value_arrays),
23544 (gst_controller_get_value_array),
23545 (gst_controller_set_interpolation_mode),
23546 (_gst_controller_finalize), (_gst_controller_init),
23547 (_gst_controller_class_init), (gst_controller_get_type):
23548 * libs/gst/controller/gst-controller.h:
23549 * libs/gst/controller/gst-helper.c: (g_object_control_properties),
23550 (g_object_uncontrol_properties), (g_object_get_controller),
23551 (g_object_set_controller), (g_object_sink_values),
23552 (g_object_get_value_arrays), (g_object_get_value_array):
23553 * libs/gst/controller/gst-interpolation.c:
23554 (gst_controlled_property_find_timed_value_node),
23555 (interpolate_none_get), (interpolate_trigger_get),
23556 (interpolate_trigger_get_value_array):
23557 * libs/gst/controller/lib.c: (gst_controller_init):
23558 * pkgconfig/Makefile.am:
23559 * pkgconfig/gstreamer-control-uninstalled.pc.in:
23560 * pkgconfig/gstreamer-control.pc.in:
23561 * testsuite/Makefile.am:
23562 * testsuite/controller/.cvsignore:
23563 * testsuite/controller/Makefile.am:
23564 * testsuite/controller/interpolator.c: (main):
23565 added controller code
23566 removed dparam pc files
23568 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
23569 * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
23570 (gst_collectpads_stop):
23571 Broadcast the condition when shutting down, to make sure we wake all
23572 threads up. Shut down pads on finalize, for safety.
23574 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
23575 * gst/base/gstbasetransform.c: (gst_base_transform_init),
23576 (gst_base_transform_handle_buffer),
23577 (gst_base_transform_change_state):
23578 Handle PAUSED->READY->PAUSED transition after negotiation
23580 * gst/gstmessage.c: (gst_message_init):
23581 Extra piece of debug for new messages.
23583 2005-08-01 Stefan Kost <ensonic@users.sf.net>
23586 * docs/gst/tmpl/gstbasesrc.sgml:
23587 * docs/gst/tmpl/gstelement.sgml:
23588 * docs/gst/tmpl/gstevent.sgml:
23589 * docs/gst/tmpl/gstfakesrc.sgml:
23590 * docs/gst/tmpl/gstformat.sgml:
23591 * docs/gst/tmpl/gstghostpad.sgml:
23592 * docs/gst/tmpl/gstpad.sgml:
23593 * docs/gst/tmpl/gstquery.sgml:
23594 * docs/gst/tmpl/gststructure.sgml:
23595 * docs/gst/tmpl/gsttaglist.sgml:
23596 * docs/gst/tmpl/gstvalue.sgml:
23597 * docs/libs/gstreamer-libs-docs.sgml:
23598 * docs/libs/gstreamer-libs-sections.txt:
23599 * docs/libs/gstreamer-libs.types:
23600 * libs/gst/Makefile.am:
23601 * libs/gst/control/.cvsignore:
23602 * libs/gst/control/Makefile.am:
23603 * libs/gst/control/control.c:
23604 * libs/gst/control/control.h:
23605 * libs/gst/control/dparam.c:
23606 * libs/gst/control/dparam.h:
23607 * libs/gst/control/dparam_smooth.c:
23608 * libs/gst/control/dparam_smooth.h:
23609 * libs/gst/control/dparamcommon.h:
23610 * libs/gst/control/dparammanager.c:
23611 * libs/gst/control/dparammanager.h:
23612 * libs/gst/control/dplinearinterp.c:
23613 * libs/gst/control/dplinearinterp.h:
23614 * libs/gst/control/unitconvert.c:
23615 * libs/gst/control/unitconvert.h:
23616 * testsuite/Makefile.am:
23617 * testsuite/dynparams/.cvsignore:
23618 * testsuite/dynparams/Makefile.am:
23619 * testsuite/dynparams/dparamstest.c:
23620 * tools/Makefile.am:
23621 * tools/gst-inspect.c: (print_element_info), (main):
23622 * tools/gst-xmlinspect.c: (print_element_info), (main):
23623 deactivate and remove dparams (libgstcontrol)
23625 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
23627 * gst/elements/gsttypefindelement.c:
23628 (gst_type_find_element_have_type), (gst_type_find_element_init),
23629 (stop_typefinding), (gst_type_find_element_handle_event),
23630 (gst_type_find_element_chain), (gst_type_find_element_getrange):
23631 * gst/elements/gsttypefindelement.h:
23632 Set caps on all outgoing buffers, not just the first one.
23634 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
23636 * gst/elements/gsttypefindelement.c:
23637 (gst_type_find_element_have_type),
23638 (gst_type_find_element_check_set_buffer_caps),
23639 (gst_type_find_element_init), (stop_typefinding),
23640 (gst_type_find_element_handle_event),
23641 (gst_type_find_element_chain), (gst_type_find_element_getrange):
23642 * gst/elements/gsttypefindelement.h:
23643 Set caps on first outgoing buffer when we've found the type.
23645 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
23647 * docs/gst/gstreamer-docs.sgml:
23648 * docs/gst/gstreamer-sections.txt:
23649 * docs/gst/tmpl/gstscheduler.sgml:
23650 * docs/gst/tmpl/gstschedulerfactory.sgml:
23651 Remove some old cruft from docs.
23653 2005-07-31 Tim-Philipp Müller <tim at centricular dot net>
23656 Fix inline docs for GstPadLinkReturn.
23658 * gst/gststructure.c: (gst_structure_has_name):
23659 * gst/gststructure.h:
23660 * docs/gst/gstreamer-sections.txt:
23661 New API: gst_structure_has_name().
23663 2005-07-30 Tim-Philipp Müller <tim at centricular dot net>
23666 Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
23667 and _LARGEFILE_SOURCE in config.h as required. Do not
23668 export those flags in our .pc files any longer (#142209).
23670 Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
23672 * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
23673 (gst_file_sink_do_seek), (gst_file_sink_event),
23674 (gst_file_sink_get_current_offset), (gst_file_sink_render):
23675 Redo seek/tell calls with large file support in mind; add some
23676 debugging messages; add log message that tells us when large
23677 file support is unavailable or not enabled for some reason.
23679 * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
23680 Add log message that tells us when large file support
23681 is unavailable or not enabled for some reason.
23683 2005-07-29 Wim Taymans <wim@fluendo.com>
23685 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
23686 Added test for removing an element with ghostpad from a bin.
23687 Fixed test as current implementation does the right thing.
23689 * gst/gstghostpad.c: (gst_proxy_pad_class_init),
23690 (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
23691 (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
23692 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
23693 (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
23694 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
23695 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
23696 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
23697 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
23698 (gst_proxy_pad_get_target), (gst_proxy_pad_init),
23699 (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
23700 (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
23701 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
23702 (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
23703 (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
23704 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
23705 * gst/gstghostpad.h:
23706 Clean up ghostpads, remove properties for internal stuff.
23709 Prepare for switching targets, not all use cases work yet.
23711 2005-07-29 Wim Taymans <wim@fluendo.com>
23713 * docs/design/part-gstghostpad.txt:
23716 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
23717 (gst_bin_remove_func):
23718 Unlinking pads while holding the bin LOCK is not a good
23721 * gst/gstpad.c: (gst_pad_class_init),
23722 (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
23723 (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
23724 No prob setting template after creating the pad.
23726 2005-07-29 Jan Schmidt <thaytan@mad.scientist.com>
23728 * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
23729 (gst_bus_peek), (gst_bus_source_dispatch),
23730 (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
23731 (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
23732 gst_bus_poll may be called from other threads. Handle
23733 this nicely by not making poll_data disappear off the
23734 stack once gst_bus_poll returns.
23735 gst_bus_peek now increments the refcount on the returned
23738 2005-07-29 Wim Taymans <wim@fluendo.com>
23740 * docs/design/part-gstghostpad.txt:
23741 Overview of current GhostPad datastructures and use
23742 cases for changing the target.
23744 2005-07-28 Wim Taymans <wim@fluendo.com>
23746 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
23747 Added checks for hierarchy consistency whan adding linked
23750 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
23751 Added check to test element scheduling without bin/pipeline.
23753 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
23754 First add elements to bin, then link.
23756 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
23757 (gst_bin_remove_func):
23758 Unlink pads from elements added/removed from bin to maintain
23759 hierarchy consistency.
23761 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23763 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
23764 (gst_base_transform_handle_buffer):
23765 * gst/base/gstbasetransform.h:
23766 Remove broken delay_configure (fixes renegotiation of software
23767 scaling pipelines); remove some leftover printf()s.
23769 2005-07-28 Wim Taymans <wim@fluendo.com>
23771 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
23772 Added some more tests for wrong hierarchy
23774 * docs/design/part-overview.txt:
23777 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
23780 * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
23781 (gst_element_dispose):
23782 Some more cleanups.
23784 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
23785 (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
23786 (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
23787 (gst_pad_set_caps), (gst_pad_send_event):
23788 Check for correct hierarchy when linking pads. Moving to
23789 strict requirement for ghostpads when linking elements in
23793 Clean ups. Added WRONG_HIERARCHY return value.
23795 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23797 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
23798 Better debug if no transform is possible.
23800 2005-07-27 Wim Taymans <wim@fluendo.com>
23802 * docs/random/wtay/network-transp:
23803 Some old doc I had.
23805 2005-07-27 Wim Taymans <wim@fluendo.com>
23807 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
23808 (gst_dp_event_from_packet):
23809 Fix serialization of seek events.
23811 2005-07-27 Wim Taymans <wim@fluendo.com>
23813 * check/gst-libs/gdp.c: (GST_START_TEST):
23814 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
23815 Fix compilation and fix event serialization.
23817 2005-07-27 Wim Taymans <wim@fluendo.com>
23820 * docs/design/part-TODO.txt:
23821 * docs/design/part-events.txt:
23824 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23825 (gst_base_sink_event), (gst_base_sink_do_sync),
23826 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
23827 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
23828 (gst_base_src_do_seek), (gst_base_src_event_handler),
23829 (gst_base_src_loop):
23830 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
23831 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
23832 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
23833 (gst_base_transform_event), (gst_base_transform_handle_buffer),
23834 (gst_base_transform_set_passthrough),
23835 (gst_base_transform_is_passthrough):
23836 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
23837 * gst/elements/gstfilesink.c: (gst_file_sink_event):
23843 * gst/gstelement.c: (gst_element_seek):
23844 * gst/gstelement.h:
23845 Update gst_element_seek.
23847 * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
23848 (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
23849 (gst_event_new_flush_start), (gst_event_new_flush_stop),
23850 (gst_event_new_eos), (gst_event_new_newsegment),
23851 (gst_event_parse_newsegment), (gst_event_new_tag),
23852 (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
23853 (gst_event_parse_qos), (gst_event_new_seek),
23854 (gst_event_parse_seek), (gst_event_new_navigation):
23856 Make GstEvent use GstStructure. Add parsing code, make sure the
23857 API is sufficiently generic.
23858 Mark possible directions of events and serialization.
23860 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
23861 (_gst_message_copy), (gst_message_new_segment_start),
23862 (gst_message_new_segment_done), (gst_message_new_custom),
23863 (gst_message_parse_segment_start),
23864 (gst_message_parse_segment_done):
23867 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
23868 (gst_pad_set_caps), (gst_pad_send_event):
23869 Update for new events.
23870 Catch events sent in wrong directions.
23872 * gst/gstqueue.c: (gst_queue_link_src),
23873 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
23874 (gst_queue_handle_src_query):
23879 Remove event code from this file.
23881 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
23882 (gst_dp_event_from_packet):
23885 2005-07-27 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23887 * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
23888 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
23889 (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
23890 Make debugging actually useful.
23892 2005-07-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23894 * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
23895 (gst_pad_fixate_caps):
23896 Implement default fixation once again, so that gst_pad_fixate()
23897 actually does anything at all. This probably needs to be some
23898 sort of a last resort, and use profile-based fixation first, but
23899 since that doesn't exist yet, this is the best we have. Fixes
23900 visualization in Totem.
23902 2005-07-22 Wim Taymans <wim@fluendo.com>
23904 * docs/design/part-events.txt:
23907 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23908 (gst_base_sink_do_sync), (gst_base_sink_activate_push),
23909 (gst_base_sink_activate_pull):
23910 Some more comments.
23912 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
23913 (gst_fake_src_create):
23914 Fix handoff marshall.
23916 * gst/elements/gstidentity.c: (gst_identity_class_init),
23917 (gst_identity_transform_ip):
23918 We're a real inplace element.
23920 * gst/gstbus.c: (gst_bus_post):
23921 Added some comments.
23923 * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
23924 * tests/muxing/case1.c: (main):
23925 * tests/sched/dynamic-pipeline.c: (main):
23926 * tests/sched/interrupt1.c: (main):
23927 * tests/sched/interrupt2.c: (main):
23928 * tests/sched/interrupt3.c: (main):
23929 * tests/sched/runxml.c: (main):
23930 * tests/sched/sched-stress.c: (main):
23931 * tests/seeking/seeking1.c: (event_received), (main):
23932 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
23934 * tests/threadstate/threadstate3.c: (main):
23935 * tests/threadstate/threadstate4.c: (main):
23936 * tests/threadstate/threadstate5.c: (main):
23939 2005-07-21 Wim Taymans <wim@fluendo.com>
23941 * docs/design/part-seeking.txt:
23942 Some small additions.
23944 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23945 (gst_base_sink_get_times), (gst_base_sink_do_sync),
23946 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
23947 * gst/base/gstbasesink.h:
23948 discont values are gint64, handle the math correctly.
23950 * gst/base/gstbasesrc.c: (gst_base_src_loop):
23951 Make the basesrc report error if the source pad is not linked.
23953 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
23954 (gst_queue_loop), (gst_queue_handle_src_query),
23955 (gst_queue_src_activate_push):
23956 Make queue collect data even if the srcpad is not linked.
23957 Start pushing out data as soon as it is linked.
23959 * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
23961 Added gst_flow_get_name() to ease error reporting.
23963 2005-07-20 Wim Taymans <wim@fluendo.com>
23965 * gst/gstmessage.c: (gst_message_new_segment_start),
23966 (gst_message_new_segment_done), (gst_message_parse_segment_start),
23967 (gst_message_parse_segment_done):
23968 * gst/gstmessage.h:
23969 Added a bunch of messages for advanced seeking.
23971 * gst/parse/grammar.y:
23972 * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
23973 (gst_dpman_state_changed):
23974 Fix some new-pad -> pad-added signals
23976 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23978 * docs/manual/appendix-porting.xml:
23979 * docs/pwg/appendix-porting.xml:
23980 Document new-pad/state-change signal renames and the FixedList
23983 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23985 * docs/manual/advanced-autoplugging.xml:
23986 * docs/manual/basics-helloworld.xml:
23987 * docs/manual/basics-pads.xml:
23988 * docs/random/ds/0.9-suggested-changes:
23989 * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
23990 * gst/gstelement.h:
23994 * gst/gststructure.c: (gst_structure_value_get_generic_type),
23995 (gst_structure_parse_array), (gst_structure_parse_value):
23996 * gst/gstvalue.c: (gst_type_is_fixed),
23997 (gst_value_list_prepend_value), (gst_value_list_append_value),
23998 (gst_value_list_get_size), (gst_value_list_get_value),
23999 (gst_value_transform_array_string), (gst_value_serialize_array),
24000 (gst_value_deserialize_array), (gst_value_intersect_array),
24001 (gst_value_is_fixed), (_gst_value_initialize):
24003 GstElement::new-pad -> pad-added, GstElement::state-change ->
24004 state-changed, GstValueFixedList -> GstValueArray, add format and
24005 flags as their own arguments in gst_element_seek() (should improve
24006 "bindeability"), remove function generators since they don't work
24007 under a whole bunch of compilers (they were deprecated already
24010 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24012 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
24013 (_gst_debug_register_funcptr):
24015 Fix illegal cast on some platforms (#309253).
24017 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24019 * gst/gstmessage.c: (gst_message_new_custom):
24020 * gst/gstmessage.h:
24021 Add _new_custom, make _new_application a macro to _new_custom.
24023 2005-07-20 Wim Taymans <wim@fluendo.com>
24025 * gst/base/gstbasesrc.c: (gst_base_src_init),
24026 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
24027 * gst/base/gstbasesrc.h:
24028 Add a gboolean to decide when to push out a discont.
24030 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
24031 (gst_queue_loop), (gst_queue_handle_src_query),
24032 (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
24033 (gst_queue_set_property), (gst_queue_get_property):
24036 * tests/threadstate/threadstate1.c: (main):
24037 Make a thread test compile and run... very silly..
24040 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24042 * docs/manual/appendix-porting.xml:
24043 Mention removal of libgstgconf-0.9.la and existence of gconf
24046 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24048 * docs/pwg/advanced-clock.xml:
24049 * docs/pwg/appendix-porting.xml:
24050 * docs/pwg/intro-preface.xml:
24051 * docs/pwg/other-base.xml:
24052 * docs/pwg/other-manager.xml:
24053 * docs/pwg/other-nton.xml:
24054 * docs/pwg/other-ntoone.xml:
24055 * docs/pwg/other-oneton.xml:
24056 * docs/pwg/pwg.xml:
24057 Document base classes, update sections of n-to-1 and 1-to-n (muxer,
24058 demuxer), remove n-to-n (was never written), fix some code examples
24059 and links and update the porting section to include all this.
24061 2005-07-19 Wim Taymans <wim@fluendo.com>
24063 * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
24064 (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
24065 (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
24066 (gst_queue_src_activate_push), (gst_queue_change_state),
24067 (gst_queue_get_property):
24069 Propagate GstFlowReturn more intelligently upstream and output
24070 an ERROR/EOS when streaming stopped due to fatal error.
24072 2005-07-19 Wim Taymans <wim@fluendo.com>
24074 * tools/gst-launch.c: (check_intr), (event_loop), (main):
24075 Don't block forever for the state change to complete, the
24076 pipeline already did with a sensible timeout.
24078 2005-07-19 Wim Taymans <wim@fluendo.com>
24080 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
24081 Make sure we never call the create function is we
24084 2005-07-19 Andy Wingo <wingo@pobox.com>
24086 * gst/parse/parse.l: Attempt to solve bug #172815.
24088 2005-07-19 Wim Taymans <wim@fluendo.com>
24090 * docs/design/part-clocks.txt:
24091 * docs/design/part-events.txt:
24092 * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
24093 Small docs updates.
24094 Only update the seeking values when we are not
24097 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
24099 * gst/base/gstbasesrc.c: (gst_base_src_loop):
24100 Oops, ignore the result of gst_pad_push_event here.
24102 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
24104 * gst/base/gstbasesrc.c: (gst_base_src_loop),
24105 (gst_base_src_activate_push):
24106 Send discont event from the loop function, as pads
24107 aren't activated yet in the activate_push handler.
24109 * gst/gstbin.c: (bin_bus_handler):
24110 Don't leak element name.
24112 2005-07-18 Andy Wingo <wingo@pobox.com>
24114 * configure.ac: Use AS_LIBTOOL_TAGS.
24116 2005-07-18 Wim Taymans <wim@fluendo.com>
24118 * docs/gst/gstreamer.types:
24119 Remove deleted types.
24121 2005-07-18 Wim Taymans <wim@fluendo.com>
24123 * check/elements/gstfakesrc.c: (GST_START_TEST):
24126 * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
24127 (init_popt_callback):
24129 * gst/gst_private.h:
24130 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
24131 (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
24134 * gst/gstconfig.h.in:
24135 * gst/gstelement.c: (gst_element_class_init),
24136 (gst_element_set_base_time), (gst_element_get_base_time),
24137 (iterator_fold_with_resync), (gst_element_change_state),
24138 (gst_element_dispose), (gst_element_get_bus):
24139 * gst/gstelement.h:
24140 * gst/gstelementfactory.h:
24141 * gst/gsterror.c: (_gst_core_errors_init):
24144 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
24146 * gst/gstinfo.c: (_gst_debug_init):
24147 * gst/gstmessage.c: (_gst_message_copy):
24148 * gst/gstmessage.h:
24149 * gst/gstminiobject.h:
24152 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
24153 (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
24156 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
24157 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
24158 (gst_pipeline_get_last_stream_time):
24159 * gst/gstpipeline.h:
24160 * gst/gstpluginfeature.h:
24162 * gst/gstscheduler.c:
24163 * gst/gstscheduler.h:
24164 * gst/gststructure.h:
24165 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
24166 (gst_task_finalize), (gst_task_func), (gst_task_create),
24167 (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
24168 (gst_task_stop), (gst_task_pause):
24170 * gst/gsttypefind.h:
24172 * gst/registries/gstlibxmlregistry.c: (load_feature),
24173 (gst_xml_registry_load), (gst_xml_registry_save_feature):
24174 * gst/registries/gstxmlregistry.c:
24175 (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
24176 * gst/schedulers/threadscheduler.c:
24177 * libs/gst/control/dparammanager.h:
24178 * tools/gst-inspect.c: (print_element_list),
24179 (print_plugin_features), (print_element_features):
24180 * tools/gst-xmlinspect.c: (print_element_list),
24181 (print_plugin_info), (main):
24182 Removed plugable schedulers.
24183 Removed Scheduler/Manager from elements.
24184 Removed gsttypes.h, rearranged includes.
24185 Removed dependency pad<->element, element<>pipeline, and
24186 various others, fix includes.
24187 implement gst_pad_get_parent() with gst_object_get_parent()
24188 Make GstTask sefcontained.
24189 Fix _get_state() on GstBin, it did not return ASYNC with a 0
24191 Fix endless loop in iterator_fold_with_resync.
24194 2005-07-18 Wim Taymans <wim@fluendo.com>
24200 2005-07-18 Wim Taymans <wim@fluendo.com>
24203 No more cothreads.h
24205 2005-07-18 Wim Taymans <wim@fluendo.com>
24209 Let's remove these.
24211 2005-07-18 Wim Taymans <wim@fluendo.com>
24213 * docs/design/part-dynamic.txt:
24214 * docs/design/part-events.txt:
24215 * docs/design/part-seeking.txt:
24216 Some more docs in the works.
24218 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
24219 (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
24220 (gst_base_transform_setcaps), (gst_base_transform_get_size),
24221 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
24222 (gst_base_transform_handle_buffer),
24223 (gst_base_transform_sink_activate_push),
24224 (gst_base_transform_src_activate_pull),
24225 (gst_base_transform_set_passthrough),
24226 (gst_base_transform_is_passthrough):
24229 * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
24232 * gst/gstevent.c: (gst_event_finalize):
24235 * gst/gstutils.c: (gst_element_unlink),
24236 (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
24237 (gst_pad_proxy_setcaps):
24239 Add _get_parent_element() to get a pads parent as an element.
24241 2005-07-18 Wim Taymans <wim@fluendo.com>
24243 * check/gst/gstbin.c: (GST_START_TEST):
24246 2005-07-18 Wim Taymans <wim@fluendo.com>
24248 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
24249 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
24250 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
24251 (gst_base_sink_event), (gst_base_sink_do_sync),
24252 (gst_base_sink_chain), (gst_base_sink_loop),
24253 (gst_base_sink_deactivate), (gst_base_sink_activate_push),
24254 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
24256 Fix logic for returning ASYNC when not prerolled.
24258 2005-07-18 Wim Taymans <wim@fluendo.com>
24260 * gst/gstqueue.c: (gst_queue_handle_sink_event):
24261 Fix nasty refcount bug.
24263 2005-07-16 Philippe Khalaf <burger@speedy.org>
24265 * gst/elements/gstfdsrc.c:
24266 * gst/elements/gstfdsrc.h:
24267 * gst/elements/gstelements.c:
24268 * gst/elements/Makefile.am:
24269 Ported fdsrc to 0.9.
24271 2005-07-16 Wim Taymans <wim@fluendo.com>
24273 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
24274 (gst_base_sink_do_sync):
24277 2005-07-16 Wim Taymans <wim@fluendo.com>
24279 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
24280 (gst_base_sink_event), (gst_base_sink_get_times),
24281 (gst_base_sink_do_sync), (gst_base_sink_change_state):
24282 * gst/base/gstbasesink.h:
24283 Store and use discont values when syncing buffers as described
24286 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
24287 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
24288 (gst_base_src_activate_push):
24289 Push discont event when starting.
24291 * gst/elements/gstidentity.c: (gst_identity_transform):
24294 * gst/gstbin.c: (gst_bin_change_state):
24295 Small cleanups in base_time distribution.
24297 * gst/gstelement.c: (gst_element_set_base_time),
24298 (gst_element_get_base_time), (gst_element_change_state):
24299 * gst/gstelement.h:
24300 Added methods for the base_time of the element.
24303 * gst/gstpipeline.c: (gst_pipeline_send_event),
24304 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
24305 (gst_pipeline_get_last_stream_time):
24306 * gst/gstpipeline.h:
24308 Handle seeking as described in design doc, remove stream_time
24310 Cleanups clock and stream_time selection code. Added accessors
24311 for the stream_time.
24314 2005-07-16 Andy Wingo <wingo@pobox.com>
24316 * gst/gsterror.c (_gst_core_errors_init): Use the magic word
24319 2005-07-16 Wim Taymans <wim@fluendo.com>
24321 * check/gst/gstbin.c: (GST_START_TEST):
24322 Make elements silent as the deep_notify refs the
24323 parent, which might make the test fail.
24325 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
24326 Don't hold the lock for too long.
24328 2005-07-16 Tim-Philipp Müller <tim at centricular dot net>
24330 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
24331 Don't unref the caps we passed to gst_caps_make_writable() after
24332 passing them. gst_caps_make_writable() will do that for us.
24334 2005-07-15 Andy Wingo <wingo@pobox.com>
24336 * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
24339 * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
24340 own marshalling function for the handoff signal. Properly type the
24341 buffer as a buffer. Fixes some warnings. Should do a more general
24343 (gst_identity_class_init): Plug into the right marshaller.
24345 2005-07-15 Wim Taymans <wim@fluendo.com>
24347 * docs/design/part-TODO.txt:
24348 * docs/design/part-clocks.txt:
24349 * docs/design/part-element-sink.txt:
24350 * docs/design/part-events.txt:
24351 * docs/design/part-gstpipeline.txt:
24352 Updated docs, mostly DISCONT related.
24354 2005-07-15 Tim-Philipp Müller <tim at centricular dot net>
24356 * docs/pwg/building-pads.xml:
24357 s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
24359 2005-07-15 Andy Wingo <wingo@pobox.com>
24361 * tools/gst-typefind.c: Update, add copyright block.
24363 * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
24364 Normalize and truncate caps before fixation.
24367 * gst/gstcaps.c (gst_caps_truncate): New function, destructively
24368 discards all but the first structure from its argument.
24370 2005-07-15 Wim Taymans <wim@fluendo.com>
24372 * gst/base/gstbasetransform.c: (gst_base_transform_init),
24373 (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
24374 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
24375 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
24376 (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
24377 (gst_base_transform_chain), (gst_base_transform_change_state),
24378 (gst_base_transform_set_passthrough),
24379 (gst_base_transform_is_passthrough):
24380 * gst/base/gstbasetransform.h:
24381 Make passthrough work using the bufferpools.
24382 Changed API a bit, subclasses have to write into a buffer
24383 provided by the base class.
24384 More debug info in nego functions.
24386 * gst/elements/gstidentity.c: (gst_identity_init),
24387 (gst_identity_transform):
24388 Port to new base class.
24390 2005-07-15 Wim Taymans <wim@fluendo.com>
24392 * gst/gstmessage.c: (gst_message_new_state_changed):
24393 * tools/gst-launch.c: (event_loop), (main):
24394 Totally dump messages in -launch with the -m option.
24395 Fix message name for State messages,
24397 2005-07-14 Wim Taymans <wim@fluendo.com>
24399 * gst/base/gstbasesrc.c: (gst_base_src_loop):
24400 Post error messages on errors.
24402 2005-07-14 Wim Taymans <wim@fluendo.com>
24404 * gst/gstcaps.c: (gst_caps_do_simplify):
24408 Define error for stream stopped.
24410 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
24411 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
24412 Do proper return values.
24414 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
24415 (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
24416 (gst_pad_get_range):
24417 Better return values.
24420 Reorganise return values, add macro to check for fatal errors.
24422 * gst/gstqueue.c: (gst_queue_chain):
24423 Return proper GstFlowReturn values,
24425 2005-07-14 Thomas Vander Stichele <thomas at apestaart dot org>
24427 * docs/gst/gstreamer-sections.txt:
24428 * docs/gst/gstreamer.types:
24429 * docs/gst/tmpl/gst.sgml:
24430 * docs/gst/tmpl/gstbasesink.sgml:
24431 * docs/gst/tmpl/gstbasesrc.sgml:
24432 * docs/gst/tmpl/gstbasetransform.sgml:
24433 * docs/gst/tmpl/gstbin.sgml:
24434 * docs/gst/tmpl/gstbuffer.sgml:
24435 * docs/gst/tmpl/gstcaps.sgml:
24436 * docs/gst/tmpl/gstclock.sgml:
24437 * docs/gst/tmpl/gstcompat.sgml:
24438 * docs/gst/tmpl/gstconfig.sgml:
24439 * docs/gst/tmpl/gstelement.sgml:
24440 * docs/gst/tmpl/gstelementdetails.sgml:
24441 * docs/gst/tmpl/gstelementfactory.sgml:
24442 * docs/gst/tmpl/gstenumtypes.sgml:
24443 * docs/gst/tmpl/gsterror.sgml:
24444 * docs/gst/tmpl/gstevent.sgml:
24445 * docs/gst/tmpl/gstfakesink.sgml:
24446 * docs/gst/tmpl/gstfakesrc.sgml:
24447 * docs/gst/tmpl/gstfilesink.sgml:
24448 * docs/gst/tmpl/gstfilesrc.sgml:
24449 * docs/gst/tmpl/gstfilter.sgml:
24450 * docs/gst/tmpl/gstformat.sgml:
24451 * docs/gst/tmpl/gstghostpad.sgml:
24452 * docs/gst/tmpl/gstimplementsinterface.sgml:
24453 * docs/gst/tmpl/gstindex.sgml:
24454 * docs/gst/tmpl/gstindexfactory.sgml:
24455 * docs/gst/tmpl/gstinfo.sgml:
24456 * docs/gst/tmpl/gstiterator.sgml:
24457 * docs/gst/tmpl/gstmacros.sgml:
24458 * docs/gst/tmpl/gstmemchunk.sgml:
24459 * docs/gst/tmpl/gstminiobject.sgml:
24460 * docs/gst/tmpl/gstobject.sgml:
24461 * docs/gst/tmpl/gstpad.sgml:
24462 * docs/gst/tmpl/gstpadtemplate.sgml:
24463 * docs/gst/tmpl/gstparse.sgml:
24464 * docs/gst/tmpl/gstpipeline.sgml:
24465 * docs/gst/tmpl/gstplugin.sgml:
24466 * docs/gst/tmpl/gstpluginfeature.sgml:
24467 * docs/gst/tmpl/gstquery.sgml:
24468 * docs/gst/tmpl/gstqueue.sgml:
24469 * docs/gst/tmpl/gstregistry.sgml:
24470 * docs/gst/tmpl/gstregistrypool.sgml:
24471 * docs/gst/tmpl/gstscheduler.sgml:
24472 * docs/gst/tmpl/gstschedulerfactory.sgml:
24473 * docs/gst/tmpl/gststructure.sgml:
24474 * docs/gst/tmpl/gstsystemclock.sgml:
24475 * docs/gst/tmpl/gsttaglist.sgml:
24476 * docs/gst/tmpl/gsttagsetter.sgml:
24477 * docs/gst/tmpl/gsttrace.sgml:
24478 * docs/gst/tmpl/gsttrashstack.sgml:
24479 * docs/gst/tmpl/gsttypefind.sgml:
24480 * docs/gst/tmpl/gsttypefindfactory.sgml:
24481 * docs/gst/tmpl/gsttypes.sgml:
24482 * docs/gst/tmpl/gsturihandler.sgml:
24483 * docs/gst/tmpl/gsturitype.sgml:
24484 * docs/gst/tmpl/gstutils.sgml:
24485 * docs/gst/tmpl/gstvalue.sgml:
24486 * docs/gst/tmpl/gstversion.sgml:
24487 * docs/gst/tmpl/gstxml.sgml:
24488 * docs/libs/tmpl/gstcontrol.sgml:
24489 * docs/libs/tmpl/gstdataprotocol.sgml:
24490 * docs/libs/tmpl/gstdparam.sgml:
24491 * docs/libs/tmpl/gstdplinint.sgml:
24492 * docs/libs/tmpl/gstdpman.sgml:
24493 * docs/libs/tmpl/gstdpsmooth.sgml:
24494 * docs/libs/tmpl/gstgetbits.sgml:
24495 * docs/libs/tmpl/gstunitconvert.sgml:
24496 * gst/base/gstpushsrc.c: (gst_push_src_get_type),
24497 (gst_push_src_base_init), (gst_push_src_class_init),
24498 (gst_push_src_init), (gst_push_src_create):
24499 * gst/base/gstpushsrc.h:
24500 * gst/elements/gstelements.c:
24501 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
24502 (gst_fake_sink_base_init), (gst_fake_sink_class_init),
24503 (gst_fake_sink_init), (gst_fake_sink_set_property),
24504 (gst_fake_sink_get_property), (gst_fake_sink_get_times),
24505 (gst_fake_sink_event), (gst_fake_sink_preroll),
24506 (gst_fake_sink_render), (gst_fake_sink_change_state):
24507 * gst/elements/gstfakesink.h:
24508 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
24509 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
24510 (gst_fake_src_base_init), (gst_fake_src_class_init),
24511 (gst_fake_src_init), (gst_fake_src_event_handler),
24512 (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
24513 (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
24514 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
24515 (gst_fake_src_create_buffer), (gst_fake_src_create),
24516 (gst_fake_src_start), (gst_fake_src_stop):
24517 * gst/elements/gstfakesrc.h:
24518 * gst/elements/gstfilesink.c: (_do_init),
24519 (gst_file_sink_base_init), (gst_file_sink_class_init),
24520 (gst_file_sink_init), (gst_file_sink_dispose),
24521 (gst_file_sink_set_location), (gst_file_sink_set_property),
24522 (gst_file_sink_get_property), (gst_file_sink_open_file),
24523 (gst_file_sink_close_file), (gst_file_sink_query),
24524 (gst_file_sink_event), (gst_file_sink_render),
24525 (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
24526 (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
24527 (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
24528 * gst/elements/gstfilesink.h:
24529 * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
24530 (gst_file_src_class_init), (gst_file_src_init),
24531 (gst_file_src_finalize), (gst_file_src_set_location),
24532 (gst_file_src_set_property), (gst_file_src_get_property),
24533 (gst_file_src_map_region), (gst_file_src_map_small_region),
24534 (gst_file_src_create_mmap), (gst_file_src_create_read),
24535 (gst_file_src_create), (gst_file_src_is_seekable),
24536 (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
24537 (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
24538 (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
24539 (gst_file_src_uri_handler_init):
24540 * gst/elements/gstfilesrc.h:
24541 more autistic cleanliness in functions/names/defines
24543 2005-07-13 Andy Wingo <wingo@pobox.com>
24545 * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
24546 source couldn't negotiate.
24548 * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
24552 * gst/gstutils.c (gst_element_link_pads_filtered): New old
24553 function. I am channeling Hades. Put your boots on suckers!!!
24555 2005-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
24557 * testsuite/caps/Makefile.am:
24558 * testsuite/caps/value_compare.c:
24559 * testsuite/caps/value_intersect.c:
24560 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
24561 move two testsuite apps over to the check dir
24563 2005-07-12 Wim Taymans <wim@fluendo.com>
24565 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
24566 Added more debug info in the negotiate process.
24568 * gst/gstmessage.h:
24569 Prepare for segment playback.
24571 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
24577 * tools/gst-launch.c: (main):
24578 NULL pipeline on errors.
24580 2005-07-12 Andy Wingo <wingo@pobox.com>
24582 * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
24583 not it comes from a malloc region. Make sure our copy gets freed.
24585 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
24587 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
24588 * check/gst/gstmessage.c: (GST_START_TEST):
24589 * check/gst/gststructure.c: (GST_START_TEST),
24590 (gst_structure_suite), (main):
24592 * gst/gstelement.c: (gst_element_message_full):
24593 clean up GError and debug string now that they get copied
24594 * gst/gstmessage.c: (gst_message_new_error),
24595 (gst_message_new_warning), (gst_message_parse_error),
24596 (gst_message_parse_warning):
24597 use GST_TYPE_G_ERROR for structure_new, and take copies of
24598 arguments, so that we don't mess up refcounting
24600 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
24602 * check/Makefile.am:
24603 add per-test valgrind targets
24604 * check/gst-libs/gdp.c: (GST_START_TEST),
24605 (gst_data_protocol_suite), (main):
24608 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
24610 * check/Makefile.am:
24611 instate more valgrindable tests
24612 * check/elements/gstfakesrc.c: (chain_func), (event_func),
24613 (GST_START_TEST), (fakesrc_suite):
24614 * check/gst/gstpad.c: (GST_START_TEST):
24615 * check/gst/gststructure.c: (GST_START_TEST):
24617 * docs/gst/tmpl/gstminiobject.sgml:
24618 * gst/gstpad.c: (gst_pad_finalize):
24619 fix the static mutex leak
24621 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
24623 * check/Makefile.am:
24624 add two more tests for valgrinding
24625 * check/gst/gstvalue.c: (GST_START_TEST):
24626 test refcount of deserialized buffer, found a leak
24627 * docs/gst/gstreamer-docs.sgml:
24628 * docs/gst/gstreamer-sections.txt:
24629 * docs/gst/gstreamer.types:
24630 * docs/gst/tmpl/gstminiobject.sgml:
24631 add miniobject to docs
24632 * gst/gstminiobject.c:
24634 * gst/gstvalue.c: (gst_value_deserialize_buffer),
24635 (gst_string_unwrap):
24636 fix a hard-to-find invalid write for one of the tests
24637 fix a leak for deserialized buffers
24639 2005-07-11 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24641 * docs/pwg/advanced-events.xml:
24642 * docs/pwg/advanced-request.xml:
24643 * docs/pwg/advanced-scheduling.xml:
24644 * docs/pwg/appendix-porting.xml:
24645 * docs/pwg/building-boiler.xml:
24646 * docs/pwg/intro-preface.xml:
24647 * docs/pwg/other-ntoone.xml:
24648 Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
24649 of example code and explanation for pad activation, loop() and
24650 getrange() functions and a bit more. Remove old comments pointing
24652 * examples/pwg/Makefile.am:
24653 Add loop/getrange examples.
24655 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
24658 check for valgrind binary + some fixes
24660 valgrind suppressions for the tests
24661 * check/Makefile.am:
24662 add a valgrind: target that valgrinds the unit tests
24663 * check/gst/gst.c: (GST_START_TEST), (gst_suite):
24664 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
24665 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
24666 * check/gst/gstghostpad.c:
24668 * check/gst/gstdata.c:
24670 * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
24671 (thread_unref), (gst_mini_object_suite), (main):
24673 * gst/gst.c: (gst_deinit):
24675 add a method to clean up.
24676 * gst/gstsystemclock.c: (gst_system_clock_dispose),
24677 (gst_system_clock_obtain):
24678 allow for disposing the system clock.
24679 * tools/gst-launch.c: (main):
24682 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
24684 * docs/gst/tmpl/gstbasesrc.sgml:
24685 * docs/gst/tmpl/gstfakesrc.sgml:
24686 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
24687 (gst_base_src_init), (gst_base_src_set_property),
24688 (gst_base_src_get_property), (gst_base_src_get_range),
24689 (gst_base_src_start):
24690 * gst/base/gstbasesrc.h:
24691 add num-buffers property
24692 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
24693 (gst_fakesrc_init), (gst_fakesrc_set_property),
24694 (gst_fakesrc_get_property), (gst_fakesrc_create),
24695 (gst_fakesrc_start):
24696 remove num-buffers property
24698 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
24700 * docs/gst/gstreamer-sections.txt:
24701 * docs/gst/tmpl/gstbasesink.sgml:
24702 * docs/gst/tmpl/gstbasesrc.sgml:
24703 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
24704 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
24705 (gst_base_sink_finalize), (gst_base_sink_set_clock),
24706 (gst_base_sink_set_property), (gst_base_sink_get_property),
24707 (gst_base_sink_handle_object), (gst_base_sink_event),
24708 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
24709 (gst_base_sink_handle_buffer), (gst_base_sink_chain),
24710 (gst_base_sink_loop), (gst_base_sink_deactivate),
24711 (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
24712 (gst_base_sink_change_state):
24713 * gst/base/gstbasesink.h:
24714 * gst/base/gstbasesrc.h:
24715 * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
24716 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
24717 (gst_filesink_init):
24718 more macro splitting
24720 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
24722 * gst/gstelement.c: (gst_element_get_bus):
24724 * tools/gst-launch.c: (check_intr), (event_loop):
24727 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
24729 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
24732 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
24734 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
24735 (gst_base_src_finalize):
24736 add finalize method and clean up properly
24737 * gst/gstpipeline.c: (gst_pipeline_dispose):
24740 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
24742 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
24744 add more things to check
24745 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
24746 * gst/gstelement.c:
24749 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
24751 * check/elements/gstfakesrc.c: (chain_func), (event_func),
24752 (GST_START_TEST), (fakesrc_suite):
24753 * check/gst-libs/gdp.c: (GST_START_TEST):
24754 * check/gst/gst.c: (GST_START_TEST):
24755 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
24756 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
24757 * check/gst/gstbus.c: (GST_START_TEST):
24758 * check/gst/gstcaps.c: (GST_START_TEST):
24759 * check/gst/gstdata.c: (GST_START_TEST):
24760 * check/gst/gstelement.c: (GST_START_TEST):
24761 * check/gst/gstghostpad.c: (GST_START_TEST):
24762 * check/gst/gstiterator.c: (GST_START_TEST):
24763 * check/gst/gstmessage.c: (GST_START_TEST):
24764 * check/gst/gstobject.c: (GST_START_TEST):
24765 * check/gst/gstpad.c: (GST_START_TEST):
24766 * check/gst/gststructure.c: (GST_START_TEST):
24767 * check/gst/gstsystemclock.c: (GST_START_TEST),
24768 (gst_systemclock_suite):
24769 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
24770 * check/gst/gstvalue.c: (GST_START_TEST):
24771 * check/pipelines/cleanup.c: (GST_START_TEST):
24772 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
24773 * check/states/sinks.c: (GST_START_TEST):
24774 * check/gstcheck.c: (gst_check_init):
24775 * check/gstcheck.h:
24776 add debugging category
24777 use GST_START_TEST now, so we add a debug line
24779 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
24781 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
24782 add test for state change message on a bin
24783 * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
24785 * gst/gstbin.c: (gst_bin_init):
24786 * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
24787 * gst/gstelement.c: (gst_element_post_message),
24788 (gst_element_set_state):
24789 * gst/gstelementfactory.c: (gst_element_factory_create):
24790 * gst/gstmessage.c: (gst_message_new):
24791 * gst/gstscheduler.c:
24792 various debugging additions and cleanups
24794 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
24796 * check/Makefile.am:
24797 * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
24799 adding tests for elements
24800 * gst/gstelement.c: (gst_element_dispose):
24802 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
24804 * gst/registries/gstlibxmlregistry.c: (load_feature):
24805 plug more leaks. A simple gst_init() now is leakfree, yay.
24807 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
24809 * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
24810 (gst_xml_registry_load):
24811 plug another memleak
24813 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
24816 use GST_SET_ERROR_CFLAGS
24817 * docs/faq/cvs.xml:
24818 change to ERROR_CFLAGS
24820 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
24823 make GST_ERROR_CFLAGS overridable and re-enable Werror
24824 * docs/faq/cvs.xml:
24825 add a note about error CFLAGS
24826 * docs/gst/tmpl/gstfakesrc.sgml:
24827 * gst/elements/gstfakesrc.c:
24828 comment out some unused code
24829 * gst/gst.c: (split_and_iterate):
24830 * gst/registries/gstlibxmlregistry.c: (load_pad_template),
24834 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
24836 * common/Makefile.am:
24837 * common/gtk-doc.mak:
24838 * docs/gst/Makefile.am:
24839 factor out gtk-doc.mak
24841 2005-07-07 Wim Taymans <wim@fluendo.com>
24843 * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
24844 (gst_thread_scheduler_dispose):
24845 Unlock the STREAM_LOCK completely.
24847 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
24849 * check/Makefile.am:
24850 * check/elements/.cvsignore:
24851 * check/elements/gstfakesrc.c: (chain_func), (event_func),
24852 (START_TEST), (fakesrc_suite), (main):
24853 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
24854 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
24855 (gst_fakesrc_create), (gst_fakesrc_start):
24856 * gst/elements/gstfakesrc.h:
24857 adding a first element test
24859 2005-07-07 Andy Wingo <wingo@pobox.com>
24861 * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
24864 2005-07-07 Wim Taymans <wim@fluendo.com>
24870 2005-07-07 Wim Taymans <wim@fluendo.com>
24872 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
24873 (gst_base_src_default_negotiate), (gst_base_src_negotiate):
24874 Allow subclasses to implement their own negotiation.
24876 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
24878 * docs/design/part-gstbin.txt:
24879 * docs/design/part-gstpipeline.txt:
24880 Update design notes to reflect the movement of
24881 responsibility for bus handling from GstPipeline to
24884 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
24887 Remove unnecessary queue2/3/4 examples.
24889 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
24891 * examples/Makefile.am:
24892 * examples/helloworld/helloworld.c: (event_loop), (main):
24893 * examples/queue/queue.c: (event_loop), (main):
24894 * examples/queue2/queue2.c: (main):
24895 Update a couple of the examples to work again.
24897 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
24898 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
24899 Spelling corrections and extra debug.
24901 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
24902 (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
24903 (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
24905 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
24906 (gst_pipeline_change_state):
24907 * gst/gstpipeline.h:
24908 Move the bus handler for children to the GstBin, and create a
24909 separate bus for receiving messages from children to the one the
24910 bus sends 'upwards' on.
24912 2005-07-06 Wim Taymans <wim@fluendo.com>
24915 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
24916 (gst_base_sink_handle_object), (gst_base_sink_loop),
24917 (gst_base_sink_change_state):
24918 * gst/base/gstbasesink.h:
24919 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
24920 (gst_base_src_init), (gst_base_src_setcaps),
24921 (gst_base_src_getcaps), (gst_base_src_loop),
24922 (gst_base_src_default_negotiate), (gst_base_src_negotiate),
24923 (gst_base_src_start), (gst_base_src_change_state):
24924 * gst/base/gstbasesrc.h:
24925 Make basesrc negotiate.
24926 Handle the case where preroll fails in basesink.
24929 2005-07-06 Wim Taymans <wim@fluendo.com>
24931 * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
24932 Implement the fixate function.
24933 Clean up acceptcaps.
24935 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24937 * docs/pwg/building-filterfactory.xml:
24938 * docs/pwg/pwg.xml:
24939 Remove never-written filter-factory chapter; I'll add the various
24940 base classes to part 4 ("other element types") later on.
24942 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24944 * docs/pwg/advanced-negotiation.xml:
24945 * docs/pwg/building-boiler.xml:
24946 * docs/pwg/building-pads.xml:
24947 * docs/pwg/pwg.xml:
24948 * examples/pwg/Makefile.am:
24949 Add a chapter on caps negotiation, simplify the original code
24950 samples a bit w.r.t. caps negotiation, add link to the advanced
24951 section. Add a bunch of examples showing different use cases of
24952 different types of caps negotiation. Upstream renegotiation isn't
24953 fully documented yet since nobody knows how that works.
24955 2005-07-06 Thomas Vander Stichele <thomas at apestaart dot org>
24957 * check/gst/gstpad.c:
24958 * check/gstcheck.c:
24959 * gst/gstpad.c: (gst_pad_get_internal_links_default):
24960 if pad has no parent, return NULL as list of internal links
24962 2005-07-05 Andy Wingo <wingo@pobox.com>
24964 * gst/elements/gstfilesrc.c:
24965 * gst/elements/gstfakesrc.c:
24966 * gst/base/gstpushsrc.c:
24967 * gst/base/gstbasesrc.h:
24968 * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
24970 2005-07-05 Stefan Kost <ensonic@users.sf.net>
24973 better report generation target (lcov needs a patch)
24975 2005-07-05 Andy Wingo <wingo@pobox.com>
24977 * gst/elements, testsuite: Null if we got it...
24979 2005-07-05 Wim Taymans <wim@fluendo.com>
24982 * libs/gst/dataprotocol/Makefile.am:
24983 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
24984 * libs/gst/dataprotocol/dataprotocol.h:
24985 * pkgconfig/Makefile.am:
24986 * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
24987 * pkgconfig/gstreamer-dataprotocol.pc.in:
24988 Ported dataprotol to 0.9.
24989 Added pkgconfig files.
24991 2005-07-05 Andy Wingo <wingo@pobox.com>
24993 * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
24994 Default to returning TRUE for the case when tranform_caps returns
24995 a fixed caps, like for identity or volume.
24997 * check/gst/gstbus.c (pound_bus_with_messages):
24998 * check/gst/gstmessage.c (START_TEST):
24999 * check/pipelines/simple_launch_lines.c (got_handoff): Application
25000 message API change.
25002 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
25003 logic weaks here: always run transform_caps, trying passthrough
25004 operation only if the original caps intersects with the transform.
25006 * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
25007 source and sink caps.
25009 * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
25010 Intersect the peer caps with the pad template before going into
25012 (gst_base_transform_transform_caps): More debugging.
25014 * gst/gstmessage.h (gst_message_new_application): Take a GstObject
25017 2005-07-04 Edward Hervey <edward@fluendo.com>
25021 (gst_pad_add_*_probe): now returns the signal id for better wrapping
25024 2005-07-04 Andy Wingo <wingo@pobox.com>
25026 * check/gst/gstpad.c: Only set explicit caps on pads.
25028 2005-07-01 Andy Wingo <wingo@pobox.com>
25030 * tests/network-clock.scm: Commentary update.
25032 * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
25033 Didn't really make sense, not implementable with basetransform,
25035 (gst_identity_transform): Unref inbuf via make_writable. Feeble
25036 attempt at implementing the sync property, needs an unlock method.
25038 * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
25039 New func, by default returns the same caps (the identity
25041 (gst_base_transform_getcaps): Uses transform_caps to return
25042 something sensible.
25043 (gst_base_transform_setcaps): Complicated logic to get caps on
25044 both pads, even if they are different, and to call set_caps once
25045 for every time both pads get their caps set.
25046 (gst_base_transform_handle_buffer): Give the ref to the transform
25047 function. Allows in-place modification of the buffer.
25049 * gst/base/gstbasetransform.h (transform_caps): New class method.
25050 Given caps on one side, what can I do on the other.
25051 (set_caps): Take two caps, one for each side of the element.
25054 * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
25055 caps in place. This is safe because we can check the mutability of
25056 the caps, and a good idea because fixate functions are just called
25057 as a matter of last resort. (Not actually implemented.)
25058 (gst_pad_set_caps): If the caps we're setting is actually the same
25059 as the existing pad caps, just update the pointer without calling
25060 setcaps. Assert that caps is either NULL or fixed, as per the
25063 * gst/gstghostpad.c: Update for fixate changes.
25065 2005-07-02 Andy Wingo <wingo@pobox.com>
25068 * gst/gstcaps.h (gst_static_caps_get): Not const return, having
25069 two refcounts makes it immutable, which is enough. Doc more.
25071 2005-07-02 Jan Schmidt <thaytan@mad.scientist.com>
25073 * gst/gstpad.c: (gst_pad_emit_have_data_signal):
25074 Put the mini_object into GValue as a mini_object,
25075 not a gpointer, since that's how we declared
25078 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25080 * examples/pwg/Makefile.am:
25081 Fix buildbot again.
25083 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25085 * docs/pwg/building-testapp.xml:
25087 * examples/pwg/Makefile.am:
25090 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25093 * examples/Makefile.am:
25094 * examples/pwg/Makefile.am:
25095 * examples/pwg/extract.pl:
25096 Enable building the PWG examples.
25097 * docs/pwg/advanced-interfaces.xml:
25098 Add URI interface stub.
25099 * docs/pwg/advanced-types.xml:
25100 * docs/pwg/other-autoplugger.xml:
25101 * docs/pwg/appendix-porting.xml:
25102 * docs/pwg/pwg.xml:
25103 Add porting guide (mostly stubs), remove autoplugging (see ADM).
25104 * docs/pwg/building-boiler.xml:
25105 * docs/pwg/building-chainfn.xml:
25106 * docs/pwg/building-pads.xml:
25107 * docs/pwg/building-props.xml:
25108 * docs/pwg/building-state.xml:
25109 * docs/pwg/building-testapp.xml:
25110 Update the building-*.xml parts for 0.9 changes. All examples
25111 code blocks compile in examples/pwg/*.
25113 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25115 * docs/manual/advanced-autoplugging.xml:
25116 * docs/manual/appendix-checklist.xml:
25117 * docs/manual/appendix-integration.xml:
25118 * docs/manual/highlevel-components.xml:
25119 Fix playbin/decodebin examples, update docs a bit, mention bus
25120 instead of signals in various places, mention kmplayer and
25121 kaffeine since they have a working GStreamer backend in the KDE
25124 2005-06-30 Wim Taymans <wim@fluendo.com>
25127 * docs/design/draft-ghostpads.txt:
25128 * docs/design/draft-push-pull.txt:
25129 * docs/design/draft-query.txt:
25130 * docs/design/part-TODO.txt:
25131 * docs/design/part-query.txt:
25132 Added CHANGES-0.9 doc, updated status of other docs.
25137 2005-06-30 Wim Taymans <wim@fluendo.com>
25139 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
25140 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
25141 (gst_base_sink_change_state):
25142 * gst/base/gstbasesink.h:
25143 Some tweaks, only EOS and a buffer complete a preroll.
25145 2005-06-30 Andy Wingo <wingo@pobox.com>
25147 * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
25148 activate_push down to the internal pad as well.
25150 2005-06-30 Torsten Schoenfeld <kaffeetisch@gmx.de>
25152 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25154 * gst/gsttaginterface.c:
25155 Some documentation fixes (#307394 and #307397).
25157 2005-06-30 Antoine Tremblay <hexa00@gmail.com>
25159 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25161 * gst/gstvalue.c: (gst_value_intersect_list):
25162 Fix memleak (#309125).
25164 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25166 * docs/manual/advanced-dataaccess.xml:
25167 Fix fakesrc example to compile; doesn't work, bug somewhere...?
25168 * docs/manual/basics-pads.xml:
25169 Add reference for filtered caps to above chapter.
25171 2005-06-30 Wim Taymans <wim@fluendo.com>
25173 * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
25174 (gst_bin_change_state):
25176 Lame attempt at making the state change function a bit
25179 2005-06-30 Wim Taymans <wim@fluendo.com>
25181 * docs/design/part-clocks.txt:
25182 * docs/design/part-element-sink.txt:
25183 * docs/design/part-events.txt:
25184 * docs/design/part-preroll.txt:
25185 * docs/design/part-states.txt:
25186 Some more tweeks and additions to the docs.
25188 2005-06-30 Wim Taymans <wim@fluendo.com>
25190 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
25191 (default_have_data), (gst_pad_class_init), (gst_pad_init),
25192 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
25193 (gst_pad_check_pull_range), (gst_pad_get_range),
25194 (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
25196 * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
25197 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
25198 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
25199 (gst_pad_remove_buffer_probe):
25200 Removed atomic operations, use existing LOCK.
25201 Move exception handling out of main code path.
25203 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25205 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
25206 (silly_return_true_function), (gst_pad_class_init),
25207 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
25208 (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
25209 (gst_pad_send_event):
25210 Fix accumulator, add default value by using _emitv() instead
25211 of _emit() for signal emission.
25213 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25215 * docs/manual/advanced-dataaccess.xml:
25216 * examples/manual/Makefile.am:
25218 * gst/gstpad.c: (_gst_do_pass_data_accumulator):
25221 2005-06-29 Tim-Philipp Müller <tim at centricular dot net>
25223 * gst/elements/gstfilesink.c: (gst_filesink_render):
25224 Simplify code so that we don't have to handle short
25225 writes and return GST_FLOW_ERROR if an error occured.
25227 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25229 * docs/gst/gstreamer-docs.sgml:
25230 Remove probes more.
25232 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25234 * docs/gst/gstreamer-sections.txt:
25235 * docs/gst/tmpl/gstpad.sgml:
25236 * docs/gst/tmpl/gstprobe.sgml:
25238 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
25239 (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
25240 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
25241 (gst_pad_push_event), (gst_pad_send_event):
25243 * gst/gstutils.c: (gst_pad_add_data_probe),
25244 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
25245 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
25246 (gst_pad_remove_buffer_probe):
25248 Remove old probes, add new g-signal-based probes and some utility
25251 2005-06-29 Edward Hervey <edward@fluendo.com>
25253 * gst/gstelementfactory.c:
25256 Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
25257 the definition to the header file.
25259 2005-06-29 Andy Wingo <wingo@pobox.com>
25261 * docs/gst/Makefile.am (scan-build.stamp): Totally only check
25262 plugins from the source directory.
25264 2005-06-29 Wim Taymans <wim@fluendo.com>
25266 * docs/gst/tmpl/gstbuffer.sgml:
25267 * docs/gst/tmpl/gstclock.sgml:
25268 Some fixings for blantently wrong text.
25270 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
25272 * check/Makefile.am:
25273 * gst/gst.c: (add_path_func), (init_pre):
25274 * gst/gstregistry.c: (gst_registry_add_path):
25275 add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
25276 only scan the GST_PLUGIN_PATH locations, and not add
25279 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
25281 * docs/gst/gstreamer-sections.txt:
25282 * docs/gst/tmpl/gstbasesrc.sgml:
25283 * gst/gstelement.c:
25284 * gst/gstelement.h:
25289 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25291 * docs/manual/advanced-autoplugging.xml:
25292 Fix autoplugging example.
25294 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25296 * docs/manual/advanced-autoplugging.xml:
25297 * docs/manual/mime-world.fig:
25298 Try to get autoplugging working, fix type detection. Fix text
25299 in hello-world image.
25301 2005-06-29 Wim Taymans <wim@fluendo.com>
25303 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
25304 (gst_base_sink_change_state):
25308 map SIGNAL and BROADCAST to the right function.
25311 Remove redundant braces.
25313 * gst/gstpad.c: (gst_pad_set_caps):
25314 Don't call setcaps function when reseting caps to NULL.
25316 * gst/gstsystemclock.c: (gst_system_clock_dispose),
25317 (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
25318 (gst_system_clock_id_unschedule):
25319 Use BROADCAST as this is what we do.
25321 2005-06-29 Wim Taymans <wim@fluendo.com>
25323 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
25324 We are actually prerolling before commiting the state
25327 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25329 * docs/manual/advanced-clocks.xml:
25330 * docs/manual/advanced-interfaces.xml:
25331 * docs/manual/advanced-metadata.xml:
25332 * docs/manual/advanced-position.xml:
25333 * docs/manual/advanced-schedulers.xml:
25334 * docs/manual/advanced-threads.xml:
25335 * docs/manual/appendix-porting.xml:
25336 * docs/manual/basics-bins.xml:
25337 * docs/manual/basics-bus.xml:
25338 * docs/manual/basics-elements.xml:
25339 * docs/manual/basics-helloworld.xml:
25340 * docs/manual/basics-pads.xml:
25341 * docs/manual/highlevel-components.xml:
25342 * docs/manual/manual.xml:
25343 * docs/manual/thread.fig:
25344 Update (until threads/scheduling) Application Development Manual;
25345 remove GstThread, add GstBus, add simple porting checklist, add
25346 documentation for tag writing, clocks, make all examples until this
25347 part compile and run.
25348 * examples/manual/Makefile.am:
25349 Update from changes to Application Development Manual; add bus
25350 example, remove thread example.
25352 2005-06-28 Wim Taymans <wim@fluendo.com>
25354 * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
25355 (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
25356 (gst_bus_source_dispatch):
25357 Add debugging messages.
25358 Make internal methods static.
25359 Handle the case where the bus is flushed in the handler.
25361 * gst/gstelement.c: (gst_element_get_bus):
25362 Fix refcount in _get_bus();
25364 * gst/gstpipeline.c: (gst_pipeline_change_state),
25365 (gst_pipeline_get_clock_func):
25366 Clock refcounting fixes.
25367 Handle the case where preroll timed out more gracefully.
25369 * gst/gstsystemclock.c: (gst_system_clock_dispose):
25370 Clean up the internal thread in dispose. This is needed
25371 for subclasses that actually get disposed.
25373 * gst/schedulers/threadscheduler.c:
25374 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
25375 (gst_thread_scheduler_dispose):
25376 Free thread pool in dispose.
25378 2005-06-28 Andy Wingo <wingo@pobox.com>
25380 * tests/network-clock-utils.scm (debug, print-event): New utils.
25382 * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
25383 (*packet-loss*): Unified loss probability.
25384 (network-time): Report out-of-band events.
25386 * tests/plot-data: Add support for out-of-band events. Hack it
25387 into this script instead of passing it down the pipe; should fix
25390 2005-06-28 Wim Taymans <wim@fluendo.com>
25392 * docs/gst/gstreamer.types:
25393 * docs/gst/tmpl/gstbasesrc.sgml:
25394 * docs/gst/tmpl/gstpad.sgml:
25397 2005-06-28 Wim Taymans <wim@fluendo.com>
25399 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
25400 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
25401 (gst_proxy_pad_do_fixatecaps):
25402 Correctly proxy the check_pull_range function.
25404 2005-06-28 Andy Wingo <wingo@pobox.com>
25406 * tests/network-clock.scm: Removed need for slib.
25408 2005-06-28 Wim Taymans <wim@fluendo.com>
25410 * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
25411 (gst_basesink_preroll_queue_flush):
25412 * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
25413 * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
25414 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
25415 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
25416 (gst_proxy_pad_set_property):
25419 * gst/gstqueue.c: (gst_queue_init):
25420 The deprecated pad loop function is removed now.
25422 2005-06-28 Andy Wingo <wingo@pobox.com>
25424 * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
25425 New parameters, simulate network packet loss.
25427 * tests/network-clock-utils.scm: Initialize the RNG.
25429 2005-06-28 Wim Taymans <wim@fluendo.com>
25431 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
25432 (gst_basesink_event), (gst_basesink_deactivate):
25433 Flushing the preroll queue always needs to unlock the waiters.
25435 2005-06-28 Edward Hervey <edward@fluendo.com>
25437 * gst/gstpipeline.c: (gst_pipeline_send_event):
25438 Wheen a seek was successful on a pipeline, set the stream_time to the
25439 seek offset in order to have a synchronized stream_time.
25441 2005-06-28 Wim Taymans <wim@fluendo.com>
25443 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
25444 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
25445 (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
25446 (gst_proxy_pad_do_fixatecaps):
25447 Call wrapper function instead of just calling the function
25448 pointers. This takes care of any locking and whatmore.
25450 2005-06-28 Wim Taymans <wim@fluendo.com>
25452 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
25453 (gst_pad_pull_range):
25455 CONNECTED -> LINKED.
25457 2005-06-28 Andy Wingo <wingo@pobox.com>
25459 * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
25460 source-munging commit!!!
25462 * gst/gstobject.c (gst_object_unref, gst_object_ref)
25463 (gst_object_sink): Take gpointer arguments, not GstObject --
25464 avoids casts. Like GLib.
25466 * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
25469 2005-06-27 Andy Wingo <wingo@pobox.com>
25471 * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
25474 * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
25475 returns a sorted copy of the trace list.
25476 (gst_alloc_trace_print_live): New API, only prints traces with
25477 live objects. Sort the list.
25478 (gst_alloc_trace_print_all): Sort the list.
25479 (gst_alloc_trace_print): Align columns.
25481 * gst/elements/gstttypefindelement.c:
25482 * gst/elements/gsttee.c:
25483 * gst/base/gstbasesrc.c:
25484 * gst/base/gstbasesink.c:
25485 * gst/base/gstbasetransform.c:
25486 * gst/gstqueue.c: Adapt for pad activation changes.
25488 * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
25490 (gst_pipeline_dispose): Drop ref on sched.
25492 * gst/gstpad.c (gst_pad_init): Set the default activate func.
25493 (gst_pad_activate_default): Push mode by default.
25494 (pre_activate_switch, post_activate_switch): New stubs, things to
25495 do before and after switching activation modes on pads.
25496 (gst_pad_set_active): Take a boolean and not a mode, dispatch to
25497 the pad's activate function to choose which mode to activate.
25498 Shortcut on deactivation and call the right function directly.
25499 (gst_pad_activate_pull): New API, (de)activates a pad in pull
25501 (gst_pad_activate_push): New API, same for push mode.
25502 (gst_pad_set_activate_function)
25503 (gst_pad_set_activatepull_function)
25504 (gst_pad_set_activatepush_function): Setters for new API.
25506 * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
25507 Trace all miniobjects.
25508 (gst_mini_object_make_writable): Unref the arg if we copy, like
25509 gst_caps_make_writable.
25511 * gst/gstmessage.c (_gst_message_initialize): No trace init.
25513 * gst/gstghostpad.c (gst_proxy_pad_do_activate)
25514 (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
25515 Adapt for new pad API.
25517 * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
25519 * gst/gstelement.h:
25520 * gst/gstelement.c (gst_element_iterate_src_pads)
25521 (gst_element_iterate_sink_pads): New API functions.
25523 * gst/gstelement.c (iterator_fold_with_resync): New utility,
25524 should fold into gstiterator.c in some form.
25525 (gst_element_pads_activate): Simplified via use of fold and
25526 delegation of decisions to gstpad->activate.
25528 * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
25531 * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
25532 class once in init, like gstmessage. Didn't run into this issue
25533 but it seems correct. Don't initialize a trace, gstminiobject does
25536 * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
25537 test, runs fakesrc ! fakesink, stopping on ::handoff via a message
25539 (assert_live_count): New util function, uses alloc traces to check
25542 * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
25543 To be modified when unlink drops the internal pad.
25545 2005-06-27 Wim Taymans <wim@fluendo.com>
25547 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
25548 (gst_bin_change_state):
25549 Cleanup the get_state() function a little, make sure it
25550 iterates the same set of elements.
25551 Added stub iterate_state_order().
25553 2005-06-27 Thomas Vander Stichele <thomas at apestaart dot org>
25555 * docs/gst/gstreamer-docs.sgml:
25556 * docs/gst/gstreamer-sections.txt:
25557 * docs/gst/gstreamer.types:
25558 * docs/gst/tmpl/gstbasesink.sgml:
25559 * docs/gst/tmpl/gstbasesrc.sgml:
25560 * docs/gst/tmpl/gstbasetransform.sgml:
25561 * docs/gst/tmpl/gstelement.sgml:
25562 * docs/gst/tmpl/gstiterator.sgml:
25563 * gst/base/gstbasesrc.c:
25564 * gst/base/gstbasesrc.h:
25565 * gst/base/gstbasetransform.h:
25566 * gst/gstelement.c:
25567 * gst/gstiterator.h:
25568 adding basetransform and iterator docs
25570 2005-06-27 Andy Wingo <wingo@pobox.com>
25572 * docs/design/part-activation.txt: Notes on how activation should
25573 work -- not quite implemented yet.
25575 2005-06-25 Wim Taymans <wim@fluendo.com>
25577 * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
25578 At least get the chain function correct, needs more
25581 2005-06-25 Wim Taymans <wim@fluendo.com>
25583 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
25584 (gst_basesink_handle_object), (gst_basesink_event),
25585 (gst_basesink_do_sync), (gst_basesink_handle_event),
25586 (gst_basesink_change_state):
25588 Right, two problems here: ghostpads don't take locks and
25589 glib _rec_mutex_lock_full() with depth==0 still locks.
25590 Catch illegal locking and g_warn them.
25592 2005-06-25 Wim Taymans <wim@fluendo.com>
25594 * check/states/sinks.c: (START_TEST), (gst_object_suite):
25595 Have to check for completion now...
25597 2005-06-25 Wim Taymans <wim@fluendo.com>
25599 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
25600 (gst_basesink_handle_object), (gst_basesink_event),
25601 (gst_basesink_do_sync), (gst_basesink_handle_event),
25602 (gst_basesink_change_state):
25604 Unlock STREAM_LOCK whatever the recursion was.
25606 2005-06-25 Wim Taymans <wim@fluendo.com>
25608 * gst/base/gstbasesink.c: (gst_basesink_set_property),
25609 (gst_basesink_preroll_queue_empty),
25610 (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
25611 (gst_basesink_event), (gst_basesink_do_sync),
25612 (gst_basesink_handle_event), (gst_basesink_handle_buffer),
25613 (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
25614 (gst_basesink_change_state):
25615 Reworked the base sink, handle event and buffer serialisation
25616 correctly and removed possible deadlock.
25617 Handle EOS correctly.
25619 2005-06-25 Wim Taymans <wim@fluendo.com>
25621 * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
25622 (gst_pipeline_change_state):
25623 * tools/gst-launch.c: (check_intr), (event_loop), (main):
25624 Allow elements to post EOS in the state change function.
25625 Fix up -launch, make it exit the poll loop when the
25626 pipeline actually changed state.
25627 Fix up warning parsing in -launch.
25629 2005-06-25 Wim Taymans <wim@fluendo.com>
25631 * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
25632 (gst_tee_sink_activate):
25633 Core takes STREAM_LOCK for us now.
25635 2005-06-25 Wim Taymans <wim@fluendo.com>
25637 * gst/gstelement.c: (gst_element_get_state_func),
25638 (gst_element_set_state):
25639 * gst/gstelement.h:
25640 * gst/gstmessage.c: (gst_message_parse_error),
25641 (gst_message_parse_warning):
25642 Keep track of current target state while performing a state
25643 change so that subclasses can do something interesting.
25644 Fix parsing of warning/error messages when GError is NULL.
25646 2005-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
25648 * docs/gst/Makefile.am:
25649 * docs/gst/gstreamer-docs.sgml:
25650 * docs/gst/gstreamer-sections.txt:
25651 * docs/gst/gstreamer.types:
25652 * docs/gst/tmpl/gstbasesink.sgml:
25653 * docs/gst/tmpl/gstbasesrc.sgml:
25654 * docs/gst/tmpl/gstbin.sgml:
25655 * docs/gst/tmpl/gstcompat.sgml:
25656 * docs/gst/tmpl/gstfakesink.sgml:
25657 * docs/gst/tmpl/gstfakesrc.sgml:
25658 * docs/gst/tmpl/gstfilesink.sgml:
25659 * docs/gst/tmpl/gstfilesrc.sgml:
25660 * docs/gst/tmpl/gstindex.sgml:
25661 * docs/manual/appendix-quotes.xml:
25662 * gst/base/gstbasesrc.h:
25663 * gst/elements/gstfakesrc.h:
25664 * gst/gstmessage.h:
25665 start pulling in base classes and elements in our docs
25667 2005-06-24 Stefan Kost <ensonic@users.sf.net>
25669 * docs/gst/Makefile.am:
25670 * docs/libs/Makefile.am:
25671 fixed make distcheck with gtk-doc 1.3
25673 2005-06-23 Wim Taymans <wim@fluendo.com>
25675 * gst/gstelement.c: (gst_element_get_state_func),
25676 (gst_element_set_state), (gst_element_change_state):
25677 When the state did not change, also report NO_PREROLL
25680 2005-06-23 Wim Taymans <wim@fluendo.com>
25682 * gst/gstpad.c: (gst_pad_event_default):
25683 * gst/gstqueue.c: (gst_queue_loop):
25684 No unsafe task pausing please.
25686 2005-06-23 Wim Taymans <wim@fluendo.com>
25688 * gst/schedulers/threadscheduler.c:
25689 (gst_thread_scheduler_task_start),
25690 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
25691 Ref the task before pushing it on the threadpool. This
25692 makes sure that we have a ref when the threadfunction is
25695 2005-06-23 Andy Wingo <wingo@pobox.com>
25697 * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
25698 offset is greater than the file's size.
25700 * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK)
25701 (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
25702 * gst/gstobject.c (gst_object_class_init): Make the class lock
25703 recursive. Wim won't let me drop deep_notify. Decodebin works
25704 again, whoopdy doo.
25706 * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
25707 internal pad, and hacks accordingly. Doesn't do it on the target
25708 pad because we change its caps. Probably catches all cases of
25710 (gst_ghost_pad_set_property): Connect to notify::caps as
25713 * tests/network-clock.scm (plot-simulation): Pipe data to the
25714 elite python skript.
25716 * tests/network-clock-utils.scm (define-parameter): New macro,
25717 defines a parameter that can be set via the command line.
25718 (set-parameter!, parse-parameter-arguments): Command line args
25721 * tests/plot-data: Simple matplotlib-based plotter, takes input on
25724 2005-06-23 Jan Schmidt <thaytan@mad.scientist.com>
25726 * gst/elements/gsttypefindelement.c:
25727 (gst_type_find_element_handle_event):
25728 Don't restart typefinding on a discont.
25729 * gst/gstelement.c: (gst_element_set_state):
25730 Debug spelling fix.
25731 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
25732 Allow changing mode of an active pad.
25733 Debug output fixes.
25734 * gst/registries/gstlibxmlregistry.c: (load_feature):
25735 Don't cast a static pad template to a normal pad template.
25737 2005-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
25739 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
25740 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
25741 remove gst_strtoll completely, since it didn't actually do
25742 anything more than what g_ascii_strtoull already does.
25743 check for range errors when deserializing
25744 do a cast for the unsigned cases; but further fixing needs
25745 a decision on what the interpretation of "(int)" and
25746 deserialization should be for values that fall outside the
25747 type's boundaries (ie, refuse, or interpret as casting)
25749 2005-06-23 Wim Taymans <wim@fluendo.com>
25751 * check/Makefile.am:
25752 * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
25753 * docs/design/part-live-source.txt:
25754 * docs/design/part-states.txt:
25755 * gst/base/gstbasesrc.c: (gst_basesrc_init),
25756 (gst_basesrc_set_live), (gst_basesrc_is_live),
25757 (gst_basesrc_get_range), (gst_basesrc_activate),
25758 (gst_basesrc_change_state):
25759 * gst/base/gstbasesrc.h:
25760 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
25761 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
25762 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
25763 * gst/gstelement.c: (gst_element_get_state_func),
25764 (gst_element_set_state):
25765 * gst/gstelement.h:
25767 * tools/gst-launch.c: (event_loop), (main):
25768 Added support for live sources and other elements that
25770 Updated design docs, added live-source design doc.
25771 Implemented live source functionality in basesrc
25772 Fix error condition in _bin_get_state()
25773 Implement live source handling in -launch.
25774 Added check for live sources.
25775 Fixed case in GstBin where elements were changed state
25779 2005-06-23 Andy Wingo <wingo@pobox.com>
25781 * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
25782 borken refcounting.
25784 * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
25785 gst_caps_replace takes care of this for us.
25787 * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
25788 gst_pad_set_caps on the target, not just its setcaps() function.
25790 * tests/network-clock.scm:
25791 * tests/network-clock-utils.scm: A network clock simulator.
25792 Something of an algorithmic testbed before doing something in C.
25794 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
25796 * check/Makefile.am:
25797 * check/gst/capslist.h:
25798 copy over from 0.8, and add two with bitmasks specified with
25800 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
25801 add test to parse everything from capslist.h
25802 * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
25804 add test for structure deserialization
25805 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
25806 add tests for deserialization of strings to int types
25807 * gst/gststructure.c: (gst_structure_nth_field_name):
25808 * gst/gststructure.h:
25809 add a way to get the name of a field referenced by index
25810 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
25811 instead of checking if the resulting long long lies between
25812 min and max, we check if the long long would fit into
25813 a number of bytes for the final type.
25814 This fixes cases where a string represents 2^32 - 1, which
25815 when cast to int would be the (valid) -1, but is bigger than
25818 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
25820 * gst/parse/grammar.y:
25821 add a log line for type deserialization
25823 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
25825 * check/gst/gstvalue.c: (START_TEST):
25826 * gst/gstvalue.c: (gst_value_deserialize):
25827 return long long, not int, so gint64 deserialization actually
25828 works. Is there any flag that makes the compiler check this ?
25831 2005-06-22 Wim Taymans <wim@fluendo.com>
25834 Added convenience macros for setting buffers in GValue.
25836 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
25838 * check/gst/.cvsignore:
25839 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
25840 add a test deserializing int64, and comment part out because
25843 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
25845 * check/Makefile.am:
25846 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
25847 * testsuite/Makefile.am:
25848 * testsuite/caps/Makefile.am:
25849 * testsuite/caps/value_serialize.c:
25850 * testsuite/test_gst_init.c:
25851 move a value_serialize test over
25853 2005-06-20 Wim Taymans <wim@fluendo.com>
25858 * gst/gstvalue.c: (gst_value_compare_buffer),
25859 (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
25860 (gst_value_compare_flags), (gst_value_serialize_flags),
25861 (gst_value_deserialize_flags), (_gst_value_initialize):
25862 Fix serialisation of buffers, they are not boxed types anymore
25864 2005-06-20 Wim Taymans <wim@fluendo.com>
25866 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
25867 Testcase to show error in buffer-on-caps serialisation.
25869 2005-06-20 Andy Wingo <wingo@pobox.com>
25871 * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
25872 will be adding to later.
25874 * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
25875 if its socks fill with rocks.
25876 (gst_system_clock_obtain): Set the name on object construction.
25877 Avoid double-checked locking.
25879 2005-06-20 Tim-Philipp Müller <tim at centricular dot net>
25881 * gst/gsturi.c: (gst_element_make_from_uri):
25882 Fix potential endless loop.
25884 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
25886 * check/Makefile.am:
25888 * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
25890 move over from testsuite dir and clean up
25893 * testsuite/Makefile.am:
25894 * testsuite/tags/.cvsignore:
25895 * testsuite/tags/Makefile.am:
25896 * testsuite/tags/merge.c:
25897 remove testsuite/tags
25899 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
25901 * docs/gst/gstreamer-sections.txt:
25902 * docs/gst/tmpl/gstenumtypes.sgml:
25903 * win32/gstenumtypes.c:
25904 clean up documentation build a little
25906 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
25908 * check/gstcheck.h:
25909 add macros for checking refcounts on objects and caps
25910 * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
25911 add some more unit tests
25912 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
25913 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
25914 fix leaked refcounts (I hope :)) so unittest works
25918 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
25920 * configure.ac: back to HEAD
25922 === release 0.9.1 ===
25924 2005-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
25930 2005-06-17 Andy Wingo <wingo@pobox.com>
25932 * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
25933 assert; it's always possible that the pad gets deactivated in
25934 between the checks in gstpad.c and the implementation. Rely on
25935 finish_preroll() to return a FLUSHING or similar instead of on the
25938 * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
25939 clock and post an EOS message if we come out of finish_preroll in
25942 2005-06-16 David Schleef <ds@schleef.org>
25944 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
25945 (gst_capsfilter_set_property): Allow NULL as possible value
25946 for filter_caps property, indicating GST_CAPS_ANY.
25948 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
25950 * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
25952 * gst/schedulers/Makefile.am:
25954 * gstreamer.spec.in:
25957 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
25959 * gstreamer.spec.in:
25962 2005-06-08 Andy Wingo <wingo@pobox.com>
25964 * gst/gstutils.c: RPAD fixes all around.
25965 (gst_element_link_pads): Refcounting fixes.
25967 * tools/gst-inspect.c:
25968 * tools/gst-xmlinspect.c:
25970 * gst/base/gsttypefindhelper.c:
25971 * gst/base/gstbasesink.c:
25972 * gst/gstqueue.c: RPAD fixes.
25974 * gst/gstghostpad.h:
25975 * gst/gstghostpad.c: New ghost pad implementation as full proxy
25976 pads. The tricky thing is they provide both source and sink
25977 interfaces, since they proxy the internal pad for the external
25978 pad, and vice versa. Implement with lower-level ProxyPad objects,
25979 with the interior proxy pad as a child of the exterior ghost pad.
25980 Should write a doc on this.
25982 * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
25983 (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
25986 * gst/gstpad.c: Big changes. No more stub base GstPad, now all
25987 pads are real pads. No ghost pads in this file. Not documenting
25988 the myriad s/RPAD/PAD/ and REALIZE fixes.
25989 (gst_pad_class_init): Add properties for "direction" and
25990 "template". Both are construct-only, so they can't change during
25991 the life of the pad. Fixes properly deriving from GstPad.
25992 (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
25993 derived objects, just set properties when creating the objects via
25995 (gst_pad_get_parent): Implement as a function, return NULL if the
25996 parent is not an element.
25997 (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
25998 (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
26000 * gst/gstobject.c (gst_object_class_init): Make name a construct
26001 property. Don't set it in the object init.
26003 * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
26004 with UNKNOWN direction.
26005 (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
26006 with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
26007 (gst_element_remove_pad): Remove ghost-pad special cases.
26008 (gst_element_pads_activate): Remove rpad cruft.
26010 * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
26011 catch the pad's-parent-not-an-element case.
26013 * gst/gst.h: Include gstghostpad.h.
26015 * gst/gst.c (init_post): No more real, ghost pads.
26017 * gst/Makefile.am: Add gstghostpad.[ch].
26019 * check/Makefile.am:
26020 * check/gst/gstbin.c:
26021 * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
26022 into a bin creates ghost pads, and that the refcounts are right.
26023 Partly moved from gstbin.c.
26025 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
26027 * check/gst-libs/.cvsignore:
26028 * check/gst/.cvsignore:
26029 * check/pipelines/.cvsignore:
26031 * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
26032 (START_TEST), (cleanup_suite), (main):
26033 add some tests related to cleanup after running pipelines
26035 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
26037 * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
26038 add a testsuite for GstBuffer
26040 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
26042 * gst/gstminiobject.h:
26043 add defines for accessing the refcount
26045 2005-06-03 Stefan Kost <ensonic@users.sf.net>
26047 * Makefile.am: added support for html unit test coverage reports
26049 2005-06-03 Jan Schmidt <thaytan@mad.scientist.com>
26051 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
26052 Free existing caps if the capsfilter changes. Add a FIXME about
26053 setting those caps on the pads.
26055 * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
26056 Before adding a ghost pad to a parent bin, check that there isn't
26057 already one for the element on the bin. Prevents infinite recursion
26058 when using decodebin in parse pipelines. Andy says he'll rewrite the
26059 way this works anyway, so ignore the hack.
26061 2005-06-02 Andy Wingo <wingo@pobox.com>
26063 * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
26064 file size, pass it on to the type find helper.
26066 * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
26067 segment_start and segment_end properly according to the seek
26068 method. Segment_end is still a bit flaky because offset can be
26069 negative for CUR and END cases, but it takes -1 as an "unset"
26072 2005-06-02 Wim Taymans <wim@fluendo.com>
26074 * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
26075 (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
26076 (gst_basesink_activate):
26077 * gst/base/gstbasesink.h:
26078 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
26079 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
26080 (gst_pad_query), (gst_pad_start_task):
26082 * gst/gstqueue.c: (gst_queue_bufferalloc),
26083 (gst_queue_handle_sink_event), (gst_queue_chain):
26084 Bufferalloc: return GstFlowReturn to more accuratly report
26085 why allocation failed.
26087 2005-06-02 Wim Taymans <wim@fluendo.com>
26089 * gst/gstpipeline.c: (gst_pipeline_send_event):
26090 Take snapshot of state without blocking.
26092 2005-06-02 Wim Taymans <wim@fluendo.com>
26094 * docs/design/part-TODO.txt:
26095 * docs/design/part-caps.txt:
26096 * docs/design/part-clocks.txt:
26097 * docs/design/part-negotiation.txt:
26098 * docs/design/part-preroll.txt:
26101 2005-05-30 Wim Taymans <wim@fluendo.com>
26103 * gst/elements/gstidentity.c: (gst_identity_event),
26104 (gst_identity_transform), (gst_identity_get_property):
26105 Protect last_message property as it is accessed from
26108 2005-05-30 Wim Taymans <wim@fluendo.com>
26110 * gst/gstelement.c: (gst_element_init),
26111 (gst_element_pads_activate), (gst_element_change_state):
26112 Slicker pad activation code.
26114 2005-05-30 Wim Taymans <wim@fluendo.com>
26117 * gst/gstelement.h:
26118 * gst/gstelementfactory.h:
26120 Move elementfactory methods to separate .h file.
26122 2005-05-30 Wim Taymans <wim@fluendo.com>
26124 * docs/design/part-overview.txt:
26125 * gst/gstsystemclock.h:
26126 Small typo fixes, doc updates.
26128 2005-05-30 Wim Taymans <wim@fluendo.com>
26130 * gst/gst.c: (gst_init_get_popt_table), (init_post),
26131 (init_popt_callback):
26132 Remove cpu-opt flag.
26134 2005-05-30 Wim Taymans <wim@fluendo.com>
26136 * gst/gstbuffer.c: (gst_subbuffer_finalize),
26137 (gst_buffer_create_sub), (gst_buffer_is_span_fast):
26139 Avoid typechecking in places where not needed.
26140 Added accessor for malloc_data.
26142 2005-05-30 Wim Taymans <wim@fluendo.com>
26144 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
26145 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
26146 (gst_pad_configure_sink), (gst_pad_configure_src),
26147 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
26148 (gst_pad_start_task):
26149 Propagate errors from _set_caps() in configure_src/sink
26150 functions instead of returning TRUE.
26151 FLUSH events can travel up and downstream
26154 2005-05-30 Wim Taymans <wim@fluendo.com>
26156 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
26157 (gst_basesink_activate):
26158 Handle EOS in preroll.
26160 2005-05-30 Wim Taymans <wim@fluendo.com>
26162 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
26163 (gst_queue_loop), (gst_queue_handle_src_event):
26164 Remove old pieces of code
26165 Flushing the queue in an upstream event is a very bad idea.
26167 2005-05-26 Andy Wingo <wingo@pobox.com>
26169 * gst/gstminiobject.c (gst_value_mini_object_collect): Use
26170 gst_value_set_mini_object so as to add a ref on the object (which
26171 will be removed when the value is unset).
26173 * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
26174 arg type in ::handoff.
26176 * gst/gstelement.c (gst_element_change_state): Also deactivate
26177 pads in READY->NULL, just in case the element didn't make it to
26178 PAUSED. Wingo tested, Wim approved.
26180 2005-05-26 Wim Taymans <wim@fluendo.com>
26182 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
26183 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
26184 (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
26185 A flushing pad cannot be used to alloc_buffer from.
26187 2005-05-26 Wim Taymans <wim@fluendo.com>
26189 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
26190 (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
26191 (gst_bus_source_dispatch), (gst_bus_source_finalize),
26192 (gst_bus_create_watch), (gst_bus_add_watch_full):
26194 Implement a real GSource and use g_main_context_wakeup() to
26195 signal new messages instead of the socketpair.
26197 2005-05-25 Wim Taymans <wim@fluendo.com>
26199 * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
26200 (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
26201 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
26202 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
26203 (gst_pad_send_event), (gst_pad_start_task):
26204 * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
26205 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
26206 (gst_queue_sink_activate), (gst_queue_src_activate),
26207 (gst_queue_change_state):
26209 Fix state changes for non sinks. We now change sinks, then elements
26210 with unconnected srcpads, then the rest.
26211 More efficient queue unlocking in flush and state changes.
26212 Set the pad activate mode even if it does not have an activate
26215 2005-05-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26217 * gst/base/gstbasesrc.c: (gst_basesrc_activate):
26218 Don't go in pull mode for non-seekable sources.
26219 * gst/elements/gsttypefindelement.h:
26220 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
26221 (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
26222 (free_entry), (stop_typefinding),
26223 (gst_type_find_element_handle_event), (find_peek),
26224 (gst_type_find_element_chain), (do_pull_typefind),
26225 (gst_type_find_element_change_state):
26226 Allow typefinding (w/o seeking) in push-mode, simplified version
26227 of what was in 0.8.
26228 * gst/gstutils.c: (gst_buffer_join):
26230 gst_buffer_join() from 0.8.
26232 2005-05-25 Wim Taymans <wim@fluendo.com>
26234 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
26235 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
26236 (gst_pad_send_event), (gst_pad_start_task):
26237 Disable attempt at mode switching until it is figured out.
26239 2005-05-25 Wim Taymans <wim@fluendo.com>
26241 * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
26242 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
26243 (gst_basesink_finish_preroll), (gst_basesink_chain),
26244 (gst_basesink_loop), (gst_basesink_activate),
26245 (gst_basesink_change_state):
26246 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
26247 (gst_basesrc_get_range), (gst_basesrc_loop),
26248 (gst_basesrc_activate):
26249 * gst/elements/gsttee.c: (gst_tee_sink_activate):
26250 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
26251 (gst_real_pad_init), (gst_real_pad_set_property),
26252 (gst_real_pad_get_property), (gst_pad_set_active),
26253 (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
26254 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
26255 (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
26256 (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
26257 (gst_pad_event_default_dispatch), (gst_pad_event_default),
26258 (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
26259 (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
26260 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
26261 (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
26262 (gst_pad_stop_task):
26264 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
26265 (gst_queue_loop), (gst_queue_src_activate):
26266 * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
26267 (gst_task_get_state):
26269 * gst/schedulers/threadscheduler.c:
26270 (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
26271 Implement gst_pad_pause/start/stop_task(), take STREAM lock
26273 Remove ACTIVE pad flag, use FLUSHING everywhere
26274 Added _pad_chain(), _pad_get_range() to call chain/getrange
26276 Add locks around IS_FLUSHING when reading.
26277 Take STREAM lock in chain(), get_range() functions so plugins
26278 don't need to take it anymore.
26282 2005-05-25 Wim Taymans <wim@fluendo.com>
26284 * tools/gst-launch.c: (event_loop):
26285 Unref message after using its contents instead of
26288 2005-05-24 Wim Taymans <wim@fluendo.com>
26290 * docs/design/draft-ghostpads.txt:
26291 * docs/design/draft-push-pull.txt:
26292 * docs/design/draft-query.txt:
26293 * docs/design/part-overview.txt:
26294 Docs updates, added general overview doc.
26296 2005-05-21 David Schleef <ds@schleef.org>
26298 * docs/gst/tmpl/old/GstBin.sgml:
26299 * docs/gst/tmpl/old/GstBuffer.sgml:
26300 * docs/gst/tmpl/old/GstCaps.sgml:
26301 * docs/gst/tmpl/old/GstClock.sgml:
26302 * docs/gst/tmpl/old/GstCompat.sgml:
26303 * docs/gst/tmpl/old/GstData.sgml:
26304 * docs/gst/tmpl/old/GstElement.sgml:
26305 * docs/gst/tmpl/old/GstEvent.sgml:
26306 * docs/gst/tmpl/old/GstIndex.sgml:
26307 * docs/gst/tmpl/old/GstStructure.sgml:
26308 * docs/gst/tmpl/old/GstTag.sgml:
26309 * docs/gst/tmpl/old/cothreads.sgml:
26310 * docs/gst/tmpl/old/cothreads_compat.sgml:
26311 * docs/gst/tmpl/old/gettext.sgml:
26312 * docs/gst/tmpl/old/gobject2gtk.sgml:
26313 * docs/gst/tmpl/old/grammar.tab.sgml:
26314 * docs/gst/tmpl/old/gst-i18n-app.sgml:
26315 * docs/gst/tmpl/old/gst-i18n-lib.sgml:
26316 * docs/gst/tmpl/old/gst_private.sgml:
26317 * docs/gst/tmpl/old/gstaggregator.sgml:
26318 * docs/gst/tmpl/old/gstarch.sgml:
26319 * docs/gst/tmpl/old/gstatomic_impl.sgml:
26320 * docs/gst/tmpl/old/gstbufferstore.sgml:
26321 * docs/gst/tmpl/old/gstdata_private.sgml:
26322 * docs/gst/tmpl/old/gstdisksink.sgml:
26323 * docs/gst/tmpl/old/gstdisksrc.sgml:
26324 * docs/gst/tmpl/old/gstelementfactory.sgml:
26325 * docs/gst/tmpl/old/gstextratypes.sgml:
26326 * docs/gst/tmpl/old/gstfakesink.sgml:
26327 * docs/gst/tmpl/old/gstfakesrc.sgml:
26328 * docs/gst/tmpl/old/gstfdsink.sgml:
26329 * docs/gst/tmpl/old/gstfdsrc.sgml:
26330 * docs/gst/tmpl/old/gstfilesink.sgml:
26331 * docs/gst/tmpl/old/gstfilesrc.sgml:
26332 * docs/gst/tmpl/old/gsthttpsrc.sgml:
26333 * docs/gst/tmpl/old/gstidentity.sgml:
26334 * docs/gst/tmpl/old/gstindexfactory.sgml:
26335 * docs/gst/tmpl/old/gstmarshal.sgml:
26336 * docs/gst/tmpl/old/gstmd5sink.sgml:
26337 * docs/gst/tmpl/old/gstmultidisksrc.sgml:
26338 * docs/gst/tmpl/old/gstmultifilesrc.sgml:
26339 * docs/gst/tmpl/old/gstpadtemplate.sgml:
26340 * docs/gst/tmpl/old/gstpipefilter.sgml:
26341 * docs/gst/tmpl/old/gstschedulerfactory.sgml:
26342 * docs/gst/tmpl/old/gstsearchfuncs.sgml:
26343 * docs/gst/tmpl/old/gstshaper.sgml:
26344 * docs/gst/tmpl/old/gstspider.sgml:
26345 * docs/gst/tmpl/old/gstspideridentity.sgml:
26346 * docs/gst/tmpl/old/gststatistics.sgml:
26347 * docs/gst/tmpl/old/gsttee.sgml:
26348 * docs/gst/tmpl/old/gsttimecache.sgml:
26349 * docs/gst/tmpl/old/gsttypefindfactory.sgml:
26350 * docs/gst/tmpl/old/gstxmlregistry.sgml:
26351 * docs/gst/tmpl/old/gthread-cothreads.sgml:
26352 * docs/gst/tmpl/old/types.sgml:
26353 I didn't intend to add these or check them in.
26355 2005-05-19 David Schleef <ds@schleef.org>
26357 * configure.ac: Use -no-common everywhere. In a sane world, it
26358 would be the default in libtool, because without it, you can't
26359 build DLLs on Windows.
26360 * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
26361 * docs/gst/gstreamer-sections.txt:
26362 * docs/gst/tmpl/gstcpu.sgml:
26363 * docs/gst/tmpl/gstdata.sgml:
26364 * docs/gst/tmpl/gstthread.sgml:
26366 2005-05-19 David Schleef <ds@schleef.org>
26368 * gst/gstminiobject.c: (gst_value_set_mini_object),
26369 (gst_value_take_mini_object), (gst_value_get_mini_object):
26370 * gst/gstminiobject.h: Add GValue set/get functions.
26372 2005-05-19 Wim Taymans <wim@fluendo.com>
26374 * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
26375 (gst_subbuffer_class_init), (gst_subbuffer_finalize),
26376 (gst_subbuffer_init), (gst_buffer_is_span_fast):
26378 * gst/gstbus.c: (gst_bus_post):
26379 * gst/gstelement.c: (gst_element_get_random_pad):
26380 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
26381 Make subbufer unref the parent in finalize.
26382 some more debugging info.
26385 2005-05-19 Wim Taymans <wim@fluendo.com>
26387 * gst/base/gstbasesink.c: (gst_basesink_class_init),
26388 (gst_basesink_init), (gst_basesink_finalize),
26389 (gst_basesink_activate), (gst_basesink_change_state):
26390 Don't free preroll queue too early.
26392 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26396 Hi, I'm outdated. Please shoot me.
26398 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26400 * gst/gstpipeline.c: (gst_pipeline_send_event):
26401 Do not access variables after they have been deleted.
26403 2005-05-19 Wim Taymans <wim@fluendo.com>
26405 * tools/gst-inspect.c: (print_plugin_features):
26406 A plugin feature does unfortunatly not use the
26409 2005-05-18 Wim Taymans <wim@fluendo.com>
26411 * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
26412 Port _span() functions to new subbuffers.
26414 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26416 * gst/gstbin.c: (gst_bin_add_func):
26417 Fix clock settery in bins when adding kids after the clock has
26420 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26422 * gst/elements/gstidentity.c: (gst_identity_class_init):
26423 Workaround until signals support GstMiniObject.
26425 2005-05-18 Jan Schmidt <thaytan@mad.scientist.com>
26428 Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
26430 2005-05-18 Wim Taymans <wim@fluendo.com>
26432 * gst/base/Makefile.am:
26433 * gst/base/gstadapter.c: (gst_adapter_base_init),
26434 (gst_adapter_class_init), (gst_adapter_init),
26435 (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
26436 (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
26437 (gst_adapter_flush), (gst_adapter_available),
26438 (gst_adapter_available_fast):
26439 * gst/base/gstadapter.h:
26440 Ported and added adapter to the base classes.
26442 2005-05-17 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
26445 * gst/gstmessage.c:
26446 Make sure the class is reffed/unreffed once before threads can be
26447 used. Fixes #304551.
26449 2005-05-17 Wim Taymans <wim@fluendo.com>
26451 * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
26452 (gst_basesink_chain_unlocked), (gst_basesink_activate):
26453 * gst/gstminiobject.c: (gst_mini_object_get_type),
26454 (gst_mini_object_free):
26455 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
26456 (gst_pad_push), (gst_pad_push_event):
26457 * gst/gstqueue.c: (gst_queue_change_state):
26458 Don't queue buffers in basesink when we are flushing.
26459 Unref buffer when flushing in basesink.
26460 Flush queue when going to READY
26461 Unref buffer when _push() returns an error.
26462 Don't free MiniObject instance when refcount is incremented
26463 in _finalize() so that we can recover objects.
26465 2005-05-17 Thomas Vander Stichele <thomas at apestaart dot org>
26467 * docs/manual/advanced-schedulers.xml:
26468 * docs/manual/appendix-checklist.xml:
26469 * docs/pwg/advanced-clock.xml:
26470 * docs/pwg/advanced-interfaces.xml:
26471 * docs/pwg/advanced-request.xml:
26472 * docs/pwg/advanced-types.xml:
26473 * docs/pwg/intro-preface.xml:
26474 * examples/plugins/example.c: (gst_example_get_type),
26475 (gst_example_class_init), (gst_example_chain),
26476 (gst_example_set_property), (gst_example_get_property),
26477 (gst_example_change_state), (plugin_init):
26478 * examples/plugins/example.h:
26481 2005-05-17 Wim Taymans <wim@fluendo.com>
26483 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
26484 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
26485 * gst/gstqueue.c: (gst_queue_change_state):
26486 Clear queue when going to READY.
26487 Remove IN_SETCAPS flag too.
26489 2005-05-17 Tim-Philipp Müller <tim at centricular dot net>
26491 * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
26492 Remove implicit cast from gboolean to GstElementStateReturn;
26493 make sure we still return failure in paused => ready case if
26494 the parent class fails to change state and our own stop
26497 2005-05-17 Wim Taymans <wim@fluendo.com>
26499 * tools/gst-launch.c: (event_loop):
26500 Message was unreffed too soon.
26502 2005-05-16 Andy Wingo <wingo@pobox.com>
26504 * gst/gstbin.c (sink_iterator_filter): Err... um...
26506 * check/gst/gstbin.c (test_ghost_pads): New test for the
26507 ghosting-if-elements-not-in-same-bin behavior.
26509 2005-05-16 David Schleef <ds@schleef.org>
26511 * gst/gstminiobject.c: Use g_atomic_int_get() instead of
26512 accessing refcount directly.
26514 2005-05-15 David Schleef <ds@schleef.org>
26516 * check/Makefile.am: remove GstData checks
26517 * check/gst-libs/gdp.c: (START_TEST): fix for API changes
26518 * gst/Makefile.am: add miniobject, remove data
26519 * gst/gst.h: add miniobject, remove data
26520 * gst/gstdata.c: remove
26521 * gst/gstdata.h: remove
26522 * gst/gstdata_private.h: remove
26523 * gst/gsttypes.h: remove GstEvent and GstMessage
26524 * gst/gstelement.c: (gst_element_post_message): fix for API changes
26525 * gst/gstmarshal.list: change BOXED -> OBJECT
26527 Implement GstMiniObject.
26528 * gst/gstminiobject.c:
26529 * gst/gstminiobject.h:
26531 Modify to be subclasses of GstMiniObject.
26532 * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
26533 (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
26534 (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
26535 (gst_subbuffer_get_type), (gst_subbuffer_init),
26536 (gst_buffer_create_sub), (gst_buffer_is_span_fast),
26539 * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
26540 (gst_event_class_init), (gst_event_init), (gst_event_finalize),
26541 (_gst_event_copy), (gst_event_new):
26543 * gst/gstmessage.c: (_gst_message_initialize),
26544 (gst_message_get_type), (gst_message_class_init),
26545 (gst_message_init), (gst_message_finalize), (_gst_message_copy),
26546 (gst_message_new), (gst_message_new_error),
26547 (gst_message_new_warning), (gst_message_new_tag),
26548 (gst_message_new_state_changed), (gst_message_new_application):
26549 * gst/gstmessage.h:
26550 * gst/gstprobe.c: (gst_probe_perform),
26551 (gst_probe_dispatcher_dispatch):
26553 * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
26554 (gst_query_class_init), (gst_query_finalize), (gst_query_init),
26555 (_gst_query_copy), (gst_query_new):
26557 Update elements for GstData -> GstMiniObject changes
26559 * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
26560 (gst_queue_chain), (gst_queue_loop):
26561 * gst/elements/gstbufferstore.c:
26562 (gst_buffer_store_add_buffer_func),
26563 (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
26564 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
26565 (gst_fakesink_render):
26566 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
26567 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
26568 (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
26569 (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
26570 (gst_filesrc_create_read):
26571 * gst/elements/gstidentity.c: (gst_identity_class_init):
26572 * gst/elements/gsttypefindelement.c:
26573 (gst_type_find_element_src_event), (free_entry_buffers),
26574 (gst_type_find_element_handle_event):
26575 * libs/gst/dataprotocol/dataprotocol.c:
26576 (gst_dp_header_from_buffer):
26577 * libs/gst/dataprotocol/dataprotocol.h:
26578 * libs/gst/dataprotocol/dp-private.h:
26580 2005-05-15 David Schleef <ds@schleef.org>
26582 * gst/elements/gstelements.c: Don't include headers that were
26585 2005-05-15 David Schleef <ds@schleef.org>
26587 * gst/elements/Makefile.am: Remove some elements that don't
26588 need to be in the core (or even exist at all).
26589 * gst/elements/gstaggregator.c:
26590 * gst/elements/gstaggregator.h:
26591 * gst/elements/gstmd5sink.c:
26592 * gst/elements/gstmd5sink.h:
26593 * gst/elements/gstmultifilesrc.c:
26594 * gst/elements/gstmultifilesrc.h:
26595 * gst/elements/gstpipefilter.c:
26596 * gst/elements/gstpipefilter.h:
26597 * gst/elements/gstshaper.c:
26598 * gst/elements/gstshaper.h:
26599 * gst/elements/gststatistics.c:
26600 * gst/elements/gststatistics.h:
26601 * po/POTFILES.in: Remove above files.
26603 2005-05-14 Andy Wingo <wingo@pobox.com>
26605 * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
26606 so as to get the refs right.
26607 (sink_iterator_filter): New function, wraps bin_element_is_sink,
26608 unreffing objects that don't pass the filter.
26610 * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
26611 gst_element_set_bus.
26612 (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
26613 normal cases, this will destroy the bus.
26615 * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
26618 * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
26621 2005-05-13 Andy Wingo <wingo@pobox.com>
26623 * gst/gstutils.c (gst_element_link_pads): Instead of calling
26624 gst_pad_link, call pad_link_maybe_ghosting,
26625 (pad_link_maybe_ghosting): Links pads, making sure that the
26626 elements being linked are in the same bin.
26627 (find_common_root, object_has_ancestor, ghost_up, remove_pad):
26628 Helpers for pad_link_maybe_ghosting.
26630 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
26633 Require GLib >= 2.4.0 (for the g_atomic_* funcs)
26635 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
26637 * docs/design/part-element-source.txt:
26640 2005-05-12 Wim Taymans <wim@fluendo.com>
26642 * gst/base/gstbasesink.c: (gst_basesink_init),
26643 (gst_basesink_activate):
26644 * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
26645 (gst_basesrc_is_seekable):
26646 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
26647 (bin_element_is_sink), (gst_bin_change_state):
26648 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
26649 * gst/gstelement.h:
26650 Identify sinks by their flag to avoid overly complicated
26652 Do state changes even for elements not reachable from the
26654 BaseSink is a sink now :)
26655 Some more debugging info in the basesrc.
26658 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26660 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
26661 Implement _query on a bin, similar to _send_event.
26663 2005-05-12 Tim-Philipp Müller <tim at centricular dot net>
26665 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
26666 Discont event offset format should be GST_FORMAT_BYTES,
26667 not GST_FORMAT_TIME.
26669 2005-05-12 Wim Taymans <wim@fluendo.com>
26671 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
26672 Same fix as Ronald's but without the signal.
26674 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26676 * gst/gstutils.c: (gst_element_query_position):
26677 No, an element is not a pad.
26679 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26681 * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
26682 (gst_bin_get_state):
26683 If a child is removed from a bin while we remove the child from
26684 the bin and while we're retrieving its state, signal this to the
26685 get_state function so we abort the wait (instead of waiting for
26686 a timeout) and can immediately re-iterate over all other elements.
26688 2005-05-12 Wim Taymans <wim@fluendo.com>
26690 * gst/base/Makefile.am:
26691 * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
26692 (gst_basesrc_start):
26693 * gst/base/gstbasesrc.h:
26694 * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
26695 (gst_pushsrc_base_init), (gst_pushsrc_class_init),
26696 (gst_pushsrc_init), (gst_pushsrc_create):
26697 * gst/base/gstpushsrc.h:
26698 Added is_seekable to BaseSrc
26699 Added simple PushSrc.
26701 2005-05-11 Wim Taymans <wim@fluendo.com>
26703 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
26704 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
26705 (gst_element_link_pads), (gst_element_query_position),
26706 (gst_element_query_convert), (intersect_caps_func),
26707 (gst_pad_query_position), (gst_pad_query_convert):
26708 Fix refcounting in utils function.
26709 No point in trying to activate a pad when it's added, it could
26710 be added from the state change function and then we deadlock, the
26711 element has to decide what to do.
26713 2005-05-10 Andy Wingo <wingo@pobox.com>
26715 * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
26716 *all* the arguments.
26718 * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
26719 stream lock if it's a FLUSH_DONE; normal flushes don't get the
26720 lock (according to the docs -- if this is wrong change the docs).
26722 * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
26723 flush messages in the NULL state.
26725 * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
26726 message immediately and return.
26727 (gst_bus_set_flushing): New function. If a bus is flushing, it
26728 flushes out any queued messages and immediately unrefs new
26729 messages. This is so when an element goes to NULL, all of the
26730 unhandled messages coming from it can be freed, and their
26731 references to the element dropped. In other words: message source
26732 ref considered harmful :P
26734 * gst/gstbin.c (gst_bin_change_state): Unref peer element when
26735 we're finished with it.
26737 * gst/gstmessage.c (gst_message_new_state_changed):
26739 2005-05-10 Wim Taymans <wim@fluendo.com>
26741 * gst/gstvalue.c: (gst_value_compare_flags),
26742 (gst_value_serialize_flags), (gst_value_deserialize_flags),
26743 (_gst_value_initialize):
26744 Added flags serialize/deserialize/compare code.
26746 2005-05-09 Andy Wingo <wingo@pobox.com>
26748 * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
26749 Intersect the peer's caps with our caps.
26751 2005-05-09 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26753 * gst/base/gsttypefindhelper.c: (helper_find_peek):
26754 * gst/elements/gsttypefindelement.c: (find_peek):
26755 Handle negative offsets better. Fixes decodebin.
26757 2005-05-09 Wim Taymans <wim@fluendo.com>
26759 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
26760 (gst_base_transform_event):
26761 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
26762 Implement accept_caps.
26763 Fix silly lock/unlock mismatch in base class.
26765 2005-05-09 Wim Taymans <wim@fluendo.com>
26767 * docs/design/draft-push-pull.txt:
26768 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
26769 * gst/elements/gstfilesink.c: (gst_filesink_init),
26770 (gst_filesink_query):
26771 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
26772 (gst_type_find_handle_src_query), (find_element_get_length):
26773 * gst/gstelement.c: (gst_element_seek), (gst_element_query):
26774 * gst/gstelement.h:
26775 * gst/gstmessage.c:
26776 * gst/gstmessage.h:
26777 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
26778 (gst_real_pad_get_caps_unlocked),
26779 (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
26780 (gst_pad_event_default_dispatch), (gst_pad_event_default),
26781 (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
26782 (gst_real_pad_dispose), (gst_real_pad_finalize),
26783 (gst_pad_load_and_link), (gst_pad_save_thyself),
26784 (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
26785 (gst_pad_check_pull_range), (gst_pad_pull_range),
26786 (gst_pad_template_get_type), (gst_pad_template_class_init),
26787 (gst_pad_template_init), (gst_pad_template_dispose),
26788 (name_is_valid), (gst_static_pad_template_get),
26789 (gst_pad_template_new), (gst_static_pad_template_get_caps),
26790 (gst_pad_template_get_caps), (gst_pad_set_element_private),
26791 (gst_pad_get_element_private), (gst_pad_start_task),
26792 (gst_pad_pause_task), (gst_pad_stop_task),
26793 (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
26794 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
26795 (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
26796 (gst_ghost_pad_new):
26798 * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
26799 (gst_query_new_position), (gst_query_set_position),
26800 (gst_query_parse_position), (gst_query_new_convert),
26801 (gst_query_set_convert), (gst_query_parse_convert):
26803 * gst/gstqueryutils.c:
26804 * gst/gstqueryutils.h:
26805 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
26806 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
26807 (gst_queue_handle_src_query):
26808 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
26809 (gst_element_query_position), (gst_element_query_convert),
26810 (intersect_caps_func), (gst_pad_query_position),
26811 (gst_pad_query_convert):
26813 * tools/gst-inspect.c: (print_pad_info):
26814 * tools/gst-xmlinspect.c: (print_element_info):
26815 Remove old query functions. Ported old code.
26816 Added position/convert helper functions to gstutils.
26817 Reordered gstpad.c code, grouping relevant things.
26818 Remove gst_message_new(), always need to speficy a specific
26822 2005-05-09 Andy Wingo <wingo@pobox.com>
26824 * gst/gstiterator.h: Add some includes.
26826 * gst/gstqueryutils.h: Include more headers.
26829 * gst/gstpad.c (gst_pad_query_position): New routine, replaces
26830 some uses of gst_pad_query.
26832 * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
26833 NULL out parameters.
26834 (gst_query_new_position): New proc, allocates a new position
26837 * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
26838 gstqueryutils.c to the build.
26840 * gst/gststructure.c (gst_structure_set_valist): Implement with
26841 the generic G_VALUE_COLLECT.
26843 2005-05-08 Edward Hervey <bilboed@bilboed.com>
26845 * gst/Makefile.am: (gst_headers):
26846 Added gstqueryutils.h to the list of headers to install, that was
26847 a 'nachty' move wingo :)
26849 2005-05-06 Andy Wingo <wingo@pobox.com>
26852 * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
26853 GstData, init a memchunk.
26854 (standard_definitions): Add a few query types, deprecate a few.
26855 (gst_query_get_type): New proc.
26856 (_gst_query_copy, _gst_query_free, gst_query_new): GstData
26858 (gst_query_new_application, gst_query_get_structure): New public
26861 * docs/design/draft-query.txt: Removed LINKS from the query types,
26862 because all the rest can be dispatched to other pads -- seemed
26863 ugly to have a query that couldn't be dispatched. internal_links
26864 is fine as a pad method.
26866 * gst/gstpad.h: Add query2 as a pad method, add the new functions
26867 in gstpad.c, but maintain binary compatibility for the moment.
26868 Will fix before 0.9 is out.
26870 * gst/gstqueryutils.c:
26871 * gst/gstqueryutils.h: New files, implement 3 methods for each
26872 query type: parse_query, parse_response, and set. Probably need an
26875 * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
26877 * gst/elements/gstfilesink.c (gst_filesink_query2):
26878 * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
26879 query_types, and formats methods.
26881 * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
26882 (gst_pad_set_query2_function): New functions.
26883 (gst_real_pad_init): Set query2_default as the default query2
26884 function. Basically just dispatches to internally linked pads.
26888 * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
26889 without using the atomic operations. Only one thread can possibly
26890 be accessing the data at this point. Changed so as to avoid
26891 gst_atomic operations.
26893 2005-05-06 Wim Taymans <wim@fluendo.com>
26895 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
26896 Also set caps if we use the fallback buffer alloc.
26898 2005-05-06 Tim-Philipp Müller <tim at centricular dot net>
26900 * docs/gst/Makefile.am:
26901 * docs/gst/gstreamer-docs.sgml:
26902 * docs/gst/gstreamer-sections.txt:
26903 * docs/gst/tmpl/gstatomic.sgml:
26904 * docs/gst/tmpl/gstmemchunk.sgml:
26905 * testsuite/elements/struct_i386.h:
26906 * win32/GStreamer.vcproj:
26908 Purge GstAtomic stuff from docs and win32 makefiles as well
26910 2005-05-06 Wim Taymans <wim@fluendo.com>
26912 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
26913 * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
26914 * gst/gstpad.c: (gst_pad_peer_get_caps):
26915 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
26916 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
26917 (gst_queue_src_activate), (gst_queue_change_state):
26919 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
26920 (intersect_caps_func):
26921 Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
26922 Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
26923 Some fixes for the peer_get_caps() change.
26925 2005-05-06 Wim Taymans <wim@fluendo.com>
26927 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
26928 (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
26929 (gst_basesink_activate):
26930 Actually do something with error codes returned from the push
26933 2005-05-06 Wim Taymans <wim@fluendo.com>
26935 * docs/design/part-element-sink.txt:
26936 * docs/design/part-element-source.txt:
26937 * gst/base/gstbasesink.c: (gst_basesink_class_init),
26938 (gst_basesink_event), (gst_basesink_activate):
26939 * gst/base/gstbasesink.h:
26940 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
26941 (gst_basesrc_activate):
26942 * gst/base/gstbasesrc.h:
26943 * gst/gstelement.c: (gst_element_pads_activate):
26944 Some more documentation.
26945 Fixed scheduling decision in _pads_activate().
26947 2005-05-05 Andy Wingo <wingo@pobox.com>
26949 * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
26952 2005-05-05 Wim Taymans <wim@fluendo.com>
26954 * gst/base/Makefile.am:
26955 * gst/base/gstbasesink.h:
26956 * gst/base/gstbasesrc.c: (gst_basesrc_init),
26957 (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
26958 * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
26959 (gst_collectpads_class_init), (gst_collectpads_init),
26960 (gst_collectpads_finalize), (gst_collectpads_new),
26961 (gst_collectpads_set_function), (gst_collectpads_add_pad),
26962 (find_pad), (gst_collectpads_remove_pad),
26963 (gst_collectpads_is_active), (gst_collectpads_collect),
26964 (gst_collectpads_collect_range), (gst_collectpads_start),
26965 (gst_collectpads_stop), (gst_collectpads_peek),
26966 (gst_collectpads_pop), (gst_collectpads_available),
26967 (gst_collectpads_read), (gst_collectpads_flush),
26968 (gst_collectpads_chain):
26969 * gst/base/gstcollectpads.h:
26970 * gst/elements/Makefile.am:
26971 * gst/elements/gstelements.c:
26972 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
26973 (gst_fakesink_get_times), (gst_fakesink_event),
26974 (gst_fakesink_preroll), (gst_fakesink_render):
26975 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
26976 (gst_filesink_init), (gst_filesink_set_location),
26977 (gst_filesink_open_file), (gst_filesink_close_file),
26978 (gst_filesink_pad_query), (gst_filesink_event),
26979 (gst_filesink_render), (gst_filesink_change_state):
26980 * gst/elements/gstfilesink.h:
26981 Added object to help in making collect pad based elements.
26983 Make event function in sink baseclass return gboolean.
26985 2005-05-05 Wim Taymans <wim@fluendo.com>
26987 * gst/gstbin.c: (gst_bin_send_event), (compare_name),
26988 (gst_bin_get_by_name):
26990 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
26991 (gst_clock_finalize):
26992 * gst/gstdata.c: (gst_data_replace):
26994 * gst/gstelement.c: (gst_element_request_pad),
26995 (gst_element_pads_activate):
26996 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
26997 (gst_object_unref):
26998 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
26999 (gst_pad_set_checkgetrange_function),
27000 (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
27001 (gst_pad_check_pull_range), (gst_pad_pull_range),
27002 (gst_static_pad_template_get_caps), (gst_pad_start_task),
27003 (gst_pad_pause_task), (gst_pad_stop_task):
27004 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
27005 (gst_element_request_pad), (gst_pad_proxy_getcaps):
27006 Fix name lookup in GstBin.
27007 Added _data_replace() function and _buffer_replace()
27008 Use finalize method to clean up clock.
27009 Fix refcounting on request pads.
27010 Fix pad schedule mode error.
27011 Some more object refcounting debug info,
27014 2005-05-04 Andy Wingo <wingo@pobox.com>
27016 * check/Makefile.am:
27017 * docs/gst/tmpl/gstatomic.sgml:
27018 * docs/gst/tmpl/gstplugin.sgml:
27019 * gst/base/gstbasesink.c: (gst_basesink_activate):
27020 * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
27021 (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
27022 (gst_basesrc_query), (gst_basesrc_set_property),
27023 (gst_basesrc_get_property), (gst_basesrc_check_get_range),
27024 (gst_basesrc_activate):
27025 * gst/base/gstbasesrc.h:
27026 * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
27027 (gst_base_transform_src_activate):
27028 * gst/elements/gstelements.c:
27029 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
27030 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
27031 * gst/elements/gsttee.c: (gst_tee_sink_activate):
27032 * gst/elements/gsttypefindelement.c: (find_element_get_length),
27033 (gst_type_find_element_checkgetrange),
27034 (gst_type_find_element_activate):
27035 * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
27036 * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
27037 (gst_caps_load_thyself):
27038 * gst/gstelement.c: (gst_element_pads_activate),
27039 (gst_element_save_thyself), (gst_element_restore_thyself):
27040 * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
27041 (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
27043 * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
27044 (gst_xml_parse_file), (gst_xml_parse_memory),
27045 (gst_xml_get_element), (gst_xml_make_element):
27046 * gst/indexers/gstfileindex.c: (gst_file_index_load),
27047 (_file_index_id_save_xml), (gst_file_index_commit):
27048 * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
27049 (read_enum), (load_pad_template), (load_feature), (load_plugin),
27051 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
27052 (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
27053 * tools/gst-complete.c: (main):
27054 * tools/gst-compprep.c: (main):
27055 * tools/gst-inspect.c: (print_element_properties_info):
27056 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
27057 * tools/gst-xmlinspect.c: (print_element_properties):
27060 2005-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
27062 * gst/gstplugin.c: (gst_plugin_check_module),
27063 (gst_plugin_check_file), (gst_plugin_load_file):
27064 apply patch from #172526 to make register work on MacOSX
27066 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
27068 * docs/gst/tmpl/gstconfig.sgml:
27069 * gst/gstconfig.h.in:
27070 move documentation for some symbols. Add doc for GST_PTR_FORMAT
27071 * testsuite/debug/printf_extension.c: (main):
27072 Do not use GST_PTR_FORMAT on pointers to types with
27073 sizeof < sizeof(gpointer). Fixes test on 64-bit
27074 * testsuite/elements/property.h:
27075 use correct printf format
27077 2005-05-02 Wim Taymans <wim@fluendo.com>
27079 * docs/design/draft-push-pull.txt:
27080 * docs/design/draft-query.txt:
27081 * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
27082 (gst_basesrc_start):
27083 Added draft for new query API.
27084 Added draft for better selecting scheduling methods.
27085 Make basesrc ignore length if the subclass does not support
27088 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
27091 possible fixes for automake-1.5 - _LIBADD is reserved
27093 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
27095 * docs/faq/Makefile.am:
27096 * docs/manual/Makefile.am:
27097 * docs/manuals.mak:
27098 * docs/pwg/Makefile.am:
27100 possible fixes for automake-1.5
27102 2005-04-28 Wim Taymans <wim@fluendo.com>
27104 * gst/base/gstbasesink.c: (gst_basesink_base_init),
27105 (gst_basesink_pad_getcaps), (gst_basesink_init),
27106 (gst_basesink_do_sync):
27107 * gst/gstclock.c: (gst_clock_entry_new):
27108 * gst/gstevent.c: (gst_event_discont_get_value):
27109 * gst/gstpipeline.c: (pipeline_bus_handler),
27110 (gst_pipeline_change_state):
27111 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
27112 Better debugging of clocking info.
27113 Allow NULL values when getting discont values.
27115 2005-04-27 Wim Taymans <wim@fluendo.com>
27117 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
27118 * check/gst/gstpad.c: (gst_pad_suite):
27119 Increase timeout for checks.
27121 2005-04-27 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
27123 * check/Makefile.am:
27124 fix the broken rule for cleanup. Apparently this rule is
27125 only needed on FC2, so maybe this warrants further autotool
27128 2005-04-26 Wim Taymans <wim@fluendo.com>
27130 * gst/gsttrashstack.h:
27131 Ooohh. a nasty one! After having a failed pop() from the stack,
27132 it's possible that the stack is empty. In that case, don't
27133 follow the NULL pointer.
27135 2005-04-25 Wim Taymans <wim@fluendo.com>
27137 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
27138 (gst_pad_set_checkgetrange_function),
27139 (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
27140 (gst_pad_check_pull_range), (gst_pad_pull_range),
27141 (gst_static_pad_template_get_caps), (gst_pad_start_task),
27142 (gst_pad_pause_task), (gst_pad_stop_task):
27143 * gst/gstplugin.c: (gst_plugin_load):
27145 Remove gst_library_load as it does more harm than good with
27146 the new g_module flags.
27147 Revert bogus caps template check in pad linking, pad caps
27148 are important when linking not the template, which is more
27149 general than the current caps.
27151 2005-04-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27153 * gst/autoplug/.cvsignore:
27154 * gst/autoplug/Makefile.am:
27155 * gst/autoplug/gstsearchfuncs.c:
27156 * gst/autoplug/gstsearchfuncs.h:
27157 * gst/autoplug/gstspider.c:
27158 * gst/autoplug/gstspider.h:
27159 * gst/autoplug/gstspideridentity.c:
27160 * gst/autoplug/gstspideridentity.h:
27161 * gst/autoplug/spidertest.c:
27164 2005-04-25 Wim Taymans <wim@fluendo.com>
27166 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
27167 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
27168 (gst_pad_pull_range), (gst_static_pad_template_get_caps),
27169 (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
27171 Added stubs for unimplemented functions.
27173 2005-04-24 David Schleef <ds@schleef.org>
27175 * gst/gstpad.h: Disable some unimplemented functions. Wim,
27178 2005-04-24 David Schleef <ds@schleef.org>
27180 Convert everything from GstAtomicInt to g_atomic_int_*, and
27185 * gst/gstatomic_impl.h:
27193 * gst/gstdata_private.h:
27197 * gst/gstmessage.c:
27200 * gst/gststructure.c:
27201 * gst/gststructure.h:
27202 * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
27205 2005-04-24 David Schleef <ds@schleef.org>
27207 * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
27208 make the regressions tests work. Remove some code that is no
27210 * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
27211 Disable warning for pads without templates.
27213 2005-04-24 David Schleef <ds@schleef.org>
27215 * gst/gstpad.c: Remove handling of filtered caps. Fix/merge
27216 functions that handle filtered links.
27217 * gst/gstpad.h: Remove 'appfilter' field and prototypes of
27219 * gst/gstutils.c: Fix/remove utility functions that handle
27222 * gst/gstvalue.c: Add serialization/deserialization of caps
27223 * gst/parse/grammar.y: Ignore filtered caps when linking. This
27224 requires fixing so that the filter caps notation creates
27225 a capsfilter element and sets the filter_caps property. I
27226 think everyone probably wants to keep the shorthand notation.
27227 * docs/gst/tmpl/gstelement.sgml: updates for API changes.
27228 * docs/gst/tmpl/gstpad.sgml:
27230 * gst/elements/gstelements.c: Register capsfilter element.
27231 * gst/Makefile.am: fix spacing
27232 * docs/random/ds/0.9-suggested-changes: random
27234 2005-04-23 David Schleef <ds@schleef.org>
27236 * gst/elements/Makefile.am:
27237 * gst/elements/gstcapsfilter.c: New element that acts like an
27238 identity, but filters caps. Will eventually replace filtered
27239 caps in pad linking.
27240 * gst/gstutils.c: (gst_element_create_all_pads): New function
27241 to create all the ALWAYS pads that are registered with an
27242 element class. This functionality should eventually be
27243 merged in with GstElement initialization.
27245 * testsuite/trigger/README: part of trigger test code that should
27246 have been checked in a long time ago.
27248 2005-04-23 David Schleef <ds@schleef.org>
27250 * gst/Makefile.am: Remove as-libtool stuff. It's likely not
27251 needed with new versions of libtool (nobody will confirm this),
27252 and hard to carry around.
27253 * gst/autoplug/Makefile.am:
27254 * gst/base/Makefile.am:
27255 * gst/elements/Makefile.am:
27256 * gst/indexers/Makefile.am:
27257 * gst/schedulers/Makefile.am:
27258 * libs/gst/bytestream/Makefile.am:
27259 * libs/gst/control/Makefile.am:
27260 * libs/gst/dataprotocol/Makefile.am:
27261 * libs/gst/getbits/Makefile.am:
27263 2005-04-21 Wim Taymans <wim@fluendo.com>
27265 * docs/design/draft-push-pull.txt:
27266 * docs/design/part-MT-refcounting.txt:
27267 * docs/design/part-TODO.txt:
27268 * docs/design/part-caps.txt:
27269 * docs/design/part-events.txt:
27270 * docs/design/part-gstbus.txt:
27271 * docs/design/part-gstpipeline.txt:
27272 * docs/design/part-messages.txt:
27273 * docs/design/part-push-pull.txt:
27274 * docs/design/part-query.txt:
27277 2005-04-21 Wim Taymans <wim@fluendo.com>
27279 * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
27280 (gst_message_new), (gst_message_new_error),
27281 (gst_message_new_warning), (gst_message_new_tag),
27282 (gst_message_new_state_changed), (gst_message_new_application),
27283 (gst_message_get_structure):
27284 * gst/gstmessage.h:
27285 * gst/gststructure.c: (gst_structure_set_parent_refcount),
27286 (gst_structure_copy_conditional):
27287 Use parent refcount in GstMessage to ensure GstStructure
27289 Cleaned up headers a bit.
27292 2005-04-20 Wim Taymans <wim@fluendo.com>
27294 * gst/base/gstbasesink.c: (gst_basesink_base_init),
27295 (gst_basesink_pad_getcaps), (gst_basesink_init),
27296 (gst_basesink_chain_unlocked):
27297 * gst/base/gsttypefindhelper.c: (helper_find_suggest),
27298 (gst_type_find_helper):
27299 * gst/elements/gsttypefindelement.c:
27300 (gst_type_find_element_have_type), (gst_type_find_element_init),
27301 (stop_typefinding), (gst_type_find_element_handle_event),
27302 (find_suggest), (gst_type_find_element_chain),
27303 (gst_type_find_element_checkgetrange),
27304 (gst_type_find_element_getrange), (do_typefind),
27305 (gst_type_find_element_activate):
27306 * gst/gstbuffer.c: (_gst_buffer_sub_free),
27307 (gst_buffer_default_free), (gst_buffer_default_copy),
27308 (gst_buffer_set_caps):
27309 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
27310 (gst_caps_replace):
27311 * gst/gstmessage.c: (gst_message_new),
27312 (gst_message_new_state_changed):
27313 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
27314 (gst_pad_set_checkgetrange_function),
27315 (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
27316 (gst_pad_set_caps), (gst_pad_check_pull_range),
27317 (gst_pad_pull_range), (gst_static_pad_template_get_caps):
27319 * gst/gsttypefind.c: (gst_type_find_register):
27320 Make gst_caps_replace() work like other _replace() functions.
27321 Use _caps_replace() where possible.
27322 Make sure _message_new() initialises its field.
27323 Add gst_static_pad_template_get_caps()
27326 2005-04-18 Andy Wingo <wingo@pobox.com>
27328 * gst/gstelement.c (gst_element_pads_activate): Check pull_range
27329 on the peer, not the pad. I think that was a typo. Pass an extra
27330 arg to see if random access is possible. Activate the pads as
27331 PULL_RANGE if possible.
27333 * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
27335 * gst/base/gstbasesrc.c (gst_basesrc_set_property)
27336 (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
27339 2005-04-14 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27341 * docs/faq/using.xml:
27342 Add note on gstreamer-properties (#154996).
27344 2005-04-13 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27346 * docs/random/bbb/optional-properties:
27347 Some analysis on optional properties.
27349 2005-04-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27351 * docs/gst/tmpl/gstelementfactory.sgml:
27352 * gst/gstelement.h:
27353 * gst/gstelementfactory.c: (gst_element_factory_init),
27354 (gst_element_factory_cleanup), (gst_element_register),
27355 (__gst_element_factory_add_static_pad_template),
27356 (gst_element_factory_get_static_pad_templates),
27357 (gst_element_factory_can_src_caps),
27358 (gst_element_factory_can_sink_caps):
27359 * gst/registries/Makefile.am:
27360 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
27361 (gst_xml_registry_class_init), (gst_xml_registry_init),
27362 (gst_xml_registry_new), (gst_xml_registry_set_property),
27363 (gst_xml_registry_get_property), (get_time), (make_dir),
27364 (gst_xml_registry_get_perms_func),
27365 (plugin_times_older_than_recurse), (plugin_times_older_than),
27366 (gst_xml_registry_open_func), (gst_xml_registry_load_func),
27367 (gst_xml_registry_save_func), (gst_xml_registry_close_func),
27368 (add_to_char_array), (read_string), (read_uint), (read_enum),
27369 (load_pad_template), (load_feature), (load_plugin), (load_paths),
27370 (gst_xml_registry_load), (gst_xml_registry_load_plugin),
27371 (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
27372 (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
27373 (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
27374 (gst_xml_registry_rebuild):
27375 * gst/registries/gstlibxmlregistry.h:
27376 * tools/gst-compprep.c: (main):
27377 * tools/gst-inspect.c: (print_pad_templates_info):
27378 * tools/gst-xmlinspect.c: (print_element_info):
27379 Use libxml2 for registry parsing, use staticpadtemplates in
27380 elementfactories. Makes gst_init() +/- 10x faster.
27382 2005-04-12 Wim Taymans <wim@fluendo.com>
27384 * gst/base/Makefile.am:
27385 * gst/base/gstbasesink.c: (gst_basesink_base_init),
27386 (gst_basesink_pad_getcaps), (gst_basesink_init),
27387 (gst_basesink_event), (gst_basesink_change_state):
27388 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
27389 (gst_basesrc_init), (gst_basesrc_query),
27390 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
27391 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
27392 (gst_basesrc_check_get_range), (gst_basesrc_loop),
27393 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
27394 (gst_basesrc_stop), (gst_basesrc_activate),
27395 (gst_basesrc_change_state):
27396 * gst/base/gsttypefindhelper.c: (helper_find_peek),
27397 (helper_find_suggest), (gst_type_find_helper):
27398 * gst/base/gsttypefindhelper.h:
27399 * gst/elements/Makefile.am:
27400 * gst/elements/gstelements.c:
27401 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
27402 (gst_fakesink_get_times), (gst_fakesink_event),
27403 (gst_fakesink_preroll), (gst_fakesink_render):
27404 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
27405 (gst_fakesrc_init), (gst_fakesrc_event_handler),
27406 (gst_fakesrc_get_property), (gst_fakesrc_create),
27407 (gst_fakesrc_start), (gst_fakesrc_stop):
27408 * gst/elements/gstfakesrc.h:
27409 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
27410 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
27411 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
27412 (gst_filesrc_create_read), (gst_filesrc_create),
27413 (gst_filesrc_is_seekable), (gst_filesrc_get_size),
27414 (gst_filesrc_start):
27415 * gst/elements/gsttypefindelement.c:
27416 (gst_type_find_element_have_type), (gst_type_find_element_init),
27417 (start_typefinding), (stop_typefinding), (push_buffer_store),
27418 (gst_type_find_element_handle_event),
27419 (gst_type_find_element_chain),
27420 (gst_type_find_element_checkgetrange),
27421 (gst_type_find_element_getrange), (do_typefind),
27422 (gst_type_find_element_activate),
27423 (gst_type_find_element_change_state):
27424 * gst/elements/gsttypefindelement.h:
27425 * gst/gstpipeline.c: (pipeline_bus_handler):
27426 Added typefind helper.
27427 Small preroll fix in the base sink.
27428 Disable typefind code in basesrc.
27429 Crude port of typefindelement.
27433 2005-04-11 Wim Taymans <wim@fluendo.com>
27435 * check/gst/gstbus.c: (gstbus_suite):
27436 * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
27437 * check/gstcheck.h:
27438 Fix up the timeout so that the test does not fail.
27440 2005-04-06 Wim Taymans <wim@fluendo.com>
27443 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
27444 (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
27445 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
27446 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
27447 (gst_basesrc_check_get_range), (gst_basesrc_loop),
27448 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
27449 (gst_basesrc_stop), (gst_basesrc_activate),
27450 (gst_basesrc_change_state), (basesrc_find_peek),
27451 (basesrc_find_suggest), (gst_basesrc_type_find):
27452 * gst/base/gstbasesrc.h:
27453 * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
27454 (gst_filesrc_class_init), (gst_filesrc_init),
27455 (gst_filesrc_finalize), (gst_filesrc_set_location),
27456 (gst_filesrc_set_property), (gst_filesrc_get_property),
27457 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
27458 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
27459 (gst_filesrc_create_read), (gst_filesrc_create),
27460 (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
27461 * gst/elements/gstfilesrc.h:
27462 * gst/gstelement.c: (gst_element_get_state_func),
27463 (gst_element_lost_state), (gst_element_pads_activate):
27464 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
27465 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
27466 (gst_pad_pull_range):
27468 More work on the generic source base class, implement seeking,
27470 Make filesrc extend the base source class.
27471 Added gst_pad_set_checkgetrange_function to GstPad.
27473 2005-04-06 Andy Wingo <wingo@pobox.com>
27475 * pkgconfig/gstreamer-base.pc.in:
27476 * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
27478 * pkgconfig/Makefile.am:
27479 * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
27481 2005-04-04 Wim Taymans <wim@fluendo.com>
27483 * gst/base/Makefile.am:
27485 * gst/base/gstbasesink.c: (gst_basesink_base_init),
27486 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
27487 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
27488 (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
27489 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
27490 (gst_basesrc_base_init), (gst_basesrc_class_init),
27491 (gst_basesrc_init), (gst_basesrc_get_formats),
27492 (gst_basesrc_get_query_types), (gst_basesrc_query),
27493 (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
27494 (gst_basesrc_set_property), (gst_basesrc_get_property),
27495 (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
27496 (gst_basesrc_loop), (gst_basesrc_activate),
27497 (gst_basesrc_change_state):
27498 * gst/base/gstbasesrc.h:
27499 * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
27500 (gst_fakesrc_class_init), (gst_fakesrc_init),
27501 (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
27502 (gst_fakesrc_get_property), (gst_fakesrc_create):
27503 * gst/elements/gstfakesrc.h:
27504 * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
27505 (gst_filesrc_open_file), (gst_filesrc_loop),
27506 (gst_filesrc_activate), (filesrc_find_peek),
27507 (gst_filesrc_type_find):
27508 Made base source class, make fakesrc extend it.
27509 Add comments to basesink class.
27510 Some filesrc cleanup.
27512 2005-03-31 David Schleef <ds@schleef.org>
27514 * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
27515 Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
27516 expected to link against libgstreamer.
27517 * gst/base/Makefile.am: link against libgstreamer
27518 * gst/elements/Makefile.am: same
27520 2005-03-31 Andy Wingo <wingo@pobox.com>
27522 * tests/instantiate/Makefile.am:
27523 * tests/instantiate/caps.c: Add test to test speed of caps copy
27526 * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
27527 GMemChunk to be fair.
27529 * gst/gsttrashstack.h: Remove warning about using the fallback
27530 trash stack implementation, it's still faster than malloc.
27532 2005-03-30 Andy Wingo <wingo@pobox.com>
27534 * tests/complexity.c: Add a copyright.
27536 2005-03-31 Wim Taymans <wim@fluendo.com>
27538 * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
27539 (gst_base_transform_class_init), (gst_base_transform_init),
27540 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
27541 (gst_base_transform_get_property),
27542 (gst_base_transform_sink_activate),
27543 (gst_base_transform_src_activate),
27544 (gst_base_transform_change_state):
27545 * gst/base/gstbasetransform.h:
27546 * gst/elements/gstidentity.c: (gst_identity_class_init),
27547 (gst_identity_event), (gst_identity_check_perfect),
27548 (gst_identity_transform), (gst_identity_start),
27549 (gst_identity_stop):
27550 Added start/stop methods to transform base class so subclasses
27551 don't need to deal with state changes even.
27553 2005-03-31 Wim Taymans <wim@fluendo.com>
27555 * gst/gstevent.c: (gst_event_new_discontinuous_valist),
27556 (gst_event_new_discontinuous), (gst_event_discont_get_value):
27558 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
27559 (gst_pad_pull_range):
27560 Added rate to the discont event to prepare for variable speed
27561 and reverse playback.
27563 2005-03-29 David Schleef <ds@schleef.org>
27566 * testsuite/trigger/Makefile.am:
27567 * testsuite/trigger/trigger.c: A little example program to show
27568 how trigger-based elements can work.
27570 2005-03-29 Wim Taymans <wim@fluendo.com>
27572 * gst/base/Makefile.am:
27574 * gst/base/gstbasesink.c: (gst_basesink_get_type),
27575 (gst_basesink_base_init), (gst_basesink_class_init),
27576 (gst_basesink_pad_getcaps), (gst_basesink_init),
27577 (gst_basesink_activate), (gst_basesink_change_state):
27578 * gst/base/gstbasesink.h:
27579 * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
27580 (gst_base_transform_base_init), (gst_base_transform_finalize),
27581 (gst_base_transform_class_init), (gst_base_transform_init),
27582 (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
27583 (gst_base_transform_event), (gst_base_transform_getrange),
27584 (gst_base_transform_chain), (gst_base_transform_handle_buffer),
27585 (gst_base_transform_set_property),
27586 (gst_base_transform_get_property),
27587 (gst_base_transform_sink_activate),
27588 (gst_base_transform_src_activate),
27589 (gst_base_transform_change_state):
27590 * gst/base/gstbasetransform.h:
27591 * gst/elements/gstidentity.c: (gst_identity_finalize),
27592 (gst_identity_class_init), (gst_identity_init),
27593 (gst_identity_event), (gst_identity_check_perfect),
27594 (gst_identity_transform), (gst_identity_set_property),
27595 (gst_identity_get_property), (gst_identity_change_state):
27596 * gst/elements/gstidentity.h:
27597 * gst/gstelement.c: (gst_element_get_state_func),
27598 (gst_element_lost_state), (gst_element_pads_activate):
27599 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
27600 (gst_pad_check_pull_range), (gst_pad_pull_range):
27602 Simplify pad activation.
27603 Added function to check if pull_range can be performed.
27604 Error out when pulling inactive or flushing pads.
27605 Removed const from refcounted types as it does not make sense.
27606 Simplify pad templates in basesink
27607 Added base class for simple 1-to-1 transforms.
27608 Make identity subclass the base transform.
27610 2005-03-29 Andy Wingo <wingo@pobox.com>
27612 * docs/libs/gstreamer-libs-overrides.txt:
27613 * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
27614 really don't understand what's going on, but like whatever. I want
27617 * docs/gst/Makefile.am:
27618 * docs/libs/Makefile.am: Dist the overrides files.
27620 * check/Makefile.am (clean-local): Remove .libs directories.
27622 * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
27623 elements to EXTRA_DIST, so po/ files are happy.
27625 * po/POTFILES.in: Er, remove it here.
27627 * po/POTFILES: Remove gstspider.c.
27629 * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
27631 * docs/libs/gstreamer-libs-docs.sgml:
27632 * docs/libs/gstreamer-libs-sections.txt: Remove the section on
27635 * tests/complexity.c (main): Set the length of the preroll queue
27636 on the sinks to prevent a lockup.
27638 * libs/gst/dataprotocol/Makefile.am:
27639 * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
27640 the same as the one in check/gst-libs/gdp.c.
27642 * po/, docs/gst/: Commit automatic changes to docs and po files.
27644 * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
27645 the versioned libgstbase.
27647 * check/Makefile.am: Depend on an unversioned gst-register, seems
27648 to make autoconf happier.
27650 * gst/base/Makefile.am: Make libgstbase a versioned lib.
27652 2005-03-28 Wim Taymans <wim@fluendo.com>
27655 * docs/design/part-gstelement.txt:
27656 * docs/design/part-negotiation.txt:
27657 * docs/design/part-preroll.txt:
27658 * docs/design/part-scheduling.txt:
27659 * docs/design/part-states.txt:
27661 * gst/base/Makefile.am:
27663 * gst/base/gstbasesink.c: (gst_basesink_get_template),
27664 (gst_basesink_base_init), (gst_basesink_class_init),
27665 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
27666 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
27667 (gst_basesink_set_pad_functions),
27668 (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
27669 (gst_basesink_set_property), (gst_basesink_get_property),
27670 (gst_base_sink_get_template), (gst_base_sink_get_caps),
27671 (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
27672 (gst_basesink_preroll_queue_push),
27673 (gst_basesink_preroll_queue_empty),
27674 (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
27675 (gst_basesink_event), (gst_basesink_get_times),
27676 (gst_basesink_do_sync), (gst_basesink_handle_buffer),
27677 (gst_basesink_chain_unlocked), (gst_basesink_chain),
27678 (gst_basesink_loop), (gst_basesink_activate),
27679 (gst_basesink_change_state):
27680 * gst/base/gstbasesink.h:
27681 * gst/elements/Makefile.am:
27682 * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
27683 (gst_fakesink_class_init), (gst_fakesink_init),
27684 (gst_fakesink_set_property), (gst_fakesink_get_property),
27685 (gst_fakesink_get_times), (gst_fakesink_event),
27686 (gst_fakesink_preroll), (gst_fakesink_render),
27687 (gst_fakesink_change_state):
27688 * gst/elements/gstfakesink.h:
27689 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
27690 (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
27691 * gst/gstelement.c: (gst_element_add_pad),
27692 (gst_element_get_state_func), (gst_element_abort_state),
27693 (gst_element_commit_state), (gst_element_lost_state),
27694 (gst_element_set_state), (gst_element_pads_activate):
27695 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
27696 * gst/gstpipeline.c: (gst_pipeline_send_event),
27697 (gst_pipeline_change_state):
27698 Added state change code.
27699 Added/updated docs.
27700 Added sink base class, make fakesink extend the base class.
27701 Small cleanups in GstPipeline.
27703 2005-03-26 David Schleef <ds@schleef.org>
27705 * gst/Makefile.am: remove gstcpu.[ch]. The gst_cpu functionality
27706 is broken and should be implemented in a different library.
27707 * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
27708 * gst/gst.h: remove gstcpu.h
27709 * gst/gstcpu.c: remove
27710 * gst/gstcpu.h: remove
27711 * gst/Makefile.am.future: Remove this file. It's ancient.
27713 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27715 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
27716 (gst_bin_send_event):
27717 Add default event/set_manager handlers. The set_manager handler
27718 takes care that the manager is distributed over kids that were
27719 already in the bin before the manager was set. The event handler
27720 is a utility virtual function that sends the event over all sinks,
27721 so that gst_element_send_event (bin, event); has the expected
27723 * gst/gstpad.c: (gst_pad_event_default):
27724 Re-install default event handling for discontinuities, so that
27725 seeking works without requiring hacks in applications or extra
27727 * gst/gstpipeline.c: (gst_pipeline_class_init),
27728 (gst_pipeline_send_event):
27729 Half hack, half utility: set a pipeline to PAUSED for seek events,
27730 since that is the only way we can guarantee a/v sync. Means that
27731 you can do gst_element_seek (pipeline, method, pos); on a pipeline
27732 and it "just works".
27734 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27736 * gst/gstpipeline.c: (gst_pipeline_use_clock):
27737 Lock/unlock mismatch.
27739 2005-03-25 Thomas Vander Stichele <thomas at apestaart dot org>
27741 * docs/faq/gst-uninstalled:
27742 add gst-plugins-base
27743 * docs/gst/Makefile.am:
27744 don't error out until docs are fixed
27745 * docs/gst/gstreamer.types:
27748 2005-03-22 Wim Taymans <wim@fluendo.com>
27750 * check/Makefile.am:
27751 * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
27752 * gst/gststructure.c: (gst_structure_set_valist),
27753 (gst_structure_copy_conditional):
27754 Activated more tests.
27755 Added message test.
27756 Added G_TYPE_POINTER to GstStructure.
27759 2005-03-22 Wim Taymans <wim@fluendo.com>
27761 * docs/design/part-TODO.txt:
27762 * docs/design/part-events.txt:
27763 * docs/design/part-gstbin.txt:
27764 * docs/design/part-gstbus.txt:
27765 * docs/design/part-gstpipeline.txt:
27766 * docs/design/part-messages.txt:
27768 * gst/gstmessage.c:
27771 2005-03-21 Wim Taymans <wim@fluendo.com>
27773 * gst/gstbus.c: (gst_bus_post):
27774 Fix copy-and-paste error.
27776 2005-03-21 Wim Taymans <wim@fluendo.com>
27778 * check/Makefile.am:
27780 * gst/elements/Makefile.am:
27781 * gst/elements/gstelements.c:
27782 * gst/elements/gstfakesink.c: (gst_fakesink_init),
27783 (gst_fakesink_event), (gst_fakesink_chain):
27784 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
27785 (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
27786 (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
27787 (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
27788 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
27789 (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
27790 (gst_fakesrc_loop), (gst_fakesrc_activate),
27791 (gst_fakesrc_change_state):
27792 * gst/elements/gstfakesrc.h:
27793 * gst/elements/gstfilesrc.c: (gst_filesrc_init),
27794 (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
27795 (gst_filesrc_open_file), (gst_filesrc_loop),
27796 (gst_filesrc_activate), (gst_filesrc_change_state),
27797 (filesrc_find_peek), (filesrc_find_suggest),
27798 (gst_filesrc_type_find):
27799 * gst/elements/gstidentity.c: (gst_identity_finalize),
27800 (gst_identity_class_init), (gst_identity_init),
27801 (gst_identity_proxy_getcaps), (identity_queue_push),
27802 (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
27803 (gst_identity_getrange), (gst_identity_chain),
27804 (gst_identity_sink_loop), (gst_identity_src_loop),
27805 (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
27806 (gst_identity_set_property), (gst_identity_get_property),
27807 (gst_identity_change_state):
27808 * gst/elements/gstidentity.h:
27809 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
27810 (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
27811 (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
27812 (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
27813 (gst_tee_sink_activate):
27814 * gst/elements/gsttee.h:
27815 * gst/gst.c: (gst_register_core_elements), (init_post):
27817 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
27818 (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
27819 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
27820 (gst_bin_change_state):
27822 * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
27823 (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
27824 (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
27825 (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
27826 (gst_bus_set_sync_handler), (gst_bus_create_watch),
27827 (bus_watch_callback), (bus_watch_destroy),
27828 (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
27829 (poll_timeout), (gst_bus_poll):
27833 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
27834 (gst_element_post_message), (gst_element_message_full),
27835 (gst_element_get_state_func), (gst_element_get_state),
27836 (gst_element_abort_state), (gst_element_commit_state),
27837 (gst_element_lost_state), (gst_element_set_state),
27838 (gst_element_pads_activate), (gst_element_change_state),
27839 (gst_element_dispose), (gst_element_set_manager_func),
27840 (gst_element_set_bus_func), (gst_element_set_scheduler_func),
27841 (gst_element_set_manager), (gst_element_get_manager),
27842 (gst_element_set_bus), (gst_element_get_bus),
27843 (gst_element_set_scheduler), (gst_element_get_scheduler):
27844 * gst/gstelement.h:
27845 * gst/gstevent.c: (gst_event_new_segment_seek),
27846 (gst_event_new_flush):
27848 * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
27849 (_gst_message_free), (gst_message_get_type), (gst_message_new),
27850 (gst_message_new_eos), (gst_message_new_error),
27851 (gst_message_new_warning), (gst_message_new_tag),
27852 (gst_message_new_state_changed), (gst_message_new_application),
27853 (gst_message_get_structure), (gst_message_parse_tag),
27854 (gst_message_parse_state_changed), (gst_message_parse_error),
27855 (gst_message_parse_warning):
27856 * gst/gstmessage.h:
27857 * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
27858 (gst_real_pad_set_property), (gst_pad_set_active),
27859 (gst_pad_is_active), (gst_pad_set_blocked_async),
27860 (gst_pad_set_blocked), (gst_pad_is_blocked),
27861 (gst_pad_set_activate_function), (gst_pad_set_loop_function),
27862 (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
27863 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
27864 (gst_pad_unlink), (gst_pad_link_prepare_filtered),
27865 (gst_pad_link_filtered), (gst_pad_relink_filtered),
27866 (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
27867 (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
27868 (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
27869 (gst_pad_set_caps), (gst_pad_configure_sink),
27870 (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
27871 (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
27872 (gst_real_pad_dispose), (gst_real_pad_finalize),
27873 (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
27874 (gst_pad_event_default_dispatch), (gst_pad_event_default),
27875 (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
27877 * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
27878 (pipeline_bus_handler), (gst_pipeline_change_state),
27879 (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
27880 * gst/gstpipeline.h:
27882 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
27883 (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
27884 (gst_queue_link_src), (gst_queue_bufferalloc),
27885 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
27886 (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
27887 (gst_queue_loop), (gst_queue_handle_src_event),
27888 (gst_queue_handle_src_query), (gst_queue_src_activate),
27889 (gst_queue_change_state):
27891 * gst/gstscheduler.c: (gst_scheduler_init),
27892 (gst_scheduler_dispose), (gst_scheduler_create_task),
27893 (gst_scheduler_factory_create):
27894 * gst/gstscheduler.h:
27895 * gst/gststructure.c: (gst_structure_get_type),
27896 (gst_structure_copy_conditional):
27897 * gst/gststructure.h:
27898 * gst/gsttaginterface.h:
27899 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
27900 (gst_task_init), (gst_task_dispose), (gst_task_create),
27901 (gst_task_get_state), (gst_task_start), (gst_task_stop),
27907 * gst/schedulers/Makefile.am:
27908 * gst/schedulers/cothreads_compat.h:
27909 * gst/schedulers/entryscheduler.c:
27910 * gst/schedulers/faircothreads.c:
27911 * gst/schedulers/faircothreads.h:
27912 * gst/schedulers/fairscheduler.c:
27913 * gst/schedulers/gstbasicscheduler.c:
27914 * gst/schedulers/gstoptimalscheduler.c:
27915 * gst/schedulers/gthread-cothreads.h:
27916 * gst/schedulers/threadscheduler.c:
27917 (gst_thread_scheduler_task_get_type),
27918 (gst_thread_scheduler_task_class_init),
27919 (gst_thread_scheduler_task_init),
27920 (gst_thread_scheduler_task_start),
27921 (gst_thread_scheduler_task_stop),
27922 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
27923 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
27924 (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
27925 (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
27927 * libs/gst/Makefile.am:
27928 * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
27929 * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
27930 (gst_file_pad_parent_set):
27931 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
27932 (gst_dp_event_from_packet):
27933 * tests/complexity.c: (main):
27934 * tests/mass_elements.c: (main):
27935 * testsuite/states/locked.c: (message_received), (main):
27936 * testsuite/states/parent.c: (main):
27937 * tools/gst-inspect.c: (print_element_flag_info),
27938 (print_implementation_info), (print_pad_info):
27939 * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
27941 * tools/gst-md5sum.c: (event_loop), (main):
27942 * tools/gst-typefind.c: (main):
27943 * tools/gst-xmlinspect.c: (print_element_info):
27945 Added GstBus for mainloop integration.
27946 Added GstMessage for sending notifications on the bus.
27947 Added GstTask as an abstraction for pipeline entry points.
27949 Removed Schedulers.
27950 Simplified GstQueue for multithreaded core.
27951 Made _link threadsafe, removed old capsnego.
27952 Added STREAM_LOCK and PREROLL_LOCK in GstPad.
27953 Added pad blocking functions.
27954 Reworked scheduling functions in GstPad to prepare for
27955 scheduling updates soon.
27956 Moved events out of data stream.
27957 Simplified GstEvent types.
27958 Added return values to push/pull.
27959 Removed clocking from GstElement.
27960 Added prototypes for state change function for next merge.
27961 Removed iterate from bins and state change management.
27962 Fixed some elements, disabled others for now.
27963 Fixed -inspect and -launch.
27964 Added check for GstBus.
27966 2005-03-10 Wim Taymans <wim@fluendo.com>
27968 * docs/design/part-MT-refcounting.txt:
27969 * docs/design/part-clocks.txt:
27970 * docs/design/part-gstelement.txt:
27971 * docs/design/part-gstobject.txt:
27972 * docs/design/part-standards.txt:
27973 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
27974 (gst_bin_remove_func), (gst_bin_remove):
27978 * testsuite/clock/clock1.c: (main):
27979 * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
27981 * testsuite/dlopen/loadgst.c: (do_test):
27982 * testsuite/refcounting/bin.c: (add_remove_test1),
27983 (add_remove_test2), (main):
27984 * testsuite/refcounting/element.c: (main):
27985 * testsuite/refcounting/element_pad.c: (main):
27986 * testsuite/refcounting/pad.c: (main):
27987 * tools/gst-launch.c: (sigint_handler_sighandler):
27988 * tools/gst-typefind.c: (main):
27990 Added doc about clock.
27991 removed gst_bin_iterate_recurse_up(), marked methods
27993 Fix more testsuites.
27995 2005-03-09 Wim Taymans <wim@fluendo.com>
27997 * gst/gstpad.c: (gst_pad_get_direction),
27998 (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
27999 (gst_pad_collect_valist):
28000 * testsuite/bins/interface.c: (main):
28001 * testsuite/caps/audioscale.c: (test_caps):
28002 * testsuite/caps/caps.c: (test1), (test2), (test3):
28003 * testsuite/caps/deserialize.c: (main):
28004 * testsuite/caps/enumcaps.c: (main):
28005 * testsuite/caps/filtercaps.c: (main):
28006 * testsuite/caps/intersect2.c: (main):
28007 * testsuite/caps/random.c: (main):
28008 * testsuite/caps/renegotiate.c: (my_fixate), (main):
28009 * testsuite/caps/sets.c: (check_caps):
28010 * testsuite/caps/simplify.c: (check_caps), (main):
28011 * testsuite/caps/subtract.c: (check_caps):
28012 Fix _pad_get_direction wrt ghostpads.
28013 Fix caps testsuite.
28015 2005-03-09 Wim Taymans <wim@fluendo.com>
28017 * check/Makefile.am:
28018 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
28019 * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
28020 (ok_callback), (error_callback), (gst_systemclock_suite), (main):
28021 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
28022 (gst_bin_set_clock_func), (gst_bin_get_clock_func),
28023 (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
28024 (gst_bin_remove), (gst_bin_iterate_recurse_up),
28025 (bin_element_is_sink), (gst_bin_iterate_sinks),
28026 (gst_bin_iterate_all_by_interface):
28028 * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
28029 (gst_element_change_state), (gst_element_dispose),
28030 (gst_element_finalize), (gst_element_set_loop_function):
28031 * gst/gstelement.h:
28032 * gst/gstiterator.c: (find_custom_fold_func):
28033 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
28034 (gst_pad_collectv), (gst_pad_collect_valist),
28035 (gst_pad_template_new):
28036 * gst/gstpipeline.c: (gst_pipeline_class_init),
28037 (gst_pipeline_dispose), (gst_pipeline_set_property),
28038 (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
28039 (gst_pipeline_get_clock), (gst_pipeline_use_clock),
28040 (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
28042 * gst/schedulers/entryscheduler.c:
28043 * gst/schedulers/gstbasicscheduler.c:
28044 (gst_basic_scheduler_cothreaded_chain),
28045 (gst_basic_scheduler_chain_add_element):
28046 * testsuite/bins/interface.c: (main):
28048 Added GstSystemClock test.
28049 Implemented clock distribution code in GstBin.
28050 Implemented iterate sinks method for future use.
28051 Rearranged gstelement.h
28052 Fix GstIterator comparison bug.
28053 Moved some code to GstPipeline, mostly clocking related.
28055 2005-03-09 Wim Taymans <wim@fluendo.com>
28058 * gst/gst_private.h:
28059 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
28060 (gst_bin_remove_func), (gst_bin_remove),
28061 (gst_bin_get_by_name_recurse_up):
28062 * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
28063 (gst_clock_id_compare_func), (gst_clock_id_wait),
28064 (gst_clock_id_wait_async), (gst_clock_init),
28065 (gst_clock_adjust_unlocked), (gst_clock_get_time):
28066 * gst/gstelement.h:
28067 * gst/gstinfo.c: (_gst_debug_init):
28069 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
28070 (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
28072 Bump version number, we're now 0.9.0
28073 Add future debugging category.
28074 Fix NULL _unref() in _get_by_name_recurse_up
28075 Rearrange gstpad.h.
28078 2005-03-08 Wim Taymans <wim@fluendo.com>
28080 * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
28081 * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
28082 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
28083 * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
28084 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
28085 * gst/elements/gstfilesink.c: (gst_filesink_class_init):
28086 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
28087 * gst/elements/gstidentity.c: (gst_identity_class_init):
28088 * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
28089 * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
28090 * gst/elements/gstshaper.c: (gst_shaper_class_init):
28091 * gst/elements/gststatistics.c: (gst_statistics_class_init):
28092 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
28094 * gst/gstelement.c: (gst_element_class_init),
28095 (gst_element_base_class_init), (gst_element_init),
28096 (gst_element_get_random_pad), (gst_element_wait_state_change),
28097 (gst_element_change_state), (gst_element_dispose),
28098 (gst_element_finalize), (gst_element_set_loop_function):
28099 * gst/gstelement.h:
28100 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
28101 * gst/gstthread.c: (gst_thread_class_init),
28102 (gst_thread_release_children_locks), (gst_thread_change_state):
28103 * gst/schedulers/gstbasicscheduler.c:
28104 (gst_basic_scheduler_loopfunc_wrapper),
28105 (gst_basic_scheduler_chain_wrapper),
28106 (gst_basic_scheduler_src_wrapper),
28107 (gst_basic_scheduler_remove_element):
28108 * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
28109 Remove threadsafe properties. Fix elements because GObject
28110 complains when installing a property before declaring a
28111 set/get_property handler.
28112 Rearrange gstelement.h file, use STATE macros for state locks.
28113 Free mutexes in the finalize method instead of dispose.
28115 2005-03-08 Wim Taymans <wim@fluendo.com>
28117 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
28118 * gst/gstthread.c: (gst_thread_release_children_locks):
28119 Added parentage check.
28120 Fix build og GstThread again.
28122 2005-03-08 Wim Taymans <wim@fluendo.com>
28124 * docs/design/part-MT-refcounting.txt:
28125 * docs/design/part-conventions.txt:
28126 * docs/design/part-gstobject.txt:
28127 * docs/design/part-relations.txt:
28128 * docs/design/part-standards.txt:
28129 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
28130 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
28131 (gst_bin_get_by_name), (gst_bin_get_by_interface),
28132 (gst_bin_iterate_all_by_interface):
28135 * gst/gstelement.c: (gst_element_class_init),
28136 (gst_element_change_state), (gst_element_set_loop_function):
28137 * gst/gstelement.h:
28138 * gst/gstiterator.c:
28139 * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
28140 (gst_object_unref), (gst_object_sink), (gst_object_dispose),
28141 (gst_object_dispatch_properties_changed), (gst_object_set_name),
28142 (gst_object_set_parent), (gst_object_unparent),
28143 (gst_object_check_uniqueness):
28145 Docs updates, clean up some headers.
28147 2005-03-07 Wim Taymans <wim@fluendo.com>
28149 * check/.cvsignore:
28150 * check/Makefile.am:
28151 * check/gst-libs/.cvsignore:
28152 * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
28153 * check/gst/.cvsignore:
28154 * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
28155 (START_TEST), (gstbus_suite), (main):
28156 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
28157 * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
28158 (gst_data_suite), (main):
28159 * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
28160 (add_fold_func), (gstiterator_suite), (main):
28161 * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
28162 (thread_name_object), (thread_name_object_default),
28163 (gst_object_name_compare), (gst_object_suite), (main):
28164 * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
28165 (gst_pad_suite), (main):
28166 * check/gstcheck.c: (gst_check_log_message_func),
28167 (gst_check_log_critical_func), (gst_check_init):
28168 * check/gstcheck.h:
28169 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
28170 (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
28173 2005-03-07 Wim Taymans <wim@fluendo.com>
28175 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
28176 (gst_list_iterator_next), (gst_list_iterator_resync),
28177 (gst_list_iterator_free), (gst_iterator_new_list),
28178 (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
28179 (gst_iterator_free), (gst_iterator_push), (filter_next),
28180 (filter_resync), (filter_uninit), (filter_free),
28181 (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
28182 (gst_iterator_foreach), (find_custom_fold_func),
28183 (gst_iterator_find_custom):
28184 * gst/gstiterator.h:
28185 Added missing files.
28187 2005-03-07 Wim Taymans <wim@fluendo.com>
28191 * docs/design/part-MT-refcounting.txt:
28192 * docs/design/part-conventions.txt:
28193 * docs/design/part-gstobject.txt:
28194 * docs/design/part-relations.txt:
28195 * examples/mixer/mixer.c: (main):
28196 * examples/thread/thread.c: (eos), (main):
28198 * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
28199 * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
28200 (gst_spider_plug_from_srcpad):
28201 * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
28202 (gst_spider_identity_change_state),
28203 (gst_spider_identity_sink_loop_type_finding):
28204 * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
28205 * gst/elements/gstidentity.c: (gst_identity_init):
28206 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
28207 (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
28208 * gst/elements/gsttypefindelement.c: (free_entry):
28211 * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
28212 (gst_bin_set_clock_func), (gst_bin_auto_clock),
28213 (gst_bin_set_index), (gst_bin_set_element_sched),
28214 (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
28215 (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
28216 (gst_bin_iterate_elements), (iterate_child_recurse),
28217 (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
28218 (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
28219 (compare_interface), (gst_bin_get_by_interface),
28220 (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
28222 * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
28223 (gst_buffer_default_free), (gst_buffer_default_copy),
28224 (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
28225 (gst_buffer_create_sub):
28227 * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
28228 (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
28229 (gst_caps_unref), (gst_static_caps_get),
28230 (gst_caps_remove_and_get_structure), (gst_caps_append),
28231 (gst_caps_append_structure), (gst_caps_remove_structure),
28232 (gst_caps_copy_nth), (gst_caps_set_simple),
28233 (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
28234 (gst_structure_is_equal_foreach), (gst_caps_is_subset),
28235 (gst_caps_structure_intersect_field), (gst_caps_intersect),
28236 (gst_caps_structure_subtract_field), (gst_caps_subtract),
28237 (gst_caps_normalize_foreach), (gst_caps_compare_structures),
28238 (gst_caps_structure_figure_out_union),
28239 (gst_caps_switch_structures), (gst_caps_do_simplify),
28240 (gst_caps_replace), (gst_caps_from_string),
28241 (gst_caps_copy_conditional):
28243 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
28244 (_gst_clock_id_free), (gst_clock_id_unref),
28245 (gst_clock_id_compare_func), (gst_clock_id_wait),
28246 (gst_clock_id_wait_async), (gst_clock_class_init),
28247 (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
28248 (gst_clock_get_time), (gst_clock_set_time_adjust),
28249 (gst_clock_set_property), (gst_clock_get_property):
28252 * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
28253 * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
28255 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
28256 (gst_element_requires_clock), (gst_element_provides_clock),
28257 (gst_element_set_clock), (gst_element_clock_wait),
28258 (gst_element_wait), (gst_element_set_time_delay),
28259 (gst_element_is_indexable), (gst_element_add_pad),
28260 (gst_element_add_ghost_pad), (gst_element_remove_pad),
28261 (pad_compare_name), (gst_element_get_static_pad),
28262 (gst_element_request_pad), (gst_element_get_request_pad),
28263 (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
28264 (gst_element_class_get_pad_template_list),
28265 (gst_element_class_get_pad_template), (gst_element_error_func),
28266 (gst_element_get_random_pad), (gst_element_get_event_masks),
28267 (gst_element_send_event), (gst_element_seek),
28268 (gst_element_get_query_types), (gst_element_query),
28269 (gst_element_get_formats), (gst_element_convert),
28270 (gst_element_is_locked_state), (gst_element_set_locked_state),
28271 (gst_element_sync_state_with_parent), (gst_element_change_state),
28272 (gst_element_finalize), (gst_element_yield),
28273 (gst_element_interrupt), (gst_element_set_scheduler),
28274 (gst_element_get_scheduler), (gst_element_set_loop_function):
28275 * gst/gstelement.h:
28277 * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
28278 (gst_format_get_by_nick), (gst_format_get_details),
28279 (gst_format_iterate_definitions):
28281 * gst/gstindex.c: (gst_index_gtype_resolver):
28284 * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
28285 (gst_mem_chunk_free):
28286 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
28287 (gst_object_ref), (gst_object_unref), (gst_object_sink),
28288 (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
28289 (gst_object_dispatch_properties_changed),
28290 (gst_object_set_name_default), (gst_object_set_name),
28291 (gst_object_get_name), (gst_object_set_name_prefix),
28292 (gst_object_get_name_prefix), (gst_object_set_parent),
28293 (gst_object_get_parent), (gst_object_unparent),
28294 (gst_object_check_uniqueness), (gst_object_save_thyself),
28295 (gst_object_restore_thyself), (gst_object_real_restore_thyself),
28296 (gst_object_set_property), (gst_object_get_property),
28297 (gst_object_get_path_string):
28299 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
28300 (gst_real_pad_init), (gst_real_pad_get_property),
28301 (gst_pad_custom_new), (gst_pad_get_direction),
28302 (gst_pad_set_active), (gst_pad_is_active),
28303 (gst_pad_set_event_function), (gst_pad_is_linked),
28304 (gst_pad_link_free), (gst_pad_link_intersect),
28305 (gst_pad_link_fixate), (gst_pad_set_caps),
28306 (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
28307 (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
28308 (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
28309 (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
28310 (gst_pad_get_caps), (gst_pad_peer_get_caps),
28311 (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
28312 (gst_pad_realize), (gst_pad_get_allowed_caps),
28313 (gst_real_pad_dispose), (gst_real_pad_finalize),
28314 (gst_pad_collectv), (gst_pad_collect_valist),
28315 (gst_pad_template_dispose), (gst_pad_template_new),
28316 (gst_pad_get_internal_links):
28318 * gst/gstpipeline.c: (gst_pipeline_dispose),
28319 (gst_pipeline_change_state):
28320 * gst/gstpipeline.h:
28322 * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
28323 (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
28324 * gst/gstpluginfeature.h:
28325 * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
28326 * gst/gstquery.c: (_gst_query_type_initialize),
28327 (gst_query_type_register), (gst_query_type_get_by_nick),
28328 (gst_query_type_get_details), (gst_query_type_iterate_definitions):
28330 * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
28331 * gst/gstscheduler.c: (gst_scheduler_add_element),
28332 (gst_scheduler_factory_create):
28333 * gst/gststructure.c: (gst_structure_set_parent_refcount),
28334 (gst_structure_free), (gst_structure_set_name),
28335 (gst_structure_id_set_value), (gst_structure_set_value),
28336 (gst_structure_set_valist), (gst_structure_remove_field),
28337 (gst_structure_remove_fields),
28338 (gst_structure_remove_fields_valist),
28339 (gst_structure_remove_all_fields), (gst_structure_foreach),
28340 (gst_structure_map_in_place),
28341 (gst_caps_structure_fixate_field_nearest_int),
28342 (gst_caps_structure_fixate_field_nearest_double):
28343 * gst/gststructure.h:
28344 * gst/gstsystemclock.c: (gst_system_clock_class_init),
28345 (gst_system_clock_init), (gst_system_clock_dispose),
28346 (gst_system_clock_async_thread),
28347 (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
28348 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
28349 * gst/gstsystemclock.h:
28350 * gst/gsttag.c: (gst_tag_list_add_value_internal),
28351 (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
28352 * gst/gsttaginterface.c:
28353 * gst/gstthread.c: (gst_thread_dispose),
28354 (gst_thread_release_children_locks), (gst_thread_change_state),
28355 (gst_thread_main_loop):
28356 * gst/gsttrashstack.h:
28357 * gst/gsttypefind.c: (gst_type_find_factory_dispose):
28359 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
28360 (gst_element_request_pad), (gst_element_get_pad_from_template),
28361 (gst_element_request_compatible_pad),
28362 (gst_element_get_compatible_pad_filtered),
28363 (gst_element_get_compatible_pad), (gst_element_state_get_name),
28364 (gst_element_link_pads_filtered), (gst_element_link_filtered),
28365 (gst_element_link_many), (gst_element_link),
28366 (gst_element_link_pads), (gst_element_unlink_pads),
28367 (gst_element_unlink_many), (gst_element_unlink),
28368 (gst_pad_can_link_filtered), (gst_pad_can_link),
28369 (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
28370 (gst_object_default_error), (gst_bin_add_many),
28371 (gst_bin_remove_many), (gst_element_populate_std_props),
28372 (gst_element_class_install_std_props), (gst_buffer_merge),
28373 (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
28374 (link_fold_func), (gst_pad_proxy_setcaps):
28376 * gst/gstvalue.c: (gst_value_deserialize_string):
28377 * gst/parse/grammar.y:
28378 * gst/schedulers/gstbasicscheduler.c:
28379 (gst_basic_scheduler_cothreaded_chain),
28380 (gst_basic_scheduler_chain_recursive_add),
28381 (gst_basic_scheduler_pad_link):
28382 * gst/schedulers/gstoptimalscheduler.c:
28383 (get_group_schedule_function),
28384 (gst_opt_scheduler_state_transition),
28385 (gst_opt_scheduler_add_element), (element_get_reachables_func):
28386 * libs/gst/bytestream/bytestream.c:
28387 * libs/gst/dataprotocol/dataprotocol.c:
28388 (gst_dp_header_from_buffer):
28391 * tests/threadstate/threadstate2.c: (eos):
28392 * tools/gst-compprep.c: (main):
28393 * tools/gst-inspect.c: (print_field), (print_element_flag_info),
28394 (print_pad_info), (print_children_info):
28395 * tools/gst-launch.c: (idle_func), (main):
28396 * tools/gst-md5sum.c: (idle_func), (main):
28397 * tools/gst-xmlinspect.c: (print_element_info):
28398 First THREADED backport attempt, focusing on adding locks and
28399 making sure the API is threadsafe. Needs more work. More docs
28402 2005-02-24 Andy Wingo <wingo@pobox.com>
28404 * tests/bench-complexity.scm:
28405 * tests/complexity.gnuplot: New files, good for running complexity
28408 * tests/Makefile.am:
28409 * tests/complexity.c: New test, sets up N elements, at each level
28410 teeing into M streams per element. Eeeenteresting.
28412 * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
28413 benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
28414 running bench-mass_elements.scm.
28416 * tests/bench-mass_elements.scm: New script, runs mass_elements
28417 for various numbers of identities, outputting the results to a
28418 file. Requires guile 1.6. Just for testing.
28420 2005-02-23 Thomas Vander Stichele <thomas at apestaart dot org>
28422 * gst/schedulers/fairscheduler.c:
28423 compile with debug disabled
28425 2005-02-22 Thomas Vander Stichele <thomas at apestaart dot org>
28428 hunting season on 0.9 is now OPEN