FFmpeg 1.8 (#9944)
* Update requirements_all.txt * Update requirements_test_all.txt * Update ffmpeg.py * Update ffmpeg.py * Update yi.py * Update onvif.py * Update yi.py
This commit is contained in:
parent
628b9bd8d8
commit
8a93cc147a
6 changed files with 10 additions and 9 deletions
|
@ -55,9 +55,9 @@ class FFmpegCamera(Camera):
|
|||
from haffmpeg import ImageFrame, IMAGE_JPEG
|
||||
ffmpeg = ImageFrame(self._manager.binary, loop=self.hass.loop)
|
||||
|
||||
image = yield from ffmpeg.get_image(
|
||||
image = yield from asyncio.shield(ffmpeg.get_image(
|
||||
self._input, output_format=IMAGE_JPEG,
|
||||
extra_cmd=self._extra_arguments)
|
||||
extra_cmd=self._extra_arguments), loop=self.hass.loop)
|
||||
return image
|
||||
|
||||
@asyncio.coroutine
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue