|
|
|
@ -100,8 +100,8 @@ typedef struct PacketQueue { |
|
|
|
|
#define SUBPICTURE_QUEUE_SIZE 4 |
|
|
|
|
|
|
|
|
|
typedef struct VideoPicture { |
|
|
|
|
double pts; ///< presentation time stamp for this picture
|
|
|
|
|
int64_t pos; ///< byte position in file
|
|
|
|
|
double pts; // presentation timestamp for this picture
|
|
|
|
|
int64_t pos; // byte position in file
|
|
|
|
|
int skip; |
|
|
|
|
SDL_Overlay *bmp; |
|
|
|
|
int width, height; /* source height & width */ |
|
|
|
@ -210,13 +210,13 @@ typedef struct VideoState { |
|
|
|
|
double frame_last_returned_time; |
|
|
|
|
double frame_last_filter_delay; |
|
|
|
|
int64_t frame_last_dropped_pos; |
|
|
|
|
double video_clock; ///< pts of last decoded frame / predicted pts of next decoded frame
|
|
|
|
|
double video_clock; // pts of last decoded frame / predicted pts of next decoded frame
|
|
|
|
|
int video_stream; |
|
|
|
|
AVStream *video_st; |
|
|
|
|
PacketQueue videoq; |
|
|
|
|
double video_current_pts; ///< current displayed pts (different from video_clock if frame fifos are used)
|
|
|
|
|
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 video_current_pts; // current displayed pts (different from video_clock if frame fifos are used)
|
|
|
|
|
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
|
|
|
|
|
VideoPicture pictq[VIDEO_PICTURE_QUEUE_SIZE]; |
|
|
|
|
int pictq_size, pictq_rindex, pictq_windex; |
|
|
|
|
SDL_mutex *pictq_mutex; |
|
|
|
@ -230,8 +230,8 @@ typedef struct VideoState { |
|
|
|
|
int step; |
|
|
|
|
|
|
|
|
|
#if CONFIG_AVFILTER |
|
|
|
|
AVFilterContext *in_video_filter; ///< the first filter in the video chain
|
|
|
|
|
AVFilterContext *out_video_filter; ///< the last filter in the video chain
|
|
|
|
|
AVFilterContext *in_video_filter; // the first filter in the video chain
|
|
|
|
|
AVFilterContext *out_video_filter; // the last filter in the video chain
|
|
|
|
|
int use_dr1; |
|
|
|
|
FrameBuffer *buffer_pool; |
|
|
|
|
#endif |
|
|
|
|