[FFmpeg-devel] [PATCH] avformat/mpegts: add scan_all_pmts option
Michael Niedermayer
michaelni at gmx.at
Wed Nov 5 03:53:34 CET 2014
On Mon, Nov 03, 2014 at 07:55:42PM -0800, Timothy Gu wrote:
> On Nov 3, 2014 4:59 PM, "Michael Niedermayer" <michaelni at 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 <michaelni at 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20141105/d3020d0c/attachment.asc>
More information about the ffmpeg-devel
mailing list