Catch EOS of SVO in zed-gstreamer via code level

error: gst-resource-error-quark: Grabbing failed with error: ‘END OF SVO FILE REACHED’ - End of SVO file has been reached. No more frames available. (1)

i wander how to catch SVO file’s EOS in zed-gstreamer. it seems like there is no way to handle messege from zedsrc in gstreamer-bus.

(for now, i am using zed sdk and zed-gstreamer in NVidia deepstream container with python gstreamer wrapper.)