[FFmpeg-devel] [PATCH] libavcodec/parser.c: re-fetch PTS/DTS if fetch failed

Michael Niedermayer michaelni at gmx.at
Wed Apr 22 19:27:30 CEST 2015


On Wed, Apr 22, 2015 at 07:17:59PM +0800, luckliuyuxin wrote:
[...]
>  parser.c |    5 +++++
>  1 file changed, 5 insertions(+)
> f3ed39fd2c44d36a96dbab27a8c810d7479e8d22  0001-re-fetch-PTS-DTS-if-fetch-failed.patch
> From 00b457adb855b0b25ac7cde4a9cb8c7b53fd0511 Mon Sep 17 00:00:00 2001
> From: liuyuxin <liuyuxin at xiaomi.com>
> Date: Wed, 22 Apr 2015 16:56:42 +0800
> Subject: [PATCH] re-fetch PTS/DTS if fetch failed
> 
> IQiYi has special PES packets:
> |<-------PES#1------->|<-----PES#2--->|
> | AUD | P frame | PPS | AUD | P frame |

isnt this a violation of the spec ?

anyway, please provide a sample file of such stream

also the patch breaks "make fate"

[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

The misfortune of the wise is better than the prosperity of the fool.
-- Epicurus
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20150422/928e8719/attachment.asc>


More information about the ffmpeg-devel mailing list