platform/upstream/gstreamer.git
20 years ago*.h: Revert indentation changes.
Johan Dahlin [Mon, 15 Mar 2004 14:31:40 +0000 (14:31 +0000)]
*.h: Revert indentation changes.

Original commit message from CVS:
* *.h: Revert indentation changes.

20 years agoremoved in favor of gst-indent
Thomas Vander Stichele [Sun, 14 Mar 2004 23:27:45 +0000 (23:27 +0000)]
removed in favor of gst-indent

Original commit message from CVS:
removed in favor of gst-indent

20 years agog_error fix, m/m version fix BEFORE_INDENT
Thomas Vander Stichele [Sun, 14 Mar 2004 17:54:22 +0000 (17:54 +0000)]
g_error fix, m/m version fix

Original commit message from CVS:
g_error fix, m/m version fix

20 years agoadding info about cvs
Thomas Vander Stichele [Sun, 14 Mar 2004 17:41:13 +0000 (17:41 +0000)]
adding info about cvs

Original commit message from CVS:
adding info about cvs

20 years agoupdate
Thomas Vander Stichele [Sun, 14 Mar 2004 16:44:04 +0000 (16:44 +0000)]
update

Original commit message from CVS:
update

20 years agodon't spill paths from registry until we fix the generic case
Thomas Vander Stichele [Sun, 14 Mar 2004 16:40:24 +0000 (16:40 +0000)]
don't spill paths from registry until we fix the generic case

Original commit message from CVS:
don't spill paths from registry until we fix the generic case

20 years agogst-indent run on core
Thomas Vander Stichele [Sat, 13 Mar 2004 15:27:01 +0000 (15:27 +0000)]
gst-indent run on core

Original commit message from CVS:
gst-indent run on core

20 years agoadding gst-indent as a noinst tool
Thomas Vander Stichele [Sat, 13 Mar 2004 15:17:30 +0000 (15:17 +0000)]
adding gst-indent as a noinst tool

Original commit message from CVS:
adding gst-indent as a noinst tool

20 years agoadding serbian translation
Thomas Vander Stichele [Sat, 13 Mar 2004 11:30:19 +0000 (11:30 +0000)]
adding serbian translation

Original commit message from CVS:
adding serbian translation

