summaryrefslogtreecommitdiffstats
path: root/ext
diff options
context:
space:
mode:
authorRonald S. Bultje <rbultje@ronald.bitfreak.net>2002-01-10 16:03:23 +0000
committerRonald S. Bultje <rbultje@ronald.bitfreak.net>2002-01-10 16:03:23 +0000
commit4c81ac3e012b68cf995a1f03a808d41371a70ebd (patch)
tree9d6d327610cbe645b3bc33a121b8a472468fac6b /ext
parent70e24a888885ff1831893095460d2147f8b7715a (diff)
downloadgst-plugins-bad-4c81ac3e012b68cf995a1f03a808d41371a70ebd.tar.gz
gst-plugins-bad-4c81ac3e012b68cf995a1f03a808d41371a70ebd.tar.bz2
gst-plugins-bad-4c81ac3e012b68cf995a1f03a808d41371a70ebd.zip
Bugfix
Original commit message from CVS: Bugfix
Diffstat (limited to 'ext')
-rw-r--r--ext/sdl/sdlvideosink.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/ext/sdl/sdlvideosink.c b/ext/sdl/sdlvideosink.c
index b7098b69..f10537b2 100644
--- a/ext/sdl/sdlvideosink.c
+++ b/ext/sdl/sdlvideosink.c
@@ -199,11 +199,14 @@ gst_sdlvideosink_get_sdl_from_fourcc (GstSDLVideoSink *sdlvideosink,
return SDL_UYVY_OVERLAY;
case GST_MAKE_FOURCC('Y','V','Y','U'):
return SDL_YVYU_OVERLAY;
- default:
+ default: {
+ gulong print_format;
+ print_format = GULONG_FROM_LE(code);
gst_element_error(GST_ELEMENT(sdlvideosink),
"Unsupported format %08lx (%4.4s)",
- GULONG_FROM_LE(code), (char*)(&(GULONG_FROM_LE(code))));
+ print_format, (char*)&print_format);
return 0;
+ }
}
}