summaryrefslogtreecommitdiff
path: root/ffplay.c
diff options
context:
space:
mode:
authorClément Bœsch <ubitux@gmail.com>2013-01-03 00:15:16 +0100
committerClément Bœsch <ubitux@gmail.com>2013-01-03 00:21:47 +0100
commit491ca0e89ff9d3807f7514408ef912a608962163 (patch)
tree7c7b5fc264f83c7b1076c641d436a565c4f33c86 /ffplay.c
parent43adc62e7022f912d48e08f8b94692f71d30826e (diff)
Replace references to "que" with the appropriate word.
"que" sounds like a slang word to me. This commit renames a few variables, fix the comments and the logging messages (sometimes along with small other typo fixes).
Diffstat (limited to 'ffplay.c')
-rw-r--r--ffplay.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/ffplay.c b/ffplay.c
index 7d47bcdc2c..f300f7e567 100644
--- a/ffplay.c
+++ b/ffplay.c
@@ -157,7 +157,7 @@ typedef struct VideoState {
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;
@@ -1310,7 +1310,7 @@ retry:
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 */
@@ -1643,7 +1643,7 @@ static int get_video_frame(VideoState *is, AVFrame *frame, int64_t *pts, AVPacke
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;
}
@@ -2707,9 +2707,9 @@ static int read_thread(void *arg)
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 */
@@ -2901,7 +2901,7 @@ static void stream_cycle_channel(VideoState *is, int codec_type)
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;
}