Commit 96b33ddb authored by Marton Balint's avatar Marton Balint

ffplay: remove remains of the old audio and video clock VideoState variables

The unified clock state holds this information now.
Signed-off-by: 's avatarMarton Balint <cus@passwd.hu>
parent 05f0d531
...@@ -212,8 +212,6 @@ typedef struct VideoState { ...@@ -212,8 +212,6 @@ typedef struct VideoState {
#endif #endif
struct AudioParams audio_tgt; struct AudioParams audio_tgt;
struct SwrContext *swr_ctx; struct SwrContext *swr_ctx;
double audio_current_pts;
double audio_current_pts_drift;
int frame_drops_early; int frame_drops_early;
int frame_drops_late; int frame_drops_late;
AVFrame *frame; AVFrame *frame;
...@@ -251,8 +249,6 @@ typedef struct VideoState { ...@@ -251,8 +249,6 @@ typedef struct VideoState {
int video_stream; int video_stream;
AVStream *video_st; AVStream *video_st;
PacketQueue videoq; 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 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 double max_frame_duration; // maximum duration of a frame - above this, we consider the jump a timestamp discontinuity
VideoPicture pictq[VIDEO_PICTURE_QUEUE_SIZE]; VideoPicture pictq[VIDEO_PICTURE_QUEUE_SIZE];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment