audio/video-converter: Plug some minor leaks
-
audio-converter: Free config when gst_audio_converter_new fails
The config got leaked when parameter validation fails. -
video-converter: Set up gamma tables only once
When the video converter is using multiple threads, the gamma tables were created multiple times, leaking the tables set up for the previous thread.
Only calculate the tables once.