output example: rewrite encoding logic
authorAnton Khirnov <anton@khirnov.net>
Tue, 24 Jun 2014 08:52:26 +0000 (10:52 +0200)
committerAnton Khirnov <anton@khirnov.net>
Thu, 26 Jun 2014 14:07:34 +0000 (16:07 +0200)
commit182d3f8221c23716ea4eafa460bdb94968f71f26
tree4d021fb3d0a171d8c54bbda12e9c6c4483af4d9d
parenta7fcd4122b19b0f934020f4e261d0c44c4c32e11
output example: rewrite encoding logic

Properly generate pts for the frames sent to the encoder, avoid
using private and deprecated AVStream.pts.
doc/examples/output.c