tests: x264enc: fix leak in unit test
authorTim-Philipp Müller <tim@centricular.com>
Sat, 22 Sep 2018 16:33:35 +0000 (17:33 +0100)
committerTim-Philipp Müller <tim@centricular.com>
Sat, 22 Sep 2018 16:34:33 +0000 (17:34 +0100)
commit908c36eceb1814f990e98898273045c7236dcf47
tree6461ce2c02c958c45dfe258db497ff7712ca4733
parent7e639433617c4e3969ed27b600f0508e4d7252b8
tests: x264enc: fix leak in unit test

The static pad templates weren't static so their
contents were leaked. valgrind was not happy.
Also rename confusing define.
tests/check/elements/x264enc.c