[060/906] * gst-libs/gst/gl/gstglbuffer.c: (gst_gl_buffer_format_from_video_format...
authorTim-Philipp Müller <tim at centricular dot net>
Sat, 23 Feb 2008 15:10:49 +0000 (15:10 +0000)
committerTim-Philipp Müller <tim@centricular.com>
Sat, 9 Dec 2017 19:31:16 +0000 (19:31 +0000)
gst-libs/gst/gl/gstglbuffer.c
gst-libs/gst/gl/gstgldisplay.c

index c1d5bb7..b046823 100644 (file)
@@ -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;
   }
index 99a732e..d04242c 100644 (file)
@@ -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