Changeset 1601147f60744e780e7262dba227ad5e90fd628a
- Timestamp:
- 11/09/03 18:45:41
(5 years ago)
- Author:
- Rocky Bernstein <rocky@videolan.org>
- git-committer:
- Rocky Bernstein <rocky@videolan.org> 1068399941 +0000
- git-parent:
[cf1ded5901502712e880a5de58e078f67653785e]
- git-author:
- Rocky Bernstein <rocky@videolan.org> 1068399941 +0000
- Message:
Small changes to assist debugging.
-
Files:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
| rc7897a2 |
r1601147 |
|
| 5 | 5 | ***************************************************************************** |
|---|
| 6 | 6 | * Copyright (C) 2000 VideoLAN |
|---|
| 7 | | * $Id: vcd.c,v 1.3 2003/11/09 00:52:32 rocky Exp $ |
|---|
| | 7 | * $Id: vcd.c,v 1.4 2003/11/09 17:45:41 rocky Exp $ |
|---|
| 8 | 8 | * |
|---|
| 9 | 9 | * Authors: Johan Bilien <jobi@via.ecp.fr> |
|---|
| … | … | |
| 58 | 58 | static int VCDOpen ( vlc_object_t * ); |
|---|
| 59 | 59 | static void VCDClose ( vlc_object_t * ); |
|---|
| 60 | | static int VCDRead ( input_thread_t *, byte_t *, size_t ); |
|---|
| 61 | 60 | static int VCDRead ( input_thread_t *, byte_t *, size_t ); |
|---|
| 62 | 61 | static int VCDSetProgram ( input_thread_t *, pgrm_descriptor_t * ); |
|---|
| … | … | |
| 402 | 401 | |
|---|
| 403 | 402 | i_read = 0; |
|---|
| | 403 | |
|---|
| | 404 | dbg_print( (INPUT_DBG_CALL), "lsn: %u", p_vcd->cur_lsn ); |
|---|
| 404 | 405 | |
|---|
| 405 | 406 | /* Compute the number of blocks we have to read */ |
|---|
| … | … | |
| 530 | 531 | |
|---|
| 531 | 532 | dbg_print( (INPUT_DBG_CALL|INPUT_DBG_EXT), |
|---|
| 532 | | "track: %d, entry %d, seekable %d", |
|---|
| 533 | | i_track, i_entry, old_seekable ); |
|---|
| | 533 | "track: %d, entry %d, seekable %d, area %lx, select area %lx ", |
|---|
| | 534 | i_track, i_entry, old_seekable, |
|---|
| | 535 | (long unsigned int) p_area, |
|---|
| | 536 | (long unsigned int) p_input->stream.p_selected_area ); |
|---|
| 534 | 537 | |
|---|
| 535 | 538 | /* we can't use the interface slider until initilization is complete */ |
|---|
| … | … | |
| 633 | 636 | |
|---|
| 634 | 637 | p_vcd->in_still = 0; |
|---|
| | 638 | |
|---|
| | 639 | dbg_print(INPUT_DBG_CALL, "itemid.num: %d, itemid.type: %d\n", |
|---|
| | 640 | itemid.num, itemid.type); |
|---|
| 635 | 641 | |
|---|
| 636 | 642 | #define area p_input->stream.pp_areas |
|---|
| … | … | |
| 847 | 853 | area[0]->i_part_nb = 0; |
|---|
| 848 | 854 | |
|---|
| 849 | | dbg_print( INPUT_DBG_MRL, "area id %d, for segment track %d", |
|---|
| 850 | | area[0]->i_id, 0 ); |
|---|
| | 855 | dbg_print( INPUT_DBG_MRL, |
|---|
| | 856 | "area[0] id: %d, i_start: %lld, i_size: %lld", |
|---|
| | 857 | area[0]->i_id, area[0]->i_start, area[0]->i_size ); |
|---|
| 851 | 858 | |
|---|
| 852 | 859 | if (num_segments == 0) return 0; |
|---|