mpv-player / mpv

🎥 Command line video player
https://mpv.io
Other
28.71k stars 2.93k forks source link

OpenGL problem with mpv-1.dll #2967

Closed Xuno closed 8 years ago

Xuno commented 8 years ago

We try using the API for rendering in our own OpenGL context via opengl-cb.

With these parameters: mpv::qt::set_option_variant(mpv, "vo", "opengl-cb:scale=ewa_lanczossharp:cscale=ewa_lanczossoft:prescale-passes=1:prescale-luma=superxbr");

With latest git version we compiled our own mpv-1.dll. And now the scaling methods superxbr and neddi3 do not generate the right FBO resulting in no upscaled image. mpv-1.dll made from MPV 0.15.0 works fine, broken in MPV 0.160

[opengl-cb] Window size: 1374x1144
[opengl-cb] Video source: 687x572 (3779:3779)
[opengl-cb] Video display: (0, 0) 687x572 -> (0, 0) 1374x1144
[opengl-cb] Video scale: 2.000000/2.000000
[opengl-cb] OSD borders: l=0 t=0 r=0 b=0
[opengl-cb] Video borders: l=0 t=0 r=0 b=0
[opengl-cb] Testing user-set FBO format (0x805b)
[opengl-cb] Create FBO: 16x16 -> 16x16
[opengl-cb] No advanced processing required. Enabling dumb mode.
[opengl-cb] Texture for plane 0: 687x572
[opengl-cb] Reinit rendering.
[opengl-cb] Testing user-set FBO format (0x805b)
[opengl-cb] Create FBO: 16x16 -> 16x16
[opengl-cb] Create FBO: 687x572 -> 687x572
[opengl-cb] after creating framebuffer texture: OpenGL error INVALID_OPERATION.
[opengl-cb] recompiling a shader program:
[opengl-cb] [  1] // combining planes
[opengl-cb] [  2] color.rgba = 1.000000 * vec4(texture(texture0, texcoord0)).rgba;
[opengl-cb] [  3] // color conversion
[opengl-cb] [  4] color = color.rgba;
[opengl-cb] [  5] color.rgb = mat3(colormatrix) * color.rgb + colormatrix_c;
[opengl-cb] [  6] bvec2 tile = lessThan(fract(gl_FragCoord.xy / 32.0), vec2(0.5));
[opengl-cb] [  7] vec3 background = vec3(tile.x == tile.y ? 1.0 : 0.75);
[opengl-cb] [  8] color.rgb = color.rgb * color.a + background * (1.0 - color.a);
[opengl-cb] [  9] // scaler pre-conversion
[opengl-cb] [ 10] // main scaling
[opengl-cb] recompiling a shader program:
[opengl-cb] [  1] #undef tex
[opengl-cb] [  2] #define tex texture0
[opengl-cb] [  3] vec2 pos = texcoord0;
[opengl-cb] [  4] vec2 size = texture_size0;
[opengl-cb] [  5] vec2 pt = pixel_size0;
[opengl-cb] [  6] color = vec4(0.0);
[opengl-cb] [  7] {
[opengl-cb] [  8] vec2 fcoord = fract(pos * size - vec2(0.5));
[opengl-cb] [  9] vec2 base = pos - fcoord * pt;
[opengl-cb] [ 10] vec4 c;
[opengl-cb] [ 11] float w, d, wsum = 0.0;
[opengl-cb] [ 12] // scaler samples
[opengl-cb] [ 13] d = length(vec2(-1.0, -3.0) - fcoord)/3.238315;
[opengl-cb] [ 14] if (d < 1.0) {
[opengl-cb] [ 15] w = texture1D(lut, LUT_POS(d, 64.0)).r;
[opengl-cb] [ 16] wsum += w;
[opengl-cb] [ 17] c = texture(tex, base + pt * vec2(-1.0, -3.0));
[opengl-cb] [ 18] color += vec4(w) * c;
[opengl-cb] [ 19] }
[opengl-cb] [ 20] d = length(vec2(0.0, -3.0) - fcoord)/3.238315;
[opengl-cb] [ 21] if (d < 1.0) {
[opengl-cb] [ 22] w = texture1D(lut, LUT_POS(d, 64.0)).r;
[opengl-cb] [ 23] wsum += w;
[opengl-cb] [ 24] c = texture(tex, base + pt * vec2(0.0, -3.0));
[opengl-cb] [ 25] color += vec4(w) * c;
[opengl-cb] [ 26] }
[opengl-cb] [ 27] d = length(vec2(1.0, -3.0) - fcoord)/3.238315;
[opengl-cb] [ 28] if (d < 1.0) {
[opengl-cb] [ 29] w = texture1D(lut, LUT_POS(d, 64.0)).r;
[opengl-cb] [ 30] wsum += w;
[opengl-cb] [ 31] c = texture(tex, base + pt * vec2(1.0, -3.0));
[opengl-cb] [ 32] color += vec4(w) * c;
[opengl-cb] [ 33] }
[opengl-cb] [ 34] d = length(vec2(2.0, -3.0) - fcoord)/3.238315;
[opengl-cb] [ 35] if (d < 1.0) {
[opengl-cb] [ 36] w = texture1D(lut, LUT_POS(d, 64.0)).r;
[opengl-cb] [ 37] wsum += w;
[opengl-cb] [ 38] c = texture(tex, base + pt * vec2(2.0, -3.0));
[opengl-cb] [ 39] color += vec4(w) * c;
[opengl-cb] [ 40] }
[opengl-cb] [ 41] d = length(vec2(-2.0, -2.0) - fcoord)/3.238315;
[opengl-cb] [ 42] if (d < 1.0) {
[opengl-cb] [ 43] w = texture1D(lut, LUT_POS(d, 64.0)).r;
[opengl-cb] [ 44] wsum += w;
[opengl-cb] [ 45] c = texture(tex, base + pt * vec2(-2.0, -2.0));
[opengl-cb] [ 46] color += vec4(w) * c;
[opengl-cb] [ 47] }
[opengl-cb] [ 48] d = length(vec2(-1.0, -2.0) - fcoord)/3.238315;
[opengl-cb] [ 49] if (d < 1.0) {
[opengl-cb] [ 50] w = texture1D(lut, LUT_POS(d, 64.0)).r;
[opengl-cb] [ 51] wsum += w;
[opengl-cb] [ 52] c = texture(tex, base + pt * vec2(-1.0, -2.0));
[opengl-cb] [ 53] color += vec4(w) * c;
[opengl-cb] [ 54] }
[opengl-cb] [ 27] d = length(vec2(1.0, -3.0) - fcoord)/3.238315;
[opengl-cb] [ 28] if (d < 1.0) {
[opengl-cb] [ 29] w = texture1D(lut, LUT_POS(d, 64.0)).r;
[opengl-cb] [ 30] wsum += w;
[opengl-cb] [ 31] c = texture(tex, base + pt * vec2(1.0, -3.0));
[opengl-cb] [ 32] color += vec4(w) * c;
[opengl-cb] [ 33] }
[opengl-cb] [ 34] d = length(vec2(2.0, -3.0) - fcoord)/3.238315;
[opengl-cb] [ 35] if (d < 1.0) {
[opengl-cb] [ 36] w = texture1D(lut, LUT_POS(d, 64.0)).r;
[opengl-cb] [ 37] wsum += w;
[opengl-cb] [ 38] c = texture(tex, base + pt * vec2(2.0, -3.0));
[opengl-cb] [ 39] color += vec4(w) * c;
[opengl-cb] [ 40] }
[opengl-cb] [ 41] d = length(vec2(-2.0, -2.0) - fcoord)/3.238315;
[opengl-cb] [ 42] if (d < 1.0) {
[opengl-cb] [ 43] w = texture1D(lut, LUT_POS(d, 64.0)).r;
[opengl-cb] [ 44] wsum += w;
[opengl-cb] [ 45] c = texture(tex, base + pt * vec2(-2.0, -2.0));
[opengl-cb] [ 46] color += vec4(w) * c;
[opengl-cb] [ 47] }
[opengl-cb] [ 48] d = length(vec2(-1.0, -2.0) - fcoord)/3.238315;
[opengl-cb] [ 49] if (d < 1.0) {
[opengl-cb] [ 50] w = texture1D(lut, LUT_POS(d, 64.0)).r;
[opengl-cb] [ 51] wsum += w;
[opengl-cb] [ 52] c = texture(tex, base + pt * vec2(-1.0, -2.0));
[opengl-cb] [ 53] color += vec4(w) * c;
[opengl-cb] [ 54] }
[opengl-cb] [ 55] d = length(vec2(0.0, -2.0) - fcoord)/3.238315;
[opengl-cb] [ 56] if (d < 1.0) {
[opengl-cb] [ 57] w = texture1D(lut, LUT_POS(d, 64.0)).r;
[opengl-cb] [ 58] wsum += w;
[opengl-cb] [ 59] c = texture(tex, base + pt * vec2(0.0, -2.0));
[opengl-cb] [ 60] color += vec4(w) * c;
[opengl-cb] [ 61] }
[opengl-cb] [ 62] d = length(vec2(1.0, -2.0) - fcoord)/3.238315;
[opengl-cb] [ 63] if (d < 1.0) {
[opengl-cb] [ 64] w = texture1D(lut, LUT_POS(d, 64.0)).r;
[opengl-cb] [ 65] wsum += w;
[opengl-cb] [ 66] c = texture(tex, base + pt * vec2(1.0, -2.0));
[opengl-cb] [ 67] color += vec4(w) * c;
[opengl-cb] [ 68] }
[opengl-cb] [ 69] d = length(vec2(2.0, -2.0) - fcoord)/3.238315;
[opengl-cb] [ 70] if (d < 1.0) {
[opengl-cb] [ 71] w = texture1D(lut, LUT_POS(d, 64.0)).r;
[opengl-cb] [ 72] wsum += w;
[opengl-cb] [ 73] c = texture(tex, base + pt * vec2(2.0, -2.0));
[opengl-cb] [ 74] color += vec4(w) * c;
[opengl-cb] [ 75] }
[opengl-cb] [ 76] d = length(vec2(3.0, -2.0) - fcoord)/3.238315;
[opengl-cb] [ 77] if (d < 1.0) {
[opengl-cb] [ 78] w = texture1D(lut, LUT_POS(d, 64.0)).r;
[opengl-cb] [ 79] wsum += w;
[opengl-cb] [ 80] c = texture(tex, base + pt * vec2(3.0, -2.0));
[opengl-cb] [ 81] color += vec4(w) * c;
[opengl-cb] [ 82] }
[opengl-cb] [ 83] d = length(vec2(-3.0, -1.0) - fcoord)/3.238315;
[opengl-cb] [ 84] if (d < 1.0) {
[opengl-cb] [ 85] w = texture1D(lut, LUT_POS(d, 64.0)).r;
[opengl-cb] [ 86] wsum += w;
[opengl-cb] [ 87] c = texture(tex, base + pt * vec2(-3.0, -1.0));
[opengl-cb] [ 88] color += vec4(w) * c;
[opengl-cb] [ 89] }
[opengl-cb] [ 90] d = length(vec2(-2.0, -1.0) - fcoord)/3.238315;
[opengl-cb] [ 91] if (d < 1.0) {
[opengl-cb] [ 92] w = texture1D(lut, LUT_POS(d, 64.0)).r;
[opengl-cb] [ 93] wsum += w;
[opengl-cb] [ 94] c = texture(tex, base + pt * vec2(-2.0, -1.0));
[opengl-cb] [ 95] color += vec4(w) * c;
[opengl-cb] [ 96] }
[opengl-cb] [ 97] d = length(vec2(-1.0, -1.0) - fcoord)/3.238315;
[opengl-cb] [ 98] w = texture1D(lut, LUT_POS(d, 64.0)).r;
[opengl-cb] [ 99] wsum += w;
[opengl-cb] [100] c = texture(tex, base + pt * vec2(-1.0, -1.0));
[opengl-cb] [101] color += vec4(w) * c;
[opengl-cb] [102] d = length(vec2(0.0, -1.0) - fcoord)/3.238315;
[opengl-cb] [103] w = texture1D(lut, LUT_POS(d, 64.0)).r;
[opengl-cb] [104] wsum += w;
[opengl-cb] [102] d = length(vec2(0.0, -1.0) - fcoord)/3.238315;
[opengl-cb] [103] w = texture1D(lut, LUT_POS(d, 64.0)).r;
[opengl-cb] [104] wsum += w;
[opengl-cb] [105] c = texture(tex, base + pt * vec2(0.0, -1.0));
[opengl-cb] [106] color += vec4(w) * c;
[opengl-cb] [107] d = length(vec2(1.0, -1.0) - fcoord)/3.238315;
[opengl-cb] [108] w = texture1D(lut, LUT_POS(d, 64.0)).r;
[opengl-cb] [109] wsum += w;
[opengl-cb] [110] c = texture(tex, base + pt * vec2(1.0, -1.0));
[opengl-cb] [111] color += vec4(w) * c;
[opengl-cb] [112] d = length(vec2(2.0, -1.0) - fcoord)/3.238315;
[opengl-cb] [113] w = texture1D(lut, LUT_POS(d, 64.0)).r;
[opengl-cb] [114] wsum += w;
[opengl-cb] [115] c = texture(tex, base + pt * vec2(2.0, -1.0));
[opengl-cb] [116] color += vec4(w) * c;
[opengl-cb] [117] d = length(vec2(3.0, -1.0) - fcoord)/3.238315;
[opengl-cb] [118] if (d < 1.0) {
[opengl-cb] [119] w = texture1D(lut, LUT_POS(d, 64.0)).r;
[opengl-cb] [120] wsum += w;
[opengl-cb] [121] c = texture(tex, base + pt * vec2(3.0, -1.0));
[opengl-cb] [122] color += vec4(w) * c;
[opengl-cb] [123] }
[opengl-cb] [124] d = length(vec2(4.0, -1.0) - fcoord)/3.238315;
[opengl-cb] [125] if (d < 1.0) {
[opengl-cb] [126] w = texture1D(lut, LUT_POS(d, 64.0)).r;
[opengl-cb] [127] wsum += w;
[opengl-cb] [128] c = texture(tex, base + pt * vec2(4.0, -1.0));
[opengl-cb] [129] color += vec4(w) * c;
[opengl-cb] [130] }
[opengl-cb] [131] d = length(vec2(-3.0, 0.0) - fcoord)/3.238315;
[opengl-cb] [132] if (d < 1.0) {
[opengl-cb] [133] w = texture1D(lut, LUT_POS(d, 64.0)).r;
[opengl-cb] [134] wsum += w;
[opengl-cb] [135] c = texture(tex, base + pt * vec2(-3.0, 0.0));
[opengl-cb] [136] color += vec4(w) * c;
[opengl-cb] [137] }
[opengl-cb] [138] d = length(vec2(-2.0, 0.0) - fcoord)/3.238315;
[opengl-cb] [139] if (d < 1.0) {
[opengl-cb] [140] w = texture1D(lut, LUT_POS(d, 64.0)).r;
[opengl-cb] [141] wsum += w;
[opengl-cb] [142] c = texture(tex, base + pt * vec2(-2.0, 0.0));
[opengl-cb] [143] color += vec4(w) * c;
[opengl-cb] [144] }
[opengl-cb] [145] d = length(vec2(-1.0, 0.0) - fcoord)/3.238315;
[opengl-cb] [146] w = texture1D(lut, LUT_POS(d, 64.0)).r;
[opengl-cb] [147] wsum += w;
[opengl-cb] [148] c = texture(tex, base + pt * vec2(-1.0, 0.0));
[opengl-cb] [149] color += vec4(w) * c;
[opengl-cb] [150] d = length(vec2(0.0, 0.0) - fcoord)/3.238315;
[opengl-cb] [151] w = texture1D(lut, LUT_POS(d, 64.0)).r;
[opengl-cb] [152] wsum += w;
[opengl-cb] [153] c = texture(tex, base + pt * vec2(0.0, 0.0));
[opengl-cb] [154] color += vec4(w) * c;
[opengl-cb] [155] d = length(vec2(1.0, 0.0) - fcoord)/3.238315;
[opengl-cb] [156] w = texture1D(lut, LUT_POS(d, 64.0)).r;
[opengl-cb] [157] wsum += w;
[opengl-cb] [158] c = texture(tex, base + pt * vec2(1.0, 0.0));
[opengl-cb] [159] color += vec4(w) * c;
[opengl-cb] [160] d = length(vec2(2.0, 0.0) - fcoord)/3.238315;
[opengl-cb] [161] w = texture1D(lut, LUT_POS(d, 64.0)).r;
[opengl-cb] [162] wsum += w;
[opengl-cb] [163] c = texture(tex, base + pt * vec2(2.0, 0.0));
[opengl-cb] [164] color += vec4(w) * c;
[opengl-cb] [165] d = length(vec2(3.0, 0.0) - fcoord)/3.238315;
[opengl-cb] [166] if (d < 1.0) {
[opengl-cb] [167] w = texture1D(lut, LUT_POS(d, 64.0)).r;
[opengl-cb] [168] wsum += w;
[opengl-cb] [169] c = texture(tex, base + pt * vec2(3.0, 0.0));
[opengl-cb] [170] color += vec4(w) * c;
[opengl-cb] [171] }
[opengl-cb] [172] d = length(vec2(4.0, 0.0) - fcoord)/3.238315;
[opengl-cb] [173] if (d < 1.0) {
[opengl-cb] [174] w = texture1D(lut, LUT_POS(d, 64.0)).r;
[opengl-cb] [175] wsum += w;
[opengl-cb] [176] c = texture(tex, base + pt * vec2(4.0, 0.0));
[opengl-cb] [177] color += vec4(w) * c;
[opengl-cb] [178] }
[opengl-cb] [179] d = length(vec2(-3.0, 1.0) - fcoord)/3.238315;
[opengl-cb] [180] if (d < 1.0) {
[opengl-cb] [181] w = texture1D(lut, LUT_POS(d, 64.0)).r;
[opengl-cb] [182] wsum += w;
[opengl-cb] [183] c = texture(tex, base + pt * vec2(-3.0, 1.0));
[opengl-cb] [184] color += vec4(w) * c;
[opengl-cb] [185] }
[opengl-cb] [179] d = length(vec2(-3.0, 1.0) - fcoord)/3.238315;
[opengl-cb] [180] if (d < 1.0) {
[opengl-cb] [181] w = texture1D(lut, LUT_POS(d, 64.0)).r;
[opengl-cb] [182] wsum += w;
[opengl-cb] [183] c = texture(tex, base + pt * vec2(-3.0, 1.0));
[opengl-cb] [184] color += vec4(w) * c;
[opengl-cb] [185] }
[opengl-cb] [186] d = length(vec2(-2.0, 1.0) - fcoord)/3.238315;
[opengl-cb] [187] if (d < 1.0) {
[opengl-cb] [188] w = texture1D(lut, LUT_POS(d, 64.0)).r;
[opengl-cb] [189] wsum += w;
[opengl-cb] [190] c = texture(tex, base + pt * vec2(-2.0, 1.0));
[opengl-cb] [191] color += vec4(w) * c;
[opengl-cb] [192] }
[opengl-cb] [193] d = length(vec2(-1.0, 1.0) - fcoord)/3.238315;
[opengl-cb] [194] w = texture1D(lut, LUT_POS(d, 64.0)).r;
[opengl-cb] [195] wsum += w;
[opengl-cb] [196] c = texture(tex, base + pt * vec2(-1.0, 1.0));
[opengl-cb] [197] color += vec4(w) * c;
[opengl-cb] [198] d = length(vec2(0.0, 1.0) - fcoord)/3.238315;
[opengl-cb] [199] w = texture1D(lut, LUT_POS(d, 64.0)).r;
[opengl-cb] [200] wsum += w;
[opengl-cb] [201] c = texture(tex, base + pt * vec2(0.0, 1.0));
[opengl-cb] [202] color += vec4(w) * c;
[opengl-cb] [203] d = length(vec2(1.0, 1.0) - fcoord)/3.238315;
[opengl-cb] [204] w = texture1D(lut, LUT_POS(d, 64.0)).r;
[opengl-cb] [205] wsum += w;
[opengl-cb] [206] c = texture(tex, base + pt * vec2(1.0, 1.0));
[opengl-cb] [207] color += vec4(w) * c;
[opengl-cb] [208] d = length(vec2(2.0, 1.0) - fcoord)/3.238315;
[opengl-cb] [209] w = texture1D(lut, LUT_POS(d, 64.0)).r;
[opengl-cb] [210] wsum += w;
[opengl-cb] [211] c = texture(tex, base + pt * vec2(2.0, 1.0));
[opengl-cb] [212] color += vec4(w) * c;
[opengl-cb] [213] d = length(vec2(3.0, 1.0) - fcoord)/3.238315;
[opengl-cb] [214] if (d < 1.0) {
[opengl-cb] [215] w = texture1D(lut, LUT_POS(d, 64.0)).r;
[opengl-cb] [216] wsum += w;
[opengl-cb] [217] c = texture(tex, base + pt * vec2(3.0, 1.0));
[opengl-cb] [218] color += vec4(w) * c;
[opengl-cb] [219] }
[opengl-cb] [220] d = length(vec2(4.0, 1.0) - fcoord)/3.238315;
[opengl-cb] [221] if (d < 1.0) {
[opengl-cb] [222] w = texture1D(lut, LUT_POS(d, 64.0)).r;
[opengl-cb] [223] wsum += w;
[opengl-cb] [224] c = texture(tex, base + pt * vec2(4.0, 1.0));
[opengl-cb] [225] color += vec4(w) * c;
[opengl-cb] [226] }
[opengl-cb] [227] d = length(vec2(-3.0, 2.0) - fcoord)/3.238315;
[opengl-cb] [228] if (d < 1.0) {
[opengl-cb] [229] w = texture1D(lut, LUT_POS(d, 64.0)).r;
[opengl-cb] [230] wsum += w;
[opengl-cb] [231] c = texture(tex, base + pt * vec2(-3.0, 2.0));
[opengl-cb] [232] color += vec4(w) * c;
[opengl-cb] [233] }
[opengl-cb] [234] d = length(vec2(-2.0, 2.0) - fcoord)/3.238315;
[opengl-cb] [235] if (d < 1.0) {
[opengl-cb] [236] w = texture1D(lut, LUT_POS(d, 64.0)).r;
[opengl-cb] [237] wsum += w;
[opengl-cb] [238] c = texture(tex, base + pt * vec2(-2.0, 2.0));
[opengl-cb] [239] color += vec4(w) * c;
[opengl-cb] [240] }
[opengl-cb] [241] d = length(vec2(-1.0, 2.0) - fcoord)/3.238315;
[opengl-cb] [242] w = texture1D(lut, LUT_POS(d, 64.0)).r;
[opengl-cb] [243] wsum += w;
[opengl-cb] [244] c = texture(tex, base + pt * vec2(-1.0, 2.0));
[opengl-cb] [245] color += vec4(w) * c;
[opengl-cb] [246] d = length(vec2(0.0, 2.0) - fcoord)/3.238315;
[opengl-cb] [247] w = texture1D(lut, LUT_POS(d, 64.0)).r;
[opengl-cb] [248] wsum += w;
[opengl-cb] [249] c = texture(tex, base + pt * vec2(0.0, 2.0));
[opengl-cb] [250] color += vec4(w) * c;
[opengl-cb] [251] d = length(vec2(1.0, 2.0) - fcoord)/3.238315;
[opengl-cb] [252] w = texture1D(lut, LUT_POS(d, 64.0)).r;
[opengl-cb] [253] wsum += w;
[opengl-cb] [254] c = texture(tex, base + pt * vec2(1.0, 2.0));
[opengl-cb] [255] color += vec4(w) * c;
[opengl-cb] [256] d = length(vec2(2.0, 2.0) - fcoord)/3.238315;
[opengl-cb] [257] w = texture1D(lut, LUT_POS(d, 64.0)).r;
[opengl-cb] [258] wsum += w;
[opengl-cb] [259] c = texture(tex, base + pt * vec2(2.0, 2.0));
[opengl-cb] [260] color += vec4(w) * c;
[opengl-cb] [261] d = length(vec2(3.0, 2.0) - fcoord)/3.238315;
[opengl-cb] [262] if (d < 1.0) {
[opengl-cb] [263] w = texture1D(lut, LUT_POS(d, 64.0)).r;
[opengl-cb] [264] wsum += w;
[opengl-cb] [265] c = texture(tex, base + pt * vec2(3.0, 2.0));
[opengl-cb] [266] color += vec4(w) * c;
[opengl-cb] [267] }
[opengl-cb] [268] d = length(vec2(4.0, 2.0) - fcoord)/3.238315;
[opengl-cb] [269] if (d < 1.0) {
[opengl-cb] [270] w = texture1D(lut, LUT_POS(d, 64.0)).r;
[opengl-cb] [271] wsum += w;
[opengl-cb] [272] c = texture(tex, base + pt * vec2(4.0, 2.0));
[opengl-cb] [273] color += vec4(w) * c;
[opengl-cb] [274] }
[opengl-cb] [275] d = length(vec2(-2.0, 3.0) - fcoord)/3.238315;
[opengl-cb] [276] if (d < 1.0) {
[opengl-cb] [277] w = texture1D(lut, LUT_POS(d, 64.0)).r;
[opengl-cb] [278] wsum += w;
[opengl-cb] [279] c = texture(tex, base + pt * vec2(-2.0, 3.0));
[opengl-cb] [280] color += vec4(w) * c;
[opengl-cb] [281] }
[opengl-cb] [282] d = length(vec2(-1.0, 3.0) - fcoord)/3.238315;
[opengl-cb] [283] if (d < 1.0) {
[opengl-cb] [284] w = texture1D(lut, LUT_POS(d, 64.0)).r;
[opengl-cb] [285] wsum += w;
[opengl-cb] [286] c = texture(tex, base + pt * vec2(-1.0, 3.0));
[opengl-cb] [287] color += vec4(w) * c;
[opengl-cb] [288] }
[opengl-cb] [289] d = length(vec2(0.0, 3.0) - fcoord)/3.238315;
[opengl-cb] [290] if (d < 1.0) {
[opengl-cb] [291] w = texture1D(lut, LUT_POS(d, 64.0)).r;
[opengl-cb] [292] wsum += w;
[opengl-cb] [293] c = texture(tex, base + pt * vec2(0.0, 3.0));
[opengl-cb] [294] color += vec4(w) * c;
[opengl-cb] [295] }
[opengl-cb] [296] d = length(vec2(1.0, 3.0) - fcoord)/3.238315;
[opengl-cb] [297] if (d < 1.0) {
[opengl-cb] [298] w = texture1D(lut, LUT_POS(d, 64.0)).r;
[opengl-cb] [299] wsum += w;
[opengl-cb] [300] c = texture(tex, base + pt * vec2(1.0, 3.0));
[opengl-cb] [301] color += vec4(w) * c;
[opengl-cb] [302] }
[opengl-cb] [303] d = length(vec2(2.0, 3.0) - fcoord)/3.238315;
[opengl-cb] [304] if (d < 1.0) {
[opengl-cb] [305] w = texture1D(lut, LUT_POS(d, 64.0)).r;
[opengl-cb] [306] wsum += w;
[opengl-cb] [307] c = texture(tex, base + pt * vec2(2.0, 3.0));
[opengl-cb] [308] color += vec4(w) * c;
[opengl-cb] [309] }
[opengl-cb] [310] d = length(vec2(3.0, 3.0) - fcoord)/3.238315;
[opengl-cb] [311] if (d < 1.0) {
[opengl-cb] [312] w = texture1D(lut, LUT_POS(d, 64.0)).r;
[opengl-cb] [313] wsum += w;
[opengl-cb] [314] c = texture(tex, base + pt * vec2(3.0, 3.0));
[opengl-cb] [315] color += vec4(w) * c;
[opengl-cb] [316] }
[opengl-cb] [317] d = length(vec2(-1.0, 4.0) - fcoord)/3.238315;
[opengl-cb] [318] if (d < 1.0) {
[opengl-cb] [319] w = texture1D(lut, LUT_POS(d, 64.0)).r;
[opengl-cb] [320] wsum += w;
[opengl-cb] [321] c = texture(tex, base + pt * vec2(-1.0, 4.0));
[opengl-cb] [322] color += vec4(w) * c;
[opengl-cb] [323] }
[opengl-cb] [324] d = length(vec2(0.0, 4.0) - fcoord)/3.238315;
[opengl-cb] [325] if (d < 1.0) {
[opengl-cb] [326] w = texture1D(lut, LUT_POS(d, 64.0)).r;
[opengl-cb] [327] wsum += w;
[opengl-cb] [328] c = texture(tex, base + pt * vec2(0.0, 4.0));
[opengl-cb] [329] color += vec4(w) * c;
[opengl-cb] [330] }
[opengl-cb] [331] d = length(vec2(1.0, 4.0) - fcoord)/3.238315;
[opengl-cb] [332] if (d < 1.0) {
[opengl-cb] [333] w = texture1D(lut, LUT_POS(d, 64.0)).r;
[opengl-cb] [334] wsum += w;
[opengl-cb] [335] c = texture(tex, base + pt * vec2(1.0, 4.0));
[opengl-cb] [336] color += vec4(w) * c;
[opengl-cb] [337] }
[opengl-cb] [338] d = length(vec2(2.0, 4.0) - fcoord)/3.238315;
[opengl-cb] [339] if (d < 1.0) {
[opengl-cb] [340] w = texture1D(lut, LUT_POS(d, 64.0)).r;
[opengl-cb] [341] wsum += w;
[opengl-cb] [342] c = texture(tex, base + pt * vec2(2.0, 4.0));
[opengl-cb] [343] color += vec4(w) * c;
[opengl-cb] [344] }
[opengl-cb] [345] color = color / vec4(wsum);
[opengl-cb] [346] }
[opengl-cb] [347] color *= 1.000000;
[opengl-cb] [348] color.a = 1.000000;
ghost commented 8 years ago

