Hi,

On Fri, Apr 6, 2012 at 7:13 AM, Martin Storsjö <mar...@martin.st> wrote:
> This avoids blocking for a long time in
> avformat_find_stream_info while waiting for a codec to be set
> for data streams in MS-RTSP streams, where the codec won't
> ever be set.
>
> This is an adaptation of one part of commit 4c050429780b0d
> in FFmpeg.
>
> Alternatively, we could just ignore data streams in MS-RTSP
> and not pass them through to the caller.
> ---
>  libavformat/utils.c |    2 ++
>  1 file changed, 2 insertions(+)

I'd say your suggestion sounds better. A codec-less stream is by
definition useless. Why do we pass data streams? Do they ever contain
actual relevant data? (I don't remember anymore.) If not, they
shouldn't be user-visible.

Ronald
_______________________________________________
libav-devel mailing list
libav-devel@libav.org
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to