avtpsrc: Retry receive with same buffer size
authorTimo Wischer <timo.wischer@de.bosch.com>
Wed, 6 Oct 2021 14:00:56 +0000 (16:00 +0200)
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Tue, 26 Oct 2021 22:46:46 +0000 (22:46 +0000)
commit20b87e39e963d4c6c9cd21572e7839987a36f332
treeb8dba1a16f79efda83ce24ec7906b4cec3591731
parent1d833eba60938174d81212450c74c3a03d094753
avtpsrc: Retry receive with same buffer size

Without this patch in case of a retry recv() will be called with a
negative size argument.

Signed-off-by: Timo Wischer <timo.wischer@de.bosch.com>
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1078>
subprojects/gst-plugins-bad/ext/avtp/gstavtpsrc.c