I use ffmpeg to parse a .mp4 video and push packet to deepstream device worker, but the pDeviceWorker->stop() is hang after all packet pushed.
I think it is because the .mp4 file video codec is AVC1 but I created an H264 decoder with device worker. maybe I should call getVideoFormat() to retrieve the correct format.
I will reply this title if IDeviceWorker::stop not hang after create the suitable format decoder with AVC1.