Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Export 601 too

Align export with import
  • Loading branch information...
commit a3c45f7c52c8f1b24cd8e572e7753bfe08aa92b4 1 parent 8b04179
@fnordware authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/premiere/WebM_Premiere_Export.cpp
View
4 src/premiere/WebM_Premiere_Export.cpp
@@ -571,7 +571,7 @@ exSDKExport(
SequenceRender_ParamsRec renderParms;
- PrPixelFormat pixelFormats[] = { PrPixelFormat_YUV_420_MPEG2_FRAME_PICTURE_PLANAR_8u_709,
+ PrPixelFormat pixelFormats[] = { PrPixelFormat_YUV_420_MPEG2_FRAME_PICTURE_PLANAR_8u_601,
PrPixelFormat_BGRA_4444_16u, // must support BGRA, even if I don't want to
PrPixelFormat_BGRA_4444_8u };
@@ -1330,7 +1330,7 @@ exSDKExport(
if(img)
{
- if(pixFormat == PrPixelFormat_YUV_420_MPEG2_FRAME_PICTURE_PLANAR_8u_709)
+ if(pixFormat == PrPixelFormat_YUV_420_MPEG2_FRAME_PICTURE_PLANAR_8u_601)
{
char *Y_PixelAddress, *U_PixelAddress, *V_PixelAddress;
csSDK_uint32 Y_RowBytes, U_RowBytes, V_RowBytes;
Please sign in to comment.
Something went wrong with that request. Please try again.