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