|
|
|
@ -102,6 +102,32 @@ name: bool3 default:1 error: |
|
|
|
|
name: dict1 default:1 error: |
|
|
|
|
name: dict2 default:1 error: |
|
|
|
|
|
|
|
|
|
Testing av_opt_get/av_opt_set() |
|
|
|
|
name: num get: 0 set: OK get: 0 OK |
|
|
|
|
name: toggle get: 1 set: OK get: 1 OK |
|
|
|
|
name: rational get: 1/1 set: OK get: 1/1 OK |
|
|
|
|
name: string get: default set: OK get: default OK |
|
|
|
|
name: escape get: \=, set: OK get: \=, OK |
|
|
|
|
name: flags get: 0x00000001 set: OK get: 0x00000001 OK |
|
|
|
|
name: size get: 200x300 set: OK get: 200x300 OK |
|
|
|
|
name: pix_fmt get: 0bgr set: OK get: 0bgr OK |
|
|
|
|
name: sample_fmt get: s16 set: OK get: s16 OK |
|
|
|
|
name: video_rate get: 25/1 set: OK get: 25/1 OK |
|
|
|
|
name: duration get: 0.001 set: OK get: 0.001 OK |
|
|
|
|
name: color get: 0xffc0cbff set: OK get: 0xffc0cbff OK |
|
|
|
|
name: cl get: 0x137 set: OK get: 0x137 OK |
|
|
|
|
name: bin get: 62696E00 set: OK get: 62696E00 OK |
|
|
|
|
name: bin1 get: set: OK get: OK |
|
|
|
|
name: bin2 get: set: OK get: OK |
|
|
|
|
name: num64 get: 1 set: OK get: 1 OK |
|
|
|
|
name: flt get: 0.333333 set: OK get: 0.333333 OK |
|
|
|
|
name: dbl get: 0.333333 set: OK get: 0.333333 OK |
|
|
|
|
name: bool1 get: auto set: OK get: auto OK |
|
|
|
|
name: bool2 get: true set: OK get: true OK |
|
|
|
|
name: bool3 get: false set: OK get: false OK |
|
|
|
|
name: dict1 get: set: OK get: OK |
|
|
|
|
name: dict2 get: happy=\:-) set: OK get: happy=\:-) OK |
|
|
|
|
|
|
|
|
|
Test av_opt_serialize() |
|
|
|
|
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=0x137,bin=62696E00,bin1=,bin2=,num64=1,flt=0.333333,dbl=0.333333,bool1=auto,bool2=true,bool3=false,dict1=,dict2=happy\=\\:-) |
|
|
|
|
Setting entry with key 'num' to value '0' |
|
|
|
|