diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2011-11-30 21:33:34 +0100 |
---|---|---|
committer | Marton Balint <cus@passwd.hu> | 2011-12-01 20:55:01 +0100 |
commit | 59a58884b9f2fb42720d78e1af643c0f0b46b2ac (patch) | |
tree | ecc5e26949e7c951709843abbab7183fdc5f605d /ffplay.c | |
parent | 4a8e3324fb13f32c2288e698f44222c4f5caa3f0 (diff) | |
download | ffmpeg-59a58884b9f2fb42720d78e1af643c0f0b46b2ac.tar.gz |
ffplay: Copy audio side data too. This fixes handling of some rare nellymoser files that change the sample rate mid stream (sample file at: http://trac.videolan.org/vlc/ticket/5586)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Signed-off-by: Marton Balint <cus@passwd.hu>
Diffstat (limited to 'ffplay.c')
-rw-r--r-- | ffplay.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -2152,6 +2152,9 @@ static int audio_decode_frame(VideoState *is, double *pts_ptr) pkt_temp->data = pkt->data; pkt_temp->size = pkt->size; + pkt_temp->flags = pkt->flags; + pkt_temp->side_data = pkt->side_data; + pkt_temp->side_data_elems = pkt->side_data_elems; /* if update the audio clock with the pts */ if (pkt->pts != AV_NOPTS_VALUE) { |