Changeset 17ccb7521f5bde43ad4fd1103536b33c4042b81a
- Timestamp:
- 04/24/08 19:15:42
(4 months ago)
- Author:
- Jean-Paul Saman <jpsaman@videolan.org>
- git-committer:
- Jean-Paul Saman <jpsaman@videolan.org> 1209057342 +0200
- git-parent:
[bc9eac0a14cfa196d4e8514049f744740cb7a23d]
- git-author:
- Jean-Paul Saman <jpsaman@videolan.org> 1208598084 +0200
- Message:
Fix indentation after vlc_bool_t by bool replacement. Makes the file readible again.
-
Files:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
| r57bbabb |
r17ccb75 |
|
| 171 | 171 | uint8_t i_objectTypeIndication; |
|---|
| 172 | 172 | uint8_t i_streamType; |
|---|
| 173 | | bool b_upStream; |
|---|
| | 173 | bool b_upStream; |
|---|
| 174 | 174 | uint32_t i_bufferSizeDB; |
|---|
| 175 | 175 | uint32_t i_maxBitrate; |
|---|
| … | … | |
| 183 | 183 | typedef struct |
|---|
| 184 | 184 | { |
|---|
| 185 | | bool b_useAccessUnitStartFlag; |
|---|
| 186 | | bool b_useAccessUnitEndFlag; |
|---|
| 187 | | bool b_useRandomAccessPointFlag; |
|---|
| 188 | | bool b_useRandomAccessUnitsOnlyFlag; |
|---|
| 189 | | bool b_usePaddingFlag; |
|---|
| 190 | | bool b_useTimeStampsFlags; |
|---|
| 191 | | bool b_useIdleFlag; |
|---|
| 192 | | bool b_durationFlag; |
|---|
| | 185 | bool b_useAccessUnitStartFlag; |
|---|
| | 186 | bool b_useAccessUnitEndFlag; |
|---|
| | 187 | bool b_useRandomAccessPointFlag; |
|---|
| | 188 | bool b_useRandomAccessUnitsOnlyFlag; |
|---|
| | 189 | bool b_usePaddingFlag; |
|---|
| | 190 | bool b_useTimeStampsFlags; |
|---|
| | 191 | bool b_useIdleFlag; |
|---|
| | 192 | bool b_durationFlag; |
|---|
| 193 | 193 | uint32_t i_timeStampResolution; |
|---|
| 194 | 194 | uint32_t i_OCRResolution; |
|---|
| … | … | |
| 212 | 212 | typedef struct |
|---|
| 213 | 213 | { |
|---|
| 214 | | bool b_ok; |
|---|
| | 214 | bool b_ok; |
|---|
| 215 | 215 | uint16_t i_es_id; |
|---|
| 216 | 216 | |
|---|
| 217 | | bool b_streamDependenceFlag; |
|---|
| 218 | | bool b_OCRStreamFlag; |
|---|
| | 217 | bool b_streamDependenceFlag; |
|---|
| | 218 | bool b_OCRStreamFlag; |
|---|
| 219 | 219 | uint8_t i_streamPriority; |
|---|
| 220 | 220 | |
|---|
| … | … | |
| 231 | 231 | typedef struct |
|---|
| 232 | 232 | { |
|---|
| 233 | | uint8_t i_iod_label, i_iod_label_scope; |
|---|
| | 233 | uint8_t i_iod_label, i_iod_label_scope; |
|---|
| 234 | 234 | |
|---|
| 235 | 235 | /* IOD */ |
|---|
| … | … | |
| 291 | 291 | int i_pid; |
|---|
| 292 | 292 | |
|---|
| 293 | | bool b_seen; |
|---|
| 294 | | bool b_valid; |
|---|
| | 293 | bool b_seen; |
|---|
| | 294 | bool b_valid; |
|---|
| 295 | 295 | int i_cc; /* countinuity counter */ |
|---|
| 296 | 296 | |
|---|
| … | … | |
| 325 | 325 | |
|---|
| 326 | 326 | /* */ |
|---|
| 327 | | bool b_es_id_pid; |
|---|
| | 327 | bool b_es_id_pid; |
|---|
| 328 | 328 | csa_t *csa; |
|---|
| 329 | 329 | int i_csa_pkt_size; |
|---|
| 330 | | bool b_silent; |
|---|
| 331 | | |
|---|
| 332 | | bool b_udp_out; |
|---|
| | 330 | bool b_silent; |
|---|
| | 331 | |
|---|
| | 332 | bool b_udp_out; |
|---|
| 333 | 333 | int fd; /* udp socket */ |
|---|
| 334 | 334 | uint8_t *buffer; |
|---|
| 335 | 335 | |
|---|
| 336 | | bool b_dvb_control; |
|---|
| | 336 | bool b_dvb_control; |
|---|
| 337 | 337 | int i_dvb_program; |
|---|
| 338 | 338 | int64_t i_dvb_start; |
|---|
| … | … | |
| 344 | 344 | FILE *p_file; /* filehandle */ |
|---|
| 345 | 345 | uint64_t i_write; /* bytes written */ |
|---|
| 346 | | bool b_file_out; /* dump mode enabled */ |
|---|
| | 346 | bool b_file_out; /* dump mode enabled */ |
|---|
| 347 | 347 | |
|---|
| 348 | 348 | /* */ |
|---|
| 349 | | bool b_meta; |
|---|
| | 349 | bool b_meta; |
|---|
| 350 | 350 | }; |
|---|
| 351 | 351 | |
|---|
| … | … | |
| 397 | 397 | ts_pid_t *pat; |
|---|
| 398 | 398 | const char *psz_mode; |
|---|
| 399 | | bool b_append; |
|---|
| 400 | | bool b_topfield = false; |
|---|
| | 399 | bool b_append; |
|---|
| | 400 | bool b_topfield = false; |
|---|
| 401 | 401 | |
|---|
| 402 | 402 | vlc_value_t val; |
|---|
| … | … | |
| 952 | 952 | while( i_pos < i_data ) |
|---|
| 953 | 953 | { |
|---|
| 954 | | ts_pid_t *p_pid; /* point to a PID structure */ |
|---|
| 955 | | bool b_payload; /* indicates a packet with payload */ |
|---|
| 956 | | bool b_adaptation; /* adaptation field */ |
|---|
| 957 | | int i_cc = 0; /* continuity counter */ |
|---|
| | 954 | ts_pid_t *p_pid; /* point to a PID structure */ |
|---|
| | 955 | bool b_payload; /* indicates a packet with payload */ |
|---|
| | 956 | bool b_adaptation; /* adaptation field */ |
|---|
| | 957 | int i_cc = 0; /* continuity counter */ |
|---|
| 958 | 958 | |
|---|
| 959 | 959 | if( p_sys->buffer[i_pos] != 0x47 ) |
|---|
| … | … | |
| 1050 | 1050 | for( i_pkt = 0; i_pkt < p_sys->i_ts_read; i_pkt++ ) |
|---|
| 1051 | 1051 | { |
|---|
| 1052 | | bool b_frame = false; |
|---|
| | 1052 | bool b_frame = false; |
|---|
| 1053 | 1053 | block_t *p_pkt; |
|---|
| 1054 | 1054 | ts_pid_t *p_pid; |
|---|
| … | … | |
| 1779 | 1779 | static bool GatherPES( demux_t *p_demux, ts_pid_t *pid, block_t *p_bk ) |
|---|
| 1780 | 1780 | { |
|---|
| 1781 | | const uint8_t *p = p_bk->p_buffer; |
|---|
| | 1781 | const uint8_t *p = p_bk->p_buffer; |
|---|
| 1782 | 1782 | const bool b_unit_start = p[1]&0x40; |
|---|
| 1783 | 1783 | const bool b_adaptation = p[3]&0x20; |
|---|
| 1784 | 1784 | const bool b_payload = p[3]&0x10; |
|---|
| 1785 | | const int i_cc = p[3]&0x0f; /* continuity counter */ |
|---|
| | 1785 | const int i_cc = p[3]&0x0f; /* continuity counter */ |
|---|
| 1786 | 1786 | bool b_discontinuity = false;/* discontinuity */ |
|---|
| 1787 | 1787 | |
|---|
| … | … | |
| 2084 | 2084 | int i; |
|---|
| 2085 | 2085 | int i_es_index; |
|---|
| 2086 | | uint8_t i_flags, i_iod_tag, byte1, byte2, byte3; |
|---|
| | 2086 | uint8_t i_flags, i_iod_tag, byte1, byte2, byte3; |
|---|
| 2087 | 2087 | bool b_url; |
|---|
| 2088 | | int i_iod_length; |
|---|
| | 2088 | int i_iod_length; |
|---|
| 2089 | 2089 | |
|---|
| 2090 | 2090 | p_iod = malloc( sizeof( iod_descriptor_t ) ); |
|---|