[FFmpeg-cvslog] ffplay: remove remains of the old audio and video clock VideoState variables

Marton Balint git at videolan.org
Mon Jun 17 02:51:47 CEST 2013


ffmpeg | branch: master | Marton Balint <cus at passwd.hu> | Sat Jun 15 18:40:44 2013 +0200| [96b33ddbd00121db51dd573ae80e83955918773d] | committer: 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: Marton Balint <cus at passwd.hu>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=96b33ddbd00121db51dd573ae80e83955918773d
---

 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];



More information about the ffmpeg-cvslog mailing list