Skip to content

Commit

Permalink
[core/Muxer] Add flac support for muxing (incomplete)
Browse files Browse the repository at this point in the history
  • Loading branch information
mean committed Sep 13, 2016
1 parent e678f57 commit de4312a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions avidemux_core/ADM_coreMuxer/src/ADM_coreMuxerFfmpeg.cpp
Expand Up @@ -325,6 +325,10 @@ bool muxerFFmpeg::initAudio(uint32_t nbAudioTrack,ADM_audioStream **audio)
c->codec_id = AV_CODEC_ID_VORBIS;c->frame_size=6*256;
ffmpuxerSetExtradata(c,audioextraSize,audioextraData);
break;
case WAV_FLAC:
c->codec_id = AV_CODEC_ID_FLAC;
ffmpuxerSetExtradata(c,audioextraSize,audioextraData);
break;
case WAV_DTS: c->codec_id = AV_CODEC_ID_DTS;c->frame_size=1024;break;
case WAV_OPUS: c->codec_id = AV_CODEC_ID_OPUS;
c->frame_size=1024;
Expand Down

0 comments on commit de4312a

Please sign in to comment.