Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
lucemia committed May 21, 2024
1 parent 8d09197 commit d8a306d
Show file tree
Hide file tree
Showing 5 changed files with 768 additions and 766 deletions.
11 changes: 10 additions & 1 deletion .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,14 @@
"name": "Python Development",
"postCreateCommand": "bash .devcontainer/setup.sh",
"waitFor": "postCreateCommand",
"workspaceFolder": "/workspaces/typed-ffmpeg"
"workspaceFolder": "/workspaces/typed-ffmpeg",// Build the volume mount for gcloud config.
"mounts": [
// 把本機的 gcloud config 綁到 container 內使用
"source=${localEnv:HOME}/.config/gcloud,target=/root/.config/gcloud,type=bind,consistency=cached",
// for ssh login to github
"source=${localEnv:HOME}/.ssh,target=/root/.ssh,type=bind,consistency=cached",
// 為了在不同 devcontainer 切換時,保留相同的 bash history
"source=gstudio-zshhistory,target=/root/commandhistory,type=volume",
"source=poetry-virtualenvs,target=/root/.cache/pypoetry/virtualenvs,type=volume"
],
}
3 changes: 2 additions & 1 deletion src/ffmpeg/common/schema.py
Original file line number Diff line number Diff line change
Expand Up @@ -307,6 +307,7 @@ def is_global_option(self) -> bool:
def is_support_stream_specifier(self) -> bool:
return bool(self.flags & FFMpegOptionFlag.OPT_SPEC)


@dataclass(frozen=True, kw_only=True)
class FFMpegOptionList:
options: tuple[FFMpegOption, ...]
options: tuple[FFMpegOption, ...]
9 changes: 0 additions & 9 deletions src/ffmpeg/parser.py

This file was deleted.

Loading

0 comments on commit d8a306d

Please sign in to comment.