registry: Use a toolchain-specific registry file on Windows
authorNirbheek Chauhan <nirbheek@centricular.com>
Mon, 22 Jun 2020 22:13:53 +0000 (03:43 +0530)
committerTim-Philipp Müller <tim@centricular.com>
Tue, 23 Jun 2020 11:16:45 +0000 (12:16 +0100)
commit43174bfe1d3f41f0ae99963b71b55d93ced013c1
tree9b7d5b339b0b25edc7e3d1b9917a6a9050d8aa84
parent63c1945695474a8706909a7277d45b5c5d0c0a92
registry: Use a toolchain-specific registry file on Windows

If we load a plugin registry for MinGW plugins when running with MSVC,
we will have to write out the whole cache again, and vice-versa. Just
use separate cache files so that the cache is actually useful.

Closes https://gitlab.freedesktop.org/gstreamer/gstreamer/-/issues/427

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/542>
gst/gstregistry.c