platform/upstream/gstreamer.git
17 years agotests/benchmarks/: Set a good example and don't leak messages.
Tim-Philipp Müller [Wed, 9 May 2007 10:01:35 +0000 (10:01 +0000)]
tests/benchmarks/: Set a good example and don't leak messages.

Original commit message from CVS:
* tests/benchmarks/complexity.c: (main):
* tests/benchmarks/mass-elements.c: (main):
Set a good example and don't leak messages.

17 years agodocs/: Correct fixxrefs options.
Stefan Kost [Sun, 6 May 2007 18:27:25 +0000 (18:27 +0000)]
docs/: Correct fixxrefs options.

Original commit message from CVS:
* docs/gst/Makefile.am:
* docs/libs/Makefile.am:
Correct fixxrefs options.
* docs/plugins/Makefile.am:
* docs/plugins/gstreamer-plugins-docs.sgml:
* docs/plugins/gstreamer-plugins-sections.txt:
* plugins/elements/Makefile.am:
* plugins/elements/gstcapsfilter.c (gst_capsfilter_details):
* plugins/elements/gstcapsfilter.h (__GST_CAPSFILTER_H__,
GST_TYPE_CAPSFILTER, GST_CAPSFILTER, GST_CAPSFILTER_CLASS,
GST_IS_CAPSFILTER, GST_IS_CAPSFILTER_CLASS, GstCapsFilter,
GstCapsFilterClass, _GstCapsFilter, trans, filter_caps,
_GstCapsFilterClass, trans_class):
* plugins/elements/gstelements.c (name, rank, type, _elements):
* plugins/elements/gstidentity.c
(gst_identity_check_imperfect_timestamp,
gst_identity_check_imperfect_offset):
Document capsfilter and add doc-blurb to identity.

17 years agolibs/gst/controller/: Don't crash if someone tries to set an interpolation mode that...
Tim-Philipp Müller [Fri, 4 May 2007 12:37:01 +0000 (12:37 +0000)]
libs/gst/controller/: Don't crash if someone tries to set an interpolation mode that is invalid or that isn't support...

Original commit message from CVS:
* libs/gst/controller/gstcontroller.c:
(gst_controlled_property_set_interpolation_mode):
* libs/gst/controller/gstinterpolation.c:
Don't crash if someone tries to set an interpolation mode that
is invalid or that isn't supported yet. Fixes #422295.
* tests/check/libs/controller.c: (GST_START_TEST),
(gst_controller_suite):
Add a test case for the above.

17 years agolibs/gst/base/gstbasetransform.c: Properly set the last_stop position on GstSegment...
Edward Hervey [Thu, 3 May 2007 16:44:34 +0000 (16:44 +0000)]
libs/gst/base/gstbasetransform.c: Properly set the last_stop position on GstSegment. This will only happen if there i...

Original commit message from CVS:
* libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
Properly set the last_stop position on GstSegment. This will only happen
if there is a buffer to push out.

17 years agolibs/gst/base/gstbasetransform.c: always_in_place does not mean that the sink and...
Wim Taymans [Thu, 3 May 2007 14:58:05 +0000 (14:58 +0000)]
libs/gst/base/gstbasetransform.c: always_in_place does not mean that the sink and source caps are the same! Make sure...

Original commit message from CVS:
* libs/gst/base/gstbasetransform.c:
(gst_base_transform_buffer_alloc):
always_in_place does not mean that the sink and source caps are the
same! Make sure we don't blindly proxy the buffer_alloc in this case.

17 years agoAPI: gst_base_src_query_latency(). Added method so that subclasses can easily get...
Wim Taymans [Thu, 3 May 2007 14:54:34 +0000 (14:54 +0000)]
API: gst_base_src_query_latency(). Added method so that subclasses can easily get the latency values of the base sour...

Original commit message from CVS:
* docs/libs/gstreamer-libs-sections.txt:
* libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
(gst_base_src_default_query), (gst_base_src_get_range):
* libs/gst/base/gstbasesrc.h:
API: gst_base_src_query_latency(). Added method so that subclasses can
easily get the latency values of the base source class.

17 years agotools/gst-inspect.c (print_implementation_info): Remove 0.8 cruft.
Zaheer Abbas Merali [Thu, 3 May 2007 09:24:58 +0000 (09:24 +0000)]
tools/gst-inspect.c (print_implementation_info): Remove 0.8 cruft.

Original commit message from CVS:
* tools/gst-inspect.c (print_implementation_info):
Remove 0.8 cruft.

17 years agotools/: Don't create a customised man page based on the host architecture, describe...
Tim-Philipp Müller [Wed, 2 May 2007 17:09:30 +0000 (17:09 +0000)]
tools/: Don't create a customised man page based on the host architecture, describe the default registry path generic...

Original commit message from CVS:
* tools/Makefile.am:
* tools/gst-launch.1.in:
Don't create a customised man page based on the host architecture,
describe the default registry path generically. That way the man
page is the same for all architectures and packagers have one
multilib issue less to deal with. Fixes #434926.

17 years agogst/gstpad.c: Fix documentation as spotted by rg on IRC.
Wim Taymans [Wed, 2 May 2007 15:14:32 +0000 (15:14 +0000)]
gst/gstpad.c: Fix documentation as spotted by rg on IRC.

Original commit message from CVS:
* gst/gstpad.c:
Fix documentation as spotted by rg on IRC.

17 years agogst/gstutils.c: Improve docs for gst_element_{link,unlink}.
Stefan Kost [Sun, 29 Apr 2007 17:36:18 +0000 (17:36 +0000)]
gst/gstutils.c: Improve docs for gst_element_{link,unlink}.

Original commit message from CVS:
* gst/gstutils.c:
Improve docs for gst_element_{link,unlink}.

17 years agoupdate README
Thomas Vander Stichele [Sun, 29 Apr 2007 14:04:26 +0000 (14:04 +0000)]
update README

Original commit message from CVS:
update README

17 years agoTypo fixes; minor docs addition.
Tim-Philipp Müller [Sat, 28 Apr 2007 11:29:54 +0000 (11:29 +0000)]
Typo fixes; minor docs addition.

Original commit message from CVS:
* docs/design/part-events.txt:
* docs/design/part-overview.txt:
* gst/gstevent.c:
* gst/gsturi.c:
* gst/gsturi.h:
* libs/gst/base/gstbasesink.c:
Typo fixes; minor docs addition.

17 years agoAPI: Add gst_uri_protocol_is_supported(), which checks if an sink or src that support...
Sebastian Dröge [Fri, 27 Apr 2007 08:30:59 +0000 (08:30 +0000)]
API: Add gst_uri_protocol_is_supported(), which checks if an sink or src that supports a given URI protocol exists.

Original commit message from CVS:
* docs/gst/gstreamer-sections.txt:
* gst/gsturi.c: (get_element_factories_from_uri_protocol),
(gst_uri_protocol_is_supported), (gst_element_make_from_uri):
* gst/gsturi.h:
API: Add gst_uri_protocol_is_supported(), which checks if an sink
or src that supports a given URI protocol exists.

17 years agoplugins/elements/: Set the location to NULL if "file://" is set as URI. Otherwise...
Sebastian Dröge [Fri, 27 Apr 2007 07:34:10 +0000 (07:34 +0000)]
plugins/elements/: Set the location to NULL if "file://" is set as URI. Otherwise some random previous URI would stil...

