Commit graph

16 commits

Author SHA1 Message Date
Tim-Philipp Müller
ed87e77baa tests: fix encodebin unit test on 32-bit systems
Fixes critical warning on x86:
g_object_set_valist: object class `GstOggMux' has no property named `testingoggmux'
2013-02-16 23:55:57 +00:00
Thibault Saunier
e79f0e801e encodebing: Use the preset_name as the factory name and preset as the name of the preset
The naming is not perfect, but at least we can keep the exact same behaviour as
before.
2012-12-17 10:12:11 -03:00
Thibault Saunier
12aef5f47d tests: encodebin: Properly rename new preset test 2012-12-05 17:53:19 -03:00
Thibault Saunier
7358cba017 encodebin: Make use of the new preset_name when setting a preset
The behaviour is sensibly changed here. Instead of purely falling when a
preset is set on the #GstEncodingProfile, we now make sure that the
element that is plugged corresponds to the one specified as preset. Then,
if we have a preset_name, we use it, if it fails, we fail (we might rather
just keep working even without setting the element properties?)

 + Add tests that it behave correctly
2012-12-05 17:48:38 -03:00
Tim-Philipp Müller
5f59b4f7ee Fix FSF address
https://bugzilla.gnome.org/show_bug.cgi?id=687520
2012-11-03 23:05:09 +00:00
Wim Taymans
e9c23ca4fb tests: small cleanup 2012-01-02 18:31:05 +01:00
Wim Taymans
8417a7103a tests: fix compilation 2011-10-27 17:33:06 +02:00
Wim Taymans
d3f6a95cff tests: update for new audio caps 2011-09-29 13:46:36 +02:00
Sebastian Dröge
86f679aaac encodebin: Unref encoding profiles after usage in the test 2011-04-14 13:15:08 +02:00
Sebastian Dröge
10e0b85a56 encodebin: Release pads after setting the state to NULL in the unit test
See bug #647756.
2011-04-14 12:55:00 +02:00
Sebastian Dröge
f1f0625e97 encodebin: Requesting a pad again now gives a g_return_val_if_fail()
Before the behaviour was undefined and implemented differently by elements,
now core checks for this (and other problems) and returns NULL and an assertion.
2011-03-29 15:42:50 +02:00
Thiago Santos
40eaac6191 tests: encodebin: Add reuse test case
Adds a test case to check if encodebin can be reused

https://bugzilla.gnome.org/show_bug.cgi?id=644416
2011-03-10 15:12:01 -03:00
Sebastian Dröge
eb91fe7162 encodebin: Fix double unref in unit test 2011-02-24 21:00:34 +01:00
Sebastian Dröge
dc87e8698e encodebin: Fix memory leaks related to request pads
Request pads have to be released by the caller and must be
unreffed after releasing them.
2011-02-24 16:02:50 +01:00
Edward Hervey
949595a7a3 tests: Update container-less profile checks 2010-12-21 13:23:34 +01:00
Edward Hervey
8a3b45aa1f gst: New encoding plugin
https://bugzilla.gnome.org/show_bug.cgi?id=627476
2010-12-15 11:54:32 +01:00