diff options
author | Edward Hervey <bilboed@bilboed.com> | 2009-02-05 10:50:27 +0100 |
---|---|---|
committer | Edward Hervey <bilboed@bilboed.com> | 2009-02-05 10:50:27 +0100 |
commit | 3af671425b0b7503e6af718e818040d6c6260d6a (patch) | |
tree | 24ee025f851d458b5384bdc813669b9689537e06 /tests | |
parent | 96cd20f841b17b5bce8314f381158b50ee29e2cc (diff) | |
download | gst-plugins-bad-3af671425b0b7503e6af718e818040d6c6260d6a.tar.gz gst-plugins-bad-3af671425b0b7503e6af718e818040d6c6260d6a.tar.bz2 gst-plugins-bad-3af671425b0b7503e6af718e818040d6c6260d6a.zip |
metadata test: Fix wrong looping variable. Test is now valid (but fails).
The inner looping was using the outer looping variable.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/check/pipelines/metadata.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/check/pipelines/metadata.c b/tests/check/pipelines/metadata.c index 4ca8179c..9f5034e3 100644 --- a/tests/check/pipelines/metadata.c +++ b/tests/check/pipelines/metadata.c @@ -145,7 +145,7 @@ test_tags (const gchar * tag_str) name_sent = gst_structure_nth_field_name (sent_tags, i); value_sent = gst_structure_get_value (sent_tags, name_sent); found = FALSE; - for (j = 0; i < n_recv; j++) { + for (j = 0; j < n_recv; j++) { name_recv = gst_structure_nth_field_name (received_tags, j); if (!strcmp (name_sent, name_recv)) { value_recv = gst_structure_get_value (received_tags, name_recv); |