Skip to content

Commit 6134ffb

Browse files
committed
Python 3.7-3.8 compatibility fix
1 parent 344619f commit 6134ffb

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

src/ffmpegio/plugins/hookspecs.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
1+
from __future__ import annotations
2+
13
import pluggy
2-
from typing import Callable, Tuple, Literal
4+
from typing import Callable, Tuple
35

46
hookspec = pluggy.HookspecMarker("ffmpegio")
57

@@ -104,6 +106,7 @@ def device_source_api() -> Tuple[str, dict[str, Callable]]:
104106
Partial definition is OK
105107
"""
106108

109+
107110
@hookspec
108111
def device_sink_api() -> Tuple[str, dict[str, Callable]]:
109112
"""return a sink name and its set of interface functions

0 commit comments

Comments
 (0)