On Fri, May 29, 2015 at 10:45 PM, Wolfgang Lorenz <wl-c...@gmx.de> wrote:
> The patch addresses this problem:
>   https://lists.ffmpeg.org/pipermail/libav-user/2014-September/007475.html
>
> What it does is this:
> * Except stream type 0x06 as a private stream. (AVMEDIA_TYPE_DATA, 
> AV_CODEC_ID_NONE)
>   (It was necessary to convince mpegts_set_stream_info(), that 
> AV_CODEC_ID_NONE
>    might be a valid codec id.)
> * Handle stream id 0xbd (private_stream_1). This stream uses PES headers, but 
> needs
>   no further parsing (as there is no codec defined).


To simplify the patch, maybe you should use AV_CODEC_ID_BIN_DATA as
the codec id to indicate its generic binary data. That way you don't
need all the special-handling to allow CODEC_ID_NONE.

- Hendrik
_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Reply via email to