platform/upstream/gstreamer.git
18 years agoremove old win32 stuff that isn't maintained and should be reorganized
Thomas Vander Stichele [Wed, 30 Nov 2005 16:17:23 +0000 (16:17 +0000)]
remove old win32 stuff that isn't maintained and should be reorganized

Original commit message from CVS:
remove old win32 stuff that isn't maintained and should be
reorganized

18 years agoremove getbits
Thomas Vander Stichele [Wed, 30 Nov 2005 16:12:48 +0000 (16:12 +0000)]
remove getbits

Original commit message from CVS:
remove getbits

18 years agoconfigure.ac (GST_PKG_DEPS): Revert previous patch, makes loading the gst.interfaces...
Andy Wingo [Wed, 30 Nov 2005 16:10:57 +0000 (16:10 +0000)]
configure.ac (GST_PKG_DEPS): Revert previous patch, makes loading the gst.interfaces python module bork.

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

* configure.ac (GST_PKG_DEPS): Revert previous patch, makes
loading the gst.interfaces python module bork.

* configure.ac (GST_PKG_DEPS): Use gmodule-no-export-2.0.pc,
available since GLib 2.2. Fixes #318031.

18 years agomove all of these under tests
Thomas Vander Stichele [Wed, 30 Nov 2005 16:08:31 +0000 (16:08 +0000)]
move all of these under tests

Original commit message from CVS:
move all of these under tests

18 years agoupdate after thomas's CVS surgery
Christian Schaller [Wed, 30 Nov 2005 15:37:36 +0000 (15:37 +0000)]
update after thomas's CVS surgery

Original commit message from CVS:
update after thomas's CVS surgery

18 years agoadd Makefile.am
Thomas Vander Stichele [Wed, 30 Nov 2005 15:34:37 +0000 (15:34 +0000)]
add Makefile.am

Original commit message from CVS:
add Makefile.am

18 years agofix distcheck
Thomas Vander Stichele [Wed, 30 Nov 2005 15:29:05 +0000 (15:29 +0000)]
fix distcheck

Original commit message from CVS:

* configure.ac:
* tests/Makefile.am:
fix distcheck

18 years agocompile warning fixes
Thomas Vander Stichele [Wed, 30 Nov 2005 15:20:29 +0000 (15:20 +0000)]
compile warning fixes

Original commit message from CVS:
compile warning fixes

18 years agoremove compprep
Thomas Vander Stichele [Wed, 30 Nov 2005 13:28:13 +0000 (13:28 +0000)]
remove compprep

Original commit message from CVS:
remove compprep

18 years agoconfigure.ac (GST_PKG_DEPS): Use gmodule-no-export-2.0.pc, available since GLib 2...
Andy Wingo [Wed, 30 Nov 2005 13:25:05 +0000 (13:25 +0000)]
configure.ac (GST_PKG_DEPS): Use gmodule-no-export-2.0.pc, available since GLib 2.2. Fixes #318031.

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

* configure.ac (GST_PKG_DEPS): Use gmodule-no-export-2.0.pc,
available since GLib 2.2. Fixes #318031.

18 years agoFirst pass at cleaning up tests/ dir before moving the rest
Thomas Vander Stichele [Wed, 30 Nov 2005 13:08:08 +0000 (13:08 +0000)]
First pass at cleaning up tests/ dir before moving the rest

Original commit message from CVS:
* configure.ac:
* tests/bench-complexity.scm:
* tests/bench-mass_elements.scm:
* tests/complexity.c:
* tests/complexity.gnuplot:
* tests/instantiate/.cvsignore:
* tests/instantiate/Makefile.am:
* tests/instantiate/caps.c:
* tests/mass_elements.c:
* tests/network-clock-utils.scm:
* tests/network-clock.scm:
* tests/plot-data:
First pass at cleaning up tests/ dir before moving the rest
Combined with CVS surgery

18 years agomove includes
Thomas Vander Stichele [Wed, 30 Nov 2005 13:07:15 +0000 (13:07 +0000)]
move includes

Original commit message from CVS:
move includes

18 years agoremove norwegianism
Thomas Vander Stichele [Wed, 30 Nov 2005 11:55:32 +0000 (11:55 +0000)]
remove norwegianism

Original commit message from CVS:
remove norwegianism

18 years agomake not having check non-fatal for extra targets
Thomas Vander Stichele [Wed, 30 Nov 2005 10:50:57 +0000 (10:50 +0000)]
make not having check non-fatal for extra targets

Original commit message from CVS:
make not having check non-fatal for extra targets

18 years agopo/POTFILES.in: queue has moved, update
Thomas Vander Stichele [Wed, 30 Nov 2005 10:15:08 +0000 (10:15 +0000)]
po/POTFILES.in: queue has moved, update

Original commit message from CVS:

* po/POTFILES.in:
queue has moved, update

18 years agoadd some explicit casts update dsp files; also installs the debug build in \gstreamer...
Thomas Vander Stichele [Wed, 30 Nov 2005 10:13:54 +0000 (10:13 +0000)]
add some explicit casts update dsp files; also installs the debug build in \gstreamer\debug to separate it from the n...

