Revision 8c3eba7c libavformat/avformat.h

View differences:

libavformat/avformat.h
213 213
    int min_distance;         /* min distance between this and the previous keyframe, used to avoid unneeded searching */
214 214
} AVIndexEntry;
215 215

  
216
enum AVDiscard{
217
//we leave some space between them for extensions (drop some keyframes for intra only or drop just some bidir frames)
218
    AVDISCARD_NONE   =-16, ///< discard nothing
219
    AVDISCARD_DEFAULT=  0, ///< discard useless packets like 0 size packets in avi
220
    AVDISCARD_BIDIR  = 16, ///< discard all bidirectional frames
221
    AVDISCARD_NONKEY = 32, ///< discard all frames except keyframes
222
    AVDISCARD_ALL    = 48, ///< discard all
223
};
224

  
225 216
typedef struct AVStream {
226 217
    int index;    /* stream index in AVFormatContext */
227 218
    int id;       /* format specific stream id */

Also available in: Unified diff