(config: &Config)
| 985 | } |
| 986 | |
| 987 | fn active_video_codec(config: &Config) -> String { |
| 988 | std::env::var("SIMDECK_VIDEO_CODEC") |
| 989 | .ok() |
| 990 | .and_then(|value| normalize_video_codec(&value).map(ToOwned::to_owned)) |
| 991 | .unwrap_or_else(|| config.video_codec.clone()) |
| 992 | } |
| 993 | |
| 994 | fn active_android_gpu() -> String { |
| 995 | std::env::var("SIMDECK_ANDROID_GPU") |
no test coverage detected