Changeset 1025 for trunk/src/get_file_info.m
- Timestamp:
- Dec 24, 2017, 10:12:55 AM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/get_file_info.m
r1022 r1025 152 152 nbfield=numel(fieldnames(FileInfo)); 153 153 FileInfo=orderfields(FileInfo,[nbfield nbfield-3 nbfield-1 nbfield-2 (1:nbfield-4)]); %reorder the fields of fileInfo for clarity 154 if ~isfield(FileInfo,'NumberOfFrames') 155 FileInfo.NumberOfFrames=floor(FileInfo.Duration*FileInfo.FrameRate); 156 end 154 157 end 155 158 end
Note: See TracChangeset
for help on using the changeset viewer.