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;
}
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
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