mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-09-09 05:38:58 +00:00
glsyncmeta: don't use the gst debug object variants
We are not a GObject or any inferable GstMiniObject supported by the gst debug system. Also fixes a segfault.
This commit is contained in:
parent
438b83c9fc
commit
abb55f2453
1 changed files with 2 additions and 3 deletions
|
@ -54,7 +54,7 @@ _set_sync_point (GstGLContext * context, GstGLSyncMeta * sync_meta)
|
|||
gl->DeleteSync (sync_meta->glsync);
|
||||
#if GST_GL_HAVE_OPENGL
|
||||
sync_meta->glsync = gl->FenceSync (GL_SYNC_GPU_COMMANDS_COMPLETE, 0);
|
||||
GST_LOG_OBJECT (sync_meta, "setting sync object %p", sync_meta->glsync);
|
||||
GST_LOG ("setting sync object %p", sync_meta->glsync);
|
||||
#endif
|
||||
} else {
|
||||
gl->Flush ();
|
||||
|
@ -78,8 +78,7 @@ _wait (GstGLContext * context, GstGLSyncMeta * sync_meta)
|
|||
|
||||
if (gl->ClientWaitSync) {
|
||||
do {
|
||||
GST_LOG_OBJECT (sync_meta, "waiting on sync object %p",
|
||||
sync_meta->glsync);
|
||||
GST_LOG ("waiting on sync object %p", sync_meta->glsync);
|
||||
res =
|
||||
gl->ClientWaitSync (sync_meta->glsync, GL_SYNC_FLUSH_COMMANDS_BIT,
|
||||
1000000000 /* 1s */ );
|
||||
|
|
Loading…
Reference in a new issue