Original commit message from CVS:
add some explicit casts
update dsp files; also installs the debug build in \gstreamer\debug to separate it from the non-debug build

18 years agoadd more symbols to def file
Thomas Vander Stichele [Wed, 30 Nov 2005 10:03:46 +0000 (10:03 +0000)]
add more symbols to def file

Original commit message from CVS:
add more symbols to def file

18 years agodocs/gst/gstreamer-sections.txt: remove double entries from the docs
Thomas Vander Stichele [Wed, 30 Nov 2005 09:59:04 +0000 (09:59 +0000)]
docs/gst/gstreamer-sections.txt: remove double entries from the docs

Original commit message from CVS:

* docs/gst/gstreamer-sections.txt:
remove double entries from the docs
* gst/gst_private.h:
* gst/gstinfo.c: (_gst_debug_init):
remove the THREAD debug category
* gst/Makefile.am:
* gst/gstqueue.c:
* gst/gstqueue.h:
* docs/gst/gstreamer.types:
* plugins/elements/gstqueue.c: (gst_queue_get_type),
(gst_queue_init), (gst_queue_finalize), (gst_queue_change_state):
completely move queue and fix up debugging categories

18 years agoplugins/elements/gstidentity.c: make initialization portable, using LL is not
Thomas Vander Stichele [Wed, 30 Nov 2005 09:38:42 +0000 (09:38 +0000)]
plugins/elements/gstidentity.c: make initialization portable, using LL is not

Original commit message from CVS:

* plugins/elements/gstidentity.c: (gst_identity_transform_ip):
make initialization portable, using LL is not

18 years agoadd more symbols to def file
Thomas Vander Stichele [Wed, 30 Nov 2005 09:36:19 +0000 (09:36 +0000)]
add more symbols to def file

Original commit message from CVS:
add more symbols to def file

18 years agoadd more symbols to def file
Thomas Vander Stichele [Wed, 30 Nov 2005 09:30:50 +0000 (09:30 +0000)]
add more symbols to def file

Original commit message from CVS:
add more symbols to def file

18 years agowin32/common/gstconfig.h: add large padding
Thomas Vander Stichele [Wed, 30 Nov 2005 09:27:47 +0000 (09:27 +0000)]
win32/common/gstconfig.h: add large padding

Original commit message from CVS:

* win32/common/gstconfig.h:
add large padding

18 years agowin32/common/libgstreamer.def: rename symbols; sort base section
Thomas Vander Stichele [Wed, 30 Nov 2005 09:22:45 +0000 (09:22 +0000)]
win32/common/libgstreamer.def: rename symbols; sort base section

Original commit message from CVS:

* win32/common/libgstreamer.def:
rename symbols; sort base section

18 years agogst/gstclock.c: remove crack non-portable handrolled DEBUG macro
Thomas Vander Stichele [Wed, 30 Nov 2005 09:18:15 +0000 (09:18 +0000)]
gst/gstclock.c: remove crack non-portable handrolled DEBUG macro

Original commit message from CVS:
2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>

* gst/gstclock.c: (do_linear_regression):
remove crack non-portable handrolled DEBUG macro

18 years agoupdate visual studio generated files
Thomas Vander Stichele [Wed, 30 Nov 2005 09:12:57 +0000 (09:12 +0000)]
update visual studio generated files

Original commit message from CVS:
update visual studio generated files

18 years agowin32/vs6/: update project files for new locations
Thomas Vander Stichele [Wed, 30 Nov 2005 08:56:59 +0000 (08:56 +0000)]
win32/vs6/: update project files for new locations

Original commit message from CVS:

* win32/vs6/libgstbase.dsp:
* win32/vs6/libgstelements.dsp:
update project files for new locations

18 years agoMakefile.am: remove some files
Thomas Vander Stichele [Wed, 30 Nov 2005 08:52:41 +0000 (08:52 +0000)]
Makefile.am: remove some files

Original commit message from CVS:

* Makefile.am:
remove some files
* README:
reinstate and update
* DEVEL:
* REQUIREMENTS:
removed
* LICENSE:
* docs/random/LICENSE:
moved to random

18 years agoput the README back
Thomas Vander Stichele [Wed, 30 Nov 2005 08:36:47 +0000 (08:36 +0000)]
put the README back

Original commit message from CVS:
put the README back

18 years agoclean up TODO
Thomas Vander Stichele [Wed, 30 Nov 2005 08:33:33 +0000 (08:33 +0000)]
clean up TODO

Original commit message from CVS:
clean up TODO

18 years agoremoving ext, was not used anymore
Thomas Vander Stichele [Wed, 30 Nov 2005 08:29:14 +0000 (08:29 +0000)]
removing ext, was not used anymore

Original commit message from CVS:
removing ext, was not used anymore

18 years agogst/: Fix memory leak in GstTypeFindFactory.
Edward Hervey [Tue, 29 Nov 2005 23:56:20 +0000 (23:56 +0000)]
gst/: Fix memory leak in GstTypeFindFactory.

