[FFmpeg-cvslog] r19196 - trunk/ffmpeg.c
Michael Niedermayer
michaelni
Tue Jun 16 22:15:02 CEST 2009
On Mon, Jun 15, 2009 at 01:55:25AM +0200, bcoudurier wrote:
> Author: bcoudurier
> Date: Mon Jun 15 01:55:25 2009
> New Revision: 19196
>
> Log:
> do not use av_parser_change for h264 which uses bitstream filter, fix #1027
>
> Modified:
> trunk/ffmpeg.c
>
> Modified: trunk/ffmpeg.c
> ==============================================================================
> --- trunk/ffmpeg.c Mon Jun 15 01:14:56 2009 (r19195)
> +++ trunk/ffmpeg.c Mon Jun 15 01:55:25 2009 (r19196)
> @@ -1407,8 +1407,13 @@ static int output_packet(AVInputStream *
> opkt.flags= pkt->flags;
>
> //FIXME remove the following 2 lines they shall be replaced by the bitstream filters
> + if(ost->st->codec->codec_id != CODEC_ID_H264) {
> if(av_parser_change(ist->st->parser, ost->st->codec, &opkt.data, &opkt.size, data_buf, data_size, pkt->flags & PKT_FLAG_KEY))
> opkt.destruct= av_destruct_packet;
> + } else {
> + opkt.data = data_buf;
> + opkt.size = data_size;
> + }
>
did i approve this ?
either way the comment just mentions what is changed not why
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
In fact, the RIAA has been known to suggest that students drop out
of college or go to community college in order to be able to afford
settlements. -- The RIAA
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-cvslog/attachments/20090616/544a0f1e/attachment.pgp>
More information about the ffmpeg-cvslog
mailing list