[SCM] libav/experimental: consider other codecs packets contain only one access unit, not just audio
siretart at users.alioth.debian.org
siretart at users.alioth.debian.org
Sun Jun 30 16:35:20 UTC 2013
The following commit has been merged in the experimental branch:
commit 89ac55ada9a7c77ef62e779edd90f45f3e32b837
Author: Baptiste Coudurier <baptiste.coudurier at gmail.com>
Date: Wed Jan 14 23:53:31 2009 +0000
consider other codecs packets contain only one access unit, not just audio
Originally committed as revision 16611 to svn://svn.ffmpeg.org/ffmpeg/trunk
diff --git a/libavformat/mpegtsenc.c b/libavformat/mpegtsenc.c
index 8f15f5b..aa63346 100644
--- a/libavformat/mpegtsenc.c
+++ b/libavformat/mpegtsenc.c
@@ -720,7 +720,7 @@ static int mpegts_write_packet(AVFormatContext *s, AVPacket *pkt)
break;
}
}
- } else if (st->codec->codec_type == CODEC_TYPE_AUDIO) {
+ } else {
access_unit_index = pkt->data;
}
--
Libav/FFmpeg packaging
More information about the pkg-multimedia-commits
mailing list