Bug in x11-libs/xvba-video library prevents playing video in mpv video player with subtitles on, using vaapi backend, on amd/ati graphics cards with fglrx driver. Library version used was last in portage (x11-libs/xvba-video-0.8.0-r1). Reproducible: Always Steps to Reproduce: 1. Get video (h264/avc or vc1) with subtitles (with .srt file named same as video file in the same directory). 2. Play video in mpv using vaapi: mpv --hwdec=vaapi --vo=vaapi <nameOfVideoFile> Actual Results: mpv shows this error and ends up: xvba_video: error: Assertion failed in file xvba_image.c at line 453 Bug can be fixed very easily using patch discussed here: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=682419 (very simple single line patch) I have tried apply this patch (updated xvba-video-0.8.0-r1 ebuild in local overlay) and it fixed the problem.
Fixed in 0.8.0-r3
*** Bug 510116 has been marked as a duplicate of this bug. ***