diff options
author | arpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2001-08-08 13:34:08 +0000 |
---|---|---|
committer | arpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2001-08-08 13:34:08 +0000 |
commit | ec88add691fa1f7f202ca5e547a26f73b2940bfd (patch) | |
tree | 749a404896955dfca9ecf9e502d947b3d3088b58 /mplayer.c | |
parent | 3a2dbeb6fb6087b9431b1aa29daafe6187c5e812 (diff) | |
download | mpv-ec88add691fa1f7f202ca5e547a26f73b2940bfd.tar.bz2 mpv-ec88add691fa1f7f202ca5e547a26f73b2940bfd.tar.xz |
ffmpeg12 fix - now passing sequence header
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1463 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'mplayer.c')
-rw-r--r-- | mplayer.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -1252,7 +1252,7 @@ if(1) if(file_format==DEMUXER_TYPE_MPEG_ES || file_format==DEMUXER_TYPE_MPEG_PS){ int in_frame=0; float newfps; - videobuf_len=0; + //videobuf_len=0; while(videobuf_len<VIDEOBUFFER_SIZE-MAX_VIDEO_PACKET_SIZE){ int i=sync_video_packet(d_video); void* buffer=&videobuffer[videobuf_len+4]; @@ -1307,6 +1307,7 @@ if(1) // fix mpeg2 frametime: frame_time=(100+picture->repeat_count)*0.01f; picture->repeat_count=0; + videobuf_len=0; } else { // frame-based file formats: (AVI,ASF,MOV) |