diff options
author | Hendrik Leppkes <h.leppkes@gmail.com> | 2016-06-15 01:50:12 +0300 |
---|---|---|
committer | Hendrik Leppkes <h.leppkes@gmail.com> | 2016-06-15 01:50:12 +0300 |
commit | 01cd0b3e99575c9ab3ffa191c05acc905e6f1306 (patch) | |
tree | d02a3ec7263e76e4e67fe3d2dfd99fe5e954b8de /demuxer/Demuxers/LAVFDemuxer.cpp | |
parent | ce07f83796483fb4cc7c5aa2a47f7f199673f89a (diff) |
Disable embedded side-data for MPEG-TS
MPEG-TS adds side-data to every packet now, which we really don't want to send.
The final goal is to get rid of embedded side-data entirely eventually, which
should ideally be done soon now.
Diffstat (limited to 'demuxer/Demuxers/LAVFDemuxer.cpp')
-rw-r--r-- | demuxer/Demuxers/LAVFDemuxer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/demuxer/Demuxers/LAVFDemuxer.cpp b/demuxer/Demuxers/LAVFDemuxer.cpp index 2afd77b9..c50b63fa 100644 --- a/demuxer/Demuxers/LAVFDemuxer.cpp +++ b/demuxer/Demuxers/LAVFDemuxer.cpp @@ -597,7 +597,7 @@ STDMETHODIMP CLAVFDemuxer::InitAVFormat(LPCOLESTR pszFileName, BOOL bForce) av_opt_set_int(m_avFormat, "correct_ts_overflow", !m_pBluRay, 0); // TODO: AVFMT_FLAG_KEEP_SIDE_DATA should be ON for all formats - if (m_bMatroska) + if (m_bMatroska || m_bMPEGTS) m_avFormat->flags |= AVFMT_FLAG_KEEP_SIDE_DATA; else m_avFormat->flags &= ~AVFMT_FLAG_KEEP_SIDE_DATA; |