revert
This commit is contained in:
parent
222f7755fe
commit
0ef02287dd
|
@ -64,7 +64,7 @@ X264MP4Writer::X264MP4Writer(const char* p_path, const unsigned int p_width, con
|
||||||
if(zm_pf == 0) {
|
if(zm_pf == 0) {
|
||||||
Error("Unable to match ffmpeg pixelformat");
|
Error("Unable to match ffmpeg pixelformat");
|
||||||
}
|
}
|
||||||
codec_pf = PIX_FMT_YUV420P;
|
codec_pf = AV_PIX_FMT_YUV420P;
|
||||||
|
|
||||||
swscaleobj.SetDefaults(zm_pf, codec_pf, width, height);
|
swscaleobj.SetDefaults(zm_pf, codec_pf, width, height);
|
||||||
|
|
||||||
|
|
|
@ -120,8 +120,8 @@ protected:
|
||||||
|
|
||||||
/* SWScale */
|
/* SWScale */
|
||||||
SWScale swscaleobj;
|
SWScale swscaleobj;
|
||||||
enum PixelFormat zm_pf;
|
enum _AVPIXELFORMAT zm_pf;
|
||||||
enum PixelFormat codec_pf;
|
enum _AVPIXELFORMAT codec_pf;
|
||||||
size_t codec_imgsize;
|
size_t codec_imgsize;
|
||||||
size_t zm_imgsize;
|
size_t zm_imgsize;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue