| @@ -14,7 +14,7 @@ color=255 192 203 255 · 13 unmodified lines |
| 14 | 14 | channel_layout=311=311 |
| 15 | 15 | binary=62 69 6e 0 |
| 16 | 16 | binary_size=4 |
| 17 | | −num64=1 |
| 17 | +num64=4294967296 |
| 18 | 18 | flt=0.333333 |
| 19 | 19 | dbl=0.333333 |
| 20 | 20 | array_str[0]=str0 |
| @@ -43,7 +43,7 @@ TestContext AVOptions: · 22 unmodified lines |
| 43 | 43 | -bin <binary> E.......... set binary value |
| 44 | 44 | -bin1 <binary> E.......... set binary value |
| 45 | 45 | -bin2 <binary> E.......... set binary value |
| 46 | | − -num64 <int64> E.......... set num 64bit (from -1 to 100) (default 1) |
| 46 | + -num64 <int64> E.......... set num 64bit (from -1 to 4.29497e+09) (default 4294967296) |
| 47 | 47 | -flt <float> E.......... set float (from 0 to 100) (default 0.333333) |
| 48 | 48 | -dbl <double> E.......... set double (from 0 to 100) (default 0.333333) |
| 49 | 49 | -bool1 <boolean> E.......... set boolean value (default auto) |
| @@ -134,7 +134,7 @@ name: cl get: hexagonal set: OK get: hexagonal · 84 unmodified lines |
| 134 | 134 | name: bin get: 62696E00 set: OK get: 62696E00 OK |
| 135 | 135 | name: bin1 get: set: OK get: OK |
| 136 | 136 | name: bin2 get: set: OK get: OK |
| 137 | | −name: num64 get: 1 set: OK get: 1 OK |
| 137 | +name: num64 get: 4294967296 set: OK get: 4294967296 OK |
| 138 | 138 | name: flt get: 0.333333 set: OK get: 0.333333 OK |
| 139 | 139 | name: dbl get: 0.333333 set: OK get: 0.333333 OK |
| 140 | 140 | name: bool1 get: auto set: OK get: auto OK |
| @@ -150,7 +150,7 @@ array_dict=NULL; nb_array_dict=0 · 9 unmodified lines |
| 150 | 150 | av_opt_get("array_dict") -> NULL |
| 151 | 151 | |
| 152 | 152 | Test av_opt_serialize() |
| 153 | | −num=0,toggle=1,rational=1/1,string=default,escape=\\\=\,,flags=0x00000001,size=200x300,pix_fmt=0bgr,sample_fmt=s16,video_rate=25/1,duration=0.001,color=0xffc0cbff,cl=hexagonal,bin=62696E00,bin1=,bin2=,num64=1,flt=0.333333,dbl=0.333333,bool1=auto,bool2=true,bool3=false,dict1=,dict2=happy\=\\:-),array_int=,array_str=str0|str\\|1|str\\\\2,array_dict=k00\=v\\\\\\\\00:k01\=v\\\,01\,k10\=v\\\\\=1\\\\:0 |
| 153 | +num=0,toggle=1,rational=1/1,string=default,escape=\\\=\,,flags=0x00000001,size=200x300,pix_fmt=0bgr,sample_fmt=s16,video_rate=25/1,duration=0.001,color=0xffc0cbff,cl=hexagonal,bin=62696E00,bin1=,bin2=,num64=4294967296,flt=0.333333,dbl=0.333333,bool1=auto,bool2=true,bool3=false,dict1=,dict2=happy\=\\:-),array_int=,array_str=str0|str\\|1|str\\\\2,array_dict=k00\=v\\\\\\\\00:k01\=v\\\,01\,k10\=v\\\\\=1\\\\:0 |
| 154 | 154 | Setting entry with key 'num' to value '0' |
| 155 | 155 | Setting entry with key 'toggle' to value '1' |
| 156 | 156 | Setting entry with key 'rational' to value '1/1' |
| @@ -167,7 +167,7 @@ Setting entry with key 'cl' to value 'hexagonal' · 10 unmodified lines |
| 167 | 167 | Setting entry with key 'bin' to value '62696E00' |
| 168 | 168 | Setting entry with key 'bin1' to value '' |
| 169 | 169 | Setting entry with key 'bin2' to value '' |
| 170 | | −Setting entry with key 'num64' to value '1' |
| 170 | +Setting entry with key 'num64' to value '4294967296' |
| 171 | 171 | Setting entry with key 'flt' to value '0.333333' |
| 172 | 172 | Setting entry with key 'dbl' to value '0.333333' |
| 173 | 173 | Setting entry with key 'bool1' to value 'auto' |
| @@ -178,7 +178,7 @@ Setting entry with key 'dict2' to value 'happy=\:-)' · 4 unmodified lines |
| 178 | 178 | Setting entry with key 'array_int' to value '' |
| 179 | 179 | Setting entry with key 'array_str' to value 'str0|str\|1|str\\2' |
| 180 | 180 | Setting entry with key 'array_dict' to value 'k00=v\\\\00:k01=v\,01,k10=v\\=1\\:0' |
| 181 | | −num=0,toggle=1,rational=1/1,string=default,escape=\\\=\,,flags=0x00000001,size=200x300,pix_fmt=0bgr,sample_fmt=s16,video_rate=25/1,duration=0.001,color=0xffc0cbff,cl=hexagonal,bin=62696E00,bin1=,bin2=,num64=1,flt=0.333333,dbl=0.333333,bool1=auto,bool2=true,bool3=false,dict1=,dict2=happy\=\\:-),array_int=,array_str=str0|str\\|1|str\\\\2,array_dict=k00\=v\\\\\\\\00:k01\=v\\\,01\,k10\=v\\\\\=1\\\\:0 |
| 181 | +num=0,toggle=1,rational=1/1,string=default,escape=\\\=\,,flags=0x00000001,size=200x300,pix_fmt=0bgr,sample_fmt=s16,video_rate=25/1,duration=0.001,color=0xffc0cbff,cl=hexagonal,bin=62696E00,bin1=,bin2=,num64=4294967296,flt=0.333333,dbl=0.333333,bool1=auto,bool2=true,bool3=false,dict1=,dict2=happy\=\\:-),array_int=,array_str=str0|str\\|1|str\\\\2,array_dict=k00\=v\\\\\\\\00:k01\=v\\\,01\,k10\=v\\\\\=1\\\\:0 |
| 182 | 182 | child_num=0,flt=0.333333,dbl=0.333333,array_int= |
| 183 | 183 | |
| 184 | 184 | Testing av_set_options_string() |
| @@ -375,12 +375,15 @@ Setting entry with key 'num64' to value '-1' · 190 unmodified lines |
| 375 | 375 | OK 'num64=-1' |
| 376 | 376 | Setting options string 'num64=-2' |
| 377 | 377 | Setting entry with key 'num64' to value '-2' |
| 378 | | −Value -2.000000 for parameter 'num64' out of range [-1 - 100] |
| 378 | +Value -2.000000 for parameter 'num64' out of range [-1 - 4.29497e+09] |
| 379 | 379 | Error 'num64=-2' |
| 380 | | −Setting options string 'num64=101' |
| 381 | | −Setting entry with key 'num64' to value '101' |
| 382 | | −Value 101.000000 for parameter 'num64' out of range [-1 - 100] |
| 383 | | −Error 'num64=101' |
| 380 | +Setting options string 'num64=4294967296' |
| 381 | +Setting entry with key 'num64' to value '4294967296' |
| 382 | +OK 'num64=4294967296' |
| 383 | +Setting options string 'num64=4294967297' |
| 384 | +Setting entry with key 'num64' to value '4294967297' |
| 385 | +Value 4294967297.000000 for parameter 'num64' out of range [-1 - 4.29497e+09] |
| 386 | +Error 'num64=4294967297' |
| 384 | 387 | Setting options string 'flt=bogus' |
| 385 | 388 | Setting entry with key 'flt' to value 'bogus' |
| 386 | 389 | Undefined constant or missing '(' in 'bogus' |