int force_refresh;
int paused;
int last_paused;
- int que_attachments_req;
+ int queue_attachments_req;
int seek_req;
int seek_flags;
int64_t seek_pos;
{
int i, i_start, x, y1, y, ys, delay, n, nb_display_channels;
int ch, channels, h, h2, bgcolor, fgcolor;
- int16_t time_diff;
+ int64_t time_diff;
int rdft_bits, nb_freq;
for (rdft_bits = 1; (1 << rdft_bits) < 2 * s->height; rdft_bits++)
is->frame_last_dropped_pts = AV_NOPTS_VALUE;
}
SDL_UnlockMutex(is->pictq_mutex);
- // nothing to do, no picture to display in the que
+ // nothing to do, no picture to display in the queue
} else {
double last_duration, duration, delay;
/* dequeue the picture */
avcodec_flush_buffers(is->video_st->codec);
SDL_LockMutex(is->pictq_mutex);
- // Make sure there are no long delay timers (ideally we should just flush the que but thats harder)
+ // Make sure there are no long delay timers (ideally we should just flush the queue but that's harder)
for (i = 0; i < VIDEO_PICTURE_QUEUE_SIZE; i++) {
is->pictq[i].skip = 1;
}
is->seek_req = 0;
eof = 0;
}
- if (is->que_attachments_req) {
+ if (is->queue_attachments_req) {
avformat_queue_attached_pictures(ic);
- is->que_attachments_req = 0;
+ is->queue_attachments_req = 0;
}
/* if the queue are full, no need to read more */
stream_component_close(is, old_index);
stream_component_open(is, stream_index);
if (codec_type == AVMEDIA_TYPE_VIDEO)
- is->que_attachments_req = 1;
+ is->queue_attachments_req = 1;
}