Revision ca74c0a1 libavformat/dvenc.c
libavformat/dvenc.c | ||
---|---|---|
255 | 255 |
av_log(st->codec, AV_LOG_ERROR, "Can't process DV frame #%d. Insufficient video data or severe sync problem.\n", c->frames); |
256 | 256 |
av_fifo_generic_write(&c->audio_data[i], data, data_size, NULL); |
257 | 257 |
|
258 |
/* Lets see if we've got enough audio for one DV frame */
|
|
258 |
/* Let us see if we've got enough audio for one DV frame. */
|
|
259 | 259 |
c->has_audio |= ((reqasize <= av_fifo_size(&c->audio_data[i])) << i); |
260 | 260 |
|
261 | 261 |
break; |
... | ... | |
263 | 263 |
break; |
264 | 264 |
} |
265 | 265 |
|
266 |
/* Lets see if we have enough data to construct one DV frame */
|
|
266 |
/* Let us see if we have enough data to construct one DV frame. */
|
|
267 | 267 |
if (c->has_video == 1 && c->has_audio + 1 == 1<<c->n_ast) { |
268 | 268 |
dv_inject_metadata(c, *frame); |
269 | 269 |
c->has_audio = 0; |
Also available in: Unified diff