summaryrefslogtreecommitdiff
path: root/toxav/media.h
diff options
context:
space:
mode:
Diffstat (limited to 'toxav/media.h')
-rw-r--r--toxav/media.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/toxav/media.h b/toxav/media.h
index 323d22fd..e4cb915f 100644
--- a/toxav/media.h
+++ b/toxav/media.h
@@ -38,14 +38,14 @@
38/* Audio encoding/decoding */ 38/* Audio encoding/decoding */
39#include <opus/opus.h> 39#include <opus/opus.h>
40 40
41enum _actions 41typedef enum _Capabilities
42{ 42{
43 no_actions, 43 none,
44 a_encoding = 1 << 0, 44 a_encoding = 1 << 0,
45 a_decoding = 1 << 1, 45 a_decoding = 1 << 1,
46 v_encoding = 1 << 2, 46 v_encoding = 1 << 2,
47 v_decoding = 1 << 3 47 v_decoding = 1 << 3
48}; 48} Capabilities;
49 49
50typedef struct _CodecState { 50typedef struct _CodecState {
51 51
@@ -64,7 +64,7 @@ typedef struct _CodecState {
64 /* audio decoding */ 64 /* audio decoding */
65 OpusDecoder *audio_decoder; 65 OpusDecoder *audio_decoder;
66 66
67 uint64_t supported_actions; /* Encoding decoding etc */ 67 uint64_t capabilities; /* supports*/
68 68
69} CodecState; 69} CodecState;
70 70