On Mon, Nov 03, 2014 at 07:55:42PM -0800, Timothy Gu wrote: > On Nov 3, 2014 4:59 PM, "Michael Niedermayer" <michae...@gmx.at> wrote: > > > > This allows selecting if the demuxer should consider all streams to be > > found after the first PMT and add further streams during decoding or if > it rather > > should scan all that are within the analyze-duration and other limits > > > > Fixes Ticket3762 > > > > Signed-off-by: Michael Niedermayer <michae...@gmx.at> > > --- > > libavformat/mpegts.c | 8 +++++++- > > 1 file changed, 7 insertions(+), 1 deletion(-) > > > > diff --git a/libavformat/mpegts.c b/libavformat/mpegts.c > > index 97e07a7..5691c5a 100644 > > --- a/libavformat/mpegts.c > > +++ b/libavformat/mpegts.c > > > + {"scan_all_pmts", "Scan and combine all PMTs", > offsetof(MpegTSContext, scan_all_pmts), AV_OPT_TYPE_INT, > > + { .i64 = -1}, -1, 1, AV_OPT_FLAG_DECODING_PARAM }, > > Why not 0?
-1 was meant as a default/heuristic/what we did previously value [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB Freedom in capitalist society always remains about the same as it was in ancient Greek republics: Freedom for slave owners. -- Vladimir Lenin
signature.asc
Description: Digital signature
_______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel