From e3b694a457f186bcf35a7afe3ce0d456cb74aab8 Mon Sep 17 00:00:00 2001 From: Gilbok Lee Date: Tue, 12 Jan 2016 14:33:25 +0900 Subject: [PATCH] Fix type casting bug in video_frame_cb function Change-Id: I0b659a127427e3955396aee3c2b5fe28abfa8a91 Signed-off-by: Gilbok Lee --- client/src/player2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/src/player2.c b/client/src/player2.c index 781f182..8b49f29 100644 --- a/client/src/player2.c +++ b/client/src/player2.c @@ -470,7 +470,7 @@ static void __media_packet_video_frame_cb_handler(callback_cb_info_s *cb_info, c player_msg_get(key[3], recvMsg); player_msg_get_type(packet, recvMsg, POINTER); player_msg_get(mimetype, recvMsg); - player_msg_get(pts, recvMsg); + player_msg_get_type(pts, recvMsg, INT64); player_msg_get_array(surface_info, recvMsg); LOGD("width %d, height %d", sinfo.width, sinfo.height); -- 2.7.4