[FFmpeg-cvslog] Auto-detect hevc in mpeg-ts.

Clément Bœsch u at pkh.me
Fri Jan 31 23:17:29 CET 2014


On Fri, Jan 31, 2014 at 11:09:33PM +0100, Ståle Kristoffersen wrote:
> ffmpeg | branch: master | Ståle Kristoffersen <staalebk at ifi.uio.no> | Fri Jan 31 19:05:08 2014 +0100| [16097efb8caa808d8e9130415e55e3be35eb1c3c] | committer: Carl Eugen Hoyos
> 
> Auto-detect hevc in mpeg-ts.
> 
> Fixes decoding of files without PMT/PAT.
> 
> Signed-off-by: Carl Eugen Hoyos <cehoyos at ag.or.at>
> 
> > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=16097efb8caa808d8e9130415e55e3be35eb1c3c
> ---
> 
>  libavformat/utils.c |    1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/libavformat/utils.c b/libavformat/utils.c
> index 30e1463..932b6ad 100644
> --- a/libavformat/utils.c
> +++ b/libavformat/utils.c
> @@ -301,6 +301,7 @@ static int set_codec_from_probe_data(AVFormatContext *s, AVStream *st,
>          { "dts",       AV_CODEC_ID_DTS,        AVMEDIA_TYPE_AUDIO },
>          { "eac3",      AV_CODEC_ID_EAC3,       AVMEDIA_TYPE_AUDIO },
>          { "h264",      AV_CODEC_ID_H264,       AVMEDIA_TYPE_VIDEO },
> +        { "hevc"     , AV_CODEC_ID_HEVC      , AVMEDIA_TYPE_VIDEO },
>          { "loas",      AV_CODEC_ID_AAC_LATM,   AVMEDIA_TYPE_AUDIO },
>          { "m4v",       AV_CODEC_ID_MPEG4,      AVMEDIA_TYPE_VIDEO },
>          { "mp3",       AV_CODEC_ID_MP3,        AVMEDIA_TYPE_AUDIO },

I'm not that much attached to cosmetics, but please fix the style when
it's obviously broken like this.

-- 
Clément B.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 490 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-cvslog/attachments/20140131/b0b4b3dd/attachment.asc>


More information about the ffmpeg-cvslog mailing list