menu "Select GStreamer libav configuration options"
	depends on PACKAGE_gst1-libav

config GST1_LIBAV_IPV6
	bool "Enable IPv6"
	default IPV6

config GST1_LIBAV_PATENTED
	bool "Include patented codecs and technologies"
	default BUILD_PATENTED

config GET_LIBAV_COMMON_AV_SUPPORT
	bool "Include support for common audio/video decoders"
	default y
	select GST1_LIBAV_DECODER_aac if GST1_LIBAV_PATENTED
	select GST1_LIBAV_DECODER_ac3 if GST1_LIBAV_PATENTED
	select GST1_LIBAV_DECODER_h264 if GST1_LIBAV_PATENTED
	select GST1_LIBAV_DECODER_atrac3 if GST1_LIBAV_PATENTED
	select GST1_LIBAV_DECODER_jpegls
	select GST1_LIBAV_DECODER_mp3 if GST1_LIBAV_PATENTED
	select GST1_LIBAV_DECODER_mpeg1video
	select GST1_LIBAV_DECODER_mpeg2video if GST1_LIBAV_PATENTED
	select GST1_LIBAV_DECODER_mpeg4 if GST1_LIBAV_PATENTED
	select GST1_LIBAV_DECODER_mpeg4aac if GST1_LIBAV_PATENTED
	select GST1_LIBAV_DECODER_mpegvideo
	select GST1_LIBAV_DECODER_pcm_s16be
	select GST1_LIBAV_DECODER_pcm_s16le
	select GST1_LIBAV_DECODER_vorbis
	select GST1_LIBAV_DECODER_wmav1 if GST1_LIBAV_PATENTED
	select GST1_LIBAV_DECODER_wmav2 if GST1_LIBAV_PATENTED
	select GST1_LIBAV_DECODER_png
	select GST1_LIBAV_PARSER_aac if GST1_LIBAV_PATENTED
	select GST1_LIBAV_PARSER_h264 if GST1_LIBAV_PATENTED
	select GST1_LIBAV_PARSER_mpegaudio
	select GST1_LIBAV_PARSER_mpegvideo
	select GST1_LIBAV_PARSER_mpeg4video
	select GST1_LIBAV_DEMUXER_ac3
	select GST1_LIBAV_DEMUXER_h264 if GST1_LIBAV_PATENTED
	select GST1_LIBAV_DEMUXER_mp3 if GST1_LIBAV_PATENTED
	select GST1_LIBAV_DEMUXER_mpegvideo if GST1_LIBAV_PATENTED
	select GST1_LIBAV_DEMUXER_ogg

comment "Encoders ---"

config GST1_LIBAV_ENCODER_ac3
	bool "AC3"
	depends on GST1_LIBAV_PATENTED
	select GST1_LIBAV_PARSER_ac3

config GST1_LIBAV_ENCODER_jpegls
	bool "JPEG-LS"

config GST1_LIBAV_ENCODER_mpeg1video
	bool "MPEG-1 Video"

config GST1_LIBAV_ENCODER_mpeg2video
	bool "MPEG-2 Video"
	depends on GST1_LIBAV_PATENTED

config GST1_LIBAV_ENCODER_mpeg4
	bool "MPEG-4"
	depends on GST1_LIBAV_PATENTED

config GST1_LIBAV_ENCODER_pcm_s16be
	bool "PCM signed 16-bit big-endian"

config GST1_LIBAV_ENCODER_pcm_s16le
	bool "PCM signed 16-bit little-endian"

config GST1_LIBAV_ENCODER_png
	bool "PNG"
	select GST1_LIBAV_ENCODER_zlib

config GST1_LIBAV_ENCODER_vorbis
	bool "Vorbis"

config GST1_LIBAV_ENCODER_zlib
	bool "Zlib"

comment "Decoders ---"

config GST1_LIBAV_DECODER_aac
	bool "AAC (Advanced Audio Coding)"
	depends on GST1_LIBAV_PATENTED
	select GST1_LIBAV_PARSER_aac

config GST1_LIBAV_DECODER_ac3
	bool "AC3"
	depends on GST1_LIBAV_PATENTED
	select GST1_LIBAV_PARSER_ac3

config GST1_LIBAV_DECODER_atrac3
	bool "ATRAC3"
	depends on GST1_LIBAV_PATENTED

config GST1_LIBAV_DECODER_gif
	bool "GIF"

config GST1_LIBAV_DECODER_h264
	bool "H.264"
	depends on GST1_LIBAV_PATENTED

config GST1_LIBAV_DECODER_jpegls
	bool "JPEG-LS"

config GST1_LIBAV_DECODER_mp2
	bool "MP2 (MPEG Audio Layer 2)"
	depends on GST1_LIBAV_PATENTED

config GST1_LIBAV_DECODER_mp3
	bool "MP3 (MPEG Audio Layer 2)"
	depends on GST1_LIBAV_PATENTED

config GST1_LIBAV_DECODER_mpegvideo
	bool "MPEG Video"

