summaryrefslogtreecommitdiff
path: root/ffplay.c
diff options
context:
space:
mode:
authorMarton Balint <cus@passwd.hu>2013-06-15 18:40:44 +0200
committerMarton Balint <cus@passwd.hu>2013-06-17 01:18:07 +0200
commit96b33ddbd00121db51dd573ae80e83955918773d (patch)
tree3478b4c873718b029d64b641463761e90fbffc9a /ffplay.c
parent05f0d53170d9f6cce34ed2e12b5749f4a4db6cac (diff)
ffplay: remove remains of the old audio and video clock VideoState variables
The unified clock state holds this information now. Signed-off-by: Marton Balint <cus@passwd.hu>
Diffstat (limited to 'ffplay.c')
-rw-r--r--ffplay.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/ffplay.c b/ffplay.c
index ae991464b0..74915c9853 100644
--- a/ffplay.c
+++ b/ffplay.c
@@ -212,8 +212,6 @@ typedef struct VideoState {
#endif
struct AudioParams audio_tgt;
struct SwrContext *swr_ctx;
- double audio_current_pts;
- double audio_current_pts_drift;
int frame_drops_early;
int frame_drops_late;
AVFrame *frame;
@@ -251,8 +249,6 @@ typedef struct VideoState {
int video_stream;
AVStream *video_st;
PacketQueue videoq;
- double video_current_pts; // current displayed pts
- double video_current_pts_drift; // video_current_pts - time (av_gettime) at which we updated video_current_pts - used to have running video pts
int64_t video_current_pos; // current displayed file pos
double max_frame_duration; // maximum duration of a frame - above this, we consider the jump a timestamp discontinuity
VideoPicture pictq[VIDEO_PICTURE_QUEUE_SIZE];