summaryrefslogtreecommitdiff
path: root/gr-video-sdl/lib/sink_s_impl.cc
diff options
context:
space:
mode:
Diffstat (limited to 'gr-video-sdl/lib/sink_s_impl.cc')
-rw-r--r--gr-video-sdl/lib/sink_s_impl.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/gr-video-sdl/lib/sink_s_impl.cc b/gr-video-sdl/lib/sink_s_impl.cc
index e54a5bd6fd..56d51ffbca 100644
--- a/gr-video-sdl/lib/sink_s_impl.cc
+++ b/gr-video-sdl/lib/sink_s_impl.cc
@@ -103,7 +103,7 @@ sink_s_impl::sink_s_impl(double framerate,
/* Initialize and create the YUV Overlay used for video out */
if (!(d_image =
- SDL_CreateYUVOverlay(d_width, d_height, SDL_YV12_OVERLAY, d_screen))) {
+ SDL_CreateYUVOverlay(d_width, d_height, SDL_IYUV_OVERLAY, d_screen))) {
std::ostringstream msg;
msg << "Couldn't create a YUV overlay: " << SDL_GetError();
GR_LOG_ERROR(d_logger, msg.str());