blob: cc0ecfb54a720f7a05ad0796a25acd953b14c39a [file] [log] [blame]
Guido van Rossum85f7bd51993-02-25 16:10:16 +00001#! /ufs/guido/bin/sgi/python
2
3# Print the value of all video parameters
4
5import sys
6import sv, SV
7
8def main():
9 v = sv.OpenVideo()
10 for name in dir(SV):
11 const = getattr(SV, name)
12 if type(const) is type(0):
13 sys.stdout.flush()
14 params = [const, 0]
15 try:
16 v.GetParam(params)
17 except sv.error, msg:
18## print name, msg
19 continue
20 print name, params
21
22main()
23