Skip to content

Commit

Permalink
Fix vdpau setting.
Browse files Browse the repository at this point in the history
  • Loading branch information
rofafor committed Sep 28, 2015
1 parent dc7caab commit 911a823
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion softhddevice.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -941,7 +941,7 @@ void cMenuSetupSoft::Create(void)
int hue_min, hue_def, hue_max;
int hue_active = VideoGetHueConfig(&hue_min, &hue_def, &hue_max);
int stde_min, stde_def, stde_max;
int stde_active = VideoGetSkinToneEnhancementConfig(&stde_min, &stde_def, & stde_max);
int stde_active = VideoGetSkinToneEnhancementConfig(&stde_min, &stde_def, &stde_max);
int denoise_min, denoise_def, denoise_max;
int denoise_active = VideoGetDenoiseConfig(&denoise_min, &denoise_def, &denoise_max);
int sharpen_min, sharpen_def, sharpen_max;
Expand Down
3 changes: 1 addition & 2 deletions video.c
Original file line number Diff line number Diff line change
Expand Up @@ -12817,7 +12817,6 @@ void VideoSetHue(int hue)
// FIXME: test to check if working, than make module function
#ifdef USE_VDPAU
if (VideoUsedModule == &VdpauModule) {
hue = VideoConfigClamp(&VdpauConfigHue, hue);
VdpauDecoders[0]->Procamp.hue = VideoConfigClamp(&VdpauConfigHue, hue) *
VdpauConfigHue.scale;
}
Expand Down Expand Up @@ -12864,7 +12863,7 @@ void VideoSetSkinToneEnhancement(int stde)
// FIXME: test to check if working, than make module function
#ifdef USE_VDPAU
if (VideoUsedModule == &VdpauModule) {
VideoSkinToneEnhancement = VideoConfigClamp(&VaapiConfigStde, stde);
VideoSkinToneEnhancement = VideoConfigClamp(&VdpauConfigStde, stde);
}
#endif
#ifdef USE_VAAPI
Expand Down

0 comments on commit 911a823

Please sign in to comment.