mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-22 15:18:21 +00:00
15 lines
434 B
Python
15 lines
434 B
Python
|
import glib
|
||
|
import gst
|
||
|
|
||
|
from common import TestCase
|
||
|
from gst 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)
|