OSDN Git Service

libx264: fix setting some options.
authorAnton Khirnov <anton@khirnov.net>
Thu, 1 Sep 2011 10:59:29 +0000 (12:59 +0200)
committerAnton Khirnov <anton@khirnov.net>
Tue, 6 Sep 2011 18:13:28 +0000 (20:13 +0200)
Specifically: gop_size, max_b_frames, scenechange_threshold, qmin, qmax,
max_qdiff, qblur, qcompress and refs.

Change their default values to -1 and only use them if the user
explicitly set them. Otherwise x264 defaults are used.

Move setting those options after x264_param_default_preset(), so they
don't get overwritten by it.


No differences found