diff options
author | waker <wakeroid@gmail.com> | 2011-01-31 19:29:57 +0100 |
---|---|---|
committer | waker <wakeroid@gmail.com> | 2011-01-31 19:29:57 +0100 |
commit | 80e8e0f4a5a214de8884be245049b5fbc53cf4aa (patch) | |
tree | 1c108752208456d9d2da0410926f73779b7a8042 /plugins/ffmpeg | |
parent | c3d28f081ec9263980e863316a3eeae177a15be4 (diff) |
added container support to vfs plugin api
Diffstat (limited to 'plugins/ffmpeg')
-rw-r--r-- | plugins/ffmpeg/ffmpeg.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/ffmpeg/ffmpeg.c b/plugins/ffmpeg/ffmpeg.c index 888a4a84..cda37555 100644 --- a/plugins/ffmpeg/ffmpeg.c +++ b/plugins/ffmpeg/ffmpeg.c @@ -577,7 +577,7 @@ ffmpeg_vfs_open(URLContext *h, const char *filename, int flags) if (f == NULL) return -ENOENT; - if (f->vfs->streaming) { + if (f->vfs->is_streaming ()) { deadbeef->fset_track (f, current_track); if (current_info) { current_info->file = f; @@ -609,9 +609,9 @@ ffmpeg_vfs_seek(URLContext *h, int64_t pos, int whence) DB_FILE *f = h->priv_data; if (whence == AVSEEK_SIZE) { - return f->vfs->streaming ? -1 : deadbeef->fgetlength (h->priv_data); + return f->vfs->is_streaming () ? -1 : deadbeef->fgetlength (h->priv_data); } - else if (f->vfs->streaming) { + else if (f->vfs->is_streaming ()) { return -1; } else { |