Skip to content

Commit 000c6a2

Browse files
committed
Fixed import
1 parent 90f4ffa commit 000c6a2

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

av/__init__.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
from av.codec.codec import Codec, codecs_available
1919
from av.codec.context import CodecContext
2020
from av.codec.hwaccel import HWConfig
21-
from av.container import open, Chapter
21+
from av.container import open
2222
from av.format import ContainerFormat, formats_available
2323
from av.packet import Packet
2424
from av.error import * # noqa: F403; This is limited to exception types.
@@ -41,7 +41,6 @@
4141
"AudioStream",
4242
"BitStreamFilterContext",
4343
"bitstream_filters_available",
44-
"Chapter",
4544
"Codec",
4645
"codecs_available",
4746
"CodecContext",

av/container/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
from .core import Chapter, Container, Flags, open
1+
from .core import Container, Flags, open
22
from .input import InputContainer
33
from .output import OutputContainer

tests/test_chapters.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
from fractions import Fraction
22

33
import av
4-
from av import Chapter
4+
from av.container import Chapter
55

66
from .common import fate_suite
77

0 commit comments

Comments
 (0)