avcodec/videotoolboxenc: fix invalid session on iOS
authorThomas Guillem <thomas@gllm.fr>
Thu, 14 Jun 2018 15:48:07 +0000 (17:48 +0200)
committerAman Gupta <aman@tmm1.net>
Mon, 18 Jun 2018 18:48:05 +0000 (11:48 -0700)
commit513e6a30fb013ca34812ccaaf3d090680ac868c5
tree93fc0204b9dbc3712a8e76c0ced0657ab523c0f3
parent9e11d27c25bf9bbd53fa23e892946752096f378b
avcodec/videotoolboxenc: fix invalid session on iOS

Cf. comment. Restart the VT session when the APP goes from foreground to
background and vice versa.

Signed-off-by: Aman Gupta <aman@tmm1.net>
libavcodec/videotoolboxenc.c