diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/video_out/video_out_vdpau.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/video_out/video_out_vdpau.c b/src/video_out/video_out_vdpau.c index 190e671b3..4daddb2d2 100644 --- a/src/video_out/video_out_vdpau.c +++ b/src/video_out/video_out_vdpau.c @@ -906,6 +906,12 @@ static int vdpau_set_property (vo_driver_t *this_gen, int property, int value) this->sc.force_redraw = 1; //* trigger re-calc of output size } break;*/ + case VO_PROP_ASPECT_RATIO: + if ( value>=XINE_VO_ASPECT_NUM_RATIOS ) + value = XINE_VO_ASPECT_AUTO; + this->sc.user_ratio = value; + this->sc.force_redraw = 1; /* trigger re-calc of output size */ + break; case VO_PROP_HUE: this->hue = value; vdpau_update_csc( this ); break; case VO_PROP_SATURATION: this->saturation = value; vdpau_update_csc( this ); break; case VO_PROP_CONTRAST: this->contrast = value; vdpau_update_csc( this ); break; |