It's been replaced by a demuxer exported private option.
Unified · Split
| @@ -1591,12 +1591,6 @@ typedef struct AVFormatContext { · 1590 unmodified lines | ||
| 1591 | 1591 | #define AVFMT_AVOID_NEG_TS_MAKE_NON_NEGATIVE 1 ///< Shift timestamps so they are non negative |
| 1592 | 1592 | #define AVFMT_AVOID_NEG_TS_MAKE_ZERO 2 ///< Shift timestamps so that they start at 0 |
| 1593 | 1593 | |
| 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 | − | |
| 1600 | 1594 | /** |
| 1601 | 1595 | * Audio preload in microseconds. |
| 1602 | 1596 | * 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 · 2560 unmodified lines | ||
| 2561 | 2561 | |
| 2562 | 2562 | if (skip_identical(h, tssf)) |
| 2563 | 2563 | return; |
| 2564 | − ts->stream->ts_id = ts->id = h->id; | |
| 2564 | + ts->id = h->id; | |
| 2565 | 2565 | |
| 2566 | 2566 | for (;;) { |
| 2567 | 2567 | sid = get16(&p, p_end); |