ref: 9ba08208d386218db2f7a91927050cd7ace908ca
parent: bacb5925ffa4dbc83a00986ae585b35848d0fcbd
author: Tom Finegan <[email protected]>
date: Tue Sep 24 05:08:42 EDT 2013
vpxenc: Stop writing the WebM FrameRate element. The FrameRate element has been deprecated. Change-Id: I68ac496e7b33685a100a45d2772e0ff30eb6a811
--- a/vpxenc.c
+++ b/vpxenc.c
@@ -725,7 +725,6 @@
{
unsigned int pixelWidth = cfg->g_w;
unsigned int pixelHeight = cfg->g_h;
- float frameRate = (float)fps->num / (float)fps->den;
EbmlLoc videoStart;
Ebml_StartSubElement(glob, &videoStart, Video);
@@ -732,7 +731,6 @@
Ebml_SerializeUnsigned(glob, PixelWidth, pixelWidth);
Ebml_SerializeUnsigned(glob, PixelHeight, pixelHeight);
Ebml_SerializeUnsigned(glob, StereoMode, stereo_fmt);
- Ebml_SerializeFloat(glob, FrameRate, frameRate);
Ebml_EndSubElement(glob, &videoStart);
}
Ebml_EndSubElement(glob, &start); /* Track Entry */