1 --- a/src/3rdparty/phonon/gstreamer/qwidgetvideosink.cpp
2 +++ b/src/3rdparty/phonon/gstreamer/qwidgetvideosink.cpp
4 #include <QApplication>
5 #include "videowidget.h"
6 #include "qwidgetvideosink.h"
7 +#include <gst/video/video.h>
11 @@ -106,11 +107,7 @@ static GstStaticPadTemplate template_factory_rgb =
12 GST_STATIC_PAD_TEMPLATE("sink",
15 - GST_STATIC_CAPS("video/x-raw-rgb, "
16 - "framerate = (fraction) [ 0, MAX ], "
17 - "width = (int) [ 1, MAX ], "
18 - "height = (int) [ 1, MAX ],"
20 + GST_STATIC_CAPS(GST_VIDEO_CAPS_xRGB_HOST_ENDIAN));
22 template <VideoFormat FMT>
23 struct template_factory;