Mercurial > mplayer.hg
comparison libmpdemux/video.c @ 5572:8cd761968f35
BSD-BT848 TV update patch by Charles Henrich <henrich@sigbus.com>
- tvi interface changes, grab_audio/video now returns timestamp!
- tv demuxer gets 'ds' hint too
- some verbose skip/dup counters to mencoder
- tvi_bsdbt848.c updates
- aviwrite/mencoder size types int->off_t
author | arpi |
---|---|
date | Fri, 12 Apr 2002 10:40:38 +0000 |
parents | 1a87310b5ca9 |
children | b8a8ab95c73d |
comparison
equal
deleted
inserted
replaced
5571:124bfc43c044 | 5572:8cd761968f35 |
---|---|
289 mp_msg(MSGT_CPLAYER,MSGL_STATUS,"\rASF framerate: %d fps \n",(int)(1.0f/d)); | 289 mp_msg(MSGT_CPLAYER,MSGL_STATUS,"\rASF framerate: %d fps \n",(int)(1.0f/d)); |
290 sh_video->frametime=d; // 1ms | 290 sh_video->frametime=d; // 1ms |
291 sh_video->fps=1.0f/d; | 291 sh_video->fps=1.0f/d; |
292 } | 292 } |
293 } else | 293 } else |
294 if(demuxer->file_format==DEMUXER_TYPE_TV && !force_fps){ | |
295 // TV has variable video frame rate, fixed audio... | |
296 frame_time=d_video->pts-pts1; | |
297 } else | |
294 if(demuxer->file_format==DEMUXER_TYPE_MOV && !force_fps){ | 298 if(demuxer->file_format==DEMUXER_TYPE_MOV && !force_fps){ |
295 // .MOV files has no fixed FPS - just frame durations! | 299 // .MOV files has no fixed FPS - just frame durations! |
296 frame_time=d_video->pts-pts1; | 300 frame_time=d_video->pts-pts1; |
297 } else | 301 } else |
298 if(demuxer->file_format==DEMUXER_TYPE_FILM && !force_fps){ | 302 if(demuxer->file_format==DEMUXER_TYPE_FILM && !force_fps){ |