samples: Build fix

This commit is contained in:
Marcin Kolny 2014-04-11 14:57:31 +02:00 committed by Stephan Sundermann
parent 4000100604
commit daf5c7ad86

View file

@ -134,7 +134,7 @@ namespace Gstreameroverlay
_playbin.Bus.SyncMessage += delegate (object bus, SyncMessageArgs sargs) { _playbin.Bus.SyncMessage += delegate (object bus, SyncMessageArgs sargs) {
Gst.Message msg = sargs.Message; Gst.Message msg = sargs.Message;
if (!Gst.Video.GlobalVideo.IsVideoOverlayPrepareWindowHandleMessage (msg)) if (!Gst.Video.Global.IsVideoOverlayPrepareWindowHandleMessage (msg))
return; return;
Element src = msg.Src as Element; Element src = msg.Src as Element;
@ -188,7 +188,7 @@ namespace Gstreameroverlay
if (sret == StateChangeReturn.Async) { if (sret == StateChangeReturn.Async) {
State state, pending; State state, pending;
sret = _playbin.GetState (out state, out pending, Constants.SECOND * 5L); sret = _playbin.GetState (out state, out pending, Gst.Constants.SECOND * 5L);
} }
if (sret == StateChangeReturn.Success) { if (sret == StateChangeReturn.Success) {