[Pkg-gstreamer-commits] [gstreamer-vaapi] 174/176: build: fix warnings on 64-bit platforms.

Vincent Cheng vcheng at moszumanska.debian.org
Tue Jun 3 08:09:38 UTC 2014


This is an automated email from the git hooks/post-receive script.

vcheng pushed a commit to branch upstream
in repository gstreamer-vaapi.

commit cab11ef609622097052b9b4d5b854a73ce6c4fa1
Author: Gwenole Beauchesne <gwenole.beauchesne at intel.com>
Date:   Thu Jan 23 22:47:19 2014 +0100

    build: fix warnings on 64-bit platforms.
---
 gst-libs/gst/vaapi/gstvaapidecoder.c | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/gst-libs/gst/vaapi/gstvaapidecoder.c b/gst-libs/gst/vaapi/gstvaapidecoder.c
index 9224b1a..aeb5d05 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;
 }

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-gstreamer/gstreamer-vaapi.git



More information about the Pkg-gstreamer-commits mailing list