From: sangeeta jain <[email protected]> export LIBVA_DRIVER_NAME=i915 is replaced by export GST_VAAPI_ALL_DRIVERS=1 Exporting of driver is not required in master branch, but in gatesgarth it is required. Also, added 'mp4mux !' in command for encoding.
Signed-off-by: sangeeta jain <[email protected]> --- lib/oeqa/runtime/cases/intel_vaapi_driver.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/oeqa/runtime/cases/intel_vaapi_driver.py b/lib/oeqa/runtime/cases/intel_vaapi_driver.py index 85d2dd3..68c0ea5 100644 --- a/lib/oeqa/runtime/cases/intel_vaapi_driver.py +++ b/lib/oeqa/runtime/cases/intel_vaapi_driver.py @@ -16,14 +16,14 @@ class VaapiDriverTest(OERuntimeTestCase): (status, output) = self.target.run('gst-inspect-1.0 vaapi') self.assertEqual(status, 0, msg='status and output: %s and %s' % (status, output)) - (status, output) = self.target.run('export LIBVA_DRIVER_NAME=i965; ' + (status, output) = self.target.run('export GST_VAAPI_ALL_DRIVERS=1; ' 'gst-launch-1.0 -ev videotestsrc num-buffers=60 ! ' - 'timeoverlay ! vaapih264enc ! mp4mux ! filesink location=/tmp/vtest_h264.mp4') + 'timeoverlay ! vaapih264enc ! h264parse ! mp4mux ! filesink location=/tmp/vtest_h264.mp4') self.assertEqual(status, 0, msg='status and output: %s and %s' % (status, output)) @OETestDepends(['intel_vaapi_driver.VaapiDriverTest.test_gstreamer_can_encode_with_intel_vaapi_driver']) def test_gstreamer_can_decode_with_intel_vaapi_driver(self): - (status, output) = self.target.run('export LIBVA_DRIVER_NAME=i965; ' + (status, output) = self.target.run('export GST_VAAPI_ALL_DRIVERS=1; ' 'gst-launch-1.0 filesrc location=/tmp/vtest_h264.mp4 ! ' 'qtdemux ! h264parse ! vaapih264dec ! vaapisink') - self.assertEqual(status, 0, msg='status and output: %s and %s' % (status, output)) + self.assertEqual(status, 0, msg='status and output: %s and %s' % (status, output)) \ No newline at end of file -- 2.7.4
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#6920): https://lists.yoctoproject.org/g/meta-intel/message/6920 Mute This Topic: https://lists.yoctoproject.org/mt/80674554/21656 Group Owner: [email protected] Unsubscribe: https://lists.yoctoproject.org/g/meta-intel/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
