Commit graph

16 commits

Author SHA1 Message Date
Alessandro Decina
dc6b4f7a0a gst.Structure: raise TypeError when assigning None to a key 2010-08-06 23:18:02 +02:00
Edward Hervey
34f77d7db3 gst/__init__.py: Added __eq__ method to fractions so we can check if two fractions are equal.
Original commit message from CVS:
* gst/__init__.py:
Added __eq__ method to fractions so we can check if two fractions are
equal.
* gst/pygstvalue.c: (my_gcd), (pygst_value_from_pyobject):
Attempt to simplify gst.Fraction before filling in a GValue.
Fixes #381243
* testsuite/test_caps.py:
* testsuite/test_struct.py:
Minor beauty fixes. framerates are fractions, not floats.
2007-03-01 14:21:52 +00:00
Michael Smith
4d9d385f44 gst/pygstvalue.c: Make buffers-in-gvalues more generic: handle all miniobjects
Original commit message from CVS:
* gst/pygstvalue.c: (pygst_value_init_for_pyobject),
(pygst_value_from_pyobject):
Make buffers-in-gvalues more generic: handle all miniobjects
* testsuite/test_caps.py:
Add a bit to one the test for buffers in caps.
2007-02-25 12:11:34 +00:00
Michael Smith
e4bd9d306c testsuite/test_caps.py: Add test for gst.Buffer in caps.
Original commit message from CVS:
* testsuite/test_caps.py:
Add test for gst.Buffer in caps.
2007-02-24 14:14:14 +00:00
Edward Hervey
112f72dabc gst/gststructure.override: Properly check for gstvalue data types. This makes it possible to set fields with fractions.
Original commit message from CVS:
* gst/gststructure.override: (_wrap_gst_structure_set_value):
Properly check for gstvalue data types. This makes it possible to
set fields with fractions.
* testsuite/test_caps.py:
* testsuite/test_struct.py:
Test for above modifications
2006-01-08 12:26:35 +00:00
Edward Hervey
2aa12f0142 gst/gst.defs: Update for new API
Original commit message from CVS:
* gst/gst.defs:
Update for new API
* gst/gst.override:
Added unreffing for gst.Registry.get_plugin_list and .get_feature_list
* testsuite/common.py:
removed crude hack for gst.Registry and gst.Plugin
* testsuite/test_interface.py:
* testsuite/test_caps.py:
* testsuite/test_struct.py:
* testsuite/test_xml.py:
converted to using common's TestCase class
* testsuite/test_event.py:
Enabled/fixed previously non working test
* testsuite/test_registry.py:
Now uses common's TestCase class,
added special case setUp()
2005-10-14 16:26:17 +00:00
Thomas Vander Stichele
2dc54c0954 add gst.Caps.__refcount__
Original commit message from CVS:

* gst/gst-types.defs:
* gst/gstcaps.override:
* testsuite/test_caps.py:
add gst.Caps.__refcount__
2005-10-05 17:18:32 +00:00
Thomas Vander Stichele
9ee7ac4ee3 55 working tests now; some disabled
Original commit message from CVS:
55 working tests now; some disabled
2005-09-01 15:50:46 +00:00
Thomas Vander Stichele
633f644020 fix headers on tests
Original commit message from CVS:
fix headers on tests
2005-09-01 10:36:07 +00:00
Edward Hervey
c68afb5f53 Backport from 0.8 branch and added new .defs file from GStreamer 0.9
Original commit message from CVS:
Backport from 0.8 branch and added new .defs file from GStreamer 0.9
2005-06-17 10:59:47 +00:00
Thomas Vander Stichele
f59e0690f6 one item list with structure
Original commit message from CVS:
one item list with structure
2004-08-06 19:03:50 +00:00
Johan Dahlin
4b55e4eafe More testing
Original commit message from CVS:
More testing
2004-08-06 19:03:08 +00:00
Thomas Vander Stichele
04d47f4be2 add constructor for caps
Original commit message from CVS:
add constructor for caps
2004-08-06 18:49:53 +00:00
Johan Dahlin
49d73bebb2 Enable this test too
Original commit message from CVS:
Enable this test too
2004-08-06 18:16:59 +00:00
Thomas Vander Stichele
45ba78cb85 two new tests, one that fails
Original commit message from CVS:
two new tests, one that fails
2004-08-06 17:38:42 +00:00
Thomas Vander Stichele
32561828aa add test
Original commit message from CVS:
add test
2004-06-10 18:14:22 +00:00