gstreamer/subprojects/gst-libav/ext
Jesper Jensen 83373f786b 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/7299>
2024-08-05 12:24:52 +01:00
..
libav avprotocol: Return EOF when stream is out of data 2024-08-05 12:24:52 +01:00