Commit graph

45 commits

Author SHA1 Message Date
Andy Wingo
a8b84d8a57 gst/gstpad.c (_gst_real_pad_fixate_accumulator): s/pointer/boxed/.
Original commit message from CVS:
2004-02-05  Andy Wingo  <wingo@pobox.com>

* gst/gstpad.c (_gst_real_pad_fixate_accumulator):
s/pointer/boxed/.

* gst/gstmarshal.list (VOID:BOXED, BOXED:BOXED): New marshallers.

* gst/gstpad.c (gst_real_pad_class_init): Use a BOXED:BOXED
marshaller for ::fixate, and VOID:BOXED for ::caps-nego-failed,
with the type=GST_TYPE_CAPS. This allows language bindings to know
what kind of data they're dealing with.

* gst/gstcaps.c (_gst_caps_value_init): GBoxed values initialize
to NULL when g_value_init is called. GstCaps, which rolls its own
type implementation, now does the same instead of allocating empty
caps.
(_gst_caps_initialize, _gst_caps_collect_value,
_gst_caps_lcopy_value): Provide collect_value and lcopy_value type
table methods. This allows G_VALUE_COLLECT to work.

2004-02-05  Andy Wingo  <wingo@pobox.com>

* configure.ac:
* testsuite/Makefile.am (SUBDIRS):
* testsuite/ghostpads/Makefile.am:
* testsuite/ghostpads/ghostpads.c: A new test for ghost pads.

* gst/gstpad.c (gst_pad_add_ghost_pad, gst_pad_remove_ghost_pad):
These two routines are the only ones that set
GST_GPAD_REALPAD(gpad), the ghost pad list, and the ghost pad's
pad template. They should be made static, depending on ABI needs.
(gst_real_pad_dispose): Handle the case of ghost pads without a
parent. Assert after dealing with ghost pads that the ghost pad
list is empty.
(gst_ghost_pad_class_init): New property added, ::real-pad. Can be
set after creation.
(gst_ghost_pad_dispose): Set ::real-pad to NULL.
(gst_ghost_pad_set_property, gst_ghost_pad_get_property): New
functions. set_property will call add_ghost_pad/remove_ghost_pad
as appropriate.
(gst_ghost_pad_new): All the work is offloaded to g_object_new.

* gst/gstelement.c (gst_element_add_pad): Handle ghost pads as well.
(gst_element_add_ghost_pad): Remove code duplicated from _add_pad.
(gst_element_remove_pad): Handle ghost pads as well.
(gst_element_remove_ghost_pad): Deprecated (could be removed,
depending on API-stability needs).

2004-02-05  Andy Wingo  <wingo@pobox.com>

* gst/gstbin.[ch]: (gst_bin_get_by_interface): GTypes are scalars,
of course they're const
2004-02-05 13:51:26 +00:00
David Schleef
503f38da70 undist caps2
Original commit message from CVS:
undist caps2
2003-12-22 05:34:13 +00:00
David Schleef
07188f1709 remove testsuite/caps2 directory
Original commit message from CVS:
remove testsuite/caps2 directory
2003-12-22 02:16:08 +00:00
David Schleef
8c9cd079d4 Merge CAPS branch
Original commit message from CVS:
Merge CAPS branch
2003-12-22 01:39:35 +00:00
Thomas Vander Stichele
857a7c08b6 someone needs to take Build 101
Original commit message from CVS:
someone needs to take Build 101
2003-12-17 08:37:02 +00:00
Benjamin Otte
385b9ee5c4 merge in tagging
Original commit message from CVS:
merge in tagging
Includes:
- gsttag.[ch] - The definition of GstTagList and tag registering/querying
- gsttaginterface.[ch] - Interface for elements that can handle setting of tags
- updates and merges to gststructure.[ch] and gstvalue.[ch]
- testsuite/tags - some tests for tagging
- bugfixes
- updates to make make distcheck work
- updates the version number to 0.7.2.1

