qt-gstreamer: qtvideosink: Cleanup code in the opengl backend.

George Kiagiadakis gkiagia at kemper.freedesktop.org
Tue Feb 7 09:13:25 PST 2012


Module: qt-gstreamer
Branch: master
Commit: 06a8ba091cda7fcd058de03214f4527d9ccabbf8
URL:    http://cgit.freedesktop.org/gstreamer/qt-gstreamer/commit/?id=06a8ba091cda7fcd058de03214f4527d9ccabbf8

Author: George Kiagiadakis <george.kiagiadakis at collabora.com>
Date:   Sat Jan 14 20:00:26 2012 +0200

qtvideosink: Cleanup code in the opengl backend.

* Reduce code duplication.
* Get rid of the internal QGLContext pointer.
* Use QPainter to paint the black areas
  as the previous code is not compatible with OpenGL ES.

---

 elements/gstqtvideosink/gstqtvideosinksurface.cpp |    6 +-
 elements/gstqtvideosink/openglsurfacepainter.cpp  |  203 ++++++++-------------
 elements/gstqtvideosink/openglsurfacepainter.h    |   27 ++-
 3 files changed, 96 insertions(+), 140 deletions(-)

Diff:   http://cgit.freedesktop.org/gstreamer/qt-gstreamer/diff/?id=06a8ba091cda7fcd058de03214f4527d9ccabbf8


More information about the gstreamer-commits mailing list