Changeset 22a94562dfa8d80aa0ed7e9b7e2707ae3ff513ba
- Timestamp:
- 20/11/05 09:36:06
(3 years ago)
- Author:
- Marian Durkovic <md@videolan.org>
- git-committer:
- Marian Durkovic <md@videolan.org> 1132475766 +0000
- git-parent:
[8ad7c42017d6c8aef90200b910ed6675a605428f]
- git-author:
- Marian Durkovic <md@videolan.org> 1132475766 +0000
- Message:
always go through BlockChoose?(), since it assigns the correct demuxer
(otherwise e.g. MPEG2 video is mistetected as MPEG-PS)
-
Files:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
| r3760ad3 |
r22a9456 |
|
| 192 | 192 | /* Set up p_access */ |
|---|
| 193 | 193 | p_access->pf_read = NULL; |
|---|
| 194 | | if( !strcasecmp( p_access->psz_access, "rtp" ) |
|---|
| 195 | | || !strcasecmp( p_access->psz_access, "rtp4" ) |
|---|
| 196 | | || !strcasecmp( p_access->psz_access, "rtp6" ) ) |
|---|
| 197 | | { |
|---|
| 198 | | p_access->pf_block = BlockRTP; |
|---|
| 199 | | } |
|---|
| 200 | | else |
|---|
| 201 | | { |
|---|
| 202 | | p_access->pf_block = BlockChoose; |
|---|
| 203 | | } |
|---|
| | 194 | p_access->pf_block = BlockChoose; |
|---|
| 204 | 195 | p_access->pf_control = Control; |
|---|
| 205 | 196 | p_access->pf_seek = NULL; |
|---|
| … | … | |
| 529 | 520 | return NULL; |
|---|
| 530 | 521 | |
|---|
| 531 | | if ( !p_access->info.b_prebuffered ) |
|---|
| 532 | | return BlockPrebufferRTP( p_access, p ); |
|---|
| 533 | | |
|---|
| 534 | 522 | rtp_ChainInsert( p_access, p ); |
|---|
| 535 | 523 | } |
|---|