summaryrefslogtreecommitdiffstats
path: root/demux/packet.h
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2017-01-31 14:48:10 +0100
committerwm4 <wm4@nowhere>2017-01-31 14:48:10 +0100
commit9c12d54afa70f3535a7114498433cf566a9e9a86 (patch)
tree5d6171dc4d8ad0278fc8c051a02037ac4ceff893 /demux/packet.h
parent55d6408526214d8ec97aab25a20396944c6d04ad (diff)
downloadmpv-9c12d54afa70f3535a7114498433cf566a9e9a86.tar.bz2
mpv-9c12d54afa70f3535a7114498433cf566a9e9a86.tar.xz
demux_mkv: passthrough BlockAdditions for libvpx alpha
Dumb but simple thing. Requires the FFmpeg libvpx decoder wrapper, as its native decoder doesn't support alpha.
Diffstat (limited to 'demux/packet.h')
-rw-r--r--demux/packet.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/demux/packet.h b/demux/packet.h
index 723dbc7e54..d669d02376 100644
--- a/demux/packet.h
+++ b/demux/packet.h
@@ -55,5 +55,7 @@ struct demux_packet *demux_copy_packet(struct demux_packet *dp);
void demux_packet_copy_attribs(struct demux_packet *dst, struct demux_packet *src);
int demux_packet_set_padding(struct demux_packet *dp, int start, int end);
+int demux_packet_add_blockadditional(struct demux_packet *dp, uint64_t id,
+ void *data, size_t size);
#endif /* MPLAYER_DEMUX_PACKET_H */