format update
This commit is contained in:
parent
23df8a9ff6
commit
abdeb1951d
@ -78,10 +78,9 @@ int32_t InitPic (const void* kpSrc, const int32_t kiColorspace, const int32_t ki
|
||||
pSrcPic->iPicWidth = kiWidth;
|
||||
pSrcPic->iPicHeight = kiHeight;
|
||||
|
||||
//currently encoder only supports videoFormatI420.
|
||||
//currently encoder only supports videoFormatI420.
|
||||
if((kiColorspace & (~videoFormatVFlip))!= videoFormatI420)
|
||||
return 2;
|
||||
|
||||
switch (kiColorspace & (~videoFormatVFlip)) {
|
||||
case videoFormatI420:
|
||||
case videoFormatYV12:
|
||||
|
Loading…
x
Reference in New Issue
Block a user