summaryrefslogtreecommitdiffstats
path: root/libmpcodecs
diff options
context:
space:
mode:
authorUoti Urpala <uau@glyph.nonexistent.invalid>2010-11-06 03:39:49 +0200
committerUoti Urpala <uau@glyph.nonexistent.invalid>2010-11-06 23:29:00 +0200
commit393bb7bb989d8939e2ff38b5eb6da5a797809a03 (patch)
tree3cf5b6a8c2a26f9ba4b204a65abafc6f2a6f5b3c /libmpcodecs
parent661d909f8e0fdb9157b858e24db0c23ab61e55e9 (diff)
downloadmpv-393bb7bb989d8939e2ff38b5eb6da5a797809a03.tar.bz2
mpv-393bb7bb989d8939e2ff38b5eb6da5a797809a03.tar.xz
demux_lavf: add hack for stream-changing ogg input (internet radio)
Some internet radio streams are ogg/vorbis with a new stream for each track (and the previous stream stops receiving data). Add a hack to ignore the stream number in packets when input seems to match this case; all packets will be effectively regarded as parts of the same audio stream. This workaround can't work perfectly with current lavf because it will keep adding streams and then hit its 20 stream maximum; at that point playback will likely fail. Print a warning about this problem and mention "-demuxer ogg" as a possible workaround. Currently there's no check that the vorbis extradata is actually compatible between the streams.
Diffstat (limited to 'libmpcodecs')
0 files changed, 0 insertions, 0 deletions