Commit graph

752 commits

Author SHA1 Message Date
Benjamin Otte
2696ee9c90 gst/parse/grammar.y: fix assert to not trigger when there's no error argument
Original commit message from CVS:
* gst/parse/grammar.y:
fix assert to not trigger when there's no error argument
* gst/parse/parse.l:
fix definition of caps to allow more than two structures
* testsuite/caps/Makefile.am:
* testsuite/caps/renegotiate.c: (main):
it's sinesrc and works in that case
2004-05-04 17:00:11 +00:00
Thomas Vander Stichele
8be32795c6 fix Rules
Original commit message from CVS:
fix Rules
2004-05-04 12:47:58 +00:00
Thomas Vander Stichele
e7b9201555 reorganize C/LIB flags add gst_info to gstcompat.h
Original commit message from CVS:
reorganize C/LIB flags
add gst_info to gstcompat.h
2004-05-04 12:38:36 +00:00
David Schleef
a84c8398c2 The "once more, with feeling" check-in.
Original commit message from CVS:
The "once more, with feeling" check-in.
* testsuite/caps/Makefile.am: dist caps_strings
* testsuite/caps/renegotiate.c: (main): This test triggers a
segfault in the core.  Marking as failing.
2004-05-04 08:09:36 +00:00
David Schleef
c3158814b5 testsuite/caps/deserialize.c: Fix problems noticed by the build bots.
Original commit message from CVS:
* testsuite/caps/deserialize.c: (main): Fix problems noticed
by the build bots.
* testsuite/caps/renegotiate.c: (main): Same.
2004-05-04 06:23:48 +00:00
David Schleef
cbafc0d49b testsuite/caps/renegotiate.c: Another test.
Original commit message from CVS:
* testsuite/caps/renegotiate.c: (my_fixate), (main): Another test.
2004-05-04 02:33:41 +00:00
David Schleef
2a410443b7 testsuite/caps/deserialize.c: Use the srcdir environment variable to find our source file.
Original commit message from CVS:
* testsuite/caps/deserialize.c: (main): Use the srcdir environment variable
to find our source file.
2004-05-04 02:30:11 +00:00
David Schleef
d8f937790c configure.ac: Link plugins with libgstreamer and dependent libraries
Original commit message from CVS:
* configure.ac:  Link plugins with libgstreamer and dependent
libraries
* testsuite/caps/Makefile.am:
* testsuite/caps/caps_strings:
* testsuite/caps/deserialize.c: (main): Add a little test to slog
through a file of caps strings and test each one
2004-05-04 01:58:36 +00:00
David Schleef
e598685f52 testsuite/caps/Makefile.am: Fix spelling of Ηρατοσθενες
Original commit message from CVS:
* testsuite/caps/Makefile.am: Fix spelling of Ηρατοσθενες
* testsuite/caps/erathostenes.c:
* testsuite/caps/eratosthenes.c: (eratosthenes), (main):
2004-05-03 22:00:53 +00:00
Stéphane Loeuillet
d2c0d11ea9 disksink -> filesink
Original commit message from CVS:
disksink -> filesink
2004-05-03 01:06:56 +00:00
Thomas Vander Stichele
c00b874061 #ifdef new symbol
Original commit message from CVS:
#ifdef new symbol
2004-04-23 09:21:24 +00:00
Benjamin Otte
bb1302b533 gst/gstcaps.c: fix simplifying and subtracting not working correctly with optional properties solve assorted problems...
Original commit message from CVS:
* gst/gstcaps.c: (gst_caps_structure_subtract_field),
(gst_caps_structure_subtract), (gst_caps_subtract),
(gst_caps_structure_figure_out_union),
(gst_caps_structure_simplify), (gst_caps_do_simplify):
fix simplifying and subtracting not working correctly with optional
properties
solve assorted problems that make it now simplify ebven more
* docs/gst/tmpl/gstcaps.sgml:
* gst/gstcaps.h:
make gst_caps_do_simplify return a bool to indicate if it simplified
* testsuite/caps/simplify.c: (main):
add more checks. The tests is quite a bit useless right now because
the core is heavily simplifying itself.
* testsuite/caps/caps.h:
fix caps to contain all optional properties
2004-04-22 23:50:46 +00:00
Benjamin Otte
1c0dbd87b9 docs/gst/tmpl/: update for recent API changes
Original commit message from CVS:
* docs/gst/tmpl/gstcaps.sgml:
* docs/gst/tmpl/gstfilesrc.sgml:
* docs/gst/tmpl/gststructure.sgml:
* docs/gst/tmpl/gstvalue.sgml:
update for recent API changes
* gst/gstcaps.c: (gst_caps_do_simplify):
fix to stop trying with a freed structure
* gst/gstpad.c: (gst_pad_link_fixate):
simplify caps
* gst/gstpad.c: (gst_pad_template_get_caps_by_name):
remove C++ comment
* gst/gstpad.h:
deprecate gst_pad_template_get_caps_by_name, it doesn't work anyway
* gst/gststructure.c: (gst_structure_value_get_generic_type),
(gst_structure_to_string):
keep the correct type when using lists of ranges
* gst/gstvalue.c: (gst_value_list_prepend_value),
(gst_value_list_append_value):
copy the value before adding to the list (d'oh)
* gst/gstvalue.c: (gst_value_subtract_int_range_int),
(gst_value_subtract_int_range_int_range):
handle overflows correctly
* gst/gstvalue.c: (gst_value_subtract_from_list):
fix memleak
* testsuite/caps/caps.h:
add a caps that caused segfaults
2004-04-22 16:39:23 +00:00
Benjamin Otte
a6c11fb9f8 testsuite/refcounting/pad.c: fix test
Original commit message from CVS:
* testsuite/refcounting/pad.c: (main):
fix test
2004-04-22 05:08:19 +00:00
Benjamin Otte
0ebe57e7d5 update cvsignore
Original commit message from CVS:
update cvsignore
2004-04-22 04:47:20 +00:00
Benjamin Otte
d7c64c071b gst/gstcaps.c: fix bug when converting from empty string.
Original commit message from CVS:
* gst/gstcaps.c: (gst_caps_from_string_inplace):
fix bug when converting from empty string.
* gst/gstcaps.c: (gst_caps_new_any), (gst_caps_new_simple),
(gst_caps_new_full_valist), (gst_caps_copy), (gst_caps_copy_1):
use gst_caps_new_empty to allocate a new caps. Only that function
allocates memory for caps now.
* gst/gstcaps.c: (gst_caps_remove_and_get_structure),
(gst_caps_remove_structure):
add ability to remove one structure (but not to header yet)
* gst/gstcaps.c: (gst_caps_compare_structures),
(gst_caps_simplify), (gst_caps_structure_figure_out_union),
(gst_caps_structure_simplify), (gst_caps_do_simplify),
* gst/gstcaps.h:
add gst_caps_do_simplify that tries to simplify a caps in place.
Deprecate old gst_caps_simplify function.
* testsuite/caps/caps.h:
add caps.h containing a common set of caps to test against.
* testsuite/caps/sets.c: (check_caps), (main):
use it.
* testsuite/caps/.cvsignore:
* testsuite/caps/Makefile.am:
* testsuite/caps/simplify.c: (check_caps), (main):
add test to check correctness and efficency of caps simplification.
2004-04-22 02:35:13 +00:00
Benjamin Otte
a3cb86522a gst/gstpad.c: refuse to link if the link is not possible
Original commit message from CVS:
* gst/gstpad.c: (gst_pad_link_negotiate):
refuse to link if the link is not possible
* configure.ac:
* testsuite/Makefile.am:
* testsuite/negotiation/.cvsignore:
* testsuite/negotiation/Makefile.am:
* testsuite/negotiation/pad_link.c: (main):
add test that checks the above behaviour
2004-04-21 19:12:51 +00:00
Benjamin Otte
614b4d1627 gst/gstcaps.c: check for ANY caps before appending/unioning
Original commit message from CVS:
* gst/gstcaps.c: (gst_caps_append), (gst_caps_union):
check for ANY caps before appending/unioning
* gst/gstcaps.c: (gst_caps_is_subset),
(gst_caps_is_equal), (gst_caps_structure_subtract_field),
(gst_caps_structure_subtract), (gst_caps_subtract):
* gst/gstcaps.h:
add gst_caps_is_equal, gst_caps_is_subset and gst_caps_subtract to
the API. deprecate gst_caps_is_equal_fixed
* gst/gstpad.c: (gst_pad_try_set_caps):
* gst/gstqueue.c: (gst_queue_link):
s/gst_caps_is_equal_fixed/gst_caps_is_equal/
* gst/gststructure.c: (gst_structure_get_name_id):
* gst/gststructure.h:
add function gst_structure_get_name_id
* gst/gstvalue.c: (gst_value_subtract_int_int_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),
(gst_value_subtract_double_range_double_range),
(gst_value_subtract_from_list), (gst_value_subtract_list),
(gst_value_can_intersect), (gst_value_subtract),
(gst_value_can_subtract), (gst_value_register_subtract_func),
(_gst_value_initialize):
* gst/gstvalue.h:
add support for subtracting values from each other. Note that
subtracting means subtracting as in set theory. Required for caps
stuff above.
* testsuite/caps/.cvsignore:
* testsuite/caps/Makefile.am:
* testsuite/caps/erathostenes.c: (erathostenes), (main):
* testsuite/caps/sets.c: (check_caps), (main):
* testsuite/caps/subtract.c: (check_caps), (main):
add tests for subtraction and equality code.
2004-04-21 03:25:13 +00:00
David Schleef
828252e0f2 common/as-libtool.mak: Fine-tune DLL building.
Original commit message from CVS:
* common/as-libtool.mak: Fine-tune DLL building.
* configure.ac: Link plugins against libgstreamer.  Define plugindir
(like gst-plugins)
* examples/plugins/Makefile.am: remove plugindir
* gst/autoplug/Makefile.am: DLL building fixes
* gst/elements/Makefile.am: DLL building fixes.  Disable pipefilter on
Windows.
* gst/elements/gstelements.c: Conditionally disable pipefilter.
* gst/indexers/Makefile.am: DLL building fixes
* gst/schedulers/Makefile.am: DLL building fixes.
* libs/gst/bytestream/Makefile.am: DLL building fixes.
* libs/gst/control/Makefile.am: same
* libs/gst/getbits/Makefile.am: same
* testsuite/Makefile.am: New dlopen directory
* testsuite/dlopen/Makefile.am: Tests to check if libgstreamer works
when dlopened.
* testsuite/dlopen/dlopen_gst.c: (main): same
* testsuite/dlopen/loadgst.c: (do_test): same
2004-04-20 22:22:01 +00:00
Benjamin Otte
5f524cd068 testsuite/caps/filtercaps.c: fix test to test things correctly (caps are complicated)
Original commit message from CVS:
* testsuite/caps/filtercaps.c: (main):
fix test to test things correctly (caps are complicated)
2004-04-20 03:07:12 +00:00
Benjamin Otte
781e79e043 testsuite/caps/: add test (that doesn't work right now, but should)
Original commit message from CVS:
* testsuite/caps/Makefile.am:
* testsuite/caps/filtercaps.c: (main):
add test (that doesn't work right now, but should)
2004-04-20 02:43:35 +00:00
Thomas Vander Stichele
7ad9aa8526 do error checking instead of segfaulting
Original commit message from CVS:
do error checking instead of segfaulting
2004-04-16 10:17:55 +00:00
David Schleef
66f00f1c78 docs/gst/gstreamer-sections.txt: Remove deprecated symbols.
Original commit message from CVS:
* docs/gst/gstreamer-sections.txt: Remove deprecated symbols.
* docs/gst/tmpl/gstinfo.sgml: same
* docs/gst/tmpl/gstutils.sgml: Remove a bunch of bogus crap that
gtk-doc put here.
* gst/gstutils.h: Remove the \ that was confusing gtk-doc.
* examples/queue/queue.c: (main):  We iterate pipelines, not
bins.  (bug #139996)
2004-04-16 01:34:05 +00:00
Thomas Vander Stichele
43f190df39 releasing
Original commit message from CVS:
releasing
2004-04-15 11:30:32 +00:00
David Schleef
3547072600 testsuite/Makefile.am: define tests_ignore
Original commit message from CVS:
* testsuite/Makefile.am: define tests_ignore
* testsuite/Rules: Added new tests_ignore, which get compiled,
but not run (generally because they're inconsistent or have
heisenbugs).  Now we can ensure all the .c files compile in
testsuite/.
* testsuite/bins/Makefile.am: define tests_ignore
* testsuite/bytestream/Makefile.am:
* testsuite/caps/Makefile.am:
* testsuite/clock/Makefile.am:
* testsuite/debug/Makefile.am:
* testsuite/debug/global.c: (gst_debug_log_one),
(gst_debug_log_two): Fix compilation problem.
* testsuite/dynparams/Makefile.am:
* testsuite/elements/Makefile.am:
* testsuite/ghostpads/Makefile.am:
* testsuite/indexers/Makefile.am:
* testsuite/parse/Makefile.am:
* testsuite/plugin/Makefile.am:
* testsuite/refcounting/Makefile.am:
* testsuite/refcounting/element_pad.c: (main): Don't return leak
results, because it's not calculated correctly.
* testsuite/refcounting/pad.c: (main): same
* testsuite/states/Makefile.am:
* testsuite/tags/Makefile.am:
* testsuite/threads/Makefile.am:
2004-04-15 04:54:53 +00:00
Thomas Vander Stichele
923b573acb fix make issue
Original commit message from CVS:
fix make issue
2004-04-14 18:59:08 +00:00
Thomas Vander Stichele
8bdbb4a088 disable pad and element_pad test until vmsize () works reliably
Original commit message from CVS:
disable pad and element_pad test until vmsize () works reliably
2004-04-14 17:10:57 +00:00
Thomas Vander Stichele
4e3489c2e5 ... except of course it still fails, vmsize () might be broken
Original commit message from CVS:
... except of course it still fails, vmsize () might be broken
2004-04-13 13:26:06 +00:00
Thomas Vander Stichele
147ae1025b element_pad should pass
Original commit message from CVS:
element_pad should pass
2004-04-13 13:04:47 +00:00
Thomas Vander Stichele
6cdb35a69a adding debugs to figure out where rh9's heisenbug lives
Original commit message from CVS:
adding debugs to figure out where rh9's heisenbug lives
2004-04-13 10:57:53 +00:00
Thomas Vander Stichele
21392d9227 add asserts, fix up tests slightly
Original commit message from CVS:
add asserts, fix up tests slightly
2004-04-13 10:44:29 +00:00
David Schleef
26663bbf1c gst/gstbuffer.c: (gst_buffer_free_chunk): Added gst_buffer_get_type() and changed to using it.
Original commit message from CVS:
* gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
(gst_buffer_free_chunk): Added gst_buffer_get_type() and changed
to using it.
* gst/gstbuffer.h: Changed GST_BUFFER_TYPE to gst_buffer_get_type()
* gst/gstcaps.c: (gst_caps_is_fixed_foreach): Buffer is a fixed type
* gst/gstpad.c: (_gst_pad_default_fixate_foreach): same
* gst/gststructure.c: (gst_structure_set_valist),
(gst_structure_from_abbr), (gst_structure_to_abbr): Add vararg
support for buffers.
* gst/gsttag.c: (gst_tag_register): Constify a prototype that was
intended to be const.
* gst/gsttag.h: same
* gst/gstvalue.c: (gst_value_serialize_buffer),
(gst_value_deserialize_buffer), (_gst_value_initialize):  Add code
to (de)serialize buffers.
* testsuite/caps/Makefile.am:  Add a bit of buffer testing
* testsuite/caps/string-conversions.c: (main):
* testsuite/caps/value_serialize.c: add new test
2004-04-13 02:22:02 +00:00
Thomas Vander Stichele
6572589d22 dist fix
Original commit message from CVS:
dist fix
2004-04-05 11:32:22 +00:00
Thomas Vander Stichele
cb6fca85bf disable test until it stops breaking distcheck
Original commit message from CVS:
disable test until it stops breaking distcheck
2004-04-05 10:25:55 +00:00
Benjamin Otte
e25612f443 testsuite/debug/: fix tests to work again with debugging enabled
Original commit message from CVS:
* testsuite/debug/category.c: (main):
* testsuite/debug/commandline.c: (main):
* testsuite/debug/output.c: (main):
fix tests to work again with debugging enabled
2004-04-05 04:31:00 +00:00
Benjamin Otte
03c19b3e3e testsuite/debug/: fix tests to work again with debugging enabled
Original commit message from CVS:
* testsuite/debug/category.c: (main):
* testsuite/debug/commandline.c: (main):
* testsuite/debug/output.c: (main):
fix tests to work again with debugging enabled
2004-04-05 04:10:05 +00:00
Benjamin Otte
75f4ff0686 fix to successfully build and test with --disable-gst-debug configure switch
Original commit message from CVS:
* gst/autoplug/gstspider.c: (gst_spider_identity_plug):
* gst/gstinfo.h:
* testsuite/debug/category.c: (main):
* testsuite/debug/commandline.c: (main):
* testsuite/debug/output.c: (main):
* testsuite/debug/printf_extension.c: (main):
fix to successfully build and test with --disable-gst-debug
configure switch
2004-04-03 04:16:24 +00:00
David Schleef
e6a6307944 gst/gstvalue.c: Add some union implementations. We didn't have any previously.
Original commit message from CVS:
* gst/gstvalue.c: (gst_value_union_int_int_range),
(gst_value_union_int_range_int_range), (gst_value_can_union),
(gst_value_union), (_gst_value_initialize):  Add some union
implementations.  We didn't have any previously.
* testsuite/caps/Makefile.am:
* testsuite/caps/audioscale.c: (gst_audioscale_expand_value),
(gst_audioscale_getcaps), (test_caps), (main): A little test
that is the same as the caps manipulation in audioscale.
2004-03-31 21:49:19 +00:00
Benjamin Otte
c29e35436f gst/gstbin.c: don't add decoupled elements to schedulers - otherwise it's impossible to control if a link to a decoup...
Original commit message from CVS:
* gst/gstbin.c: (gst_bin_set_element_sched),
(gst_bin_unset_element_sched):
don't add decoupled elements to schedulers - otherwise it's
impossible to control if a link to a decoupled element was already
removed from a scheduler or not.
* gst/schedulers/cothreads_compat.h:
* gst/schedulers/gthread-cothreads.h:
add COTHREADS_TYPE macro. Make do_cothread_set_func a macro so there
is no "unused" warning.
* gst/schedulers/Makefile.am:
* gst/schedulers/entryscheduler.c:
add new scheduler, based on ideas from talking to David and Martin.
It's supposed to be small and correct. Currently it's also slow (but
it's not noticable)
* examples/retag/retag.c: (main):
* testsuite/bytestream/test1.c: (main):
fix missing NULLs at end of variadic functions
* testsuite/elements/.cvsignore:
update
2004-03-28 02:29:24 +00:00
Benjamin Otte
d357e5c959 no dear, that dress doesn't make you look fat. You look fat even without it.
Original commit message from CVS:
no dear, that dress doesn't make you look fat. You look fat even without it.
2004-03-25 02:43:28 +00:00
Benjamin Otte
4c0c9065f2 yes, dear, i'll leave the shoes at the front door
Original commit message from CVS:
yes, dear, i'll leave the shoes at the front door
2004-03-25 02:17:40 +00:00
Benjamin Otte
eb27a12ade i'd probably prefer a bitchy wife to automake
Original commit message from CVS:
i'd probably prefer a bitchy wife to automake
2004-03-25 02:05:22 +00:00
Benjamin Otte
dd092ad092 pleasing automake more
Original commit message from CVS:
pleasing automake more
2004-03-25 01:55:31 +00:00
Benjamin Otte
b8a69a8471 whoops, forgot to clean Makefile
Original commit message from CVS:
whoops, forgot to clean Makefile
2004-03-25 01:53:17 +00:00
Benjamin Otte
9b15382196 fix Makefile for buildbots
Original commit message from CVS:
fix Makefile for buildbots
2004-03-25 01:32:26 +00:00
Benjamin Otte
3f812f873f testsuite/elements/: add check to make sure gst-compprep works
Original commit message from CVS:
* testsuite/elements/Makefile.am:
* testsuite/elements/gst-compprep-check:
add check to make sure gst-compprep works
* testsuite/elements/gst-inspect-check.in:
improve initialization output
* testsuite/gst-inspect-check:
remove old file
2004-03-25 00:32:19 +00:00
David Schleef
2d19f03ddb testsuite/elements/: Add gst-inspect-check to the testsuite.
Original commit message from CVS:
* testsuite/elements/Makefile.am:
* testsuite/elements/gst-inspect-check.in: Add gst-inspect-check
to the testsuite.
2004-03-24 23:48:24 +00:00
Thomas Vander Stichele
7baa6c18e7 don't mix tabs and spaces
Original commit message from CVS:
don't mix tabs and spaces
2004-03-15 19:27:17 +00:00
Thomas Vander Stichele
92d5bcedfa sigh
Original commit message from CVS:
sigh
2004-03-15 17:57:22 +00:00
Thomas Vander Stichele
f41fbc0ed5 fix tests
Original commit message from CVS:
fix tests
2004-03-15 17:51:07 +00:00
Thomas Vander Stichele
563d272840 ignore some more
Original commit message from CVS:
ignore some more
2004-03-15 17:26:30 +00:00
Thomas Vander Stichele
3bbe7b2a26 automake fix
Original commit message from CVS:
automake fix
2004-03-15 16:59:53 +00:00
Thomas Vander Stichele
fa3625c241 fix registry in testsuite
Original commit message from CVS:
fix registry in testsuite
2004-03-15 16:54:28 +00:00
Thomas Vander Stichele
3fb8c9c0f7 use versioned gst-register
Original commit message from CVS:
use versioned gst-register
2004-03-15 16:44:36 +00:00
Johan Dahlin
ecd88e381d Revert again, this time without post-commit reindent hooks to put back the indentation :-)
Original commit message from CVS:
Revert again, this time without post-commit reindent hooks
to put back the indentation :-)
2004-03-15 14:43:35 +00:00
Johan Dahlin
e2b3dc3e47 *.h: Revert indentation changes.
Original commit message from CVS:
* *.h: Revert indentation changes.
2004-03-15 14:31:41 +00:00
Thomas Vander Stichele
a967370df5 gst-indent run on core
Original commit message from CVS:
gst-indent run on core
2004-03-13 15:27:01 +00:00
Johan Dahlin
37d2e6d087 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
2004-03-12 19:32:26 +00:00
Thomas Vander Stichele
1981690631 fix test
Original commit message from CVS:
fix test
2004-02-27 12:45:28 +00:00
Johan Dahlin
4eedbdb4ef Spelling fix
Original commit message from CVS:
Spelling fix
2004-02-16 18:13:21 +00:00
Thomas Vander Stichele
de988971b5 fix testsuite from segfaulting
Original commit message from CVS:
fix testsuite from segfaulting
2004-02-06 16:25:31 +00:00
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
Thomas Vander Stichele
2826ec0813 ignore file
Original commit message from CVS:
ignore file
2004-02-05 11:05:02 +00:00
Benjamin Otte
192330d37a parts of the patch submitted in bug #113913
Original commit message from CVS:
2004-01-30  Laurent Vivier <Laurent.Vivier@bull.net>

reviewed by Benjamin Otte
parts of the patch submitted in bug #113913

* configure.ac:
use AC_C_INLINE. Use = instead of == with test
* examples/plugins/example.c:
* gst/autoplug/gstspideridentity.c:
* gst/elements/gstfdsrc.c:
* gst/elements/gstfilesrc.c:
* gst/elements/gstidentity.c:
* gst/elements/gstmultidisksrc.c:
* gst/elements/gststatistics.c:
* gst/gstelement.c:
* gst/gstobject.c:
* gst/gstpad.c:
* gst/gstpipeline.c:
* gst/gstthread.c:
don't end enums with a comma
* gst/gstindex.c: (gst_index_compare_func):
do explicit casting to gint
* gst/gsttrace.c: (gst_trace_text_flush):
#define strsize as a macro
2004-01-30 20:48:13 +00:00
David Schleef
6a096813d4 configure.ac: Add detection for HAVE_PRINTF_EXTENSION and
Original commit message from CVS:
* configure.ac: Add detection for HAVE_PRINTF_EXTENSION and
GST_PRINTF_EXTENSION_FORMAT_DEFINE.
* docs/random/ds/0.9-suggested-changes: Notes from Company.
* gst/gstcaps.c: (gst_caps_to_string): Add comment.
* gst/gstconfig.h.in: Add define for GST_PTR_FORMAT
* gst/gstinfo.c: (_gst_debug_init), (gst_debug_print_object),
(gst_debug_log_default), (_gst_info_printf_extension),
(_gst_info_printf_extension_arginfo):  Add printf extension.
* gst/gstinfo.h: remove G_GNUC_PRINTF, because it doesn't work with %P
* gst/gststructure.c: (gst_structure_to_string),
(_gst_structure_parse_value): Use gst_value_deserialize() and
remove old code.
* gst/gstvalue.c: (gst_value_deserialize_fourcc),
(gst_value_deserialize_boolean), (gst_strtoi),
(gst_value_deserialize_int), (gst_value_deserialize_double),
(gst_value_deserialize_string), (gst_value_deserialize): Implement
a bunch of deserialize functions and gst_value_deserialize.
* gst/gstvalue.h: er, _de_serialize, not unserialize
* testsuite/caps/string-conversions.c: (main): We don't currently
handle (float) in caps, so convert these to (double).
* testsuite/debug/Makefile.am: Add new test for the printf extension
* testsuite/debug/printf_extension.c: (main): same
2004-01-29 01:20:23 +00:00
David Schleef
aeca198dda Revert accidental checkin and start over
Original commit message from CVS:
Revert accidental checkin and start over
2004-01-26 23:16:21 +00:00
David Schleef
13a292781e Original commit message from CVS:
reviewed by: <delete if not using a buddy>
* docs/gst/tmpl/gstelement.sgml:
* docs/gst/tmpl/gstplugin.sgml:
* docs/gst/tmpl/gstreamer-unused.sgml:
* docs/gst/tmpl/gstxml.sgml:
* gst/gstelement.h:
* gst/gstpad.c: (gst_pad_try_set_caps):
* gst/gstqueue.c: (gst_queue_chain):
* testsuite/caps/Makefile.am:
2004-01-26 23:13:24 +00:00
Colin Walters
b0171c4aa5 examples/retag/retag.c: Call gst_init before processing program args. Add g_assert to _link_many call.
Original commit message from CVS:
2004-01-18  Colin Walters  <walters@verbum.org>

* examples/retag/retag.c: Call gst_init before processing
program args.  Add g_assert to _link_many call.
2004-01-18 18:48:44 +00:00
David Schleef
a5834649c7 gst/gstcaps.h: Added gst_caps_is_simple() macro.
Original commit message from CVS:
* gst/gstcaps.h:
Added gst_caps_is_simple() macro.
* testsuite/caps/caps.c: (test1):
* testsuite/caps/intersect2.c: (main):
* testsuite/caps/intersection.c: (main):
Fixes to make 'make check' work again after removing
gst_caps_is_chained().
2004-01-16 00:58:06 +00:00
Benjamin Otte
1e82f617e4 gst/gstclock.*: deprecate old interface and disable functions that aren't in use anymore.
Original commit message from CVS:
2004-01-13  Benjamin Otte  <in7y118@public.uni-hamburg.de>

* gst/gstclock.c: (gst_clock_class_init), (gst_clock_init),
(gst_clock_set_speed), (gst_clock_set_active),
(gst_clock_is_active), (gst_clock_reset),
(gst_clock_handle_discont):
* gst/gstclock.h:
deprecate old interface and disable functions that aren't in use
anymore.
* gst/gstelement.h:
* gst/gstelement.c: (gst_element_get_time), (gst_element_wait),
(gst_element_set_time), (gst_element_adjust_time):
add concept of "element time" and functions to get/set this time.
* gst/gstelement.c: (gst_element_change_state):
update element time correctly.
* gst/gstelement.c: (gst_element_get_compatible_pad_filtered):
This is a debug message, not a g_critical.
* gst/gstpad.c: (gst_pad_event_default):
handle discontinuous events right with element time.
* gst/gstscheduler.c: (gst_scheduler_state_transition):
update to clocking fixes.
set clocks on elements in READY=>PAUSED. The old behaviour caused
a wrong element time on the first element that started playing.
* gst/schedulers/gstbasicscheduler.c:
(gst_basic_scheduler_class_init):
* gst/schedulers/gstoptimalscheduler.c:
(gst_opt_scheduler_class_init):
remove code that just implements the default behaviour.
* gst/elements/gstfakesink.c: (gst_fakesink_chain):
update to use new clocking functions
* testsuite/clock/clock1.c: (gst_clock_debug), (main):
* testsuite/clock/clock2.c: (gst_clock_debug), (main):
update to test new element time.
* gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps):
use _get_allowed_caps instead of _get_caps. This catches filtered
caps correctly.
* testsuite/debug/commandline.c:
update for new GST_DEBUG syntax.
* testsuite/threads/Makefile.am:
disable a test that only works sometimes.
2004-01-14 00:46:48 +00:00
Thomas Vander Stichele
2fc36c6669 fix testsuite
Original commit message from CVS:
fix testsuite
2004-01-12 17:22:15 +00:00
Benjamin Otte
a5bb704036 update - this is huge, because it includes *.bb, *.bbg and *.da files which are generated for gcov.
Original commit message from CVS:
2004-01-12  Benjamin Otte  <in7y118@public.uni-hamburg.de>

* examples/cutter/.cvsignore:
* examples/helloworld/.cvsignore:
* examples/launch/.cvsignore:
* examples/manual/.cvsignore:
* examples/mixer/.cvsignore:
* examples/pingpong/.cvsignore:
* examples/plugins/.cvsignore:
* examples/queue/.cvsignore:
* examples/queue2/.cvsignore:
* examples/queue3/.cvsignore:
* examples/queue4/.cvsignore:
* examples/retag/.cvsignore:
* examples/thread/.cvsignore:
* examples/typefind/.cvsignore:
* examples/xml/.cvsignore:
* gst/.cvsignore:
* gst/autoplug/.cvsignore:
* gst/elements/.cvsignore:
* gst/indexers/.cvsignore:
* gst/parse/.cvsignore:
* gst/registries/.cvsignore:
* gst/schedulers/.cvsignore:
* libs/gst/bytestream/.cvsignore:
* libs/gst/control/.cvsignore:
* libs/gst/getbits/.cvsignore:
* tests/.cvsignore:
* tests/bufspeed/.cvsignore:
* tests/instantiate/.cvsignore:
* tests/memchunk/.cvsignore:
* tests/muxing/.cvsignore:
* tests/sched/.cvsignore:
* tests/seeking/.cvsignore:
* tests/threadstate/.cvsignore:
* testsuite/.cvsignore:
* testsuite/caps/.cvsignore:
* testsuite/cleanup/.cvsignore:
* testsuite/dynparams/.cvsignore:
* testsuite/plugin/.cvsignore:
* tools/.cvsignore:
update - this is huge, because it includes *.bb, *.bbg and *.da files
which are generated for gcov.
2004-01-12 16:53:23 +00:00
Thomas Vander Stichele
db26705ee3 files to ignore
Original commit message from CVS:
files to ignore
2004-01-07 16:31:01 +00:00
Ronald S. Bultje
718b21bfc2 gst/elements/gstfilesink.c: Fix for if we pass NULL as property to location.
Original commit message from CVS:
2004-01-07  Ronald Bultje  <rbultje@ronald.bitfreak.net>

* gst/elements/gstfilesink.c: (gst_filesink_set_location):
Fix for if we pass NULL as property to location.
* gst/elements/gstpipefilter.c: (gst_pipefilter_init),
(gst_pipefilter_handle_event), (gst_pipefilter_chain):
Fix for instantiate-test (see below).
* gst/gststructure.c: (_gst_structure_parse_value):
Fix compile error on gcc-2.96.
* configure.ac:
* tests/Makefile.am:
* tests/instantiate/Makefile.am:
* tests/instantiate/create.c: (create_all_elements), (main):
Add a test that instantiates all elements. This makes it easy to
track dead code for old API/design (like setting event functions
on sink pads and so on).
2004-01-07 13:13:03 +00:00
David Schleef
2f85a255ba gst/elements/gsttee.c: Remove usage of gst_pad_proxy_fixate.
Original commit message from CVS:
* gst/elements/gsttee.c: (gst_tee_init), (gst_tee_request_new_pad):
Remove usage of gst_pad_proxy_fixate.
* gst/gstcaps.c: (gst_caps_append), (gst_caps_append_structure),
(gst_caps_split_one), (gst_caps_replace):
Add poisoning code.
* gst/gstmarshal.list:
Add pointer__pointer for fixate signal
* gst/gstpad.c: (gst_real_pad_class_init),
(_gst_real_pad_fixate_accumulator), (gst_pad_link_fixate),
(_gst_pad_default_fixate_func), (gst_pad_proxy_fixate),
(gst_pad_set_explicit_caps), (gst_pad_template_new):
Add poisoning code. Add fixate signal on RealPad. Change
set_explicit_caps() to take const GstCaps, like try_set_caps().
* gst/gstpad.h:
* testsuite/caps/Makefile.am:
* testsuite/caps/app_fixate.c: Add a test for the fixate signal
2004-01-04 23:43:11 +00:00
David Schleef
58f4b89e95 Implement gst_caps_normalize()
Original commit message from CVS:
Implement gst_caps_normalize()
2004-01-01 02:17:44 +00:00
David Schleef
56de7957ef Disable code which does stuff we don't approve of
Original commit message from CVS:
Disable code which does stuff we don't approve of
2003-12-22 18:58:58 +00:00
David Schleef
503f38da70 undist caps2
Original commit message from CVS:
undist caps2
2003-12-22 05:34:13 +00:00
David Schleef
d100e0b489 Add test for a bug in GstValueList
Original commit message from CVS:
Add test for a bug in GstValueList
2003-12-22 03:03:31 +00:00
David Schleef
da9896d40a Convert "caps2" to "caps".
Original commit message from CVS:
Convert "caps2" to "caps".
2003-12-22 02:27:18 +00:00
David Schleef
379c13b631 remove files that were moved to testsuite/caps
Original commit message from CVS:
remove files that were moved to testsuite/caps
2003-12-22 02:17:08 +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
d476031fe0 Move testsuite/caps2 code to testsuite/caps
Original commit message from CVS:
Move testsuite/caps2 code to testsuite/caps
2003-12-22 02:11:52 +00:00
David Schleef
3437004408 Stupid CVS.
Original commit message from CVS:
Stupid CVS.
2003-12-22 02:09:32 +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
b0a17df7ea minor cosmetic fixes
Original commit message from CVS:
minor cosmetic fixes
2003-12-19 15:25:45 +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
54d54fac0c add tests for gst_bin_get_(all_)by_interface
Original commit message from CVS:
add tests for gst_bin_get_(all_)by_interface
2003-12-16 19:32:27 +00:00
Thomas Vander Stichele
6611ab723b doh me
Original commit message from CVS:
doh me
2003-12-12 16:27:34 +00:00
Thomas Vander Stichele
164cda6c96 this should fix the rh9 build
Original commit message from CVS:
this should fix the rh9 build
2003-12-12 15:50:02 +00:00
Thomas Vander Stichele
206faec907 geez, I thought I did this a long time ago.
Original commit message from CVS:
geez, I thought I did this a long time ago.
anyway, don't really need a copy if we use the source
2003-12-12 15:00:39 +00:00
Andy Wingo
8ca1b1fe7f remove copyright field from plugin structs
Original commit message from CVS:
remove copyright field from plugin structs
2003-12-04 10:02:41 +00:00
Thomas Vander Stichele
a0e8e56d8d fix docs build fix make distcheck
Original commit message from CVS:
fix docs build
fix make distcheck
2003-12-02 18:21:35 +00:00
Thomas Vander Stichele
088c0de204 removing this broken example. holler if you need it.
Original commit message from CVS:
removing this broken example. holler if you need it.
2003-12-02 15:56:27 +00:00
David Schleef
57fcf33e5e Remove old autoplug code
Original commit message from CVS:
Remove old autoplug code
2003-11-29 05:29:30 +00:00
David Schleef
526a065e85 Disable a test that is inconsistent
Original commit message from CVS:
Disable a test that is inconsistent
2003-11-29 04:40:20 +00:00
Benjamin Otte
6939e4f97c oops, forgot to add tests
Original commit message from CVS:
oops, forgot to add tests
2003-11-24 02:27:51 +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
36f12d3acb minor cleanup
Original commit message from CVS:
minor cleanup
2003-11-19 23:01:51 +00:00
David Schleef
2281444596 link against the .la file. Note that we're linking against a plugin, which is technically not allowed.
Original commit message from CVS:
link against the .la file.  Note that we're linking against a
plugin, which is technically not allowed.
2003-11-19 23:01:07 +00:00
David Schleef
cefcb3b064 make the plugin path more restrictive
Original commit message from CVS:
make the plugin path more restrictive
2003-11-19 22:59:19 +00:00
David Schleef
d8d3d9fff1 Add #include "config.h"
Original commit message from CVS:
Add #include "config.h"
2003-11-13 03:19:48 +00:00
Benjamin Otte
bb7422b2e7 ignore some more tests
Original commit message from CVS:
ignore some more tests
2003-11-09 18:09:24 +00:00
Benjamin Otte
b03093d8e1 added a test that was claimed to fail but works here
Original commit message from CVS:
added a test that was claimed to fail but works here
2003-11-09 18:08:00 +00:00
Iain Holmes
0676d630e7 threadb and threadc are unexpectedly passing on my system (glibc2.3.1 and linux-2.6.0-test9). Commenting them out bec...
Original commit message from CVS:
threadb and threadc are unexpectedly passing on my system (glibc2.3.1 and linux-2.6.0-test9). Commenting them out because they are expectedly failing on other systems.
2003-11-05 12:45:18 +00:00
Benjamin Otte
4d13919ffa disabling cleanup3 until it knows if it fails or passes
Original commit message from CVS:
disabling cleanup3 until it knows if it fails or passes
2003-11-05 01:24:00 +00:00
David Schleef
b98702063f fix typo
Original commit message from CVS:
fix typo
2003-11-05 00:40:33 +00:00
Benjamin Otte
b940244e53 disable debugging when it hasn't been initialized yet. Fixes testsuite
Original commit message from CVS:
disable debugging when it hasn't been initialized yet. Fixes testsuite
2003-11-04 17:27:22 +00:00
David Schleef
aa63f65fc8 Update for new plugin API. static and static2 now fail
Original commit message from CVS:
Update for new plugin API.  static and static2 now fail
2003-11-04 05:48:16 +00:00
David Schleef
4ccd25273f cosmetic fix
Original commit message from CVS:
cosmetic fix
2003-11-04 05:47:28 +00:00
David Schleef
eebceb0d90 update for new plugin API. still fails.
Original commit message from CVS:
update for new plugin API.  still fails.
2003-11-04 04:26:26 +00:00
Benjamin Otte
907e3e97d9 update plugin initialization restructuring (see email for details
Original commit message from CVS:
update plugin initialization restructuring (see email for details
2003-10-31 19:32:47 +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
David Schleef
c514b8ba68 Fix typo in last checkin
Original commit message from CVS:
Fix typo in last checkin
2003-10-09 01:41:09 +00:00
David Schleef
d4ee10bd79 distcheck fixes. Some tests have been disabled.
Original commit message from CVS:
distcheck fixes.  Some tests have been disabled.
2003-10-09 01:13:21 +00:00
Andy Wingo
31d748d332 s/GstBuffer/GstData/ in the API where you can pass events. Fix the plugins to deal with that. Fixes #113488. Also inc...
Original commit message from CVS:
s/GstBuffer/GstData/ in the API where you can pass events. Fix the plugins to deal with that. Fixes #113488. Also includes scheduler patches, and probably fixes some queue bugs relating to events and buffers.
2003-10-08 16:06:02 +00:00
David Schleef
ec5122f8d3 new proggy I never checked in
Original commit message from CVS:
new proggy I never checked in
2003-10-08 07:49:11 +00:00
David Schleef
e3785989e3 Clean up makefile. It's still kindof screwy, but that's because automake won't create .so files for noinst libs.
Original commit message from CVS:
Clean up makefile.  It's still kindof screwy, but that's because
automake won't create .so files for noinst libs.
2003-10-08 01:05:10 +00:00
Thomas Vander Stichele
230f5397aa adding simple queue test
Original commit message from CVS:
adding simple queue test
2003-10-03 15:21:49 +00:00
Thomas Vander Stichele
2b881623ff ignore these test code
Original commit message from CVS:
ignore these
test code
2003-09-11 12:19:22 +00:00
Thomas Vander Stichele
2e1e7054f2 ignore
Original commit message from CVS:
ignore
2003-09-11 12:13:56 +00:00
Andy Wingo
5c2d6b2f43 cache return values of _gst_debug_nameof_funcptr
Original commit message from CVS:
kill some memleaks, add ::signal-handoffs property to fakesrc/sink (default FALSE), cache return values of _gst_debug_nameof_funcptr
2003-08-07 12:45:31 +00:00
David Schleef
4c4d69e51a Add another test
Original commit message from CVS:
Add another test
2003-08-02 01:55:24 +00:00
Jan Schmidt
8c768ff53e Fix installing plugin in wrong dir
Original commit message from CVS:
Fix installing plugin in wrong dir
2003-07-29 00:12:30 +00:00
Ronald S. Bultje
68a12e8ba3 Plugin details fixes
Original commit message from CVS:
Plugin details fixes
2003-07-12 14:48:27 +00:00
Wim Taymans
13cbce8aab Updated example app
Original commit message from CVS:
Updated example app
2003-07-10 20:40:36 +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
Wim Taymans
20ada53580 - some more checks
Original commit message from CVS:
- some more checks
2003-06-13 20:54:02 +00:00
Wim Taymans
6ebefb6ab3 - Added testcase for fixed flag on caps/props
Original commit message from CVS:
- Added testcase for fixed flag on caps/props
- Added union testcase (not working)
2003-06-13 19:12:33 +00:00
Wim Taymans
605279f143 updated example with correct code to add namespaces to root element.
Original commit message from CVS:
updated example with correct code to add namespaces to root element.
2003-06-09 13:09:21 +00:00
Benjamin Otte
bad94002f2 spaling eroah
Original commit message from CVS:
spaling eroah
2003-05-19 15:54:58 +00:00
Benjamin Otte
4e4a1aabe5 check if required elements are installed
Original commit message from CVS:
check if required elements are installed
2003-05-19 15:46:39 +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
David Schleef
1dfc44793e Call perl script using $(PERL_PATH)
Original commit message from CVS:
Call perl script using $(PERL_PATH)
2003-05-18 03:36:41 +00:00
Benjamin Otte
e5b55dbef5 added tests for gst_caps_{to,from}_string
Original commit message from CVS:
added tests for gst_caps_{to,from}_string
2003-05-17 00:48:34 +00:00
Benjamin Otte
377fc561c0 make test fail when it fails (d'oh)
Original commit message from CVS:
make test fail when it fails (d'oh)
2003-05-09 15:19:01 +00:00
David Schleef
0d48f56c8f Add caps list test that shows incorrect behavior
Original commit message from CVS:
Add caps list test that shows incorrect behavior
2003-04-18 23:37:05 +00:00
Wim Taymans
2862ded8a2 Small example that shows caps nego recovery.
Original commit message from CVS:
Small example that shows caps nego recovery.
2003-04-17 22:32:59 +00:00
Benjamin Otte
df041a228b one more test
Original commit message from CVS:
one more test
2003-04-17 19:36:13 +00:00
Benjamin Otte
45521ec77a bugfixing in pipeline parsing. Fixed the 2 pipelines that are now added to the testsuite
Original commit message from CVS:
bugfixing in pipeline parsing. Fixed the 2 pipelines that are now added to the testsuite
2003-04-16 21:37:35 +00:00
Benjamin Otte
22a96e5e85 add a breaking testcase
Original commit message from CVS:
add a breaking testcase
2003-04-16 19:45:55 +00:00
Benjamin Otte
e0cb191ed4 destroyed gst_*_destroy in the examples - use gst_object_unref instead - includes some tries to bufixes, most of the ...
Original commit message from CVS:
destroyed gst_*_destroy in the examples - use gst_object_unref instead - includes some tries to bufixes, most of the tests still fail
2003-04-15 18:17:24 +00:00
Benjamin Otte
50fa7dc2cd destroyed gst_*_destroy in the examples - use gst_object_unref instead
Original commit message from CVS:
destroyed gst_*_destroy in the examples - use gst_object_unref instead
2003-04-15 17:40:56 +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
Wim Taymans
6a39d8ccb2 - Added dir to hold state change related testsuites
Original commit message from CVS:
- Added dir to hold state change related testsuites
- Added _LOCKED_STATE test
2003-03-25 19:41:23 +00:00
Wim Taymans
d5d8691718 Added scheduler refcount test
Original commit message from CVS:
Added scheduler refcount test
2003-03-10 20:38:22 +00:00
Wim Taymans
ed085dd930 Added test for dynamic reconfiguration of pipelines triggered by padprobes
Original commit message from CVS:
Added test for dynamic reconfiguration of pipelines triggered by padprobes
2003-02-27 21:07:31 +00:00
Wim Taymans
adb6e2b013 more .cvsignore
Original commit message from CVS:
more .cvsignore
2003-02-25 21:01:59 +00:00
Wim Taymans
d53f8fa432 I'm too lazy to comment this
Original commit message from CVS:
.
2003-02-25 20:57:05 +00:00
Wim Taymans
2a9978433e Yes, I'm annoyed
Original commit message from CVS:
Yes, I'm annoyed
2003-02-25 20:51:49 +00:00
Wim Taymans
6d59285a61 I'm too lazy to comment this
Original commit message from CVS:
*** empty log message ***
2003-02-25 20:41:01 +00:00
Wim Taymans
8e97b1708b Update .cvsignore
Original commit message from CVS:
Update .cvsignore
2003-02-25 20:39:44 +00:00
Christian Schaller
e8b49479dd Added cutter patch from Andrew Turner and sat default scheduler to opt
Original commit message from CVS:
Added cutter patch from Andrew Turner and sat default scheduler to opt
2003-02-23 20:15:00 +00:00
Wim Taymans
c17b392f20 Example of how an app could read data from a pipeline, this one wont run before queue is changed.
Original commit message from CVS:
Example of how an app could read data from a pipeline, this one wont run
before queue is changed.
2003-02-12 23:18:54 +00:00
Wim Taymans
b030b5cef2 - Add more --disable options
Original commit message from CVS:
- Add more --disable options
- fix makefiles to only compile non-disabled features
- some compile fixes.
- removed extratypes, added gsturitype
- make get/set clock on a bin overridable
- some portability fixes for GUINT64
- separate pools from gstregistry.[ch] into gstregistrypool.[ch]
- make gstobject size fixed, even if we disabled load/save
- don't use 'new' as a variable as it is not a valib C++ variable
2003-02-10 20:32:32 +00:00
Wim Taymans
bf7bff6c47 Small compile fixes
Original commit message from CVS:
Small compile fixes
2003-02-10 20:08:59 +00:00
David Schleef
393033c6fa Convert %lld and %llu in printf formats to G_G[U]INT64_FORMAT. Fix pointer<->int conversion. Fixes warnings on alpha.
Original commit message from CVS:
Convert %lld and %llu in printf formats to G_G[U]INT64_FORMAT.  Fix
pointer<->int conversion.  Fixes warnings on alpha.
2003-02-01 20:29:27 +00:00
Wim Taymans
196ed576e2 - Small cleanups
Original commit message from CVS:
- Small cleanups
2003-01-27 21:38:51 +00:00
Wim Taymans
0b7dfe8972 Fixed tee test
Original commit message from CVS:
Fixed tee test
2003-01-25 19:56:04 +00:00
Thomas Vander Stichele
64ec45f477 fix
Original commit message from CVS:
fix
2003-01-21 22:22:13 +00:00
Thomas Vander Stichele
cc25be4804 various test fixes :)
Original commit message from CVS:
various test fixes :)
2003-01-21 22:11:21 +00:00
Thomas Vander Stichele
f7334fc9d2 don't make failing tests
Original commit message from CVS:
don't make failing tests
2003-01-21 20:26:06 +00:00
Wim Taymans
30c31aa590 Added test with extra cond var
Original commit message from CVS:
Added test with extra cond var
2003-01-12 15:59:00 +00:00
Wim Taymans
063ffb78b0 Some cleanups, detect and print NPTL problem (?)
Original commit message from CVS:
Some cleanups, detect and print NPTL problem (?)
2003-01-12 15:50:51 +00:00
Wim Taymans
8b61345f9e Added test app
Original commit message from CVS:
Added test app
2003-01-12 15:38:29 +00:00
Wim Taymans
5894c0376a Add vishnu's index dumping app
Original commit message from CVS:
Add vishnu's index dumping app
2003-01-12 13:27:02 +00:00
Wim Taymans
560beb6b94 Shows the problem with adder and optscheduler, this program simulates bug triggered by RhythmBox
Original commit message from CVS:
Shows the problem with adder and optscheduler, this program simulates bug
triggered by RhythmBox
2003-01-11 14:56:47 +00:00
David Schleef
7f09b68704 Fix prototypes (trivial)
Original commit message from CVS:
Fix prototypes (trivial)
2003-01-11 00:29:19 +00:00
David I. Lehn
6877e9592f connect -> link
Original commit message from CVS:
connect -> link
2003-01-10 04:54:20 +00:00
David I. Lehn
876d74a282 connect -> link
Original commit message from CVS:
connect -> link
2003-01-10 03:31:53 +00:00
Thomas Vander Stichele
f1af3cca60 code cleanups and further deprecation fixes
Original commit message from CVS:
code cleanups and further deprecation fixes
2003-01-09 20:02:34 +00:00
Thomas Vander Stichele
5529bbc7dc first pass of connect->link gst-plugins and other stuff compiles without change at this point
Original commit message from CVS:
first pass of connect->link
gst-plugins and other stuff compiles without change at this point
2003-01-09 14:15:37 +00:00
Wim Taymans
b005b541c8 Test for scheduler interrupt
Original commit message from CVS:
Test for scheduler interrupt
2003-01-08 21:28:37 +00:00
Thomas Vander Stichele
bc5a5b19a1 set up thread test environment
Original commit message from CVS:
set up thread test environment
2003-01-05 18:57:26 +00:00
Wim Taymans
d4881f29fd Applied patch 13357
Original commit message from CVS:
Applied patch 13357
2003-01-05 16:50:35 +00:00
David I. Lehn
d03285407c use AM_CFLAGS
Original commit message from CVS:
use AM_CFLAGS
2003-01-03 23:33:13 +00:00
David I. Lehn
14a0a70505 format properly
Original commit message from CVS:
format properly
2002-12-31 18:50:17 +00:00
David I. Lehn
dccb4d33ef ignore some more cruft
Original commit message from CVS:
ignore some more cruft
2002-12-31 18:45:54 +00:00
Christian Schaller
457ae12e9f fix disting
Original commit message from CVS:
fix disting
2002-12-31 11:34:11 +00:00
Wim Taymans
347505bcb9 - major API breakage (one of the last, I promise...)
Original commit message from CVS:
- major API breakage (one of the last, I promise...)
- GST_PAD_QUERY -> GST_QUERY
- GstPadQuery -> GstQuery
- Move query definitions to gstquery.h to allow for future dynamic
query types.
- remove _pad_handles_* in favour of extra format/event functions to
make the same checks.
- fix elements
- Implemented missing query/event/formats functions in gstelement
2002-12-30 17:42:11 +00:00
Wim Taymans
910356a839 Removed old cache testsuite
Original commit message from CVS:
Removed old cache testsuite
2002-12-19 21:44:48 +00:00
Wim Taymans
b9f62c52c3 Added indexers testsuite
Original commit message from CVS:
Added indexers testsuite
2002-12-13 17:40:56 +00:00
Thomas Vander Stichele
8b9fcbd5df variety is spicy
Original commit message from CVS:
variety is spicy
2002-12-07 14:16:52 +00:00
Leif Johnson
e98a2b5ddb + fixing compile warnings about uninitialized variable
Original commit message from CVS:
+ fixing compile warnings about uninitialized variable
2002-12-05 23:43:49 +00:00
Wim Taymans
61a64d7910 Check state changes before going into enless loops
Original commit message from CVS:
Check state changes before going into enless loops
2002-12-03 23:46:16 +00:00
David I. Lehn
c5ee2d3051 use AM_CFLAGS dummy NULL init for vars to deal with warnings
Original commit message from CVS:
use AM_CFLAGS
dummy NULL init for vars to deal with warnings
2002-12-03 21:55:39 +00:00
Wim Taymans
cb3a70b7f7 Do some error checking to make this test succeed
Original commit message from CVS:
Do some error checking to make this test succeed
2002-12-03 21:40:49 +00:00
Wim Taymans
2c7ed823e5 Make sure the thread goes back to NULL before leaving the thread context
Original commit message from CVS:
Make sure the thread goes back to NULL before leaving the thread context
2002-12-03 21:34:18 +00:00
Wim Taymans
7d895f6737 Add small cache testsuite
Original commit message from CVS:
Add small cache testsuite
2002-12-02 22:41:15 +00:00
Thomas Vander Stichele
35387bca47 random cleanups and paranoia checks
Original commit message from CVS:
random cleanups and paranoia checks
2002-11-29 13:59:30 +00:00
Wim Taymans
08b7de807c I suppose this is where done=FALSE should be done..
Original commit message from CVS:
I suppose this is where done=FALSE should be done..
2002-11-19 23:21:28 +00:00
Thomas Vander Stichele
926f38ba31 adding tests
Original commit message from CVS:
adding tests
2002-11-18 22:54:06 +00:00
Thomas Vander Stichele
b25231d5c8 some more thread tests
Original commit message from CVS:
some more thread tests
2002-11-18 22:48:26 +00:00
David Schleef
68c9fc70d6 Fix compile problem on non-i386
Original commit message from CVS:
Fix compile problem on non-i386
2002-11-17 00:12:59 +00:00
Thomas Vander Stichele
852761c9dc threadc still fails
Original commit message from CVS:
threadc still fails
2002-11-14 21:20:47 +00:00
Thomas Vander Stichele
88f3b9131c another thread test, this still fails
Original commit message from CVS:
another thread test, this still fails
2002-11-14 21:19:55 +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
Thomas Vander Stichele
9d804f0b00 cleanups in code fix tests to run and complete if they can move threadb to failing tests since it doesn't work with b...
Original commit message from CVS:
cleanups in code
fix tests to run and complete if they can
move threadb to failing tests since it doesn't work with basicomega
(crashes in the mmap)
2002-11-13 17:06:23 +00:00
Wim Taymans
f330cdb86c Added clock test program
Original commit message from CVS:
Added clock test program
2002-11-02 14:00:16 +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
David Schleef
d99b48b2e6 Convert to GThreads
Original commit message from CVS:
Convert to GThreads
2002-11-01 22:17:20 +00:00
David I. Lehn
31efa36756 use G_{BEGIN,END}_DECLS
Original commit message from CVS:
use G_{BEGIN,END}_DECLS
2002-10-30 09:17:34 +00:00
Thomas Vander Stichele
b60d8fe04c mainloop test and some caps fixes that had to go in
Original commit message from CVS:
mainloop test
and some caps fixes that had to go in
2002-10-29 17:45:02 +00:00
David Schleef
4f4cfcd8ea removal of nasm dependency
Original commit message from CVS:
removal of nasm dependency
2002-10-25 19:38:15 +00:00
David Schleef
63e9f360e4 More nasm removal cleanups
Original commit message from CVS:
More nasm removal cleanups
2002-10-25 19:24:46 +00:00
David Schleef
9c5a2cdea7 Remove HAVE_NASM-related stuff
Original commit message from CVS:
Remove HAVE_NASM-related stuff
2002-10-25 03:36:34 +00:00
David Schleef
bca900c656 inline assembly doesn't depend on HAVE_NASM, it depends on HAVE_CPU_I386
Original commit message from CVS:
inline assembly doesn't depend on HAVE_NASM, it depends on HAVE_CPU_I386
2002-10-25 03:19:14 +00:00
Thomas Vander Stichele
1d9413fe2f test commentation
Original commit message from CVS:
test commentation
2002-09-23 06:03:17 +00:00
Thomas Vander Stichele
fc2647319f bufspeed gives warnings because of volatile discardation who wrote it, can it be fixed ? what does it actually test ?...
Original commit message from CVS:
bufspeed gives warnings because of volatile discardation
who wrote it, can it be fixed ? what does it actually test ? please
add some description in README
2002-09-23 05:35:08 +00:00
Thomas Vander Stichele
c35200bf05 another example
Original commit message from CVS:
another example
2002-09-15 21:33:26 +00:00
Thomas Vander Stichele
d616f28fcd try again
Original commit message from CVS:
try again
2002-09-14 23:12:52 +00:00
Thomas Vander Stichele
121c19e9f4 add this
Original commit message from CVS:
add this
2002-09-14 13:56:54 +00:00
Thomas Vander Stichele
f98c840f6a adding automatic example extraction from manual
Original commit message from CVS:
adding automatic example extraction from manual
2002-09-14 13:17:10 +00:00
Thomas Vander Stichele
c6b9be0e52 new thread test, not yet active
Original commit message from CVS:
new thread test, not yet active
2002-09-12 19:26:54 +00:00
Thomas Vander Stichele
4200f6ca41 converting this to separate binaries so they can be run as a testsuite
Original commit message from CVS:
converting this to separate binaries so they can be run as a testsuite
2002-09-12 11:56:08 +00:00
Ronald S. Bultje
5b5274daf2 This changes an important part of the plugin API, gst_pad_try_set_caps() no longer returns a boolean, it now returns ...
Original commit message from CVS:
This changes an important part of the plugin API, gst_pad_try_set_caps() no longer returns a boolean, it now returns a GstPadConnectReturn, which makes much more sense than a boolean. All plugins have also been changed, so don't worry ;)
2002-09-10 08:52:58 +00:00
Christian Schaller
b9b6c6890a committing many nice little memleaks fixes from Iain, great work dude
Original commit message from CVS:
committing many nice little memleaks fixes from Iain, great work dude
2002-09-08 18:27:36 +00:00
Thomas Vander Stichele
32dfe1ccb0 adding a property test
Original commit message from CVS:
adding a property test
2002-08-28 14:08:22 +00:00
Wim Taymans
a06d81ef60 Added segment seeking experiment
Original commit message from CVS:
Added segment seeking experiment
2002-08-02 11:43:25 +00:00
Wim Taymans
e7b4bf243f Added an example state change function
Original commit message from CVS:
Added an example state change function
2002-07-25 20:38:04 +00:00
Wim Taymans
22c6519ec9 - Added a little testapp for pad disable using two bins in a pipeline
Original commit message from CVS:
- Added a little testapp for pad disable using two bins in a pipeline
2002-07-24 21:16:46 +00:00
Thomas Vander Stichele
e0a398036b better problem checking
Original commit message from CVS:
better problem checking
2002-07-11 15:13:09 +00:00
Wim Taymans
e81fb05e74 Remove bufspeed test
Original commit message from CVS:
Remove bufspeed test
2002-07-08 19:25:07 +00:00
Wim Taymans
f84641b8cb Make the old testcase compile again
Original commit message from CVS:
Make the old testcase compile again
2002-07-08 19:23:21 +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
3d8e68cf98 fake fails on a make distcheck
Original commit message from CVS:
fake fails on a make distcheck
2002-07-01 12:09:20 +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
Thomas Vander Stichele
5173ab2d2c identify failing tests
Original commit message from CVS:
identify failing tests
2002-07-01 09:57:10 +00:00
Wim Taymans
a4cb924e2f Added cothread context stress test (that fails)
Original commit message from CVS:
Added cothread context stress test (that fails)
2002-06-17 20:35:22 +00:00
Wim Taymans
795ecdcc86 Along with the latest scheduler updates, all these tests should work.
Original commit message from CVS:
Along with the latest scheduler updates, all these tests should work.
2002-06-05 18:12:41 +00:00
Wim Taymans
b6f6293cc3 going into the main loop effectively never stops this app
Original commit message from CVS:
going into the main loop effectively never stops this app
2002-06-04 21:07:03 +00:00
Steve Baker
ec59b53862 this one actually works, its just here for completeness
Original commit message from CVS:
this one actually works, its just here for completeness
2002-06-03 19:10:34 +00:00
Steve Baker
bd12c19658 adding comment, no change to test
Original commit message from CVS:
adding comment, no change to test
2002-06-03 19:09:48 +00:00
Steve Baker
995c529609 add comments to show what pipeline is being constructed.
Original commit message from CVS:
add comments to show what pipeline is being constructed.
change threadstate3 to be { { fakesrc ! fakesink } } which doesn't change state once it has started
2002-06-03 18:51:08 +00:00
Steve Baker
aadf0570fa threadstate4 fails randomly on state change. it is { { fakesrc } ! queue ! fakesink }
Original commit message from CVS:
threadstate4 fails randomly on state change. it is { { fakesrc } ! queue ! fakesink }
2002-06-03 18:37:36 +00:00
Steve Baker
a80a63d5db this test demostrates *another* deadlock (or it might be the same one).
Original commit message from CVS:
this test demostrates *another* deadlock (or it might be the same one).
the test is a thread in a pipeline
2002-06-03 18:05:08 +00:00
Steve Baker
e0ca09383e a more complex example which happens to be a mp3 player
Original commit message from CVS:
a more complex example which happens to be a mp3 player
2002-06-01 15:08:13 +00:00
Steve Baker
6004504f6a added a test which shows a problem with state changes when the toplevel bin is a thread.
Original commit message from CVS:
added a test which shows a problem with state changes when the toplevel bin is a thread.
there is some kind of deadlock. It would be good if wingo or wtay could have a look.
2002-06-01 15:01:51 +00:00
Thomas Vander Stichele
76c3b66b08 fixes bug 83427
Original commit message from CVS:
fixes bug  83427
2002-05-30 14:30:47 +00:00
Thomas Vander Stichele
5e58b4bdaa big mistake
Original commit message from CVS:
big mistake
2002-05-30 13:52:13 +00:00
Andy Wingo
c887de8332 fixups in the prop view/controller compilation fixes in the player add gst-editor to gst-all fixes to adder to comply...
Original commit message from CVS:
* fixups in the prop view/controller
* compilation fixes in the player
* add gst-editor to gst-all
* fixes to adder to comply with new osssink sync issues
* alsa fixes, although still 100% cpu is used, yum
* reenable locking of threaded elements, seems to work fine here
* fix a makefile in examples/plugins
2002-05-27 04:48:57 +00:00
Wim Taymans
4aaca5cc34 Small fixes, use some wierd hack to make the plugin a .so
Original commit message from CVS:
Small fixes, use some wierd hack to make the plugin a .so
2002-05-26 21:21:37 +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
Andy Wingo
bdb2144428 make gst-inspect-gui call the proper gst-inspect
Original commit message from CVS:
make gst-inspect-gui call the proper gst-inspect
2002-05-11 23:33:32 +00:00
Andy Wingo
bf4e61ace3 Return TESTS_ENVIRONMENT, necessary to make the registry properly
Original commit message from CVS:
Return TESTS_ENVIRONMENT, necessary to make the registry properly
2002-05-11 21:38:16 +00:00
Andy Wingo
1f0374782c fix refcounting tests so that they compile and run, but they fail currently: gst leaks obscene amounts of memory ;) f...
Original commit message from CVS:
* fix refcounting tests so that they compile and run, but they fail currently:
gst leaks obscene amounts of memory ;)
* fix plugin loading test so that it only refers to plugins within the gstreamer/
tree
* store gst plugin paths in the registry
* is GST_REGISTRY is set, only use the user registry with the PLUGIN_PATH explictly
specified by the user
* all tests should pass now except refcounting
2002-05-11 20:30:05 +00:00
Wim Taymans
4b8c43a3d9 Fix the plugin testsuite, only registry.c doesn't work yet
Original commit message from CVS:
Fix the plugin testsuite, only registry.c doesn't work yet
2002-05-10 19:24:04 +00:00
Andy Wingo
e0a3d5eaf8 added a get_perms_func to gstxmlregistry that will set _WRITABLE and _READABLE as appropriate added an object propert...
Original commit message from CVS:
* added a get_perms_func to gstxmlregistry that will set _WRITABLE and _READABLE
as appropriate
* added an object property for location so that we can do some cleanup and initialization
2002-05-10 18:26:14 +00:00