summaryrefslogtreecommitdiffstats
path: root/video/out/opengl/context_drm_egl.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2019-09-22 20:52:37 +0200
committerwm4 <wm4@nowhere>2019-09-22 20:52:37 +0200
commitcbff8a5862aaf715bc38c9f5d1b4e2bc43baaf2c (patch)
tree540cb98fc63edeaf29aaa8860a42c3cc1a62f282 /video/out/opengl/context_drm_egl.c
parent4a2f239842762dc11bb67a5cd54ab2b6f2fb4003 (diff)
downloadmpv-cbff8a5862aaf715bc38c9f5d1b4e2bc43baaf2c.tar.bz2
mpv-cbff8a5862aaf715bc38c9f5d1b4e2bc43baaf2c.tar.xz
demux_lavf: fix seeking in ogg audio streams
This detected the first packet demuxed after a seek as timestamp discontinuity. Obviously this is non-sense. Since the OGG radio streams for which this feature was introduced are normally unseekable, it's simple to fix this: simply disable it (if in auto mode, the default) as soon as a seek is performed. This code is never called if the stream is considered unseekable, unless the user forced it. There's still a chance this linearization is performed before a seek happens. This will be a bit awkward, but no worse than without this feature, since seeking with timestamp resets is inherently broken in both mpv and libavformat. Fixes: #6974 Fixes: 27fcd4d
Diffstat (limited to 'video/out/opengl/context_drm_egl.c')
0 files changed, 0 insertions, 0 deletions