[Ffmpeg-devel] MPEGTS muxer problem [on behalf of lucabe72]

Baptiste Coudurier baptiste.coudurier
Fri Nov 17 16:40:07 CET 2006


Hi

Luca Abeni wrote:
> [...]
>  
> +    if (st->codec->codec_type == CODEC_TYPE_VIDEO) {
> +        mpegts_write_pes(s, st, buf, size, pkt->pts, pkt->dts);
> +        return 0;
> +    }
> +
> +mpegts_write_pes(s, st, buf, size, pkt->pts, AV_NOPTS_VALUE);
> +return 0;
>      max_payload_size = DEFAULT_PES_PAYLOAD_SIZE;
>      while (size > 0) {
>          len = max_payload_size - ts_st->payload_index;

return in the middle of the function ?

-- 
Baptiste COUDURIER                              GnuPG Key Id: 0x5C1ABAAA
SMARTJOG S.A.                                    http://www.smartjog.com
Key fingerprint                 8D77134D20CC9220201FC5DB0AC9325C5C1ABAAA
Phone: +33 1 49966312




More information about the ffmpeg-devel mailing list