diff --git a/gst-libs/gst/gl/gstglbuffer.c b/gst-libs/gst/gl/gstglbuffer.c index c1d5bb7bbd..b046823b3f 100644 --- a/gst-libs/gst/gl/gstglbuffer.c +++ b/gst-libs/gst/gl/gstglbuffer.c @@ -413,6 +413,9 @@ gst_gl_buffer_format_from_video_format (GstVideoFormat format) case GST_VIDEO_FORMAT_I420: case GST_VIDEO_FORMAT_YV12: return GST_GL_BUFFER_FORMAT_PLANAR420; + default: + GST_WARNING ("GstVideoFormat %d not implemented", format); + /* fall through */ case GST_VIDEO_FORMAT_UNKNOWN: return GST_GL_BUFFER_FORMAT_UNKNOWN; } diff --git a/gst-libs/gst/gl/gstgldisplay.c b/gst-libs/gst/gl/gstgldisplay.c index 99a732e2a0..d04242c349 100644 --- a/gst-libs/gst/gl/gstgldisplay.c +++ b/gst-libs/gst/gl/gstgldisplay.c @@ -737,7 +737,8 @@ gst_gl_display_draw_image (GstGLDisplay * display, GstVideoFormat type, ret = glXGetSyncValuesOML (display->display, display->window, &ust, &mst, &sbc); - GST_ERROR ("sync values %d %lld %lld %lld", ret, ust, mst, sbc); + GST_ERROR ("sync values %d %" G_GINT64_FORMAT " %" G_GINT64_FORMAT + " %" G_GINT64_FORMAT, ret, ust, mst, sbc); } #endif @@ -816,7 +817,8 @@ gst_gl_display_draw_texture (GstGLDisplay * display, GLuint texture, ret = glXGetSyncValuesOML (display->display, display->window, &ust, &mst, &sbc); - GST_ERROR ("sync values %d %lld %lld %lld", ret, ust, mst, sbc); + GST_ERROR ("sync values %d %" G_GINT64_FORMAT " %" G_GINT64_FORMAT + " %" G_GINT64_FORMAT, ret, ust, mst, sbc); } #endif