mirror of
https://github.com/mpv-player/mpv
synced 2025-04-01 00:07:33 +00:00
don't set the resolution for dvr-ms files: in the asf headers it seems to
be always set incorrectly; the decoder will deal with it much better. Patch by John Donaghy (johnfdonaghy gmail com) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20652 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
0384045e30
commit
a28d7004b4
@ -569,6 +569,11 @@ static demuxer_t* demux_open_asf(demuxer_t* demuxer)
|
||||
sh_video=demuxer->video->sh;sh_video->ds=demuxer->video;
|
||||
//sh_video->fps=1000.0f; sh_video->frametime=0.001f; // 1ms - now set when reading asf header
|
||||
//sh_video->i_bps=10*asf->packetsize; // FIXME!
|
||||
|
||||
if (asf->asf_is_dvr_ms) {
|
||||
sh_video->bih->biWidth = 0;
|
||||
sh_video->bih->biHeight = 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user