Does it work with git master?

Xuno commented 8 years ago

No, the problem exists with the following: version.h:

#define VERSION "git-042ca84"
#define BUILDDATE "Sat Mar 19 00:50:46 EET 2016"
ghost commented 8 years ago

Can't reproduce.

Xuno commented 8 years ago

This is our mpv-1.dll file based on git-042ca84 that we compiled with the following parameters for x64 Windows PC

$ ./waf configure CC=gcc --enable-libmpv-shared --enable-static-build --enable-gpl3 --prefix=/mingw64

mpv-1.zip

Can we get your dll file with enabled-gpl3 for testing at our side?

ghost commented 8 years ago

Unless you use the vo_opengl nnedi filter, --enable-gpl3 will do nothing.

Can you try to determine the minimal VO command line needed to reproduce this, or is it already minimal?

Xuno commented 8 years ago

Its already minimal. Also, the last code version we could build .exe with and successfully run NNEDI3 and superxbr is:

https://github.com/mpv-player/mpv/tree/faster-shader-building

ghost commented 8 years ago

I'll need a complete log.

Xuno commented 8 years ago

We are experiencing the same problem in MPV 0.170, here is the build log:

$ git show-branch --sha1-name [837b865] vf_vavpp: reindent

$ git pull Already up-to-date.

