Commit 33cce2e7 authored by François Grisez's avatar François Grisez
Browse files

Enable OPUS for the MKV recorder

parent 4b28ead6
......@@ -305,9 +305,8 @@ static void setup_av_recorder(AudioStream *stream, int sample_rate, int nchannel
MSPinFormat pinfmt={0};
stream->av_recorder.video_input=ms_filter_new(MS_ITC_SOURCE_ID);
stream->av_recorder.resampler=ms_filter_new(MS_RESAMPLE_ID);
//#ifdef REMOVE_ME_WHEN_RECORDER_SUPPORTS_OPUS
stream->av_recorder.encoder=ms_filter_new(MS_OPUS_ENC_ID);
//#endif
if (stream->av_recorder.encoder==NULL){
int g711_rate=8000;
int g711_nchannels=1;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment