fixed encoder segfault

This commit is contained in:
Devaev Maxim
2018-09-25 01:10:57 +03:00
parent 1d0591caa0
commit 03676a346f
6 changed files with 23 additions and 13 deletions

View File

@@ -344,7 +344,7 @@ static int _stream_init(struct device_t *dev, struct workers_pool_t *pool) {
goto error;
}
encoder_prepare(pool->encoder, dev);
encoder_prepare_for_device(pool->encoder, dev);
_stream_init_workers(dev, pool);