examples/muxing: honour distinction between encoder PTS timebase and stream timebase
authorStefano Sabatini <stefasab@gmail.com>
Tue, 7 Jan 2014 12:03:39 +0000 (13:03 +0100)
committerStefano Sabatini <stefasab@gmail.com>
Thu, 9 Jan 2014 09:51:47 +0000 (10:51 +0100)
commit80bca6eabe8acd3bc6ab2d4257cc5d9bbcbe8a79
treed57e4ca01664262b15d4eab27e9a07a6369441d1
parenteadc42125905ae889a7d9d793ebae38dd48d9552
examples/muxing: honour distinction between encoder PTS timebase and stream timebase

Fix PTS set on the frame when encoding, which must be specified in the
encoder timebase or this will confuse the encoder.

When muxing the packet, the PTS/DTS generated by the encoder is then
rescaled to the stream timebase.
doc/examples/muxing.c