projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
12f80df
)
Remove out-of-date comment.
author
Carl Hetherington
<cth@carlh.net>
Mon, 13 Jul 2015 09:36:33 +0000
(10:36 +0100)
committer
Carl Hetherington
<cth@carlh.net>
Mon, 13 Jul 2015 09:36:33 +0000
(10:36 +0100)
src/lib/ffmpeg.cc
patch
|
blob
|
history
diff --git
a/src/lib/ffmpeg.cc
b/src/lib/ffmpeg.cc
index 63fe9c9d8a3cc1aa5a86364593f84835db08ffee..4eee089928480577a12948b52c23497d383bcdba 100644
(file)
--- a/
src/lib/ffmpeg.cc
+++ b/
src/lib/ffmpeg.cc
@@
-138,9
+138,6
@@
FFmpeg::setup_general ()
for (uint32_t i = 0; i < _format_context->nb_streams; ++i) {
AVStream* s = _format_context->streams[i];
- /* Files from iTunes sometimes have two video streams, one with the avg_frame_rate.num and .den set
- to zero. Ignore these streams.
- */
if (s->codec->codec_type == AVMEDIA_TYPE_VIDEO) {
if (s->avg_frame_rate.num > 0 && s->avg_frame_rate.den > 0) {
/* This is definitely our video stream */