mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 17:20:36 +00:00
Fix warnings.
This commit is contained in:
parent
a4244820af
commit
9c8c33857f
4 changed files with 1 additions and 6 deletions
|
@ -79,12 +79,11 @@ x11_create_window(Display *dpy, guint w, guint h, Visual *vis, Colormap cmap)
|
||||||
XSetWindowAttributes xswa;
|
XSetWindowAttributes xswa;
|
||||||
unsigned long xswa_mask;
|
unsigned long xswa_mask;
|
||||||
XWindowAttributes wattr;
|
XWindowAttributes wattr;
|
||||||
unsigned long black_pixel, white_pixel;
|
unsigned long black_pixel;
|
||||||
|
|
||||||
screen = DefaultScreen(dpy);
|
screen = DefaultScreen(dpy);
|
||||||
rootwin = RootWindow(dpy, screen);
|
rootwin = RootWindow(dpy, screen);
|
||||||
black_pixel = BlackPixel(dpy, screen);
|
black_pixel = BlackPixel(dpy, screen);
|
||||||
white_pixel = WhitePixel(dpy, screen);
|
|
||||||
|
|
||||||
if (!vis)
|
if (!vis)
|
||||||
vis = DefaultVisual(dpy, screen);
|
vis = DefaultVisual(dpy, screen);
|
||||||
|
|
|
@ -56,7 +56,6 @@ static void
|
||||||
gst_vaapi_video_converter_glx_class_init(GstVaapiVideoConverterGLXClass *klass)
|
gst_vaapi_video_converter_glx_class_init(GstVaapiVideoConverterGLXClass *klass)
|
||||||
{
|
{
|
||||||
GObjectClass *object_class = G_OBJECT_CLASS (klass);
|
GObjectClass *object_class = G_OBJECT_CLASS (klass);
|
||||||
GParamSpec *pspec;
|
|
||||||
|
|
||||||
g_type_class_add_private (klass, sizeof (GstVaapiVideoConverterGLXPrivate));
|
g_type_class_add_private (klass, sizeof (GstVaapiVideoConverterGLXPrivate));
|
||||||
object_class->dispose = gst_vaapi_video_converter_glx_dispose;
|
object_class->dispose = gst_vaapi_video_converter_glx_dispose;
|
||||||
|
|
|
@ -517,7 +517,6 @@ gst_vaapidecode_class_init(GstVaapiDecodeClass *klass)
|
||||||
static gboolean
|
static gboolean
|
||||||
gst_vaapidecode_ensure_allowed_caps(GstVaapiDecode *decode)
|
gst_vaapidecode_ensure_allowed_caps(GstVaapiDecode *decode)
|
||||||
{
|
{
|
||||||
GstVaapiDisplay *display;
|
|
||||||
GstCaps *decode_caps;
|
GstCaps *decode_caps;
|
||||||
guint i, n_decode_caps;
|
guint i, n_decode_caps;
|
||||||
|
|
||||||
|
|
|
@ -404,8 +404,6 @@ gst_vaapisink_ensure_window_xid(GstVaapiSink *sink, guintptr window_id)
|
||||||
static gboolean
|
static gboolean
|
||||||
gst_vaapisink_start(GstBaseSink *base_sink)
|
gst_vaapisink_start(GstBaseSink *base_sink)
|
||||||
{
|
{
|
||||||
GstVaapiSink * const sink = GST_VAAPISINK(base_sink);
|
|
||||||
|
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue