]> git.sesse.net Git - ffmpeg/blobdiff - libavformat/subtitles.h
wrap_timestamp: remove unneeded check
[ffmpeg] / libavformat / subtitles.h
index b089bb2a875c4a4fae1b3f82fc619a002e150ead..55e6182922c4a2dc65318958cb87b128ccf53bb7 100644 (file)
@@ -54,6 +54,13 @@ void ff_subtitles_queue_finalize(FFDemuxSubtitlesQueue *q);
  */
 int ff_subtitles_queue_read_packet(FFDemuxSubtitlesQueue *q, AVPacket *pkt);
 
+/**
+ * Update current_sub_idx to emulate a seek. Except the first parameter, it
+ * matches AVInputFormat->read_seek2 prototypes.
+ */
+int ff_subtitles_queue_seek(FFDemuxSubtitlesQueue *q, AVFormatContext *s, int stream_index,
+                            int64_t min_ts, int64_t ts, int64_t max_ts, int flags);
+
 /**
  * Remove and destroy all the subtitles packets.
  */