Original commit message from CVS:
* gst/gsttypefind.c: (gst_type_find_register):
* gst/gsttypefind.h:
* gst/gsttypefindfactory.c: (gst_type_find_factory_init),
(gst_type_find_factory_dispose):
* gst/gsttypefindfactory.h:
Fix memory leak in GstTypeFindFactory.

18 years agoupdated translations
Thomas Vander Stichele [Tue, 29 Nov 2005 20:16:40 +0000 (20:16 +0000)]
updated translations

Original commit message from CVS:
updated translations

18 years agomove queue from core to the elements plugin ç
Thomas Vander Stichele [Tue, 29 Nov 2005 19:47:00 +0000 (19:47 +0000)]
move queue from core to the elements plugin ç

Original commit message from CVS:

* gst/gst.c:
* plugins/elements/Makefile.am:
* plugins/elements/gstelements.c:
* plugins/elements/gstqueue.c:
move queue from core to the elements plugin

ç

18 years agoupdate uninstalled pc files
Thomas Vander Stichele [Tue, 29 Nov 2005 19:44:56 +0000 (19:44 +0000)]
update uninstalled pc files

Original commit message from CVS:
update uninstalled pc files

18 years agolibs/gst/base/: en-LARGE the padding.
Andy Wingo [Tue, 29 Nov 2005 19:37:49 +0000 (19:37 +0000)]
libs/gst/base/: en-LARGE the padding.

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

* libs/gst/base/gstbasetransform.h:
* libs/gst/base/gstbasesrc.h:
* libs/gst/base/gstbasesink.h: en-LARGE the padding.

* gst/gstconfig.h.in (GST_PADDING_LARGE): New define, the number
of pointers by which to pad very extensible base classes (like the
ones in libs/gst/base).

18 years agodocs/: moving documentation from core to lib
Thomas Vander Stichele [Tue, 29 Nov 2005 19:34:24 +0000 (19:34 +0000)]
docs/: moving documentation from core to lib

Original commit message from CVS:

* docs/gst/gstreamer-docs.sgml:
* docs/gst/gstreamer-sections.txt:
* docs/libs/gstreamer-libs-docs.sgml:
* docs/libs/gstreamer-libs-sections.txt:
moving documentation from core to lib

18 years agoCVS surgery + support to move base, check, and net out of gst and into libs/gst
Thomas Vander Stichele [Tue, 29 Nov 2005 19:12:30 +0000 (19:12 +0000)]
CVS surgery + support to move base, check, and net out of gst and into libs/gst

Original commit message from CVS:
CVS surgery + support to move base, check, and net out of gst
and into libs/gst

18 years agogst/gstevent.h (struct _GstEvent): Only one pointer of padding.
Andy Wingo [Tue, 29 Nov 2005 18:57:59 +0000 (18:57 +0000)]
gst/gstevent.h (struct _GstEvent): Only one pointer of padding.

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

* gst/gstevent.h (struct _GstEvent): Only one pointer of padding.

* gst/gststructure.h (struct _GstStructure): Only one pointer of
padding.

* gst/gstquery.h (struct _GstQuery): Only one pointer of padding.

* gst/gstpluginfeature.h: Remove a comment in PluginFeature.

* gst/gstplugin.h (struct _GstPluginClass): Add some padding.

* gst/gstobject.h: (struct _GstObject): Only one pointer of
padding; reduces object size by about 30%. We don't expect
anything else to go into gstobject.

* gst/gstminiobject.h (struct _GstMiniObject)
(struct _GstMiniObjectClass): Only one pointer of padding; the
payload is only a pointer and two ints anyway. For the class there
are only two methods as well.

* gst/gstelement.h (struct _GstElementClass): Removed
the state_changed signal callback, it is not used.

18 years agowhack a mole
Andy Wingo [Tue, 29 Nov 2005 18:49:19 +0000 (18:49 +0000)]
whack a mole

Original commit message from CVS:
whack a mole

18 years agothese files were moved
Thomas Vander Stichele [Tue, 29 Nov 2005 18:38:46 +0000 (18:38 +0000)]
these files were moved

Original commit message from CVS:
these files were moved

18 years agodocs/gst/gstreamer.types: fix includes, though they are a little dinky
Thomas Vander Stichele [Tue, 29 Nov 2005 18:21:17 +0000 (18:21 +0000)]
docs/gst/gstreamer.types: fix includes, though they are a little dinky

Original commit message from CVS:

* docs/gst/gstreamer.types:
fix includes, though they are a little dinky

18 years agocheck/Makefile.am: look in the right place for elements, a lot more chance of success
Thomas Vander Stichele [Tue, 29 Nov 2005 18:14:35 +0000 (18:14 +0000)]
check/Makefile.am: look in the right place for elements, a lot more chance of success

Original commit message from CVS:

* check/Makefile.am:
look in the right place for elements, a lot more chance of
success
* gst/Makefile.am:
remove indexers and elements subdirs
* plugins/Makefile.am:
make indexers conditional

18 years agoadd missing Makefile.am
Thomas Vander Stichele [Tue, 29 Nov 2005 18:08:15 +0000 (18:08 +0000)]
add missing Makefile.am

Original commit message from CVS:
add missing Makefile.am

