Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Sharybin <sergey.vfx@gmail.com>2011-12-15 16:18:09 +0400
committerSergey Sharybin <sergey.vfx@gmail.com>2011-12-15 16:18:09 +0400
commit3f81d010e3382bd3e12bf0a3edb3bd14c86e4b42 (patch)
tree3bd6b2972808bcf3888ddecf0494afe217abb822 /source/blender/imbuf/IMB_imbuf.h
parent9996188791f1e18351ad2c115c4bb98aa34f54be (diff)
Free run no gaps time code implementation
This commit adds new timecode type which counts frames in gapless mode (counting actually decoded frames instead of using pts to find frame number) which might resolve issues with files which have got broken or incorrect base time value stored in the header. This timecode allows to deal with movies from #29388: Abnormal frame length on MP4 files
Diffstat (limited to 'source/blender/imbuf/IMB_imbuf.h')
-rw-r--r--source/blender/imbuf/IMB_imbuf.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/imbuf/IMB_imbuf.h b/source/blender/imbuf/IMB_imbuf.h
index 3586e8f1b5e..39282335f46 100644
--- a/source/blender/imbuf/IMB_imbuf.h
+++ b/source/blender/imbuf/IMB_imbuf.h
@@ -198,7 +198,8 @@ typedef enum IMB_Timecode_Type {
record date and time written by recording
device (*every* consumer camcorder can do
that :) )*/
- IMB_TC_MAX_SLOT = 3
+ IMB_TC_RECORD_RUN_NO_GAPS = 8,
+ IMB_TC_MAX_SLOT = 8
} IMB_Timecode_Type;
typedef enum IMB_Proxy_Size {