x264: Only enable dynamic loading code for x264 < 253
authorSebastian Dröge <sebastian@centricular.com>
Fri, 25 Jan 2019 12:38:05 +0000 (14:38 +0200)
committerSebastian Dröge <sebastian@centricular.com>
Fri, 25 Jan 2019 12:38:05 +0000 (14:38 +0200)
commit2942f7d931b8659e6a1e6d17a325c1774b5591f4
tree448f1aa0344748349c3d40a2761051c98ecc1614
parent7ac2f7fec540ddc726a4f1f8f0fd6cd69771bb52
x264: Only enable dynamic loading code for x264 < 253

Otherwise we get some compiler warnings:

../subprojects/gst-plugins-ugly/ext/x264/gstx264enc.c:200:1: warning: ‘unload_x264’ defined but not used [-Wunused-function]
 unload_x264 (GstX264EncVTable * vtable)
 ^~~~~~~~~~~
../subprojects/gst-plugins-ugly/ext/x264/gstx264enc.c:154:1: warning: ‘load_x264’ defined but not used [-Wunused-function]
 load_x264 (const gchar * filename)
 ^~~~~~~~~
ext/x264/gstx264enc.c