[FFmpeg-devel] [PATCH] oggdec: chained oggs have timestamp discontinuities

Michael Niedermayer michaelni at gmx.at
Wed Feb 27 03:53:58 CET 2013


On Sun, Jan 20, 2013 at 06:42:10PM +0100, Michael Niedermayer wrote:
> Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> ---
>  libavformat/oggdec.c |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/libavformat/oggdec.c b/libavformat/oggdec.c
> index 55604b4..984c89e 100644
> --- a/libavformat/oggdec.c
> +++ b/libavformat/oggdec.c
> @@ -849,5 +849,5 @@ AVInputFormat ff_ogg_demuxer = {
>      .read_seek      = ogg_read_seek,
>      .read_timestamp = ogg_read_timestamp,
>      .extensions     = "ogg",
> -    .flags          = AVFMT_GENERIC_INDEX,
> +    .flags          = AVFMT_GENERIC_INDEX | AVFMT_TS_DISCONT,
>  };

applied


[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Rewriting code that is poorly written but fully understood is good.
Rewriting code that one doesnt understand is a sign that one is less smart
then the original author, trying to rewrite it will not make it better.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20130227/d6d3b163/attachment.asc>


More information about the ffmpeg-devel mailing list