mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-22 16:26:39 +00:00
1b036156af
Using from gst import ges did not make much sense
19 lines
508 B
Python
19 lines
508 B
Python
import glib
|
|
import gst
|
|
|
|
from common import TestCase
|
|
import ges
|
|
|
|
class TimelineTestSource(TestCase):
|
|
|
|
def testTimelineTestSource(self):
|
|
src = ges.TimelineTestSource()
|
|
tck_src = ges.TrackAudioTestSource()
|
|
src.set_mute(True)
|
|
src.set_vpattern("snow")
|
|
src.set_frequency(880)
|
|
src.set_volume (1)
|
|
assert (src.get_vpattern() != None)
|
|
assert (src.is_muted() == True)
|
|
assert (src.get_frequency() == 880)
|
|
assert (src.get_volume() == 1)
|