diff options
author | wm4 <wm4@nowhere> | 2017-08-21 14:56:07 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2017-08-21 14:56:07 +0200 |
commit | 028faacff56d7f90f6b119b0b0ac686fd614825f (patch) | |
tree | 33d77aa61946f3bebfdb28fa8670065fdb79aed8 /demux/stheader.h | |
parent | 82d9419f62c90cecc13c492e3b68feebe0229daa (diff) |
video: add metadata handling for spherical video
This adds handling of spherical video metadata: retrieving it from
demux_lavf and demux_mkv, passing it through filters, and adjusting it
with vf_format. This does not include support for rendering this type of
video.
We don't expect we need/want to support the other projection types like
cube maps, so we don't include that for now. They can be added later as
needed.
Also raise the maximum sizes of stringified image params, since they
can get really long.
Diffstat (limited to 'demux/stheader.h')
-rw-r--r-- | demux/stheader.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/demux/stheader.h b/demux/stheader.h index 04f8198df4..a0820f55b7 100644 --- a/demux/stheader.h +++ b/demux/stheader.h @@ -22,7 +22,7 @@ #include "common/common.h" #include "audio/chmap.h" -#include "video/csputils.h" +#include "video/mp_image.h" struct MPOpts; struct demuxer; @@ -93,6 +93,7 @@ struct mp_codec_params { int rotate; // intended display rotation, in degrees, [0, 359] int stereo_mode; // mp_stereo3d_mode (0 if none/unknown) struct mp_colorspace color; // colorspace info where available + struct mp_spherical_params spherical; // STREAM_VIDEO + STREAM_AUDIO int bits_per_coded_sample; |