vfm_raw hack: set outfmt if format != 0x0 (for tv input)

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3398 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
alex 2001-12-09 15:39:12 +00:00
parent 6a99fe6a21
commit 66830dadb6
1 changed files with 3 additions and 0 deletions

View File

@ -535,6 +535,9 @@ switch(sh_video->codec->driver){
break;
}
case VFM_RAW: {
if (sh_video->format != 0x0)
/* set out_fmt */
sh_video->codec->outfmt[sh_video->outfmtidx] = sh_video->format;
break;
}
case VFM_RLE: {