mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 04:01:08 +00:00
samples: Build fix
This commit is contained in:
parent
4000100604
commit
daf5c7ad86
1 changed files with 2 additions and 2 deletions
|
@ -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) {
|
||||||
|
|
Loading…
Reference in a new issue