summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAlfred E. Heggestad <aeh@db.org>2015-06-27 10:13:09 +0200
committerAlfred E. Heggestad <aeh@db.org>2015-06-27 10:13:09 +0200
commit4172027f214d50348e3fc029e068e8bb4a140deb (patch)
tree14a9ef65adda898cfefd059d3fdcacbca7d87daf /include
parentf8873153be5480ca6b79741e7cbdf667080e562d (diff)
vidcodec: move packet-handler to encode_update
Diffstat (limited to 'include')
-rw-r--r--include/baresip.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/baresip.h b/include/baresip.h
index 675d8f0..dd9c1c2 100644
--- a/include/baresip.h
+++ b/include/baresip.h
@@ -735,10 +735,10 @@ typedef int (videnc_packet_h)(bool marker, const uint8_t *hdr, size_t hdr_len,
typedef int (videnc_update_h)(struct videnc_state **vesp,
const struct vidcodec *vc,
- struct videnc_param *prm, const char *fmtp);
-typedef int (videnc_encode_h)(struct videnc_state *ves, bool update,
- const struct vidframe *frame,
+ struct videnc_param *prm, const char *fmtp,
videnc_packet_h *pkth, void *arg);
+typedef int (videnc_encode_h)(struct videnc_state *ves, bool update,
+ const struct vidframe *frame);
typedef int (viddec_update_h)(struct viddec_state **vdsp,
const struct vidcodec *vc, const char *fmtp);