Bugfix
Original commit message from CVS: Bugfix
This commit is contained in:
parent
70e24a8888
commit
4c81ac3e01
@ -199,12 +199,15 @@ 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;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user