Commit 3d04bd2b authored by Thibault Saunier's avatar Thibault Saunier 🌵
Browse files

validate: Move to the new GstValidateEncodingTestInterface API

parent 0219631f
Pipeline #81854 passed with stages
in 95 minutes and 30 seconds
......@@ -224,26 +224,8 @@ class GESRenderTest(GESTest, GstValidateEncodingTestInterface):
self.add_arguments("-f", profile, "-o", self.dest_file)
def check_results(self):
if self.result in [Result.PASSED, Result.NOT_RUN] and self.scenario is None:
if self.process.returncode != 0:
return super().check_results()
res, msg = self.check_encoded_file()
self.set_result(res, msg)
if self.result == utils.Result.TIMEOUT:
missing_eos = False
if utils.get_duration(self.dest_file) == self.project.get_duration():
missing_eos = True
except Exception as e:
if missing_eos is True:
self.set_result(utils.Result.TIMEOUT, "The rendered file had right duration, MISSING EOS?\n",
return GstValidateTest.check_results(self)
def get_current_value(self):
size = self.get_current_size()
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment