summaryrefslogtreecommitdiffstats
path: root/timeline/tl_matroska.c
diff options
context:
space:
mode:
authorRudolf Polzer <divverent@xonotic.org>2012-09-27 11:08:59 +0200
committerRudolf Polzer <divverent@xonotic.org>2012-09-28 13:43:59 +0200
commitc22482e08d4ca0514685e73b68479f0427b1f28f (patch)
tree9f3c68dfe884fc2df89c9a3160806814b9dd6da2 /timeline/tl_matroska.c
parent65ea69f56476aabb0755ae80b7dc565df23ab426 (diff)
downloadmpv-c22482e08d4ca0514685e73b68479f0427b1f28f.tar.bz2
mpv-c22482e08d4ca0514685e73b68479f0427b1f28f.tar.xz
TOOLS: fix first frame pts for dlopen/telecine.so
When the first frame of a telecine pattern did not generate an output frame (because it is a 0 or a 1), this could lead to the first two output frames getting equal pts values. When the first frame of a telecine pattern generates exactly one output frame (i.e. when the telecine pattern starts with 2 or 3), then the output was correct before this comment, and still is unchanged. When the first frame of a telecine pattern generates more than one output frame (i.e. when it starts with 4 to 9), then output pts are still broken. This is not really solvable without knowing the frame duration, or delaying output by one frame.
Diffstat (limited to 'timeline/tl_matroska.c')
0 files changed, 0 insertions, 0 deletions