Commit 89a1c686 authored by Ghislain MARY's avatar Ghislain MARY

Fix VP8RTPFMT_DEBUG.

parent 1756d835
...@@ -354,8 +354,7 @@ static uint32_t get_frame_ts(Vp8RtpFmtFrame *frame) { ...@@ -354,8 +354,7 @@ static uint32_t get_frame_ts(Vp8RtpFmtFrame *frame) {
static void print_packet(void *data) { static void print_packet(void *data) {
Vp8RtpFmtPacket *packet = (Vp8RtpFmtPacket *)data; Vp8RtpFmtPacket *packet = (Vp8RtpFmtPacket *)data;
ms_message("\t\tcseq=%10u\tS=%d\terror=%d", ms_message("\t\tS=%d\terror=%d", packet->pd->start_of_partition, packet->error);
packet->extended_cseq, packet->pd->start_of_partition, packet->error);
} }
static void print_partition(Vp8RtpFmtPartition *partition) { static void print_partition(Vp8RtpFmtPartition *partition) {
...@@ -368,7 +367,7 @@ static void print_frame(void *data) { ...@@ -368,7 +367,7 @@ static void print_frame(void *data) {
Vp8RtpFmtFrame *frame = (Vp8RtpFmtFrame *)data; Vp8RtpFmtFrame *frame = (Vp8RtpFmtFrame *)data;
ms_message("frame [%p]:\tts=%u\tpictureid=0x%04x\tN=%d\terror=%d", ms_message("frame [%p]:\tts=%u\tpictureid=0x%04x\tN=%d\terror=%d",
frame, get_frame_ts(frame), get_frame_pictureid(frame), is_frame_non_reference(frame), frame->error); frame, get_frame_ts(frame), get_frame_pictureid(frame), is_frame_non_reference(frame), frame->error);
for (i = 0; i <= frame->partitions_info.nb_partitions; i++) { for (i = 0; i < frame->partitions_info.nb_partitions; i++) {
print_partition(frame->partitions[i]); print_partition(frame->partitions[i]);
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment