demux_lavf: don't autoselect attached pictures as video
commit7c46aeb298decd2a14dac5d35575fd679f4c6001
authorUoti Urpala <uau@mplayer2.org>
Mon, 4 Feb 2013 16:29:17 +0000 (4 18:29 +0200)
committerUoti Urpala <uau@mplayer2.org>
Mon, 4 Feb 2013 16:29:17 +0000 (4 18:29 +0200)
tree02baedd6140eeadd7fae8cca4a6ad61154a0e022
parent671c39555607989ea57f85bdf5a81e5c44236767
demux_lavf: don't autoselect attached pictures as video

Libavformat exports attached cover pictures from audio files as
"video" tracks. Prevent choosing such tracks as automatically shown
video tracks. Opening a video window to show these for some audio
files while other audio files play in terminal only is questionable,
and these also cause technical problems with some files because they
do not behave like real video tracks.
libmpdemux/demux_lavf.c
libmpdemux/stheader.h