summaryrefslogtreecommitdiff
path: root/toxav/codec.c
diff options
context:
space:
mode:
Diffstat (limited to 'toxav/codec.c')
-rw-r--r--toxav/codec.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/toxav/codec.c b/toxav/codec.c
index 595c0359..ae24a976 100644
--- a/toxav/codec.c
+++ b/toxav/codec.c
@@ -343,7 +343,8 @@ CodecState *codec_init_session ( uint32_t audio_bitrate,
343 /*video_width = 320; 343 /*video_width = 320;
344 video_height = 240; */ 344 video_height = 240; */
345 } else { 345 } else {
346 retu->capabilities |= ( 0 == init_video_encoder(retu, max_video_width, max_video_height, video_bitrate) ) ? v_encoding : 0; 346 retu->capabilities |= ( 0 == init_video_encoder(retu, max_video_width, max_video_height,
347 video_bitrate) ) ? v_encoding : 0;
347 retu->capabilities |= ( 0 == init_video_decoder(retu) ) ? v_decoding : 0; 348 retu->capabilities |= ( 0 == init_video_decoder(retu) ) ? v_decoding : 0;
348 } 349 }
349 350