diff options
| author | Carl Hetherington <cth@carlh.net> | 2013-07-24 10:32:52 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2013-07-24 10:32:52 +0100 |
| commit | 49a51ff9778f3b72ee962d3e8bd9cf71944f3c2b (patch) | |
| tree | 2b916b15eabd8132bbc80b00e4a4f09edfd9eb92 /src/lib/ffmpeg.cc | |
| parent | 084d5155d410eef68f87635876e136b224db91dc (diff) | |
Rename Content::_file to path and support md5sums of directories.
Diffstat (limited to 'src/lib/ffmpeg.cc')
| -rw-r--r-- | src/lib/ffmpeg.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/ffmpeg.cc b/src/lib/ffmpeg.cc index 77bf75018..c97b79a71 100644 --- a/src/lib/ffmpeg.cc +++ b/src/lib/ffmpeg.cc @@ -68,8 +68,8 @@ FFmpeg::setup_general () { av_register_all (); - if (avformat_open_input (&_format_context, _ffmpeg_content->file().string().c_str(), 0, 0) < 0) { - throw OpenFileError (_ffmpeg_content->file().string ()); + if (avformat_open_input (&_format_context, _ffmpeg_content->path().string().c_str(), 0, 0) < 0) { + throw OpenFileError (_ffmpeg_content->path().string ()); } if (avformat_find_stream_info (_format_context, 0) < 0) { |
