platform/upstream/gstreamer.git
16 years agogst/gstsegment.c: The glib macro seems to be borked. Use g_slice_copy directly and...
Stefan Kost [Wed, 23 Apr 2008 10:14:38 +0000 (10:14 +0000)]
gst/gstsegment.c: The glib macro seems to be borked. Use g_slice_copy directly and cast in the hope that this fixes t...

Original commit message from CVS:
* gst/gstsegment.c:
The glib macro seems to be borked. Use g_slice_copy directly and cast
in the hope that this fixes the warning on 64bit.

16 years agogst/gstsegment.c: Document the new function. Use g_slice_dup() (no need for gst_segme...
Stefan Kost [Wed, 23 Apr 2008 07:08:53 +0000 (07:08 +0000)]
gst/gstsegment.c: Document the new function. Use g_slice_dup() (no need for gst_segment_init()).

Original commit message from CVS:
* gst/gstsegment.c:
Document the new function. Use g_slice_dup() (no need for
gst_segment_init()).

16 years agodocs/gst/gstreamer-sections.txt: Move GParamSepc macros to standart section.
Stefan Kost [Wed, 23 Apr 2008 06:57:30 +0000 (06:57 +0000)]
docs/gst/gstreamer-sections.txt: Move GParamSepc macros to standart section.

Original commit message from CVS:
* docs/gst/gstreamer-sections.txt:
Move GParamSepc macros to standart section.
* gst/gstbin.c:
Dn't document _get_type - its in private section in docs anyway and
this doc-blob was incomplete.
* gst/gstclock.h:
Fix wrong symbol names in docs.
* gst/gstmacros.h:
Add once doc sentence.
* tests/check/gst/.cvsignore:
Ignore more.

16 years agodocs/gst/Makefile.am: And remove those libs here.
Stefan Kost [Mon, 21 Apr 2008 10:25:02 +0000 (10:25 +0000)]
docs/gst/Makefile.am: And remove those libs here.

Original commit message from CVS:
* docs/gst/Makefile.am:
And remove those libs here.

16 years agodocs/libs/Makefile.am: Fix docs build again by adding libgstnet-0.10.so to SCANOBJ_DEPS.
Tim-Philipp Müller [Mon, 21 Apr 2008 09:29:37 +0000 (09:29 +0000)]
docs/libs/Makefile.am: Fix docs build again by adding libgstnet-0.10.so to SCANOBJ_DEPS.

Original commit message from CVS:
* docs/libs/Makefile.am:
Fix docs build again by adding libgstnet-0.10.so to SCANOBJ_DEPS.

16 years agoplugins/elements/gstqueue.c: Add the min-threshold to the min latency if possible...
Olivier Crete [Mon, 21 Apr 2008 08:34:09 +0000 (08:34 +0000)]
plugins/elements/gstqueue.c: Add the min-threshold to the min latency if possible. Fixes #529148.

Original commit message from CVS:
Patch by: Olivier Crete <tester at tester dot ca>
* plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
Add the min-threshold to the min latency if possible. Fixes #529148.

16 years agodocs/gst/gstreamer.types.in: Stupid editor, I removed that line as it should go in...
Stefan Kost [Mon, 21 Apr 2008 07:45:48 +0000 (07:45 +0000)]
docs/gst/gstreamer.types.in: Stupid editor, I removed that line as it should go in yet.

Original commit message from CVS:
* docs/gst/gstreamer.types.in:
Stupid editor, I removed that line as it should go in yet.

16 years agodocs/: Remove library types fro core docs and have them in libs docs.
Stefan Kost [Mon, 21 Apr 2008 07:42:14 +0000 (07:42 +0000)]
docs/: Remove library types fro core docs and have them in libs docs.

Original commit message from CVS:
* docs/gst/gstreamer.types.in:
* docs/libs/gstreamer-libs.types:
Remove library types fro core docs and have them in libs docs.
Reformat and cleanup. Add comment for miniobject types.

16 years agogst/gsturi.c: Fix leak: g_strdown operates on the string in place, while g_ascii_strd...
Tim-Philipp Müller [Sun, 20 Apr 2008 16:32:03 +0000 (16:32 +0000)]
gst/gsturi.c: Fix leak: g_strdown operates on the string in place, while g_ascii_strdown() returns a newly-allocated ...

Original commit message from CVS:
* gst/gsturi.c: (gst_uri_get_protocol):
Fix leak: g_strdown operates on the string in place, while
g_ascii_strdown() returns a newly-allocated string.

16 years agotools/gst-inspect.c: Print the URI protocols and the URI type supported by the element.
Sebastian Dröge [Sun, 20 Apr 2008 09:55:25 +0000 (09:55 +0000)]
tools/gst-inspect.c: Print the URI protocols and the URI type supported by the element.

Original commit message from CVS:
* tools/gst-inspect.c: (print_uri_handler_info),
(print_element_info):
Print the URI protocols and the URI type supported by the element.

16 years agogst/gsttaglist.c: Use g_value_take_string() instead of the deprecated g_value_set_str...
Sebastian Dröge [Sat, 19 Apr 2008 16:05:58 +0000 (16:05 +0000)]
gst/gsttaglist.c: Use g_value_take_string() instead of the deprecated g_value_set_string_take_ownership().

Original commit message from CVS:
* gst/gsttaglist.c: (gst_tag_merge_strings_with_comma):
Use g_value_take_string() instead of the deprecated
g_value_set_string_take_ownership().

16 years agogst/gstregistrybinary.c: Return the old CRC instead of 0 if we give a NULL buffer...
Sebastian Dröge [Sat, 19 Apr 2008 15:42:19 +0000 (15:42 +0000)]
gst/gstregistrybinary.c: Return the old CRC instead of 0 if we give a NULL buffer or a buffer with a length of 0.

Original commit message from CVS:
* gst/gstregistrybinary.c: (_gst_crc32):
Return the old CRC instead of 0 if we give a NULL buffer
or a buffer with a length of 0.

16 years agogst/gsturi.c: A valid URI scheme can also include '+', '-' and '.' additional to...
Sebastian Dröge [Sat, 19 Apr 2008 15:36:20 +0000 (15:36 +0000)]
gst/gsturi.c: A valid URI scheme can also include '+', '-' and '.' additional to alphanumeric characters as per RFC 3...

Original commit message from CVS:
* gst/gsturi.c: (gst_uri_protocol_check_internal),
(gst_uri_get_protocol), (gst_uri_has_protocol),
(gst_uri_construct), (gst_uri_handler_set_uri):
A valid URI scheme can also include '+', '-' and '.' additional
to alphanumeric characters as per RFC 3986 Section 3.1.
Handle URI schemes case insensitive in all places and convert
to lower-case when constructing an URI or setting an URI with
the GstURIHandler interface. Fixes bug #528868.
All elements can still assume (as before) that they will
get passed URIs with a lower-case URI scheme by the GstURIHandler
interface.

16 years agogst/: Don't use g_atomic_set_int where it's not needed.
Tim-Philipp Müller [Thu, 17 Apr 2008 10:09:39 +0000 (10:09 +0000)]
gst/: Don't use g_atomic_set_int where it's not needed.

Original commit message from CVS:
* gst/gstcaps.c: (gst_static_caps_get):
* gst/gstclock.c: (gst_clock_entry_new):
Don't use g_atomic_set_int where it's not needed.

16 years agogst/: Fix 2 caps leaks.
Wim Taymans [Thu, 17 Apr 2008 08:45:19 +0000 (08:45 +0000)]
gst/: Fix 2 caps leaks.

Original commit message from CVS:
* gst/gstvalue.c: (gst_value_deserialize_caps):
* gst/parse/grammar.y:
Fix 2 caps leaks.

16 years agogst/gstutils.c: Use g_atomic_int_set() here too instead of assignment + g_atomic_int_...
Sebastian Dröge [Thu, 17 Apr 2008 08:34:14 +0000 (08:34 +0000)]
gst/gstutils.c: Use g_atomic_int_set() here too instead of assignment + g_atomic_int_get().

Original commit message from CVS:
* gst/gstutils.c: (gst_atomic_int_set):
Use g_atomic_int_set() here too instead of assignment +
g_atomic_int_get().

16 years agogst/gstutils.*: API: Deprecate gst_atomic_int_set(), g_atomic_int_set() should be...
Sebastian Dröge [Thu, 17 Apr 2008 07:14:46 +0000 (07:14 +0000)]
gst/gstutils.*: API: Deprecate gst_atomic_int_set(), g_atomic_int_set() should be used now that we depend on new enou...

Original commit message from CVS:
* gst/gstutils.c:
* gst/gstutils.h:
API: Deprecate gst_atomic_int_set(), g_atomic_int_set() should be used
now that we depend on new enough GLib.
* gst/gstcaps.c: (gst_static_caps_get):
* gst/gstclock.c: (gst_clock_entry_new):
* gst/gstinfo.c: (_gst_debug_init), (gst_debug_set_colored),
(gst_debug_set_default_threshold), (_gst_debug_category_new),
(gst_debug_category_set_threshold):
* libs/gst/base/gstbasesink.c: (gst_base_sink_init),
(gst_base_sink_set_qos_enabled):
* libs/gst/net/gstnettimeprovider.c:
(gst_net_time_provider_set_property):
Use g_atomic_int_set() instead of gst_atomic_int_set().

16 years agogst/gstquery.c: Also use G_GINT64_CONSTANT for the queries.
Stefan Kost [Wed, 16 Apr 2008 18:48:03 +0000 (18:48 +0000)]
gst/gstquery.c: Also use G_GINT64_CONSTANT for the queries.

Original commit message from CVS:
* gst/gstquery.c:
Also use G_GINT64_CONSTANT for the queries.

16 years agogst/gstmessage.c: Use G_GINT64_CONSTANT in varargs function.
Stefan Kost [Wed, 16 Apr 2008 18:38:16 +0000 (18:38 +0000)]
gst/gstmessage.c: Use G_GINT64_CONSTANT in varargs function.

Original commit message from CVS:
* gst/gstmessage.c:
Use G_GINT64_CONSTANT in varargs function.

16 years agogst/gstregistrybinary.c: Initialize the registry magic with zeroes.
Sebastian Dröge [Wed, 16 Apr 2008 15:51:17 +0000 (15:51 +0000)]
gst/gstregistrybinary.c: Initialize the registry magic with zeroes.

Original commit message from CVS:
* gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic):
Initialize the registry magic with zeroes.

