diff options
author | waker <wakeroid@gmail.com> | 2011-05-20 15:13:04 +0200 |
---|---|---|
committer | waker <wakeroid@gmail.com> | 2011-05-20 15:13:04 +0200 |
commit | 6eceb965c38cefcb0101e7a2097a6f92743f0eb2 (patch) | |
tree | 6f3194e509bebcb5b8290bb2611ec3a2bbcedfb2 /plugins/ffmpeg | |
parent | a03b76d9fdd644d210439190a06002e31a9751e9 (diff) |
set initial item duration to -1
Diffstat (limited to 'plugins/ffmpeg')
-rw-r--r-- | plugins/ffmpeg/ffmpeg.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/plugins/ffmpeg/ffmpeg.c b/plugins/ffmpeg/ffmpeg.c index 742fc928..5955c785 100644 --- a/plugins/ffmpeg/ffmpeg.c +++ b/plugins/ffmpeg/ffmpeg.c @@ -526,7 +526,6 @@ ffmpeg_insert (ddb_playlist_t *plt, DB_playItem_t *after, const char *fname) { int totalsamples = fctx->duration * samplerate / AV_TIME_BASE; DB_playItem_t *it = deadbeef->pl_item_alloc_init (fname, plugin.plugin.id); - // FIXME: get proper codec deadbeef->pl_replace_meta (it, ":FILETYPE", codec->name); if (!deadbeef->is_local_file (deadbeef->pl_find_meta (it, ":URI"))) { |