$ ./waf configure CC=gcc --enable-libmpv-shared --enable-static-build --enable-gpl3 --prefix=/mingw64 Setting top to : /home/lex/mpv Setting out to : /home/lex/mpv/build Checking for waf version in 1.8.4-1.9.0 : ok Checking for program 'cc' : gcc Checking for program 'pkg-config' : /usr/bin/pkg-config Checking for program 'ar' : /mingw64/bin/ar Checking for program 'perl' : /usr/bin/perl Checking for program 'rst2html' : not found Checking for program 'rst2man' : not found Checking for program 'rst2pdf' : not found Checking for program 'windres' : /mingw64/bin/windres Checking for 'gcc' (C compiler) : gcc Detected target OS: : os-win32 Checking for compiler flags -Werror=implicit-function-declaration : yes Checking for compiler flags -Wno-error=deprecated-declarations : yes Checking for compiler flags -Wno-error=unused-function : yes Checking for compiler flags -Wempty-body : yes Checking for compiler flags -Wdisabled-optimization : yes Checking for compiler flags -Wstrict-prototypes : yes Checking for compiler flags -Wno-format-zero-length : yes Checking for compiler flags -Werror=format-security : yes Checking for compiler flags -Wno-redundant-decls : yes Checking for GPL3 license : yes Checking for mpv CLI player : yes Checking for shared library : yes Checking for static library : disabled Checking for static build : yes Checking for whether to include binary compile time : yes Checking for whether to optimize : yes Checking for whether to compile-in debugging information : yes Checking for manpage generation : no (missing RST2MAN) Checking for html manual generation : disabled Checking for pdf manual generation : disabled Checking for dynamic loader : no Checking for dlopen : yes Checking for compilation of default filters for vf_dlopen : disabled Checking for zsh completion : disabled Checking for inline assembly (currently without effect) : yes Checking for test suite (using cmocka) : disabled Checking for generate a clang compilation database : disabled Checking for compiler support for noexecstack : no Checking for linker support for --nxcompat --no-seh --dynamicbase : yes Checking for -lm : yes Checking for MinGW : yes Checking for POSIX environment : no Checking for development environment : yes Checking for win32 : yes Checking for internal pthread wrapper for win32 (Vista+) : yes Checking for POSIX threads : yes Checking for stdatomic.h : yes Checking for compiler support for atomic built-ins : stdatomic found Checking for compiler support for sync built-ins : stdatomic found Checking for compiler support for usable thread synchronization built-ins : yes Checking for C11 TLS support : yes Checking for linking with -lrt : no Checking for iconv : yes Checking for w32/dos paths : yes Checking for termios : no Checking for shm : no Checking for nanosleep : no Checking for POSIX spawnp()/kill() : mingw found Checking for posix_spawnp() or MinGW : yes Checking for glob() : no Checking for glob() win32 replacement : yes Checking for fchmod() : no Checking for vt.h : no Checking for gbm.h : no Checking for GLIBC API for setting thread name : no Checking for OSX API for setting thread name : no Checking for BSD API for setting thread name : no Checking for NetBSD API for setting thread name : no Checking for BSD's fstatfs() : no Checking for Linux's fstatfs() : os-linux not found Checking for Samba support : libdl not found Checking for Lua : yes (version found: 51deb) Checking for SSA/ASS support : yes Checking for libass OSD support : yes Checking for dummy OSD support : libass-osd found Checking for zlib : yes Checking for Encoding : yes Checking for Bluray support : no ('libbluray >= 0.3.0' not found) Checking for dvdread support : yes Checking for dvdnav support : no ('dvdnav >= 4.2.0' not found) Checking for cdda support (libcdio) : no ('libcdio_paranoia' not found) Checking for ENCA support : no Checking for libguess support : no ('libguess >= 1.0' not found) Checking for uchardet support : no ('uchardet' not found) Checking for librubberband support : no ('rubberband >= 1.8.0' not found) Checking for LCMS2 support : yes Checking for VapourSynth filter bridge (Python) : no ('vapoursynth >= 24 vapoursynth-script >= 23' not found) Checking for VapourSynth filter bridge (Lazy Lua) : no ('vapoursynth >= 24' not found) Checking for VapourSynth filter bridge (core) : not found any of vapoursynth, vapoursynth-lazy Checking for libarchive wrapper for reading zip files and more : disabled Checking for SDL2 : disabled Checking for SDL (1.x) : disabled Checking for OSS (implementation from opensound.com) : no Checking for OSS (platform-specific OSS implementation) : no Checking for OSS (emulation on top of SunAudio) : no Checking for OSS audio output : not found any of oss-audio-sunaudio, oss-audio-4front, oss-audio-native Checking for RSound audio output : no Checking for sndio audio input/output : disabled Checking for PulseAudio audio output : no ('libpulse >= 1.0' not found) Checking for JACK audio output : no ('jack' not found) Checking for OpenAL audio output : disabled Checking for OpenSL ES audio output : no Checking for ALSA audio output : no ('alsa >= 1.0.18' not found) Checking for CoreAudio audio output : no Checking for WASAPI audio output : yes Checking for Cocoa : no Checking for DRM : vt.h not found Checking for GBM : gbm.h not found Checking for Wayland : no ('wayland-client >= 1.6.0 wayland-cursor >= 1.6.0 xkbcommon >= 0.3.0' not found) Checking for X11 : no ('x11' not found) Checking for Xss screensaver extensions : x11 not found Checking for X extensions : x11 not found Checking for Xv video output : x11 not found Checking for Xinerama : x11 not found Checking for Xrandr : x11 not found Checking for OpenGL Cocoa Backend : cocoa not found Checking for OpenGL X11 Backend : x11 not found Checking for OpenGL X11 EGL Backend : x11 not found Checking for OpenGL DRM EGL Backend : gbm, drm not found Checking for OpenGL Wayland Backend : wayland not found Checking for OpenGL Win32 Backend : yes Checking for OpenGL/DirectX Interop Backend : yes Checking for OpenGL Win32 ANGLE Backend : yes Checking for VDPAU acceleration : x11 not found Checking for VDPAU with OpenGL/X11 : vdpau, gl-x11 not found Checking for VAAPI acceleration : not found any of x11, wayland, egl-drm Checking for VAAPI (X11 support) : x11, vaapi not found Checking for VAAPI (Wayland support) : vaapi, gl-wayland not found Checking for VAAPI (DRM/EGL support) : vaapi, egl-drm not found Checking for VAAPI GLX : vaapi-x11, gl-x11 not found Checking for VAAPI EGL on X11 : vaapi-x11, egl-x11 not found Checking for VAAPI EGL : not found any of vaapi-x-egl, vaapi-wayland Checking for CACA : yes Checking for JPEG support : yes Checking for Direct3D support : yes Checking for Android support : no Checking for Raspberry Pi support : no Checking for Desktop standard OpengGL support : no Checking for Android OpenGL ES support : android not found Checking for Any OpenGL (ES) support : not found any of android-gl, standard-gl, cocoa Checking for OpenGL without platform-specific code (e.g. for libmpv) : any-gl not found Checking for OpenGL video outputs : yes Checking for EGL helper functions : not found any of egl-x11 Checking for libav/ffmpeg : yes Checking for libswresample : yes Checking for libavresample : libswresample found Checking for usable resampler found : yes Checking for libavfilter : yes Checking for libavdevice : yes Checking for libavcodec avcodec_enum_to_chroma_pos API : yes Checking for libavutil AVFrame metadata : yes Checking for libavutil AVFrame skip samples metadata : yes Checking for libavutil AV_PIX_FMT_MMAL : yes Checking for libavtuil av_version_info() : yes Checking for libavutil new pixdesc fields : yes Checking for libavcodec 64 bit AVPacket.duration : yes Checking for libavcodec AVSubtitleRect AVPicture removal : yes Checking for libavcodec avcodec_profile_name() : yes Checking for libavcodec decode/encode API : no Checking for libavcodec AVCodecParameters API : no Checking for libavcodec VAAPI hwaccel : vaapi not found Checking for libavcodec videotoolbox hwaccel : no Checking for Videotoolbox with OpenGL : videotoolbox-hwaccel, gl-cocoa not found Checking for libavcodec VDPAU hwaccel : vdpau not found Checking for libavcodec DXVA2 hwaccel : yes Checking for libavcodec D3D11VA hwaccel : yes Checking for Direct3D hwaccel : yes Checking for GCC SSE4 intrinsics for GPU memcpy : yes Checking for TV interface : yes Checking for videoio.h : no Checking for videodev2.h : no Checking for Video4Linux2 TV interface : not found any of videodev, sys_videoio_h Checking for libv4l2 support : tv-v4l2 not found Checking for audio input support : not found any of tv-v4l2 Checking for DVB input module : no Checking for w32 executable : yes Checking for Apple Remote support : cocoa not found Writing configuration header: : config.h 'configure' finished successfully (37.920s)