18 years agofix doc build for stuff moved around
Thomas Vander Stichele [Tue, 29 Nov 2005 18:04:28 +0000 (18:04 +0000)]
fix doc build for stuff moved around

Original commit message from CVS:
fix doc build for stuff moved around

18 years agoremove moved dirs
Thomas Vander Stichele [Tue, 29 Nov 2005 18:03:52 +0000 (18:03 +0000)]
remove moved dirs

Original commit message from CVS:
remove moved dirs

18 years agoremove empty dirs
Thomas Vander Stichele [Tue, 29 Nov 2005 18:02:45 +0000 (18:02 +0000)]
remove empty dirs

Original commit message from CVS:
remove empty dirs

18 years agodo CVS surgery and related build fixery to move elements and indexers in a new gstrea...
Thomas Vander Stichele [Tue, 29 Nov 2005 18:00:15 +0000 (18:00 +0000)]
do CVS surgery and related build fixery to move elements and indexers in a new gstreamer/plugins directory, out of th...

Original commit message from CVS:

* Makefile.am:
* configure.ac:
* plugins/elements/Makefile.am:
* plugins/elements/gstcapsfilter.c:
* plugins/elements/gstfilesink.c:
* plugins/elements/gstfilesrc.c:
* plugins/elements/gstidentity.c:
* plugins/indexers/Makefile.am:
do CVS surgery and related build fixery to move elements
and indexers in a new gstreamer/plugins directory, out of the
gst/ directory

18 years agoRename gstnet-tempname to gstnet. Fixes #322257.
Andy Wingo [Tue, 29 Nov 2005 17:47:06 +0000 (17:47 +0000)]
Rename gstnet-tempname to gstnet. Fixes #322257.

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

* check/Makefile.am:
* pkgconfig/gstreamer-net-uninstalled.pc.in:
* pkgconfig/gstreamer-net.pc.in:
* gst/net/Makefile.am: Rename gstnet-tempname to gstnet. Fixes
#322257.

18 years agoignore more
Thomas Vander Stichele [Tue, 29 Nov 2005 17:35:03 +0000 (17:35 +0000)]
ignore more

Original commit message from CVS:
ignore more

18 years agoremove some more complete
Thomas Vander Stichele [Tue, 29 Nov 2005 17:33:55 +0000 (17:33 +0000)]
remove some more complete

Original commit message from CVS:
remove some more complete

18 years agotools/: removing -compprep and -complete
Thomas Vander Stichele [Tue, 29 Nov 2005 17:32:36 +0000 (17:32 +0000)]
tools/: removing -compprep and -complete

Original commit message from CVS:

* tools/Makefile.am:
* tools/gst-complete.1.in:
* tools/gst-complete.c:
* tools/gst-compprep.1.in:
* tools/gst-compprep.c:
removing -compprep and -complete

18 years agogst/gstevent.*: fix #320529 - clean up new_segment API and structure.
Thomas Vander Stichele [Tue, 29 Nov 2005 17:23:56 +0000 (17:23 +0000)]
gst/gstevent.*: fix #320529 - clean up new_segment API and structure.

Original commit message from CVS:

* gst/gstevent.c: (gst_event_new_new_segment),
(gst_event_parse_new_segment):
* gst/gstevent.h:
fix #320529 - clean up new_segment API and structure.
Let's hope everyone was using the methods, and not the structure.

18 years agogst/base/gstbasesink.c: Properly handle non GST_FORMAT_TIME segment
Edward Hervey [Tue, 29 Nov 2005 17:13:44 +0000 (17:13 +0000)]
gst/base/gstbasesink.c: Properly handle non GST_FORMAT_TIME segment

Original commit message from CVS:
* gst/base/gstbasesink.c: (gst_base_sink_handle_object),
(gst_base_sink_event), (gst_base_sink_do_sync),
(gst_base_sink_activate_pull), (gst_base_sink_change_state):
Properly handle non GST_FORMAT_TIME segment
* gst/elements/gstidentity.c: (gst_identity_transform_ip):
Properly handle non GST_FORMAT_TIME segment
* gst/gstsegment.c:
This function is valid if the accumulator is 0 and the format
is different from the requested format.

18 years agodocs/gst/gstreamer-sections.txt: Add gst_query_new_seeking and gst_query_parse_seekin...
Jan Schmidt [Tue, 29 Nov 2005 15:50:50 +0000 (15:50 +0000)]
docs/gst/gstreamer-sections.txt: Add gst_query_new_seeking and gst_query_parse_seeking to the docs.

Original commit message from CVS:
* docs/gst/gstreamer-sections.txt:
Add gst_query_new_seeking and gst_query_parse_seeking to the
docs.

18 years agoFix conflict marker
Jan Schmidt [Tue, 29 Nov 2005 15:15:38 +0000 (15:15 +0000)]
Fix conflict marker

Original commit message from CVS:
Fix conflict marker

18 years agogst/base/gstbasetransform.c: Treat a pad alloc with new caps the same as if we were...
Jan Schmidt [Tue, 29 Nov 2005 15:12:22 +0000 (15:12 +0000)]
gst/base/gstbasetransform.c: Treat a pad alloc with new caps the same as if we were not negotiated, in order to allow...

