Mercurial > libavformat.hg
comparison rtsp.h @ 6357:b7ee8424b7e6 libavformat
get ride of MAX_STREAMS limit in RTSP
author | aurel |
---|---|
date | Mon, 09 Aug 2010 23:00:13 +0000 |
parents | c709176da1ad |
children | f0669792a6bd |
comparison
equal
deleted
inserted
replaced
6356:2048bf728893 | 6357:b7ee8424b7e6 |
---|---|
265 /** whether we need to send a "SET_PARAMETER Subscribe:" command */ | 265 /** whether we need to send a "SET_PARAMETER Subscribe:" command */ |
266 int need_subscription; | 266 int need_subscription; |
267 | 267 |
268 /** stream setup during the last frame read. This is used to detect if | 268 /** stream setup during the last frame read. This is used to detect if |
269 * we need to subscribe or unsubscribe to any new streams. */ | 269 * we need to subscribe or unsubscribe to any new streams. */ |
270 enum AVDiscard real_setup_cache[MAX_STREAMS]; | 270 enum AVDiscard *real_setup_cache; |
271 | |
272 /** current stream setup. This is a temporary buffer used to compare | |
273 * current setup to previous frame setup. */ | |
274 enum AVDiscard *real_setup; | |
271 | 275 |
272 /** the last value of the "SET_PARAMETER Subscribe:" RTSP command. | 276 /** the last value of the "SET_PARAMETER Subscribe:" RTSP command. |
273 * this is used to send the same "Unsubscribe:" if stream setup changed, | 277 * this is used to send the same "Unsubscribe:" if stream setup changed, |
274 * before sending a new "Subscribe:" command. */ | 278 * before sending a new "Subscribe:" command. */ |
275 char last_subscription[1024]; | 279 char last_subscription[1024]; |