diff --git a/src/scripts/parse_c/schema.py b/src/scripts/parse_c/schema.py index db0d1468..4a42a4fa 100644 --- a/src/scripts/parse_c/schema.py +++ b/src/scripts/parse_c/schema.py @@ -1,4 +1,11 @@ -"""Schema definitions for FFmpeg options.""" +""" +Schema definitions for FFmpeg options. + +This module defines the data structures for representing FFmpeg options, +including their types, flags, and other properties. It provides a +structured way to model and manipulate FFmpeg command-line options. + +""" from dataclasses import dataclass from enum import Enum diff --git a/src/scripts/parse_help/schema.py b/src/scripts/parse_help/schema.py index 88d460a5..40e5adab 100644 --- a/src/scripts/parse_help/schema.py +++ b/src/scripts/parse_help/schema.py @@ -62,11 +62,6 @@ class FFMpegOption: argname: str | None = None """The variable name for the option (e.g., "flags", "count") or None if not specified.""" - @property - def is_av_option(self) -> bool: - """Whether this option is an AV option.""" - return isinstance(self, FFMpegAVOption) - @dataclass(frozen=True, kw_only=True) class FFMpegOptionChoice: @@ -144,17 +139,6 @@ class FFMpegAVOption(FFMpegOption): choices: tuple[FFMpegOptionChoice, ...] = () """Available choices for this option (for enum or flags types).""" - @property - def code_gen_type(self) -> str: - """ - Get the code generation type for this option. - - Returns: - The type string for code generation. - - """ - return "str" - @dataclass(frozen=True, kw_only=True) class FFMpegOptionSet: