summaryrefslogtreecommitdiff
path: root/src/lib/ffmpeg.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2013-11-23 12:22:34 +0000
committerCarl Hetherington <cth@carlh.net>2013-11-23 12:22:34 +0000
commita0c0e609f7fbff8513135428378cc16684bae937 (patch)
tree25e800debbb1ec6ab60fd0a4fc8e593c81addaea /src/lib/ffmpeg.cc
parent90b84151b9817b33381187f678cb2fdd062ed785 (diff)
Remove Content::path(), add Content::path_summary().
Diffstat (limited to 'src/lib/ffmpeg.cc')
-rw-r--r--src/lib/ffmpeg.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/ffmpeg.cc b/src/lib/ffmpeg.cc
index dbafba0f0..bc2f67a9d 100644
--- a/src/lib/ffmpeg.cc
+++ b/src/lib/ffmpeg.cc
@@ -79,8 +79,8 @@ FFmpeg::setup_general (bool long_probe)
av_dict_set (&options, "probesize", lexical_cast<string> (5 * 60 * 1e6).c_str(), 0);
}
- if (avformat_open_input (&_format_context, _ffmpeg_content->path().string().c_str(), 0, &options) < 0) {
- throw OpenFileError (_ffmpeg_content->path().string ());
+ if (avformat_open_input (&_format_context, _ffmpeg_content->path(0).string().c_str(), 0, &options) < 0) {
+ throw OpenFileError (_ffmpeg_content->path(0).string ());
}
if (avformat_find_stream_info (_format_context, 0) < 0) {