Mercurial > mplayer.hg
diff stream/stream.c @ 29881:5797dc687a8e
Add preliminary support for streaming via FFmpeg's URProtocol functions.
Basic playback tested for file and http protocols.
author | reimar |
---|---|
date | Tue, 17 Nov 2009 16:09:17 +0000 |
parents | 2c2733d12823 |
children | 306e614b92cb |
line wrap: on
line diff
--- a/stream/stream.c Tue Nov 17 16:05:18 2009 +0000 +++ b/stream/stream.c Tue Nov 17 16:09:17 2009 +0000 @@ -58,6 +58,7 @@ extern const stream_info_t stream_info_cue; extern const stream_info_t stream_info_null; extern const stream_info_t stream_info_mf; +extern const stream_info_t stream_info_ffmpeg; extern const stream_info_t stream_info_file; extern const stream_info_t stream_info_ifo; extern const stream_info_t stream_info_dvd; @@ -112,6 +113,9 @@ #ifdef CONFIG_DVDNAV &stream_info_dvdnav, #endif +#ifdef CONFIG_LIBAVFORMAT + &stream_info_ffmpeg, +#endif &stream_info_null, &stream_info_mf,