diff options
author | Uoti Urpala <uau@mplayer2.org> | 2011-12-22 05:54:48 +0200 |
---|---|---|
committer | Uoti Urpala <uau@mplayer2.org> | 2012-01-08 23:32:40 +0200 |
commit | 62e38774173972acab91e116f01050ef5cc0149f (patch) | |
tree | 0bef4e271c78ffb0b9e7b42a29d75e48fbf107f2 /mplayer.c | |
parent | c32b3edfea3c4832f16a7cbcba4f8284170b3170 (diff) | |
download | mpv-62e38774173972acab91e116f01050ef5cc0149f.tar.bz2 mpv-62e38774173972acab91e116f01050ef5cc0149f.tar.xz |
ad_ffmpeg: pass packet side data from libavformat
Pass avpacket->side_data when using a libavcodec audio decoder
together with libavformat demuxer (this was already done for video).
Diffstat (limited to 'mplayer.c')
-rw-r--r-- | mplayer.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -2933,7 +2933,7 @@ static double update_video(struct MPContext *mpctx) int in_size = 0; unsigned char *buf = NULL; pts = MP_NOPTS_VALUE; - struct demux_packet *pkt = ds_get_packet2(mpctx->d_video); + struct demux_packet *pkt = ds_get_packet2(mpctx->d_video, false); if (pkt) { in_size = pkt->len; buf = pkt->buffer; |