diff options
author | wm4 <wm4@nowhere> | 2013-04-26 12:17:43 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2013-04-26 20:40:24 +0200 |
commit | 3ffeeee411614ebc93bb5dbdd2a71a85279af3b2 (patch) | |
tree | 847391fa4142bd056643e19fdf999fa9fc3aad04 /demux/aviprint.c | |
parent | 3765cfcf57e0232b5e96e77d9dd628755f1c0518 (diff) | |
download | mpv-3ffeeee411614ebc93bb5dbdd2a71a85279af3b2.tar.bz2 mpv-3ffeeee411614ebc93bb5dbdd2a71a85279af3b2.tar.xz |
vf_lavfi: silence stupid deprecation warning
libavfilter changed the way a format list is passed to vf_format. Now
you have to separate formats with "|" instead of ":". If you use "|",
it prints an annoying message on every reinit:
[format @ 0x8bbaaa0]This syntax is deprecated. Use '|' to separate the list items.
...and it will probably stop working without warning at some point in
the future.
We need some very annoying ifdeffery to detect this case, because
libavfilter version numbers are just plain incompatible between Libav
and ffmpeg. There is no other way to detect this.
(Sometimes I wonder whether ffmpeg and especially Libav actually like
causing unnecessary pain for their users, and intentionally break stuff
in the most annoying way possible. Sigh...)
Diffstat (limited to 'demux/aviprint.c')
0 files changed, 0 insertions, 0 deletions