16 years agogst/gstregistrybinary.*: Add crc32 checksum to the binary registry file and check...
Sebastian Dröge [Wed, 16 Apr 2008 14:18:58 +0000 (14:18 +0000)]
gst/gstregistrybinary.*: Add crc32 checksum to the binary registry file and check this before accepting a registry file.

Original commit message from CVS:
* gst/gstregistrybinary.c: (_gst_crc32),
(gst_registry_binary_write),
(gst_registry_binary_initialize_magic),
(gst_registry_binary_write_cache),
(gst_registry_binary_check_magic),
(gst_registry_binary_read_cache):
* gst/gstregistrybinary.h:
Add crc32 checksum to the binary registry file and check this before
accepting a registry file.
Also free the data list when writing to the registry file fails.

16 years agogst/gstregistrybinary.c: If an element supports the Uri interface, returns a valid...
Sebastian Dröge [Wed, 16 Apr 2008 13:16:44 +0000 (13:16 +0000)]
gst/gstregistrybinary.c: If an element supports the Uri interface, returns a valid pointer to the supported URI proto...

Original commit message from CVS:
* gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
(gst_registry_binary_load_feature),
(gst_registry_binary_load_plugin):
If an element supports the Uri interface, returns a valid pointer
to the supported URI protocols but this pointer contains nothing
don't try to save that as it will corrupt the registry.
Don't unref the plugin if we added it to the registry already but
fail to load a feature as gst_registry_add_plugin() takes ownership
of the plugin.
Improve debugging a bit.

16 years agogst/gsttaglist.h: Clarify some tag item docs after discussion on irc.
Stefan Kost [Wed, 16 Apr 2008 08:30:57 +0000 (08:30 +0000)]
gst/gsttaglist.h: Clarify some tag item docs after discussion on irc.

Original commit message from CVS:
* gst/gsttaglist.h:
Clarify some tag item docs after discussion on irc.

