1
0
mirror of https://github.com/ARM-software/workload-automation.git synced 2025-02-21 20:38:57 +00:00

exoplayer: call validate from init_resources

This commit is contained in:
Brendan Jackman 2017-09-27 15:32:17 +01:00 committed by setrofim
parent df2ae3c451
commit d749fe0f8e

View File

@ -141,6 +141,10 @@ class ExoPlayer(ApkWorkload):
return files[0]
def init_resources(self, context):
# Needs to happen first, as it sets self.format, which is required by
# _find_host_video_file
self.validate()
ensure_directory_exists(self.video_directory)
self.host_video_file = self._find_host_video_file()