[SCM] libav/experimental: actually define AVSEEK_FLAG_FRAME as described in avformat_seek_file() doc

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Jun 30 16:49:55 UTC 2013


The following commit has been merged in the experimental branch:
commit 2bf74f4955b704bb1c954c8c51f35734697b45b9
Author: Aurelien Jacobs <aurel at gnuage.org>
Date:   Mon Aug 10 20:48:05 2009 +0000

    actually define AVSEEK_FLAG_FRAME as described in avformat_seek_file() doc
    
    Originally committed as revision 19623 to svn://svn.ffmpeg.org/ffmpeg/trunk

diff --git a/libavformat/avformat.h b/libavformat/avformat.h
index 16170d4..ba4dd8b 100644
--- a/libavformat/avformat.h
+++ b/libavformat/avformat.h
@@ -968,6 +968,7 @@ void av_set_pts_info(AVStream *s, int pts_wrap_bits,
 #define AVSEEK_FLAG_BACKWARD 1 ///< seek backward
 #define AVSEEK_FLAG_BYTE     2 ///< seeking based on position in bytes
 #define AVSEEK_FLAG_ANY      4 ///< seek to any frame, even non-keyframes
+#define AVSEEK_FLAG_FRAME    8 ///< seeking based on frame number
 
 int av_find_default_stream_index(AVFormatContext *s);
 

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list