Changeset 1601147f60744e780e7262dba227ad5e90fd628a

Show
Ignore:
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
  • modules/access/vcdx/vcd.c

    rc7897a2 r1601147  
    55 ***************************************************************************** 
    66 * 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 $ 
    88 * 
    99 * Authors: Johan Bilien <jobi@via.ecp.fr> 
     
    5858static int  VCDOpen         ( vlc_object_t * ); 
    5959static void VCDClose        ( vlc_object_t * ); 
    60 static int  VCDRead         ( input_thread_t *, byte_t *, size_t ); 
    6160static int  VCDRead         ( input_thread_t *, byte_t *, size_t ); 
    6261static int  VCDSetProgram   ( input_thread_t *, pgrm_descriptor_t * ); 
     
    402401 
    403402    i_read = 0; 
     403 
     404    dbg_print( (INPUT_DBG_CALL), "lsn: %u", p_vcd->cur_lsn ); 
    404405 
    405406    /* Compute the number of blocks we have to read */ 
     
    530531 
    531532    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 ); 
    534537 
    535538    /* we can't use the interface slider until initilization is complete */ 
     
    633636     
    634637    p_vcd->in_still = 0; 
     638 
     639    dbg_print(INPUT_DBG_CALL, "itemid.num: %d, itemid.type: %d\n",  
     640          itemid.num, itemid.type); 
    635641 
    636642#define area p_input->stream.pp_areas 
     
    847853    area[0]->i_part_nb = 0; 
    848854     
    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 ); 
    851858 
    852859    if (num_segments == 0) return 0;