mediafile: Load extension at startup with GTK_MEDIA
authorBenjamin Otte <otte@redhat.com>
Sat, 26 Dec 2020 13:55:41 +0000 (14:55 +0100)
committerBenjamin Otte <otte@redhat.com>
Sun, 11 Jun 2023 01:14:55 +0000 (03:14 +0200)
commitcf48f837093072ede455c50cce3b5ec5a007046a
treebce574291a342322dc7dd0a73f9a9e15043b75ea
parent9d799826778fe7f55b6f3d59aa8615ad9ef2a358
mediafile: Load extension at startup with GTK_MEDIA

When the GTK_MEDIA env var is set, check at startup that it works, not
only when the first MediaFile is instantiated.

This has the fortunate side effect that it prints help output for
GTK_MEDIA=help at startup, too.
gtk/gtkmediafile.c