mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-17 11:45:25 +00:00
tsdemux: move some debug prints at the log level
This commit is contained in:
parent
28a2902a7b
commit
065d421d34
1 changed files with 3 additions and 4 deletions
|
@ -1297,7 +1297,7 @@ gst_ts_demux_queue_data (GstTSDemux * demux, TSDemuxStream * stream,
|
||||||
guint8 *data;
|
guint8 *data;
|
||||||
guint size;
|
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;
|
size = packet->data_end - packet->payload;
|
||||||
data = packet->payload;
|
data = packet->payload;
|
||||||
|
@ -1547,13 +1547,12 @@ gst_ts_demux_handle_packet (GstTSDemux * demux, TSDemuxStream * stream,
|
||||||
{
|
{
|
||||||
GstFlowReturn res = GST_FLOW_OK;
|
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,
|
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->payload_unit_start_indicator, packet->adaptation_field_control,
|
||||||
packet->continuity_counter, packet->payload);
|
packet->continuity_counter, packet->payload);
|
||||||
|
|
||||||
if (section) {
|
if (section) {
|
||||||
GST_DEBUG ("section complete:%d, buffer size %d",
|
GST_LOG ("section complete:%d, buffer size %d",
|
||||||
section->complete, section->section_length);
|
section->complete, section->section_length);
|
||||||
return res;
|
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)
|
if (packet->payload && (res == GST_FLOW_OK || res == GST_FLOW_NOT_LINKED)
|
||||||
&& stream->pad) {
|
&& stream->pad) {
|
||||||
gst_ts_demux_queue_data (demux, stream, packet);
|
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);
|
stream->current_size, stream->expected_size);
|
||||||
/* Finally check if the data we queued completes a packet */
|
/* Finally check if the data we queued completes a packet */
|
||||||
if (stream->expected_size && stream->current_size == stream->expected_size) {
|
if (stream->expected_size && stream->current_size == stream->expected_size) {
|
||||||
|
|
Loading…
Reference in a new issue