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

Michael Niedermayer michaelni at gmx.at
Sun Apr 8 09:49:23 CEST 2012


On Fri, Apr 06, 2012 at 12:56:05PM -0700, Thierry Foucu wrote:
> On Fri, Apr 6, 2012 at 12:47 PM, Thierry Foucu <tfoucu at gmail.com> wrote:
> 
> >
> >
> > 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
> >>
> >>
> >
> Here is the new patch.

applied

thx

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

The misfortune of the wise is better than the prosperity of the fool.
-- Epicurus
-------------- 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/20120408/6aa5f5cc/attachment.asc>


More information about the ffmpeg-devel mailing list