summaryrefslogtreecommitdiffstats
path: root/stream/stream.h
diff options
context:
space:
mode:
authorUoti Urpala <uau@glyph.nonexistent.invalid>2010-04-23 22:57:25 +0300
committerUoti Urpala <uau@glyph.nonexistent.invalid>2010-04-23 22:57:25 +0300
commit1d4d1bff82f70c7cde37b1beaf1b55c72b3d6618 (patch)
tree9840f3aad145d33c9a6cda7ba020dae439123d4d /stream/stream.h
parent4583c12a2c29c9644acc15837c2f18ba7750bf1e (diff)
downloadmpv-1d4d1bff82f70c7cde37b1beaf1b55c72b3d6618.tar.bz2
mpv-1d4d1bff82f70c7cde37b1beaf1b55c72b3d6618.tar.xz
stream_ffmpeg, demux_lavf: Use flv demuxer for rtmp streams
Use lavf's flv demuxer for rtmp/rtmps/... stream types. Letting generic format probing handle this could work, but with the current probing implementation it'd at least depend on not-really-guaranteed details of the stream layer (probing different formats and then decoding depends on seeking back in between; rtmp streams don't support such seeking directly so would need to rely on details of caching behavior).
Diffstat (limited to 'stream/stream.h')
-rw-r--r--stream/stream.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/stream/stream.h b/stream/stream.h
index 523da2ce00..62a2ee8d4e 100644
--- a/stream/stream.h
+++ b/stream/stream.h
@@ -160,6 +160,7 @@ typedef struct stream {
void* cache_data;
void* priv; // used for DVD, TV, RTSP etc
char* url; // strdup() of filename/url
+ char *lavf_type; // name of expected demuxer type for lavf
struct MPOpts *opts;
#ifdef CONFIG_NETWORK
streaming_ctrl_t *streaming_ctrl;