[FFmpeg-devel] [PATCH] avformat/matroskaenc: write DisplayWidth and DisplayHeight elements only if they differ from PixelWidth and PixelHeight
george at nsup.org
Thu Oct 20 20:05:55 EEST 2016
Le nonidi 29 vendémiaire, an CCXXV, Dave Rice a écrit :
> You could also make the storage simpler by considering whether or not to
> write DisplayWidth and DisplayHeight independently. For instance:
> could be simplified to this (as DisplayHeight if unstored, defaults to PixelHeight)
Even apart from the drawbacks you expect, I do not think this
micro-optimization is very interesting. Logically, width and height go
together, using half a default value seems unnatural.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 801 bytes
Desc: Digital signature
More information about the ffmpeg-devel