summaryrefslogtreecommitdiff
path: root/src/video_out/video_out_directfb.c
diff options
context:
space:
mode:
authorDiego 'Flameeyes' Pettenò <flameeyes@gmail.com>2008-01-03 01:25:57 +0100
committerDiego 'Flameeyes' Pettenò <flameeyes@gmail.com>2008-01-03 01:25:57 +0100
commit760c9b664fb211d720111b2e462092180acae44c (patch)
treec7d9243d5f57b9d182629886889f0f6adbe40438 /src/video_out/video_out_directfb.c
parent299a77d45f12f0e9103925a86b985f307e8eee6d (diff)
downloadxine-lib-760c9b664fb211d720111b2e462092180acae44c.tar.gz
xine-lib-760c9b664fb211d720111b2e462092180acae44c.tar.bz2
Replace _x_vo_scale_aspect_ratio_name() function with a string table, all the uses already check for the index not to go over ther expected one.
Diffstat (limited to 'src/video_out/video_out_directfb.c')
-rw-r--r--src/video_out/video_out_directfb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_out/video_out_directfb.c b/src/video_out/video_out_directfb.c
index 364c0ab30..d85df411a 100644
--- a/src/video_out/video_out_directfb.c
+++ b/src/video_out/video_out_directfb.c
@@ -949,7 +949,7 @@ static int directfb_set_property (vo_driver_t *this_gen,
value = XINE_VO_ASPECT_NUM_RATIOS-1;
xprintf (this->xine, XINE_VERBOSITY_DEBUG,
"video_out_directfb: aspect ratio changed to %s.\n",
- _x_vo_scale_aspect_ratio_name (value));
+ _x_vo_scale_aspect_ratio_name_table[value]);
this->sc.user_ratio = value;
_x_vo_scale_compute_ideal_size (&this->sc);
this->sc.force_redraw = 1;