diff options
| author | Carl Hetherington <cth@carlh.net> | 2018-01-12 00:27:16 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2018-01-12 00:27:16 +0000 |
| commit | 81a93ab80d04a0d01783266139cac982eb342421 (patch) | |
| tree | a5a2c7976a20137b1a2b1ec3860449fced73725b /src/lib/ffmpeg_examiner.h | |
| parent | a990b287abee2fcfb7fc12d813265afa9d945646 (diff) | |
Don't throw an exception if we can't find bits_per_pixel, as it's not the end of the world.
Diffstat (limited to 'src/lib/ffmpeg_examiner.h')
| -rw-r--r-- | src/lib/ffmpeg_examiner.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/ffmpeg_examiner.h b/src/lib/ffmpeg_examiner.h index a511a2fc1..5cd70d979 100644 --- 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 *); |
