goto ERROR;
}
- LOGD("stream type is %d", stream_type);
-
switch (GST_EVENT_TYPE(event)) {
case GST_EVENT_EOS:
{
/* in case of gapless, drop eos event not to send it to sink */
if (player->gapless.reconfigure && !player->msg_posted) {
- LOGD("%s:%s EOS received but will be drop", GST_DEBUG_PAD_NAME(pad));
+ LOGD("[%d] %s:%s EOS received but will be drop", stream_type, GST_DEBUG_PAD_NAME(pad));
ret = GST_PAD_PROBE_DROP;
}
break;
break;
}
- LOGD("Adjusting QOS event: %" GST_TIME_FORMAT " - %" GST_TIME_FORMAT " = %"
- GST_TIME_FORMAT, GST_TIME_ARGS(timestamp),
- GST_TIME_ARGS(running_time_diff),
- GST_TIME_ARGS(timestamp - running_time_diff));
+ LOGD("[%d] Adjusting QOS event: %" GST_TIME_FORMAT
+ " - %" GST_TIME_FORMAT " = %" GST_TIME_FORMAT,
+ stream_type, GST_TIME_ARGS(timestamp),
+ GST_TIME_ARGS(running_time_diff),
+ GST_TIME_ARGS(timestamp - running_time_diff));
timestamp -= running_time_diff;