@Override
    public void writeToParcel(Parcel dest, int flags) {
        dest.writeInt(this.mMode == null ? -1 : this.mMode.ordinal());
        dest.writeInt(this.mViewMode == null ? -1 : this.mViewMode.ordinal());
        dest.writeParcelable(this.mCropOption, flags);
        dest.writeInt(this.mMediaPlaceHolderRes);
        dest.writeInt(this.mMediaCheckedRes);
        dest.writeInt(this.mMediaUnCheckedRes);
        dest.writeInt(this.mAlbumPlaceHolderRes);
        dest.writeInt(this.mVideoDurationRes);
        dest.writeInt(this.mCameraRes);
        dest.writeByte(this.mNeedCamera ? (byte) 1 : (byte) 0);
        dest.writeByte(this.mNeedGif ? (byte) 1 : (byte) 0);
        dest.writeByte(this.mNeedPaging ? (byte) 1 : (byte) 0);
        dest.writeInt(this.mMaxCount);
    }
set the video duration resource in video mode, default 0
boxing/src/main/java/com/bilibili/boxing/model/config/BoxingConfig.java