16 years agodocs/gst/gstreamer-docs.sgml: Remove commented out plugins (they have their own docs...
Stefan Kost [Tue, 15 Apr 2008 06:23:14 +0000 (06:23 +0000)]
docs/gst/gstreamer-docs.sgml: Remove commented out plugins (they have their own docs). Update comments.

Original commit message from CVS:
* docs/gst/gstreamer-docs.sgml:
Remove commented out plugins (they have their own docs). Update
comments.

16 years agoAdd GST_PARAM_CONTROLLABLE and GST_PARAM_USER_SHIFT. Move paramspec docs to own section.
Stefan Kost [Tue, 15 Apr 2008 06:16:33 +0000 (06:16 +0000)]
Add GST_PARAM_CONTROLLABLE and GST_PARAM_USER_SHIFT. Move paramspec docs to own section.

Original commit message from CVS:
* docs/gst/gstreamer-docs.sgml:
* docs/gst/gstreamer-sections.txt:
* gst/gstparamspecs.c:
* gst/gstparamspecs.h:
Add GST_PARAM_CONTROLLABLE and GST_PARAM_USER_SHIFT. Move paramspec
docs to own section.
* gst/gstvalue.c:
This now only documents GValue.
* docs/libs/gstreamer-libs-sections.txt:
* libs/gst/controller/gstcontroller.h:
Remove GST_PARAM_CONTROLLABLE.

16 years agodocs/README: Correct file path. Tell about how to use -overrides.txt.
Stefan Kost [Tue, 15 Apr 2008 05:54:13 +0000 (05:54 +0000)]
docs/README: Correct file path. Tell about how to use -overrides.txt.

Original commit message from CVS:
* docs/README:
Correct file path. Tell about how to use -overrides.txt.
* docs/design/draft-tagreading.txt:
Small design update.

16 years agogst/gstregistrybinary.c: Fix a typo in a debug message and revert change from yesterd...
Sebastian Dröge [Mon, 14 Apr 2008 12:12:22 +0000 (12:12 +0000)]
gst/gstregistrybinary.c: Fix a typo in a debug message and revert change from yesterday as gst_registry_add_plugin() ...

Original commit message from CVS:
* gst/gstregistrybinary.c: (gst_registry_binary_load_feature),
(gst_registry_binary_load_plugin):
Fix a typo in a debug message and revert change from yesterday as
gst_registry_add_plugin() will only fail if something is really wrong
already and we can't survive it anyway.

16 years agogst/gst.c: Pre-register GstGError GType from a thread-safe context (fixes #527967...
Tim-Philipp Müller [Mon, 14 Apr 2008 08:48:50 +0000 (08:48 +0000)]
gst/gst.c: Pre-register GstGError GType from a thread-safe context (fixes #527967); unref enum type classes in deinit.

Original commit message from CVS:
* gst/gst.c: (init_post), (gst_deinit):
Pre-register GstGError GType from a thread-safe context
(fixes #527967); unref enum type classes in deinit.

16 years agogst/gsttagsetter.c: Merging an empty list with another list in KEEP_ALL mode should...
Rene Stadler [Sun, 13 Apr 2008 19:58:43 +0000 (19:58 +0000)]
gst/gsttagsetter.c: Merging an empty list with another list in KEEP_ALL mode should yield an empty list as result and...

Original commit message from CVS:
Patch by: Rene Stadler <mail at renestadler de>
* gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
Merging an empty list with another list in KEEP_ALL mode should
yield an empty list as result and not the second list (#512578).
* tests/check/gst/gsttagsetter.c:
Add unit test for tag merge modes and the aforementioned bug.

16 years agogst/gsttaglist.h: Fix description to match the order in the table (#512577).
Rene Stadler [Sun, 13 Apr 2008 18:50:05 +0000 (18:50 +0000)]
gst/gsttaglist.h: Fix description to match the order in the table (#512577).

Original commit message from CVS:
Patch by: Rene Stadler <mail at renestadler de>
* gst/gsttaglist.h:
Fix description to match the order in the table (#512577).

16 years agoDefine socklen_t as int if it's not defined yet. Fixes compilation with MSVC6 and...
Kwang Yul Seo [Sun, 13 Apr 2008 17:51:02 +0000 (17:51 +0000)]
Define socklen_t as int if it's not defined yet. Fixes compilation with MSVC6 and other versions where socklen_t is n...

Original commit message from CVS:
Patch by: Kwang Yul Seo  <kwangyul.seo gmail com>
* libs/gst/net/gstnettimepacket.h:
* docs/libs/gstreamer-libs-sections.txt:
Define socklen_t as int if it's not defined yet. Fixes compilation
with MSVC6 and other versions where socklen_t is not defined in
the windows headers (#518022).

16 years agogst/gstregistrybinary.c: If gst_registry_add_plugin() fails our reference to the...
Sebastian Dröge [Sun, 13 Apr 2008 13:54:55 +0000 (13:54 +0000)]
gst/gstregistrybinary.c: If gst_registry_add_plugin() fails our reference to the plugin is invalid so don't try to us...

Original commit message from CVS:
* gst/gstregistrybinary.c: (gst_registry_binary_load_plugin):
If gst_registry_add_plugin() fails our reference to the plugin is
invalid so don't try to use it anymore and instead error out.

16 years agotools/gst-xmlinspect.c: De-cruft a bit. If no argument is specified, print all elemen...
Tim-Philipp Müller [Sat, 12 Apr 2008 20:52:58 +0000 (20:52 +0000)]
tools/gst-xmlinspect.c: De-cruft a bit. If no argument is specified, print all elements in

Original commit message from CVS:
* tools/gst-xmlinspect.c: (print_element_info), (main):
De-cruft a bit. If no argument is specified, print all elements in
XML syntax rather than a freestyle list of elements like gst-inspect.
Also, don't print XML header chunk unless we actually have something
to print (ie. don't print it before an error message); print error
message to stderr not stdout. Remove support for printing plugin
info (it would just output something freestyle along the lines of
gst-inspect so far), which fixes #514507. Also add license header.

16 years agoMac OS X love...
Julien Moutte [Fri, 11 Apr 2008 09:27:44 +0000 (09:27 +0000)]
Mac OS X love...

Original commit message from CVS:
2008-04-11  Julien Moutte  <julien@fluendo.com>

Mac OS X love...
* configure.ac: Merge platform specific defines, introduce a new
define on OS X to remember that forking when updating registry is
unsafe.
* docs/faq/gst-uninstalled: Updated to include gst-libs in the bad
module.
* gst/gst.c: Don't fork when updating registry if GST_HAVE_UNSAFE_FORK
is defined.
* gst/gstregistry.c: (gst_registry_scan_path_level): Fixed a bogus
condition that leads to absolutely no plugins being registered on
OS X.

16 years agoAdd gst_pad_add_*_probe_full() functions with a notify callback that lets the caller...
José Alburquerque [Thu, 10 Apr 2008 20:46:51 +0000 (20:46 +0000)]
Add gst_pad_add_*_probe_full() functions with a notify callback that lets the caller free the data it passes to the p...

Original commit message from CVS:
Based on patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
* gst/gstutils.c: (gst_pad_add_data_probe),
(gst_pad_add_data_probe_full), (gst_pad_add_event_probe),
(gst_pad_add_event_probe_full), (gst_pad_add_buffer_probe),
(gst_pad_add_buffer_probe_full):
* gst/gstutils.h:
* docs/gst/gstreamer-sections.txt:
* win32/common/libgstreamer.def:
Add gst_pad_add_*_probe_full() functions with a notify callback that
lets the caller free the data it passes to the probe functions. This
is useful for bindings such as gst-python or gstreamermm (#526814).
API: gst_pad_add_data_probe_full
API: gst_pad_add_buffer_probe_full
API: gst_pad_add_event_probe_full
* tests/check/gst/gstutils.c:
Add minimal unit test to make sure freeing the data actually works
as expected.
* tests/benchmarks/.cvsignore:
Random cvsignore addendum.

16 years agogst/gstdebugutils.h: Mention GstDebugGraphDetails enum type in doc blurb so we get...
Tim-Philipp Müller [Thu, 10 Apr 2008 19:13:46 +0000 (19:13 +0000)]
gst/gstdebugutils.h: Mention GstDebugGraphDetails enum type in doc blurb so we get a link to it in the docs (since th...

Original commit message from CVS:
* gst/gstdebugutils.h: (GST_DEBUG_BIN_TO_DOT_FILE_WITH_TS),
(GST_DEBUG_BIN_TO_DOT_FILE):
Mention GstDebugGraphDetails enum type in doc blurb so we get a link
to it in the docs (since these are macros the types of the arguments
won't be shown in the docs otherwise).

16 years agogst/gstpad.c: Do not abort on out of memory for pad_alloc_buffer.
Stefan Kost [Thu, 10 Apr 2008 14:10:51 +0000 (14:10 +0000)]
gst/gstpad.c: Do not abort on out of memory for pad_alloc_buffer.

Original commit message from CVS:
* gst/gstpad.c:
Do not abort on out of memory for pad_alloc_buffer.

16 years agolibs/gst/check/gstcheck.c: Remove blank line between symbol name ad parameters to...
Stefan Kost [Thu, 10 Apr 2008 13:59:24 +0000 (13:59 +0000)]
libs/gst/check/gstcheck.c: Remove blank line between symbol name ad parameters to fix gtkdoc warning.

Original commit message from CVS:
* libs/gst/check/gstcheck.c:
Remove blank line between symbol name ad parameters to fix gtkdoc
warning.

16 years agoExpose gst_segment_copy() to make things easier for the c++ bindings.
José Alburquerque [Wed, 9 Apr 2008 22:37:22 +0000 (22:37 +0000)]
Expose gst_segment_copy() to make things easier for the c++ bindings.

Original commit message from CVS:
Patch by:  José Alburquerque <jaalburqu at svn dot gnome dot org>
* docs/gst/gstreamer-sections.txt:
* gst/gstsegment.c:
* gst/gstsegment.h:
* win32/common/libgstreamer.def:
Expose gst_segment_copy() to make things easier for the c++ bindings.
Fixes #518932.
API: gst_segment_copy()

16 years agogst/gst.c: Fix const position; ref GType classes for enum types to work around thread...
Tim-Philipp Müller [Wed, 9 Apr 2008 21:27:40 +0000 (21:27 +0000)]
gst/gst.c: Fix const position; ref GType classes for enum types to work around thread-safety issues in GLib versions ...

Original commit message from CVS:
* gst/gst.c: (gst_init_get_option_group), (init_post):
Fix const position; ref GType classes for enum types to work
around thread-safety issues in GLib versions < 2.16.

16 years agodocs/design/part-buffering.txt: Fix some typos and set the estimated total for push...
Wim Taymans [Wed, 9 Apr 2008 18:26:15 +0000 (18:26 +0000)]
docs/design/part-buffering.txt: Fix some typos and set the estimated total for push mode to -1.

Original commit message from CVS:
* docs/design/part-buffering.txt:
Fix some typos and set the estimated total for push mode to -1.
* gst/gstquery.c: (gst_query_new_buffering):
Set buffering-left to 0 as we're not buffering by default.
* libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
Implement BUFFERING query.

16 years agogst/gsterror.*: Add two new error codes for encrypted content. Fixes #524659.
Milosz Derezynski [Wed, 9 Apr 2008 17:34:54 +0000 (17:34 +0000)]
gst/gsterror.*: Add two new error codes for encrypted content. Fixes #524659.

Original commit message from CVS:
Based on patch by: Milosz Derezynski <internalerror gmail com>
* gst/gsterror.c: (_gst_stream_errors_init):
* gst/gsterror.h:
Add two new error codes for encrypted content. Fixes #524659.
API: GST_STREAM_ERROR_DECRYPT
API: GST_STREAM_ERROR_DECRYPT_NOKEY

16 years agogst/gstquery.h: Fix typo.
Tim-Philipp Müller [Wed, 9 Apr 2008 13:15:33 +0000 (13:15 +0000)]
gst/gstquery.h: Fix typo.

Original commit message from CVS:
* gst/gstquery.h:
Fix typo.
* win32/common/libgstreamer.def:
Add new functions.

16 years agoplugins/elements/gstidentity.c: Fix imperfect timestamp/offset checks when we get...
Sebastian Dröge [Wed, 9 Apr 2008 08:19:36 +0000 (08:19 +0000)]
plugins/elements/gstidentity.c: Fix imperfect timestamp/offset checks when we get another NEWSEGMENT event after proc...

Original commit message from CVS:
* plugins/elements/gstidentity.c: (gst_identity_event),
(gst_identity_start):
Fix imperfect timestamp/offset checks when we get another NEWSEGMENT
event after processing some data. Fixes bug #526042.

16 years agoRename _avail -> _range
Wim Taymans [Tue, 8 Apr 2008 20:28:21 +0000 (20:28 +0000)]
Rename _avail -> _range

Original commit message from CVS:
* docs/gst/gstreamer-sections.txt:
* gst/gstquery.c: (gst_query_parse_latency),
(gst_query_set_buffering_percent),
(gst_query_parse_buffering_percent),
(gst_query_set_buffering_range), (gst_query_parse_buffering_range):
* gst/gstquery.h:
Rename _avail -> _range
API: gst_query_set_buffering_range
API: gst_query_parse_buffering_range

16 years agoAdd busy field and quark for the buffering query so that the app can only use the...
Wim Taymans [Tue, 8 Apr 2008 20:17:49 +0000 (20:17 +0000)]
Add busy field and quark for the buffering query so that the app can only use the query to see if buffering is in pro...

Original commit message from CVS:
* docs/design/part-buffering.txt:
* gst/gstquark.c:
* gst/gstquark.h:
* gst/gstquery.c: (gst_query_parse_latency),
(gst_query_new_buffering), (gst_query_set_buffering_percent),
(gst_query_parse_buffering_percent):
* gst/gstquery.h:
Add busy field and quark for the buffering query so that the app can
only use the query to see if buffering is in progress.

16 years agoReorder the message docs and headers for clarity.
Wim Taymans [Tue, 8 Apr 2008 19:59:06 +0000 (19:59 +0000)]
Reorder the message docs and headers for clarity.

Original commit message from CVS:
* docs/gst/gstreamer-sections.txt:
* gst/gstmessage.c: (gst_message_set_buffering_stats),
(gst_message_parse_buffering_stats):
* gst/gstmessage.h:
* gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
(gst_query_parse_latency), (gst_query_new_buffering),
(gst_query_set_buffering_percent),
(gst_query_parse_buffering_percent),
(gst_query_set_buffering_stats), (gst_query_parse_buffering_stats),
(gst_query_set_buffering_avail), (gst_query_parse_buffering_avail):
* gst/gstquery.h:
Reorder the message docs and headers for clarity.
Add aditional buffering stats API for messages.
Add buffering query.
Convert some leftover queries to use GstQuark.
API: gst_message_set_buffering_stats
API: gst_message_parse_buffering_stats
API: GST_QUERY_BUFFERING
API: GstBufferingMode
API: gst_query_new_buffering
API: gst_query_set_buffering_percent
API: gst_query_parse_buffering_percent
API: gst_query_set_buffering_stats
API: gst_query_parse_buffering_stats
API: gst_query_set_buffering_avail
API: gst_query_parse_buffering_avail

16 years agogst/gstmessage.c: Use GstQuark for messages.
Wim Taymans [Tue, 8 Apr 2008 19:52:22 +0000 (19:52 +0000)]
gst/gstmessage.c: Use GstQuark for messages.

Original commit message from CVS:
* gst/gstmessage.c: (gst_message_new_error),
(gst_message_new_warning), (gst_message_new_info),
(gst_message_new_buffering), (gst_message_new_state_changed),
(gst_message_new_clock_provide), (gst_message_new_clock_lost),
(gst_message_new_new_clock), (gst_message_new_segment_start),
(gst_message_new_segment_done), (gst_message_new_duration),
(gst_message_new_async_start), (gst_message_parse_buffering),
(gst_message_parse_state_changed),
(gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
(gst_message_parse_new_clock), (gst_message_parse_error),
(gst_message_parse_warning), (gst_message_parse_info),
(gst_message_parse_segment_start),
(gst_message_parse_segment_done), (gst_message_parse_duration),
(gst_message_parse_async_start):
Use GstQuark for messages.

16 years agogst/gstquark.*: Add some more quarks needed for messages and queries.
Wim Taymans [Tue, 8 Apr 2008 19:39:28 +0000 (19:39 +0000)]
gst/gstquark.*: Add some more quarks needed for messages and queries.

Original commit message from CVS:
* gst/gstquark.c: (_priv_gst_quarks_initialize):
* gst/gstquark.h:
Add some more quarks needed for messages and queries.

16 years agodocs/design/part-buffering.txt: Remove the "none" buffering mode, STREAM is a good...
Wim Taymans [Tue, 8 Apr 2008 19:14:49 +0000 (19:14 +0000)]
docs/design/part-buffering.txt: Remove the "none" buffering mode, STREAM is a good default.

Original commit message from CVS:
* docs/design/part-buffering.txt:
Remove the "none" buffering mode, STREAM is a good default.
Move estimated-time to the avail query, that's when it will be needed.
Other small typo fixes and updates.

16 years agogst/gstindex.c: Don't put descriptions into the nick field of a GEnumValue: it's...
Tim-Philipp Müller [Mon, 7 Apr 2008 13:27:32 +0000 (13:27 +0000)]
gst/gstindex.c: Don't put descriptions into the nick field of a GEnumValue: it's not meant for that and some language...

Original commit message from CVS:
* gst/gstindex.c: (gst_index_resolver_get_type):
Don't put descriptions into the nick field of a GEnumValue: it's not
meant for that and some language bindings rely on the nick field to
construct constants and the like. Fixes #526705.

16 years agoMerge other changes from 0.10.19 release branch.
Tim-Philipp Müller [Mon, 7 Apr 2008 10:48:51 +0000 (10:48 +0000)]
Merge other changes from 0.10.19 release branch.

Original commit message from CVS:
* NEWS:
* RELEASE:
* gstreamer.doap:
Merge other changes from 0.10.19 release branch.

16 years agoconfigure.ac: Actually build dlls when cross-compiling with mingw32.
Damien Lespiau [Sun, 6 Apr 2008 08:54:47 +0000 (08:54 +0000)]
configure.ac: Actually build dlls when cross-compiling with mingw32.

Original commit message from CVS:
Patch by: Damien Lespiau <damien dot lespiau at gmail dot com>
* configure.ac:
Actually build dlls when cross-compiling with mingw32.
Fixes bug #526247.

16 years agogst/gstpoll.c: Fix compilation of GstPoll with mingw32. Fixes bug #526236.
Damien Lespiau [Sat, 5 Apr 2008 10:58:11 +0000 (10:58 +0000)]
gst/gstpoll.c: Fix compilation of GstPoll with mingw32. Fixes bug #526236.

Original commit message from CVS:
Patch by: Damien Lespiau <damien dot lespiau at gmail dot com>
* gst/gstpoll.c:
Fix compilation of GstPoll with mingw32. Fixes bug #526236.

16 years agodocs/design/draft-latency.txt: Fix typo.
Wim Taymans [Fri, 4 Apr 2008 13:43:26 +0000 (13:43 +0000)]
docs/design/draft-latency.txt: Fix typo.

Original commit message from CVS:
* docs/design/draft-latency.txt:
Fix typo.
* docs/design/part-buffering.txt:
Update design docs with more buffering ideas.

16 years agoconfigure.ac: Bump version to 0.10.19.1 after the unscheduled 0.10.19 release.
Tim-Philipp Müller [Thu, 3 Apr 2008 21:15:09 +0000 (21:15 +0000)]
configure.ac: Bump version to 0.10.19.1 after the unscheduled 0.10.19 release.

Original commit message from CVS:
* configure.ac:
Bump version to 0.10.19.1 after the unscheduled 0.10.19 release.

16 years agoupdate spec to work with docs
Christian Schaller [Thu, 3 Apr 2008 16:45:02 +0000 (16:45 +0000)]
update spec to work with docs

Original commit message from CVS:
update spec to work with docs

16 years agoconfigure.ac: Revert part that belongs to the preset patch.
Stefan Kost [Thu, 3 Apr 2008 14:49:06 +0000 (14:49 +0000)]
configure.ac: Revert part that belongs to the preset patch.

Original commit message from CVS:
* configure.ac:
Revert part that belongs to the preset patch.

16 years agoconfigure.ac: Add qoutes to the define. Fixes # 525961.
Stefan Kost [Thu, 3 Apr 2008 14:26:55 +0000 (14:26 +0000)]
configure.ac: Add qoutes to the define. Fixes # 525961.

Original commit message from CVS:
* configure.ac:
Add qoutes to the define. Fixes # 525961.

16 years agoplugins/indexers/: Use GSlice when possible.
Sebastian Dröge [Thu, 3 Apr 2008 07:52:31 +0000 (07:52 +0000)]
plugins/indexers/: Use GSlice when possible.

Original commit message from CVS:
* plugins/indexers/gstfileindex.c: (_file_index_id_free),
(gst_file_index_load), (gst_file_index_add_id),
(gst_file_index_get_assoc_entry):
* plugins/indexers/gstmemindex.c: (gst_mem_index_free_format),
(gst_mem_index_free_id), (gst_mem_index_add_id),
(gst_mem_index_index_format):
Use GSlice when possible.

16 years agolibs/gst/controller/gstinterpolationcontrolsource.c: Use GSlice for allocating the...
Sebastian Dröge [Wed, 2 Apr 2008 17:45:08 +0000 (17:45 +0000)]
libs/gst/controller/gstinterpolationcontrolsource.c: Use GSlice for allocating the control points.

Original commit message from CVS:
* libs/gst/controller/gstinterpolationcontrolsource.c:
(gst_control_point_free),
(gst_interpolation_control_source_set_internal):
Use GSlice for allocating the control points.

16 years agoplugins/elements/gsttypefindelement.*: Cleanup properties.
Wim Taymans [Wed, 2 Apr 2008 17:21:40 +0000 (17:21 +0000)]
plugins/elements/gsttypefindelement.*: Cleanup properties.

Original commit message from CVS:
* plugins/elements/gsttypefindelement.c:
(gst_type_find_element_class_init),
(gst_type_find_element_set_property),
(gst_type_find_element_get_property),
(gst_type_find_element_activate):
* plugins/elements/gsttypefindelement.h:
Cleanup properties.
Fix pad leak when peer query fails.
We can still typefind when the peer returns -1.
Add property to force caps and bypass typefinding. This will be used in
uridecodebin.
API::force-caps

16 years agoconfigure.ac: Require GLib 2.12.
Sebastian Dröge [Tue, 1 Apr 2008 13:55:20 +0000 (13:55 +0000)]
configure.ac: Require GLib 2.12.

Original commit message from CVS:
* configure.ac:
Require GLib 2.12.
* gst/glib-compat-private.h:
* gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free):
* gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
Unconditionally use GSlice for allocation.
* gst/gstpoll.c: (gst_poll_new), (gst_poll_free):
* gst/gstsegment.c: (gst_segment_new), (gst_segment_free):
* gst/gststructure.c: (gst_structure_id_empty_new_with_size),
(gst_structure_free):
Use GSlice for allocation.

16 years agogst/parse/: Require a new enough flex and bison and remove the parser hacks to use...
Sebastian Dröge [Tue, 1 Apr 2008 13:48:59 +0000 (13:48 +0000)]
gst/parse/: Require a new enough flex and bison and remove the parser hacks to use a pre-regenerated version.

Original commit message from CVS:
* gst/parse/Makefile.am:
* gst/parse/grammar.tab.pre.c:
* gst/parse/grammar.tab.pre.h:
* gst/parse/lex._gst_parse_yy.pre.c:
Require a new enough flex and bison and remove the parser hacks to use
a pre-regenerated version.

16 years agoconfigure.ac: Add a configure switch to disable option parsing in gst_init.
Jason Zhao [Tue, 1 Apr 2008 10:25:35 +0000 (10:25 +0000)]
configure.ac: Add a configure switch to disable option parsing in gst_init.

Original commit message from CVS:
2008-04-01  Julien Moutte  <julien@fluendo.com>

patch by: Jason Zhao <E3423C@motorola.com>

* configure.ac: Add a configure switch to disable option parsing
in gst_init.
Fixes #522882.

16 years agoMacOS has plugins under .so or under .dylib. Add detection for MacOS and handle this...
Stefan Kost [Mon, 31 Mar 2008 13:47:22 +0000 (13:47 +0000)]
MacOS has plugins under .so or under .dylib. Add detection for MacOS and handle this case.

Original commit message from CVS:
* configure.ac:
* gst/gstregistry.c:
MacOS has plugins under .so or under .dylib. Add detection for MacOS
and handle this case.
* gst/gst.c:
Add a comment here describing, why we stat each plugin and not try to
be smart.

16 years agolibs/gst/base/gstbasetransform.c: Also unset the GAP flag on buffers if we're working...
Sebastian Dröge [Mon, 31 Mar 2008 10:21:57 +0000 (10:21 +0000)]
libs/gst/base/gstbasetransform.c: Also unset the GAP flag on buffers if we're working inplace but the element is not ...

Original commit message from CVS:
* libs/gst/base/gstbasetransform.c:
(gst_base_transform_prepare_output_buffer):
Also unset the GAP flag on buffers if we're working inplace but
the element is not GAP-aware.
Mark a comment as FIXME 0.11.

16 years agogst/gst.c: Fix type in log message and add one to ease seeing how long registry cache...
Stefan Kost [Mon, 31 Mar 2008 08:32:26 +0000 (08:32 +0000)]
gst/gst.c: Fix type in log message and add one to ease seeing how long registry cache verification takes.

Original commit message from CVS:
* gst/gst.c:
Fix type in log message and add one to ease seeing how long registry
cache verification takes.
* gst/gstregistry.c:
Only test plugin filenames against G_MODULE_SUFFIX.

16 years agogst/gstdebugutils.c: Improve handling ghost/proxy pads.
Stefan Kost [Mon, 31 Mar 2008 07:49:26 +0000 (07:49 +0000)]
gst/gstdebugutils.c: Improve handling ghost/proxy pads.

Original commit message from CVS:
* gst/gstdebugutils.c:
Improve handling ghost/proxy pads.

16 years agoExpose macro to docs and fix link to it.
Stefan Kost [Thu, 27 Mar 2008 19:13:45 +0000 (19:13 +0000)]
Expose macro to docs and fix link to it.

Original commit message from CVS:
* docs/gst/gstreamer-sections.txt:
* gst/gstpad.c:
* gst/gstpad.h:
Expose macro to docs and fix link to it.

16 years agolibs/gst/dataprotocol/dataprotocol.c: When calculating GDP body CRC, use the correct...
Michael Smith [Thu, 27 Mar 2008 15:23:55 +0000 (15:23 +0000)]
libs/gst/dataprotocol/dataprotocol.c: When calculating GDP body CRC, use the correct pointer.

Original commit message from CVS:
* libs/gst/dataprotocol/dataprotocol.c:
(gst_dp_packet_from_event_1_0):
When calculating GDP body CRC, use the correct pointer.
Fixes part of #522401.

16 years agoplugins/elements/gstidentity.c: Identity is not always a passthrough element, it...
Mark Nauwelaerts [Mon, 24 Mar 2008 16:56:36 +0000 (16:56 +0000)]
plugins/elements/gstidentity.c: Identity is not always a passthrough element, it can modify the buffer timestamps whe...

Original commit message from CVS:
Patch by: Mark Nauwelaerts <manauw at skynet be>
* plugins/elements/gstidentity.c: (gst_identity_class_init),
(gst_identity_init), (gst_identity_prepare_output_buffer):
Identity is not always a passthrough element, it can modify the buffer
timestamps when it has a datarate and operates in single-segment mode.
We therefore make it an in_place filter with a custom buffer prepare
function that conditionally makes the input buffer metadata writable
when needed.  Fixes #523985.

16 years agoSmall documentation fixes. Fixes #523978.
Mark Nauwelaerts [Mon, 24 Mar 2008 16:44:25 +0000 (16:44 +0000)]
Small documentation fixes. Fixes #523978.

Original commit message from CVS:
Patch by: Mark Nauwelaerts <manauw at skynet be>
* gst/gstclock.h:
* libs/gst/base/gstbasesrc.h:
* libs/gst/base/gstbasetransform.c:
* libs/gst/check/gstcheck.c:
Small documentation fixes. Fixes #523978.

16 years agoplugins/elements/: Also retry our poll_wait when we get EAGAIN. Fixes #524041.
Wim Taymans [Mon, 24 Mar 2008 16:31:30 +0000 (16:31 +0000)]
plugins/elements/: Also retry our poll_wait when we get EAGAIN. Fixes #524041.

Original commit message from CVS:
* plugins/elements/gstfdsink.c: (gst_fd_sink_render):
* plugins/elements/gstfdsrc.c: (gst_fd_src_create):
Also retry our poll_wait when we get EAGAIN. Fixes #524041.

16 years agoplugins/elements/gstmultiqueue.c: When trying to make room in the queue, bump the...
Wim Taymans [Mon, 24 Mar 2008 10:38:31 +0000 (10:38 +0000)]
plugins/elements/gstmultiqueue.c: When trying to make room in the queue, bump the max allowed buffers bigger than the...

Original commit message from CVS:
* plugins/elements/gstmultiqueue.c: (single_queue_overrun_cb),
(single_queue_underrun_cb):
When trying to make room in the queue, bump the max allowed buffers
bigger than the current amount of buffers in the queue. this fixes some
nasty deadlocks in multiqueue when dynamically changing the limits of
the queue.

16 years agogst/gstcaps.*: Constify the field gchar * params in set_simple and friends.
José Alburquerque [Mon, 24 Mar 2008 10:33:41 +0000 (10:33 +0000)]
gst/gstcaps.*: Constify the field gchar * params in set_simple and friends.

Original commit message from CVS:
Patch by:  José Alburquerque <jaalburqu at svn dot gnome dot org>
* gst/gstcaps.c: (gst_caps_set_simple),
(gst_caps_set_simple_valist), (gst_caps_intersect):
* gst/gstcaps.h:
Constify the field gchar * params in set_simple and friends.
Fixes #522326.

16 years agogst/gstvalue.c: Transform a GstObject to a more meaningfull string that includes...
Wim Taymans [Mon, 24 Mar 2008 10:29:05 +0000 (10:29 +0000)]
gst/gstvalue.c: Transform a GstObject to a more meaningfull string that includes the object type in addition to its n...

Original commit message from CVS:
* gst/gstvalue.c: (gst_value_transform_object_string):
Transform a GstObject to a more meaningfull string that includes the
object type in addition to its name.

16 years agoChangeLog: ChangeLog surgery to add bugnumber to commit.
Stefan Kost [Sun, 23 Mar 2008 15:17:24 +0000 (15:17 +0000)]
ChangeLog: ChangeLog surgery to add bugnumber to commit.

Original commit message from CVS:
* ChangeLog:
ChangeLog surgery to add bugnumber to commit.

16 years agolibs/gst/base/gstbasetransform.c: Fix confusing documentation.
Rene Stadler [Sun, 23 Mar 2008 14:24:48 +0000 (14:24 +0000)]
libs/gst/base/gstbasetransform.c: Fix confusing documentation.

Original commit message from CVS:
* libs/gst/base/gstbasetransform.c:
(gst_base_transform_set_gap_aware): Fix confusing documentation.

16 years agogst/gstregistrybinary.c: Rename constant everywhere and don't forget one occurence.
Sebastian Dröge [Sun, 23 Mar 2008 11:40:54 +0000 (11:40 +0000)]
gst/gstregistrybinary.c: Rename constant everywhere and don't forget one occurence.

Original commit message from CVS:
* gst/gstregistrybinary.c: (gst_registry_binary_write):
Rename constant everywhere and don't forget one occurence.

16 years agogst/gstregistrybinary.c: Align memory to the pointer size even if the architecture...
Sebastian Dröge [Sun, 23 Mar 2008 11:29:54 +0000 (11:29 +0000)]
gst/gstregistrybinary.c: Align memory to the pointer size even if the architecture allows unaligned memory access. Un...

Original commit message from CVS:
* gst/gstregistrybinary.c: (gst_registry_binary_write):
Align memory to the pointer size even if the architecture allows
unaligned memory access. Unaligned memory access usually comes with
performance penality.

16 years agogst/gstregistrybinary.c: Align memory to the pointer size instead of always 32 bit...
Sebastian Dröge [Sun, 23 Mar 2008 11:23:30 +0000 (11:23 +0000)]
gst/gstregistrybinary.c: Align memory to the pointer size instead of always 32 bit. Fixes unaligned memory accesses o...

Original commit message from CVS:
* gst/gstregistrybinary.c: (gst_registry_binary_write),
(gst_registry_binary_check_magic),
(gst_registry_binary_load_pad_template),
(gst_registry_binary_load_feature),
(gst_registry_binary_load_plugin):
Align memory to the pointer size instead of always 32 bit. Fixes
unaligned memory accesses on ia64 and friends.
* gst/gstregistrybinary.h:
Bump binary registry format version for this as it changes the
format on those architectures that don't have unaligned access
and 64 bit pointers.

16 years agoDefine G_PARAM_STATIC_STRINGS if it's undefined (GLib < 2.13.0) and use it everywhere...
Sebastian Dröge [Sat, 22 Mar 2008 14:56:17 +0000 (14:56 +0000)]
Define G_PARAM_STATIC_STRINGS if it's undefined (GLib < 2.13.0) and use it everywhere for GParamSpecs that use static...

Original commit message from CVS:
* docs/pwg/advanced-dparams.xml:
* docs/pwg/building-props.xml:
* docs/pwg/other-source.xml:
* gst/glib-compat.h:
* gst/gstbin.c: (gst_bin_class_init):
* gst/gstclock.c: (gst_clock_class_init):
* gst/gstindex.c: (gst_index_class_init):
* gst/gstobject.c: (gst_object_class_init):
* gst/gstpad.c: (gst_pad_class_init):
* gst/gstpipeline.c: (gst_pipeline_class_init):
* libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
* libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
* libs/gst/base/gstbasetransform.c:
(gst_base_transform_class_init):
* libs/gst/base/gstdataqueue.c: (gst_data_queue_class_init):
* libs/gst/check/gstcheck.c: (_gst_check_fault_handler_restore),
(_gst_check_fault_handler_sighandler),
(_gst_check_fault_handler_setup), (gst_check_init):
* libs/gst/controller/gstcontroller.c:
(_gst_controller_class_init):
* libs/gst/controller/gstlfocontrolsource.c:
(gst_lfo_control_source_class_init):
* libs/gst/net/gstnetclientclock.c:
(gst_net_client_clock_class_init):
* libs/gst/net/gstnettimeprovider.c:
(gst_net_time_provider_class_init):
* plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
* plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
* plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
* plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
* plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
* plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
* plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
* plugins/elements/gstidentity.c: (gst_identity_class_init):
* plugins/elements/gstmultiqueue.c: (gst_multi_queue_class_init):
* plugins/elements/gstqueue.c: (gst_queue_class_init):
* plugins/elements/gsttee.c: (gst_tee_class_init):
* plugins/elements/gsttypefindelement.c:
(gst_type_find_element_class_init):
* plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
Define G_PARAM_STATIC_STRINGS if it's undefined (GLib < 2.13.0) and
use it everywhere for GParamSpecs that use static strings (i.e. all).
This gives us less memory usage, fewer allocations and thus less
memory defragmentation. Fixes bug #523806.

16 years agoAPI: Add GST_IS_PARAM_SPEC_MINI_OBJECT, GST_PARAM_SPEC_MINI_OBJECT
Sebastian Dröge [Sat, 22 Mar 2008 14:51:17 +0000 (14:51 +0000)]
API: Add GST_IS_PARAM_SPEC_MINI_OBJECT, GST_PARAM_SPEC_MINI_OBJECT

Original commit message from CVS:
* gst/gstminiobject.c: (gst_value_dup_mini_object),
(gst_param_spec_mini_object):
* gst/gstminiobject.h:
* win32/common/libgstreamer.def:
* docs/gst/gstreamer-sections.txt:
API: Add GST_IS_PARAM_SPEC_MINI_OBJECT, GST_PARAM_SPEC_MINI_OBJECT
GST_TYPE_PARAM_MINI_OBJECT and gst_value_dup_mini_object. Also move
GstParamSpecMiniObject into a public header for this.
This make GstMiniObject a bit more consistent with GObject and makes
it possible to extend the param specs.
gst_value_dup_mini_object is mainly useful for set_property methods.
Fixes bug #523798.
* tools/gst-inspect.c: (print_element_properties_info):
Print something useful for GstMiniObject properties and not just
"unknown type".

16 years agoCall the version GST_MAGIC_BINARY_VERSION_STR to be more consistent and add it to...
Sebastian Dröge [Fri, 21 Mar 2008 16:11:51 +0000 (16:11 +0000)]
Call the version GST_MAGIC_BINARY_VERSION_STR to be more consistent and add it to the (private part) of the docs to f...

Original commit message from CVS:
* docs/gst/gstreamer-sections.txt:
* gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic),
(gst_registry_binary_check_magic):
* gst/gstregistrybinary.h:
Call the version GST_MAGIC_BINARY_VERSION_STR to be more consistent
and add it to the (private part) of the docs to fix the build.

16 years agogst/gstregistrybinary.*: Don't use GST_MAJORMINOR for the binary registry version...
Sebastian Dröge [Fri, 21 Mar 2008 15:52:14 +0000 (15:52 +0000)]
gst/gstregistrybinary.*: Don't use GST_MAJORMINOR for the binary registry version. Instead hardcode a value that must...

Original commit message from CVS:
* gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic),
(gst_registry_binary_check_magic),
(gst_registry_binary_read_cache):
* gst/gstregistrybinary.h:
Don't use GST_MAJORMINOR for the binary registry version. Instead
hardcode a value that must be changed whenever the format changes
in an incompatible way.
Also don't GST_ERROR when there is a version mismatch, just
regenerate the registry silently.

16 years agoconfigure.ac: Back to development - 0.10.18.1
Jan Schmidt [Fri, 21 Mar 2008 00:35:10 +0000 (00:35 +0000)]
configure.ac: Back to development - 0.10.18.1

Original commit message from CVS:
* configure.ac:
Back to development - 0.10.18.1

16 years agoRelease 0.10.18 RELEASE-0_10_18
Jan Schmidt [Fri, 21 Mar 2008 00:20:59 +0000 (00:20 +0000)]
Release 0.10.18

Original commit message from CVS:
Release 0.10.18

16 years agoUpdate .po files
Jan Schmidt [Thu, 20 Mar 2008 23:26:05 +0000 (23:26 +0000)]
Update .po files

Original commit message from CVS:
Update .po files

16 years ago0.10.17.4 pre-release
Jan Schmidt [Tue, 18 Mar 2008 12:17:58 +0000 (12:17 +0000)]
0.10.17.4 pre-release

Original commit message from CVS:
* configure.ac:
* win32/common/config.h:
0.10.17.4 pre-release

16 years agoAdd new function gst_poll_fd_ignored() for improved Windows compatibility.
Ole André Vadla Ravnås [Tue, 18 Mar 2008 10:54:52 +0000 (10:54 +0000)]
Add new function gst_poll_fd_ignored() for improved Windows compatibility.

Original commit message from CVS:
Patch by: Ole André Vadla Ravnås
<ole dot andre dot ravnas at tandberg dot com>
* docs/gst/gstreamer-sections.txt:
* gst/gstpoll.c: (gst_poll_winsock_error_to_errno),
(gst_poll_update_winsock_event_mask),
(gst_poll_prepare_winsock_active_sets),
(gst_poll_collect_winsock_events), (gst_poll_new), (gst_poll_free),
(gst_poll_add_fd_unlocked), (gst_poll_fd_ctl_write),
(gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_ignored),
(gst_poll_fd_has_error), (gst_poll_fd_can_read_unlocked),
(gst_poll_check_ctrl_commands), (gst_poll_wait):
* gst/gstpoll.h:
* win32/common/libgstreamer.def:
Add new function gst_poll_fd_ignored() for improved Windows
compatibility.
Various minor fixes and cleanups. See #520808.

16 years agogst/gstindex.*: Don't free key strings which we don't own. Fixes crash in gst_index_e...
Tim-Philipp Müller [Mon, 17 Mar 2008 10:21:59 +0000 (10:21 +0000)]
gst/gstindex.*: Don't free key strings which we don't own. Fixes crash in gst_index_entry_free() (#522741).

Original commit message from CVS:
* gst/gstindex.c: (gst_index_entry_free):
* gst/gstindex.h:
Don't free key strings which we don't own. Fixes crash in
gst_index_entry_free() (#522741).
* tests/check/Makefile.am:
* tests/check/gst/.cvsignore:
* tests/check/gst/gstindex.c: (test_index_entries),
(gst_index_suite), (gst_index):
Add unit test for the above.

16 years agowin32/common/libgstreamer.def: Remove symbols that were removed recently. Fixes bug...
Sebastian Dröge [Tue, 11 Mar 2008 14:09:46 +0000 (14:09 +0000)]
win32/common/libgstreamer.def: Remove symbols that were removed recently. Fixes bug #521740.

Original commit message from CVS:
* win32/common/libgstreamer.def:
Remove symbols that were removed recently. Fixes bug #521740.

16 years ago0.10.17.3 pre-release
Jan Schmidt [Tue, 11 Mar 2008 00:24:18 +0000 (00:24 +0000)]
0.10.17.3 pre-release

Original commit message from CVS:
* configure.ac:
* win32/common/config.h:
0.10.17.3 pre-release

16 years agoconfigure.ac: Release 0.10.17.3
Jan Schmidt [Tue, 11 Mar 2008 00:23:02 +0000 (00:23 +0000)]
configure.ac: Release 0.10.17.3

Original commit message from CVS:
* configure.ac:
Release 0.10.17.3

16 years agoRemove GstPollMode from the API, it does not make sense to let the application contro...
Ole André Vadla Ravnås [Fri, 7 Mar 2008 15:39:45 +0000 (15:39 +0000)]
Remove GstPollMode from the API, it does not make sense to let the application control this.

Original commit message from CVS:
Patch by: Ole André Vadla Ravnås
<ole dot andre dot ravnas at tandberg dot com>
* docs/gst/gstreamer-sections.txt:
* gst/gstpoll.c: (find_index), (gst_poll_free_winsock_event),
(gst_poll_update_winsock_event_mask), (gst_poll_new),
(gst_poll_free), (gst_poll_fd_init), (gst_poll_add_fd_unlocked),
(gst_poll_remove_fd), (gst_poll_fd_ctl_write),
(gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_has_closed),
(gst_poll_fd_has_error), (gst_poll_fd_can_read_unlocked),
(gst_poll_fd_can_write), (gst_poll_wait),
(gst_poll_set_controllable), (gst_poll_restart),
(gst_poll_set_flushing):
* gst/gstpoll.h:
* libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_new):
* libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_start),
(gst_net_time_provider_new):
* plugins/elements/gstfdsink.c: (gst_fd_sink_start):
* plugins/elements/gstfdsrc.c: (gst_fd_src_start):
* tests/benchmarks/gstpollstress.c: (main):
* tests/check/gst/gstpoll.c: (GST_START_TEST), (gst_poll_suite):
Remove GstPollMode from the API, it does not make sense to let the
application control this.
Add support for Win32.
Fix the testsuite. Fixes #520671.

16 years agogst/gstregistrybinary.c: Include io.h for write() and close() when building with...
Ole André Vadla Ravnås [Fri, 7 Mar 2008 13:19:12 +0000 (13:19 +0000)]
gst/gstregistrybinary.c: Include io.h for write() and close() when building with MSVC. Fixes bug #520877.

Original commit message from CVS:
Patch by: Ole André Vadla Ravnås
<ole dot andre dot ravnas at tandberg dot com>
* gst/gstregistrybinary.c:
Include io.h for write() and close() when building with MSVC. Fixes
bug #520877.

16 years agoMove registry backend API to private headers where we can. Add fixme-0.11 comments...
Stefan Kost [Fri, 7 Mar 2008 11:12:59 +0000 (11:12 +0000)]
Move registry backend API to private headers where we can. Add fixme-0.11 comments for the others. Add stubs for the ...

Original commit message from CVS:
* configure.ac:
* gst/gst_private.h:
* gst/gstconfig.h.in:
* gst/gstregistry.h:
* gst/gstregistrybinary.c:
* win32/common/gstconfig.h:
Move registry backend API to private headers where we can. Add
fixme-0.11 comments for the others. Add stubs for the xml backend when
using the binary to ensure they functions exists (they should not be
used though). Fixes #520756.

16 years ago0.10.17.2 prelease
Jan Schmidt [Tue, 4 Mar 2008 00:14:52 +0000 (00:14 +0000)]
0.10.17.2 prelease

Original commit message from CVS:
* configure.ac:
* win32/common/config.h:
0.10.17.2 prelease

16 years agoSwitch to using portabl gsize/gssize instead of size_t/ssize_t
Edward Hervey [Mon, 3 Mar 2008 18:42:04 +0000 (18:42 +0000)]
Switch to using portabl gsize/gssize instead of size_t/ssize_t

Original commit message from CVS:
* gst/gstregistrybinary.c: (gst_registry_binary_write),
(gst_registry_binary_read_cache):
* gst/gstregistryxml.c: (gst_registry_save):
* gst/gsturi.c: (unescape_string), (gst_uri_has_protocol):
* plugins/elements/gstfilesink.c: (gst_file_sink_open_file):
* plugins/elements/gstfilesrc.c: (gst_file_src_map_region),
(gst_file_src_map_small_region), (gst_file_src_create_mmap):
Switch to using portabl gsize/gssize instead of size_t/ssize_t
Fixes #520152