summaryrefslogtreecommitdiffstats
path: root/mplayer.c
diff options
context:
space:
mode:
authorUoti Urpala <uau@mplayer2.org>2011-12-22 05:54:48 +0200
committerUoti Urpala <uau@mplayer2.org>2012-01-08 23:32:40 +0200
commit62e38774173972acab91e116f01050ef5cc0149f (patch)
tree0bef4e271c78ffb0b9e7b42a29d75e48fbf107f2 /mplayer.c
parentc32b3edfea3c4832f16a7cbcba4f8284170b3170 (diff)
downloadmpv-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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mplayer.c b/mplayer.c
index d79d45f057..78199499e8 100644
--- a/mplayer.c
+++ b/mplayer.c
@@ -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;