Revision 12763671 libavformat/avformat.h

View differences:

libavformat/avformat.h
507 507
     * This is the fundamental unit of time (in seconds) in terms
508 508
     * of which frame timestamps are represented. For fixed-fps content,
509 509
     * time base should be 1/framerate and timestamp increments should be 1.
510
     * decoding: set by libavformat
511
     * encoding: set by libavformat in av_write_header
510 512
     */
511 513
    AVRational time_base;
512 514
    int pts_wrap_bits; /**< number of bits in pts (used for wrapping control) */
......
1374 1376
/**
1375 1377
 * Allocate the stream private data and write the stream header to an
1376 1378
 * output media file.
1379
 * Note: this sets stream time-bases, if possible to stream->codec->time_base
1380
 * but for some formats it might also be some other time base
1377 1381
 *
1378 1382
 * @param s media file handle
1379 1383
 * @return 0 if OK, AVERROR_xxx on error

Also available in: Unified diff