Original commit message from CVS:
* gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
Treat a pad alloc with new caps the same as if we were not
negotiated, in order to allow a changing upstream output
to produce a new format of data.

18 years agogst/base/gstbasetransform.c: The event virtual method is now properly implemented...
Edward Hervey [Tue, 29 Nov 2005 14:47:07 +0000 (14:47 +0000)]
gst/base/gstbasetransform.c: The event virtual method is now properly implemented, with a default handler

Original commit message from CVS:
* gst/base/gstbasetransform.c: (gst_base_transform_class_init),
(gst_base_transform_event), (gst_base_transform_eventfunc):
The event virtual method is now properly implemented, with a default
handler
Sub classes should call the parent_class event method. They should
return FALSE if they had a problem handling the given event, or don't
want GstBaseTransform to send that even downstream
* gst/elements/gstidentity.c: (gst_identity_class_init),
(gst_identity_init), (gst_identity_event),
(gst_identity_transform_ip), (gst_identity_set_property),
(gst_identity_get_property):
* gst/elements/gstidentity.h:
Added the single-segment boolean property.
If set to TRUE, it will output a single segment of data, starting from
0, will eat up all incoming newsegment, and modify the timestamp of the
buffers accordingly

18 years agofurther review
Thomas Vander Stichele [Tue, 29 Nov 2005 14:43:53 +0000 (14:43 +0000)]
further review

Original commit message from CVS:
further review

18 years agogst/gstghostpad.c: Don't ref NULL target pad (#322751). Improve docs.
Tim-Philipp Müller [Tue, 29 Nov 2005 13:10:38 +0000 (13:10 +0000)]
gst/gstghostpad.c: Don't ref NULL target pad (#322751). Improve docs.

Original commit message from CVS:
* gst/gstghostpad.c: (gst_proxy_pad_get_target):
Don't ref NULL target pad (#322751). Improve docs.

18 years agogst/gstregistryxml.c: Don't crash if we failed to load a feature from a plugin.
Michael Smith [Tue, 29 Nov 2005 11:07:54 +0000 (11:07 +0000)]
gst/gstregistryxml.c: Don't crash if we failed to load a feature from a plugin.

Original commit message from CVS:
* gst/gstregistryxml.c: (load_plugin):
Don't crash if we failed to load a feature from a plugin.

18 years agoadd my todos for 0.10
Thomas Vander Stichele [Tue, 29 Nov 2005 00:51:54 +0000 (00:51 +0000)]
add my todos for 0.10

Original commit message from CVS:
add my todos for 0.10

18 years agocheck/pipelines/simple_launch_lines.c: use more check API and less GLib API
Thomas Vander Stichele [Mon, 28 Nov 2005 21:51:37 +0000 (21:51 +0000)]
check/pipelines/simple_launch_lines.c: use more check API and less GLib API

Original commit message from CVS:

* check/pipelines/simple_launch_lines.c: (setup_pipeline),
(GST_START_TEST):
use more check API and less GLib API

18 years agocosmetic changes
Thomas Vander Stichele [Mon, 28 Nov 2005 21:48:19 +0000 (21:48 +0000)]
cosmetic changes

Original commit message from CVS:
cosmetic changes

18 years agoMakefile.am: don't run checks if we don't have check
Thomas Vander Stichele [Mon, 28 Nov 2005 19:58:56 +0000 (19:58 +0000)]
Makefile.am: don't run checks if we don't have check

Original commit message from CVS:
* Makefile.am:
don't run checks if we don't have check
* common/check.mak:
remove the registry when running make torture
* docs/gst/gstreamer-sections.txt:
remove second multiply
* gst/gstqueue.c: (gst_queue_loop):
fix a compile warning when disabling debug

18 years agogst/gstinfo.h: Hey! Let's print the pad name if the pointer != NULL instead of when...
Jan Schmidt [Mon, 28 Nov 2005 19:43:27 +0000 (19:43 +0000)]
gst/gstinfo.h: Hey! Let's print the pad name if the pointer != NULL instead of when it == NULL :-)

Original commit message from CVS:
* gst/gstinfo.h:
Hey! Let's print the pad name if the pointer != NULL instead
of when it == NULL :-)

18 years agocheck/gst/gstutils.c: Updated check, add some scaling accuracy checking code.
Wim Taymans [Mon, 28 Nov 2005 18:44:11 +0000 (18:44 +0000)]
check/gst/gstutils.c: Updated check, add some scaling accuracy checking code.

Original commit message from CVS:
* check/gst/gstutils.c: (GST_START_TEST):
Updated check, add some scaling accuracy checking code.

* gst/gstutils.c: (gst_util_div128_64),
(gst_util_uint64_scale_int64), (gst_util_uint64_scale),
(gst_util_uint64_scale_int):
Fix 6 times faster division code. Optimize for common
1/1 and less common X/1 cases.

18 years agodoc updates
Thomas Vander Stichele [Mon, 28 Nov 2005 17:59:25 +0000 (17:59 +0000)]
doc updates

Original commit message from CVS:
doc updates

