Fix test compilation
This commit is contained in:
parent
39f1f2b7ad
commit
265cb43fa7
@ -9,8 +9,8 @@
|
|||||||
|
|
||||||
using System;
|
using System;
|
||||||
using NUnit.Framework;
|
using NUnit.Framework;
|
||||||
using GLib;
|
|
||||||
using Gst;
|
using Gst;
|
||||||
|
using Gst.GLib;
|
||||||
|
|
||||||
[TestFixture]
|
[TestFixture]
|
||||||
public class ElementTest
|
public class ElementTest
|
||||||
|
@ -85,7 +85,7 @@ public class PipelineTest
|
|||||||
}
|
}
|
||||||
|
|
||||||
Element pipeline;
|
Element pipeline;
|
||||||
GLib.MainLoop loop;
|
Gst.GLib.MainLoop loop;
|
||||||
|
|
||||||
bool MessageReceived(Bus bus, Message message) {
|
bool MessageReceived(Bus bus, Message message) {
|
||||||
MessageType type = message.Type;
|
MessageType type = message.Type;
|
||||||
@ -142,7 +142,7 @@ public class PipelineTest
|
|||||||
}
|
}
|
||||||
Assert.AreEqual(pipeline.SetState(State.Playing), StateChangeReturn.Async);
|
Assert.AreEqual(pipeline.SetState(State.Playing), StateChangeReturn.Async);
|
||||||
|
|
||||||
loop = new GLib.MainLoop();
|
loop = new Gst.GLib.MainLoop();
|
||||||
loop.Run();
|
loop.Run();
|
||||||
|
|
||||||
Assert.AreEqual(pipeline.SetState(State.Null), StateChangeReturn.Success);
|
Assert.AreEqual(pipeline.SetState(State.Null), StateChangeReturn.Success);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user