mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-25 01:30:38 +00:00
Bugfix
Original commit message from CVS: Bugfix
This commit is contained in:
parent
70e24a8888
commit
4c81ac3e01
1 changed files with 5 additions and 2 deletions
|
@ -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;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue