mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-30 11:08:34 +00:00
Fix test compilation
This commit is contained in:
parent
39f1f2b7ad
commit
265cb43fa7
2 changed files with 3 additions and 3 deletions
|
@ -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…
Reference in a new issue