av/container
core.pxd +13 -0
core.pyx +65 -5
input.pyx +3 -0
include/libavformat
avformat.pxd +6 -0
tests
test_timeout.py +75 -0
+ 13
- 0
@@ -6,6 +6,12 @@ from av.format cimport ContainerFormat
@@ -6,6 +6,12 @@ from av.format cimport ContainerFormat
@@ -39,3 +45,10 @@ cdef class Container(object):
@@ -39,3 +45,10 @@ cdef class Container(object):
+ 65
- 5
@@ -30,12 +33,38 @@ ctypedef int64_t (*seek_func_t)(void *opaque, int64_t offset, int whence) nogil
@@ -30,12 +33,38 @@ ctypedef int64_t (*seek_func_t)(void *opaque, int64_t offset, int whence) nogil
@@ -59,6 +88,9 @@ cdef class Container(object):
@@ -59,6 +88,9 @@ cdef class Container(object):
@@ -90,6 +122,11 @@ cdef class Container(object):
@@ -90,6 +122,11 @@ cdef class Container(object):
@@ -138,6 +175,9 @@ cdef class Container(object):
@@ -138,6 +175,9 @@ cdef class Container(object):
@@ -145,6 +185,7 @@ cdef class Container(object):
@@ -145,6 +185,7 @@ cdef class Container(object):
@@ -184,11 +225,20 @@ cdef class Container(object):
@@ -184,11 +225,20 @@ cdef class Container(object):
"""open(file, mode='r', format=None, options=None, metadata_encoding=None, metadata_errors='strict')
@@ -206,6 +256,9 @@ def open(file, mode=None, format=None, options=None,
@@ -206,6 +256,9 @@ def open(file, mode=None, format=None, options=None,
@@ -222,12 +275,19 @@ def open(file, mode=None, format=None, options=None,
@@ -222,12 +275,19 @@ def open(file, mode=None, format=None, options=None,
@@ -236,6 +296,6 @@ def open(file, mode=None, format=None, options=None,
@@ -236,6 +296,6 @@ def open(file, mode=None, format=None, options=None,
+ 3
- 0
@@ -118,6 +118,7 @@ cdef class InputContainer(Container):
@@ -118,6 +118,7 @@ cdef class InputContainer(Container):
@@ -132,6 +133,7 @@ cdef class InputContainer(Container):
@@ -132,6 +133,7 @@ cdef class InputContainer(Container):
@@ -158,6 +160,7 @@ cdef class InputContainer(Container):
@@ -158,6 +160,7 @@ cdef class InputContainer(Container):
+ 6
- 0
@@ -55,6 +55,11 @@ cdef extern from "libavformat/avformat.h" nogil:
@@ -55,6 +55,11 @@ cdef extern from "libavformat/avformat.h" nogil:
@@ -139,6 +144,7 @@ cdef extern from "libavformat/avformat.h" nogil:
@@ -139,6 +144,7 @@ cdef extern from "libavformat/avformat.h" nogil:
tests/test_timeout.py
0 → 100644
+ 75
- 0