Skip to content

Commit

Permalink
opengl: cvpx: specify texture scale for NV12
Browse files Browse the repository at this point in the history
  • Loading branch information
tguillem committed Nov 28, 2017
1 parent ce8ea99 commit 470738b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions modules/video_output/opengl/converter_cvpx.c
Original file line number Diff line number Diff line change
Expand Up @@ -231,6 +231,7 @@ Open(vlc_object_t *obj)
fragment_shader =
opengl_fragment_shader_init(tc, tex_target, VLC_CODEC_NV12,
tc->fmt.space);
tc->texs[1].h = (vlc_rational_t) { 1, 2 };
break;
}
case VLC_CODEC_CVPX_I420:
Expand Down

0 comments on commit 470738b

Please sign in to comment.