platform/upstream/gstreamer.git
15 years agoUpdate the last_buffer exactly with the buffer that caused the
Wim Taymans [Wed, 21 Jan 2009 11:43:55 +0000 (12:43 +0100)]
Update the last_buffer exactly with the buffer that caused the
preroll and also call the preroll method with that preroll buffer.
Fixes #567725.

15 years agodo not call the unlink function on the target pad when the ghostpad
Wim Taymans [Wed, 21 Jan 2009 11:21:49 +0000 (12:21 +0100)]
do not call the unlink function on the target pad when the ghostpad
is unlinked.
Add some unit tests for this behaviour.
Fixes #566936.

15 years agoautogen.sh : Use git submodule
Edward Hervey [Wed, 21 Jan 2009 03:29:25 +0000 (04:29 +0100)]
autogen.sh : Use git submodule

15 years agoRelease 0.10.22 GIT_CONVERSION RELEASE-0_10_22
Jan Schmidt [Mon, 19 Jan 2009 22:58:59 +0000 (22:58 +0000)]
Release 0.10.22

Original commit message from CVS:
Release 0.10.22

15 years agoUpdate .po files
Jan Schmidt [Mon, 19 Jan 2009 21:20:40 +0000 (21:20 +0000)]
Update .po files

Original commit message from CVS:
Update .po files

15 years agogst/gstbus.c: Fix order of members in GstBusSource structure - the first member must...
Tim-Philipp Müller [Sat, 17 Jan 2009 21:04:41 +0000 (21:04 +0000)]
gst/gstbus.c: Fix order of members in GstBusSource structure - the first member must be the parent structure ie. GSou...

Original commit message from CVS:
* gst/gstbus.c: (gst_bus_set_main_context), (gst_bus_create_watch):
Fix order of members in GstBusSource structure - the first member
must be the parent structure ie. GSource. Should make bus sources
attached to non-default main contexts work in all cases now (ie.
primarily in cases where the callback has a non-NULL user data
argument). Fixes #562170.
* tests/check/gst/gstbus.c: (test_custom_main_context):
Add unit test for the above, based on code by
Justin Karneges <justin at affinix com>.

15 years agogst/gstpad.h: A small documentation fix.
Jonas Holmberg [Thu, 15 Jan 2009 10:04:37 +0000 (10:04 +0000)]
gst/gstpad.h: A small documentation fix.

Original commit message from CVS:
Patch by: Jonas Holmberg <jonas dot holmberg at axis dot com>
* gst/gstpad.h:
A small documentation fix.

15 years agogst/gstutils.h: Initialize g_once_init* data with 0. Fixes bug #567225.
Sebastian Dröge [Sun, 11 Jan 2009 09:46:52 +0000 (09:46 +0000)]
gst/gstutils.h: Initialize g_once_init* data with 0. Fixes bug #567225.

Original commit message from CVS:
* gst/gstutils.h:
Initialize g_once_init* data with 0. Fixes bug #567225.

15 years agoconfigure.ac: pre-release 0.10.21.3
Jan Schmidt [Fri, 9 Jan 2009 23:37:19 +0000 (23:37 +0000)]
configure.ac: pre-release 0.10.21.3

Original commit message from CVS:
* configure.ac:
pre-release 0.10.21.3

15 years agolibs/gst/base/gstbasesink.*: Fix documentation for the wait_clock method, rename...
Wim Taymans [Fri, 9 Jan 2009 15:43:17 +0000 (15:43 +0000)]
libs/gst/base/gstbasesink.*: Fix documentation for the wait_clock method, rename basesink -> sink for consistency.

Original commit message from CVS:
* libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
(gst_base_sink_wait_clock):
* libs/gst/base/gstbasesink.h:
Fix documentation for the wait_clock method, rename basesink -> sink
for consistency.

15 years agogst/gst.c: Create a registry if there is none also when the option for gst-disable...
Stefan Kost [Thu, 8 Jan 2009 13:41:19 +0000 (13:41 +0000)]
gst/gst.c: Create a registry if there is none also when the option for gst-disable-registry-update has been selected....

Original commit message from CVS:
* gst/gst.c:
Create a registry if there is none also when the option for
gst-disable-registry-update has been selected. Fixes #567002

15 years agogst/gst.c: Ref new enum type in gst_init.
Tim-Philipp Müller [Tue, 6 Jan 2009 18:10:22 +0000 (18:10 +0000)]
gst/gst.c: Ref new enum type in gst_init.

Original commit message from CVS:
* gst/gst.c: (init_post):
Ref new enum type in gst_init.
* win32/common/libgstreamer.def:
Add recently-added API.

15 years agoAdd API for making a GStreamer plugin 'dependent' on external files, directories...
Tim-Philipp Müller [Tue, 6 Jan 2009 17:58:59 +0000 (17:58 +0000)]
Add API for making a GStreamer plugin 'dependent' on external files, directories or environment variables, so that GS...

Original commit message from CVS:
* docs/gst/gstreamer-sections.txt::
* gst/gst_private.h: (GstPluginDep), (_GstPluginPrivate):
* gst/gstplugin.c: (gst_plugin_init), (gst_plugin_finalize),
(gst_plugin_class_init), (gst_plugin_list_free),
(gst_plugin_ext_dep_get_env_vars_hash),
(_priv_plugin_deps_env_vars_changed),
(gst_plugin_ext_dep_extract_env_vars_paths),
(gst_plugin_ext_dep_get_hash_from_stat_entry),
(gst_plugin_ext_dep_direntry_matches),
(gst_plugin_ext_dep_scan_dir_and_match_names),
(gst_plugin_ext_dep_scan_path_with_filenames),
(gst_plugin_ext_dep_get_stat_hash),
(_priv_plugin_deps_files_changed), (gst_plugin_ext_dep_free),
(gst_plugin_ext_dep_strv_equal), (gst_plugin_ext_dep_equals),
(gst_plugin_add_dependency), (gst_plugin_add_dependency_simple):
* gst/gstplugin.h: (GstPluginPrivate), (GstPluginFlags),
(GST_PLUGIN_DEPENDENCY_FLAG_NONE),
(GST_PLUGIN_DEPENDENCY_FLAG_RECURSE),
(GST_PLUGIN_DEPENDENCY_FLAG_PATHS_ARE_DEFAULT_ONLY),
(GST_PLUGIN_DEPENDENCY_FLAG_FILE_NAME_IS_SUFFIX),
(GstPluginDependencyFlags), (GstPluginFilter):
* gst/gstregistry.c: (gst_registry_scan_path_level):
* gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
(gst_registry_binary_save_plugin_dep),
(gst_registry_binary_save_plugin),
(gst_registry_binary_load_feature),
(gst_registry_binary_load_plugin_dep_strv),
(gst_registry_binary_load_plugin_dep),
(gst_registry_binary_load_plugin):
* gst/gstregistrybinary.h: (GST_MAGIC_BINARY_VERSION_STR),
(GstBinaryPluginElement), (_GstBinaryDep), (GstBinaryDep):
* gst/gstregistryxml.c: (gst_registry_xml_save_plugin):
Add API for making a GStreamer plugin 'dependent' on external files,
directories or environment variables, so that GStreamer knows when
it needs to re-load GStreamer plugins that wrap other plugin systems.
Fixes bug #350477.
API: add gst_plugin_add_dependency()
API: add gst_plugin_add_dependency_simple()

