gstreamer/bindings/python/testsuite/test_timeline_pipeline.py
Thibault Saunier 1b036156af pyges: Install it so we now use import ges
Using from gst import ges did not make much sense
2011-08-11 15:59:33 +02:00

14 lines
425 B
Python

import glib
import gst
from common import TestCase
import ges
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)