File gnome-commander-taglib-2.0.patch of Package gnome-commander
diff --git a/src/tags/gnome-cmd-tags-taglib.cc b/src/tags/gnome-cmd-tags-taglib.cc
index 9e65836e..1abde3ba 100644
--- a/src/tags/gnome-cmd-tags-taglib.cc
+++ b/src/tags/gnome-cmd-tags-taglib.cc
@@ -150,8 +150,8 @@ bool getAudioProperties(GnomeCmdFileMetadata &metadata, const TagLib::AudioPrope
if (flacProperties)
{
metadata.add(TAG_AUDIO_CODEC,"FLAC");
- if (flacProperties->sampleWidth())
- cout << "Audio.FLAC.SampleWidth " << flacProperties->sampleWidth()<< endl;
+ if (flacProperties->bitsPerSample())
+ cout << "Audio.FLAC.SampleWidth " << flacProperties->bitsPerSample()<< endl;
return true;
}