History

avformat/avformat: remove AVFormatContext.ts_id

It's been replaced by a demuxer exported private option.

James Almer committed 2 years ago

Commit 53cdf941 parent 823d60d2 files · +1 −7Browse files

Unified · Split

2 files
  1. libavformat/avformat.h +0 −6
  2. libavformat/mpegts.c +1 −1
libavformat/avformat.h+0−6
@@ -1591,12 +1591,6 @@ typedef struct AVFormatContext { · 1590 unmodified lines
15911591 #define AVFMT_AVOID_NEG_TS_MAKE_NON_NEGATIVE 1 ///< Shift timestamps so they are non negative
15921592 #define AVFMT_AVOID_NEG_TS_MAKE_ZERO 2 ///< Shift timestamps so that they start at 0
15931593
1594− /**
1595− * Transport stream id.
1596− * This will be moved into demuxer private options. Thus no API/ABI compatibility
1597− */
1598− int ts_id;
1599−
16001594 /**
16011595 * Audio preload in microseconds.
16021596 * Note, not all formats support this and unpredictable things may happen if it is used when not supported.
libavformat/mpegts.c+1−1
@@ -2561,7 +2561,7 @@ static void pat_cb(MpegTSFilter *filter, const uint8_t *section, int section_len · 2560 unmodified lines
25612561
25622562 if (skip_identical(h, tssf))
25632563 return;
2564− ts->stream->ts_id = ts->id = h->id;
2564+ ts->id = h->id;
25652565
25662566 for (;;) {
25672567 sid = get16(&p, p_end);

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