Typo fix
This commit is contained in:
parent
c3649dca3a
commit
e8d8692f40
1 changed files with 1 additions and 1 deletions
|
|
@ -46,7 +46,7 @@ class ffmpeg_reader:
|
||||||
def probe(self):
|
def probe(self):
|
||||||
""" Probe the video device to get height and width info """
|
""" Probe the video device to get height and width info """
|
||||||
|
|
||||||
# Running this command on ffmpeg unfortunatly returns with an exit code of 1, which is silly.
|
# Running this command on ffmpeg unfortunately returns with an exit code of 1, which is silly.
|
||||||
# Returns an error code of 1 and this text: "/dev/video2: Immediate exit requested"
|
# Returns an error code of 1 and this text: "/dev/video2: Immediate exit requested"
|
||||||
args = ["ffmpeg", "-f", self.device_format, "-list_formats", "all", "-i", self.device_path]
|
args = ["ffmpeg", "-f", self.device_format, "-list_formats", "all", "-i", self.device_path]
|
||||||
process = Popen(args, stdout=PIPE, stderr=PIPE)
|
process = Popen(args, stdout=PIPE, stderr=PIPE)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue