projects
/
dcpomatic.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Don't throw an exception if we can't find bits_per_pixel, as it's not the end of...
[dcpomatic.git]
/
src
/
lib
/
ffmpeg_examiner.h
diff --git
a/src/lib/ffmpeg_examiner.h
b/src/lib/ffmpeg_examiner.h
index a511a2fc1fd20360eab70dbbffaeed4f7efa19bc..5cd70d979cd6722f22fdebc3a22bef7f28a64c12 100644
(file)
--- a/
src/lib/ffmpeg_examiner.h
+++ b/
src/lib/ffmpeg_examiner.h
@@
-69,7
+69,7
@@
public:
return video_codec_context()->colorspace;
}
-
int
bits_per_pixel () const;
+
boost::optional<int>
bits_per_pixel () const;
private:
void video_packet (AVCodecContext *);