Integration tests: Early out if media backend is not loaded


385ca4368362ff99b8af5ff776f7476e3b975223 added a check to see if the
media backend was loaded correctly, but this change does not cause
initTestCase to stop execution. This patch adds an early return if
the initialization fails, so we don't do any unnecessary setup later in
the initTestCase function.

Pick-to: 6.12
Change-Id: Ie778ffe01a912f03ff3385f77bc96d92b9101180
Reviewed-by: Tim Blechmann <tim.blechmann@qt.io>
commit70cdb4c065f4e246937c63923dc54e38ed30f8a9
parentb47cf9b714ae787b91fd072e5ae9de48f0696695
authorNils Petter Skålerud <nils.petter.skalerud@qt.io>
committerNils Petter Skålerud <nils.petter.skalerud@qt.io>
commit timeThu, 6 Aug 2026 14:03:44 +0000