diff options
author | Alexey Yakovenko <wakeroid@gmail.com> | 2010-05-25 22:25:49 +0200 |
---|---|---|
committer | Alexey Yakovenko <wakeroid@gmail.com> | 2010-05-25 22:25:49 +0200 |
commit | ed7386e42133dc2251b361b443347cdd2aa6887e (patch) | |
tree | 0b7650f90325e7caf70b03228efeab7cbf029700 /plugins/vorbis | |
parent | fb09ba8d66997f8aefc92840090d4f41da60ba8e (diff) |
fixed ogg vorbis tag writing
Diffstat (limited to 'plugins/vorbis')
-rw-r--r-- | plugins/vorbis/vorbis.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/vorbis/vorbis.c b/plugins/vorbis/vorbis.c index a7b95b29..f419633a 100644 --- a/plugins/vorbis/vorbis.c +++ b/plugins/vorbis/vorbis.c @@ -403,7 +403,7 @@ cvorbis_insert (DB_playItem_t *after, const char *fname) { it->filetype = "OggVorbis"; it->tracknum = stream; deadbeef->pl_set_item_duration (it, duration); - if (nstreams > 0) { + if (nstreams > 1) { it->startsample = currentsample; it->endsample = currentsample + totalsamples; deadbeef->pl_set_item_flags (it, DDB_IS_SUBTRACK); |