Commit e045e7b0 authored by Ghislain MARY's avatar Ghislain MARY

Continue VP8 decoding on error.

parent 7a627f30
This diff is collapsed.
......@@ -40,9 +40,7 @@ extern "C"{
Vp8RtpFmtOk = 0,
Vp8RtpFmtInvalidPayloadDescriptor = -1,
Vp8RtpFmtIncompleteFrame = -2,
Vp8RtpFmtIncompletePartition = -3,
Vp8RtpFmtInvalidFrame = -4,
Vp8RtpFmtInvalidPartition = -5
Vp8RtpFmtInvalidFrame = -3
} Vp8RtpFmtErrorCode;
typedef struct Vp8RtpFmtPayloadDescriptor {
......@@ -66,20 +64,30 @@ extern "C"{
Vp8RtpFmtPayloadDescriptor *pd;
uint32_t extended_cseq;
Vp8RtpFmtErrorCode error;
bool_t last_packet_of_frame;
} Vp8RtpFmtPacket;
typedef struct Vp8RtpFmtPartition {
MSList *packets_list;
Vp8RtpFmtErrorCode error;
mblk_t *m;
bool_t last_partition_of_frame;
size_t size;
bool_t has_start;
bool_t has_marker;
bool_t outputted;
} Vp8RtpFmtPartition;
typedef struct Vp8RtpFmtFramePartitionsInfo {
uint32_t partition_sizes[8];
uint8_t nb_partitions;
} Vp8RtpFmtFramePartitionsInfo;
typedef struct Vp8RtpFmtFrame {
MSList *partitions_list;
Vp8RtpFmtFramePartitionsInfo partitions_info;
Vp8RtpFmtPartition *partitions[9];
Vp8RtpFmtErrorCode error;
uint16_t pictureid;
bool_t pictureid_present;
bool_t keyframe;
bool_t reference;
bool_t outputted;
bool_t discarded;
} Vp8RtpFmtFrame;
......
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