15 years agodocs/faq/gst-uninstalled: Add libgstapp-0.10 from -base to search path and remove...
Tim-Philipp Müller [Tue, 6 Jan 2009 13:00:11 +0000 (13:00 +0000)]
docs/faq/gst-uninstalled: Add libgstapp-0.10 from -base to search path and remove the old lib from -bad from the sear...

Original commit message from CVS:
* docs/faq/gst-uninstalled:
Add libgstapp-0.10 from -base to search path and remove the old
lib from -bad from the search path.

15 years agolibs/gst/base/gstbasesink.c: Release the object lock before calling the query convert...
Wim Taymans [Mon, 5 Jan 2009 15:42:53 +0000 (15:42 +0000)]
libs/gst/base/gstbasesink.c: Release the object lock before calling the query convert pad functions to avoid deadlocks.

Original commit message from CVS:
* libs/gst/base/gstbasesink.c: (gst_base_sink_get_position_last),
(gst_base_sink_get_position_paused), (gst_base_sink_get_position):
Release the object lock before calling the query convert pad functions
to avoid deadlocks.

15 years agogst/gstbus.c: The lock order should be maincontext > OBJECT_LOCK so we need to releas...
Wim Taymans [Mon, 5 Jan 2009 15:41:00 +0000 (15:41 +0000)]
gst/gstbus.c: The lock order should be maincontext > OBJECT_LOCK so we need to release the object lock when waking up...

Original commit message from CVS:
* gst/gstbus.c: (gst_bus_wakeup_main_context):
The lock order should be maincontext > OBJECT_LOCK so we need to release
the object lock when waking up the mainloop to avoid deadlocks.

15 years agogst/gstbin.c: Use an iterator to set the clock and the index so that we can release...
Wim Taymans [Mon, 5 Jan 2009 10:14:28 +0000 (10:14 +0000)]
gst/gstbin.c: Use an iterator to set the clock and the index so that we can release the object lock appropriately. Fi...

Original commit message from CVS:
* gst/gstbin.c: (gst_bin_set_index_func), (gst_bin_set_clock_func),
(gst_bin_change_state_func):
Use an iterator to set the clock and the index so that we can release
the object lock appropriately. Fixes #566393.

15 years agolibs/gst/base/gstcollectpads.c: Use the name of the pads instead of a pointer, helps...
Edward Hervey [Sat, 3 Jan 2009 18:39:38 +0000 (18:39 +0000)]
libs/gst/base/gstcollectpads.c: Use the name of the pads instead of a pointer, helps in debugging.

Original commit message from CVS:
* libs/gst/base/gstcollectpads.c: (gst_collect_pads_available):
Use the name of the pads instead of a pointer, helps in debugging.

15 years agogst/gstindex.c: Add a debugging category for GstIndex, first little step in making...
Edward Hervey [Sat, 3 Jan 2009 18:16:54 +0000 (18:16 +0000)]
gst/gstindex.c: Add a debugging category for GstIndex, first little step in making indexing top-notch.

Original commit message from CVS:
* gst/gstindex.c: (gst_index_get_type):
Add a debugging category for GstIndex, first little step in making
indexing top-notch.

15 years agogst/: Assign debug statements to relevant categories instead of the 'default' categor...
Edward Hervey [Sat, 3 Jan 2009 18:10:08 +0000 (18:10 +0000)]
gst/: Assign debug statements to relevant categories instead of the 'default' category so they don't get lost in debu...

Original commit message from CVS:
* gst/gstelement.c: (gst_element_message_full),
(gst_element_pads_activate):
* gst/gstobject.c: (gst_object_dispatch_properties_changed):
* gst/gstutils.c: (gst_pad_proxy_getcaps), (gst_pad_proxy_setcaps),
(gst_pad_add_data_probe_full), (gst_pad_add_event_probe_full),
(gst_pad_add_buffer_probe_full), (gst_pad_remove_data_probe),
(gst_pad_remove_event_probe), (gst_pad_remove_buffer_probe):
Assign debug statements to relevant categories instead of the 'default'
category so they don't get lost in debugging.

15 years agogst/gstdebugutils.c: Add some ideas, how to make the graph smaller.
Stefan Kost [Thu, 1 Jan 2009 21:27:06 +0000 (21:27 +0000)]
gst/gstdebugutils.c: Add some ideas, how to make the graph smaller.

Original commit message from CVS:
* gst/gstdebugutils.c:
Add some ideas, how to make the graph smaller.
* gst/gstutils.c:
Add a comment from a debug session.
* libs/gst/base/gstbasetransform.c:
Log more context.
* libs/gst/controller/gstinterpolationcontrolsource.c:
Indet.
* plugins/elements/gstcapsfilter.c:
Fix typo in docs.

