codec: videotoolbox: handle errors from callback too
commitefbdf5fb236c88ffe6282524565159d596a6e02b
authorThomas Guillem <thomas@gllm.fr>
Wed, 27 Sep 2017 14:29:52 +0000 (27 16:29 +0200)
committerThomas Guillem <thomas@gllm.fr>
Wed, 27 Sep 2017 17:15:37 +0000 (27 19:15 +0200)
tree414d4d851aae107d40844d43c0d56f7751b3afbe
parent4ee2be1f629f1eb2e6436c97388f9baa584a9ddb
codec: videotoolbox: handle errors from callback too

Some errors are only triggered from the decoder callback and not from the
VTDecompressionSessionDecodeFrame() function. We need to handle them in both
places.
modules/codec/videotoolbox.m