Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
bab2ca3e
Commit
bab2ca3e
authored
Sep 28, 1993
by
Jack Jansen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added autoedit and cancel commands, removed debug output
parent
f993d287
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
4 deletions
+9
-4
Demo/sgi/video/VCR.py
Demo/sgi/video/VCR.py
+9
-4
No files found.
Demo/sgi/video/VCR.py
View file @
bab2ca3e
...
...
@@ -116,6 +116,7 @@ N_FRAME_REC=EXP_8 + '\x92'
SEARCH_PREROLL
=
EXP_8
+
'
\
x90
'
EDIT_PB_STANDBY
=
EXP_8
+
'
\
x96
'
EDIT_PLAY
=
EXP_8
+
'
\
x98
'
AUTO_EDIT
=
EXP_7
+
'
\
x9c
'
IN_ENTRY
=
EXP_7
+
'
\
x90
'
IN_ENTRY_RESET
=
EXP_7
+
'
\
x91
'
...
...
@@ -408,6 +409,10 @@ class VCR:
return
0
return
1
def
autoedit
(
self
):
self
.
_check
()
return
self
.
_endlongcmd
(
AUTO_EDIT
)
def
nframerec
(
self
,
num
):
if
not
self
.
simplecmd
(
N_FRAME_REC
):
return
0
...
...
@@ -487,13 +492,9 @@ class VCR:
cmd
=
OUT_ENTRY_SENSE
self
.
replycmd
(
cmd
)
h
=
self
.
_getnumber
(
2
)
print
'h='
,
h
m
=
self
.
_getnumber
(
2
)
print
'm='
,
m
s
=
self
.
_getnumber
(
2
)
print
's='
,
s
f
=
self
.
_getnumber
(
2
)
print
'f='
,
f
return
(
h
,
m
,
s
,
f
)
def
inentry
(
self
,
arg
):
...
...
@@ -528,3 +529,7 @@ class VCR:
else
:
raise
error
,
'Arg should be +,-,reset,load or (h,m,s,f)'
return
self
.
simplecmd
(
cmd
)
def
cancel
(
self
):
d
=
self
.
simplecmd
(
CL
)
self
.
busy_cmd
=
None
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment