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
1414
1515 API changes, most recent first:
1616
17+2021-06-09 - xxxxxxxxxx - lavf 59.3.100 - avformat.h
18+ Add pts_wrap_bits to AVStream
19+
1720 2021-xx-xx - xxxxxxxxxx - lavc 59.1.100 - avcodec.h codec.h
1821 Move av_get_profile_name() from avcodec.h to codec.h.
1922
libavformat/avformat.h+7−10
@@ -985,17 +985,14 @@ typedef struct AVStream { · 984 unmodified lines
985985 */
986986 AVCodecParameters *codecpar;
987987
988− /*****************************************************************
989− * All fields below this line are not part of the public API. They
990− * may not be used outside of libavformat and can be changed and
991− * removed at will.
992− * Internal note: be aware that physically removing these fields
993− * will break ABI. Replace removed fields with dummy fields, and
994− * add new fields to AVStreamInternal.
995− *****************************************************************
988+ /**
989+ * Number of bits in timestamps. Used for wrapping control.
990+ *
991+ * - demuxing: set by libavformat
992+ * - muxing: set by libavformat
993+ *
996994 */
997−
998− int pts_wrap_bits; /**< number of bits in pts (used for wrapping control) */
995+ int pts_wrap_bits;
999996
1000997 /**
1001998 * An opaque field for libavformat internal usage.
libavformat/version.h+2−2
@@ -32,8 +32,8 @@ · 31 unmodified lines
3232 // Major bumping may affect Ticket5467, 5421, 5451(compatibility with Chromium)
3333 // Also please add any ticket numbers that you believe might be affected here
3434 #define LIBAVFORMAT_VERSION_MAJOR 59
35−#define LIBAVFORMAT_VERSION_MINOR 2
36−#define LIBAVFORMAT_VERSION_MICRO 102
35+#define LIBAVFORMAT_VERSION_MINOR 3
36+#define LIBAVFORMAT_VERSION_MICRO 100
3737
3838 #define LIBAVFORMAT_VERSION_INT AV_VERSION_INT(LIBAVFORMAT_VERSION_MAJOR, \
3939 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