[FFmpeg-devel] [PATCH] rtsp.c: EOS support
Sat Mar 21 23:13:01 CET 2009
Ronald S. Bultje wrote:
> attached is something that adds sort-of functional EOS support to the
> RTSP demuxer. It works, but I don't think it's entirely ready, so see
> it partially as a RFC. For example, I'm wondering if people agree
> setting RTSPState::state is a good way to maintain EOS state on
> subsequent read_packet() calls, and I'm interested in other approaches
> that do the same thing.
I'd add rtcp BYE before implementing that
The patch looks fine but why removing the comment?
- /* XXX: parse message */
+ if (rt->state != RTSP_STATE_PLAYING)
+ return 0;
Gentoo Council Member
More information about the ffmpeg-devel