/* video parameter*/
wfd_sink_debug("wfd_video_formats.video_codec : %x\n", ini->wfd_video_formats.video_codec);
wfd_sink_debug("wfd_video_formats.video_native_resolution : %x\n", ini->wfd_video_formats.video_native_resolution);
- wfd_sink_debug("wfd_video_formats.video_cea_support : %"G_GINT64_MODIFIER"x\n", ini->wfd_video_formats.video_cea_support);
- wfd_sink_debug("wfd_video_formats.video_vesa_support : %"G_GINT64_MODIFIER"x\n", ini->wfd_video_formats.video_vesa_support);
- wfd_sink_debug("wfd_video_formats.video_hh_support : %"G_GINT64_MODIFIER"x\n", ini->wfd_video_formats.video_hh_support);
+ wfd_sink_debug("wfd_video_formats.video_cea_support : %"G_GUINT64_FORMAT"x\n", ini->wfd_video_formats.video_cea_support);
+ wfd_sink_debug("wfd_video_formats.video_vesa_support : %"G_GUINT64_FORMAT"x\n", ini->wfd_video_formats.video_vesa_support);
+ wfd_sink_debug("wfd_video_formats.video_hh_support : %"G_GUINT64_FORMAT"x\n", ini->wfd_video_formats.video_hh_support);
wfd_sink_debug("wfd_video_formats.video_profile : %x\n", ini->wfd_video_formats.video_profile);
wfd_sink_debug("wfd_video_formats.video_level : %x\n", ini->wfd_video_formats.video_level);
wfd_sink_debug("wfd_video_formats.video_latency : %d\n", ini->wfd_video_formats.video_latency);
wfd_sink_debug("wfd2_video_formats.video_non_transcoding_support : %d\n", ini->wfd2_video_formats.video_non_transcoding_support);
/* video h264 info*/
- wfd_sink_debug("wfd2_video_h264_info.video_cea_support : %"G_GINT64_MODIFIER"x\n", ini->wfd2_video_h264_info.video_cea_support);
- wfd_sink_debug("wfd2_video_h264_info.video_vesa_support : %"G_GINT64_MODIFIER"x\n", ini->wfd2_video_h264_info.video_vesa_support);
- wfd_sink_debug("wfd2_video_h264_info.video_hh_support : %"G_GINT64_MODIFIER"x\n", ini->wfd2_video_h264_info.video_hh_support);
+ wfd_sink_debug("wfd2_video_h264_info.video_cea_support : %"G_GUINT64_FORMAT"x\n", ini->wfd2_video_h264_info.video_cea_support);
+ wfd_sink_debug("wfd2_video_h264_info.video_vesa_support : %"G_GUINT64_FORMAT"x\n", ini->wfd2_video_h264_info.video_vesa_support);
+ wfd_sink_debug("wfd2_video_h264_info.video_hh_support : %"G_GUINT64_FORMAT"x\n", ini->wfd2_video_h264_info.video_hh_support);
wfd_sink_debug("wfd2_video_h264_info.video_profile : %x\n", ini->wfd2_video_h264_info.video_profile);
wfd_sink_debug("wfd2_video_h264_info.video_level : %x\n", ini->wfd2_video_h264_info.video_level);
wfd_sink_debug("wfd2_video_h264_info.video_latency : %d\n", ini->wfd2_video_h264_info.video_latency);
wfd_sink_debug("wfd2_video_h264_info.video_framerate_control_support : %d\n", ini->wfd2_video_h264_info.video_framerate_control_support);
/* video h265 info*/
- wfd_sink_debug("wfd2_video_h265_info.video_cea_support : %llx\n", ini->wfd2_video_h265_info.video_cea_support);
- wfd_sink_debug("wfd2_video_h265_info.video_vesa_support : %llx\n", ini->wfd2_video_h265_info.video_vesa_support);
- wfd_sink_debug("wfd2_video_h265_info.video_hh_support : %llx\n", ini->wfd2_video_h265_info.video_hh_support);
+ wfd_sink_debug("wfd2_video_h265_info.video_cea_support : %"G_GUINT64_FORMAT"x\n", ini->wfd2_video_h265_info.video_cea_support);
+ wfd_sink_debug("wfd2_video_h265_info.video_vesa_support : %"G_GUINT64_FORMAT"x\n", ini->wfd2_video_h265_info.video_vesa_support);
+ wfd_sink_debug("wfd2_video_h265_info.video_hh_support : %"G_GUINT64_FORMAT"x\n", ini->wfd2_video_h265_info.video_hh_support);
wfd_sink_debug("wfd2_video_h265_info.video_profile : %x\n", ini->wfd2_video_h265_info.video_profile);
wfd_sink_debug("wfd2_video_h265_info.video_level : %x\n", ini->wfd2_video_h265_info.video_level);
wfd_sink_debug("wfd2_video_h265_info.video_latency : %d\n", ini->wfd2_video_h265_info.video_latency);
video_minus_compensation = FALSE;
}
} else {
- wfd_sink_debug("first update video average gap(%lld) ", video_avgrage_gap);
+ wfd_sink_debug("first update video average gap(%"G_GINT64_FORMAT"d) ", video_avgrage_gap);
wfd_sink->video_average_gap = video_avgrage_gap;
}
} else {
audio_minus_compensation = FALSE;
}
} else {
- wfd_sink_debug("first update audio average gap(%lld) ", audio_avgrage_gap);
+ wfd_sink_debug("first update audio average gap(%"G_GINT64_FORMAT"d) ", audio_avgrage_gap);
wfd_sink->audio_average_gap = audio_avgrage_gap;
}
} else {
avgrage_gap_diff = audio_avgrage_gap_diff;
}
- wfd_sink_debug("average diff gap difference beween audio:%s%lld and video:%s%lld ",
+ wfd_sink_debug("average diff gap difference beween audio:%s%"G_GINT64_FORMAT"d and video:%s%"G_GINT64_FORMAT"d ",
audio_minus_compensation ? "-" : "", audio_avgrage_gap_diff,
video_minus_compensation ? "-" : "", video_avgrage_gap_diff);
else
ts_offset += avgrage_gap_diff;
- wfd_sink_debug("do timestamp compensation : %s%lld (ts-offset : %"
+ wfd_sink_debug("do timestamp compensation : %s%"G_GINT64_FORMAT"d (ts-offset : %"
GST_TIME_FORMAT") at(%" GST_TIME_FORMAT")",
minus_compensation ? "-" : "", avgrage_gap_diff,
GST_TIME_ARGS(ts_offset), GST_TIME_ARGS(running_time));
if (wfd_sink->pipeline && wfd_sink->pipeline->v_sinkbin && wfd_sink->pipeline->v_sinkbin[WFD_SINK_V_S_SINK].gst)
g_object_set(G_OBJECT(wfd_sink->pipeline->v_sinkbin[WFD_SINK_V_S_SINK].gst), "ts-offset", (gint64)ts_offset, NULL);
} else {
- wfd_sink_debug("don't need to do timestamp compensation : %s%lld (ts-offset : %"GST_TIME_FORMAT ")",
+ wfd_sink_debug("don't need to do timestamp compensation : %s%"G_GINT64_FORMAT"d (ts-offset : %"GST_TIME_FORMAT ")",
minus_compensation ? "-" : "", avgrage_gap_diff, GST_TIME_ARGS(ts_offset));
}
gst_buffer_map(buffer, &buf_info, GST_MAP_READ);
- wfd_sink_debug("got buffer %p with size %d", buffer, buf_info.size);
+ wfd_sink_debug("got buffer %p with size %"G_GSIZE_FORMAT, buffer, buf_info.size);
data = (gint8 *)(buf_info.data);
size = buf_info.size;
GST_TIME_ARGS(segment->start), GST_TIME_ARGS(segment->stop),
GST_TIME_ARGS(segment->time));
- wfd_sink_debug("NEWSEGMENT : flags[%d] rate[%lf] applied_rate[%lf] foramt[%d] base[%lld] offset[%lld] position[%lld] duration[%lld]",
+ wfd_sink_debug("NEWSEGMENT : flags[%d] rate[%lf] applied_rate[%lf] foramt[%d] base[%"G_GUINT64_FORMAT"d] offset[%"G_GUINT64_FORMAT"d] position[%"G_GUINT64_FORMAT"d] duration[%"G_GUINT64_FORMAT"d]",
segment->flags, segment->rate, segment->applied_rate, segment->format, segment->base, segment->offset, segment->position, segment->duration);
}