diff options
Diffstat (limited to 'demux/demux_lavf.c')
-rw-r--r-- | demux/demux_lavf.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/demux/demux_lavf.c b/demux/demux_lavf.c index 281259a15e..c7eeb0b13e 100644 --- a/demux/demux_lavf.c +++ b/demux/demux_lavf.c @@ -33,7 +33,6 @@ #include <libavutil/avstring.h> #include <libavutil/mathematics.h> #include <libavutil/replaygain.h> -#include <libavutil/spherical.h> #include <libavutil/display.h> #include <libavutil/opt.h> @@ -702,17 +701,6 @@ static void handle_new_stream(demuxer_t *demuxer, int i) sh->codec->rotate = (((int)(-r) % 360) + 360) % 360; } - sd = av_stream_get_side_data(st, AV_PKT_DATA_SPHERICAL, NULL); - if (sd) { - AVSphericalMapping *sp = (void *)sd; - struct mp_spherical_params *mpsp = &sh->codec->spherical; - mpsp->type = sp->projection == AV_SPHERICAL_EQUIRECTANGULAR ? - MP_SPHERICAL_EQUIRECTANGULAR : MP_SPHERICAL_UNKNOWN; - mpsp->ref_angles[0] = sp->yaw / (float)(1 << 16); - mpsp->ref_angles[1] = sp->pitch / (float)(1 << 16); - mpsp->ref_angles[2] = sp->roll / (float)(1 << 16); - } - // This also applies to vfw-muxed mkv, but we can't detect these easily. sh->codec->avi_dts = matches_avinputformat_name(priv, "avi"); |