[FFmpeg-devel] [PATCH 2/2] hevc: Correctly set time_base
michaelni at gmx.at
Tue Dec 10 16:36:01 CET 2013
On Tue, Dec 10, 2013 at 03:37:22PM +0100, Guillaume Martres wrote:
> - Try reading the time_base information from the VPS too, not just the VUI
> - Only set time_base when an SPS is activated, not when it's decoded.
> - Reduce the fraction before setting it.
> - Don't set anything if the fraction is invalid (because the VUI is not
> present or because the encoded value is invalid).
> libavcodec/hevc.c | 14 ++++++++++++++
> libavcodec/hevc_ps.c | 2 --
> 2 files changed, 14 insertions(+), 2 deletions(-)
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
When the tyrant has disposed of foreign enemies by conquest or treaty, and
there is nothing more to fear from them, then he is always stirring up
some war or other, in order that the people may require a leader. -- Plato
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 198 bytes
Desc: Digital signature
More information about the ffmpeg-devel