gstreamer/subprojects/gst-libav/ext
Jesper Jensen 1c4487f11a avprotocol: Return EOF when stream is out of data
According to the ffmpeg documentation[1] the read_packet function should never
return 0. ffmpegdata_peek returns 0 when the stream is EOF causing us to fail
detecting EOF and never close the pipeline, continually spinning on more data.
ffmpeg instead wants an AVERROR_EOF code for to signal EOF.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/7495>
2024-09-10 23:51:07 +01:00
..
libav avprotocol: Return EOF when stream is out of data 2024-09-10 23:51:07 +01:00