config GST1_LIBAV_DECODER_mpeg1video
	bool "MPEG-1 Video"

config GST1_LIBAV_DECODER_mpeg2video
	bool "MPEG-2 Video"
	depends on GST1_LIBAV_PATENTED

config GST1_LIBAV_DECODER_mpeg4
	bool "MPEG-4"
	depends on GST1_LIBAV_PATENTED

config GST1_LIBAV_DECODER_mpeg4aac
	bool "MPEG-4 (AAC)"
	depends on GST1_LIBAV_PATENTED

config GST1_LIBAV_DECODER_pcm_s16be
	bool "PCM signed 16-bit big-endian"

config GST1_LIBAV_DECODER_pcm_s16le
	bool "PCM signed 16-bit little-endian"

config GST1_LIBAV_DECODER_png
	bool "PNG"
	select GST1_LIBAV_DECODER_zlib

config GST1_LIBAV_DECODER_vorbis
	bool "Vorbis"

config GST1_LIBAV_DECODER_wmav1
	bool "WMAv1"
	depends on GST1_LIBAV_PATENTED

config GST1_LIBAV_DECODER_wmav2
	bool "WMAv2"
	depends on GST1_LIBAV_PATENTED

config GST1_LIBAV_DECODER_zlib
	bool "Zlib"

comment "Muxers ---"

config GST1_LIBAV_MUXER_ac3
	bool "AC3"
	depends on GST1_LIBAV_PATENTED

config GST1_LIBAV_MUXER_ffm
	bool "FFM (ffserver live feed)"

config GST1_LIBAV_MUXER_h264
	bool "H.264"
	depends on GST1_LIBAV_PATENTED

config GST1_LIBAV_MUXER_mp3
	bool "MP3 (MPEG Audio Layer 3)"

config GST1_LIBAV_MUXER_mp4
	bool "MP4"

config GST1_LIBAV_MUXER_mpeg1video
	bool "MPEG-1 Video"

config GST1_LIBAV_MUXER_mpeg2video
	bool "MPEG-2 Video"

config GST1_LIBAV_MUXER_mpegts
	bool "MPEG-2 (TS)"

config GST1_LIBAV_MUXER_ogg
	bool "Ogg"

config GST1_LIBAV_MUXER_oss
	bool "OSS (Open Sound System playback)"

config GST1_LIBAV_MUXER_rtp
	bool "RTP"

comment "Demuxers ---"

config GST1_LIBAV_DEMUXER_ac3
	bool "AC3"

config GST1_LIBAV_DEMUXER_ffm
	bool "FFM (ffserver live feed)"

config GST1_LIBAV_DEMUXER_h264
	bool "H.264"
	depends on GST1_LIBAV_PATENTED

config GST1_LIBAV_DEMUXER_mp3
	bool "MP3 (MPEG Audio Layer 3)"

config GST1_LIBAV_DEMUXER_mpegvideo
	bool "MPEG Video"

config GST1_LIBAV_DEMUXER_mpegps
	bool "MPEG-2 (PS)"

config GST1_LIBAV_DEMUXER_mpegts
	bool "MPEG-2 (TS)"

config GST1_LIBAV_DEMUXER_ogg
	bool "Ogg"

config GST1_LIBAV_DEMUXER_rm
	bool "RM"
	help
	  RealMedia format demuxer

config GST1_LIBAV_DEMUXER_rtsp
	bool "RTSP"
	select GST1_LIBAV_DEMUXER_rm
	select GST1_LIBAV_DEMUXER_sdp

config GST1_LIBAV_DEMUXER_sdp
	bool "SDP"
	select GST1_LIBAV_DEMUXER_mpegts

comment "Parsers ---"

config GST1_LIBAV_PARSER_aac
	bool "AAC (Advanced Audio Coding)"
	depends on GST1_LIBAV_PATENTED

config GST1_LIBAV_PARSER_ac3
	bool "AC3"

config GST1_LIBAV_PARSER_h264
	bool "H.264"
	depends on GST1_LIBAV_PATENTED
	select GST1_LIBAV_DECODER_h264

config GST1_LIBAV_PARSER_mpegaudio
	bool "MPEG Audio"

config GST1_LIBAV_PARSER_mpegvideo
	bool "MPEG Video"

config GST1_LIBAV_PARSER_mpeg4video
	bool "MPEG-4 Video"

comment "Protocols ---"

config GST1_LIBAV_PROTOCOL_file
	bool "file:"

config GST1_LIBAV_PROTOCOL_http
	bool "http:"

config GST1_LIBAV_PROTOCOL_pipe
	bool "pipe:"

config GST1_LIBAV_PROTOCOL_rtp
	bool "rtp:"
	select GST1_LIBAV_PROTOCOL_udp

config GST1_LIBAV_PROTOCOL_tcp
	bool "tcp:"

config GST1_LIBAV_PROTOCOL_udp
	bool "udp:"

endmenu

