diff options
author | reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2005-05-26 11:23:15 +0000 |
---|---|---|
committer | reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2005-05-26 11:23:15 +0000 |
commit | 3cfef5555782d3e7ab8042570f47787405a05cc0 (patch) | |
tree | a7e77d1f719cd0893e45716c448cd7448077d3e5 /libmpdemux | |
parent | a6158451ec027031ddc39cdc6ebfa92fb5515689 (diff) | |
download | mpv-3cfef5555782d3e7ab8042570f47787405a05cc0.tar.bz2 mpv-3cfef5555782d3e7ab8042570f47787405a05cc0.tar.xz |
support DVR format
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15573 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libmpdemux')
-rw-r--r-- | libmpdemux/asfheader.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libmpdemux/asfheader.c b/libmpdemux/asfheader.c index 488ef052bd..e180dc006d 100644 --- a/libmpdemux/asfheader.c +++ b/libmpdemux/asfheader.c @@ -238,6 +238,9 @@ int read_asf_header(demuxer_t *demuxer){ sh_video->bih=calloc((len<sizeof(BITMAPINFOHEADER))?sizeof(BITMAPINFOHEADER):len,1); memcpy(sh_video->bih,&buffer[4+4+1+2],len); le2me_BITMAPINFOHEADER(sh_video->bih); + if (sh_video->bih->biCompression == mmioFOURCC('D', 'V', 'R', ' ')) + mp_msg(MSGT_DEMUXER, MSGL_WARN, "DVR will probably only work with " + "libavformat, try -demuxer 35 if you have problems\n"); //sh_video->fps=(float)sh_video->video.dwRate/(float)sh_video->video.dwScale; //sh_video->frametime=(float)sh_video->video.dwScale/(float)sh_video->video.dwRate; if(verbose>=1) print_video_header(sh_video->bih); |