20 years agogst/gstelement.c: add documentation note about gst_element_found_tags_for_pad not...
Benjamin Otte [Sat, 13 Mar 2004 10:14:05 +0000 (10:14 +0000)]
gst/gstelement.c: add documentation note about gst_element_found_tags_for_pad not being usable in getfunctions. (see ...

Original commit message from CVS:
* gst/gstelement.c:
add documentation note about gst_element_found_tags_for_pad not
being usable in getfunctions. (see #137042)

20 years agogst/gstcaps.h: jdahlin, what are you smoking? We can't just change API right now...
David Schleef [Sat, 13 Mar 2004 00:14:46 +0000 (00:14 +0000)]
gst/gstcaps.h: jdahlin, what are you smoking?  We can't just change API right now!  Readd gst_caps_is_simple() macro.

Original commit message from CVS:
* gst/gstcaps.h: jdahlin, what are you smoking?  We can't just
change API right now!  Readd gst_caps_is_simple() macro.
* gst/gstelement.c: (gst_element_base_class_finalize): Fix
uninitialized variable.  I'd bet this caused crashes.
* gst/gstinfo.c: (gst_debug_print_object):  Fix 64-bit cleanliness.

20 years agoGtype->GType
Johan Dahlin [Fri, 12 Mar 2004 19:39:19 +0000 (19:39 +0000)]
Gtype->GType

Original commit message from CVS:
Gtype->GType

20 years agogst/gststructure.c (gst_structure_get_type): Ditto
Johan Dahlin [Fri, 12 Mar 2004 19:35:40 +0000 (19:35 +0000)]
gst/gststructure.c (gst_structure_get_type): Ditto

Original commit message from CVS:
* gst/gststructure.c (gst_structure_get_type): Ditto

* gst/gststructure.h: Ditto

20 years agogst/gst.c (init_post): call gst_caps_get_type() instead of _gst_caps_initalize()
Johan Dahlin [Fri, 12 Mar 2004 19:32:26 +0000 (19:32 +0000)]
gst/gst.c (init_post): call gst_caps_get_type() instead of _gst_caps_initalize()

Original commit message from CVS:
* gst/gst.c (init_post): call gst_caps_get_type() instead of
_gst_caps_initalize()

* gst/gstcaps.c: Style fixes, stay closer to glib and friends
(_gst_caps_initialize): Remove, in favor for gst_caps_get_type()

* gst/gstcaps.h (GST_CAPS_IS_SIMPLE): Capitalize macro
* gst/gstcaps.h: Clean up

20 years agogst/gstcaps.h (GST_CAPS_IS_SIMPLE): Capitalize macro
Johan Dahlin [Fri, 12 Mar 2004 18:25:07 +0000 (18:25 +0000)]
gst/gstcaps.h (GST_CAPS_IS_SIMPLE): Capitalize macro

Original commit message from CVS:
* gst/gstcaps.h (GST_CAPS_IS_SIMPLE): Capitalize macro
* gst/gstcaps.h: Clean up

20 years agocomment fix whitespace fixes
Thomas Vander Stichele [Fri, 12 Mar 2004 17:59:00 +0000 (17:59 +0000)]
comment fix whitespace fixes

Original commit message from CVS:
comment fix
whitespace fixes

20 years agogst/gstqueue.c: Reset default max. values in queues. Reason is simply to avoid braind...
Ronald S. Bultje [Fri, 12 Mar 2004 01:41:21 +0000 (01:41 +0000)]
gst/gstqueue.c: Reset default max. values in queues. Reason is simply to avoid braindead use. If you want wider value...

Original commit message from CVS:
* gst/gstqueue.c: (gst_queue_init):
Reset default max. values in queues. Reason is simply to avoid
braindead use. If you want wider values, use the properties. The
default is supposed to always work. Wider values would make this
beast a memory hog by default (250 full-PAL RGB32 video frames?
That's 440 MB! No thank you).

20 years agotools/gst-run.c: Fix crash when no relevant tools were found. (bug #136793)
David Schleef [Wed, 10 Mar 2004 23:52:02 +0000 (23:52 +0000)]
tools/gst-run.c: Fix crash when no relevant tools were found.  (bug #136793)

Original commit message from CVS:
* tools/gst-run.c: (main):  Fix crash when no relevant tools
were found.  (bug #136793)

20 years agoShut up gcc 3.2
Johan Dahlin [Wed, 10 Mar 2004 17:01:57 +0000 (17:01 +0000)]
Shut up gcc 3.2

Original commit message from CVS:
Shut up gcc 3.2

20 years agogst/schedulers/gstoptimalscheduler.c
Johan Dahlin [Wed, 10 Mar 2004 16:47:06 +0000 (16:47 +0000)]
gst/schedulers/gstoptimalscheduler.c

Original commit message from CVS:
* gst/schedulers/gstoptimalscheduler.c
(gst_opt_scheduler_pad_unlink): Implement unlink for elements with
links to elements within the same group, so we can finally remove
that annoying warning. Refactor the code a little bit
(group_dec_links_for_element): Split out

20 years agopackaging guidelines
Thomas Vander Stichele [Wed, 10 Mar 2004 13:45:38 +0000 (13:45 +0000)]
packaging guidelines

Original commit message from CVS:
packaging guidelines

20 years agodocs/manual/dparams-app.xml: Fix to handle double dparams. (bug #134863)
David Schleef [Tue, 9 Mar 2004 20:36:18 +0000 (20:36 +0000)]
docs/manual/dparams-app.xml: Fix to handle double dparams. (bug #134863)

Original commit message from CVS:
* docs/manual/dparams-app.xml:  Fix to handle double dparams.
(bug #134863)

20 years agofix gettext domain
Thomas Vander Stichele [Tue, 9 Mar 2004 19:43:55 +0000 (19:43 +0000)]
fix gettext domain

Original commit message from CVS:
fix gettext domain

20 years agoback to cvs
Thomas Vander Stichele [Tue, 9 Mar 2004 19:06:49 +0000 (19:06 +0000)]
back to cvs

Original commit message from CVS:
back to cvs

20 years agoreleasing 0.7.6 RELEASE-0_7_6
Thomas Vander Stichele [Tue, 9 Mar 2004 17:50:43 +0000 (17:50 +0000)]
releasing 0.7.6

Original commit message from CVS:
releasing 0.7.6

20 years agoadd GstGError to help the bindings
Thomas Vander Stichele [Tue, 9 Mar 2004 14:44:36 +0000 (14:44 +0000)]
add GstGError to help the bindings

Original commit message from CVS:
add GstGError to help the bindings

20 years agoFree leaked g_timer on early return
Jan Schmidt [Tue, 9 Mar 2004 13:33:11 +0000 (13:33 +0000)]
Free leaked g_timer on early return

Original commit message from CVS:
Free leaked g_timer on early return

20 years agobetter debug info
Thomas Vander Stichele [Tue, 9 Mar 2004 13:23:14 +0000 (13:23 +0000)]
better debug info

Original commit message from CVS:
better debug info

20 years agodocs/pwg/advanced-types.xml: Add cinepak description.
Ronald S. Bultje [Tue, 9 Mar 2004 04:43:21 +0000 (04:43 +0000)]
docs/pwg/advanced-types.xml: Add cinepak description.

Original commit message from CVS:
* docs/pwg/advanced-types.xml:
Add cinepak description.

20 years agomore debugging
Thomas Vander Stichele [Mon, 8 Mar 2004 17:47:52 +0000 (17:47 +0000)]
more debugging

Original commit message from CVS:
more debugging

20 years agoremove \n
Thomas Vander Stichele [Mon, 8 Mar 2004 17:13:35 +0000 (17:13 +0000)]
remove \n

Original commit message from CVS:
remove \n

20 years agoremove conflict line in changelog
Thomas Vander Stichele [Mon, 8 Mar 2004 09:20:31 +0000 (09:20 +0000)]
remove conflict line in changelog

Original commit message from CVS:
remove conflict line in changelog

20 years agodocs/random/mimetypes: Added cinepak description
David Schleef [Sun, 7 Mar 2004 22:06:24 +0000 (22:06 +0000)]
docs/random/mimetypes: Added cinepak description

Original commit message from CVS:
* docs/random/mimetypes:  Added cinepak description

20 years agogst/gstbin.c (gst_bin_remove): Debugging fixes.
Andy Wingo [Sun, 7 Mar 2004 14:33:13 +0000 (14:33 +0000)]
gst/gstbin.c (gst_bin_remove): Debugging fixes.

Original commit message from CVS:
2004-03-07  Andy Wingo  <wingo@pobox.com>

* gst/gstbin.c (gst_bin_remove): Debugging fixes.

* gst/schedulers/gstoptimalscheduler.c (destroy_group): Assert
there are no links to other groups when a group is destroyed.
(gst_opt_scheduler_pad_unlink): If the unlink means an element is
removed from a group, make sure the link count to elements linked
to other pads is appropriately decremented. This really fixes
#135672.

The 1.60->1.61 patch has been reapplied in light of this fix.

* gst/gstelement.c (gst_element_dispose): Really protect against
multiple invocations this time.

20 years agoremove deprecated functions add two tag prototypes to docs add accessor function
Thomas Vander Stichele [Sat, 6 Mar 2004 20:19:23 +0000 (20:19 +0000)]
remove deprecated functions add two tag prototypes to docs add accessor function

Original commit message from CVS:
remove deprecated functions
add two tag prototypes to docs
add accessor function

20 years agogst/autoplug/gstspider.c: fixed caps leak
Christophe Fergeau [Sat, 6 Mar 2004 18:25:59 +0000 (18:25 +0000)]
gst/autoplug/gstspider.c: fixed caps leak

Original commit message from CVS:
2004-03-06  Christophe Fergeau  <teuf@gnome.org>

* gst/autoplug/gstspider.c: (gst_spider_identity_plug): fixed caps
leak

20 years agoREQUIREMENTS: Add bison and flex.
David Schleef [Sat, 6 Mar 2004 04:54:06 +0000 (04:54 +0000)]
REQUIREMENTS: Add bison and flex.

Original commit message from CVS:
reviewed by: <delete if not using a buddy>
* REQUIREMENTS: Add bison and flex.
* configure.ac: Fix comment about bison.
* docs/random/ds/0.9-suggested-changes: yer ma
* tools/gst-inspect.c: (print_element_info):  Fix warning.

20 years agogst/gstelement.c: revert recent recursive state changing commit - messing with other...
Benjamin Otte [Fri, 5 Mar 2004 22:01:42 +0000 (22:01 +0000)]
gst/gstelement.c: revert recent recursive state changing commit - messing with other elements' states is evil and sho...

Original commit message from CVS:
* gst/gstelement.c: (gst_element_error_full):
revert recent recursive state changing commit - messing with other
elements' states is evil and should be done by apps only.

20 years agogst/gstelement.c: check for empty intersection instead of NULL caps remove old workar...
Benjamin Otte [Fri, 5 Mar 2004 21:44:36 +0000 (21:44 +0000)]
gst/gstelement.c: check for empty intersection instead of NULL caps remove old workaround that is only a bug nowadays

Original commit message from CVS:
* gst/gstelement.c: (gst_element_get_compatible_pad_template):
check for empty intersection instead of NULL caps
(gst_element_get_compatible_pad_filtered):
remove old workaround that is only a bug nowadays

20 years agogst/gstelement.c: make elements try to recursively change state to PAUSED on all...
Thomas Vander Stichele [Fri, 5 Mar 2004 13:07:48 +0000 (13:07 +0000)]
gst/gstelement.c: make elements try to recursively change state to PAUSED on all parents after an error to suppress e...

Original commit message from CVS:
* gst/gstelement.c: (gst_element_error_full):
make elements try to recursively change state to PAUSED on all
parents after an error to suppress ensuing warnings
* gst/parse/grammar.y:
make it check if it was able to sync the state, and throw an error
if not, so stuff like
oggdemux ! vorbisdec ! osssink gets caught

20 years agouse $libdir so that it does the right thing on 64bit
Thomas Vander Stichele [Fri, 5 Mar 2004 09:28:03 +0000 (09:28 +0000)]
use $libdir so that it does the right thing on 64bit

Original commit message from CVS:
use $libdir so that it does the right thing on 64bit

20 years agogst/gstcpuid_i386.s: Remove unused code
David Schleef [Fri, 5 Mar 2004 08:35:02 +0000 (08:35 +0000)]
gst/gstcpuid_i386.s: Remove unused code

Original commit message from CVS:
* gst/gstcpuid_i386.s:  Remove unused code
* libs/gst/getbits/getbits.c: (gst_getbits_init),
(gst_getbits_newbuf): Remove MMX code
* libs/gst/getbits/getbits.h: Remove MMX code

20 years agoDebian package info not maintained here.
David I. Lehn [Thu, 4 Mar 2004 23:31:19 +0000 (23:31 +0000)]
Debian package info not maintained here.

Original commit message from CVS:
Debian package info not maintained here.

20 years agoDebian package info not maintained here.
David I. Lehn [Thu, 4 Mar 2004 23:28:56 +0000 (23:28 +0000)]
Debian package info not maintained here.

Original commit message from CVS:
Debian package info not maintained here.

20 years agomake signals use dashes in the names
Thomas Vander Stichele [Thu, 4 Mar 2004 20:06:02 +0000 (20:06 +0000)]
make signals use dashes in the names

Original commit message from CVS:
make signals use dashes in the names

20 years agoAC_SUBST LIBS and CFLAGS
Thomas Vander Stichele [Wed, 3 Mar 2004 16:35:48 +0000 (16:35 +0000)]
AC_SUBST LIBS and CFLAGS

Original commit message from CVS:
AC_SUBST LIBS and CFLAGS

20 years agogst/schedulers/gstoptimalscheduler.c: revert last commit by Andy Wingo. It causes...
Benjamin Otte [Tue, 2 Mar 2004 23:04:50 +0000 (23:04 +0000)]
gst/schedulers/gstoptimalscheduler.c: revert last commit by Andy Wingo. It causes segfaults on unreffing in Rhythmbox...

Original commit message from CVS:
2004-03-03  Benjamin Otte  <otte@gnome.org>

* gst/schedulers/gstoptimalscheduler.c:
revert last commit by Andy Wingo. It causes segfaults on unreffing
in Rhythmbox. (see bug #135672)

20 years agopo/fr.po: fix typo
Christophe Fergeau [Tue, 2 Mar 2004 21:42:32 +0000 (21:42 +0000)]
po/fr.po: fix typo

Original commit message from CVS:
2004-03-02  Christophe Fergeau  <teuf@gnome.org>

* po/fr.po: fix typo

20 years agotools/: add calls to bind_textdomain_codeset
Christophe Fergeau [Tue, 2 Mar 2004 21:41:02 +0000 (21:41 +0000)]
tools/: add calls to bind_textdomain_codeset

Original commit message from CVS:
2004-03-02  Christophe Fergeau  <teuf@gnome.org>

* tools/gst-inspect.c: (main):
* tools/gst-launch.c: (main): add calls to bind_textdomain_codeset

20 years agotrim fat from nonversioned binaries
Thomas Vander Stichele [Tue, 2 Mar 2004 10:38:40 +0000 (10:38 +0000)]
trim fat from nonversioned binaries

Original commit message from CVS:
trim fat from nonversioned binaries

20 years agoattach global instead of local registry to GST_REGISTRY
Thomas Vander Stichele [Mon, 1 Mar 2004 23:38:27 +0000 (23:38 +0000)]
attach global instead of local registry to GST_REGISTRY

Original commit message from CVS:
attach global instead of local registry to GST_REGISTRY

20 years agoAUTHORS: Added some names. Add yourself if you're missing.
David Schleef [Mon, 1 Mar 2004 21:00:55 +0000 (21:00 +0000)]
AUTHORS: Added some names.  Add yourself if you're missing.

Original commit message from CVS:
* AUTHORS:  Added some names.  Add yourself if you're missing.

20 years agoMAINTAINERS: Add
David Schleef [Mon, 1 Mar 2004 20:54:13 +0000 (20:54 +0000)]
MAINTAINERS: Add

Original commit message from CVS:
* MAINTAINERS: Add

20 years agoconfigure.ac: remove whitespace
Thomas Vander Stichele [Mon, 1 Mar 2004 17:15:28 +0000 (17:15 +0000)]
configure.ac: remove whitespace

Original commit message from CVS:
* configure.ac:
remove whitespace
* docs/gst/tmpl/gstbuffer.sgml:
* docs/gst/tmpl/gstdata.sgml:
* docs/gst/tmpl/gstreamer-unused.sgml:
* docs/gst/tmpl/gstxml.sgml:
doc update
* docs/manuals.mak:
add a FIXME
* docs/pwg/intro-preface.xml:
* docs/pwg/pwg.xml:
remove GNOME
* gst/gst.c: (init_post):
try GST_PLUGIN_PATH paths for the _global_registry first
* gst/gstelement.h:
add the error message as well, otherwise (null) debug info doesn't
make much sense
* tools/gst-register.c: (main):
spill paths to next registry if this registry is not writable
* po/fr.po:
* po/nl.po:
translation updates

20 years agogst/: Use gst_data_copy, instead of ref, since some applications that uses GBoxed...
Johan Dahlin [Mon, 1 Mar 2004 12:10:16 +0000 (12:10 +0000)]
gst/: Use gst_data_copy, instead of ref, since some applications that uses GBoxed routines depends on a function that...

Original commit message from CVS:
* gst/gstbuffer.c (_gst_buffer_initialize):
* gst/gstdata.c (gst_data_get_type):
* gst/gstevent.c (_gst_event_initialize): Use gst_data_copy,
instead of ref, since some applications that uses GBoxed
routines depends on a function that actually returns a copy.

20 years agoupdate libtool requirement for latest plugin symbol changes
Thomas Vander Stichele [Sun, 29 Feb 2004 08:34:03 +0000 (08:34 +0000)]
update libtool requirement for latest plugin symbol changes

Original commit message from CVS:
update libtool requirement for latest plugin symbol changes

20 years agogst/gstbuffer.h: remove gst_buffer_free, use gst_data_unref
Benjamin Otte [Fri, 27 Feb 2004 21:29:04 +0000 (21:29 +0000)]
gst/gstbuffer.h: remove gst_buffer_free, use gst_data_unref

Original commit message from CVS:
2004-02-27  Benjamin Otte  <otte@gnome.org>

* gst/gstbuffer.h:
remove gst_buffer_free, use gst_data_unref
* gst/gstdata.c: (gst_data_get_type):
use refcounting in GstData GBoxed registration
* gst/gstdata.h:
remove gst_data_free, use gst_data_unref

20 years agogst/gstdata.c (gst_data_get_type): New function, register
Johan Dahlin [Fri, 27 Feb 2004 17:58:24 +0000 (17:58 +0000)]
gst/gstdata.c (gst_data_get_type): New function, register

Original commit message from CVS:
* gst/gstdata.c (gst_data_get_type): New function, register
GstData as a GBoxed type.

* gst/gstdata.h (GST_TYPE_DATA): New macro

20 years agofix test
Thomas Vander Stichele [Fri, 27 Feb 2004 12:45:28 +0000 (12:45 +0000)]
fix test

Original commit message from CVS:
fix test

20 years agoadd RELEASE file again update of release strategy
Thomas Vander Stichele [Fri, 27 Feb 2004 12:39:33 +0000 (12:39 +0000)]
add RELEASE file again update of release strategy

Original commit message from CVS:
add RELEASE file again
update of release strategy

20 years agoadding back RELEASE clean up disting of built files
Thomas Vander Stichele [Fri, 27 Feb 2004 12:37:13 +0000 (12:37 +0000)]
adding back RELEASE clean up disting of built files

Original commit message from CVS:
adding back RELEASE
clean up disting of built files

20 years agoconfigure.ac: We don't really need glib-2.3. Also remove some unneeded checks for...
David Schleef [Fri, 27 Feb 2004 02:00:37 +0000 (02:00 +0000)]
configure.ac: We don't really need glib-2.3.  Also remove some unneeded checks for library functions.

Original commit message from CVS:
* configure.ac:  We don't really need glib-2.3.  Also remove
some unneeded checks for library functions.
* gst/Makefile.am:  Instead, we need to not dist files created
by glib-genmarshal.

20 years agoup glib req
Thomas Vander Stichele [Thu, 26 Feb 2004 18:38:16 +0000 (18:38 +0000)]
up glib req

Original commit message from CVS:
up glib req

20 years agofix
Thomas Vander Stichele [Thu, 26 Feb 2004 18:14:03 +0000 (18:14 +0000)]
fix

Original commit message from CVS:
fix

20 years agomerging from release branch
Thomas Vander Stichele [Thu, 26 Feb 2004 17:02:49 +0000 (17:02 +0000)]
merging from release branch

Original commit message from CVS:
merging from release branch

20 years agofixing the --help text for docs building/non-building. Finally the correct text for...
Christian Schaller [Wed, 25 Feb 2004 18:40:55 +0000 (18:40 +0000)]
fixing the --help text for docs building/non-building. Finally the correct text for dummies like me :)

Original commit message from CVS:
fixing the --help text for docs building/non-building. Finally the correct text for dummies like me :)

20 years agofix debugging info in manual BRANCH-RELEASE-0_7_5-ROOT
Thomas Vander Stichele [Wed, 25 Feb 2004 17:38:53 +0000 (17:38 +0000)]
fix debugging info in manual

Original commit message from CVS:
fix debugging info in manual

20 years agogst/gstpad.c (gst_pad_link_prepare): Re-add gst_pad_link_prepare. Please email the...
Andy Wingo [Wed, 25 Feb 2004 14:16:24 +0000 (14:16 +0000)]
gst/gstpad.c (gst_pad_link_prepare): Re-add gst_pad_link_prepare. Please email the list with specific reasons for rev...

Original commit message from CVS:
2004-02-25  Andy Wingo  <wingo@pobox.com>

* gst/gstpad.c (gst_pad_link_prepare): Re-add
gst_pad_link_prepare. Please email the list with specific reasons
for reverting.

----------------------------------------------------------------------

20 years agogst/gstelement.c (gst_element_dispose): Protect against multiple invocations.
Andy Wingo [Wed, 25 Feb 2004 13:16:12 +0000 (13:16 +0000)]
gst/gstelement.c (gst_element_dispose): Protect against multiple invocations.

Original commit message from CVS:
2004-02-24  Andy Wingo  <wingo@pobox.com>

* gst/gstelement.c (gst_element_dispose): Protect against multiple
invocations.

* gst/schedulers/gstoptimalscheduler.c
I added a mess of prototypes at the top of the file by way of
documentation. Some of the operations on chains and groups were
re-organized.

(create_group): Added a type argument so if the group is enabled,
the setup_group_scheduler knows what to do.
(group_elements): Added a type argument here, too, to be passed on
to create_group.
(group_element_set_enabled): If an unlinked PLAYING element is
added to a bin, we have to create a new group to hold the element,
and this function will be called before the group is added to the
chain. Thus we have a valid case for group->chain==NULL. Instead
of calling chain_group_set_enabled, just set the flag on the group
(the chain's status will be set when the group is added to it).
(gst_opt_scheduler_state_transition, chain_group_set_enabled):
Setup the group scheduler when the group is enabled, not
specifically when an element goes PAUSED->PLAYING. This means
PLAYING elements can be added, linked, and scheduled into a
PLAYING pipeline, as was intended.
(add_to_group): Don't ref the group twice. I don't know when this
double-ref got in here. Removing it has the potential to cause
segfaults if other parts of the scheduler are buggy. If you find
that the scheduler is segfaulting for you, put in an extra ref
here and see if that hacks over the underlying issue. Of course,
then find out what code is unreffing a group it doesn't own...
(create_group): Make the extra refcount floating, and remove it
after adding the element. This means that...
(unref_group): Destroy when the refcount reaches 0, not 1, like
every other refcounted object in the known universe.
(remove_from_group): When a group becomes empty, set it to be not
active, and remove it from its chain. Don't unref it again,
there's no floating reference any more.
(destroy_group): We have to remove the group from the chain in
remove_from_group (rather than here) to break refcounting cycles
(the chain always has a ref on the group). So assert that
group->chain==NULL.
(ref_group_by_count): Removed, it was commented out anyway.
(merge_chains): Use the remove_from_chain and add_to_chain
primitives to do the reparenting, instead of rolling our own
implementation.
(add_to_chain): The first non-disabled group in the chain's group
list will be the entry point for the chain. Because buffers can
accumulate in loop elements' peer bufpens, we preferentially
schedule loop groups before get groups to avoid unnecessary
execution of get-based groups when the bufpens are already full.
(gst_opt_scheduler_schedule_run_queue): Debug fixes.
(get_group_schedule_function): Ditto.
(loop_group_schedule_function): Ditto.
(gst_opt_scheduler_loop_wrapper): Ditto.
(gst_opt_scheduler_iterate): Ditto.

I understand the opt scheduler now, yippee!

* gst/gstpad.c: All throughout, added FIXMEs to look at for 0.9.
(gst_pad_get_name, gst_pad_set_chain_function)
(gst_pad_set_get_function, gst_pad_set_event_function)
(gst_pad_set_event_mask_function, gst_pad_get_event_masks)
(gst_pad_get_event_masks_default, gst_pad_set_convert_function)
(gst_pad_set_query_function, gst_pad_get_query_types)
(gst_pad_get_query_types_default)
(gst_pad_set_internal_link_function)
(gst_pad_set_formats_function, gst_pad_set_link_function)
(gst_pad_set_fixate_function, gst_pad_set_getcaps_function)
(gst_pad_set_bufferalloc_function, gst_pad_unlink)
(gst_pad_renegotiate, gst_pad_set_parent, gst_pad_get_parent)
(gst_pad_add_ghost_pad, gst_pad_proxy_getcaps)
(gst_pad_proxy_pad_link, gst_pad_proxy_fixate)
(gst_pad_get_pad_template_caps, gst_pad_check_compatibility)
(gst_pad_get_peer, gst_pad_get_allowed_caps)
(gst_pad_alloc_buffer, gst_pad_push, gst_pad_pull)
(gst_pad_selectv, gst_pad_select, gst_pad_template_get_caps)
(gst_pad_event_default_dispatch, gst_pad_event_default)
(gst_pad_dispatcher, gst_pad_send_event, gst_pad_convert_default)
(gst_pad_convert, gst_pad_query_default, gst_pad_query)
(gst_pad_get_formats_default, gst_pad_get_formats): Better
argument checks, and some doc fixes.

(gst_pad_custom_new_from_template): Um, does anyone
use these functions? Actually make a custom pad instead of a
normal one.
(gst_pad_try_set_caps): Transpose some checks.
(gst_pad_try_set_caps_nonfixed): Same, and use a macro to check if
the pad is in negotiation.
(gst_pad_try_relink_filtered): Use pad_link_prepare.

* gst/gstelement.c: Remove prototypes also defined in gstclock.h.

* gst/gstelement.h:
* gst/gstclock.h: Un-deprecate the old clocking API, as discussed
on the list.

20 years agobetter debugging
Thomas Vander Stichele [Wed, 25 Feb 2004 10:01:31 +0000 (10:01 +0000)]
better debugging

Original commit message from CVS:
better debugging

20 years agobug fix
Thomas Vander Stichele [Tue, 24 Feb 2004 12:46:55 +0000 (12:46 +0000)]
bug fix

Original commit message from CVS:
bug fix

20 years agoadding error to gstbin.c
Thomas Vander Stichele [Tue, 24 Feb 2004 12:41:19 +0000 (12:41 +0000)]
adding error to gstbin.c

Original commit message from CVS:
adding error to gstbin.c

20 years agogst/gsttag.c: Registering 2 new tags, audio-codec and video-codec.
Julien Moutte [Sun, 22 Feb 2004 21:56:00 +0000 (21:56 +0000)]
gst/gsttag.c: Registering 2 new tags, audio-codec and video-codec.

Original commit message from CVS:
2004-02-22  Julien MOUTTE <julien@moutte.net>

* gst/gsttag.c: (_gst_tag_initialize): Registering 2 new tags,
audio-codec and video-codec.

20 years agomake last change look nicer
Benjamin Otte [Sun, 22 Feb 2004 16:41:55 +0000 (16:41 +0000)]
make last change look nicer

Original commit message from CVS:
make last change look nicer

20 years agoautogen.sh: replace test -e with test -x for mkinstalldirs to be more portable.
Benjamin Otte [Sun, 22 Feb 2004 15:55:29 +0000 (15:55 +0000)]
autogen.sh: replace test -e with test -x for mkinstalldirs to be more portable.

Original commit message from CVS:
2004-02-22  Benjamin Otte  <otte@gnome.org>

reported by: Padraig O'Briain <padraig.obriain@sun.com>

* autogen.sh:
replace test -e with test -x for mkinstalldirs to be more portable.
(fixes #134816)

20 years agogst/gstpad.c: revert last patch from Andy, it makes gst_pad_can_link_filtered much...
Benjamin Otte [Sun, 22 Feb 2004 15:09:20 +0000 (15:09 +0000)]
gst/gstpad.c: revert last patch from Andy, it makes gst_pad_can_link_filtered much too noisy

Original commit message from CVS:
2004-02-22  Benjamin Otte  <otte@gnome.org>

* gst/gstpad.c:
revert last patch from Andy, it makes gst_pad_can_link_filtered much
too noisy
* gst/gsttag.c: (_gst_tag_initialize):
* gst/gsttag.h:
add GST_TAG_ALBUM_VOLUME_{COUNT,NUMBER}
* libs/gst/control/dparam.c: (gst_dparam_attach):
* libs/gst/control/dparammanager.c: (gst_dpman_attach_dparam):
check that types for attached dparams match

20 years agofix errors
Thomas Vander Stichele [Sun, 22 Feb 2004 14:07:55 +0000 (14:07 +0000)]
fix errors

Original commit message from CVS:
fix errors

20 years agogst/: Debugging tweaks.
Andy Wingo [Fri, 20 Feb 2004 13:18:32 +0000 (13:18 +0000)]
gst/: Debugging tweaks.

Original commit message from CVS:
2004-02-20  Andy Wingo  <wingo@pobox.com>

* gst/gstbin.c:
* gst/gstbuffer.c:
* gst/gstplugin.c:
* gst/registries/gstxmlregistry.c:
* gst/schedulers/gstoptimalscheduler.c: Debugging tweaks.

* gst/gstelement.c (gst_element_set_scheduler): Debugging fixes.
(gst_element_add_pad): DEBUG->INFO, some fixes.
(gst_element_get_compatible_pad_template): Just see if the
templates' caps intersect, not if one is a strict subset of the
other. This conforms more to what gst_pad_link_intersect() does.
(gst_element_class_add_pad_template): Don't memcpy the pad
template, just ref it.
(gst_element_get_compatible_pad_filtered): Clean up debug messages

* gst/gstpad.c (gst_pad_can_link_filtered): Debug a true result.
(gst_pad_link_filtered): Debug changes.
(gst_pad_link_prepare): New function, consolidated from
can_link_filtered and link_filtered.

* gst/parse/grammar.y (gst_parse_perform_link): Made INFO output
look more like that of the functions in gstelement.c

* gst/gstinfo.c (gst_debug_print_object): Put a space before the
object, and return the empty string if object is NULL.

* gst/parse/parse.l: Remove trailing newlines when calling PRINT.
* gst/parse/grammar.y (YYFPRINTF): Log bison debugging info via
LOG, not DEBUG. We still get flex info on debug.

* gst/registries/gstxmlregistry.c (gst_xml_registry_load): Make
debug string more verbose.
(plugin_times_older_than): DEBUG->LOG.

20 years agogst/gsttag.h: Adding video-codec and audio-codec for demuxers which will emit found_t...
Julien Moutte [Fri, 20 Feb 2004 11:55:44 +0000 (11:55 +0000)]
gst/gsttag.h: Adding video-codec and audio-codec for demuxers which will emit found_tag for each stream they demux wi...

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

* gst/gsttag.h: Adding video-codec and audio-codec for demuxers which
will emit found_tag for each stream they demux with the codec.

20 years agorandom checkin
David Schleef [Fri, 20 Feb 2004 02:32:21 +0000 (02:32 +0000)]
random checkin

Original commit message from CVS:
random checkin

20 years agogst/gstevent.c: copy navigation event correctly. Check freeing tag lists.
Benjamin Otte [Fri, 20 Feb 2004 00:38:24 +0000 (00:38 +0000)]
gst/gstevent.c: copy navigation event correctly. Check freeing tag lists.

Original commit message from CVS:
2004-02-20  Benjamin Otte  <otte@gnome.org>

* gst/gstevent.c: (_gst_event_copy), (_gst_event_free):
copy navigation event correctly. Check freeing tag lists.
* gst/gstthread.c: (gst_thread_change_state):
don't abort() on state changing mess - it might happen because of
bugs.
* gst/gstvalue.c: (gst_value_set_caps), (gst_value_get_caps):
use boxed functions
* gst/gstvalue.h:
fix GST_VALUE_HOLDS_CAPS

20 years agogst/gstinfo.h: Copy G_STRFUNC implementation from glib-2.4 and use it for GST_FUNCTIO...
David Schleef [Thu, 19 Feb 2004 20:08:45 +0000 (20:08 +0000)]
gst/gstinfo.h: Copy G_STRFUNC implementation from glib-2.4 and use it for GST_FUNCTION.  (bug #134750)

Original commit message from CVS:
* gst/gstinfo.h:  Copy G_STRFUNC implementation from glib-2.4
and use it for GST_FUNCTION.  (bug #134750)

20 years agoupdate translations
Thomas Vander Stichele [Thu, 19 Feb 2004 17:29:13 +0000 (17:29 +0000)]
update translations

Original commit message from CVS:
update translations

20 years agosome fixes from jdahlin
Thomas Vander Stichele [Thu, 19 Feb 2004 10:36:06 +0000 (10:36 +0000)]
some fixes from jdahlin

Original commit message from CVS:
some fixes from jdahlin

20 years agodocs/libs/gstreamer-libs-sections.txt: Add missing sections for libgstcontrol.
David Schleef [Thu, 19 Feb 2004 02:23:35 +0000 (02:23 +0000)]
docs/libs/gstreamer-libs-sections.txt: Add missing sections for libgstcontrol.

Original commit message from CVS:
reviewed by: David Schleef  <ds@schleef.org>
* docs/libs/gstreamer-libs-sections.txt:  Add missing sections
for libgstcontrol.

20 years agolibs/gst/control/: Additional fixes to get double dparams working.
David Schleef [Thu, 19 Feb 2004 01:47:04 +0000 (01:47 +0000)]
libs/gst/control/: Additional fixes to get double dparams working.

Original commit message from CVS:
* libs/gst/control/dparam.c: (gst_dparam_class_init):
* libs/gst/control/dparam_smooth.c: (gst_dpsmooth_class_init),
(gst_dpsmooth_new): Additional fixes to get double dparams working.
* tools/gst-inspect.c: (print_element_info): Support dumping of
double dparam information.

20 years agogst/elements/gstmultifilesrc.c: Use G_TYPE_STRING in signal prototype instead of...
David Schleef [Wed, 18 Feb 2004 05:26:59 +0000 (05:26 +0000)]
gst/elements/gstmultifilesrc.c: Use G_TYPE_STRING in signal prototype instead of G_TYPE_POINTER.

Original commit message from CVS:
* gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
Use G_TYPE_STRING in signal prototype instead of G_TYPE_POINTER.
* gst/elements/gsttypefind.c: (gst_type_find_element_class_init):
Use GST_TYPE_CAPS in signal prototype.
* gst/gstcaps.c: (_gst_caps_initialize), (gst_caps_copy_conditional):
Convert GST_TYPE_CAPS to boxed.
* gst/gstelement.c: (gst_element_class_init):
Use GST_TYPE_TAG_LIST in signal prototype.
* gst/gstindex.c: (gst_index_class_init):
* gst/gstindex.h:
Add GST_TYPE_INDEX_ENTRY type.
* gst/gstmarshal.list:
Add necessary marshal types.
* gst/gstpad.c: (gst_real_pad_class_init),
(_gst_real_pad_fixate_accumulator), (gst_pad_link_fixate),
(gst_pad_recover_caps_error):
Use GST_TYPE_CAPS in signal prototypes.  Fix some debugging strings.
* gst/gststructure.c: (_gst_structure_initialize),
(gst_structure_copy), (_gst_structure_copy_conditional):
* gst/gststructure.h:
Convert GST_TYPE_STRUCTURE to boxed.
* gst/gsttag.c: (gst_tag_list_get_type):
* gst/gsttag.h:
Add GST_TYPE_TAG_LIST type.

20 years agogst/gstpad.c: Reverting my change according to what we agreed with david.
Julien Moutte [Tue, 17 Feb 2004 22:55:26 +0000 (22:55 +0000)]
gst/gstpad.c: Reverting my change according to what we agreed with david.

Original commit message from CVS:
2004-02-17  Julien MOUTTE  <julien@moutte.net>

* gst/gstpad.c: (gst_pad_try_set_caps): Reverting my change according
to what we agreed with david.
* gst/gstpad.h: adding GST_PAD_IS_NEGOTIATING macro.

20 years agoupdate translation
Thomas Vander Stichele [Tue, 17 Feb 2004 18:27:00 +0000 (18:27 +0000)]
update translation

Original commit message from CVS:
update translation

20 years agothrow an error for mime types spider can't handle
Thomas Vander Stichele [Tue, 17 Feb 2004 17:59:32 +0000 (17:59 +0000)]
throw an error for mime types spider can't handle

Original commit message from CVS:
throw an error for mime types spider can't handle

20 years agogst/gstpad.c: We are nice people. Return silently when the pad is negotiating.
Julien Moutte [Mon, 16 Feb 2004 23:40:32 +0000 (23:40 +0000)]
gst/gstpad.c: We are nice people. Return silently when the pad is negotiating.

Original commit message from CVS:
2004-02-17  Julien MOUTTE  <julien@moutte.net>

* gst/gstpad.c: (gst_pad_try_set_caps): We are nice people. Return
silently when the pad is negotiating.

20 years agoSpelling fix
Johan Dahlin [Mon, 16 Feb 2004 18:13:21 +0000 (18:13 +0000)]
Spelling fix

Original commit message from CVS:
Spelling fix

20 years agoSpelling fix
Johan Dahlin [Mon, 16 Feb 2004 18:10:30 +0000 (18:10 +0000)]
Spelling fix

Original commit message from CVS:
Spelling fix

20 years agoadd comment
Thomas Vander Stichele [Mon, 16 Feb 2004 16:09:12 +0000 (16:09 +0000)]
add comment

Original commit message from CVS:
add comment

20 years agosmall update
Thomas Vander Stichele [Mon, 16 Feb 2004 16:00:39 +0000 (16:00 +0000)]
small update

Original commit message from CVS:
small update

20 years agoand now the fix to make buildbot work
Thomas Vander Stichele [Mon, 16 Feb 2004 15:57:17 +0000 (15:57 +0000)]
and now the fix to make buildbot work

Original commit message from CVS:
and now the fix to make buildbot work

20 years agoadding gst-uninstalled script
Thomas Vander Stichele [Mon, 16 Feb 2004 15:47:23 +0000 (15:47 +0000)]
adding gst-uninstalled script

Original commit message from CVS:
adding gst-uninstalled script

20 years agopatch for s390 from fedora test 2 rpms
Thomas Vander Stichele [Mon, 16 Feb 2004 12:28:36 +0000 (12:28 +0000)]
patch for s390 from fedora test 2 rpms

Original commit message from CVS:
patch for s390 from fedora test 2 rpms

20 years agoTrigger build
Johan Dahlin [Mon, 16 Feb 2004 10:30:11 +0000 (10:30 +0000)]
Trigger build

Original commit message from CVS:
Trigger build

20 years agogst/gstbin.c: Fix a big bug that was breaking pipelines like sinesrc ! { queue !...
Julien Moutte [Sun, 15 Feb 2004 19:05:59 +0000 (19:05 +0000)]
gst/gstbin.c: Fix a big bug that was breaking pipelines like sinesrc ! { queue ! osssink } when an error was thrown b...

Original commit message from CVS:
2004-02-15  Julien MOUTTE  <julien@moutte.net>

* gst/gstbin.c: (gst_bin_change_state), (gst_bin_iterate): Fix a big
bug that was breaking pipelines like sinesrc ! { queue ! osssink } when
an error was thrown by osssink. Basically a state change failure for
an element in a different scheduling group was considered as successfull        , which means that caps nego was going on and weird stuff happened. Like        i wrote in the comment there, if someone want to revert that please
drop me a mail explaining why because i really see no point in keeping
that broken behaviour there.
* gst/gstqueue.c: (gst_queue_get): Add a safety check as the queue CAN
be empty, we then return NULL which will trigger a nice error when
pulling from the pad.