Original commit message from CVS:
Bugfix
This commit is contained in:
Ronald S. Bultje 2002-01-10 16:03:23 +00:00
parent 70e24a8888
commit 4c81ac3e01

View file

@ -199,11 +199,14 @@ gst_sdlvideosink_get_sdl_from_fourcc (GstSDLVideoSink *sdlvideosink,
return SDL_UYVY_OVERLAY; return SDL_UYVY_OVERLAY;
case GST_MAKE_FOURCC('Y','V','Y','U'): case GST_MAKE_FOURCC('Y','V','Y','U'):
return SDL_YVYU_OVERLAY; return SDL_YVYU_OVERLAY;
default: default: {
gulong print_format;
print_format = GULONG_FROM_LE(code);
gst_element_error(GST_ELEMENT(sdlvideosink), gst_element_error(GST_ELEMENT(sdlvideosink),
"Unsupported format %08lx (%4.4s)", "Unsupported format %08lx (%4.4s)",
GULONG_FROM_LE(code), (char*)(&(GULONG_FROM_LE(code)))); print_format, (char*)&print_format);
return 0; return 0;
}
} }
} }