mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-02-04 06:08:26 +02:00
avformat/oggenc: make flac the default for oga muxer
This allows simpler selection of flac in ogg from the command line, while following the RFC 5334 recommendation[1] for the oga extension. [1] https://tools.ietf.org/html/rfc5334#section-10.3 Reviewed-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: James Almer <jamrial@gmail.com>
This commit is contained in:
parent
70d418c7e6
commit
f60b54902f
@ -688,8 +688,7 @@ AVOutputFormat ff_oga_muxer = {
|
||||
.mime_type = "audio/ogg",
|
||||
.extensions = "oga",
|
||||
.priv_data_size = sizeof(OGGContext),
|
||||
.audio_codec = CONFIG_LIBVORBIS_ENCODER ?
|
||||
AV_CODEC_ID_VORBIS : AV_CODEC_ID_FLAC,
|
||||
.audio_codec = AV_CODEC_ID_FLAC,
|
||||
.write_header = ogg_write_header,
|
||||
.write_packet = ogg_write_packet,
|
||||
.write_trailer = ogg_write_trailer,
|
||||
|
Loading…
x
Reference in New Issue
Block a user