summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGwenole Beauchesne <gwenole.beauchesne@intel.com>2014-01-23 22:47:19 +0100
committerGwenole Beauchesne <gwenole.beauchesne@intel.com>2014-01-23 22:50:03 +0100
commitcab11ef609622097052b9b4d5b854a73ce6c4fa1 (patch)
tree33e288219f4e969f98f70265a0cd41aebd228eff
parent614aa4ac95f6ddc5103ca4f6e2098b23cd9f8334 (diff)
downloadgst-vaapi-cab11ef609622097052b9b4d5b854a73ce6c4fa1.tar.gz
build: fix warnings on 64-bit platforms.
-rw-r--r--gst-libs/gst/vaapi/gstvaapidecoder.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/gst-libs/gst/vaapi/gstvaapidecoder.c b/gst-libs/gst/vaapi/gstvaapidecoder.c
index 9224b1a2..aeb5d050 100644
--- a/gst-libs/gst/vaapi/gstvaapidecoder.c
+++ b/gst-libs/gst/vaapi/gstvaapidecoder.c
@@ -375,7 +375,7 @@ push_frame(GstVaapiDecoder *decoder, GstVideoCodecFrame *frame)
GstVaapiSurfaceProxy * const proxy = frame->user_data;
GST_DEBUG("push frame %d (surface 0x%08x)", frame->system_frame_number,
- GST_VAAPI_SURFACE_PROXY_SURFACE_ID(proxy));
+ (guint32) GST_VAAPI_SURFACE_PROXY_SURFACE_ID(proxy));
g_async_queue_push(decoder->frames, gst_video_codec_frame_ref(frame));
}
@@ -395,7 +395,8 @@ pop_frame(GstVaapiDecoder *decoder, guint64 timeout)
proxy = frame->user_data;
GST_DEBUG("pop frame %d (surface 0x%08x)", frame->system_frame_number,
- proxy ? GST_VAAPI_SURFACE_PROXY_SURFACE_ID(proxy) : VA_INVALID_ID);
+ (proxy ? (guint32) GST_VAAPI_SURFACE_PROXY_SURFACE_ID(proxy) :
+ VA_INVALID_ID));
return frame;
}