18 years agocheck/gst/gstutils.c: More checks.
Wim Taymans [Mon, 28 Nov 2005 16:05:35 +0000 (16:05 +0000)]
check/gst/gstutils.c: More checks.

Original commit message from CVS:
* check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
More checks.

* gst/gstclock.c: (gst_clock_finalize), (gst_clock_set_master),
(do_linear_regression), (gst_clock_add_observation):
Cleanups.
Release lock when the clock cannot be slaved.
Catch the case where the regression returned an invalid denominator.

* gst/gstutils.c: (gst_util_div128_64_iterate),
(gst_util_div128_64), (gst_util_uint64_scale_int64),
(gst_util_uint64_scale), (gst_util_uint64_scale_int):
Add protentially more performant non-iterative 128/64 divide function
that unfortunatly does not work yet.
Shortcut the trivial 0/X = 0 case.
Remove the warnings on overflow.

18 years agogst/gstplugin.c: everything causing a plugin not to load should be at least a WARNING
Thomas Vander Stichele [Mon, 28 Nov 2005 14:18:22 +0000 (14:18 +0000)]
gst/gstplugin.c: everything causing a plugin not to load should be at least a WARNING

Original commit message from CVS:
* gst/gstplugin.c: (gst_plugin_register_func):
everything causing a plugin not to load should be at least a WARNING

18 years agolog caps
Thomas Vander Stichele [Mon, 28 Nov 2005 14:02:54 +0000 (14:02 +0000)]
log caps

Original commit message from CVS:
log caps

18 years agofix docs
Thomas Vander Stichele [Mon, 28 Nov 2005 14:01:52 +0000 (14:01 +0000)]
fix docs

Original commit message from CVS:
fix docs

18 years agodocs/random/ensonic/dparams.txt: some TODOs for the next dev cycle
Stefan Kost [Mon, 28 Nov 2005 13:25:14 +0000 (13:25 +0000)]
docs/random/ensonic/dparams.txt: some TODOs for the next dev cycle

Original commit message from CVS:
* docs/random/ensonic/dparams.txt:
some TODOs for the next dev cycle
* libs/gst/controller/gstcontroller.c:
(gst_controlled_property_set_interpolation_mode),
(gst_controlled_property_new):
* libs/gst/controller/gstcontroller.h:
use base type to assign acccessor functions

18 years agocheck/Makefile.am: Oops, that should have been top_srcdir
Jan Schmidt [Mon, 28 Nov 2005 11:31:31 +0000 (11:31 +0000)]
check/Makefile.am: Oops, that should have been top_srcdir

Original commit message from CVS:
* check/Makefile.am:
Oops, that should have been top_srcdir

18 years agodisable pipeline test until someone fixes the unreliable errors
Thomas Vander Stichele [Mon, 28 Nov 2005 10:29:37 +0000 (10:29 +0000)]
disable pipeline test until someone fixes the unreliable errors

Original commit message from CVS:
disable pipeline test until someone fixes the unreliable errors

18 years agocheck/: Use a cmdline define to specify the location of a file to use for testing...
Jan Schmidt [Mon, 28 Nov 2005 10:07:38 +0000 (10:07 +0000)]
check/: Use a cmdline define to specify the location of a file to use for testing, to avoid breaking distcheck.

Original commit message from CVS:
* check/Makefile.am:
* check/elements/fdsrc.c: (GST_START_TEST):
Use a cmdline define to specify the location of a file to use for
testing, to avoid breaking distcheck.

18 years agogst/gstpad.c (fixate_value): Use array functions for arrays.
Andy Wingo [Mon, 28 Nov 2005 10:04:45 +0000 (10:04 +0000)]
gst/gstpad.c (fixate_value): Use array functions for arrays.

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

* gst/gstpad.c (fixate_value): Use array functions for arrays.

18 years agotools/gst-launch.c: Clarify the output strings, makes it easier to translate.
Edward Hervey [Mon, 28 Nov 2005 09:55:19 +0000 (09:55 +0000)]
tools/gst-launch.c: Clarify the output strings, makes it easier to translate.

Original commit message from CVS:
* tools/gst-launch.c: (main):
Clarify the output strings, makes it easier to translate.
Fixes #322626

18 years agogst/Makefile.am: don't try and build net if we don't even have <sys/socket.h>
Thomas Vander Stichele [Mon, 28 Nov 2005 08:20:48 +0000 (08:20 +0000)]
gst/Makefile.am: don't try and build net if we don't even have <sys/socket.h>

Original commit message from CVS:
* gst/Makefile.am:
don't try and build net if we don't even have <sys/socket.h>

18 years agocheck/: Add tests for fdsrc seekability
Jan Schmidt [Sun, 27 Nov 2005 22:50:09 +0000 (22:50 +0000)]
check/: Add tests for fdsrc seekability

Original commit message from CVS:
* check/Makefile.am:
* check/elements/fdsrc.c: (event_func), (setup_fdsrc),
(cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
Add tests for fdsrc seekability

* gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
(gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
(gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
(gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
* gst/elements/gstfdsrc.h:
fdsrc should not be a 'live' source.
Implement seeking on seekable fd's.

* gst/gstquery.c: (gst_query_new_seeking),
(gst_query_parse_seeking):
* gst/gstquery.h:
Implement SEEKING query functions:
*_new_seeking and *_parse_seeking

18 years agogst/gstelement.c: don't loop forever
Stefan Kost [Sun, 27 Nov 2005 22:43:08 +0000 (22:43 +0000)]
gst/gstelement.c: don't loop forever

Original commit message from CVS:
* gst/gstelement.c: (gst_element_dispose):
don't loop forever
* gst/gstiterator.c:
* gst/gststructure.c:
doc fixes
* libs/gst/controller/gstcontroller.c:
(gst_controlled_property_set_interpolation_mode):
* libs/gst/controller/gstcontroller.h:
* libs/gst/controller/gstinterpolation.c:
(interpolate_none_get_enum_value_array):
support controlling enums

18 years agogst/gstvalue.c: Improve documentation for gst_value_union().
Tim-Philipp Müller [Sun, 27 Nov 2005 19:52:49 +0000 (19:52 +0000)]
gst/gstvalue.c: Improve documentation for gst_value_union().

Original commit message from CVS:
* gst/gstvalue.c:
Improve documentation for gst_value_union().
* gst/gstvalue.h:
Change return value for union, intersect and subtract functions
from gint to gboolean.

18 years agogst/gstvalue.*: Use gint, gdouble and gchar in our API instead of int, double and...
Tim-Philipp Müller [Sun, 27 Nov 2005 18:11:02 +0000 (18:11 +0000)]
gst/gstvalue.*: Use gint, gdouble and gchar in our API instead of int, double and char (and make usage in gstvalue.c ...

Original commit message from CVS:
* gst/gstvalue.c: (gst_value_serialize_any_list),
(gst_value_transform_any_list_string),
(gst_value_deserialize_list), (gst_value_deserialize_array),
(gst_value_set_int_range), (gst_value_deserialize_int_range),
(gst_value_set_double_range), (gst_value_deserialize_double_range),
(gst_value_set_fraction_range_full),
(gst_value_deserialize_fraction_range),
(gst_value_deserialize_caps), (gst_value_deserialize_buffer),
(gst_value_deserialize_boolean),
(gst_value_deserialize_int_helper), (gst_value_deserialize_double),
(gst_value_serialize_float), (gst_value_deserialize_float),
(gst_string_wrap), (gst_value_deserialize_string),
(gst_value_deserialize_enum), (gst_value_deserialize_flags),
(gst_value_union_int_range_int_range),
(gst_value_intersect_int_range_int_range),
(gst_value_intersect_double_range_double_range),
(gst_value_create_new_range), (gst_value_subtract_int_range_int),
(gst_value_subtract_int_range_int_range),
(gst_value_subtract_double_double_range),
(gst_value_subtract_double_range_double_range),
(gst_value_deserialize_fraction):
* gst/gstvalue.h:
Use gint, gdouble and gchar in our API instead of int, double and
char (and make usage in gstvalue.c more consistent).

18 years agoadd undefined for core
Thomas Vander Stichele [Sun, 27 Nov 2005 17:05:38 +0000 (17:05 +0000)]
add undefined for core

Original commit message from CVS:
add undefined for core

18 years agofix up Makefile.am and remove GST_ENABLE_NEW
Thomas Vander Stichele [Sun, 27 Nov 2005 16:46:48 +0000 (16:46 +0000)]
fix up Makefile.am and remove GST_ENABLE_NEW

Original commit message from CVS:
fix up Makefile.am and remove GST_ENABLE_NEW

18 years agoupdate LDFLAGS use some more
Thomas Vander Stichele [Sun, 27 Nov 2005 15:15:35 +0000 (15:15 +0000)]
update LDFLAGS use some more

Original commit message from CVS:

* configure.ac:
* gst/Makefile.am:
* gst/base/Makefile.am:
* gst/check/Makefile.am:
* gst/elements/Makefile.am:
* gst/net/Makefile.am:
update LDFLAGS use some more

18 years agoFixes #312589
Thomas Vander Stichele [Sun, 27 Nov 2005 14:19:38 +0000 (14:19 +0000)]
Fixes #312589

Original commit message from CVS:
Fixes #312589

18 years agoadd some additional fail_if's
Thomas Vander Stichele [Sun, 27 Nov 2005 14:03:22 +0000 (14:03 +0000)]
add some additional fail_if's

Original commit message from CVS:
add some additional fail_if's

18 years agogst/gstpluginfeature.c: This shouldn't issue a g_warning since it returns NULL if...
Edward Hervey [Sat, 26 Nov 2005 11:28:32 +0000 (11:28 +0000)]
gst/gstpluginfeature.c: This shouldn't issue a g_warning since it returns NULL if it couldn't find the plugin, and al...

Original commit message from CVS:
* gst/gstpluginfeature.c: (gst_plugin_feature_load):
This shouldn't issue a g_warning since it returns NULL if it
couldn't find the plugin, and all functions using this behave
properly on a NULL return. Switching to a GST_WARNING.

18 years agogst/gstbin.c: Don't leak clock messages.
Jan Schmidt [Fri, 25 Nov 2005 17:06:36 +0000 (17:06 +0000)]
gst/gstbin.c: Don't leak clock messages.

Original commit message from CVS:
* gst/gstbin.c: (gst_bin_handle_message_func):
Don't leak clock messages.

18 years agogst/gstutils.c: Optimisations, remove unneeded vars.
Wim Taymans [Fri, 25 Nov 2005 11:38:38 +0000 (11:38 +0000)]
gst/gstutils.c: Optimisations, remove unneeded vars.

Original commit message from CVS:
* gst/gstutils.c: (gst_util_uint64_scale_int64),
(gst_util_uint64_scale_int):
Optimisations, remove unneeded vars.

18 years agocheck/gst/gstutils.c: Added more checks for the high precision uint64 cases.
Wim Taymans [Fri, 25 Nov 2005 00:02:05 +0000 (00:02 +0000)]
check/gst/gstutils.c: Added more checks for the high precision uint64 cases.

Original commit message from CVS:
* check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
Added more checks for the high precision uint64 cases.

* gst/gstutils.c: (gst_util_uint64_scale_int64),
(gst_util_uint64_scale), (gst_util_uint64_scale_int):
Implement high precission (guint64 * guint64) / guint64.

18 years agogst/base/gstbasesrc.c: Fix wrong percentage query.
Wim Taymans [Thu, 24 Nov 2005 19:06:58 +0000 (19:06 +0000)]
gst/base/gstbasesrc.c: Fix wrong percentage query.

Original commit message from CVS:
* gst/base/gstbasesrc.c: (gst_base_src_query):
Fix wrong percentage query.

* gst/gstutils.c: (gst_util_uint64_scale),
(gst_util_uint64_scale_int):
Add some more common cases that can be handled
efficiently to _scale.

18 years agoremove wrongly commited comments
Thomas Vander Stichele [Thu, 24 Nov 2005 18:44:43 +0000 (18:44 +0000)]
remove wrongly commited comments

Original commit message from CVS:
remove wrongly commited comments

18 years agocheck/gst/gstminiobject.c: don't use check calls from threads; check probably isn...
Thomas Vander Stichele [Thu, 24 Nov 2005 18:40:58 +0000 (18:40 +0000)]
check/gst/gstminiobject.c: don't use check calls from threads; check probably isn't threadsafe and using a lock to ma...

Original commit message from CVS:

* check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
(gst_mini_object_suite):
don't use check calls from threads; check probably isn't
threadsafe and using a lock to make it threadsafe would
defeat the purpose of this check
* gst/check/gstcheck.c:
* gst/check/gstcheck.h:
use GST_DEBUG some more

18 years agogst/gstutils.c: Chain trivial case to _scale_int.
Wim Taymans [Thu, 24 Nov 2005 18:03:15 +0000 (18:03 +0000)]
gst/gstutils.c: Chain trivial case to _scale_int.

Original commit message from CVS:
* gst/gstutils.c: (gst_util_uint64_scale),
(gst_util_uint64_scale_int):
Chain trivial case to _scale_int.

18 years agocheck/gst/gstutils.c: Added test for scaling.
Wim Taymans [Thu, 24 Nov 2005 17:44:57 +0000 (17:44 +0000)]
check/gst/gstutils.c: Added test for scaling.

Original commit message from CVS:
* check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
Added test for scaling.

* gst/gstclock.h:
Small doc fix.

* gst/gstutils.c: (gst_util_uint64_scale_int):
Implemented high precision scaling code.

18 years agogst/gstinfo.h: do not crash on pad==NULL
Stefan Kost [Thu, 24 Nov 2005 16:56:28 +0000 (16:56 +0000)]
gst/gstinfo.h: do not crash on pad==NULL

Original commit message from CVS:
* gst/gstinfo.h:
do not crash on pad==NULL

18 years agoFix distcheck issues for the libraries docs build
Stefan Kost [Thu, 24 Nov 2005 16:32:26 +0000 (16:32 +0000)]
Fix distcheck issues for the libraries docs build

Original commit message from CVS:

Patch by: Stefan Kost

* common/gtk-doc.mak:
* docs/gst/Makefile.am:
* docs/libs/Makefile.am:
Fix distcheck issues for the libraries docs build
Closes #319599

18 years agodocs/manual/basics-helloworld.xml: Fix bug #315027: memory leak in example code in...
Michael Smith [Thu, 24 Nov 2005 14:39:59 +0000 (14:39 +0000)]
docs/manual/basics-helloworld.xml: Fix bug #315027: memory leak in example code in docs.

Original commit message from CVS:
* docs/manual/basics-helloworld.xml:
Fix bug #315027: memory leak in example code in docs.

18 years agogst/base/gstbasesink.c: Unlock the PREROLL_LOCK in a failure case.
Michael Smith [Thu, 24 Nov 2005 12:44:25 +0000 (12:44 +0000)]
gst/base/gstbasesink.c: Unlock the PREROLL_LOCK in a failure case.

Original commit message from CVS:
2005-11-24  Michael Smith <msmith@fluendo.com>

* gst/base/gstbasesink.c: (gst_base_sink_handle_object):
Unlock the PREROLL_LOCK in a failure case.