mirror of
https://github.com/mpv-player/mpv
synced 2025-02-17 13:17:13 +00:00
Respect -noidx in lavf demuxer
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21584 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
12e48b5cd0
commit
b9e8186ac3
@ -199,6 +199,8 @@ static demuxer_t* demux_open_lavf(demuxer_t *demuxer){
|
||||
|
||||
if (correct_pts)
|
||||
avfc->flags |= AVFMT_FLAG_GENPTS;
|
||||
if (index_mode == 0)
|
||||
avfc->flags |= AVFMT_FLAG_IGNIDX;
|
||||
|
||||
ap.prealloced_context = 1;
|
||||
if(opt_probesize) {
|
||||
|
Loading…
Reference in New Issue
Block a user