1
0
mirror of https://github.com/mpv-player/mpv synced 2025-02-17 04:58:06 +00:00

give the IMGFMT_ for sh_video->format not 0x0

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3399 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
alex 2001-12-09 15:39:35 +00:00
parent 66830dadb6
commit f5b7d3df3d

View File

@ -244,7 +244,7 @@ int demux_open_tv(demuxer_t *demuxer, tvi_handle_t *tvh)
/* get IMAGE FORMAT */
funcs->control(tvh->priv, TVI_CONTROL_VID_GET_FORMAT, &sh_video->format);
// if (IMGFMT_IS_RGB(sh_video->format) || IMGFMT_IS_BGR(sh_video->format))
sh_video->format = 0x0;
// sh_video->format = 0x0;
/* set FPS and FRAMETIME */
if(!sh_video->fps)