rem: int fps, w, h; g_return_if_fail (bvw != NULL); g_return_if_fail (BACON_IS_VIDEO_WIDGET(bvw)); g_return_if_fail (GST_IS_PLAY(bvw->priv->play));  g_message ("visual quality");  switch (quality) { case VISUAL_SMALL: fps = 25; w = 160; h = 120; break; case VISUAL_NORMAL: fps = 15; w = 320; h = 240; break; case VISUAL_LARGE: fps = 25; w = 640; h = 480; break; case VISUAL_EXTRA_LARGE: fps = 25; w = 1024; h = 768; break; default:  fps = w = h = 0; g_assert_not_reached (); }
add: int fps, w, h; g_return_if_fail (bvw != NULL); g_return_if_fail (BACON_IS_VIDEO_WIDGET (bvw)); g_return_if_fail (GST_IS_PLAY (bvw->priv->play));
context: bacon_video_widget_set_visuals_quality (BaconVideoWidget *bvw,										VisualsQuality quality){	int fps, w, h;	g_return_if_fail (bvw != NULL);	g_return_if_fail (BACON_IS_VIDEO_WIDGET(bvw));	g_return_if_fail (GST_IS_PLAY(bvw->priv->play));		g_message ("visual quality");		switch (quality)	{	case VISUAL_SMALL:		fps = 25;		w = 160;		h = 120;		break;	case VISUAL_NORMAL:		fps = 15;		w = 320;		h = 240;		break;	case VISUAL_LARGE:		fps = 25;		w = 640;		h = 480;		break;	case VISUAL_EXTRA_LARGE:		fps = 25;		w = 1024;		h = 768;		break;	default:		/* shut up warnings */		fps = w = h = 0;		g_assert_not_reached ();	}	g_object_set(G_OBJECT(bvw->priv->vis_element),						"width", w, "height", h, "fps", fps, NULL);	}