• Andreas Rheinhardt's avatar
    h264_metadata: Localize code for display orientation · 3c8a2a11
    Andreas Rheinhardt authored
    The recent changes to h264_metadata (enabled by the recent changes to
    ff_cbs_write_packet) made it possible to add side_data to the output
    packet at any place, not only after the output packet has been written
    and the properties of the input packet copied. This means that one can
    now localize the code to add display orientation side-data to the packet
    to the place dealing with said display-orientation.
    
    Furthermore, the documentation of av_display_rotation_set states that
    the matrix will be fully overwritten by it, so there is no need to
    allocate it with av_mallocz.
    Signed-off-by: 's avatarAndreas Rheinhardt <andreas.rheinhardt@gmail.com>
    3c8a2a11
Name
Last commit
Last update
compat Loading commit data...
doc Loading commit data...
ffbuild Loading commit data...
fftools Loading commit data...
libavcodec Loading commit data...
libavdevice Loading commit data...
libavfilter Loading commit data...
libavformat Loading commit data...
libavresample Loading commit data...
libavutil Loading commit data...
libpostproc Loading commit data...
libswresample Loading commit data...
libswscale Loading commit data...
presets Loading commit data...
tests Loading commit data...
tools Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
.travis.yml Loading commit data...
CONTRIBUTING.md Loading commit data...
COPYING.GPLv2 Loading commit data...
COPYING.GPLv3 Loading commit data...
COPYING.LGPLv2.1 Loading commit data...
COPYING.LGPLv3 Loading commit data...
CREDITS Loading commit data...
Changelog Loading commit data...
INSTALL.md Loading commit data...
LICENSE.md Loading commit data...
MAINTAINERS Loading commit data...
Makefile Loading commit data...
README.md Loading commit data...
RELEASE Loading commit data...
configure Loading commit data...