ffplay: remove VideoPicture pix_fmt and use frame pixel format instead
authorMarton Balint <cus@passwd.hu>
Mon, 28 May 2012 22:20:11 +0000 (00:20 +0200)
committerMarton Balint <cus@passwd.hu>
Tue, 29 May 2012 20:41:50 +0000 (22:41 +0200)
commitf1a75aa033db9e8beceb0b44d797decfc41fd469
tree019fb227e79199412f6855c530e1df49ec8ed6e9
parent15751e3fdd66f595f25692d180d6f154af2da11c
ffplay: remove VideoPicture pix_fmt and use frame pixel format instead

VideoPicture pixel format is set at allocation time, therefore it is not
reflecting the proper value.

Fixes files with changing pixel format in the avfilter disabled case.

Signed-off-by: Marton Balint <cus@passwd.hu>
ffplay.c