[FFmpeg-devel] [PATCH 3/3] ffplay: remove remains of the old audio and video clock VideoState variables
Marton Balint
cus at passwd.hu
Sat Jun 15 18:53:01 CEST 2013
The unified clock state holds this information now.
Signed-off-by: Marton Balint <cus at passwd.hu>
---
ffplay.c | 4 ----
1 file changed, 4 deletions(-)
diff --git a/ffplay.c b/ffplay.c
index ae99146..74915c9 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];
--
1.8.1.4
More information about the ffmpeg-devel
mailing list