qt4: Updated to v4.7.3
[openembedded.git] / recipes / qt4 / qt-4.7.3 / 0010-phonon-gstreamer-rgb-endianess.patch
1 --- a/src/3rdparty/phonon/gstreamer/qwidgetvideosink.cpp
2 +++ b/src/3rdparty/phonon/gstreamer/qwidgetvideosink.cpp
3 @@ -18,6 +18,7 @@
4  #include <QApplication>
5  #include "videowidget.h"
6  #include "qwidgetvideosink.h"
7 +#include <gst/video/video.h>
8  
9  QT_BEGIN_NAMESPACE
10  
11 @@ -106,11 +107,7 @@ static GstStaticPadTemplate template_factory_rgb =
12      GST_STATIC_PAD_TEMPLATE("sink",
13                              GST_PAD_SINK,
14                              GST_PAD_ALWAYS,
15 -                            GST_STATIC_CAPS("video/x-raw-rgb, "
16 -                                            "framerate = (fraction) [ 0, MAX ], "
17 -                                            "width = (int) [ 1, MAX ], "
18 -                                            "height = (int) [ 1, MAX ],"
19 -                                            "bpp = (int) 32"));
20 +                            GST_STATIC_CAPS(GST_VIDEO_CAPS_xRGB_HOST_ENDIAN));
21  
22  template <VideoFormat FMT>
23  struct template_factory;