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:
nicodvb 2006-11-03 22:53:24 +00:00
parent 0384045e30
commit a28d7004b4
1 changed files with 5 additions and 0 deletions

View File

@ -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;
}
}
}