glimagesink: Cache caps for passing to the client draw call
authorJan Schmidt <jan@centricular.com>
Tue, 28 Apr 2015 16:30:05 +0000 (02:30 +1000)
committerTim-Philipp Müller <tim@centricular.com>
Sat, 9 Dec 2017 19:32:00 +0000 (19:32 +0000)
commit7a61e0eca4e5a010879aa3ecad494ab15d7715c0
tree86e933dd09a7437d296e5c0561bc0dc4de2ab032
parent9958df5dd11e27211e9582c7af55cafcbd9afe7c
glimagesink: Cache caps for passing to the client draw call

Don't convert the GstVideoInfo to caps on every draw call,
just cache the caps and pass them into the GstSample.
ext/gl/gstglimagesink.c
ext/gl/gstglimagesink.h