[FFmpeg-devel] [PATCH] options to set stream id (custom TS pid)

Mike Scheutzow scheutzow
Thu May 13 20:15:32 CEST 2010

Baptiste Coudurier wrote:
> Hey guys,
> $subject.

I think this patch will break any application where the developer 
assigned the stream index to AVStream.id. I'm sure many developers 
followed the example of ffmpeg.c.

MAX_STREAMS is 20, so one approach that should be mostly 
backward-compatible would be to use AVStream.id as a pid only if the 
value is >= 20.

Mike Scheutzow

More information about the ffmpeg-devel mailing list