Opened 12 years ago

Closed 23 months ago

Last modified 23 months ago

#2237 closed defect (fixed)

ffplay: do not increase get_master_clock(is) when audio/video decoding is blocked (can't process)

Reported by: ami_stuff Owned by:
Priority: minor Component: ffplay
Version: git-master Keywords:
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

when I seek (for example) in this file:

http://samples.mplayerhq.hu/game-formats/interplay-mve/baldursgate-camp.mve

then audio/video decoding is blocked, but get_master_clock(is) still increases (time counter).
I think it should be blocked (it was like that in the past /at least with git-a52f598 from 2011/)

C:\>ffplay baldursgate-camp.mve
ffplay version N-49268-ge9d443c Copyright (c) 2003-2013 the FFmpeg developers
  built on Jan 24 2013 23:27:01 with gcc 4.7.2 (GCC)
  configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-av
isynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enab
le-libass --enable-libbluray --enable-libcaca --enable-libfreetype --enable-libg
sm --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --e
nable-libopenjpeg --enable-libopus --enable-librtmp --enable-libschroedinger --e
nable-libspeex --enable-libtheora --enable-libtwolame --enable-libvo-aacenc --en
able-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libx264 --enable
-libxavs --enable-libxvid --enable-zlib
  libavutil      52. 15.103 / 52. 15.103
  libavcodec     54. 90.100 / 54. 90.100
  libavformat    54. 61.104 / 54. 61.104
  libavdevice    54.  3.102 / 54.  3.102
  libavfilter     3. 33.100 /  3. 33.100
  libswscale      2.  2.100 /  2.  2.100
  libswresample   0. 17.102 /  0. 17.102
  libpostproc    52.  2.100 / 52.  2.100
[ipmovie @ 026588e0] Estimating duration from bitrate, this may be inaccurate
Input #0, ipmovie, from 'baldursgate-camp.mve':
  Duration: 00:01:14.91, start: 0.000000, bitrate: 352 kb/s
    Stream #0:0: Video: interplayvideo, pal8, 640x272, 14.99 tbr, 1000k tbn, 100
0k tbc
    Stream #0:1: Audio: interplay_dpcm, 22050 Hz, stereo, s16, 352 kb/s
   0.02 A-V: -0.422 fd=   0 aq= Frame changed from size:0x0 to size:640x272
Seek to 45% ( 0:00:33) of total duration ( 0:01:14)       B f=0/0
   6.50 A-V: -0.019 fd=   2 aq=    0KB vq=    0KB sq=    0B f=0/0

Change History (2)

comment:1 by Carl Eugen Hoyos, 12 years ago

Component: undeterminedFFplay
Priority: normalminor
Status: newopen
Version: unspecifiedgit-master

comment:2 by Balling, 23 months ago

Resolution: fixed
Status: openclosed

get_master_clock(is) still increases (time counter).

It just says error while seeking now.

Version 0, edited 23 months ago by Balling (next)
Note: See TracTickets for help on using tickets.