Revert "hide recording button if using av1"

This reverts commit c2023e8ca3.
This commit is contained in:
21pages
2023-08-07 13:31:11 +08:00
parent 3145269f65
commit c61fa71a70
4 changed files with 8 additions and 22 deletions

View File

@@ -101,9 +101,6 @@ impl DerefMut for Recorder {
impl Recorder {
pub fn new(mut ctx: RecorderContext) -> ResultType<Self> {
if ctx.format == CodecFormat::AV1 {
bail!("not support av1 recording");
}
ctx.set_filename()?;
let recorder = match ctx.format {
CodecFormat::VP8 | CodecFormat::VP9 => Recorder {