# HG changeset patch # User bcoudurier # Date 1255902063 0 # Node ID 95a0faec021877cd5d2aca17fe014935ce290a92 # Parent 026cc515aad89c3026c09543400d0d6b3cd7a9d3 mux all stream types except audio as one pes packet per avpacket, issue #1374 diff -r 026cc515aad8 -r 95a0faec0218 mpegtsenc.c --- a/mpegtsenc.c Sun Oct 18 20:25:48 2009 +0000 +++ b/mpegtsenc.c Sun Oct 18 21:41:03 2009 +0000 @@ -741,8 +741,7 @@ } } - if (st->codec->codec_type == CODEC_TYPE_SUBTITLE || - st->codec->codec_type == CODEC_TYPE_VIDEO) { + if (st->codec->codec_type != CODEC_TYPE_AUDIO) { // for video and subtitle, write a single pes packet mpegts_write_pes(s, st, buf, size, pts, dts); av_free(data);