if ((global_flags.va_display.empty() ||
global_flags.va_display[0] != '/') && !global_flags.x264_video_to_disk) {
// We normally use EGL for zerocopy, but if we use VA against DRM
if ((global_flags.va_display.empty() ||
global_flags.va_display[0] != '/') && !global_flags.x264_video_to_disk) {
// We normally use EGL for zerocopy, but if we use VA against DRM