File: option.pxd

package info (click to toggle)
python-av 14.2.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,664 kB
  • sloc: python: 4,712; sh: 175; ansic: 174; makefile: 123
file content (21 lines) | stat: -rw-r--r-- 366 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
cimport libav as lib


cdef class BaseOption:

    cdef const lib.AVOption *ptr


cdef class Option(BaseOption):

    cdef readonly tuple choices


cdef class OptionChoice(BaseOption):

    cdef readonly bint is_default


cdef Option wrap_option(tuple choices, const lib.AVOption *ptr)

cdef OptionChoice wrap_option_choice(const lib.AVOption *ptr, bint is_default)