1
0
mirror of https://github.com/mpv-player/mpv synced 2025-01-15 19:42:53 +00:00
mpv/libmpdemux
wm4 1ba5a8f283 rawaudio: use mplayer audio format for format option
The rawaudio demuxer had a rather hard to use way to set the audio
format with the --rawaudio=format=value option. The user had to pass a
numeric value, which then was set as wFormatTag member in the
WAVEFORMATEX header.

Make it use the mplayer audio format (the same as --af=format=value).
Add a new internal pseudo audio codec tag, which is hopefully unused,
which makes ad_pcm use the value in wFormatTag as internal mplayer
audio format.

Playing non-PCM formats is disabled. (At least AC3 can be played
directly.)
2012-09-18 21:07:29 +02:00
..
asf.h Change <endian.h> include to <sys/types.h> 2012-07-31 23:37:56 +02:00
asfguid.h
asfheader.c
asfheader.h
aviheader.c
aviheader.h Change <endian.h> include to <sys/types.h> 2012-07-31 23:37:56 +02:00
aviprint.c
aviprint.h
demux_asf.c demux, vd_ffmpeg: fix demux keyframe flag, set AV_PKT_FLAG_KEY 2012-07-25 01:10:30 +03:00
demux_avi.c Remove some demuxers and decoders 2012-07-30 22:14:32 +02:00
demux_cue.c
demux_edl.c
demux_gif.c demux_gif: change format of packets to make it work again 2012-08-20 15:36:05 +02:00
demux_lavf.c demuxer: do not set sub_utf8 option 2012-09-18 21:04:46 +02:00
demux_mf.c demux_mf: add j2c and jpc as jpeg2k, add tiff extension as tif image 2012-08-03 01:43:44 +02:00
demux_mkv.c demuxer: remove ImageDesc field 2012-09-18 21:04:46 +02:00
demux_mng.c vd_ffmpeg, demux_mng: allow general raw formats, fix MNG demuxer 2012-08-20 15:36:04 +02:00
demux_packet.h demux, vd_ffmpeg: fix demux keyframe flag, set AV_PKT_FLAG_KEY 2012-07-25 01:10:30 +03:00
demux_rawaudio.c rawaudio: use mplayer audio format for format option 2012-09-18 21:07:29 +02:00
demux_rawvideo.c
demuxer.c core: fix DVD subtitle selection 2012-09-18 21:04:45 +02:00
demuxer.h core: fix DVD subtitle selection 2012-09-18 21:04:45 +02:00
ebml.c
ebml.h
extension.c libmpdemux: remove demux_real, demux_viv, demux_audio 2012-08-20 15:36:02 +02:00
matroska.h
mf.c
mf.h
mp_taglists.c
mp_taglists.h
ms_hdr.h Change <endian.h> include to <sys/types.h> 2012-07-31 23:37:56 +02:00
stheader.h demuxer: remove ImageDesc field 2012-09-18 21:04:46 +02:00
video.c Remove support for LIVE555 RTSP streaming 2012-08-20 15:36:03 +02:00