avformat/avformat: remove AVFormatContext.ts_id
It's been replaced by a demuxer exported private option. Signed-off-by: James Almer <jamrial@gmail.com>
This commit is contained in:
parent
823d60d55e
commit
53cdf94653
libavformat
@ -1591,12 +1591,6 @@ typedef struct AVFormatContext {
|
|||||||
#define AVFMT_AVOID_NEG_TS_MAKE_NON_NEGATIVE 1 ///< Shift timestamps so they are non negative
|
#define AVFMT_AVOID_NEG_TS_MAKE_NON_NEGATIVE 1 ///< Shift timestamps so they are non negative
|
||||||
#define AVFMT_AVOID_NEG_TS_MAKE_ZERO 2 ///< Shift timestamps so that they start at 0
|
#define AVFMT_AVOID_NEG_TS_MAKE_ZERO 2 ///< Shift timestamps so that they start at 0
|
||||||
|
|
||||||
/**
|
|
||||||
* Transport stream id.
|
|
||||||
* This will be moved into demuxer private options. Thus no API/ABI compatibility
|
|
||||||
*/
|
|
||||||
int ts_id;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Audio preload in microseconds.
|
* Audio preload in microseconds.
|
||||||
* Note, not all formats support this and unpredictable things may happen if it is used when not supported.
|
* Note, not all formats support this and unpredictable things may happen if it is used when not supported.
|
||||||
|
@ -2561,7 +2561,7 @@ static void pat_cb(MpegTSFilter *filter, const uint8_t *section, int section_len
|
|||||||
|
|
||||||
if (skip_identical(h, tssf))
|
if (skip_identical(h, tssf))
|
||||||
return;
|
return;
|
||||||
ts->stream->ts_id = ts->id = h->id;
|
ts->id = h->id;
|
||||||
|
|
||||||
for (;;) {
|
for (;;) {
|
||||||
sid = get16(&p, p_end);
|
sid = get16(&p, p_end);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user