diff options
author | 2001-06-03 23:37:20 +0000 | |
---|---|---|
committer | 2001-06-03 23:37:20 +0000 | |
commit | 1a92942b614da4c5dbe5a7ae19cecc55276f79a4 (patch) | |
tree | bfc3786a30a413910110ed8f5c07e650c4357a2b /mplayer.c | |
parent | 99e963fece591fdaeda9083625d6669c27eb8eb3 (diff) |
keyframe flag added
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@980 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'mplayer.c')
-rw-r--r-- | mplayer.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -1611,6 +1611,8 @@ switch(sh_video->codec->driver){ if(in_size<0){ eof=1;break;} if(in_size>max_framesize) max_framesize=in_size; + if(d_video->flags) if(verbose) printf("***keyframe***\n"); + if(drop_frame<2) DS_VideoDecoder_DecodeFrame(start, in_size, 0, !drop_frame); current_module="draw_frame"; @@ -1641,6 +1643,8 @@ switch(sh_video->codec->driver){ if(in_size<0){ eof=1;break;} if(in_size>max_framesize) max_framesize=in_size; + if(d_video->flags) if(verbose) printf("***keyframe***\n"); + if(in_size){ sh_video->bih->biSizeImage = in_size; |