diff options
author | Thibault Saunier <thibault.saunier@collabora.com> | 2012-12-15 14:43:40 -0300 |
---|---|---|
committer | Thibault Saunier <thibault.saunier@collabora.com> | 2012-12-17 10:12:11 -0300 |
commit | e79f0e801eccabe245b4ba956c036c4130ffc791 (patch) | |
tree | d621a3a53b5faf31013bd01a3fcad366213225a4 /tests | |
parent | 929edc25728a45d889ca46f38ce62d421c072122 (diff) |
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.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/check/elements/encodebin.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/check/elements/encodebin.c b/tests/check/elements/encodebin.c index 5f193b464..15515380f 100644 --- a/tests/check/elements/encodebin.c +++ b/tests/check/elements/encodebin.c @@ -220,8 +220,8 @@ GST_START_TEST (test_encodebin_preset) /* Give a name someone should never use outside of that test */ gst_preset_save_preset (oggmuxpreset, "test_encodebin_preset"); - gst_encoding_profile_set_preset (prof, "oggmux"); - gst_encoding_profile_set_preset_name (prof, "test_encodebin_preset"); + gst_encoding_profile_set_preset (prof, "test_encodebin_preset"); + gst_encoding_profile_set_preset_name (prof, "oggmux"); g_object_set (ebin, "profile", prof, NULL); |