When input one of JPEG picture to Tegra multimedia API sample jpeg_decode.
Program die and cannot catch exception.
How can I avoid program dying program ?
nvidia@tegra-ubuntu:~/tegra_multimedia_api/samples/06_jpeg_decode$ ./jpeg_decode num_files 1 ../../data/Picture/ng.jpg ng.raw --decode-fd
Failed to query video capabilities: Inappropriate ioctl for device
Improper call to JPEG library in state 205
nvbuf_utils: dmabuf_fd -1 mapped entry NOT found
When succeed
nvidia@tegra-ubuntu:~/tegra_multimedia_api/samples/06_jpeg_decode$ ./jpeg_decode num_files 1 ../../data/Picture/nvidia-logo.jpg ok.raw --decode-fd
Failed to query video capabilities: Inappropriate ioctl for device
Image Resolution - 1920 x 1080
libv4l2_nvvidconv (0):(792) (INFO) : Allocating (1) OUTPUT PLANE BUFFERS Layout=0
libv4l2_nvvidconv (0):(808) (INFO) : Allocating (1) CAPTURE PLANE BUFFERS Layout=0
App run was successful