> + /* demux */ > + while (!avio_feof(avf->pb)) { Can we please get away from this way of reading subtitles? Every other type of media (audio, video) are capable of being streamed, but not subtitles, precisely because all of them do all parsing in the read_header() call. We have a perfectly good generic index and seeking functionality. My recent experiment with srt shows it's possible to read packets in read_packet() like every other demuxer..
/Tomas _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".