gstreamer/bindings/python/testsuite/test_timeline_pipeline.py

15 lines
425 B
Python
Raw Normal View History

2011-06-10 14:58:55 +00:00
import glib
import gst
from common import TestCase
import ges
2011-06-10 14:58:55 +00:00
class TimelinePipeline(TestCase):
def testTimelinePipeline(self):
stgs = gst.pbutils.EncodingAudioProfile(gst.Caps("video/x-dirac"), "test", gst.caps_new_any(), 0)
ppln = ges.TimelinePipeline()
tl = ges.Timeline()
assert (ppln.add_timeline (tl) == True)
assert (ppln.set_mode("TIMELINE_MODE_PREVIEW_AUDIO") == True)