# As we can't tweak the preference for a single test in the mochitest, we create
# this toml specifically for running tests which only expect software decoding.
# The pref `media.hardware-video-decoding.enabled` will explicitly be turn off
# to ensure no hardware decoding can be executed.

[DEFAULT]
subsuite = "media"
tags = "media-gpu"
prefs = [
  "media.hardware-video-decoding.enabled=false",
]
support-files = [
  "av1.mp4",
  "av1.mp4^headers^",
  "bipbop_short_vp8.webm",
  "bipbop_short_vp8.webm^headers^",
  "gizmo.mp4",
  "gizmo.mp4^headers^",
  "gizmo.webm",
  "gizmo.webm^headers^",
  "gizmo_av1_8bit_420.webm",
  "gizmo_av1_8bit_420.webm^headers^",
  "gizmo_av1_10bit_420.webm",
  "gizmo_av1_10bit_420.webm^headers^",
  "gizmo_hevc_8bit_420.mp4",
  "gizmo_hevc_8bit_420.mp4^headers^",
  "gizmo_hevc_10bit_420.mp4",
  "gizmo_hevc_10bit_420.mp4^headers^",
]

["test_sw_video_decoding.html"]
