handle->property->video_cb_probe_id = gst_pad_add_probe(handle->decoder_vidp->sinkdecvideopad, GST_PAD_PROBE_TYPE_BUFFER, _mm_cb_video_output_stream_probe, handle, NULL);
/* must use sinkpad (sinkpad => srcpad) */
- debug_log("video_cb_probe_sink_id: %d", handle->property->video_cb_probe_id);
+ debug_log("video_cb_probe_sink_id: %lu", handle->property->video_cb_probe_id);
gst_bin_add(GST_BIN(handle->pipeline), handle->decoder_vidp->decvideobin);
if (handle->property->has_audio_stream) {
ret = _mm_decode_audio_output_create(handle);
if (ret == MM_ERROR_NONE) {
- debug_log("Success - Create audiobin pipeline: 0x%2x", handle->decoder_audp->decaudiobin);
+ debug_log("Success - Create audiobin pipeline: %p", handle->decoder_audp->decaudiobin);
} else {
debug_error("ERROR - Create audiobin pipeline");
return ret;
if (handle->property->has_video_stream) {
ret = _mm_decode_video_output_create(handle);
if (ret == MM_ERROR_NONE) {
- debug_log("Success - Create videobin pipeline: 0x%2x", handle->decoder_vidp->decvideobin);
+ debug_log("Success - Create videobin pipeline: %p", handle->decoder_vidp->decvideobin);
} else {
debug_error("ERROR -Create videobin pipeline");
return ret;
if (handle->property->videoencoder != MM_VIDEOENCODER_NO_USE) {
handle->encodebin->encvideopad = gst_element_get_request_pad(handle->encodebin->encbin, "video");
if (handle->encodebin->encvideopad) {
- debug_log("encvideopad: 0x%2x", handle->encodebin->encvideopad);
+ debug_log("encvideopad: %p", handle->encodebin->encvideopad);
gst_pad_link(handle->decoder_vidp->srcdecvideopad, handle->encodebin->encvideopad);
handle->encodebin->audio_event_probe_id = gst_pad_add_probe(handle->encodebin->encvideopad, GST_PAD_PROBE_TYPE_EVENT_DOWNSTREAM, _mm_cb_encodebin_sinkpad_event_probe, handle, NULL);
} else {
if (handle->property->audioencoder != MM_AUDIOENCODER_NO_USE) {
handle->encodebin->encaudiopad = gst_element_get_request_pad(handle->encodebin->encbin, "audio");
if (handle->encodebin->encaudiopad) {
- debug_log("encaudiopad: 0x%2x", handle->encodebin->encaudiopad);
+ debug_log("encaudiopad: %p", handle->encodebin->encaudiopad);
gst_pad_link(handle->decoder_audp->srcdecaudiopad, handle->encodebin->encaudiopad);
handle->encodebin->audio_event_probe_id = gst_pad_add_probe(handle->encodebin->encaudiopad, GST_PAD_PROBE_TYPE_EVENT_DOWNSTREAM, _mm_cb_encodebin_sinkpad_event_probe, handle, NULL);
} else {