Original commit message from CVS:
* plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
* plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
Set the location to NULL if "file://" is set as URI. Otherwise
some random previous URI would still be set if "file://" is
set on an already used filesink/filesrc.

17 years agoplugins/elements/: Special case the "file://" URI as as this is used by some applicat...
Sebastian Dröge [Fri, 27 Apr 2007 07:27:36 +0000 (07:27 +0000)]
plugins/elements/: Special case the "file://" URI as as this is used by some applications to test with gst_element_ma...

Original commit message from CVS:
* plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
* plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
Special case the "file://" URI as as this is used by some
applications to test with gst_element_make_from_uri if there's
an element that supports the URI protocol.
Also move the g_path_is_absolute() check for the location part
of the URI to also check this for "file://localhost/bla" URIs.

17 years agoAPI: add gst_buffer_try_new_and_alloc() plus unit test (#431940).
Tim-Philipp Müller [Thu, 26 Apr 2007 10:00:49 +0000 (10:00 +0000)]
API: add gst_buffer_try_new_and_alloc() plus unit test (#431940).

Original commit message from CVS:
* docs/gst/gstreamer-sections.txt:
* gst/gstbuffer.c: (gst_buffer_try_new_and_alloc):
* gst/gstbuffer.h:
* tests/check/gst/gstbuffer.c: (GST_START_TEST),
(gst_buffer_suite):
API: add gst_buffer_try_new_and_alloc() plus unit test (#431940).

17 years agogst/gstregistrybinary.*: Implement no-mmap alternative for registry reading. Do code...
Stefan Kost [Thu, 26 Apr 2007 07:32:08 +0000 (07:32 +0000)]
gst/gstregistrybinary.*: Implement no-mmap alternative for registry reading. Do code cleanups.

Original commit message from CVS:
* gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
(gst_registry_binary_load_pad_template),
(gst_registry_binary_load_plugin),
(gst_registry_binary_read_cache):
* gst/gstregistrybinary.h:
Implement no-mmap alternative for registry reading. Do code cleanups.
Add more comments about avoiding strdups for all text data. Comments
welcome.

17 years agogst/gstregistrybinary.h (GstBinaryPluginElement,
Stefan Kost [Wed, 25 Apr 2007 12:30:27 +0000 (12:30 +0000)]
gst/gstregistrybinary.h (GstBinaryPluginElement,

Original commit message from CVS:
* gst/gstregistrybinary.h (GstBinaryPluginElement,
GstBinaryPluginFeature, _GstBinaryElementFactory, plugin_feature,
GstBinaryElementFactory, _GstBinaryTypeFindFactory, plugin_feature):
Comment structs and reformat to fix the build (that stuff should go
into a priv. header).

17 years agogst/gstregistrybinary.*: Refactor so that we can implement multiple features. Add...
Stefan Kost [Wed, 25 Apr 2007 11:44:29 +0000 (11:44 +0000)]
gst/gstregistrybinary.*: Refactor so that we can implement multiple features. Add support for

Original commit message from CVS:
* gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
(gst_registry_binary_load_feature):
* gst/gstregistrybinary.h:
Refactor so that we can implement multiple features. Add support for
TypeFindFactory features.

17 years agoconfigure.ac: Fix AM_CONDITIONAL(GST_DISABLE_GST_DEBUG,...) and update comment.
Peter Kjellerstedt [Tue, 24 Apr 2007 06:14:35 +0000 (06:14 +0000)]
configure.ac: Fix AM_CONDITIONAL(GST_DISABLE_GST_DEBUG,...) and update comment.

Original commit message from CVS:
Patch by: Peter Kjellerstedt <Peter.Kjellerstedt@axis.com>
* configure.ac:
Fix AM_CONDITIONAL(GST_DISABLE_GST_DEBUG,...) and update comment.

17 years agogst/gstbin.c: Fix build with --gst-disable-gst-debug
Stefan Kost [Mon, 23 Apr 2007 07:30:38 +0000 (07:30 +0000)]
gst/gstbin.c: Fix build with --gst-disable-gst-debug

Original commit message from CVS:
* gst/gstbin.c: (gst_bin_element_set_state),
(iterator_activate_fold_with_resync), (gst_bin_continue_func),
(bin_handle_async_done), (gst_bin_handle_message_func):
Fix build with --gst-disable-gst-debug

17 years agolibs/gst/base/gstbasetransform.c: Make sure streaming has finished before calling...
Tim-Philipp Müller [Sat, 21 Apr 2007 13:27:16 +0000 (13:27 +0000)]
libs/gst/base/gstbasetransform.c: Make sure streaming has finished before calling the ::stop() vfunc, since that vfun...

Original commit message from CVS:
* libs/gst/base/gstbasetransform.c: (gst_base_transform_activate):
Make sure streaming has finished before calling the ::stop() vfunc,
since that vfunc might clear state which is being used in the
streaming thread. This fixes a race that caused crashes in
audioresample when shutting down a pipeline (#420106).

17 years agodocs/gst/gstreamer-sections.txt: That was one byte missing.
Stefan Kost [Fri, 20 Apr 2007 08:53:41 +0000 (08:53 +0000)]
docs/gst/gstreamer-sections.txt: That was one byte missing.

Original commit message from CVS:
* docs/gst/gstreamer-sections.txt:
That was one byte missing.

17 years ago2nd attempt to have a xml-less build as a joined effort of #413123 and #421480.
Stefan Kost [Fri, 20 Apr 2007 08:39:35 +0000 (08:39 +0000)]
2nd attempt to have a xml-less build as a joined effort of #413123 and #421480.

Original commit message from CVS:
* configure.ac:
* docs/gst/gstreamer-sections.txt:
* gst/Makefile.am:
* gst/gstconfig.h.in:
* gst/gstobject.c: (gst_object_class_init),
(gst_signal_object_class_init):
* gst/gstobject.h:
2nd attempt to have a xml-less build as a joined effort of #413123
and #421480.

17 years agodocs/design/draft-tagreading.txt: Added open issues/thoughts to draft.
Stefan Kost [Fri, 20 Apr 2007 08:21:19 +0000 (08:21 +0000)]
docs/design/draft-tagreading.txt: Added open issues/thoughts to draft.

Original commit message from CVS:
* docs/design/draft-tagreading.txt:
Added open issues/thoughts to draft.

17 years agogst/parse/: Update the prebuild parser sources.
Sebastian Dröge [Thu, 19 Apr 2007 14:32:49 +0000 (14:32 +0000)]
gst/parse/: Update the prebuild parser sources.

Original commit message from CVS:
* gst/parse/grammar.tab.pre.c:
* gst/parse/grammar.tab.pre.h:
* gst/parse/lex._gst_parse_yy.pre.c:
Update the prebuild parser sources.

17 years agogst/parse/Makefile.am: And now fix the building of the flex sources. Now everything...
Sebastian Dröge [Thu, 19 Apr 2007 14:23:25 +0000 (14:23 +0000)]
gst/parse/Makefile.am: And now fix the building of the flex sources. Now everything should work as expected.

Original commit message from CVS:
* gst/parse/Makefile.am:
And now fix the building of the flex sources. Now everything should
work as expected.

17 years agogst/parse/Makefile.am: Now hopefully fix the build failures by setting proper rule...
Sebastian Dröge [Thu, 19 Apr 2007 14:06:52 +0000 (14:06 +0000)]
gst/parse/Makefile.am: Now hopefully fix the build failures by setting proper rule dependencies and moving instead of...

Original commit message from CVS:
* gst/parse/Makefile.am:
Now hopefully fix the build failures by setting proper rule
dependencies and moving instead of copying.

17 years agotests/benchmarks/: Total licensification.
Stefan Kost [Thu, 19 Apr 2007 10:43:14 +0000 (10:43 +0000)]
tests/benchmarks/: Total licensification.

Original commit message from CVS:
* tests/benchmarks/complexity.gnuplot:
* tests/benchmarks/complexity.scm:
* tests/benchmarks/mass-elements.gnuplot:
* tests/benchmarks/mass-elements.scm:
Total licensification.

17 years agogst/parse/Makefile.am: Fix the build by correcting the rule that gave wrong files...
Stefan Kost [Thu, 19 Apr 2007 10:22:29 +0000 (10:22 +0000)]
gst/parse/Makefile.am: Fix the build by correcting the rule that gave wrong files to flex.

Original commit message from CVS:
* gst/parse/Makefile.am:
Fix the build by correcting the rule that gave wrong files to flex.

17 years agotests/benchmarks/: Change licence to LGPL as granted by Benjamin and Andy.
Stefan Kost [Thu, 19 Apr 2007 08:40:33 +0000 (08:40 +0000)]
tests/benchmarks/: Change licence to LGPL as granted by Benjamin and Andy.

Original commit message from CVS:
* tests/benchmarks/complexity.c:
* tests/benchmarks/mass-elements.c:
Change licence to LGPL as granted by Benjamin and Andy.

17 years agogst/parse/Makefile.am: Add correct grammar.tab.h dependency if compiling without...
Sebastian Dröge [Thu, 19 Apr 2007 06:18:24 +0000 (06:18 +0000)]
gst/parse/Makefile.am: Add correct grammar.tab.h dependency if compiling without new enough flex. Fixes #431150.

Original commit message from CVS:
* gst/parse/Makefile.am:
Add correct grammar.tab.h dependency if compiling without new enough
flex. Fixes #431150.

17 years agogst/parse/Makefile.am: Fix typo and use outdated sources if the flex/bison sources...
Sebastian Dröge [Wed, 18 Apr 2007 13:34:48 +0000 (13:34 +0000)]
gst/parse/Makefile.am: Fix typo and use outdated sources if the flex/bison sources are newer than the pregenerated on...

Original commit message from CVS:
* gst/parse/Makefile.am:
Fix typo and use outdated sources if the flex/bison sources are newer
than the pregenerated ones but flex is too old. Print a warning in
that case. This should fix the build on the build bot.

17 years agogst/parse/: Make the parser reentrant and recursively callable. This requires flex...
Marc-Andre Lureau [Wed, 18 Apr 2007 12:34:51 +0000 (12:34 +0000)]
gst/parse/: Make the parser reentrant and recursively callable. This requires flex >= 2.5.31, for older versions preg...

Original commit message from CVS:
Patch by: Marc-Andre Lureau <marcandre dot lureau at gmail dot com>
* gst/parse/Makefile.am:
* gst/parse/grammar.y:
* gst/parse/parse.l:
Make the parser reentrant and recursively callable. This requires flex
>= 2.5.31, for older versions pregenerated sources are used as we
can't bump the build dependency. Finally fixes #349180.
* gst/gstparse.c: (gst_parse_launch):
Drop the HAVE_MT_SAVE_FLEX #ifdefs as we always use a new enough flex
now anyway.
* docs/gst/Makefile.am:
* docs/gst/Makefile.am:
* gst/parse/grammar.tab.pre.c: (__gst_parse_strdup),
(__gst_parse_strfree), (__gst_parse_link_new),
(__gst_parse_link_free), (__gst_parse_chain_new),
(__gst_parse_chain_free), (SET_ERROR), (YYPRINTF),
(gst_parse_element_set), (gst_parse_free_link),
(gst_parse_found_pad), (gst_parse_perform_delayed_link),
(gst_parse_perform_link), (yytnamerr), (yysyntax_error), (yyerror),
(_gst_parse_launch):
* gst/parse/grammar.tab.pre.h:
* gst/parse/lex._gst_parse_yy.pre.c: (PRINT), (yy_get_next_buffer),
(yy_get_previous_state), (yy_try_NUL_trans), (input),
(_gst_parse_yyrestart), (_gst_parse_yy_switch_to_buffer),
(_gst_parse_yy_load_buffer_state), (_gst_parse_yy_create_buffer),
(_gst_parse_yy_delete_buffer), (_gst_parse_yy_init_buffer),
(_gst_parse_yy_flush_buffer), (_gst_parse_yypush_buffer_state),
(_gst_parse_yypop_buffer_state),
(_gst_parse_yyensure_buffer_stack), (_gst_parse_yy_scan_buffer),
(_gst_parse_yy_scan_string), (_gst_parse_yy_scan_bytes),
(yy_fatal_error), (_gst_parse_yyget_extra),
(_gst_parse_yyget_lineno), (_gst_parse_yyget_column),
(_gst_parse_yyget_in), (_gst_parse_yyget_out),
(_gst_parse_yyget_leng), (_gst_parse_yyget_text),
(_gst_parse_yyset_extra), (_gst_parse_yyset_lineno),
(_gst_parse_yyset_column), (_gst_parse_yyset_in),
(_gst_parse_yyset_out), (_gst_parse_yyget_debug),
(_gst_parse_yyset_debug), (_gst_parse_yyget_lval),
(_gst_parse_yyset_lval), (_gst_parse_yylex_init),
(yy_init_globals), (_gst_parse_yylex_destroy), (yy_flex_strncpy),
(yy_flex_strlen), (_gst_parse_yyalloc), (_gst_parse_yyrealloc),
(_gst_parse_yyfree):
If the installed flex version is too old use pre-generated parser
sources. These pre-generated parser sources are always updated when
the actual flex/bison sources change but require everybody who wants
to change something in the parser to have flex >= 2.5.31 installed.

17 years agoMake --disable-nls to work
Stefan Kost [Wed, 18 Apr 2007 10:58:31 +0000 (10:58 +0000)]
Make --disable-nls to work

Original commit message from CVS:
* common/m4/gst-gettext.m4:
* gst/gst-i18n-lib.h:
Make --disable-nls to work

17 years agogst/gstconfig.h.in: Revert previous change that broke the build.
Wim Taymans [Tue, 17 Apr 2007 16:12:46 +0000 (16:12 +0000)]
gst/gstconfig.h.in: Revert previous change that broke the build.

Original commit message from CVS:
* gst/gstconfig.h.in:
Revert previous change that broke the build.

17 years agoMANPATH fix
Thomas Vander Stichele [Tue, 17 Apr 2007 14:36:35 +0000 (14:36 +0000)]
MANPATH fix

Original commit message from CVS:
MANPATH fix

17 years agoDrop libxml2 dependency when building with
Stefan Kost [Tue, 17 Apr 2007 10:46:46 +0000 (10:46 +0000)]
Drop libxml2 dependency when building with

Original commit message from CVS:
* configure.ac:
* gst/Makefile.am:
* gst/gstconfig.h.in:
Drop libxml2 dependency when building with
--enable-binary-registry --disable-loadsave

17 years agofix the release date in the doap file
Thomas Vander Stichele [Mon, 16 Apr 2007 21:41:45 +0000 (21:41 +0000)]
fix the release date in the doap file

Original commit message from CVS:
fix the release date in the doap file

17 years agogst/gstregistrybinary.*: Remove unnecessary <sys/mman.h> include which broke the...
Tim-Philipp Müller [Mon, 16 Apr 2007 19:45:31 +0000 (19:45 +0000)]
gst/gstregistrybinary.*: Remove unnecessary <sys/mman.h> include which broke the win32 build with MingW; move include...

Original commit message from CVS:
* gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
(gst_registry_binary_read_cache):
* gst/gstregistrybinary.h:
Remove unnecessary <sys/mman.h> include which broke the win32 build
with MingW; move includes from header file to .c file, even if the
header file isn't installed; use g_strerror() where UTF-8 strings
are expected, such as in GST_DEBUG messages.

17 years agodocs/libs/gstreamer-libs-sections.txt: Remove bogus addition for API I didn't end...
Jan Schmidt [Fri, 13 Apr 2007 15:15:50 +0000 (15:15 +0000)]
docs/libs/gstreamer-libs-sections.txt: Remove bogus addition for API I didn't end up keeping.

Original commit message from CVS:
* docs/libs/gstreamer-libs-sections.txt:
Remove bogus addition for API I didn't end up keeping.
* libs/gst/base/gstbasesrc.h:
Mention Since: 0.10.13 in the documentation.
Add the API keyword to the previous ChangeLog entry.

17 years agoAllow basesrc derived classes to execute seeks in other formats by providing a prepar...
Jan Schmidt [Fri, 13 Apr 2007 14:18:44 +0000 (14:18 +0000)]
Allow basesrc derived classes to execute seeks in other formats by providing a prepare_seek_segment vmethod. Sub-clas...

Original commit message from CVS:
* docs/libs/gstreamer-libs-sections.txt:
* libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
(gst_base_src_default_prepare_seek_segment),
(gst_base_src_prepare_seek_segment), (gst_base_src_perform_seek):
* libs/gst/base/gstbasesrc.h:
Allow basesrc derived classes to execute seeks in other formats
by providing a prepare_seek_segment vmethod. Sub-classes can choose
to prepare the GstSegment in any format that their perform_seek method
will be able to understand. The default implementation provides the
old behaviour of attempting to convert the seek offsets to the
configured native format.

17 years agogst/gstelement.c: Don't output the same debug statement twice.
Jan Schmidt [Fri, 13 Apr 2007 11:53:00 +0000 (11:53 +0000)]
gst/gstelement.c: Don't output the same debug statement twice.

Original commit message from CVS:
* gst/gstelement.c: (gst_element_get_state_func):
Don't output the same debug statement twice.
* libs/gst/base/gstadapter.c: (gst_adapter_try_to_merge_up),
(gst_adapter_peek), (gst_adapter_take_buffer):
Optimise the case where we have buffers at the head of the queue that
can be joined quickly (because they're contiguous sub-buffers) by
merging them together rather than copying data out into new memory.
* gst/parse/grammar.y:
* tests/check/pipelines/parse-launch.c:
Fix a leak in an error path for parse_launch, and add a check
for it to the testsuite.

17 years agoplugins/elements/gstmultiqueue.c: Don't deadlock when releasing a pad - gst_pad_set_a...
Jan Schmidt [Fri, 13 Apr 2007 11:20:48 +0000 (11:20 +0000)]
plugins/elements/gstmultiqueue.c: Don't deadlock when releasing a pad - gst_pad_set_active may try and take the multi...

Original commit message from CVS:
* plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
Don't deadlock when releasing a pad - gst_pad_set_active may try
and take the multiqueue lock too.

17 years agogst/gsterror.*: API: add GST_CORE_ERROR_DISABLED (#392804).
Tim-Philipp Müller [Thu, 12 Apr 2007 12:59:49 +0000 (12:59 +0000)]
gst/gsterror.*: API: add GST_CORE_ERROR_DISABLED (#392804).

Original commit message from CVS:
* gst/gsterror.c: (_gst_core_errors_init):
* gst/gsterror.h:
API: add GST_CORE_ERROR_DISABLED (#392804).

17 years agodocs/faq/gst-uninstalled: don't get empty paths on the PATH variables
Thomas Vander Stichele [Thu, 12 Apr 2007 10:32:38 +0000 (10:32 +0000)]
docs/faq/gst-uninstalled: don't get empty paths on the PATH variables

Original commit message from CVS:
* docs/faq/gst-uninstalled:
don't get empty paths on the PATH variables
* gst/gstpad.c (gst_pad_is_active, gst_pad_set_blocked_async):
Don't format for the uncommon terminal width of 84 characters.

17 years agoback to head
Thomas Vander Stichele [Mon, 9 Apr 2007 11:59:28 +0000 (11:59 +0000)]
back to head

Original commit message from CVS:
back to head

17 years agodon't format for the uncommon editor width of 84 characters
Thomas Vander Stichele [Mon, 9 Apr 2007 08:17:13 +0000 (08:17 +0000)]
don't format for the uncommon editor width of 84 characters

Original commit message from CVS:
don't format for the uncommon editor width of 84 characters

17 years agogst/gstpipeline.c: Only try to select a different pipeline clock when we went back to
Wim Taymans [Fri, 6 Apr 2007 11:48:17 +0000 (11:48 +0000)]
gst/gstpipeline.c: Only try to select a different pipeline clock when we went back to

Original commit message from CVS:
* gst/gstpipeline.c: (reset_stream_time),
(gst_pipeline_change_state), (gst_pipeline_set_new_stream_time):
Only try to select a different pipeline clock when we went back to
PAUSED and not when we merely got flushed.

17 years agotools/gst-launch.1.in: fractions are better supported in gstreamer than ractions...
Michael Smith [Thu, 5 Apr 2007 16:17:24 +0000 (16:17 +0000)]
tools/gst-launch.1.in: fractions are better supported in gstreamer than ractions, so suggest using those.

Original commit message from CVS:
* tools/gst-launch.1.in:
fractions are better supported in gstreamer than ractions, so
suggest using those.

17 years agoupdate dutch
Thomas Vander Stichele [Thu, 5 Apr 2007 13:49:42 +0000 (13:49 +0000)]
update dutch

Original commit message from CVS:
update dutch

17 years agopo/: Added Danish translation.
Thomas Vander Stichele [Thu, 5 Apr 2007 13:46:54 +0000 (13:46 +0000)]
po/: Added Danish translation.

Original commit message from CVS:
Submitted by: Mogens Jaeger <mogens@jaeger.tf>
* po/LINGUAS:
* po/da.po:
Added Danish translation.

17 years agolibs/gst/base/gstbasesink.c: Fix leak caused when refusing newsegment after EOS.
Wim Taymans [Thu, 5 Apr 2007 11:16:09 +0000 (11:16 +0000)]
libs/gst/base/gstbasesink.c: Fix leak caused when refusing newsegment after EOS.

Original commit message from CVS:
* libs/gst/base/gstbasesink.c:
(gst_base_sink_queue_object_unlocked), (gst_base_sink_event):
Fix leak caused when refusing newsegment after EOS.
* plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
(gst_fake_sink_init), (gst_fake_sink_set_property),
(gst_fake_sink_get_property), (gst_fake_sink_preroll),
(gst_fake_sink_render), (gst_fake_sink_change_state):
* plugins/elements/gstfakesink.h:
Add num-buffers property to make the element generate EOS after a
configurable amount of buffers.
API: fakesink::num-buffers property.
* tests/check/elements/fakesink.c: (GST_START_TEST),
(fakesink_suite):
Fix GstBus leak in test.
Test for fakesink num-buffers.

17 years agolibs/gst/base/gstbasesink.c: Don't accept anything after an EOS, return UNEXPECTED...
Wim Taymans [Thu, 5 Apr 2007 10:10:08 +0000 (10:10 +0000)]
libs/gst/base/gstbasesink.c: Don't accept anything after an EOS, return UNEXPECTED instead.

Original commit message from CVS:
* libs/gst/base/gstbasesink.c:
(gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
(gst_base_sink_change_state):
Don't accept anything after an EOS, return UNEXPECTED instead.
* tests/check/elements/fakesink.c: (GST_START_TEST),
(fakesink_suite):
Unit test for new EOS behaviour.

17 years agogst/gstelement.c: Make padtemplates also work when they don't contain %s or %d.
Wim Taymans [Thu, 5 Apr 2007 10:08:21 +0000 (10:08 +0000)]
gst/gstelement.c: Make padtemplates also work when they don't contain %s or %d.

Original commit message from CVS:
* gst/gstelement.c: (gst_element_get_request_pad):
Make padtemplates also work when they don't contain %s or %d.

17 years agoImprove _adjust_unlocked() so that it overflows less.
Wim Taymans [Thu, 5 Apr 2007 10:06:20 +0000 (10:06 +0000)]
Improve _adjust_unlocked() so that it overflows less.

Original commit message from CVS:
* docs/gst/gstreamer-sections.txt:
* gst/gstclock.c: (gst_clock_adjust_unlocked),
(gst_clock_unadjust_unlocked), (gst_clock_set_calibration):
* gst/gstclock.h:
Improve _adjust_unlocked() so that it overflows less.
Add gst_clock_unadjust_unlocked to convert from external time to
internal time based on calibration.
Add some more debug.
API: GstClock::gst_clock_unadjust_unlocked()

17 years agoplugins/elements/gstmultiqueue.c: Deactivate pads and free GstSingleQueue with gst_si...
Tommi Myöhänen [Tue, 3 Apr 2007 11:02:41 +0000 (11:02 +0000)]
plugins/elements/gstmultiqueue.c: Deactivate pads and free GstSingleQueue with gst_single_queue_free() when releasing...

Original commit message from CVS:
Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
* plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
Deactivate pads and free GstSingleQueue with gst_single_queue_free()
when releasing sink pad. Fixes #425400.

17 years agodocs/random/ensonic/dynlink.txt: More work on proposal for new core api.
Stefan Kost [Mon, 2 Apr 2007 14:48:12 +0000 (14:48 +0000)]
docs/random/ensonic/dynlink.txt: More work on proposal for new core api.

Original commit message from CVS:
* docs/random/ensonic/dynlink.txt:
More work on proposal for new core api.
* docs/libs/gstreamer-libs-sections.txt:
* libs/gst/base/gstbasetransform.h:
API: GST_BASE_TRANSFORM_LOCK/UNLOCK added
* libs/gst/controller/gstcontroller.c:
(on_object_controlled_property_changed),
(gst_controller_sync_values),
(gst_controller_set_interpolation_mode):
* libs/gst/controller/gstcontroller.h:
Less verbose logging add docs for unimplemented parts and correctly
return when using unavailable parts.

17 years agogst/gstclock.c: Move all the debug to the CLOCK category, and associate it with the...
Jan Schmidt [Thu, 29 Mar 2007 16:04:45 +0000 (16:04 +0000)]
gst/gstclock.c: Move all the debug to the CLOCK category, and associate it with the clock object.

Original commit message from CVS:
* gst/gstclock.c: (gst_clock_set_master), (do_linear_regression):
Move all the debug to the CLOCK category, and associate it with
the clock object.

17 years agolibs/gst/base/gstadapter.c: Make take_buffer a bit quicker by removing redundant...
Jan Schmidt [Thu, 29 Mar 2007 15:53:03 +0000 (15:53 +0000)]
libs/gst/base/gstadapter.c: Make take_buffer a bit quicker by removing redundant checks caused by calling gst_adapter...

Original commit message from CVS:
* libs/gst/base/gstadapter.c: (gst_adapter_take_buffer):
Make take_buffer a bit quicker by removing redundant checks
caused by calling gst_adapter_take.

17 years agoplugins/elements/gstmultiqueue.c: Don't leak GCond.
Tim-Philipp Müller [Wed, 28 Mar 2007 18:38:11 +0000 (18:38 +0000)]
plugins/elements/gstmultiqueue.c: Don't leak GCond.

Original commit message from CVS:
* plugins/elements/gstmultiqueue.c: (gst_single_queue_free):
Don't leak GCond.
* tests/check/Makefile.am:
* tests/check/elements/.cvsignore:
* tests/check/elements/multiqueue.c: (setup_multiqueue),
(GST_START_TEST), (multiqueue_suite):
Add some dead simple unit tests for the 'multiqueue' element
(some bits don't work yet and are disabled for now).

17 years agogst/gstelement.c: Make gst_element_get_request_pad() create request pads only for...
Tim-Philipp Müller [Wed, 28 Mar 2007 18:25:16 +0000 (18:25 +0000)]
gst/gstelement.c: Make gst_element_get_request_pad() create request pads only for request pad templates and not for, ...

Original commit message from CVS:
* gst/gstelement.c: (gst_element_get_request_pad),
(gst_element_class_get_request_pad_template):
Make gst_element_get_request_pad() create request pads only for
request pad templates and not for, say, sometimes pad templates.

17 years agodocs/design/draft-klass.txt: Add example that needs more thinking.
Stefan Kost [Wed, 28 Mar 2007 13:44:41 +0000 (13:44 +0000)]
docs/design/draft-klass.txt: Add example that needs more thinking.

Original commit message from CVS:
* docs/design/draft-klass.txt:
Add example that needs more thinking.
* docs/design/draft-missing-plugins.txt:
More thoughts about wtrapper plugins.
* docs/random/ensonic/embedded.txt:
* docs/random/ensonic/profiling.txt:
More design work.

17 years agolibs/gst/base/gstbasesrc.c: Only push the segment events in the PLAYING state for...
Wim Taymans [Sun, 25 Mar 2007 15:33:35 +0000 (15:33 +0000)]
libs/gst/base/gstbasesrc.c: Only push the segment events in the PLAYING state for live sources.

Original commit message from CVS:
* libs/gst/base/gstbasesrc.c: (gst_base_src_get_range),
(gst_base_src_loop):
Only push the segment events in the PLAYING state for live sources.

17 years agogst/gstpipeline.c: Modify the clock distribution path in PAUSED->PLAYING so that...
Jan Schmidt [Fri, 23 Mar 2007 17:52:19 +0000 (17:52 +0000)]
gst/gstpipeline.c: Modify the clock distribution path in PAUSED->PLAYING so that we never attempt to choose a new clo...

Original commit message from CVS:
* gst/gstpipeline.c: (gst_pipeline_change_state):
Modify the clock distribution path in PAUSED->PLAYING so that we
never attempt to choose a new clock unless we're actually leaving
the PAUSED state for the first time. This prevents choosing a
different clock when the state_change gets called for a 2nd time due
to some element doing an async state change.

17 years agogst/gstpad.c: Revert last commit. This needs some more thoughts.
Sebastian Dröge [Thu, 22 Mar 2007 18:28:00 +0000 (18:28 +0000)]
gst/gstpad.c: Revert last commit. This needs some more thoughts.

Original commit message from CVS:
* gst/gstpad.c: (gst_pad_set_caps), (gst_pad_configure_sink),
(gst_pad_configure_src), (gst_pad_alloc_buffer_full),
(gst_pad_chain_unchecked), (gst_pad_push):
Revert last commit. This needs some more thoughts.

17 years agogst/gstpad.c: Check in set_caps if the caps are compatible with the pad and remove...
Sebastian Dröge [Thu, 22 Mar 2007 17:12:23 +0000 (17:12 +0000)]
gst/gstpad.c: Check in set_caps if the caps are compatible with the pad and remove two functions that are redundant n...

Original commit message from CVS:
* gst/gstpad.c: (gst_pad_set_caps), (gst_pad_alloc_buffer_full),
(gst_pad_chain_unchecked), (gst_pad_push):
Check in set_caps if the caps are compatible with the pad and remove
two functions that are redundant now. Fixes #421543.

17 years agotests/check/gst/gstsystemclock.c: Unref some more to make valgrind happy.
Wim Taymans [Thu, 22 Mar 2007 12:31:54 +0000 (12:31 +0000)]
tests/check/gst/gstsystemclock.c: Unref some more to make valgrind happy.

Original commit message from CVS:
* tests/check/gst/gstsystemclock.c: (GST_START_TEST),
(mixed_thread), (mixed_async_cb), (gst_systemclock_suite):
Unref some more to make valgrind happy.

17 years agogst/gstsystemclock.c: Fix anoying regression that survived a few releases. When addin...
Wim Taymans [Thu, 22 Mar 2007 11:58:08 +0000 (11:58 +0000)]
gst/gstsystemclock.c: Fix anoying regression that survived a few releases. When adding an async entry while blocking ...

Original commit message from CVS:
* gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked),
(gst_system_clock_id_wait_jitter),
(gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
Fix anoying regression that survived a few releases. When adding an
async entry while blocking on a sync entry, the sync entry will unblock
but still be busy, so it should continue to wait instead of returning
_BUSY to the app.
Add some comments here and there.
* tests/check/gst/gstsystemclock.c: (mixed_thread),
(mixed_async_cb), (GST_START_TEST), (gst_systemclock_suite):
Add testcase for this.

17 years agolibs/gst/base/gstbasesrc.c: Handle errors from the clock sync better, only UNSCHEDULE...
Wim Taymans [Thu, 22 Mar 2007 11:19:32 +0000 (11:19 +0000)]
libs/gst/base/gstbasesrc.c: Handle errors from the clock sync better, only UNSCHEDULED indicates a

Original commit message from CVS:
* libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
Handle errors from the clock sync better, only UNSCHEDULED indicates a
WRONG_STATE and can silently pause the task. All other cases should
error out.

17 years agogst/gstpad.c: Fix possible deadlock if pad eventfunc is not specified. Fixes #421177.
Wim Taymans [Thu, 22 Mar 2007 08:23:41 +0000 (08:23 +0000)]
gst/gstpad.c: Fix possible deadlock if pad eventfunc is not specified.  Fixes #421177.

Original commit message from CVS:
Patch by: <syrjala at sci dot fi>
* gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_send_event):
Fix possible deadlock if pad eventfunc is not specified.  Fixes #421177.
Improve debugging.

17 years agodocs/pwg/advanced-types.xml: Fix some errors in the typefinding docs pointed out...
Michael Smith [Wed, 21 Mar 2007 18:13:40 +0000 (18:13 +0000)]
docs/pwg/advanced-types.xml: Fix some errors in the typefinding docs pointed out on irc.

Original commit message from CVS:
* docs/pwg/advanced-types.xml:
Fix some errors in the typefinding docs pointed out on irc.

17 years agolibs/gst/base/gstbasesrc.c: Clarify FIXME comment in the face of having added unlock_...
Jan Schmidt [Wed, 21 Mar 2007 17:50:46 +0000 (17:50 +0000)]
libs/gst/base/gstbasesrc.c: Clarify FIXME comment in the face of having added unlock_stop()

Original commit message from CVS:
* libs/gst/base/gstbasesrc.c:
Clarify FIXME comment in the face of having added unlock_stop()

17 years agogst/gstbin.c: Prepare for release where we warn against possible app breakage in...
Wim Taymans [Wed, 21 Mar 2007 11:52:04 +0000 (11:52 +0000)]
gst/gstbin.c: Prepare for release where we warn against possible app breakage in the case of live pipelines along wit...

Original commit message from CVS:
* gst/gstbin.c: (gst_bin_get_type), (gst_bin_element_set_state):
Prepare for release where we warn against possible app breakage in the
case of live pipelines along with an env var to enable/disable live
preroll mode (GST_COMPAT=[no-]live-preroll).

17 years agoplugins/elements/gstidentity.c (gst_identity_check_imperfect_offset): So we should...
Zaheer Abbas Merali [Tue, 20 Mar 2007 14:25:15 +0000 (14:25 +0000)]
plugins/elements/gstidentity.c (gst_identity_check_imperfect_offset): So we should use correct constants for checking...

Original commit message from CVS:
* plugins/elements/gstidentity.c (gst_identity_check_imperfect_offset):
So we should use correct constants for checking for None offset.

17 years agodocs/design/part-block.txt: Mention the fact that the newly switched element should...
Wim Taymans [Tue, 20 Mar 2007 14:17:47 +0000 (14:17 +0000)]
docs/design/part-block.txt: Mention the fact that the newly switched element should be set to at least PAUSED.

Original commit message from CVS:
* docs/design/part-block.txt:
Mention the fact that the newly switched element should be set to at
least PAUSED.

17 years agogst/gst.c: Fix compilation with registry disabled as spotted by Saur.
Wim Taymans [Tue, 20 Mar 2007 10:23:25 +0000 (10:23 +0000)]
gst/gst.c: Fix compilation with registry disabled as spotted by Saur.

Original commit message from CVS:
* gst/gst.c:
Fix compilation with registry disabled as spotted by Saur.

17 years agogst/gstelement.c: Look at the pending state too when syncing the element state to...
Olivier Crete [Tue, 20 Mar 2007 09:46:11 +0000 (09:46 +0000)]
gst/gstelement.c: Look at the pending state too when syncing the element state to the parent. Fixes #420133.

Original commit message from CVS:
Patch by: Olivier Crete <tester at tester dot ca>
* gst/gstelement.c: (gst_element_sync_state_with_parent):
Look at the pending state too when syncing the element state to the
parent. Fixes #420133.

17 years agolibs/gst/base/: Add ::unlock_stop to basesrc and basesink. This allows an opportunity...
Jan Schmidt [Mon, 19 Mar 2007 15:01:40 +0000 (15:01 +0000)]
libs/gst/base/: Add ::unlock_stop to basesrc and basesink. This allows an opportunity for sub-classes to correctly cl...

Original commit message from CVS:
* libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
(gst_base_sink_change_state):
* libs/gst/base/gstbasesink.h:
* libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
(gst_base_src_default_event), (gst_base_src_unlock_stop),
(gst_base_src_deactivate):
* libs/gst/base/gstbasesrc.h:
Add ::unlock_stop to basesrc and basesink. This allows an opportunity
for sub-classes to correctly clear any state they set trying to
unlock, such as clearing out unlock commands from a command fd.
* plugins/elements/gstfdsink.c: (gst_fd_sink_class_init),
(gst_fd_sink_render), (gst_fd_sink_unlock),
(gst_fd_sink_unlock_stop):
* plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
(gst_fd_src_init), (gst_fd_src_unlock), (gst_fd_src_unlock_stop),
(gst_fd_src_create), (gst_fd_src_get_size), (gst_fd_src_do_seek):
Implement unlock_stop in fdsrc and fdsink.
Implement seeking in fdsrc when a seekable fd is passed, as in
gst-launch-0.10 fdsrc ! ... ! xvimagesink < /path/to/file

17 years agogst/gstelement.c: Fix pad-added and pad-removed signal signatures so that the pad...
Evan Nemerson [Mon, 19 Mar 2007 12:07:32 +0000 (12:07 +0000)]
gst/gstelement.c: Fix pad-added and pad-removed signal signatures so that the pad type is stated as GST_TYPE_PAD inst...

Original commit message from CVS:
Patch by: Evan Nemerson <evan at coeus dash group dot com>
* gst/gstelement.c: (gst_element_class_init):
Fix pad-added and pad-removed signal signatures so that the pad type is
stated as GST_TYPE_PAD instead of G_TYPE_OBJECT. Fixes #419851.

17 years agodocs/gst/gstreamer-sections.txt: Add new element field and method.
Wim Taymans [Mon, 19 Mar 2007 10:47:56 +0000 (10:47 +0000)]
docs/gst/gstreamer-sections.txt: Add new element field and method.

Original commit message from CVS:
* docs/gst/gstreamer-sections.txt:
Add new element field and method.
* gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
(bin_remove_messages), (gst_bin_add_func), (gst_bin_remove_func),
(gst_bin_recalc_state), (gst_bin_get_state_func),
(gst_bin_element_set_state), (gst_bin_change_state_func),
(gst_bin_continue_func), (bin_bus_handler),
(bin_push_state_continue), (bin_handle_async_start),
(bin_handle_async_done), (gst_bin_handle_message_func):
Make async state changes a bit smarter by using new ASYNC_START and
ASYNC_DONE messages. This reduces the number of times we run the state
recalculation thread.
Don't change state of element with a pending ASYNC_START message.
Deprecate STATE_DIRTY messages.
* gst/gstelement.c: (gst_element_init), (gst_element_send_event),
(gst_element_get_state_func), (gst_element_continue_state),
(gst_element_lost_state), (gst_element_set_state_func),
(gst_element_change_state):
* gst/gstelement.h:
Keep the state that was last set by the app in a new element field.
Don't allow state changes when handling an element event.
Post ASYNC_START and ASYNC_DONE messages.
Change lost_state so that we go to PAUSED and wait for the parent to set
us to PLAYING again (so latency calculation can be performed)
Export gst_element_change_state() method so that subclasses can use it.
API: gst_element_change_state()
API: GST_STATE_TARGET
* gst/gstpipeline.c: (gst_pipeline_class_init),
(reset_stream_time), (gst_pipeline_change_state),
(gst_pipeline_handle_message), (gst_pipeline_set_new_stream_time):
Using the new ASYNC_START message we can reset the base_time when
needed. This can then be used to implement base_time redistribution in
flushing seeks so that we can remove the explicit seek handling.
Perform latency query and configuration when going to PLAYING.
* libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
(gst_base_sink_query), (gst_base_sink_change_state):
Post new ASYNC_START/ASYNC_DONE messages.
* tests/check/generic/sinks.c: (GST_START_TEST):
Fix test because the bin will not set the async element to PLAYING right
away.
* tests/check/gst/gstbin.c: (pop_async_done), (GST_START_TEST):
Make the message check a little stronger.
Handle ASYNC messages.
* tests/check/pipelines/cleanup.c: (GST_START_TEST):
* tests/check/pipelines/simple-launch-lines.c: (GST_START_TEST):
Expect ASYNC_DONE messages.

17 years agoAdd ASYNC_START and ASYNC_DONE messages to prepare for latency support.
Wim Taymans [Mon, 19 Mar 2007 09:55:02 +0000 (09:55 +0000)]
Add ASYNC_START and ASYNC_DONE messages to prepare for latency support.

Original commit message from CVS:
* docs/gst/gstreamer-sections.txt:
* gst/gstmessage.c: (gst_message_new_async_start),
(gst_message_new_async_done), (gst_message_parse_info),
(gst_message_parse_async_start):
* gst/gstmessage.h:
Add ASYNC_START and ASYNC_DONE messages to prepare for latency
support.

17 years agotypos
Thomas Vander Stichele [Thu, 15 Mar 2007 22:33:14 +0000 (22:33 +0000)]
typos

Original commit message from CVS:
typos

17 years agotools/gst-inspect.c: Now that we don't check for the 'Codec' keyword any longer in...
Tim-Philipp Müller [Thu, 15 Mar 2007 12:37:50 +0000 (12:37 +0000)]
tools/gst-inspect.c: Now that we don't check for the 'Codec' keyword any longer in the klass, we shouldn't spew a war...

Original commit message from CVS:
* tools/gst-inspect.c:
(print_plugin_automatic_install_info_codecs):
Now that we don't check for the 'Codec' keyword any longer in the
klass, we shouldn't spew a warning if the klass isn't a decoder or
encoder (since it might be a Source/Network, for example).

17 years agotools/gst-inspect.c: Don't require decoder/demuxer/depayloader elements or encoder...
Tim-Philipp Müller [Wed, 14 Mar 2007 17:24:18 +0000 (17:24 +0000)]
tools/gst-inspect.c: Don't require decoder/demuxer/depayloader elements or encoder/muxer/paylader elements to have 'C...

Original commit message from CVS:
* tools/gst-inspect.c:
(print_plugin_automatic_install_info_codecs):
Don't require decoder/demuxer/depayloader elements or
encoder/muxer/paylader elements to have 'Codec' as part of their
factory class string when introspecting a plugin's capabilities.
draft-klass.txt mentions that it might be removed in future, and
flump3dec doesn't have it as part of its class string, so chances
are others might also not have it.

17 years agoupdate i18n doc
Thomas Vander Stichele [Wed, 14 Mar 2007 15:42:01 +0000 (15:42 +0000)]
update i18n doc

Original commit message from CVS:
update i18n doc

17 years agoreformat
Thomas Vander Stichele [Wed, 14 Mar 2007 15:17:09 +0000 (15:17 +0000)]
reformat

Original commit message from CVS:
reformat

17 years agopo/: Update translations from translation project
Thomas Vander Stichele [Wed, 14 Mar 2007 15:15:45 +0000 (15:15 +0000)]
po/: Update translations from translation project

Original commit message from CVS:
* po/af.po:
* po/az.po:
* po/bg.po:
* po/ca.po:
* po/cs.po:
* po/de.po:
* po/en_GB.po:
* po/fr.po:
* po/it.po:
* po/nb.po:
* po/nl.po:
* po/ru.po:
* po/sq.po:
* po/sr.po:
* po/sv.po:
* po/tr.po:
* po/uk.po:
* po/vi.po:
* po/zh_CN.po:
* po/zh_TW.po:
Update translations from translation project

17 years agogst/gstchildproxy.c: Invert precondition check to be alike the ones in the mimiced...
Stefan Kost [Wed, 14 Mar 2007 13:40:28 +0000 (13:40 +0000)]
gst/gstchildproxy.c: Invert precondition check to be alike the ones in the mimiced gobject api.

Original commit message from CVS:
* gst/gstchildproxy.c: (gst_child_proxy_get_property),
(gst_child_proxy_set_property):
Invert precondition check to be alike the ones in the mimiced gobject
api.

17 years agofix misleading log statement
Thomas Vander Stichele [Wed, 14 Mar 2007 11:21:48 +0000 (11:21 +0000)]
fix misleading log statement

Original commit message from CVS:
fix misleading log statement

17 years agodocs/: Do some Architect work.
Stefan Kost [Tue, 13 Mar 2007 14:53:21 +0000 (14:53 +0000)]
docs/: Do some Architect work.

Original commit message from CVS:
* docs/design/draft-tagreading.txt:
* docs/random/ensonic/audiobaseclasses.txt:
Do some Architect work.
* gst/gstobject.c: (gst_object_set_name):
Add a WARNING.
* gst/gstpad.c:
Add docs that point from gst_pad_get_range to gst_pad_pull_range

17 years agogst/gstsystemclock.c: Defer starting the async system clock thread until the first...
Jan Schmidt [Mon, 12 Mar 2007 15:27:05 +0000 (15:27 +0000)]
gst/gstsystemclock.c: Defer starting the async system clock thread until the first async wait is scheduled. Fixes #41...

Original commit message from CVS:
* gst/gstsystemclock.c: (gst_system_clock_init),
(gst_system_clock_start_async), (gst_system_clock_id_wait_async):
Defer starting the async system clock thread until the first async
wait is scheduled. Fixes #414986.

17 years agoplugins/elements/gstmultiqueue.c: Fix small leak (free GstSingleQueue structure too...
Tim-Philipp Müller [Mon, 12 Mar 2007 14:23:16 +0000 (14:23 +0000)]
plugins/elements/gstmultiqueue.c: Fix small leak (free GstSingleQueue structure too, not only contents).

Original commit message from CVS:
* plugins/elements/gstmultiqueue.c: (gst_multi_queue_finalize),
(gst_single_queue_free):
Fix small leak (free GstSingleQueue structure too, not only contents).

17 years agogst/gstbin.c: Use GST_STR_NULL to prevent NULL pointer to be passed to GST_CAT_DEBUG.
Sébastien Moutte [Sat, 10 Mar 2007 15:44:44 +0000 (15:44 +0000)]
gst/gstbin.c: Use GST_STR_NULL to prevent NULL pointer to be passed to GST_CAT_DEBUG.

Original commit message from CVS:
* gst/gstbin.c:(gst_bin_add):
Use GST_STR_NULL to prevent NULL pointer to be passed to GST_CAT_DEBUG.
* win32/common/libgstbase.def:
* win32/common/libgstreamer.def:
Add new exported functions.

17 years agodocs/plugins/gstreamer-plugins-sections.txt: Fix GstTee docs.
Wim Taymans [Fri, 9 Mar 2007 16:39:29 +0000 (16:39 +0000)]
docs/plugins/gstreamer-plugins-sections.txt: Fix GstTee docs.

Original commit message from CVS:
* docs/plugins/gstreamer-plugins-sections.txt:
Fix GstTee docs.

17 years agoAdd metadata copy functions. Fixes #393099.
Wim Taymans [Fri, 9 Mar 2007 16:30:38 +0000 (16:30 +0000)]
Add metadata copy functions. Fixes #393099.

Original commit message from CVS:
* docs/gst/gstreamer-sections.txt:
* gst/gstbuffer.c: (gst_buffer_copy_metadata), (_gst_buffer_copy):
* gst/gstbuffer.h:
Add metadata copy functions. Fixes #393099.
* gst/gstutils.c: (gst_buffer_stamp):
* libs/gst/base/gstbasetransform.c:
(gst_base_transform_prepare_output_buffer):
Use new metadata copy functions.

17 years agoplugins/elements/gstidentity.*: Separate out check-imperfect-timestamp and check...
Thomas Vander Stichele [Fri, 9 Mar 2007 14:20:25 +0000 (14:20 +0000)]
plugins/elements/gstidentity.*: Separate out check-imperfect-timestamp and check-imperfect-offset.

Original commit message from CVS:
* plugins/elements/gstidentity.c: (gst_identity_class_init),
(gst_identity_init), (gst_identity_check_perfect),
(gst_identity_check_imperfect_timestamp),
(gst_identity_check_imperfect_offset), (gst_identity_transform_ip),
(gst_identity_set_property), (gst_identity_get_property):
* plugins/elements/gstidentity.h:
Separate out check-imperfect-timestamp and check-imperfect-offset.
Put back check-perfect as it was to keep compatibility.

17 years agogst/gstelement.c: There's no need to warn if VOID_PENDING is not NONE here, as long...
Jan Schmidt [Fri, 9 Mar 2007 12:34:46 +0000 (12:34 +0000)]
gst/gstelement.c: There's no need to warn if VOID_PENDING is not NONE here, as long as the state is NULL it's ok, and...

Original commit message from CVS:
* gst/gstelement.c: (gst_element_dispose):
There's no need to warn if VOID_PENDING is not NONE here, as
long as the state is NULL it's ok, and that's checked immediately
above.

17 years agoplugins/elements/gstidentity.c: Fix check for perfect stream to ignore buffers with...
Zaheer Abbas Merali [Thu, 8 Mar 2007 17:58:57 +0000 (17:58 +0000)]
plugins/elements/gstidentity.c: Fix check for perfect stream to ignore buffers with -1 offsets/offset ends when check...

Original commit message from CVS:
2007-03-08  Zaheer Abbas Merali  <zaheerabbas at merali dot org>

* plugins/elements/gstidentity.c: (gst_identity_check_perfect):
Fix check for perfect stream to ignore buffers with -1
offsets/offset ends when checking data contiguity.

17 years agotools/gst-launch.c: Print INFO messages.
Wim Taymans [Thu, 8 Mar 2007 16:26:44 +0000 (16:26 +0000)]
tools/gst-launch.c: Print INFO messages.

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