File: GstAudio.py

package info (click to toggle)
gst-python1.0 1.26.6-1
  • links: PTS, VCS
  • area: main
  • in suites: forky
  • size: 1,012 kB
  • sloc: python: 8,030; ansic: 1,869; makefile: 33
file content (16 lines) | stat: -rw-r--r-- 386 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
from ..module import get_introspection_module

import gi
gi.require_version('Gst', '1.0')

from gi.repository import Gst  # noqa

GstAudio = get_introspection_module('GstAudio')
__all__ = []


def __audio_info_from_caps(*args):
    raise NotImplementedError('AudioInfo.from_caps was removed, use AudioInfo.new_from_caps instead')


GstAudio.AudioInfo.from_caps = __audio_info_from_caps