Skip to content

Commit 6cfe66f

Browse files
authored
Update README.md
Revise the example.
1 parent 275bbec commit 6cfe66f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ An example of transfer the coding of a video with an assigned codec:
4040
opened = e.FFmpegSetup() # Load the encoder.
4141
if opened: # If encoder is not loaded successfully, do not continue.
4242
p = True
43-
while p:
43+
while p is not None:
4444
p = d.ExtractGOP() # Extract current GOP.
4545
for i in p: # Select every frame.
4646
e.EncodeFrame(i) # Encode current frame.

0 commit comments

Comments
 (0)