OSDN Git Service

nutenc: do not use has_b_frames
authorAnton Khirnov <anton@khirnov.net>
Sat, 15 Nov 2014 08:46:05 +0000 (09:46 +0100)
committerAnton Khirnov <anton@khirnov.net>
Tue, 27 Jan 2015 08:15:07 +0000 (09:15 +0100)
commit80a11de7dca315505bf203ce9c8c016e71724fd2
tree343d5d5268ed0613ea391ae742f36786af74e818
parente44b58924fe7b180bf8b0c277c15d1a58210a0e9
nutenc: do not use has_b_frames

It is unreliable, especially when the stream codec context is not the
encoding context. Use the codec descriptor properties instead.
libavformat/nutenc.c
tests/ref/lavf/nut
tests/ref/seek/lavf-nut