Commit 8dfd87ae authored by Loren Merritt's avatar Loren Merritt
Browse files

VfW: 10l in bime and refs



git-svn-id: svn://svn.videolan.org/x264/trunk@433 df754926-b1dd-0310-bc7b-ec298dee348c
parent d53108a3
...@@ -642,7 +642,7 @@ BOOL CALLBACK callback_tabs( HWND hDlg, UINT uMsg, WPARAM wParam, LPARAM lParam ...@@ -642,7 +642,7 @@ BOOL CALLBACK callback_tabs( HWND hDlg, UINT uMsg, WPARAM wParam, LPARAM lParam
config->b_bframe_adaptive = ( IsDlgButtonChecked( hTabs[2], IDC_BADAPT ) == BST_CHECKED ); config->b_bframe_adaptive = ( IsDlgButtonChecked( hTabs[2], IDC_BADAPT ) == BST_CHECKED );
break; break;
case IDC_BIDIR_ME : case IDC_BIDIR_ME :
config->b_bidir_me = ( IsDlgButtonChecked( hTabs[2], IDC_BIDIR_ME ) == BST_UNCHECKED ); config->b_bidir_me = ( IsDlgButtonChecked( hTabs[2], IDC_BIDIR_ME ) == BST_CHECKED );
break; break;
case IDC_P8X8 : case IDC_P8X8 :
config->b_psub16x16 = ( IsDlgButtonChecked( hTabs[2], IDC_P8X8 ) == BST_CHECKED ); config->b_psub16x16 = ( IsDlgButtonChecked( hTabs[2], IDC_P8X8 ) == BST_CHECKED );
...@@ -809,11 +809,6 @@ BOOL CALLBACK callback_tabs( HWND hDlg, UINT uMsg, WPARAM wParam, LPARAM lParam ...@@ -809,11 +809,6 @@ BOOL CALLBACK callback_tabs( HWND hDlg, UINT uMsg, WPARAM wParam, LPARAM lParam
config->i_refmax = 16; config->i_refmax = 16;
SetDlgItemInt( hTabs[3], IDC_REFFRAMES, config->i_refmax, FALSE ); SetDlgItemInt( hTabs[3], IDC_REFFRAMES, config->i_refmax, FALSE );
} }
if( config->i_refmax < 1 )
{
config->i_refmax = 1;
SetDlgItemInt( hTabs[3], IDC_REFFRAMES, config->i_refmax, FALSE );
}
break; break;
case IDC_MERANGE : case IDC_MERANGE :
config->i_me_range = GetDlgItemInt( hTabs[3], IDC_MERANGE, FALSE, FALSE ); config->i_me_range = GetDlgItemInt( hTabs[3], IDC_MERANGE, FALSE, FALSE );
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment