summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArnaud Vrac <avrac@freebox.fr>2013-05-24 10:59:55 +0200
committerEdward Hervey <edward@collabora.com>2013-06-12 08:01:20 +0200
commit065d421d34908eedabfe0690d77436e1dd9aa046 (patch)
tree501518fe7905736d3ffa9b651b0fa4d7eaafb9c6
parent28a2902a7b6601785c9237dfb6218a68f1845083 (diff)
tsdemux: move some debug prints at the log level
-rw-r--r--gst/mpegtsdemux/tsdemux.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/gst/mpegtsdemux/tsdemux.c b/gst/mpegtsdemux/tsdemux.c
index 475f9cecc..73c11c8af 100644
--- a/gst/mpegtsdemux/tsdemux.c
+++ b/gst/mpegtsdemux/tsdemux.c
@@ -1297,7 +1297,7 @@ gst_ts_demux_queue_data (GstTSDemux * demux, TSDemuxStream * stream,
guint8 *data;
guint size;
- GST_DEBUG ("pid: 0x%04x state:%d", stream->stream.pid, stream->state);
+ GST_LOG ("pid: 0x%04x state:%d", stream->stream.pid, stream->state);
size = packet->data_end - packet->payload;
data = packet->payload;
@@ -1547,13 +1547,12 @@ gst_ts_demux_handle_packet (GstTSDemux * demux, TSDemuxStream * stream,
{
GstFlowReturn res = GST_FLOW_OK;
- GST_DEBUG ("data:%p", packet->data);
GST_LOG ("pid 0x%04x pusi:%d, afc:%d, cont:%d, payload:%p", packet->pid,
packet->payload_unit_start_indicator, packet->adaptation_field_control,
packet->continuity_counter, packet->payload);
if (section) {
- GST_DEBUG ("section complete:%d, buffer size %d",
+ GST_LOG ("section complete:%d, buffer size %d",
section->complete, section->section_length);
return res;
}
@@ -1566,7 +1565,7 @@ gst_ts_demux_handle_packet (GstTSDemux * demux, TSDemuxStream * stream,
if (packet->payload && (res == GST_FLOW_OK || res == GST_FLOW_NOT_LINKED)
&& stream->pad) {
gst_ts_demux_queue_data (demux, stream, packet);
- GST_DEBUG ("current_size:%d, expected_size:%d",
+ GST_LOG ("current_size:%d, expected_size:%d",
stream->current_size, stream->expected_size);
/* Finally check if the data we queued completes a packet */
if (stream->expected_size && stream->current_size == stream->expected_size) {