[FFmpeg-devel] [PATCH] mpegtsenc: Add support to mux s302 stream

Thierry Foucu tfoucu at gmail.com
Fri Apr 6 21:47:07 CEST 2012


On Fri, Apr 6, 2012 at 9:32 AM, Michael Niedermayer <michaelni at gmx.at>wrote:

> On Wed, Apr 04, 2012 at 08:48:22PM -0700, Thierry Foucu wrote:
> > ---
> >  libavformat/mpegtsenc.c |    9 ++++++++-
> >  1 files changed, 8 insertions(+), 1 deletions(-)
> [...]
> > @@ -1070,7 +1078,6 @@ static int
> mpegts_write_packet_internal(AVFormatContext *s, AVPacket *pkt)
> >      }
> >
> >      if (st->codec->codec_type != AVMEDIA_TYPE_AUDIO || size >
> ts->pes_payload_size) {
> > -        av_assert0(!ts_st->payload_size);
> >          // for video and subtitle, write a single pes packet
> >          mpegts_write_pes(s, st, buf, size, pts, dts, pkt->flags &
> AV_PKT_FLAG_KEY);
> >          av_free(data);
>
> why do you remove this assert ?
>

Oups.. Sorry, this was for testing.. Let me send you a new patch.



> [...]
> --
> Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
>
> The educated differ from the uneducated as much as the living from the
> dead. -- Aristotle
>
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-devel
>
>


More information about the ffmpeg-devel mailing list