$ ./waf build Waf: Entering directory `/home/lex/mpv/build' [ 1/440] Compiling version.sh [ 2/440] Compiling TOOLS/osxbundle/mpv.app/Contents/Resources/icon.icns [ 3/440] Compiling video/out/x11_icon.bin [ 4/440] Compiling etc/input.conf [ 5/440] Compiling sub/osd_font.otf [ 6/440] Compiling video/out/opengl/nnedi3_weights.bin [ 7/440] Compiling player/lua/defaults.lua [ 8/440] Compiling player/lua/assdraw.lua [ 11/440] Compiling player/lua/options.lua [ 12/440] Compiling player/lua/osc.lua [ 13/440] Compiling player/lua/ytdl_hook.lua [ 14/440] Processing ebml_types.h: demux/ebml.c demux/demux_mkv.c -> build/ebml_types.h [ 15/440] Compiling demux/ebml.c [ 16/440] Compiling osdep/mpv.rc [ 17/440] Compiling osdep/mpv.rc [ 18/440] Compiling libmpv/mpv.def [ 19/440] Compiling libmpv/mpv.pc.in [ 20/440] Compiling sub/osd.c [ 21/440] Compiling video/filter/vf_sub.c [ 22/440] Compiling video/decode/d3d11va.c [ 23/440] Compiling common/common.c [ 24/440] Compiling audio/filter/af_scaletempo.c [ 25/440] Compiling osdep/w32_keyboard.c [ 26/440] Compiling player/loadfile.c [ 27/440] Compiling osdep/terminal-win.c [ 28/440] Compiling common/version.c [ 29/440] Compiling input/cmd_list.c [ 30/440] Compiling input/pipe-win32.c [ 31/440] Compiling audio/fmt-conversion.c [ 32/440] Compiling video/mp_image.c [ 33/440] Compiling video/filter/vf_rotate.c [ 34/440] Compiling video/fmt-conversion.c [ 35/440] Compiling video/filter/vf_buffer.c [ 36/440] Compiling ta/ta.c [ 37/440] Compiling common/encode_lavc.c [ 38/440] Compiling options/m_config.c [ 39/440] Compiling video/out/opengl/hwdec_dxva2egl.c [ 40/440] Compiling input/cmd_list.c [ 41/440] Compiling audio/out/ao_wasapi_changenotify.c [ 42/440] Compiling common/version.c [ 43/440] Compiling player/osd.c [ 44/440] Compiling video/img_format.c [ 45/440] Compiling video/filter/vf_gradfun.c [ 46/440] Compiling player/lavfi.c [ 47/440] Compiling common/codecs.c [ 48/440] Compiling audio/out/ao_pcm.c [ 49/440] Compiling audio/filter/af_channels.c [ 50/440] Compiling misc/rendezvous.c ../player/lavfi.c: In function 'init_pads': ../player/lavfi.c:416:17: warning: 'src_filter' may be used uninitialized in this function [-Wmaybe-uninitialized] if (avfilter_graph_create_filter(&pad->buffer, src_filter, ^ ../player/lavfi.c:354:17: warning: 'dst_filter' may be used uninitialized in this function [-Wmaybe-uninitialized] if (avfilter_graph_create_filter(&pad->buffer, dst_filter, ^

[ 51/440] Compiling player/osd.c [ 52/440] Compiling video/out/dither.c [ 53/440] Compiling audio/filter/af_drc.c [ 54/440] Compiling audio/out/push.c [ 55/440] Compiling options/m_config.c [ 56/440] Compiling input/input.c [ 57/440] Compiling demux/demux_rar.c [ 58/440] Compiling audio/filter/af_format.c [ 59/440] Compiling audio/fmt-conversion.c [ 60/440] Compiling demux/ebml.c [ 61/440] Compiling video/out/vo.c [ 62/440] Compiling video/out/opengl/hwdec_dxva2gldx.c [ 63/440] Compiling demux/demux_mf.c [ 64/440] Compiling audio/decode/dec_audio.c [ 65/440] Compiling ta/ta_talloc.c [ 66/440] Compiling player/sub.c [ 67/440] Compiling video/out/vo_opengl_cb.c [ 68/440] Compiling audio/filter/af_drc.c [ 69/440] Compiling stream/frequencies.c [ 70/440] Compiling video/dxva2.c [ 71/440] Compiling osdep/path-unix.c [ 72/440] Compiling audio/decode/ad_spdif.c [ 73/440] Compiling player/screenshot.c [ 74/440] Compiling audio/format.c [ 75/440] Compiling audio/out/ao_lavc.c [ 76/440] Compiling stream/stream_lavf.c [ 77/440] Compiling video/out/filter_kernels.c [ 78/440] Compiling video/out/opengl/context_dxinterop.c [ 79/440] Compiling video/filter/vf_buffer.c [ 80/440] Compiling audio/filter/af_lavcac3enc.c [ 81/440] Compiling stream/cookies.c [ 82/440] Compiling video/filter/vf_gradfun.c [ 83/440] Compiling audio/mixer.c [ 84/440] Compiling video/filter/vf_noformat.c [ 85/440] Compiling input/keycodes.c [ 86/440] Compiling demux/cue.c [ 87/440] Compiling common/av_common.c [ 88/440] Compiling audio/out/pull.c [ 89/440] Compiling misc/bstr.c [ 90/440] Compiling audio/out/pull.c [ 91/440] Compiling video/out/opengl/lcms.c [ 92/440] Compiling misc/ring.c [ 93/440] Compiling video/filter/vf_pullup.c [ 94/440] Compiling input/pipe-win32.c [ 95/440] Compiling stream/stream_null.c [ 96/440] Compiling common/common.c [ 97/440] Compiling stream/cache_file.c [ 98/440] Compiling misc/rendezvous.c [ 99/440] Compiling stream/stream_dvd.c [100/440] Compiling demux/codec_tags.c [101/440] Compiling osdep/semaphore_osx.c [102/440] Compiling input/input.c [103/440] Compiling stream/stream_rar.c [104/440] Compiling demux/demux.c [105/440] Compiling osdep/timer-win2.c [106/440] Compiling common/av_log.c [107/440] Compiling audio/chmap.c [108/440] Compiling video/dxva2.c [109/440] Compiling osdep/threads.c [110/440] Compiling osdep/subprocess-win.c [111/440] Compiling video/filter/vf_flip.c [112/440] Compiling video/out/opengl/hwdec_dxva2egl.c [113/440] Compiling video/decode/vd_lavc.c [114/440] Compiling common/tags.c [115/440] Compiling common/msg.c [116/440] Compiling audio/filter/af_lavfi.c [117/440] Compiling audio/filter/af_channels.c [118/440] Compiling common/playlist.c [119/440] Compiling video/out/aspect.c [120/440] Compiling osdep/glob-win.c [121/440] Compiling demux/packet.c [122/440] Compiling player/scripting.c [123/440] Compiling demux/demux_mkv_timeline.c [124/440] Compiling video/out/vo_caca.c [125/440] Compiling osdep/timer-win2.c [126/440] Compiling video/filter/vf_eq.c [127/440] Compiling stream/stream_tv.c [128/440] Compiling player/external_files.c [129/440] Compiling audio/audio_buffer.c [130/440] Compiling video/filter/vf_mirror.c [131/440] Compiling video/filter/vf_expand.c [132/440] Compiling demux/cue.c [133/440] Compiling common/av_common.c [134/440] Compiling video/d3d11va.c [135/440] Compiling sub/osd_libass.c [136/440] Compiling input/ipc.c [137/440] Compiling osdep/io.c [138/440] Compiling video/out/opengl/hwdec.c [139/440] Compiling audio/out/push.c [140/440] Compiling demux/demux_cue.c [141/440] Compiling demux/demux_mkv.c [142/440] Compiling osdep/io.c [143/440] Compiling osdep/w32_keyboard.c [144/440] Compiling stream/cookies.c [145/440] Compiling audio/filter/tools.c [146/440] Compiling video/out/opengl/video_shaders.c [147/440] Compiling ta/ta.c [148/440] Compiling stream/stream_rar.c [149/440] Compiling player/client.c [150/440] Compiling stream/cache.c [151/440] Compiling video/out/opengl/nnedi3.c [152/440] Compiling video/filter/vf_dsize.c [153/440] Compiling video/decode/dec_video.c [154/440] Compiling stream/stream_edl.c [155/440] Compiling sub/ass_mp.c [156/440] Compiling video/decode/dxva2.c [157/440] Compiling stream/cache_file.c [158/440] Compiling video/out/vo_image.c [159/440] Compiling stream/tvi_dummy.c [160/440] Compiling audio/filter/af_delay.c [161/440] Compiling player/playloop.c [162/440] Compiling demux/demux_disc.c [163/440] Compiling audio/filter/af_lavrresample.c [164/440] Compiling video/out/win32/displayconfig.c [165/440] Compiling video/out/w32_common.c [166/440] Compiling player/video.c [167/440] Compiling sub/osd_libass.c [168/440] Compiling stream/stream_mf.c [169/440] Compiling demux/demux_timeline.c [170/440] Compiling player/command.c [171/440] Compiling video/out/opengl/nnedi3.c [172/440] Compiling input/ipc.c [173/440] Compiling sub/sd_ass.c [174/440] Compiling demux/demux_timeline.c [175/440] Compiling sub/lavc_conv.c [176/440] Compiling demux/demux_rar.c [177/440] Compiling video/filter/vf_yadif.c [178/440] Compiling video/gpu_memcpy.c [179/440] Compiling misc/json.c [180/440] Compiling sub/draw_bmp.c [181/440] Compiling misc/bstr.c [182/440] Compiling audio/decode/dec_audio.c [183/440] Compiling demux/demux_edl.c [184/440] Compiling video/out/vo_lavc.c [185/440] Compiling audio/out/ao_lavc.c [186/440] Compiling video/out/opengl/hwdec_dxva2gldx.c [187/440] Compiling misc/charset_conv.c [188/440] Compiling video/out/opengl/common.c [189/440] Compiling video/out/vo_null.c [190/440] Compiling stream/stream_avdevice.c [191/440] Compiling stream/tv.c [192/440] Compiling video/filter/vf_sub.c [193/440] Compiling input/event.c [194/440] Compiling video/sws_utils.c [195/440] Compiling audio/filter/af_lavfi.c [196/440] Compiling demux/demux_null.c [197/440] Compiling video/filter/vf_dlopen.c [198/440] Compiling video/filter/vf_stereo3d.c [199/440] Compiling video/decode/d3d11va.c [200/440] Compiling player/video.c [201/440] Compiling video/out/vo.c [202/440] Compiling player/command.c [203/440] Compiling video/sws_utils.c [204/440] Compiling osdep/path-win.c [205/440] Compiling stream/stream_null.c [206/440] Compiling osdep/semaphore_osx.c [207/440] Compiling player/audio.c [208/440] Compiling stream/stream_dvd_common.c [209/440] Compiling audio/out/ao_pcm.c [210/440] Compiling demux/demux_mkv.c [211/440] Compiling common/av_log.c [212/440] Compiling video/out/vo_null.c [213/440] Compiling video/filter/vf_lavfi.c [214/440] Compiling sub/sd_ass.c [215/440] Compiling misc/ring.c [216/440] Compiling video/out/opengl/context_w32.c [217/440] Compiling video/out/aspect.c [218/440] Compiling video/out/opengl/common.c [219/440] Compiling audio/chmap.c [220/440] Compiling player/misc.c [221/440] Compiling video/out/opengl/hwdec.c [222/440] Compiling demux/demux_raw.c [223/440] Compiling audio/filter/af_equalizer.c [224/440] Compiling input/ipc-win.c [225/440] Compiling input/keycodes.c [226/440] Compiling video/out/vo_opengl_cb.c [227/440] Compiling audio/filter/af.c [228/440] Compiling video/filter/vf_dsize.c [229/440] Compiling osdep/windows_utils.c [230/440] Compiling osdep/terminal-win.c [231/440] Compiling demux/demux_lavf.c [232/440] Compiling audio/decode/ad_spdif.c [233/440] Compiling audio/out/ao_wasapi_utils.c [234/440] Compiling video/out/opengl/hwdec_dxva2.c [235/440] Compiling audio/filter/af_volume.c [236/440] Compiling osdep/subprocess.c [237/440] Compiling video/filter/vf_scale.c [238/440] Compiling options/options.c [239/440] Compiling audio/out/ao.c [240/440] Compiling video/out/vo_caca.c [241/440] Compiling video/filter/vf.c [242/440] Compiling demux/timeline.c [243/440] Compiling video/out/opengl/utils.c [244/440] Compiling audio/filter/af_lavcac3enc.c [245/440] Compiling video/out/vo_direct3d.c [246/440] Compiling misc/charset_conv.c [247/440] Compiling common/tags.c [248/440] Compiling audio/out/ao_wasapi_utils.c [249/440] Compiling audio/format.c [250/440] Compiling player/client.c [251/440] Compiling osdep/threads.c [252/440] Compiling audio/out/ao_wasapi.c [253/440] Compiling audio/audio.c [254/440] Compiling input/ipc-win.c [255/440] Compiling stream/rar.c [256/440] Compiling input/cmd_parse.c [257/440] Compiling player/main.c [258/440] Compiling demux/demux.c [259/440] Compiling audio/out/ao.c [260/440] Compiling options/m_option.c [261/440] Compiling audio/out/ao_null.c [262/440] Compiling options/parse_configfile.c [263/440] Compiling common/codecs.c [264/440] Compiling ta/ta_utils.c [265/440] Compiling video/out/opengl/context.c [266/440] Compiling osdep/win32/pthread.c [267/440] Compiling misc/json.c [268/440] Compiling demux/timeline.c [269/440] Compiling video/out/vo_image.c [270/440] Compiling stream/stream.c [271/440] Compiling osdep/win32-console-wrapper.c [272/440] Compiling options/m_property.c [273/440] Compiling audio/out/ao_wasapi.c [274/440] Compiling video/out/opengl/hwdec_dxva2.c [275/440] Compiling options/parse_commandline.c [276/440] Compiling video/out/opengl/superxbr.c [277/440] Compiling stream/stream_tv.c [278/440] Compiling video/fmt-conversion.c [279/440] Compiling stream/stream_avdevice.c [280/440] Compiling stream/stream_mf.c [281/440] Compiling video/filter/vf_dlopen.c [282/440] Compiling audio/filter/af_pan.c [283/440] Compiling stream/stream.c [284/440] Compiling options/parse_configfile.c [285/440] Compiling sub/lavc_conv.c [286/440] Compiling options/m_option.c [287/440] Compiling ta/ta_utils.c [288/440] Compiling video/decode/dxva2.c [289/440] Compiling stream/cache.c [290/440] Compiling demux/ebml.c [291/440] Compiling video/out/win32/exclusive_hack.c [292/440] Compiling video/mp_image_pool.c [293/440] Compiling audio/decode/ad_lavc.c [294/440] Compiling audio/chmap_sel.c [295/440] Compiling osdep/path-unix.c [296/440] Compiling video/filter/vf_crop.c [297/440] Compiling video/image_writer.c [298/440] Compiling video/out/win_state.c [299/440] Compiling video/decode/dec_video.c [300/440] Compiling ta/ta_talloc.c [301/440] Compiling demux/demux_lavf.c [302/440] Compiling stream/frequencies.c [303/440] Compiling player/main.c [304/440] Compiling video/filter/vf_pullup.c [305/440] Compiling video/out/win_state.c [306/440] Compiling demux/demux_mf.c [307/440] Compiling video/out/win32/exclusive_hack.c [308/440] Compiling video/csputils.c [309/440] Compiling video/out/opengl/context_w32.c [310/440] Compiling demux/demux_cue.c [311/440] Compiling audio/out/ao_wasapi_changenotify.c [312/440] Compiling video/filter/vf.c [313/440] Compiling audio/filter/af_scaletempo.c [314/440] Compiling stream/stream_dvd_common.c [315/440] Compiling sub/draw_bmp.c [316/440] Compiling input/event.c [317/440] Compiling sub/dec_sub.c [318/440] Compiling video/filter/vf_crop.c [319/440] Compiling audio/audio_buffer.c [320/440] Compiling video/out/vo_opengl.c [321/440] Compiling sub/ass_mp.c [322/440] Compiling stream/stream_dvd.c [323/440] Compiling common/msg.c [324/440] Compiling sub/sd_lavc.c [325/440] Compiling video/filter/vf_scale.c [326/440] Compiling sub/img_convert.c [327/440] Compiling video/out/opengl/context_angle.c [328/440] Compiling audio/filter/af_delay.c [329/440] Compiling sub/dec_sub.c [330/440] Compiling options/path.c [331/440] Compiling audio/mixer.c [332/440] Compiling player/loadfile.c [333/440] Compiling misc/dispatch.c [334/440] Compiling audio/audio.c [335/440] Compiling video/d3d11va.c [336/440] Compiling stream/stream_memory.c [337/440] Compiling osdep/path-win.c [338/440] Compiling video/filter/vf_eq.c [339/440] Compiling video/filter/vf_yadif.c [340/440] Compiling demux/demux_disc.c [341/440] Compiling video/out/opengl/osd.c [342/440] Compiling video/image_writer.c [343/440] Compiling player/playloop.c [344/440] Compiling video/out/filter_kernels.c [345/440] Compiling video/out/opengl/video.c [346/440] Compiling demux/demux_null.c [347/440] Compiling options/m_property.c [348/440] Compiling video/decode/d3d.c [349/440] Compiling video/out/opengl/osd.c [350/440] Compiling osdep/subprocess-win.c [351/440] Compiling player/sub.c [352/440] Compiling osdep/timer.c [353/440] Compiling demux/demux_tv.c [354/440] Compiling video/gpu_memcpy.c [355/440] Compiling video/filter/vf_lavfi.c [356/440] Compiling video/filter/vf_format.c [357/440] Compiling video/out/opengl/video_shaders.c [358/440] Compiling stream/rar.c [359/440] Compiling audio/filter/af_format.c [360/440] Compiling player/audio.c [361/440] Compiling audio/filter/af_lavrresample.c [362/440] Compiling osdep/glob-win.c [363/440] Compiling player/misc.c [364/440] Compiling video/filter/vf_stereo3d.c [365/440] Compiling player/lavfi.c [366/440] Compiling demux/codec_tags.c [367/440] Compiling demux/packet.c [368/440] Compiling audio/filter/af_volume.c [369/440] Compiling common/encode_lavc.c ../player/lavfi.c: In function 'init_pads': ../player/lavfi.c:416:17: warning: 'src_filter' may be used uninitialized in this function [-Wmaybe-uninitialized] if (avfilter_graph_create_filter(&pad->buffer, src_filter, ^ ../player/lavfi.c:354:17: warning: 'dst_filter' may be used uninitialized in this function [-Wmaybe-uninitialized] if (avfilter_graph_create_filter(&pad->buffer, dst_filter, ^

[370/440] Compiling osdep/main-fn-win.c [371/440] Compiling video/mp_image_pool.c [372/440] Compiling video/decode/d3d.c [373/440] Compiling player/scripting.c [374/440] Compiling sub/img_convert.c [375/440] Compiling demux/demux_mkv_timeline.c [376/440] Compiling player/external_files.c [377/440] Compiling osdep/windows_utils.c [378/440] Compiling audio/filter/tools.c [379/440] Compiling osdep/subprocess.c [380/440] Compiling audio/filter/af_pan.c [381/440] Compiling video/out/win32/displayconfig.c [382/440] Compiling misc/dispatch.c [383/440] Compiling stream/stream_memory.c [384/440] Compiling video/csputils.c [385/440] Compiling audio/out/ao_null.c [386/440] Compiling demux/demux_raw.c [387/440] Compiling video/filter/vf_rotate.c [388/440] Compiling audio/filter/af.c [389/440] Compiling player/screenshot.c [390/440] Compiling player/lua.c [391/440] Compiling video/img_format.c [392/440] Compiling demux/demux_playlist.c [393/440] Compiling video/out/bitmap_packer.c [394/440] Compiling options/options.c [395/440] Compiling video/decode/vd_lavc.c [396/440] Compiling video/out/dither.c [397/440] Compiling video/out/opengl/lcms.c [398/440] Compiling audio/filter/af_equalizer.c [399/440] Compiling video/out/opengl/video.c [400/440] Compiling video/out/opengl/context.c [401/440] Compiling video/out/opengl/utils.c [402/440] Compiling osdep/win32/pthread.c [403/440] Compiling video/mp_image.c [404/440] Compiling options/parse_commandline.c [405/440] Compiling demux/demux_playlist.c [406/440] Compiling osdep/timer.c [407/440] Compiling video/filter/vf_noformat.c [408/440] Compiling audio/chmap_sel.c [409/440] Compiling common/playlist.c [410/440] Compiling video/filter/vf_expand.c [411/440] Compiling stream/stream_lavf.c [412/440] Compiling stream/stream_file.c [413/440] Compiling video/out/vo_opengl.c [414/440] Compiling video/out/bitmap_packer.c [415/440] Compiling input/cmd_parse.c [416/440] Compiling sub/sd_lavc.c [417/440] Compiling sub/osd.c [418/440] Compiling stream/tv.c [419/440] Compiling player/lua.c [420/440] Compiling options/path.c [421/440] Compiling player/configfiles.c [422/440] Compiling audio/decode/ad_lavc.c [423/440] Compiling player/configfiles.c [424/440] Compiling video/filter/vf_format.c [425/440] Compiling video/out/vo_lavc.c [426/440] Compiling video/out/opengl/superxbr.c [427/440] Compiling video/filter/vf_mirror.c [428/440] Compiling stream/stream_edl.c [429/440] Compiling video/filter/vf_flip.c [430/440] Compiling demux/demux_edl.c [431/440] Compiling video/out/opengl/context_angle.c [432/440] Compiling video/out/w32_common.c [433/440] Compiling demux/demux_tv.c [434/440] Compiling video/out/opengl/context_dxinterop.c [435/440] Compiling stream/stream_file.c [436/440] Compiling video/out/vo_direct3d.c [437/440] Compiling stream/tvi_dummy.c [438/440] Linking build/mpv.com [439/440] Linking build/mpv.exe [440/440] Linking build/mpv-1.dll Waf: Leaving directory `/home/lex/mpv/build' 'build' finished successfully (1m17.920s)

ghost commented 8 years ago

Well, the only thing that I can imagine that could go wrong is that something with your own OpenGL usage and that of mpv's conflict.