History

avformat: make AVStream.pts_wrap_bits public

It can be useful to library users, and is currently being used by ffmpeg.c

James Almer committed 5 years ago

Commit 2cccab91 parent 58c908c3 files · +12 −12Browse files

Unified · Split

3 files
  1. doc/APIchanges +3 −0
  2. libavformat/avformat.h +7 −10
  3. libavformat/version.h +2 −2
doc/APIchanges+3−0
@@ -14,6 +14,9 @@ libavutil: 2021-04-27 · 13 unmodified lines
14 14
15API changes, most recent first:15API changes, most recent first:
16 16
172021-06-09 - xxxxxxxxxx - lavf 59.3.100 - avformat.h
18 Add pts_wrap_bits to AVStream
19
172021-xx-xx - xxxxxxxxxx - lavc 59.1.100 - avcodec.h codec.h202021-xx-xx - xxxxxxxxxx - lavc 59.1.100 - avcodec.h codec.h
18 Move av_get_profile_name() from avcodec.h to codec.h.21 Move av_get_profile_name() from avcodec.h to codec.h.
19 22
libavformat/avformat.h+7−10
@@ -985,17 +985,14 @@ typedef struct AVStream { · 984 unmodified lines
985 */985 */
986 AVCodecParameters *codecpar;986 AVCodecParameters *codecpar;
987 987
988 /*****************************************************************988 /**
989 * All fields below this line are not part of the public API. They989 * Number of bits in timestamps. Used for wrapping control.
990 * may not be used outside of libavformat and can be changed and990 *
991 * removed at will.991 * - demuxing: set by libavformat
992 * Internal note: be aware that physically removing these fields992 * - muxing: set by libavformat
993 * will break ABI. Replace removed fields with dummy fields, and993 *
994 * add new fields to AVStreamInternal.
995 *****************************************************************
996 */994 */
997 995 int pts_wrap_bits;
998 int pts_wrap_bits; /**< number of bits in pts (used for wrapping control) */
999 996
1000 /**997 /**
1001 * An opaque field for libavformat internal usage.998 * An opaque field for libavformat internal usage.
libavformat/version.h+2−2
@@ -32,8 +32,8 @@ · 31 unmodified lines
32// Major bumping may affect Ticket5467, 5421, 5451(compatibility with Chromium)32// Major bumping may affect Ticket5467, 5421, 5451(compatibility with Chromium)
33// Also please add any ticket numbers that you believe might be affected here33// Also please add any ticket numbers that you believe might be affected here
34#define LIBAVFORMAT_VERSION_MAJOR 5934#define LIBAVFORMAT_VERSION_MAJOR 59
35#define LIBAVFORMAT_VERSION_MINOR 235#define LIBAVFORMAT_VERSION_MINOR 3
36#define LIBAVFORMAT_VERSION_MICRO 10236#define LIBAVFORMAT_VERSION_MICRO 100
37 37
38#define LIBAVFORMAT_VERSION_INT AV_VERSION_INT(LIBAVFORMAT_VERSION_MAJOR, \38#define LIBAVFORMAT_VERSION_INT AV_VERSION_INT(LIBAVFORMAT_VERSION_MAJOR, \
39 LIBAVFORMAT_VERSION_MINOR, \39 LIBAVFORMAT_VERSION_MINOR, \

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t