Does not include:
- including tagging stuff in docs
- extensive tests
2003-11-24 02:09:23 +00:00
David Schleef
9c87c528e7 Massive patch to make 'make check' work properly. Many compilation fixes -- everything should compile now. Some tes...
Original commit message from CVS:
Massive patch to make 'make check' work properly.  Many compilation
fixes -- everything should compile now.  Some tests pass, some
fail; the expected sucess/failure is coded in the Makefile.am's.
gst-register is properly run for both 'make check' and 'make distcheck'.
Much of the common infrastructure is coded in testsuite/Rules.
2003-10-15 01:25:41 +00:00
Christian Schaller
9e29307e4a SPEC and build fixes, should be possible to make tarballs and make RPMS again now
Original commit message from CVS:
SPEC and build fixes, should be possible to make tarballs and make RPMS again now
2003-07-05 21:04:23 +00:00
Benjamin Otte
803ce6bf48 GST_DEBUG reorganization containing loads of stuff:
Original commit message from CVS:
GST_DEBUG reorganization
This is a big diff (ca 450k), containing loads of stuff:
- gstinfo.[ch] complete rewrite
- changing of all GST_DEBUG messages to reflect that change
- reorganization of subsystem disabling
- addition of gstconfig.h.in so we can track the disablings
- <gst/gst.h> does not include <unistd.h> and <config.h> anymore
- documentation updated for gstinfo stuff (build the docs yourself to know what changed)
- bugfixes for making of the docs (files from CVS are not deleted anymore
- testsuite for debugging changes in testsuite/debug

expect breakage
2003-06-29 14:05:49 +00:00
Thomas Vander Stichele
6cf83f6d8b applying http://bugzilla.gnome.org/show_bug.cgi?id=110707 patch, should fix testsuite issues
Original commit message from CVS:
applying
http://bugzilla.gnome.org/show_bug.cgi?id=110707
patch, should fix testsuite issues
2003-05-18 22:59:51 +00:00
Benjamin Otte
df7d0e43d4 added tests for parsing stuff
Original commit message from CVS:
added tests for parsing stuff
2003-04-10 01:51:42 +00:00
Christian Schaller
457ae12e9f fix disting
Original commit message from CVS:
fix disting
2002-12-31 11:34:11 +00:00
Thomas Vander Stichele
2556b83528 adding back threads tests
Original commit message from CVS:
adding back threads tests
2002-11-14 09:23:58 +00:00
David I. Lehn
e00fef2c19 use AM_CFLAGS instead of CFLAGS
Original commit message from CVS:
use AM_CFLAGS instead of CFLAGS
2002-11-02 05:24:27 +00:00
Thomas Vander Stichele
42810b4db3 for better or worse, make distcheck now passes again
Original commit message from CVS:
for better or worse, make distcheck now passes again
2002-07-01 13:02:03 +00:00
Thomas Vander Stichele
ef3dd2fc6c dist fixes
Original commit message from CVS:
dist fixes
2002-07-01 12:08:22 +00:00
Thomas Vander Stichele
25b21e82f5 fixing tests
Original commit message from CVS:
fixing tests
2002-07-01 10:41:39 +00:00
Andy Wingo
631c8f5ca5 re-enable thread test, although it does not work but passes right now warn for bizarre behavior in plugin loading
Original commit message from CVS:
re-enable thread test, although it does not work but passes right now
warn for bizarre behavior in plugin loading
2002-05-25 17:45:51 +00:00
Thomas Vander Stichele
6b8e279df3 various more tests enabling
Original commit message from CVS:
various more tests enabling
2002-05-09 16:44:22 +00:00
Andy Wingo
57478148c9 hopefully fix distcheck issues
Original commit message from CVS:
hopefully fix distcheck issues
2002-05-07 03:01:16 +00:00
Andy Wingo
d7f4c306cd Fix the tests so that builds that are not --enable-plugin-builddir can register the plugins from the uninstalled gstr...
Original commit message from CVS:
Fix the tests so that builds that are not --enable-plugin-builddir can register
the plugins from the uninstalled gstreamer directory. There is some small amount of voodoo
here.

Also, add gst-inspect-check to gstreamer/testsuite, where it probably belongs
2002-05-05 16:49:45 +00:00
Thomas Vander Stichele
b172752619 adding clock example
Original commit message from CVS:
adding clock example
2002-04-23 19:12:54 +00:00
Thomas Vander Stichele
48c32ac434 uncomment it in the DIRS to avoid errors
Original commit message from CVS:
uncomment it in the DIRS to avoid errors
2002-02-22 19:38:48 +00:00
Thomas Vander Stichele
1246cebdf6 add to DIST_SUBDIRS
Original commit message from CVS:
add to DIST_SUBDIRS
2002-02-22 17:47:10 +00:00
Steve Baker
0a99d7cafb generate the makefile for dparams testing
Original commit message from CVS:
generate the makefile for dparams testing
2002-02-21 20:47:14 +00:00
Thomas Vander Stichele
f985019e4c more build cleanups (using as-version and as-libtool) some release doc notes from the previous release
Original commit message from CVS:
* more build cleanups (using as-version and as-libtool)
* some release doc notes from the previous release
2002-02-09 21:05:12 +00:00
Thomas Vander Stichele
5796ee63bc remove elements from the tests for now
Original commit message from CVS:
remove elements from the tests for now
2002-01-31 22:42:52 +00:00
Thomas Vander Stichele
d3ef105676 elements test dir
Original commit message from CVS:
elements test dir
2002-01-31 22:33:22 +00:00
Thomas Vander Stichele
04f32a7280 removed capsnego testsuite from build if ok then someone please remove the source dirs
Original commit message from CVS:
removed capsnego testsuite from build
if ok then someone please remove the source dirs
2002-01-15 09:29:27 +00:00
Wim Taymans
5c10feaf48 Removed the old capsnego tests
Original commit message from CVS:
Removed the old capsnego tests
2002-01-14 21:45:48 +00:00
Thomas Vander Stichele
f0586a57dc fixing make distcheck
Original commit message from CVS:
fixing make distcheck
2002-01-14 14:04:14 +00:00
Thomas Vander Stichele
8a96491618 fixes for make distcheck does GST_ELEMENT_IS_COTHREAD_STOPPING still exist ? and if so, how should it be found by the...
Original commit message from CVS:
fixes for make distcheck
does GST_ELEMENT_IS_COTHREAD_STOPPING still exist ?
and if so, how should it be found by the bytestream test ?
2002-01-02 14:07:46 +00:00
Thomas Vander Stichele
c81314f924 fixes to make distcheck work changed registry out of date to warning to allow tests to continue regardless (any bette...
Original commit message from CVS:
fixes to make distcheck work
changed registry out of date to warning to allow tests to continue regardless (any better suggestions much appreciated)
2002-01-02 12:23:26 +00:00
Wim Taymans
b48a02d635 Added a testsuite for pipeline cleanup etc..
Original commit message from CVS:
Added a testsuite for pipeline cleanup etc..
2001-12-18 14:34:39 +00:00
Thomas Vander Stichele
c9db813400 sigh
Original commit message from CVS:
sigh
2001-12-10 17:40:47 +00:00
Thomas Vander Stichele
223780c95e *sigh*
Original commit message from CVS:
*sigh*
2001-12-10 16:33:43 +00:00
Thomas Vander Stichele
fd99a84629 threads back in ?
Original commit message from CVS:
threads back in ?
2001-12-08 13:57:17 +00:00
wrobell
08eaa11259 - some fixes to int2float making automake 1.5 happy (gst now requires automake1.5). It's still not perfect but it bui...
Original commit message from CVS:
- added playondemand plugin by Leif Morgan Johnson <lmjohns3@eos.ncsu.edu>
- some fixes to int2float
- aplied a patch from wrobell <wrobell@ite.pl> that is a first attempt at
making automake 1.5 happy (gst now requires automake1.5). It's still not
perfect but it builds.
- Made the schedulers plugable. The default scheduler now lives inside a
plugin.
- Added a new mpeg1/2 parser/demuxer.
- Fixed some compiler warnings in the core libs.
- substantial work to GstThread (hopefully less race conditions). simplified
the code in GstThread a bit. A state change can now also happen in the
thread context.
- reworked the state semantics of a bin. it'll now automatically get the
highest state of its children.
- the autoplugger now nests the threads so that a state change failure of
one thread doesn't make its upstream thread lock.
- GstQueue refuses to go to PLAYING if the sinkpad is not connected. This
way the queue will not wedge in the _get lock.
- GstQueue unlocks its mutexes when going to PAUSED.
- make sure that when all elements in a bin/thread go to PAUSED, the bin
is set to PAUSED too.
- make a parent bin wait for its children to PAUSE before ending the
iteration with FALSE (EOS)
- Some changes to GstPlay to deal with EOS.
- aplied the latest patch from Zeenix to gstrtp.

end result: GstPlay doesn't crash on EOS and the pipeline is now shut down
properly.
2001-12-04 22:12:50 +00:00
Thomas Vander Stichele
d678f74f2c temporarily removed refcounting
Original commit message from CVS:
temporarily removed refcounting
2001-11-27 22:56:22 +00:00
Thomas Vander Stichele
ebfd7aac62 added plugin
Original commit message from CVS:
added plugin
2001-11-13 11:15:36 +00:00
Andy Wingo
2ffb853b7d make distcheck fixes, and added bytestream test to distro (why not?)
Original commit message from CVS:
make distcheck fixes, and added bytestream test to distro (why not?)
2001-10-26 20:19:02 +00:00
Wim Taymans
12bbbd5c1e Lots of modifications to the plugin system.
Original commit message from CVS:
Lots of modifications to the plugin system.
- Added a GstPluginfeature object that serves as a base class for all
plugin contents.
- changed the plugin API, everyhting is now added with
gst_plugin_add_feature
- typefactories are named now so that they can be located easily and filled
in at plugin load.
- mime types like "video/raw image/raw" are gone for now.
- lots of plugin updates (style and API changes)
- tested with an without registry.
- updates to various tools.
- added a little testsuite to test/show how you can load plugins (4 modes)

Test this one, Almost everything has changed :-)
2001-08-21 20:16:48 +00:00
Wim Taymans
986777c851 Makfeile updates.
Original commit message from CVS:
Makfeile updates.
2001-05-27 22:25:32 +00:00
Erik Walthinsen
a3d7869aaa various build fixes
Original commit message from CVS:
various build fixes
2001-05-27 21:56:04 +00:00
Richard Boulton
51847f3fe4 Added a testsuite. This currently only has one test, which replicates a problem just submitted to the list.
Original commit message from CVS:
Added a testsuite.  This currently only has one test, which replicates a
problem just submitted to the list.

I hope noone disagrees that we need a testsuite.  Also, hopefully we all
think that a tiny testsuite which is easy to add tests to is much better
than a huge project to create a complete testsuite, which never gets
started because its too big and scary.

I suggest that tests get created whenever someone has a spare moment, or
whenever a bug is reported (to replicate the problem, and thus be sure that
when fixed it stays fixed), and before making a change to a piece of code
to ensure that it remains working.

If we all add little tests occasionally, then we'll have a good useful
testsuite before we know it.  All you need to do is make a
2001-03-09 12:08:38 +00:00