demux_mkv: fix alpha with vp9 + libvpx

The blockadditional side data gets lost because vp9 has to go through
the parser.
This commit is contained in:
wm4 2017-05-30 19:26:27 +02:00
parent bc3365b169
commit 3a448ab972
1 changed files with 3 additions and 0 deletions

View File

@ -2398,6 +2398,9 @@ static void mkv_parse_and_add_packet(demuxer_t *demuxer, mkv_track_t *track,
if (!new)
break;
demux_packet_copy_attribs(new, dp);
#if LIBAVCODEC_VERSION_MICRO >= 100
av_copy_packet_side_data(new->avpacket, dp->avpacket);
#endif
if (track->parse_timebase) {
new->pts = track->av_parser->pts == AV_NOPTS_VALUE
? MP_NOPTS_VALUE : track->av_parser->pts / tb;