summaryrefslogtreecommitdiffstats
path: root/video/out/opengl/egl_helpers.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2018-04-26 20:30:27 +0200
committerJan Ekström <jeebjp@gmail.com>2018-04-29 02:21:32 +0300
commitb4173c1fd2b732a2e1a69e3cf8f96bbe4ecc3ed5 (patch)
treef4d06e2b006587049185a80a0a6aeae054364d40 /video/out/opengl/egl_helpers.c
parent67ce9813d69dfbad7faf5e3ec8dfab0ee5e5e388 (diff)
downloadmpv-b4173c1fd2b732a2e1a69e3cf8f96bbe4ecc3ed5.tar.bz2
mpv-b4173c1fd2b732a2e1a69e3cf8f96bbe4ecc3ed5.tar.xz
encode: do not clear video PTS on VOCTRL_RESET
This was supposed to be a replacement for encode_lavc_discontinuity() (so we don't need to store last_video_in_pts in a way which requires synchronization). Unfortunately, VOCTRL_RESET is also called before termination, and even though it shouldn't matter as far as the VO API is concerned, it does. It's because vo_lavc.c buffers a frame to compute the frame duration. Drop this code. The consequence is that it appears to encode 2 frames with the same PTS if multiple files are encoded into one. Before this, it merely dropped a frame (maybe the first of every subsequent file, not sure).
Diffstat (limited to 'video/out/opengl/egl_helpers.c')
0 files changed, 0 insertions, 0 deletions