[FFmpeg-devel] [PATCH] lavc/mediacodecdec_h264: use ff_h264_decode_extradata to extract PPS/SPS
Matthieu Bouron
matthieu.bouron at gmail.com
Mon Jun 13 11:51:59 CEST 2016
On Fri, Jun 10, 2016 at 03:08:48PM +0200, Matthieu Bouron wrote:
> From: Matthieu Bouron <matthieu.bouron at stupeflix.com>
>
> Fixes playback of HLS streams on MediaTek devices which requires PPS/SPS
> to be set in their respective csd-{0,1} buffers.
> ---
>
> Hello,
>
> The attached patch fixes playback of HLS streams on MediaTek devices which
> requires PPS/SPS to be set in their respetive csd-{0,1} buffers (instead of
> having sps+pps in the csd-0 which works on other devices).
>
> I'm not sure if I can use the ff_h264_decode_extradata this way (or at least
> initialize the H264Context with zeroes minus the avctx field).
Rebased patch (after the h264 ps merged) attached.
I still have the same question, is my use of
H264Context + ff_h264_decode_extradata correct ?
Thanks in advance,
Matthieu
[...]
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-lavc-mediacodecdec_h264-use-ff_h264_decode_extradata.patch
Type: text/x-diff
Size: 6982 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20160613/8f4a3d0f/attachment.patch>
More information about the ffmpeg-devel
mailing list