platform/upstream/gstreamer.git
16 years agoconfigure.ac: Don't define GST_DISABLE_DEPRECATED for releases. Fixes #498181.
Sebastian Dröge [Sun, 9 Dec 2007 04:28:03 +0000 (04:28 +0000)]
configure.ac: Don't define GST_DISABLE_DEPRECATED for releases. Fixes #498181.

Original commit message from CVS:
* configure.ac:
Don't define GST_DISABLE_DEPRECATED for releases. Fixes #498181.

16 years agogst/gststructure.c: Don't crash in _from_string() if the structure name is not valid...
Tim-Philipp Müller [Sat, 8 Dec 2007 12:54:53 +0000 (12:54 +0000)]
gst/gststructure.c: Don't crash in _from_string() if the structure name is not valid (fixes #501560).  Allow structur...

Original commit message from CVS:
* gst/gststructure.c: (gst_structure_validate_name),
(gst_structure_new_valist), (gst_structure_parse_value),
(gst_structure_from_string):
Don't crash in _from_string() if the structure name is not valid
(fixes #501560).  Allow structure names to start with a number
again (this apparently broke the ubuntu codec installer).
* tests/check/gst/gststructure.c: (GST_START_TEST), (GST_START_TEST),
(GST_START_TEST):
Add unit test for the crash; update unit tests for new behaviour.

16 years agogst/gstutils.c: Clarify gst_element_get_compatible_pad() documentation.
Wim Taymans [Mon, 3 Dec 2007 11:04:09 +0000 (11:04 +0000)]
gst/gstutils.c: Clarify gst_element_get_compatible_pad() documentation.

Original commit message from CVS:
* gst/gstutils.c:
Clarify gst_element_get_compatible_pad() documentation.
Fixes #500919.

16 years agotests/check/Makefile.am: Don't forget to dist {gst,libs}/struct_hppa.h.
Sebastian Dröge [Sun, 2 Dec 2007 20:33:49 +0000 (20:33 +0000)]
tests/check/Makefile.am: Don't forget to dist {gst,libs}/struct_hppa.h.

Original commit message from CVS:
* tests/check/Makefile.am:
Don't forget to dist {gst,libs}/struct_hppa.h.

16 years agolibs/gst/base/gstbasesink.c: Use new API to get elapsed time.
Stefan Kost [Wed, 28 Nov 2007 13:02:30 +0000 (13:02 +0000)]
libs/gst/base/gstbasesink.c: Use new API to get elapsed time.

Original commit message from CVS:
* libs/gst/base/gstbasesink.c:
Use new API to get elapsed time.

16 years agogst/: Fix wrong order of args in GST_CLOCK_DIFF() usage.
Stefan Kost [Wed, 28 Nov 2007 12:52:42 +0000 (12:52 +0000)]
gst/: Fix wrong order of args in GST_CLOCK_DIFF() usage.

Original commit message from CVS:
* gst/gstdebugutils.c:
* gst/gstinfo.c:
Fix wrong order of args in GST_CLOCK_DIFF() usage.
* tools/gst-launch.c:
Use new API to get elapsed time.

16 years agoRename new API + ChangeLog surgery to remove old name from last entry..
Stefan Kost [Wed, 28 Nov 2007 12:35:14 +0000 (12:35 +0000)]
Rename new API + ChangeLog surgery to remove old name from last entry..

Original commit message from CVS:
* docs/gst/gstreamer-sections.txt:
* gst/gstclock.h:
* gst/gstdebugutils.c:
* gst/gstinfo.c:
Rename new API + ChangeLog surgery to remove old name from last entry..
API: GST_GET_TIMESTAMP

16 years agoNow hide the different clock stuff behind a macro.
Stefan Kost [Wed, 28 Nov 2007 12:11:59 +0000 (12:11 +0000)]
Now hide the different clock stuff behind a macro.

Original commit message from CVS:
* docs/gst/gstreamer-sections.txt:
* gst/gstclock.h:
* gst/gstdebugutils.c:
* gst/gstinfo.c:
Now hide the different clock stuff behind a macro.
API: GST_GET_CURRENT_TIME

16 years agoApply the posix-timer check from #361155. Conditionally use the posix timer for loggi...
Stefan Kost [Wed, 28 Nov 2007 11:39:35 +0000 (11:39 +0000)]
Apply the posix-timer check from #361155. Conditionally use the posix timer for logging. This gives better timestamp ...

Original commit message from CVS:
* configure.ac:
* gst/gstdebugutils.c:
* gst/gstinfo.c:
Apply the posix-timer check from #361155. Conditionally use the posix
timer for logging. This gives better timestamp precission, less
overhead and no ntp jitter.

16 years agogst/gstminiobject.c: Some cleanup and checking against invalid function parameters.
Sebastian Dröge [Wed, 28 Nov 2007 11:11:58 +0000 (11:11 +0000)]
gst/gstminiobject.c: Some cleanup and checking against invalid function parameters.

Original commit message from CVS:
* gst/gstminiobject.c: (gst_mini_object_get_type),
(gst_mini_object_class_init), (gst_mini_object_copy_default),
(gst_mini_object_finalize), (gst_mini_object_copy),
(gst_mini_object_is_writable), (gst_mini_object_make_writable),
(gst_mini_object_replace), (param_mini_object_validate),
(gst_param_spec_mini_object_get_type):
Some cleanup and checking against invalid function parameters.

16 years agoStart merging in the easy bits of #361155, the monotonic clock patch.
Wim Taymans [Wed, 28 Nov 2007 10:58:39 +0000 (10:58 +0000)]
Start merging in the easy bits of #361155, the monotonic clock patch.

Original commit message from CVS:
* docs/gst/gstreamer-sections.txt:
* gst/gstclock.h:
* tests/check/gst/gstsystemclock.c: (GST_START_TEST),
(gst_systemclock_suite):
Start merging in the easy bits of #361155, the monotonic clock patch.
This one adds a few handy macros with docs and a testsuite.

16 years agoplugins/elements/gstfilesink.c: Be a bit smarter when seeking, like, don't try to...
Wim Taymans [Tue, 27 Nov 2007 18:45:38 +0000 (18:45 +0000)]
plugins/elements/gstfilesink.c: Be a bit smarter when seeking, like, don't try to do a seek when it's not needed. Thi...

Original commit message from CVS:
* plugins/elements/gstfilesink.c: (gst_file_sink_event):
Be a bit smarter when seeking, like, don't try to do a seek when it's
not needed. This avoids errors when the file is not seekable.
Fixes #499771.

16 years agoDue to popular request remove preset interface again. :-(.
Stefan Kost [Mon, 26 Nov 2007 13:16:00 +0000 (13:16 +0000)]
Due to popular request remove preset interface again. :-(.

Original commit message from CVS:
* docs/gst/gstreamer-docs.sgml:
* docs/gst/gstreamer-sections.txt:
* docs/gst/gstreamer.types.in:
* gst/Makefile.am:
* gst/gst.h:
* gst/gstpreset.c:
* gst/gstpreset.h:
* plugins/elements/gstqueue.c:
Due to popular request remove preset interface again. :-(.

16 years agotools/gst-inspect.c: Print 'default value' for enums and flags too.
Stefan Kost [Thu, 22 Nov 2007 21:32:09 +0000 (21:32 +0000)]
tools/gst-inspect.c: Print 'default value' for enums and flags too.

Original commit message from CVS:
* tools/gst-inspect.c:
Print 'default value' for enums and flags too.

16 years agodocs/random/ensonic/profiling.txt: More ideas.
Stefan Kost [Thu, 22 Nov 2007 15:59:01 +0000 (15:59 +0000)]
docs/random/ensonic/profiling.txt: More ideas.

Original commit message from CVS:
* docs/random/ensonic/profiling.txt:
More ideas.
* gst/gstbin.c:
Fix typo and give better log output.
* gst/gstdebugutils.c:
* gst/gstdebugutils.h:
More ideas, make graphs a bit smaller and fix param name in macro.

16 years agogst/gstpreset.c: Try harder to use the return value from fgets().
Stefan Kost [Thu, 22 Nov 2007 13:56:24 +0000 (13:56 +0000)]
gst/gstpreset.c: Try harder to use the return value from fgets().

Original commit message from CVS:
* gst/gstpreset.c:
Try harder to use the return value from fgets().

16 years agogst/gstpreset.c: For theses two fgets we handle the error below.
Stefan Kost [Wed, 21 Nov 2007 16:08:25 +0000 (16:08 +0000)]
gst/gstpreset.c: For theses two fgets we handle the error below.

Original commit message from CVS:
* gst/gstpreset.c:
For theses two fgets we handle the error below.

16 years agolibs/gst/base/gstbasesink.c: Only send upstream events upstream. Fixes #498746.
Wim Taymans [Wed, 21 Nov 2007 13:47:52 +0000 (13:47 +0000)]
libs/gst/base/gstbasesink.c: Only send upstream events upstream. Fixes #498746.

Original commit message from CVS:
* libs/gst/base/gstbasesink.c: (gst_base_sink_send_event):
Only send upstream events upstream. Fixes #498746.

16 years agoplugins/elements/gstidentity.*: Add property to disable handoff signal emission....
Laurent Glayal [Wed, 21 Nov 2007 13:27:50 +0000 (13:27 +0000)]
plugins/elements/gstidentity.*: Add property to disable handoff signal emission. Fixes #498694.

Original commit message from CVS:
Patch by: Laurent Glayal <spglegle at yahoo dot fr>
* plugins/elements/gstidentity.c: (gst_identity_class_init),
(gst_identity_init), (gst_identity_transform_ip),
(gst_identity_set_property), (gst_identity_get_property):
* plugins/elements/gstidentity.h:
Add property to disable handoff signal emission. Fixes #498694.
API: GstIdentity::signal-handoffs

16 years agodocs/faq/gst-uninstalled: Yet another missing library for the uninstalled script...
Julien Moutte [Wed, 21 Nov 2007 09:46:50 +0000 (09:46 +0000)]
docs/faq/gst-uninstalled: Yet another missing library for the uninstalled script (fft)

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

* docs/faq/gst-uninstalled: Yet another missing library for the
uninstalled script (fft)

16 years agodocs/faq/developing.xml: Add a question about how to submit new translations.
Jan Schmidt [Wed, 21 Nov 2007 00:24:04 +0000 (00:24 +0000)]
docs/faq/developing.xml: Add a question about how to submit new translations.

Original commit message from CVS:
* docs/faq/developing.xml:
Add a question about how to submit new translations.
* docs/random/release:
Update the contact email address for the Translation Project
* plugins/elements/gstfdsrc.c:
The parent_class for fdsrc is pushsrc, not GstElement.

16 years agogst/gstpreset.c: Plug a leak and fix saving.
Stefan Kost [Tue, 20 Nov 2007 16:34:38 +0000 (16:34 +0000)]
gst/gstpreset.c: Plug a leak and fix saving.

Original commit message from CVS:
* gst/gstpreset.c:
Plug a leak and fix saving.

16 years agodocs/gst/gstreamer-sections.txt: Add new gst_preset__get_property_names() function...
Sebastian Dröge [Tue, 20 Nov 2007 16:10:21 +0000 (16:10 +0000)]
docs/gst/gstreamer-sections.txt: Add new gst_preset__get_property_names() function to the docs to fix the build.

Original commit message from CVS:
* docs/gst/gstreamer-sections.txt:
Add new gst_preset__get_property_names() function to the docs
to fix the build.

16 years agogst/gstpreset.*: Change _get_preset_names API to return a strv with copies. Add _get_...
Stefan Kost [Tue, 20 Nov 2007 15:46:39 +0000 (15:46 +0000)]
gst/gstpreset.*: Change _get_preset_names API to return a strv with copies. Add _get_property_names to allow implemen...

Original commit message from CVS:
* gst/gstpreset.c:
* gst/gstpreset.h:
Change _get_preset_names API to return a strv with copies. Add
_get_property_names to allow implementations to filter and provide
good default implementation.

16 years agodocs/faq/gst-uninstalled: Add another library to the uninstalled script (sdp).
Julien Moutte [Tue, 20 Nov 2007 11:46:35 +0000 (11:46 +0000)]
docs/faq/gst-uninstalled: Add another library to the uninstalled script (sdp).

Original commit message from CVS:
2007-11-20  Julien MOUTTE  <julien@moutte.net>

* docs/faq/gst-uninstalled: Add another library to the uninstalled
script (sdp).

16 years agogst/gstpreset.c: More cleanups, docs, and TODOs from comments that now slowly come in.
Stefan Kost [Mon, 19 Nov 2007 15:23:44 +0000 (15:23 +0000)]
gst/gstpreset.c: More cleanups, docs, and TODOs from comments that now slowly come in.

Original commit message from CVS:
* gst/gstpreset.c:
More cleanups, docs, and TODOs from comments that now slowly come in.

16 years agodocs/faq/gst-uninstalled: Add new base libraries in the LD search path.
Julien Moutte [Mon, 19 Nov 2007 14:38:49 +0000 (14:38 +0000)]
docs/faq/gst-uninstalled: Add new base libraries in the LD search path.

Original commit message from CVS:
2007-11-19  Julien MOUTTE  <julien@moutte.net>

* docs/faq/gst-uninstalled: Add new base libraries in the LD
search path.

16 years agogst/gstpreset.c: Fix bogus warning and make the property type specific code more...
Stefan Kost [Mon, 19 Nov 2007 11:54:13 +0000 (11:54 +0000)]
gst/gstpreset.c: Fix bogus warning and make the property type specific code more similar.

Original commit message from CVS:
* gst/gstpreset.c:
Fix bogus warning and make the property type specific code more
similar.

16 years agogst/gstpreset.c: Make it build on OS X.
Julien Moutte [Mon, 19 Nov 2007 09:33:05 +0000 (09:33 +0000)]
gst/gstpreset.c: Make it build on OS X.

Original commit message from CVS:
2007-11-19  Julien MOUTTE  <julien@moutte.net>

* gst/gstpreset.c: (gst_preset_default_create_preset): Make
it build on OS X.

16 years agogst/gstbin.c: Change email, cleanups add some more debug and comments.
Wim Taymans [Mon, 19 Nov 2007 08:50:04 +0000 (08:50 +0000)]
gst/gstbin.c: Change email, cleanups add some more debug and comments.

Original commit message from CVS:
* gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
(gst_bin_add_func), (gst_bin_remove_func),
(gst_bin_change_state_func), (gst_bin_continue_func):
Change email, cleanups add some more debug and comments.
Also set bus and clock on new elements when the pipeline was in error.

16 years agogst/: Fix build with --disable-gst-debug. Fixes #497859.
Stefan Kost [Sun, 18 Nov 2007 19:30:10 +0000 (19:30 +0000)]
gst/: Fix build with --disable-gst-debug. Fixes #497859.

Original commit message from CVS:
* gst/gstbin.c:
* gst/gstdebugutils.c:
Fix build with --disable-gst-debug. Fixes #497859.
Spotted by Sameer Naik.

16 years agogst/gstevent.c: Little documentation improvment.
Stefan Kost [Sat, 17 Nov 2007 17:50:21 +0000 (17:50 +0000)]
gst/gstevent.c: Little documentation improvment.

Original commit message from CVS:
* gst/gstevent.c:
Little documentation improvment.
* gst/gstpreset.c:
More TODO cleanups. Remove c++ comments.
* libs/gst/controller/gstcontroller.c:
Add TODO and use quark from static string.
* tests/check/gst/gstmessage.c:
* tests/check/gst/gststructure.c:
Use quark from static string.

16 years agogst/gstpreset.c: Add some comments and TODOs.
Stefan Kost [Sat, 17 Nov 2007 17:24:53 +0000 (17:24 +0000)]
gst/gstpreset.c: Add some comments and TODOs.

Original commit message from CVS:
* gst/gstpreset.c:
Add some comments and TODOs.
* gst/gstpreset.h:
Add padding for future changes.
* plugins/elements/gstqueue.c:
Implement the iface.

16 years agoAdd the preset interface (Fixes #396779). Do some doc cleanups along.
Stefan Kost [Sat, 17 Nov 2007 16:43:12 +0000 (16:43 +0000)]
Add the preset interface (Fixes #396779). Do some doc cleanups along.

Original commit message from CVS:
* docs/gst/gstreamer-docs.sgml:
* docs/gst/gstreamer-sections.txt:
* docs/gst/gstreamer.types.in:
* gst/Makefile.am:
* gst/gst.h:
* gst/gstpreset.c:
* gst/gstpreset.h:
Add the preset interface (Fixes #396779). Do some doc cleanups along.

16 years agoconfigure.ac: Back to CVS
Jan Schmidt [Fri, 16 Nov 2007 00:23:18 +0000 (00:23 +0000)]
configure.ac: Back to CVS

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

16 years agoconfigure.ac: releasing 0.10.15, "October" RELEASE-0_10_15
Jan Schmidt [Fri, 16 Nov 2007 00:07:54 +0000 (00:07 +0000)]
configure.ac: releasing 0.10.15, "October"

Original commit message from CVS:
=== release 0.10.15 ===

2007-11-15  Jan Schmidt <jan.schmidt@sun.com>

* configure.ac:
releasing 0.10.15, "October"

16 years agoUpdate .po files
Jan Schmidt [Thu, 15 Nov 2007 23:31:11 +0000 (23:31 +0000)]
Update .po files

Original commit message from CVS:
Update .po files

16 years agowin32/vs6/libgstreamer.dsp: Convert line endings back to DOS.
Jan Schmidt [Wed, 14 Nov 2007 12:24:09 +0000 (12:24 +0000)]
win32/vs6/libgstreamer.dsp: Convert line endings back to DOS.

Original commit message from CVS:
* win32/vs6/libgstreamer.dsp:
Convert line endings back to DOS.

16 years agodocs/: Update fast tagreading draft and performance profiling ideas.
Stefan Kost [Tue, 13 Nov 2007 11:30:09 +0000 (11:30 +0000)]
docs/: Update fast tagreading draft and performance profiling ideas.

Original commit message from CVS:
* docs/design/draft-tagreading.txt:
* docs/random/ensonic/profiling.txt:
Update fast tagreading draft and performance profiling ideas.

16 years agolibs/gst/base/gstbasesink.c: Don't hold the object lock when unreffing a buffer becau...
Wim Taymans [Fri, 9 Nov 2007 14:05:02 +0000 (14:05 +0000)]
libs/gst/base/gstbasesink.c: Don't hold the object lock when unreffing a buffer because it could cause a deadlock whe...

Original commit message from CVS:
* libs/gst/base/gstbasesink.c: (gst_base_sink_set_last_buffer):
Don't hold the object lock when unreffing a buffer because it could
cause a deadlock when the finalize function wants to grab the object
lock too. Fixes #495133.

16 years agogst/gstsegment.c: Also accumulate time correctly when doing reverse playback. Fixes...
Wim Taymans [Fri, 9 Nov 2007 11:56:41 +0000 (11:56 +0000)]
gst/gstsegment.c: Also accumulate time correctly when doing reverse playback. Fixes #488201,

Original commit message from CVS:
* gst/gstsegment.c: (gst_segment_set_newsegment_full),
(gst_segment_to_stream_time), (gst_segment_to_running_time):
Also accumulate time correctly when doing reverse playback. Fixes
#488201,
When converting to running and stream time, use default values for
start/stop/time/accum when comparing different formats. Fixes #494245.
* libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
Do running/stream time in TIME format.
* tests/check/gst/gstsegment.c: (GST_START_TEST),
(gst_segment_suite):
2 new unit tests for segment accumulation.

16 years agogst/: Move getenv() back into gst_init, so everyone can live happily ever after....
Tim-Philipp Müller [Wed, 7 Nov 2007 15:53:52 +0000 (15:53 +0000)]
gst/: Move getenv() back into gst_init, so everyone can live happily ever after. Make sure the symbol isn't exported ...

Original commit message from CVS:
* gst/gst.c: (init_pre):
* gst/gstdebugutils.c: (priv_gst_dump_dot_dir), (debug_dump_element),
(_gst_debug_bin_to_dot_file):
Move getenv() back into gst_init, so everyone can live happily
ever after. Make sure the symbol isn't exported though.

16 years agowin32/common/gstenumtypes.*: Update enum types.
Sebastien Moutte [Tue, 6 Nov 2007 23:17:09 +0000 (23:17 +0000)]
win32/common/gstenumtypes.*: Update enum types.

Original commit message from CVS:
Patch by: Sebastien Moutte  <sebastien moutte net>
* win32/common/gstenumtypes.c:
* win32/common/gstenumtypes.h:
Update enum types.
* win32/vs6/libgstreamer.dsp:
Update vs6 project files (#494343).

16 years agolibs/gst/base/gstbasesrc.c: Unify flushing code, remove some old unlock code that...
Wim Taymans [Tue, 6 Nov 2007 17:18:14 +0000 (17:18 +0000)]
libs/gst/base/gstbasesrc.c: Unify flushing code, remove some old unlock code that is no longer used.

Original commit message from CVS:
* libs/gst/base/gstbasesrc.c: (gst_base_src_default_query),
(gst_base_src_perform_seek), (gst_base_src_default_event),
(gst_base_src_set_flushing), (gst_base_src_activate_push),
(gst_base_src_activate_pull):
Unify flushing code, remove some old unlock code that is no longer used.
Take the streaming lock when seeking to avoid races. Fixes #492729.
Added some more comments.

16 years agogst/gst.c: Make _gst_disable_segtrap static, it's only used in gstplugin.c and we...
Tim-Philipp Müller [Tue, 6 Nov 2007 15:10:36 +0000 (15:10 +0000)]
gst/gst.c: Make  _gst_disable_segtrap static, it's only used in gstplugin.c and we can use gst_segtrap_is_enabled() t...

Original commit message from CVS:
* gst/gst.c: (_gst_disable_segtrap):
Make  _gst_disable_segtrap static, it's only used in gstplugin.c and
we can use gst_segtrap_is_enabled() there now that we have that API.
Move _gst_debug_dump_dot_dir into gstdebugutils.c, there's no reason
to do the getenv here (and export the variable).
* gst/gstdebugutils.c: (debug_dump_element),
(_gst_debug_bin_to_dot_file), (_gst_debug_bin_to_dot_file_with_ts):
Don't use VLAs which is a C99ism and throws off MSVC (#493983).
* gst/gstinfo.c: (_priv_gst_info_start_time), (_gst_debug_init),
(gst_debug_log_default):
Rename _gst_info_start_time to priv_gst_info_start_time so it
doesn't get exported (was never in any header).
* gst/gstplugin.c: (_gst_plugin_fault_handler_setup),
(gst_plugin_loading_mutex):
Make static mutex gst_plugin_loading_mutex really static (was never
in any header), and use gst_segtrap_is_enabled() instead of
_gst_disable_segtrap.
* gst/gsttrace.c: (_gst_trace_default):
Make local _gst_trace_default static (was never in any header).

16 years agowin32/common/: Add more missing symbols, remove some duplicates, and sort as the...
Ole André Vadla Ravnås [Tue, 6 Nov 2007 14:43:14 +0000 (14:43 +0000)]
win32/common/: Add more missing symbols, remove some duplicates, and sort as the 'sort' command sorts it (partially f...

Original commit message from CVS:
Patch by: Ole André Vadla Ravnås  <ole.andre.ravnas@tandberg.com>
* win32/common/libgstbase.def:
* win32/common/libgstcontroller.def:
* win32/common/libgstdataprotocol.def:
* win32/common/libgstnet.def:
* win32/common/libgstreamer.def:
Add more missing symbols, remove some duplicates, and sort
as the 'sort' command sorts it (partially fixes #493983).

16 years agogst/gstelement.c: Only change the state cookie if a different state was set on the...
Wim Taymans [Tue, 6 Nov 2007 12:28:17 +0000 (12:28 +0000)]
gst/gstelement.c: Only change the state cookie if a different state was set on the element. See #492729.

Original commit message from CVS:
* gst/gstelement.c: (gst_element_set_state_func):
Only change the state cookie if a different state was set on the
element. See #492729.

16 years agogst/gstvalue.c: Remove unused and uninitialised type variables that were still export...
Tim-Philipp Müller [Tue, 6 Nov 2007 11:41:32 +0000 (11:41 +0000)]
gst/gstvalue.c: Remove unused and uninitialised type variables that were still exported for some reason (they were ne...

Original commit message from CVS:
* gst/gstvalue.c:
Remove unused and uninitialised type variables that were still
exported for some reason (they were never in any header files
though).

16 years agolibs/gst/base/gstbasesink.c: Don't try to report a 0 position when we don't know...
Wim Taymans [Tue, 6 Nov 2007 10:33:22 +0000 (10:33 +0000)]
libs/gst/base/gstbasesink.c: Don't try to report a 0 position when we don't know, return -1 and FALSE instead. This m...

Original commit message from CVS:
* libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
(gst_base_sink_do_sync), (gst_base_sink_preroll_object),
(gst_base_sink_event), (gst_base_sink_get_position_last),
(gst_base_sink_get_position_paused), (gst_base_sink_get_position),
(gst_base_sink_change_state):
Don't try to report a 0 position when we don't know, return -1 and FALSE
instead. This mostly happens when we are prerolling.
Make sure we can report the right position before we post the ASYNC_DONE
message so that a message handler can query position without races.
* tests/check/generic/sinks.c: (send_eos), (GST_START_TEST),
(async_done_handoff), (async_done_func), (send_buffer),
(async_done_eos_func), (gst_sinks_suite):
Add two tests for the above.

16 years agoMAINTAINERS: Update with new email address.
Wim Taymans [Tue, 6 Nov 2007 10:21:01 +0000 (10:21 +0000)]
MAINTAINERS: Update with new email address.

Original commit message from CVS:
* MAINTAINERS:
Update with new email address.
* docs/design/part-TODO.txt:
Add some more info about future pad-block and negotiation changes.
* docs/design/part-buffering.txt:
Add some ideas about buffering reporting.

16 years agoupdate SPEC file with latest changes, also add MAINTAINERS file to EXTRA_DIST, the...
Christian Schaller [Tue, 6 Nov 2007 10:01:07 +0000 (10:01 +0000)]
update SPEC file with latest changes, also add MAINTAINERS file to EXTRA_DIST, the ommission of this cause a weird RP...

Original commit message from CVS:
update SPEC file with latest changes, also add MAINTAINERS file to EXTRA_DIST, the ommission of this cause a weird RPM build error on FC8

16 years agotests/check/gst/gstobject.c: Disable silly racy test that always fails on this combin...
Jan Schmidt [Tue, 6 Nov 2007 00:59:54 +0000 (00:59 +0000)]
tests/check/gst/gstobject.c: Disable silly racy test that always fails on this combination of CPU and kernel.

Original commit message from CVS:
* tests/check/gst/gstobject.c:
Disable silly racy test that always fails on this combination of CPU
and kernel.

16 years agoChangeLog surgery: mention bug number
Tim-Philipp Müller [Sun, 4 Nov 2007 10:16:38 +0000 (10:16 +0000)]
ChangeLog surgery: mention bug number

Original commit message from CVS:
ChangeLog surgery: mention bug number

16 years agogst/gstobject.c: Corrected the registration of the parent-set and parent-unset signal...
Murray Cumming [Sun, 4 Nov 2007 10:13:33 +0000 (10:13 +0000)]
gst/gstobject.c: Corrected the registration of the parent-set and parent-unset signals: The parameter is a GstObject,...

Original commit message from CVS:
Patch by: Murray Cumming  <murrayc@murrayc.com>
* gst/gstobject.c:
Corrected the registration of the parent-set and parent-unset
signals: The parameter is a GstObject, not a GObject.

16 years agogst/: Move declaration of private _gst_foo_initialize() functions into our private...
Tim-Philipp Müller [Fri, 2 Nov 2007 18:35:37 +0000 (18:35 +0000)]
gst/: Move declaration of private _gst_foo_initialize() functions into our private header file where they should have...

Original commit message from CVS:
* gst/gst_private.h:
* gst/gstbuffer.h:
* gst/gstevent.h:
* gst/gstformat.h:
* gst/gstmessage.h:
* gst/gstplugin.h:
* gst/gstquery.h:
* gst/gsttaglist.h:
* gst/gstvalue.h:
Move declaration of private _gst_foo_initialize() functions into
our private header file where they should have been all along.

16 years agogtk-doc fixes; trailing-comma-in-enum fix.
Tim-Philipp Müller [Fri, 2 Nov 2007 17:43:25 +0000 (17:43 +0000)]
gtk-doc fixes; trailing-comma-in-enum fix.

Original commit message from CVS:
* docs/plugins/gstreamer-plugins-sections.txt:
* gst/gstdebugutils.h:
* gst/gstxml.h:
* plugins/elements/gstqueue.c:
gtk-doc fixes; trailing-comma-in-enum fix.

16 years agogst/gst.c: Clean up on deinit (not the external ones though, doesn't seem to be neede...
Tim-Philipp Müller [Fri, 2 Nov 2007 16:27:56 +0000 (16:27 +0000)]
gst/gst.c: Clean up on deinit (not the external ones though, doesn't seem to be needed for some reason).

Original commit message from CVS:
* gst/gst.c: (gst_deinit):
Clean up on deinit (not the external ones though, doesn't seem to be
needed for some reason).

16 years agogst/gstinfo.h: Remove __declspec(dllimport) for MSVC that was copied over into core...
Tim-Philipp Müller [Thu, 1 Nov 2007 23:51:55 +0000 (23:51 +0000)]
gst/gstinfo.h: Remove __declspec(dllimport) for MSVC that was copied over into core from a plugin, obviously without ...

Original commit message from CVS:
* gst/gstinfo.h: (GST_DEBUG_CATEGORY_EXTERN):
Remove __declspec(dllimport) for MSVC that was copied over into core
from a plugin, obviously without ever having been tested (note the
single underscore in _declspec in the initial commit), and that doesn't
really make sense.  See #492077.

16 years agog_type_class_ref() other types as well, see #349410 and #64764.
Tim-Philipp Müller [Thu, 1 Nov 2007 21:50:05 +0000 (21:50 +0000)]
g_type_class_ref() other types as well, see #349410 and #64764.

Original commit message from CVS:
* gst/gst.c: (init_post):
* gst/gstevent.c: (_gst_event_initialize):
* gst/gstquery.c: (_gst_query_initialize):
* libs/gst/dataprotocol/dataprotocol.c (gst_dp_init):
g_type_class_ref() other types as well, see #349410 and #64764.
* gst/gstbuffer.c: (_gst_buffer_initialize):
* gst/gstmessage.c: (_gst_message_initialize):
Simplify existing g_type_class_ref().

16 years agogst/gstformat.c: g_type_class_ref() our GstFormat type to make sure we avoid the...
Tim-Philipp Müller [Thu, 1 Nov 2007 20:10:48 +0000 (20:10 +0000)]
gst/gstformat.c: g_type_class_ref() our GstFormat type to make sure we avoid the thread-unsafe bits of the GObject/GT...

Original commit message from CVS:
* gst/gstformat.c: (_gst_format_initialize):
g_type_class_ref() our GstFormat type to make sure we avoid the
thread-unsafe bits of the GObject/GType system, ie. bug #349410 and
bug #64764. Should fix intermittent tee unit test failures (#474823).

16 years agotests/check/elements/tee.c: Simplify, simplify, simplify - or not. Rewrite unit...
Tim-Philipp Müller [Thu, 1 Nov 2007 19:19:10 +0000 (19:19 +0000)]
tests/check/elements/tee.c: Simplify, simplify, simplify - or not.  Rewrite unit test not to use gst_parse_launch(); ...

Original commit message from CVS:
* tests/check/elements/tee.c: (test_num_buffers):
Simplify, simplify, simplify - or not.  Rewrite unit test
not to use gst_parse_launch(); allow N sub-streams. Increasing
the number of sub-streams seems to reproduce #474823 more easily.

16 years agoFix a couple of missing includes for MSVC2005 and a C99 issue. Also, starting with...
Ole André Vadla Ravnås [Wed, 31 Oct 2007 22:01:03 +0000 (22:01 +0000)]
Fix a couple of missing includes for MSVC2005 and a C99 issue. Also, starting with 2.14.0, GLib won't provide a pipe(...

Original commit message from CVS:
Patch by: Ole André Vadla Ravnås  <ole.andre.ravnas@tandberg.com>
* gst/gsttrace.c:
* libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_new):
* libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
* libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_new):
Fix a couple of missing includes for MSVC2005 and a C99 issue. Also,
starting with 2.14.0, GLib won't provide a pipe() macro any longer,
so use _pipe() directly (#492077).
* win32/common/dirent.c: (_treaddir):
Add a couple of casts to make it build without warnings with MSVC.
* win32/common/libgstreamer.def:
Add some more symbols that need to be exported.

16 years agotests/examples/metadata/read-metadata.c: Use _KEEP as merge mode rather than _KEEP_AL...
Tim-Philipp Müller [Wed, 31 Oct 2007 18:08:21 +0000 (18:08 +0000)]
tests/examples/metadata/read-metadata.c: Use _KEEP as merge mode rather than _KEEP_ALL, so tags arriving in a second ...

Original commit message from CVS:
* tests/examples/metadata/read-metadata.c: (message_loop):
Use _KEEP as merge mode rather than _KEEP_ALL, so tags
arriving in a second or third tag message are added to
the tag list as well.

16 years agolibs/gst/base/gstbasesrc.c: Its "Since:" and not "@Since:". And remove an superflous...
Stefan Kost [Wed, 31 Oct 2007 13:01:34 +0000 (13:01 +0000)]
libs/gst/base/gstbasesrc.c: Its "Since:" and not "@Since:". And remove an superflous cast.

Original commit message from CVS:
* libs/gst/base/gstbasesrc.c:
Its "Since:" and not "@Since:". And remove an superflous cast.

16 years agoAdd a new last-buffer property that contains the last buffer used in basesink for...
Wim Taymans [Tue, 30 Oct 2007 18:30:13 +0000 (18:30 +0000)]
Add a new last-buffer property that contains the last buffer used in basesink for preroll or rendering. useful for ma...

Original commit message from CVS:
* docs/libs/gstreamer-libs-sections.txt:
* libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
(gst_base_sink_get_last_buffer), (gst_base_sink_set_last_buffer),
(gst_base_sink_get_property), (gst_base_sink_render_object),
(gst_base_sink_preroll_object),
(gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
(gst_base_sink_change_state):
* libs/gst/base/gstbasesink.h:
Add a new last-buffer property that contains the last buffer used in
basesink for preroll or rendering. useful for making snapshots.
API: gst_base_sink_get_last_buffer()
API: GstBaseSink::last-buffer

16 years agoImprove bin graph dumping, by using the envvar to specify a path.
Stefan Kost [Mon, 29 Oct 2007 13:46:25 +0000 (13:46 +0000)]
Improve bin graph dumping, by using the envvar to specify a path.

Original commit message from CVS:
* docs/gst/running.xml:
* gst/gst.c:
* gst/gstdebugutils.c:
* gst/gstdebugutils.h:
* tools/gst-launch.c:
Improve bin graph dumping, by using the envvar to specify a path.
Rename the envvar to GST_DEBUG_DUMP_DOT_DIR.

16 years agoplugins/elements/gsttypefindelement.c: Post special error message if we can't determi...
Tim-Philipp Müller [Mon, 29 Oct 2007 13:10:01 +0000 (13:10 +0000)]
plugins/elements/gsttypefindelement.c: Post special error message if we can't determine the type of a stream because ...

Original commit message from CVS:
* plugins/elements/gsttypefindelement.c:
(gst_type_find_element_handle_event),
(gst_type_find_element_activate):
Post special error message if we can't determine the type of a stream
because it's empty.

16 years agoDocument new env-var. Add one log-line after dumpng a graph.
Stefan Kost [Mon, 29 Oct 2007 10:05:55 +0000 (10:05 +0000)]
Document new env-var. Add one log-line after dumpng a graph.

Original commit message from CVS:
* docs/gst/running.xml:
* gst/gstdebugutils.c:
Document new env-var. Add one log-line after dumpng a graph.

16 years agoconfigure.ac: Ugly hack to put the (recently removed and non-portable, apparently)
Tim-Philipp Müller [Fri, 26 Oct 2007 18:39:03 +0000 (18:39 +0000)]
configure.ac: Ugly hack to put the (recently removed and non-portable, apparently)

Original commit message from CVS:
* configure.ac:
Ugly hack to put the (recently removed and non-portable, apparently)
-Wl,--export-dynamic back into libgstcheck's LDFLAGS when we're using
GNU ld, because without that 'make check' fails miserably on my debian
stable box.  Someone with more knowledge of linker intricacies and
portability issues than me fix this properly please.

16 years agolibs/gst/base/gstbasesink.c: Reset last seen position after flushing so that we don...
Wim Taymans [Thu, 25 Oct 2007 17:20:47 +0000 (17:20 +0000)]
libs/gst/base/gstbasesink.c: Reset last seen position after flushing so that we don't report the old position anymore.

Original commit message from CVS:
* libs/gst/base/gstbasesink.c: (gst_base_sink_event):
Reset last seen position after flushing so that we don't report the old
position anymore.

16 years agogst/: Patch from Alessandro Decina adding get_type_full and get_protocols_full privat...
Alessandro Decina [Thu, 25 Oct 2007 16:19:05 +0000 (16:19 +0000)]
gst/: Patch from Alessandro Decina adding get_type_full and get_protocols_full private vfuncs to the URIHandler inter...

Original commit message from CVS:
* gst/gstelementfactory.c: (gst_element_register):
* gst/gsturi.h:
Patch from Alessandro Decina adding get_type_full and
get_protocols_full private vfuncs to the URIHandler interface
to allow bindings to support creating URI handlers.
Partially fixes: #339279
API: GstURIHandlerInterface::get_type_full
API: GstURIHandlerInterface::get_protocols_full

16 years agoplugins/elements/gstmultiqueue.c: Make it so that pads are considered linked until...
Jan Schmidt [Thu, 25 Oct 2007 15:14:02 +0000 (15:14 +0000)]
plugins/elements/gstmultiqueue.c: Make it so that pads are considered linked until a buffer is pushed and discovered ...

Original commit message from CVS:
* plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
(gst_multi_queue_request_new_pad), (gst_single_queue_flush),
(gst_multi_queue_loop), (gst_multi_queue_sink_activate_push):
Make it so that pads are considered linked until a buffer is pushed
and discovered otherwise. This avoids problems with decodebin2 hanging
after a seek in the filesrc ! decodebin2 name=d ! fakesink d. ! fakesink
case.
Make sure we lock the multiqueue when updating the max-size properties.
Fix a crash on Solaris in a debug statement in get_request_pad that
passes a NULL string to GST_DEBUG.
* tests/check/elements/multiqueue.c: (mq_dummypad_chain),
(run_output_order_test):
Fix the test to allow the first buffer on not-linked pads to come out
of sequence while multiqueue discovers that they are not-linked.

16 years agoUse a custom export symbol regex for libgstcheck, as it needs to export symbols that...
Jan Schmidt [Thu, 25 Oct 2007 14:50:48 +0000 (14:50 +0000)]
Use a custom export symbol regex for libgstcheck, as it needs to export symbols that don't match the standard GStream...

Original commit message from CVS:
* configure.ac:
* libs/gst/check/Makefile.am:
Use a custom export symbol regex for libgstcheck, as it needs
to export symbols that don't match the standard GStreamer gst_*
pattern, and  --export-dynamic is not portable (only works on
GNU ld)
* libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
(gst_check_setup_sink_pad):
Make sure to pass a message parameter to the fail_* macros.
* tests/check/gst/gstinfo.c: (GST_START_TEST):
Fix some compiler warnings.

16 years agotests/check/gst/gststructure.c: Disable test that checks that white spaces are not...
Tim-Philipp Müller [Thu, 25 Oct 2007 14:41:01 +0000 (14:41 +0000)]
tests/check/gst/gststructure.c: Disable test that checks that white spaces are not allowed in structure names or fiel...

Original commit message from CVS:
* tests/check/gst/gststructure.c: (test_to_string):
Disable test that checks that white spaces are not allowed
in structure names or field names, since we need to
support that for now for backwards compatibility reasons.

16 years agoAPI: add GST_TAG_ARTIST_SORTNAME
Tim-Philipp Müller [Wed, 24 Oct 2007 13:13:56 +0000 (13:13 +0000)]
API: add GST_TAG_ARTIST_SORTNAME

Original commit message from CVS:
* docs/gst/gstreamer-sections.txt:
* gst/gsttaglist.c:
* gst/gsttaglist.h:
API: add GST_TAG_ARTIST_SORTNAME
API: add GST_TAG_ALBUM_SORTNAME
API: add GST_TAG_TITLE_SORTNAME
Add tag variants for sorting (#414539).

16 years agogst/gststructure.c: Also allow white space for names so we don't break backwards...
Tim-Philipp Müller [Wed, 24 Oct 2007 13:00:58 +0000 (13:00 +0000)]
gst/gststructure.c: Also allow white space for names so we don't break backwards compatibility.

Original commit message from CVS:
* gst/gststructure.c:
Also allow white space for names so we don't break
backwards compatibility.

16 years agodocs/design/: Small updates.
Wim Taymans [Mon, 22 Oct 2007 15:37:43 +0000 (15:37 +0000)]
docs/design/: Small updates.

Original commit message from CVS:
* docs/design/part-TODO.txt:
* docs/design/part-segments.txt:
* docs/design/part-streams.txt:
Small updates.

16 years agodocs/gst/gstreamer-sections.txt: Fixed documentation from my previous commit (added...
Edgard Lima [Mon, 22 Oct 2007 11:32:14 +0000 (11:32 +0000)]
docs/gst/gstreamer-sections.txt: Fixed documentation from my previous commit (added new API add gst_value_set_structu...

Original commit message from CVS:

* docs/gst/gstreamer-sections.txt:
Fixed documentation from my previous commit (added new API add
gst_value_set_structure(), add gst_value_get_structure() and
GST_VALUE_HOLDS_STRUCTURE).

16 years agogst/gstdebugutils.c: Reflow code to fix uninitialized variable warning.
Stefan Kost [Mon, 22 Oct 2007 11:10:28 +0000 (11:10 +0000)]
gst/gstdebugutils.c: Reflow code to fix uninitialized variable warning.

Original commit message from CVS:
* gst/gstdebugutils.c:
Reflow code to fix uninitialized variable warning.

16 years agoAdded GstStructure to gst_value_table and its related functions.
Edgard Lima [Mon, 22 Oct 2007 08:53:26 +0000 (08:53 +0000)]
Added GstStructure to gst_value_table and its related functions.

Original commit message from CVS:

* gst/gstcaps.c: (gst_caps_to_string),
(gst_caps_from_string_inplace):
* gst/gststructure.c: (gst_structure_get_abbrs),
(gst_structure_to_string), (gst_structure_from_string):
* gst/gstvalue.c: (gst_value_set_structure),
(gst_value_get_structure), (gst_value_serialize_structure),
(gst_value_deserialize_structure), (_gst_value_initialize):
* gst/gstvalue.h:
* tests/check/gst/gststructure.c: (GST_START_TEST),
(gst_structure_suite):
* tests/check/gst/gstvalue.c: (GST_START_TEST):
Added GstStructure to gst_value_table and its related functions.
Changed gst_structure_to_string to print ';' in the end.
Changed gst_caps_to_string to not print ';' beteween its
fields (structures) anymore and remove the lastes ';' from latest
structure. Now it is possible to have nested structures.
In addition, backward compatibilty is assured by accepting '\0' as
end delimiter. Fixes: #487969.
API: add gst_value_set_structure()
API: add gst_value_get_structure()

16 years agogst/gstbus.c: When no GSource callback has been set up, tell developer to use a funct...
Tim-Philipp Müller [Fri, 19 Oct 2007 09:48:38 +0000 (09:48 +0000)]
gst/gstbus.c: When no GSource callback has been set up, tell developer to use a function that actually exists.

Original commit message from CVS:
* gst/gstbus.c:
When no GSource callback has been set up, tell developer
to use a function that actually exists.

16 years agoAllow dumping pipelines as dot graphs. Fixes #456573.
Stefan Kost [Wed, 17 Oct 2007 12:58:23 +0000 (12:58 +0000)]
Allow dumping pipelines as dot graphs. Fixes #456573.

Original commit message from CVS:
* docs/gst/gstreamer-sections.txt:
* gst/Makefile.am:
* gst/gst.c:
* gst/gst.h:
* gst/gstdebugutils.c:
* gst/gstdebugutils.h:
* gst/gstinfo.c:
* gst/gstinfo.h:
* tools/gst-launch.c:
Allow dumping pipelines as dot graphs. Fixes #456573.

16 years agogst/gststructure.c: Allow '+' as well, it can be part of media or mime types such...
Tim-Philipp Müller [Tue, 16 Oct 2007 21:48:23 +0000 (21:48 +0000)]
gst/gststructure.c: Allow '+' as well, it can be part of media or mime types such as image/svg+xml.

Original commit message from CVS:
* gst/gststructure.c:
Allow '+' as well, it can be part of media or mime types
such as image/svg+xml.

16 years agoAPI: add gst_bus_pop_filtered
Tim-Philipp Müller [Tue, 16 Oct 2007 20:30:13 +0000 (20:30 +0000)]
API: add gst_bus_pop_filtered

Original commit message from CVS:
* docs/gst/gstreamer-sections.txt:
* gst/gstbus.c:
* gst/gstbus.h:
API: add gst_bus_pop_filtered
API: add gst_bus_timed_pop_filtered
Two new functions for waiting for specific message types on the
bus for a specified amount of time without iterating any main
loops or main contexts.
* tests/check/gst/gstbus.c:
Some tests for the new functions.

16 years agodocs/libs/gstreamer-libs-sections.txt: Make gtk-doc ignore stuff it should ignore.
Tim-Philipp Müller [Tue, 16 Oct 2007 17:21:38 +0000 (17:21 +0000)]
docs/libs/gstreamer-libs-sections.txt: Make gtk-doc ignore stuff it should ignore.

Original commit message from CVS:
* docs/libs/gstreamer-libs-sections.txt:
Make gtk-doc ignore stuff it should ignore.

16 years agolibs/gst/check/gstcheck.*: Allow runtime selection of unit tests to run via the GST_C...
Tim-Philipp Müller [Tue, 16 Oct 2007 16:12:36 +0000 (16:12 +0000)]
libs/gst/check/gstcheck.*: Allow runtime selection of unit tests to run via the GST_CHECKS environment variable (test...

Original commit message from CVS:
* libs/gst/check/gstcheck.c:
* libs/gst/check/gstcheck.h:
Allow runtime selection of unit tests to run via the GST_CHECKS
environment variable (test case function names, comma-separated).

16 years agoRevert serialisation change and constrain structure-names after consensus on irc...
Stefan Kost [Tue, 16 Oct 2007 13:58:43 +0000 (13:58 +0000)]
Revert serialisation change and constrain structure-names after consensus on irc. Update api documentation to reflect...

Original commit message from CVS:
* gst/gststructure.c:
* tests/check/gst/gststructure.c:
Revert serialisation change and constrain structure-names after
consensus on irc. Update api documentation to reflect the change.

16 years agogst/gststructure.c: Improve serialization and fix tests.
Stefan Kost [Tue, 16 Oct 2007 06:32:07 +0000 (06:32 +0000)]
gst/gststructure.c: Improve serialization and fix tests.

Original commit message from CVS:
* gst/gststructure.c:
Improve serialization and fix tests.
* tests/check/gst/gststructure.c:
Add another test that covers why I actually did the previous structure
change.

16 years agotools/gst-inspect.c: Don't crash when inspecting an element.
Wim Taymans [Mon, 15 Oct 2007 14:33:16 +0000 (14:33 +0000)]
tools/gst-inspect.c: Don't crash when inspecting an element.

Original commit message from CVS:
* tools/gst-inspect.c: (print_element_info):
Don't crash when inspecting an element.

16 years agotests/check/gst/gststructure.c: Add unit test for escaping of structure name when...
Tim-Philipp Müller [Mon, 15 Oct 2007 11:58:16 +0000 (11:58 +0000)]
tests/check/gst/gststructure.c: Add unit test for escaping of structure name when serialising and deserialising to/fr...

Original commit message from CVS:
* tests/check/gst/gststructure.c:
Add unit test for escaping of structure name when serialising
and deserialising to/from strings.

16 years agoplugins/elements/: Fix queue negotiation. If acceptcaps unconditionally returns TRUE...
Wim Taymans [Mon, 15 Oct 2007 11:36:37 +0000 (11:36 +0000)]
plugins/elements/: Fix queue negotiation. If acceptcaps unconditionally returns TRUE, upstream is tricked into thinki...

Original commit message from CVS:
* plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
(gst_single_queue_new):
* plugins/elements/gstqueue.c: (gst_queue_init),
(gst_queue_push_one):
Fix queue negotiation. If acceptcaps unconditionally returns TRUE,
upstream is tricked into thinking it can suggest a format downstream
while downstream does not support that format. The real problem is that
core calls acceptcaps when pushing a buffer with new caps, for which we
do a little workaround by setting the caps on the srcpad ourselves
before pushing the buffer (until this is figured out). Fixes #486758.

16 years agogst/: Add some more comments and debug output. Quote structure name to fix deserialis...
Stefan Kost [Mon, 15 Oct 2007 11:19:36 +0000 (11:19 +0000)]
gst/: Add some more comments and debug output. Quote structure name to fix deserialisation of some strings.

Original commit message from CVS:
* gst/gststructure.c:
* gst/gstvalue.c:
Add some more comments and debug output. Quote structure name to fix
deserialisation of some strings.

16 years agogst/gstbuffer.h: Define GST_BUFFER_FLAG_GAP more strictly to enable optimizations...
Stefan Kost [Mon, 15 Oct 2007 07:37:37 +0000 (07:37 +0000)]
gst/gstbuffer.h: Define GST_BUFFER_FLAG_GAP more strictly to enable optimizations based on it. Fix docs for GST_BUFFE...

Original commit message from CVS:
* gst/gstbuffer.h:
Define GST_BUFFER_FLAG_GAP more strictly to enable optimizations based
on it. Fix docs for GST_BUFFER_MALLOCDATA and GstBuffer.malloc_data.

16 years agotools/gst-inspect.c: Save approx. 400 1 byte allocs when printing. Use API to acces...
Stefan Kost [Mon, 15 Oct 2007 07:11:04 +0000 (07:11 +0000)]
tools/gst-inspect.c: Save approx. 400 1 byte allocs when printing. Use API to acces element details.

Original commit message from CVS:
* tools/gst-inspect.c:
Save approx. 400 1 byte allocs when printing. Use API to acces element
details.
* tools/gst-run.c:
Avoid a strdup.
* tools/gst-xmlinspect.c:
Use API to acces element details.

16 years agogst/gstinfo.c: Fix some spelling errors.
Stefan Kost [Mon, 15 Oct 2007 06:52:01 +0000 (06:52 +0000)]
gst/gstinfo.c: Fix some spelling errors.

Original commit message from CVS:
* gst/gstinfo.c:
Fix some spelling errors.

16 years agogst/gstbin.c: Correctly set the next state if all of our async children commited...
Wim Taymans [Sun, 14 Oct 2007 15:54:02 +0000 (15:54 +0000)]
gst/gstbin.c: Correctly set the next state if all of our async children commited their state. This makes sure we can ...

Original commit message from CVS:
* gst/gstbin.c: (bin_handle_async_done):
Correctly set the next state if all of our async children commited their
state. This makes sure we can actually cancel the state change in
progress. Fixes a regression in Rhythmbox when seeking.

16 years agogst/gstbin.c: Don't shadow local variable.
Tim-Philipp Müller [Sat, 13 Oct 2007 17:43:27 +0000 (17:43 +0000)]
gst/gstbin.c: Don't shadow local variable.

Original commit message from CVS:
* gst/gstbin.c:
Don't shadow local variable.
* gst/gstinfo.c:
Don't shadow global function name.

16 years agogst/: Use already-interned string for the private GstPluginFeature plugin_name field.
Tim-Philipp Müller [Sat, 13 Oct 2007 17:20:09 +0000 (17:20 +0000)]
gst/: Use already-interned string for the private GstPluginFeature plugin_name field.

Original commit message from CVS:
* gst/gstelementfactory.c:
* gst/gstpluginfeature.c:
* gst/gstpluginfeature.h:
* gst/gstregistrybinary.c:
* gst/gstregistryxml.c:
* gst/gsttypefind.c:
Use already-interned string for the private GstPluginFeature
plugin_name field.

16 years agodocs/libs/gstreamer-libs-sections.txt: Add new API to docs; fixes the build.
Tim-Philipp Müller [Wed, 10 Oct 2007 22:43:11 +0000 (22:43 +0000)]
docs/libs/gstreamer-libs-sections.txt: Add new API to docs; fixes the build.

Original commit message from CVS:
* docs/libs/gstreamer-libs-sections.txt:
Add new API to docs; fixes the build.

16 years agolibs/gst/base/gstbasesink.*: Add function to wait for EOS, subclasses can use this...
Wim Taymans [Wed, 10 Oct 2007 15:18:44 +0000 (15:18 +0000)]
libs/gst/base/gstbasesink.*: Add function to wait for EOS, subclasses can use this to correctly wait for devices to d...

Original commit message from CVS:
Patch inspired by: Benoit Fouet <benoit dot fouet at purplelabs dot com>
* libs/gst/base/gstbasesink.c: (gst_base_sink_wait_eos),
(gst_base_sink_event):
* libs/gst/base/gstbasesink.h:
Add function to wait for EOS, subclasses can use this to correctly wait
for devices to drain before performing the EOS logic. Fixes #485343.
API: gst_base_sink_wait_eos()