diff options
author | Alfred E. Heggestad <aeh@db.org> | 2016-08-17 17:58:53 +0200 |
---|---|---|
committer | Alfred E. Heggestad <aeh@db.org> | 2016-08-17 17:58:53 +0200 |
commit | 51bcb910977c7de70eb59add3c8f7bc3cfce8aa2 (patch) | |
tree | 9d710f86d5c631accf80ab2f5e84ea0c72305e9b /modules/vp8/vp8.h | |
parent | a8352d927271b380cb9f9e486b25a504fd61cf0a (diff) |
vidcodec: add 'intra' parameter to decoder api
- the intra flag must be set to true, if the decoded video frame
is a full intra frame (Key frame)
- the video decoder can use this flag to cancel sending
of FIR packets
Diffstat (limited to 'modules/vp8/vp8.h')
-rw-r--r-- | modules/vp8/vp8.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/vp8/vp8.h b/modules/vp8/vp8.h index 934e3ee..c0e262a 100644 --- a/modules/vp8/vp8.h +++ b/modules/vp8/vp8.h @@ -21,7 +21,7 @@ int vp8_encode(struct videnc_state *ves, bool update, int vp8_decode_update(struct viddec_state **vdsp, const struct vidcodec *vc, const char *fmtp); int vp8_decode(struct viddec_state *vds, struct vidframe *frame, - bool marker, uint16_t seq, struct mbuf *mb); + bool *intra, bool marker, uint16_t seq, struct mbuf *mb); /* SDP */ |