15 years agogst/gstbus.c: Make GstBusSource work with non-default main contexts (#562170).
Tim-Philipp Müller [Sat, 27 Dec 2008 17:41:11 +0000 (17:41 +0000)]
gst/gstbus.c: Make GstBusSource work with non-default main contexts (#562170).

Original commit message from CVS:
* gst/gstbus.c: (gst_bus_dispose), (gst_bus_get_property),
(gst_bus_wakeup_main_context), (gst_bus_set_main_context),
(gst_bus_post), (gst_bus_source_prepare), (gst_bus_source_finalize),
(gst_bus_create_watch):
Make GstBusSource work with non-default main contexts (#562170).
* tests/check/gst/gstbus.c: (message_func_eos), (message_func_app),
(test_watch), (test_watch_with_custom_context), (gst_bus_suite):
Add test case for GstBusSource with a non-default main context.
* tests/check/libs/.cvsignore:
Ignore more.

15 years agogst/gstregistrybinary.c: Wrap multi-line macros in G_STMT_{START|END}.
Tim-Philipp Müller [Sat, 27 Dec 2008 16:23:12 +0000 (16:23 +0000)]
gst/gstregistrybinary.c: Wrap multi-line macros in G_STMT_{START|END}.

Original commit message from CVS:
* gst/gstregistrybinary.c: (unpack_element), (unpack_const_string),
(unpack_string)::
Wrap multi-line macros in G_STMT_{START|END}.

15 years agoAPI: Add URI query type. This is useful to query the URI of a sink/source element...
Sebastian Dröge [Sat, 20 Dec 2008 17:33:44 +0000 (17:33 +0000)]
API: Add URI query type. This is useful to query the URI of a sink/source element and can be used by demuxers that ne...

Original commit message from CVS:
* docs/gst/gstreamer-sections.txt:
* gst/gstquark.c:
* gst/gstquark.h:
* gst/gstquery.c: (gst_query_new_uri), (gst_query_set_uri),
(gst_query_parse_uri):
* gst/gstquery.h:
API: Add URI query type. This is useful to query the URI
of a sink/source element and can be used by demuxers that
need to get data from other files.
This query should go upstream by default.
Fixes bug #562949.
* plugins/elements/gstfdsink.c: (gst_fd_sink_query):
* plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
(gst_fd_src_query):
* plugins/elements/gstfilesink.c: (gst_file_sink_query):
* plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
(gst_file_src_query):
Implement URI query.

15 years agoDon't forward gst_pad_set_caps() on a source ghostpad to its target.
Alessandro Decina [Fri, 19 Dec 2008 15:11:06 +0000 (15:11 +0000)]
Don't forward gst_pad_set_caps() on a source ghostpad to its target.

Original commit message from CVS:
* gst/gstghostpad.c:
* tests/check/gst/gstghostpad.c:
Don't forward gst_pad_set_caps() on a source ghostpad to its target.
That would cause the ghostpad to emit notify::caps two times (fist
from gst_pad_set_caps() and after from on_src_target_notify()).

15 years agotests/check/gst/gstghostpad.c: Add some more unit-tests for the ghostpad notify signa...
Wim Taymans [Fri, 19 Dec 2008 11:24:36 +0000 (11:24 +0000)]
tests/check/gst/gstghostpad.c: Add some more unit-tests for the ghostpad notify signal, one of which currently fails.

Original commit message from CVS:
* tests/check/gst/gstghostpad.c: (ghost_notify_caps),
(GST_START_TEST):
Add some more unit-tests for the ghostpad notify signal, one of which
currently fails.

15 years agowin32/common/libgstreamer.def: Add gst_tag_setter_reset_tags to the list of exported...
Sebastian Dröge [Fri, 19 Dec 2008 09:44:49 +0000 (09:44 +0000)]
win32/common/libgstreamer.def: Add gst_tag_setter_reset_tags to the list of exported symbols.

Original commit message from CVS:
* win32/common/libgstreamer.def:
Add gst_tag_setter_reset_tags to the list of exported symbols.

15 years agoIn a source ghostpad, when caps are changed in the target pad, the change needs to...
Alessandro Decina [Wed, 17 Dec 2008 16:16:45 +0000 (16:16 +0000)]
In a source ghostpad, when caps are changed in the target pad, the change needs to be reflected in the ghostpad.

Original commit message from CVS:
* gst/gstghostpad.c:
* tests/check/gst/gstghostpad.c:
In a source ghostpad, when caps are changed in the target pad, the
change needs to be reflected in the ghostpad.
Fixes #564863.

15 years agogst/gstutils.c: Add FIXME for 0.11 to set the pad as message source and not the eleme...
Sebastian Dröge [Wed, 17 Dec 2008 09:37:47 +0000 (09:37 +0000)]
gst/gstutils.c: Add FIXME for 0.11 to set the pad as message source and not the element. Otherwise it's impossible to...

Original commit message from CVS:
* gst/gstutils.c: (gst_element_found_tags_for_pad):
Add FIXME for 0.11 to set the pad as message source and not
the element. Otherwise it's impossible to detect for which
pad the tags were found without adding an event probe
or something similar to the pad.

15 years agodocs/faq/general.xml: Update the faq.
Wim Taymans [Tue, 16 Dec 2008 21:33:57 +0000 (21:33 +0000)]
docs/faq/general.xml: Update the faq.

Original commit message from CVS:
* docs/faq/general.xml:
Update the faq.

15 years agoRename api added in previous commit and add since tag to docs.
Stefan Kost [Tue, 16 Dec 2008 15:51:52 +0000 (15:51 +0000)]
Rename api added in previous commit and add since tag to docs.

Original commit message from CVS:
* docs/gst/gstreamer-sections.txt:
* gst/gsttagsetter.c:
* gst/gsttagsetter.h:
Rename api added in previous commit and add since tag to docs.
API: gst_tag_setter_reset_tags()

15 years agoAdd function to reset tagsetter for element reuse.
Stefan Kost [Tue, 16 Dec 2008 14:05:40 +0000 (14:05 +0000)]
Add function to reset tagsetter for element reuse.

Original commit message from CVS:
* docs/gst/gstreamer-sections.txt:
* gst/gsttagsetter.c:
* gst/gsttagsetter.h:
Add function to reset tagsetter for element reuse.
API: gst_tag_setter_flush()

15 years agogst/gsttaglist.c: Avoid copy of empty taglist.
Stefan Kost [Tue, 16 Dec 2008 09:37:53 +0000 (09:37 +0000)]
gst/gsttaglist.c: Avoid copy of empty taglist.

Original commit message from CVS:
* gst/gsttaglist.c:
Avoid copy of empty taglist.

15 years agoMore complete unit tests. Fix handling of empty taglists (they were not merged before).
Stefan Kost [Tue, 16 Dec 2008 09:23:21 +0000 (09:23 +0000)]
More complete unit tests. Fix handling of empty taglists (they were not merged before).

Original commit message from CVS:
* gst/gsttaglist.c:
* tests/check/gst/gsttag.c:
More complete unit tests. Fix handling of empty taglists (they were
not merged before).

15 years agogst/: Update GstTagSetter and GstTagMergeMode documentation. Mention that tags can...
Stefan Kost [Tue, 16 Dec 2008 07:07:36 +0000 (07:07 +0000)]
gst/: Update GstTagSetter and GstTagMergeMode documentation. Mention that tags can come from events and from applicat...

Original commit message from CVS:
* gst/gsttaglist.h:
* gst/gsttagsetter.c:
Update GstTagSetter and GstTagMergeMode documentation. Mention
that tags can come from events and from application. Fix example.

15 years agodocs/design/part-TODO.txt: Remove the seqnum entry that we implemented in 0.10 already.
Wim Taymans [Mon, 15 Dec 2008 15:27:06 +0000 (15:27 +0000)]
docs/design/part-TODO.txt: Remove the seqnum entry that we implemented in 0.10 already.

Original commit message from CVS:
* docs/design/part-TODO.txt:
Remove the seqnum entry that we implemented in 0.10 already.
Add entry about removing the format return value for queries.

15 years agolibs/gst/base/gstbasesink.c: Expose the render-delay as a property so things like...
Wim Taymans [Mon, 15 Dec 2008 12:47:59 +0000 (12:47 +0000)]
libs/gst/base/gstbasesink.c: Expose the render-delay as a property so things like appsink can use it to tweak the syn...

Original commit message from CVS:
* libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
(gst_base_sink_init), (gst_base_sink_set_property),
(gst_base_sink_get_property):
Expose the render-delay as a property so things like appsink can use it
to tweak the synchronisation.

15 years agolibs/gst/check/gstcheck.h: Allow check tests to use
Peter Kjellerstedt [Wed, 10 Dec 2008 15:19:45 +0000 (15:19 +0000)]
libs/gst/check/gstcheck.h: Allow check tests to use

Original commit message from CVS:
* libs/gst/check/gstcheck.h: Allow check tests to use
MAIN_START_THREADS()/MAIN_STOP_THREADS() multiple times. Also allows
CK_FORK=no to be used with multiple check test that use threads.

15 years agogst/gstutils.c: Fix a caps memory leak introduced by the last change.
Sebastian Dröge [Tue, 9 Dec 2008 16:23:58 +0000 (16:23 +0000)]
gst/gstutils.c: Fix a caps memory leak introduced by the last change.

Original commit message from CVS:
* gst/gstutils.c: (gst_element_get_compatible_pad):
Fix a caps memory leak introduced by the last change.

15 years agogst/gstutils.c: Check if the caps of the pads are compatible before returning a pad...
Sebastian Dröge [Tue, 9 Dec 2008 15:45:36 +0000 (15:45 +0000)]
gst/gstutils.c: Check if the caps of the pads are compatible before returning a pad and claiming it is compatible. Th...

Original commit message from CVS:
* gst/gstutils.c: (gst_element_get_compatible_pad):
Check if the caps of the pads are compatible before returning
a pad and claiming it is compatible. This, among other things,
fixes a bug with gst-launch where an incompatible pad is chosen
and linking fails. Fixes bug #544003.

15 years agolibs/gst/check/gstcheck.c: Revert accidentially commited patch for bug #404631 which...
Sebastian Dröge [Tue, 9 Dec 2008 14:46:24 +0000 (14:46 +0000)]
libs/gst/check/gstcheck.c: Revert accidentially commited patch for bug #404631 which tries to print a backtrace if a ...

Original commit message from CVS:
* libs/gst/check/gstcheck.c: (gst_check_init):
Revert accidentially commited patch for bug #404631 which
tries to print a backtrace if a testcase is terminated by
a signal. This code was never activated as the corresponding
configure.ac change wasn't committed.

15 years agotests/check/libs/controller.c: This test should return TRUE now as syncing an uncontr...
Sebastian Dröge [Tue, 9 Dec 2008 10:58:01 +0000 (10:58 +0000)]
tests/check/libs/controller.c: This test should return TRUE now as syncing an uncontrolled object will succeed now (t...

Original commit message from CVS:
* tests/check/libs/controller.c: (GST_START_TEST):
This test should return TRUE now as syncing an uncontrolled
object will succeed now (there's nothing to sync).

15 years agolibs/gst/controller/gstcontroller.c: Aggregate return value for gst_controller_sync_v...
Stefan Kost [Tue, 9 Dec 2008 09:56:25 +0000 (09:56 +0000)]
libs/gst/controller/gstcontroller.c: Aggregate return value for gst_controller_sync_values(). More info in logging. A...

Original commit message from CVS:
* libs/gst/controller/gstcontroller.c:
Aggregate return value for gst_controller_sync_values(). More info in
logging. Always set values on first sync-call.
* libs/gst/controller/gstcontrolsource.c:
Microoptimizations.
* libs/gst/controller/gsthelper.c:
Fix return code and comment.

15 years agotools/gst-launch.1.in: Fix description of how to specify a type in caps. Fixes #553873.
Stefan Kost [Tue, 9 Dec 2008 09:00:57 +0000 (09:00 +0000)]
tools/gst-launch.1.in: Fix description of how to specify a type in caps. Fixes #553873.

Original commit message from CVS:
* tools/gst-launch.1.in:
Fix description of how to specify a type in caps. Fixes #553873.
Also ranges and list contain values and not property-assignments.

15 years agoplugins/elements/gsttee.c: Check for changed pads-list before checking the last returned
Wim Taymans [Mon, 8 Dec 2008 22:28:05 +0000 (22:28 +0000)]
plugins/elements/gsttee.c: Check for changed pads-list before checking the last returned

Original commit message from CVS:
* plugins/elements/gsttee.c: (gst_tee_handle_buffer):
Check for changed pads-list before checking the last returned
GstFlowReturn because the pad could have been removed and we
need to ignore the value in that case.

15 years agolibs/gst/base/gstbasetransform.*: Add vmethod that is called before we start the...
Wim Taymans [Mon, 8 Dec 2008 18:35:44 +0000 (18:35 +0000)]
libs/gst/base/gstbasetransform.*: Add vmethod that is called before we start the transform and which can be used to c...

Original commit message from CVS:
* libs/gst/base/gstbasetransform.c:
(gst_base_transform_prepare_output_buffer),
(gst_base_transform_getrange), (gst_base_transform_chain):
* libs/gst/base/gstbasetransform.h:
Add vmethod that is called before we start the transform and which can
be used to configure the transform, such as dynamic properties.

15 years agogst/gst.c: Search for plugins on win32 based on the location of the gstreamer DLL...
David Schleef [Fri, 5 Dec 2008 20:32:03 +0000 (20:32 +0000)]
gst/gst.c: Search for plugins on win32 based on the location of the gstreamer DLL.  Fixes #548786

Original commit message from CVS:
* gst/gst.c:
Search for plugins on win32 based on the location of the
gstreamer DLL.  Fixes #548786

15 years agoconfigure.ac: Apparently AC_CONFIG_MACRO_DIR breaks when using more than one macro...
Sebastian Dröge [Thu, 4 Dec 2008 20:10:42 +0000 (20:10 +0000)]
configure.ac: Apparently AC_CONFIG_MACRO_DIR breaks when using more than one macro directory, reverting last change.

Original commit message from CVS:
* configure.ac:
Apparently AC_CONFIG_MACRO_DIR breaks when using more
than one macro directory, reverting last change.

15 years agoconfigure.ac: Set AC_CONFIG_MACRO_DIR to common/m4 to point autoconf to our M4 macros.
Sebastian Dröge [Thu, 4 Dec 2008 19:45:05 +0000 (19:45 +0000)]
configure.ac: Set AC_CONFIG_MACRO_DIR to common/m4 to point autoconf to our M4 macros.

Original commit message from CVS:
* configure.ac:
Set AC_CONFIG_MACRO_DIR to common/m4 to point autoconf to
our M4 macros.

15 years agoRequire gettext 0.17 because older versions don't mix with libtool 2.2. At build...
Sebastian Dröge [Sat, 29 Nov 2008 13:29:14 +0000 (13:29 +0000)]
Require gettext 0.17 because older versions don't mix with libtool 2.2. At build time an older gettext version will s...

Original commit message from CVS:
Patch by: Cygwin Ports maintainer
<yselkowitz at users dot sourceforge dot net>
* autogen.sh:
* configure.ac:
Require gettext 0.17 because older versions don't mix with libtool
2.2. At build time an older gettext version will still work.
Fixes bug #556091.

15 years agogst/gstpoll.c: Adds support for FD_CONNECT event (win32). See #562258.
이문형 [Thu, 27 Nov 2008 11:12:30 +0000 (11:12 +0000)]
gst/gstpoll.c: Adds support for FD_CONNECT event (win32). See #562258.

Original commit message from CVS:
Patch by: 이문형 <iwings at gmail dot com>
* gst/gstpoll.c: (gst_poll_fd_ctl_write), (gst_poll_fd_has_error):
Adds support for FD_CONNECT event (win32). See #562258.

15 years agolibs/gst/base/gstbasesink.c: Turn comment into gtk-doc comment.
Stefan Kost [Mon, 24 Nov 2008 20:02:55 +0000 (20:02 +0000)]
libs/gst/base/gstbasesink.c: Turn comment into gtk-doc comment.

Original commit message from CVS:
* libs/gst/base/gstbasesink.c:
Turn comment into gtk-doc comment.

15 years agolibs/gst/base/gstbasetransform.c: Revert quick accepcaps attempt, it's not fully...
Wim Taymans [Mon, 24 Nov 2008 15:27:55 +0000 (15:27 +0000)]
libs/gst/base/gstbasetransform.c: Revert quick accepcaps attempt, it's not fully equivalent to the old behaviour and ...

Original commit message from CVS:
* libs/gst/base/gstbasetransform.c:
(gst_base_transform_acceptcaps):
Revert quick accepcaps attempt, it's not fully equivalent to the old
behaviour and thus causes regressions.

15 years agoplugins/elements/gstfilesrc.c: Fix memory leak.
Edward Hervey [Mon, 24 Nov 2008 11:56:44 +0000 (11:56 +0000)]
plugins/elements/gstfilesrc.c: Fix memory leak.

Original commit message from CVS:
* plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
Fix memory leak.

15 years agogst/gstregistry.c: Reduce the number of stat() calls for every file from three times...
Simon Holm Thøgersen [Mon, 24 Nov 2008 09:59:07 +0000 (09:59 +0000)]
gst/gstregistry.c: Reduce the number of stat() calls for every file from three times to one time. Fixes bug #560360.

Original commit message from CVS:
Patch by: Simon Holm Thøgersen <odie at cs dot aau dot dk>
* gst/gstregistry.c: (gst_registry_scan_path_level):
Reduce the number of stat() calls for every file from three times
to one time. Fixes bug #560360.

16 years agolibs/gst/base/gstbasetransform.c: Rename a variable to make the code clearer.
Wim Taymans [Sat, 22 Nov 2008 15:09:20 +0000 (15:09 +0000)]
libs/gst/base/gstbasetransform.c: Rename a variable to make the code clearer.

Original commit message from CVS:
* libs/gst/base/gstbasetransform.c:
(gst_base_transform_acceptcaps):
Rename a variable to make the code clearer.

16 years agoplugins/elements/gstidentity.c: Don't warning on offset==-1. Taken from _check_imperf...
Stefan Kost [Fri, 21 Nov 2008 20:57:16 +0000 (20:57 +0000)]
plugins/elements/gstidentity.c: Don't warning on offset==-1. Taken from _check_imperfect_offset().

Original commit message from CVS:
* plugins/elements/gstidentity.c:
Don't warning on offset==-1. Taken from _check_imperfect_offset().

16 years agoplugins/elements/gstfilesrc.c: Check for localhost in URI was backwards, fix it....
Michael Smith [Fri, 21 Nov 2008 18:26:14 +0000 (18:26 +0000)]
plugins/elements/gstfilesrc.c: Check for localhost in URI was backwards, fix it. Fixes unit test.

Original commit message from CVS:
* plugins/elements/gstfilesrc.c:
Check for localhost in URI was backwards, fix it. Fixes unit test.

16 years agolibs/gst/base/gstbasetransform.c: Add beginnings of a more optimized acceptcaps funct...
Wim Taymans [Fri, 21 Nov 2008 17:14:48 +0000 (17:14 +0000)]
libs/gst/base/gstbasetransform.c: Add beginnings of a more optimized acceptcaps function than the default core one.

Original commit message from CVS:
* libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
(gst_base_transform_getcaps), (gst_base_transform_find_transform),
(gst_base_transform_acceptcaps), (gst_base_transform_getrange):
Add beginnings of a more optimized acceptcaps function than the default
core one.

16 years agogst/gstpad.c: Avoid getting the acceptcaps function too early.
Wim Taymans [Fri, 21 Nov 2008 16:48:48 +0000 (16:48 +0000)]
gst/gstpad.c: Avoid getting the acceptcaps function too early.

Original commit message from CVS:
* gst/gstpad.c: (gst_pad_accept_caps):
Avoid getting the acceptcaps function too early.

16 years agotools/gst-launch.c: Make gst-launch handle LATENCY messages and make it recalculate...
Wim Taymans [Fri, 21 Nov 2008 08:09:00 +0000 (08:09 +0000)]
tools/gst-launch.c: Make gst-launch handle LATENCY messages and make it recalculate the latency.

Original commit message from CVS:
* tools/gst-launch.c: (event_loop):
Make gst-launch handle LATENCY messages and make it recalculate the
latency.

16 years agoplugins/elements/gstfilesrc.c: Use g_filename_from_uri() for URI parsing in filesrc...
Michael Smith [Thu, 20 Nov 2008 21:05:14 +0000 (21:05 +0000)]
plugins/elements/gstfilesrc.c: Use g_filename_from_uri() for URI parsing in filesrc rather than rolling out own sligh...

Original commit message from CVS:
* plugins/elements/gstfilesrc.c:
Use g_filename_from_uri() for URI parsing in filesrc rather than rolling
out own slightly incorrect version. Fixes use of some paths on
win32.

16 years agogst/gstregistrybinary.c: In win32 codepath, if we fail to write the registry, create...
Michael Smith [Thu, 20 Nov 2008 20:44:56 +0000 (20:44 +0000)]
gst/gstregistrybinary.c: In win32 codepath, if we fail to write the registry, create the directory for it and try aga...

Original commit message from CVS:
* gst/gstregistrybinary.c:
In win32 codepath, if we fail to write the registry, create the
directory for it and try again, matching the behaviour in non-win32
codepaths.

16 years agolibs/gst/base/gstbasesink.c: Changing the render delay changes the latency and so...
Wim Taymans [Thu, 20 Nov 2008 14:23:05 +0000 (14:23 +0000)]
libs/gst/base/gstbasesink.c: Changing the render delay changes the latency and so we must post a latency message.

Original commit message from CVS:
* libs/gst/base/gstbasesink.c: (gst_base_sink_set_render_delay):
Changing the render delay changes the latency and so we must post a
latency message.

16 years agogst/gstquery.*: Add GstQueryType for custom queries instead of having to use the...
Wim Taymans [Thu, 20 Nov 2008 10:35:50 +0000 (10:35 +0000)]
gst/gstquery.*: Add GstQueryType for custom queries instead of having to use the not-so-very-convenient registration ...

Original commit message from CVS:
* gst/gstquery.c:
* gst/gstquery.h:
Add GstQueryType for custom queries instead of having to use the
not-so-very-convenient registration infrastructure to register new
types.

16 years agogst/gstobject.c: Unref the GEnumClass after usage again. Fixes bug #561501.
Andrew Feren [Wed, 19 Nov 2008 12:20:03 +0000 (12:20 +0000)]
gst/gstobject.c: Unref the GEnumClass after usage again. Fixes bug #561501.

Original commit message from CVS:
Patch by: Andrew Feren <acferen at yahoo dot com>
* gst/gstobject.c: (gst_object_default_deep_notify):
Unref the GEnumClass after usage again. Fixes bug #561501.

16 years agogst/gstbin.*: Add do-latency signal with the old default fallback implementation...
Wim Taymans [Wed, 19 Nov 2008 12:06:41 +0000 (12:06 +0000)]
gst/gstbin.*: Add do-latency signal with the old default fallback implementation. This allows for custom latency calc...

Original commit message from CVS:
* gst/gstbin.c: (_gst_boolean_accumulator), (gst_bin_class_init),
(gst_bin_recalculate_latency), (gst_bin_do_latency_func),
(gst_bin_change_state_func):
* gst/gstbin.h:
Add do-latency signal with the old default fallback implementation. This
allows for custom latency calculations for when the default is not
sufficient.
API: GstBin::do-latency signal.

16 years agowin32/common/libgstreamer.def: Add new symbols to .def file.
Wim Taymans [Tue, 18 Nov 2008 13:36:29 +0000 (13:36 +0000)]
win32/common/libgstreamer.def: Add new symbols to .def file.

Original commit message from CVS:
* win32/common/libgstreamer.def:
Add new symbols to .def file.

16 years agoAdd method to recalculate and redistribute the latency on a bin.
Wim Taymans [Tue, 18 Nov 2008 09:58:33 +0000 (09:58 +0000)]
Add method to recalculate and redistribute the latency on a bin.

Original commit message from CVS:
* docs/gst/gstreamer-sections.txt:
* gst/gstbin.c: (gst_bin_recalculate_latency),
(gst_bin_change_state_func):
* gst/gstbin.h:
Add method to recalculate and redistribute the latency on a bin.
API: gst_bin_recalculate_latency().

16 years agogst/gstbuffer.h: Document the free_func.
Wim Taymans [Tue, 18 Nov 2008 09:52:41 +0000 (09:52 +0000)]
gst/gstbuffer.h: Document the free_func.

Original commit message from CVS:
* gst/gstbuffer.h:
Document the free_func.

16 years agolibs/gst/controller/: Use gst_guint64_to_gdouble instead of gst_util_guint64_to_gdoub...
Sebastian Dröge [Mon, 17 Nov 2008 21:43:06 +0000 (21:43 +0000)]
libs/gst/controller/: Use gst_guint64_to_gdouble instead of gst_util_guint64_to_gdouble as it is mapped to a cast on ...

Original commit message from CVS:
* libs/gst/controller/gstinterpolation.c:
* libs/gst/controller/gstlfocontrolsource.c:
Use gst_guint64_to_gdouble instead of gst_util_guint64_to_gdouble
as it is mapped to a cast on non-win32 platforms.

16 years agolibs/gst/controller/: Keep last-value and only call set_property if value has changed...
Stefan Kost [Mon, 17 Nov 2008 21:41:35 +0000 (21:41 +0000)]
libs/gst/controller/: Keep last-value and only call set_property if value has changed. This supresses all the g_objec...

Original commit message from CVS:
* libs/gst/controller/gstcontroller.c:
* libs/gst/controller/gstcontrollerprivate.h:
Keep last-value and only call set_property if value has changed. This
supresses all the g_object_notifies we would trigger otherwise. It
also allows the user to chage the value while there is no controller
change.

16 years agogst/gstvalue.c: Don't crash if either of the string GValues is empty.
Stefan Kost [Mon, 17 Nov 2008 21:25:39 +0000 (21:25 +0000)]
gst/gstvalue.c: Don't crash if either of the string GValues is empty.

Original commit message from CVS:
* gst/gstvalue.c:
Don't crash if either of the string GValues is empty.

16 years agotools/gst-inspect.c (print_all_uri_handlers): New function, prints a summary of what...
Andy Wingo [Mon, 17 Nov 2008 15:48:14 +0000 (15:48 +0000)]
tools/gst-inspect.c (print_all_uri_handlers): New function, prints a summary of what URI schemes are supported by wha...

Original commit message from CVS:
2008-11-17  Andy Wingo  <wingo@pobox.com>

* tools/gst-inspect.c (print_all_uri_handlers): New function,
prints a summary of what URI schemes are supported by what
elements.
(main): Plumb in support for --uri-handlers or -u, and fix the
argc check for -a and -u.

16 years agogst/gstutils.h: Add G_GNUC_PURE to gst_util_uint64_scale* and the double<->uint64...
Sebastian Dröge [Mon, 17 Nov 2008 04:49:06 +0000 (04:49 +0000)]
gst/gstutils.h: Add G_GNUC_PURE to gst_util_uint64_scale* and the double<->uint64 conversion functions.

Original commit message from CVS:
* gst/gstutils.h:
Add G_GNUC_PURE to gst_util_uint64_scale* and the double<->uint64
conversion functions.

16 years agogst/gstbuffer.c: Avoid costly typechecking for trivially correct pointers.
Wim Taymans [Thu, 13 Nov 2008 18:09:45 +0000 (18:09 +0000)]
gst/gstbuffer.c: Avoid costly typechecking for trivially correct pointers.

Original commit message from CVS:
* gst/gstbuffer.c: (gst_buffer_finalize):
Avoid costly typechecking for trivially correct pointers.
* gst/gstpoll.c: (gst_poll_wait):
Add some G_LIKELY here and there.
* libs/gst/base/gstadapter.c: (gst_adapter_push):
Add some debug info.

16 years agodocs/random/wtay/poll-timeout: Small tweaks.
Wim Taymans [Thu, 13 Nov 2008 18:05:40 +0000 (18:05 +0000)]
docs/random/wtay/poll-timeout: Small tweaks.

Original commit message from CVS:
* docs/random/wtay/poll-timeout:
Small tweaks.

16 years agotests/old/testsuite/: Remove references to deprecated API g_mem_chunk*.
Wim Taymans [Thu, 13 Nov 2008 18:03:23 +0000 (18:03 +0000)]
tests/old/testsuite/: Remove references to deprecated API g_mem_chunk*.

Original commit message from CVS:
* tests/old/testsuite/caps/intersection.c: (main):
* tests/old/testsuite/plugin/loading.c: (main):
Remove references to deprecated API g_mem_chunk*.
Fixes #560442.

16 years agotools/gst-inspect.c: Add --plugin option. Fixes #560301.
Wim Taymans [Wed, 12 Nov 2008 16:55:00 +0000 (16:55 +0000)]
tools/gst-inspect.c: Add --plugin option. Fixes #560301.

Original commit message from CVS:
* tools/gst-inspect.c: (main):
Add --plugin option. Fixes #560301.

16 years agodocs/random/wtay/poll-timeout: Quick braindump for a possible (not totally verified...
Wim Taymans [Wed, 12 Nov 2008 12:45:46 +0000 (12:45 +0000)]
docs/random/wtay/poll-timeout: Quick braindump for a possible (not totally verified) atomic case.

Original commit message from CVS:
* docs/random/wtay/poll-timeout:
Quick braindump for a possible (not totally verified) atomic case.

16 years agogst/gstregistrybinary.*: Don't write and check a CRC for the binary registry file...
Sebastian Dröge [Wed, 12 Nov 2008 10:39:25 +0000 (10:39 +0000)]
gst/gstregistrybinary.*: Don't write and check a CRC for the binary registry file. It's guaranteed that the registry ...

Original commit message from CVS:
* gst/gstregistrybinary.c: (gst_registry_binary_write_chunk),
(gst_registry_binary_initialize_magic),
(gst_registry_binary_write_cache),
(gst_registry_binary_check_magic):
* gst/gstregistrybinary.h:
Don't write and check a CRC for the binary registry file. It's
guaranteed that the registry is completely written (it's first written
to a temporary file and then moved) and if the registry was corrupted
by some hardware failure we would have bigger problems.
Bump binary registry version to 0.10.21.1 for this as it's an
incompatible change and to ensure that the registry gets rebuild
after the update.
This saves some milliseconds for reading/writing the registry.
Fixes bug #560399.

16 years agodocs/random/wtay/poll-timeout: Some pseudo code for how we could implement clock...
Wim Taymans [Tue, 11 Nov 2008 14:50:24 +0000 (14:50 +0000)]
docs/random/wtay/poll-timeout: Some pseudo code for how we could implement clock timeouts with GstPoll.

Original commit message from CVS:
* docs/random/wtay/poll-timeout:
Some pseudo code for how we could implement clock timeouts with GstPoll.

16 years agoplugins/elements/gstfilesink.c: Update Author string to match others.
Thomas Vander Stichele [Mon, 10 Nov 2008 13:56:51 +0000 (13:56 +0000)]
plugins/elements/gstfilesink.c: Update Author string to match others.

Original commit message from CVS:
* plugins/elements/gstfilesink.c:
Update Author string to match others.

16 years agogst/gstvalue.c: Reorganize some more, be more conservative with the GST_TYPE_ARRAY...
Wim Taymans [Thu, 6 Nov 2008 15:37:16 +0000 (15:37 +0000)]
gst/gstvalue.c: Reorganize some more, be more conservative with the GST_TYPE_ARRAY not being fixed and inline the tri...

Original commit message from CVS:
* gst/gstvalue.c: (gst_type_is_fixed), (gst_value_is_fixed):
Reorganize some more, be more conservative with the GST_TYPE_ARRAY not
being fixed and inline the trivial check.

16 years agogst/gstcaps.c: Callgrind micro optimisations.
Wim Taymans [Thu, 6 Nov 2008 15:09:34 +0000 (15:09 +0000)]
gst/gstcaps.c: Callgrind micro optimisations.

Original commit message from CVS:
* gst/gstcaps.c: (gst_caps_copy), (_gst_caps_free),
(gst_caps_merge_structure), (gst_caps_get_structure),
(gst_caps_copy_nth), (gst_caps_set_simple),
(gst_caps_set_simple_valist), (gst_caps_is_fixed),
(gst_caps_is_equal_fixed), (gst_caps_intersect),
(gst_caps_subtract), (gst_caps_normalize), (gst_caps_do_simplify),
(gst_caps_to_string):
Callgrind micro optimisations.
Avoid array bounds checks and force inline of trivial function.
* gst/gstobject.c: (gst_object_set_name_default):
-1 is equivalent to letting glib to the strlen but then there is more
room for optimisations and it's not our fault.
* gst/gststructure.c: (gst_structure_id_empty_new_with_size):
no need to clear the array, we're cool.
* gst/gstvalue.c: (gst_type_is_fixed), (gst_value_is_fixed):
The most common _is_fixed() check is done on fundamental glib base
types so we check this first instead of doing a huge amount of
useless GST_TYPE_ARRAY calls.

16 years agogst/gstevent.h: Add a SKIP seek flag for use with advanced trickmodes.
Wim Taymans [Thu, 6 Nov 2008 12:03:17 +0000 (12:03 +0000)]
gst/gstevent.h: Add a SKIP seek flag for use with advanced trickmodes.

Original commit message from CVS:
* gst/gstevent.h:
Add a SKIP seek flag for use with advanced trickmodes.
API: GstSeekFlags::GST_SEEK_FLAG_SKIP

16 years agogst/gststructure.c: No need to memset, we can clear the value ourselves.
Wim Taymans [Wed, 5 Nov 2008 16:57:35 +0000 (16:57 +0000)]
gst/gststructure.c: No need to memset, we can clear the value ourselves.

Original commit message from CVS:
* gst/gststructure.c: (gst_structure_id_empty_new_with_size):
No need to memset, we can clear the value ourselves.
* gst/gstvalue.c: (gst_type_is_fixed),
(gst_value_get_compare_func):
Some optimisations from a few callgrind sessions:
When checking if a type is fixed, check for trivial fundamental types
first before checking types for which we need to get the type followed
by the heavy duty type checks, this reduces the amount of
g_type_fundamental() calls a lot.
When getting the compare function, first check for our registered types.
If that fails, do the heavy duty g_type_is_a() checks, reduces the
amount of g_type_is_a() considerably.

16 years agodocs/design/part-TODO.txt: Mumble something about removing GstXML.
Wim Taymans [Wed, 5 Nov 2008 11:17:24 +0000 (11:17 +0000)]
docs/design/part-TODO.txt: Mumble something about removing GstXML.

Original commit message from CVS:
* docs/design/part-TODO.txt:
Mumble something about removing GstXML.

16 years agogst/gstbin.c: Get the seqnum before we dispose the message.
Wim Taymans [Tue, 4 Nov 2008 18:10:04 +0000 (18:10 +0000)]
gst/gstbin.c: Get the seqnum before we dispose the message.

Original commit message from CVS:
* gst/gstbin.c: (gst_bin_handle_message_func):
Get the seqnum before we dispose the message.

16 years agodocs/design/part-TODO.txt: Refer to the framestepping document.
Wim Taymans [Tue, 4 Nov 2008 16:10:04 +0000 (16:10 +0000)]
docs/design/part-TODO.txt: Refer to the framestepping document.

Original commit message from CVS:
* docs/design/part-TODO.txt:
Refer to the framestepping document.

16 years agoCopy seqnums from events to messages so that they can all be related back to eachother.
Wim Taymans [Tue, 4 Nov 2008 15:56:55 +0000 (15:56 +0000)]
Copy seqnums from events to messages so that they can all be related back to eachother.

Original commit message from CVS:
* gst/gstbin.c: (bin_handle_async_start),
(gst_bin_handle_message_func), (gst_bin_query):
* libs/gst/base/gstbasesink.c: (gst_base_sink_render_object),
(gst_base_sink_event), (gst_base_sink_change_state):
* libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
(gst_base_src_loop), (gst_base_src_change_state):
Copy seqnums from events to messages so that they can all be related
back to eachother.

16 years agotools/gst-launch.c: Print the message seqnums.
Wim Taymans [Tue, 4 Nov 2008 15:52:09 +0000 (15:52 +0000)]
tools/gst-launch.c: Print the message seqnums.

Original commit message from CVS:
* tools/gst-launch.c: (event_loop):
Print the message seqnums.

16 years agogst/gstutils.c (gst_util_seqnum_next): Refactor for clarity.
Andy Wingo [Tue, 4 Nov 2008 13:56:37 +0000 (13:56 +0000)]
gst/gstutils.c (gst_util_seqnum_next): Refactor for clarity.

Original commit message from CVS:
2008-11-04  Andy Wingo  <wingo@pobox.com>

* gst/gstutils.c (gst_util_seqnum_next): Refactor for clarity.

Also add API: to previous changelog entry.

16 years agoAdd sequence numbers to events and messages. See #559250.
Andy Wingo [Tue, 4 Nov 2008 12:22:53 +0000 (12:22 +0000)]
Add sequence numbers to events and messages. See #559250.

Original commit message from CVS:
2008-11-04  Andy Wingo  <wingo@pobox.com>

Add sequence numbers to events and messages. See #559250.

* gst/gstutils.c (gst_util_seqnum_next, gst_util_seqnum_compare):
New functions.

* gst/gstevent.h:
* gst/gstevent.c (_gst_event_copy, gst_event_new): Initialize new
events with a new sequence number, and copy it when copying.
(gst_event_get_seqnum, gst_event_set_seqnum): Accessors for an
event's sequence number.

* gst/gstmessage.h:
* gst/gstmessage.c (_gst_message_copy, gst_message_new_custom):
(gst_event_get_seqnum, gst_event_set_seqnum): As with events, so
with messages.

* docs/gst/gstreamer-sections.txt: Add new functions to the docs.

16 years agodocs/manual/: Some Application Development Manual fixes thanks to
Wim Taymans [Tue, 4 Nov 2008 11:55:08 +0000 (11:55 +0000)]
docs/manual/: Some Application Development Manual fixes thanks to

Original commit message from CVS:
* docs/manual/advanced-position.xml:
* docs/manual/basics-bins.xml:
* docs/manual/basics-bus.xml:
* docs/manual/basics-pads.xml:
* docs/manual/intro-gstreamer.xml:
* docs/manual/intro-preface.xml:
Some Application Development Manual fixes thanks to
Andrew Feren. Fixes #558459.

16 years agogst/gstregistrybinary.c: Don't bother with the GTimer if we don't output the results.
Stefan Kost [Mon, 3 Nov 2008 12:29:10 +0000 (12:29 +0000)]
gst/gstregistrybinary.c: Don't bother with the GTimer if we don't output the results.

Original commit message from CVS:
* gst/gstregistrybinary.c:
Don't bother with the GTimer if we don't output the results.

16 years agolibs/gst/net/Makefile.am: Add WIN32_LIBS to libgstnet LIBADD. Fixes #557300.
David Schleef [Mon, 3 Nov 2008 10:59:49 +0000 (10:59 +0000)]
libs/gst/net/Makefile.am: Add WIN32_LIBS to libgstnet LIBADD. Fixes #557300.

Original commit message from CVS:
Patch by: David Schleef  <ds@schleef.org>
* libs/gst/net/Makefile.am:
Add WIN32_LIBS to libgstnet LIBADD. Fixes #557300.

16 years agogst/gstregistrybinary.c: Oh my, studip, stupid me. Remove double stat() call.
Stefan Kost [Fri, 31 Oct 2008 15:54:44 +0000 (15:54 +0000)]
gst/gstregistrybinary.c: Oh my, studip, stupid me. Remove double stat() call.

Original commit message from CVS:
* gst/gstregistrybinary.c:
Oh my, studip, stupid me. Remove double stat() call.

16 years agogst/gstpreset.c: Use g_unlink instead of unlink.
Stefan Kost [Fri, 31 Oct 2008 14:24:49 +0000 (14:24 +0000)]
gst/gstpreset.c: Use g_unlink instead of unlink.

Original commit message from CVS:
* gst/gstpreset.c:
Use g_unlink instead of unlink.
* gst/gststructure.c:
Use glib type.
* gst/gstutils.c:
Add a FIXME:.
* gst/gsttaglist.c:
* gst/gsttypefind.c:
* gst/gstvalue.c:
Formatting & whitespaces.

16 years agoplugins/elements/gstidentity.c: Doc typo. Use return value of parent_class->event.
Stefan Kost [Fri, 31 Oct 2008 08:53:27 +0000 (08:53 +0000)]
plugins/elements/gstidentity.c: Doc typo. Use return value of parent_class->event.

Original commit message from CVS:
* plugins/elements/gstidentity.c:
Doc typo. Use return value of parent_class->event.
* plugins/elements/gsttypefindelement.c:
Chain up at the end for consistency.