diff options
author | Alfred E. Heggestad <aeh@db.org> | 2015-10-25 11:40:36 +0100 |
---|---|---|
committer | Alfred E. Heggestad <aeh@db.org> | 2015-10-25 11:40:36 +0100 |
commit | a3a89a7e299fb6df8cf1b10ae7030188f4b9f260 (patch) | |
tree | 463f6df757c5b1685e91c7f1b0f5d337276fe9e0 /include/baresip.h | |
parent | 31cacbd8168750729198188bd3ad983c0e4cd4c4 (diff) |
added experimental module v4l2_codec
Diffstat (limited to 'include/baresip.h')
-rw-r--r-- | include/baresip.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/baresip.h b/include/baresip.h index b607166..595070f 100644 --- a/include/baresip.h +++ b/include/baresip.h @@ -992,6 +992,11 @@ int h264_nal_send(bool first, bool last, bool marker, uint32_t ihdr, const uint8_t *buf, size_t size, size_t maxsz, videnc_packet_h *pkth, void *arg); +static inline bool h264_is_keyframe(int type) +{ + return type == H264_NAL_SPS; +} + /* * Modules |