Commit 476a0f93 authored by Loren Merritt's avatar Loren Merritt

allow ',' separator for --filter



git-svn-id: svn://svn.videolan.org/x264/trunk@434 df754926-b1dd-0310-bc7b-ec298dee348c
parent 8dfd87ae
......@@ -629,6 +629,7 @@ static int Parse( int argc, char **argv,
case 'f':
{
char *p = strchr( optarg, ':' );
if( !p ) p = strchr( optarg, ',' );
param->i_deblocking_filter_alphac0 = atoi( optarg );
param->i_deblocking_filter_beta = p ? atoi( p+1 ) : param->i_deblocking_filter_alphac0;
break;
......@@ -696,6 +697,7 @@ static int Parse( int argc, char **argv,
case OPT_SAR:
{
char *p = strchr( optarg, ':' );
if( !p ) p = strchr( optarg, '/' );
if( p )
{
param->vui.i_sar_width = atoi( optarg );
......
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