lavfi/dnn_backend_tf: Error Handling for execute_model_tf
authorShubhanshu Saxena <shubhanshu.e01@gmail.com>
Sun, 8 Aug 2021 10:55:35 +0000 (16:25 +0530)
committerGuo Yejun <yejun.guo@intel.com>
Tue, 10 Aug 2021 14:27:27 +0000 (22:27 +0800)
commita3db9b5405c06b6d4cb7a607a5abb8d0b80a1f6e
tree9d3f5d141eb96f78fa8b3c3d0171963c8b521676
parent0985e9283ca2fe85dd0744f97c869bf24fbf14b5
lavfi/dnn_backend_tf: Error Handling for execute_model_tf

This patch adds error handling for cases where the execute_model_tf
fails, clears the used memory in the TFRequestItem and finally pushes
it back to the request queue.

Signed-off-by: Shubhanshu Saxena <shubhanshu.e01@gmail.com>
libavfilter/dnn/dnn_backend_tf.c