@Override
    public int hashCode() {
        final int prime = 31;
        int result = super.hashCode();
        result = prime * result + Float.floatToIntBits(bitsPerPixelStored);
        result = prime * result + bitsPerSample;
        result = prime * result + ((codec == null) ? 0 : codec.hashCode());
        result = prime * result + Float.floatToIntBits(compressionRatio);
        result = prime * result + ((frame == null) ? 0 : frame.hashCode());
        result = prime * result + ((frameRate == null) ? 0 : frameRate.hashCode());
        result = prime * result + ((id == null) ? 0 : id.hashCode());
        result = prime * result + num;
        result = prime * result + ((quality == null) ? 0 : quality.hashCode());
        result = prime * result + sampleCount;
        result = prime * result + ((sampleRate == null) ? 0 : sampleRate.hashCode());
        result = prime * result + ((sampling == null) ? 0 : sampling.hashCode());
        result = prime * result + ((signalFormat == null) ? 0 : signalFormat.hashCode());
        result = prime * result + ((type == null) ? 0 : type.hashCode());
        return result;
    }