summaryrefslogtreecommitdiffstats
path: root/ext/sdl
diff options
context:
space:
mode:
authorEdgard Lima <edgard.lima@indt.org.br>2005-10-31 20:57:42 +0000
committerEdgard Lima <edgard.lima@indt.org.br>2005-10-31 20:57:42 +0000
commit801be361c18372ec28732ef55212fbbfa9deaf9c (patch)
treeeaa7220a2136f1432266e38bd576a1e4494f4b77 /ext/sdl
parent311408ac9d8011b92d7d3da3c115fb274d3674f6 (diff)
downloadgst-plugins-bad-801be361c18372ec28732ef55212fbbfa9deaf9c.tar.gz
gst-plugins-bad-801be361c18372ec28732ef55212fbbfa9deaf9c.tar.bz2
gst-plugins-bad-801be361c18372ec28732ef55212fbbfa9deaf9c.zip
Changed property full-screen to fullscreen, using SDL_SWSURFACE instead of SDL_HWSURFACE when in full screen mode.
Original commit message from CVS: Changed property full-screen to fullscreen, using SDL_SWSURFACE instead of SDL_HWSURFACE when in full screen mode.
Diffstat (limited to 'ext/sdl')
-rw-r--r--ext/sdl/sdlvideosink.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/sdl/sdlvideosink.c b/ext/sdl/sdlvideosink.c
index 7c5039b4..a23a573a 100644
--- a/ext/sdl/sdlvideosink.c
+++ b/ext/sdl/sdlvideosink.c
@@ -234,7 +234,7 @@ gst_sdlvideosink_class_init (GstSDLVideoSinkClass * klass)
gstvs_class->render = GST_DEBUG_FUNCPTR (gst_sdlvideosink_show_frame);
g_object_class_install_property (gobject_class, PROP_FULLSCREEN,
- g_param_spec_boolean ("full-screen", "Full-screnn",
+ g_param_spec_boolean ("fullscreen", "Fullscreen",
"If true it will be Full screen", FALSE, G_PARAM_READWRITE));
/*gstvs_class->set_video_out = gst_sdlvideosink_set_video_out;
@@ -521,7 +521,7 @@ gst_sdlvideosink_create (GstSDLVideoSink * sdlvideosink)
sdlvideosink->screen =
SDL_SetVideoMode (GST_VIDEO_SINK_WIDTH (sdlvideosink),
GST_VIDEO_SINK_HEIGHT (sdlvideosink), 0,
- SDL_HWSURFACE | SDL_FULLSCREEN);
+ SDL_SWSURFACE | SDL_FULLSCREEN);
} else {
sdlvideosink->screen =
SDL_SetVideoMode (GST_VIDEO_SINK_WIDTH (sdlvideosink),
@@ -715,7 +715,7 @@ gst_sdlvideosink_get_property (GObject * object, guint prop_id, GValue * value,
switch (prop_id) {
case PROP_FULLSCREEN:
- g_value_set_boolean (value, &sdlvideosink->full_screen);
+ g_value_set_boolean (value, sdlvideosink->full_screen);
break;
default:
G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec);