2005-10-31 Edgard Lima <edgard.lima@indt.org.br>
+ * gst-plugins-bad/ext/sdl/sdlvideosink.c:
+ gst_sdlvideosink_set_property, gst_sdlvideosink_init,
+ gst_sdlvideosink_create:
+ Changed property full-screen to fullscreen, using SDL_SWSURFACE
+ instead of SDL_HWSURFACE when in full screen mode.
+
+2005-10-31 Edgard Lima <edgard.lima@indt.org.br>
+
* gst-plugins-bad/ext/sdl/sdlvideosink.c: gst_sdlvideosink_class_init,
gst_sdlvideosink_set_property, gst_sdlvideosink_get_property,
gst_sdlvideosink_init, gst_sdlvideosink_create:
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;
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),
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);