mirror of
https://github.com/joshuaboniface/rffmpeg.git
synced 2026-01-23 02:24:03 +00:00
special_flags
Added `-muxers` and `-fp_format` to special flags and option to add more in the config without overriding the default ones. #56
This commit is contained in:
parent
43ba05e5b9
commit
5fe09d2800
1 changed files with 4 additions and 1 deletions
5
rffmpeg
5
rffmpeg
|
|
@ -210,6 +210,7 @@ def load_config():
|
|||
# Set the database path
|
||||
config["db_path"] = config["state_dir"] + "/rffmpeg.db"
|
||||
|
||||
|
||||
# Set a list of special flags that cause different behaviour
|
||||
config["special_flags"] = [
|
||||
"-version",
|
||||
|
|
@ -218,7 +219,9 @@ def load_config():
|
|||
"-hwaccels",
|
||||
"-filters",
|
||||
"-h",
|
||||
]
|
||||
"-muxers",
|
||||
"-fp_format",
|
||||
] + config_commands.get("special_flags", [])
|
||||
|
||||
# Set the current PID of this process
|
||||
config["current_pid"] = os.getpid()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue