[MPlayer-dev-eng] [rfc][patch] mplayer-mt, -lavdopts threads=2 and -vo gl failure on mpeg-1 and theora

Reimar Döffinger Reimar.Doeffinger at gmx.de
Wed Jan 20 00:02:12 CET 2010


On Tue, Jan 19, 2010 at 05:16:26PM +0300, Yuriy Kaminskiy wrote:
> === cut with -dr, without :force-pbo ===
> [gl] GLX chose visual with ID 0x2a
> [gl] libvo/vo_gl.c:757 (config_internal) caller thread mismatch, EXPECT MAJOR
> FAILURE: 0xb6529900 != 0xb60e0bb0
> [gl] Running on OpenGL by 'NVIDIA Corporation', versions '2.1.2 NVIDIA 177.82'
> [gl] Settings after autodetection: ati-hack = 0, force-pbo = 0, rectangle = 2
> [gl] Creating 480x270 texture...
> [gl] libvo/vo_gl.c:228 (resize) caller thread mismatch, EXPECT MAJOR FAILURE:
> 0xb6529900 != 0xb60e0bb0
> [gl] Resize: 480x270
> [gl] libvo/vo_gl.c:962 (redraw) caller thread mismatch, EXPECT MAJOR FAILURE:
> 0xb6529900 != 0xb60e0bb0
> [gl] libvo/vo_gl.c:936 (flip_page) caller thread mismatch, EXPECT MAJOR FAILURE:
> 0xb6529900 != 0xb60e0bb0
> [gl] libvo/vo_gl.c:1023 (get_image) caller thread mismatch, EXPECT MAJOR
> FAILURE: 0xb6529900 != 0xb60e0bb0
> [gl] libvo/vo_gl.c:1023 (get_image) caller thread mismatch, EXPECT MAJOR
> FAILURE: 0xb6529900 != 0xb50dfbb0

No wonder -nodr makes no difference, get_image is actually called from the
same thread as everything else.
Most likely the problem is that vo_gl:config() is called from a different thread
(probably indeed from get_buffer) and that breaks it of course completely.



More information about the MPlayer-dev-eng mailing list