Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --- plugins/ADM_videoEncoder/ADM_vidEnc_x264/x264Options.cpp.orig 2010-12-31 22:23:09.000000000 +0100
- +++ plugins/ADM_videoEncoder/ADM_vidEnc_x264/x264Options.cpp 2011-06-24 08:53:51.000000000 +0200
- @@ -417,7 +417,7 @@
- _param.b_cabac = cabac;
- }
- -#if X264_BUILD > 101
- +#if X264_BUILD > 101 && X264_BUILD < 115
- unsigned int x264Options::getOpenGopMode(void)
- {
- return _param.i_open_gop;
- @@ -428,6 +428,17 @@
- if (openGopMode < 3)
- _param.i_open_gop = openGopMode;
- }
- +#elif X264_BUILD > 114
- +unsigned int x264Options::getOpenGopMode(void)
- +{
- + return _param.b_open_gop;
- +}
- +void x264Options::setOpenGopMode(unsigned int openGopMode)
- +{
- + if (openGopMode < 3)
- + _param.b_open_gop = openGopMode;
- +}
- +
- #endif
- unsigned int x264Options::getInterlaced(void)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement