Changeset 6c4b8e5ab8d18bc08ac68d2fcec1d5ae7f1a0b6d

Show
Ignore:
Timestamp:
29/07/04 17:18:04 (4 years ago)
Author:
Derk-Jan Hartman <hartman@videolan.org>
git-committer:
Derk-Jan Hartman <hartman@videolan.org> 1091114284 +0000
git-parent:

[a3c3b3a8cac06c4539f48b5109e8b0ae1fa5d403]

git-author:
Derk-Jan Hartman <hartman@videolan.org> 1091114284 +0000
Message:

* vcdx Coding style fixes.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • modules/access/vcdx/access.c

    r05c9649 r6c4b8e5  
    7474static char *VCDParse       ( input_thread_t *, 
    7575                              /*out*/ vcdinfo_itemid_t * p_itemid , 
    76                               /*out*/ bool *play_single_item ); 
     76                              /*out*/ vlc_bool_t *play_single_item ); 
    7777 
    7878static void VCDUpdateVar( input_thread_t *p_input, int i_entry, int i_action, 
     
    441441    thread_vcd_data_t *     p_vcd= (thread_vcd_data_t *)p_input->p_access_data; 
    442442    input_area_t *          p_area; 
    443     bool                    b_was_still; 
     443    vlc_bool_t              b_was_still; 
    444444 
    445445    dbg_print(INPUT_DBG_CALL, "itemid.num: %d, itemid.type: %d\n", 
     
    462462        return VLC_EGENERIC; 
    463463      } 
    464       p_vcd->in_still  = false
     464      p_vcd->in_still  = VLC_FALSE
    465465      p_area           = area[itemid.num]; 
    466466      p_area->i_part   = p_area->i_plugin_data; 
     
    490490          case VCDINFO_FILES_VIDEO_PAL_STILL2: 
    491491            p_input->stream.b_seekable = 0; 
    492             p_vcd->in_still = true
     492            p_vcd->in_still = VLC_TRUE
    493493            break; 
    494494          default: 
    495495            p_input->stream.b_seekable = 1; 
    496             p_vcd->in_still = false
     496            p_vcd->in_still = VLC_FALSE
    497497          } 
    498498      } 
     
    547547      } else { 
    548548        track_t cur_track  = vcdinfo_get_track(p_vcd->vcd,  itemid.num); 
    549         p_vcd->in_still    = false
     549        p_vcd->in_still    = VLC_FALSE
    550550        p_area             = area[cur_track]; 
    551551        p_area->i_part     = itemid.num; 
     
    634634            msg_Warn( p_input, "wrong track number found in entry points" ); 
    635635    } 
    636     p_vcd->b_valid_ep = true
     636    p_vcd->b_valid_ep = VLC_TRUE
    637637    return 0; 
    638638} 
     
    770770    if (vcdinfo_read_psd (p_vcd->vcd)) { 
    771771 
    772       vcdinfo_visit_lot (p_vcd->vcd, false); 
     772      vcdinfo_visit_lot (p_vcd->vcd, VLC_FALSE); 
    773773 
    774774#if FIXED 
     
    780780     */ 
    781781      if (vcdinfo_get_psd_x_size(p_vcd->vcd)) 
    782         vcdinfo_visit_lot (p_vcd->vcd, true); 
     782        vcdinfo_visit_lot (p_vcd->vcd, VLC_TRUE); 
    783783#endif 
    784784    } 
     
    795795static char * 
    796796VCDParse( input_thread_t * p_input, /*out*/ vcdinfo_itemid_t * p_itemid, 
    797           /*out*/ bool *play_single_item ) 
     797          /*out*/ vlc_bool_t *play_single_item ) 
    798798{ 
    799799    thread_vcd_data_t *p_vcd = (thread_vcd_data_t *)p_input->p_access_data; 
     
    802802    char *             psz_next; 
    803803 
    804     if ( config_GetInt( p_input, MODULE_STRING "-PBC" ) ) { 
    805       p_itemid->type=VCDINFO_ITEM_TYPE_LID; 
    806       p_itemid->num=1; 
    807       *play_single_item=false; 
    808     } else { 
    809       p_itemid->type=VCDINFO_ITEM_TYPE_ENTRY; 
    810       p_itemid->num=0; 
     804    if( config_GetInt( p_input, MODULE_STRING "-PBC" ) ) { 
     805      p_itemid->type = VCDINFO_ITEM_TYPE_LID; 
     806      p_itemid->num = 1; 
     807      *play_single_item = VLC_FALSE; 
     808    } 
     809    else  
     810    { 
     811      p_itemid->type = VCDINFO_ITEM_TYPE_ENTRY; 
     812      p_itemid->num = 0; 
    811813    } 
    812814 
     
    845847            p_itemid->type = VCDINFO_ITEM_TYPE_ENTRY; 
    846848            ++psz_parser; 
    847             *play_single_item = true
     849            *play_single_item = VLC_TRUE
    848850            break; 
    849851          case 'P': 
    850852            p_itemid->type = VCDINFO_ITEM_TYPE_LID; 
    851853            ++psz_parser; 
    852             *play_single_item = false
     854            *play_single_item = VLC_FALSE
    853855            break; 
    854856          case 'S': 
    855857            p_itemid->type = VCDINFO_ITEM_TYPE_SEGMENT; 
    856858            ++psz_parser; 
    857             *play_single_item = true
     859            *play_single_item = VLC_TRUE
    858860            break; 
    859861          case 'T': 
    860862            p_itemid->type = VCDINFO_ITEM_TYPE_TRACK; 
    861863            ++psz_parser; 
    862             *play_single_item = true
     864            *play_single_item = VLC_TRUE
    863865            break; 
    864866          default: ; 
     
    886888      if( !psz_source || 0==strlen(psz_source) ) { 
    887889        /* Scan for a CD-ROM drive with a VCD in it. */ 
    888         char **cd_drives = cdio_get_devices_with_cap(NULL, 
    889                             (CDIO_FS_ANAL_SVCD|CDIO_FS_ANAL_CVD 
    890                              |CDIO_FS_ANAL_VIDEOCD|CDIO_FS_UNKNOWN), 
    891                                                      true); 
    892         if (NULL == cd_drives) return NULL; 
    893         if (cd_drives[0] == NULL) { 
    894           cdio_free_device_list(cd_drives); 
     890        char **cd_drives = cdio_get_devices_with_cap( NULL, 
     891                            ( CDIO_FS_ANAL_SVCD | CDIO_FS_ANAL_CVD 
     892                              |CDIO_FS_ANAL_VIDEOCD | CDIO_FS_UNKNOWN ), 
     893                                                     VLC_TRUE ); 
     894        if( NULL == cd_drives ) return NULL; 
     895        if( cd_drives[0] == NULL ) 
     896    { 
     897          cdio_free_device_list( cd_drives ); 
    895898          return NULL; 
    896899        } 
    897         psz_source = strdup(cd_drives[0]); 
    898         cdio_free_device_list(cd_drives); 
     900        psz_source = strdup( cd_drives[0] ); 
     901        cdio_free_device_list( cd_drives ); 
    899902      } 
    900903    } 
     
    975978  vcdsector_t vcd_sector; 
    976979 
    977   if (cdio_read_mode2_sector(vcdinfo_get_cd_image(p_vcd), 
    978                              &vcd_sector, cur_lsn, true
     980  if( cdio_read_mode2_sector( vcdinfo_get_cd_image( p_vcd ), 
     981                              &vcd_sector, cur_lsn, VLC_TRUE
    979982      != 0) 
    980    
     983 
    981984      msg_Warn( p_this, "Could not read LSN %lu",  
    982985        (long unsigned int) cur_lsn ); 
    983986      return -1; 
    984    
     987 
    985988 
    986989  memcpy (p_buffer, vcd_sector.data, M2F2_SECTOR_SIZE); 
     
    10971100        tp += len;                         \ 
    10981101      }                                                        \ 
    1099       saw_control_prefix = false;                \ 
     1102      saw_control_prefix = VLC_FALSE;                \ 
    11001103    }                                  \ 
    11011104  } 
    11021105 
    1103 #define add_format_num_info(val, fmt)                \ 
     1106#define add_format_num_info( val, fmt )                  \ 
    11041107  {                                \ 
    11051108    char num_str[10];                          \ 
    11061109    unsigned int len;                          \ 
    11071110    sprintf(num_str, fmt, val);                                \ 
    1108     len=strlen(num_str);                       \ 
    1109     if (len != 0) {                        \ 
     1111    len = strlen(num_str);                     \ 
     1112    if( len != 0 )                                             \ 
     1113    {                                          \ 
    11101114      strncat(tp, num_str, TEMP_STR_LEN-(tp-temp_str));        \ 
    11111115      tp += len;                           \ 
    11121116    }                                  \ 
    1113     saw_control_prefix = false;                                \ 
     1117    saw_control_prefix = VLC_FALSE;                                \ 
    11141118  } 
    11151119 
     
    11441148#define TEMP_STR_LEN (TEMP_STR_SIZE-1) 
    11451149  static char    temp_str[TEMP_STR_SIZE]; 
    1146   size_t i; 
    1147   char * tp = temp_str; 
    1148   bool saw_control_prefix = false
    1149   size_t format_len = strlen(format_str); 
     1150  size_t         i; 
     1151  char *         tp = temp_str; 
     1152  vlc_bool_t     saw_control_prefix = VLC_FALSE
     1153  size_t         format_len = strlen(format_str); 
    11501154 
    11511155  memset(temp_str, 0, TEMP_STR_SIZE); 
     
    11551159    if (!saw_control_prefix && format_str[i] != '%') { 
    11561160      *tp++ = format_str[i]; 
    1157       saw_control_prefix = false
     1161      saw_control_prefix = VLC_FALSE
    11581162      continue; 
    11591163    } 
     
    12101214          ; 
    12111215        } 
    1212         saw_control_prefix = false
     1216        saw_control_prefix = VLC_FALSE
    12131217      } 
    12141218      break; 
     
    12211225        tp += strlen(num_str); 
    12221226      } 
    1223       saw_control_prefix = false
     1227      saw_control_prefix = VLC_FALSE
    12241228      break; 
    12251229 
     
    12491253        tp += strlen(seg_type_str); 
    12501254      } 
    1251       saw_control_prefix = false
     1255      saw_control_prefix = VLC_FALSE
    12521256      break; 
    12531257 
     
    12671271      *tp++ = '%'; 
    12681272      *tp++ = format_str[i]; 
    1269       saw_control_prefix = false
     1273      saw_control_prefix = VLC_FALSE
    12701274    } 
    12711275  } 
     
    13271331VCDFixupPlayList( input_thread_t *p_input, thread_vcd_data_t *p_vcd, 
    13281332                  const char *psz_source, vcdinfo_itemid_t *itemid, 
    1329                   bool play_single_item ) 
     1333                  vlc_bool_t play_single_item ) 
    13301334{ 
    13311335  unsigned int i; 
     
    14511455    char *                  psz_source; 
    14521456    vcdinfo_itemid_t        itemid; 
    1453     bool                    b_play_ok; 
    1454     bool                    play_single_item = false
     1457    vlc_bool_t              b_play_ok; 
     1458    vlc_bool_t              play_single_item = VLC_FALSE
    14551459 
    14561460    p_input->pf_read        = VCDRead; 
     
    14691473    p_input->p_access_data = (void *)p_vcd; 
    14701474    p_vcd->i_debug         = config_GetInt( p_this, MODULE_STRING "-debug" ); 
    1471     p_vcd->in_still        = false
     1475    p_vcd->in_still        = VLC_FALSE
    14721476    p_vcd->play_item.type  = VCDINFO_ITEM_TYPE_NOTFOUND; 
    14731477 
     
    15111515    } 
    15121516 
    1513     p_vcd->b_svd= vcdinfo_get_tracksSVD(p_vcd->vcd);; 
     1517    p_vcd->b_svd= (vlc_bool_t) vcdinfo_get_tracksSVD(p_vcd->vcd);; 
    15141518     
    15151519    /* Get track information. */ 
     
    15481552    { 
    15491553        msg_Warn( p_input, "could not read entry points, will not use them" ); 
    1550         p_vcd->b_valid_ep = false
     1554        p_vcd->b_valid_ep = VLC_FALSE
    15511555    } 
    15521556 
  • modules/access/vcdx/cdrom.c

    rfd05dc6 r6c4b8e5  
    33 ***************************************************************************** 
    44 * Copyright (C) 1998-2001 VideoLAN 
    5  * $Id: cdrom.c,v 1.1 2003/10/04 18:55:13 gbazin Exp
     5 * $Id
    66 * 
    77 * Authors: Johan Bilien <jobi@via.ecp.fr> 
     
    135135  vcdsector_t vcd_sector; 
    136136   
    137   if (cdio_read_mode2_sector(p_cddev->cdio, &vcd_sector, i_sector, true)  
     137  if( cdio_read_mode2_sector(p_cddev->cdio, &vcd_sector, i_sector, VLC_TRUE)  
    138138      != 0) 
    139    
     139 
    140140      // msg_Err( p_this, "Could not read sector %d", i_sector ); 
    141141      return -1; 
    142    
     142 
    143143     
    144144  memcpy (p_buffer, vcd_sector.data, M2F2_SECTOR_SIZE); 
  • modules/access/vcdx/vcd.h

    r5b96a62 r6c4b8e5  
    44 ***************************************************************************** 
    55 * Copyright (C) 2003 VideoLAN 
    6  * $Id: vcd.h,v 1.4 2003/11/26 02:41:02 rocky Exp
     6 * $Id
    77 * 
    88 * Authors: Rocky Bernstein <rocky@panix.com>  
     
    4141 
    4242    int                     i_still_time; 
    43     bool                    b_end_of_cell; 
     43    vlc_bool_t                    b_end_of_cell; 
    4444 
    4545#if FINISHED 
  • modules/access/vcdx/vcdplayer.c

    r8295771 r6c4b8e5  
    4949 
    5050/*! 
    51   Return true if playback control (PBC) is on 
     51  Return VLC_TRUE if playback control (PBC) is on 
    5252*/ 
    53 bool 
    54 vcdplayer_pbc_is_on(const thread_vcd_data_t *p_vcd)  
     53vlc_bool_t vcdplayer_pbc_is_on( const thread_vcd_data_t *p_vcd )  
    5554{ 
    5655  return VCDINFO_INVALID_ENTRY != p_vcd->cur_lid;  
    5756} 
    5857 
    59 static void 
    60 vcdplayer_update_entry( input_thread_t * p_input, uint16_t ofs,  
     58static void vcdplayer_update_entry( input_thread_t * p_input, uint16_t ofs,  
    6159                        uint16_t *entry, const char *label) 
    6260{ 
     
    8078   is to do something that's probably right or helpful. 
    8179 
    82    return true if the caller should return. 
     80   return VLC_TRUE if the caller should return. 
    8381*/ 
    84 vcdplayer_read_status_t 
    85 vcdplayer_non_pbc_nav ( input_thread_t * p_input ) 
     82vcdplayer_read_status_t vcdplayer_non_pbc_nav ( input_thread_t * p_input ) 
    8683{ 
    8784  thread_vcd_data_t *     p_vcd= (thread_vcd_data_t *)p_input->p_access_data; 
     
    261258  "next" field of a LID which moves us to a different LID. 
    262259 */ 
    263 bool 
    264 vcdplayer_inc_play_item( input_thread_t *p_input ) 
     260vlc_bool_t vcdplayer_inc_play_item( input_thread_t *p_input ) 
    265261{ 
    266262  thread_vcd_data_t *     p_vcd= (thread_vcd_data_t *)p_input->p_access_data; 
     
    270266  dbg_print(INPUT_DBG_CALL, "called pli: %d", p_vcd->pdi); 
    271267 
    272   if ( NULL == p_vcd || NULL == p_vcd->pxd.pld  ) return false
     268  if ( NULL == p_vcd || NULL == p_vcd->pxd.pld  ) return VLC_FALSE
    273269 
    274270  noi = vcdinf_pld_get_noi(p_vcd->pxd.pld); 
    275271   
    276   if ( noi <= 0 ) return false
     272  if ( noi <= 0 ) return VLC_FALSE
    277273   
    278274  /* Handle delays like autowait or wait here? */ 
     
    280276  p_vcd->pdi++; 
    281277 
    282   if ( p_vcd->pdi < 0 || p_vcd->pdi >= noi ) return false
     278  if ( p_vcd->pdi < 0 || p_vcd->pdi >= noi ) return VLC_FALSE
    283279 
    284280  else { 
     
    287283    vcdinfo_itemid_t trans_itemid; 
    288284 
    289     if (VCDINFO_INVALID_ITEMID == trans_itemid_num) return false
     285    if (VCDINFO_INVALID_ITEMID == trans_itemid_num) return VLC_FALSE
    290286     
    291287    vcdinfo_classify_itemid(trans_itemid_num, &trans_itemid); 
     
    299295  Play item assocated with the "default" selection. 
    300296 
    301   Return false if there was some problem. 
     297  Return VLC_FALSE if there was some problem. 
    302298*/ 
    303 bool 
    304 vcdplayer_play_default( input_thread_t * p_input ) 
     299vlc_bool_t vcdplayer_play_default( input_thread_t * p_input ) 
    305300{ 
    306301  thread_vcd_data_t *p_vcd= (thread_vcd_data_t *)p_input->p_access_data; 
     
    340335    case PSD_TYPE_SELECTION_LIST: 
    341336    case PSD_TYPE_EXT_SELECTION_LIST: 
    342       if (p_vcd->pxd.psd == NULL) return false
     337      if (p_vcd->pxd.psd == NULL) return VLC_FALSE
    343338      vcdplayer_update_entry( p_input,  
    344339                  vcdinfo_get_default_offset(p_vcd->vcd,  
     
    351346    case PSD_TYPE_COMMAND_LIST: 
    352347      LOG_WARN( "There is no PBC 'default' selection here" ); 
    353       return false
     348      return VLC_FALSE
    354349    } 
    355350#endif /* LIBVCD_VERSION (< 0.7.21) */ 
     
    373368  Play item assocated with the "next" selection. 
    374369 
    375   Return false if there was some problem. 
     370  Return VLC_FALSE if there was some problem. 
    376371*/ 
    377 bool 
    378 vcdplayer_play_next( input_thread_t * p_input ) 
     372vlc_bool_t vcdplayer_play_next( input_thread_t * p_input ) 
    379373{ 
    380374  thread_vcd_data_t *p_vcd= (thread_vcd_data_t *)p_input->p_access_data; 
     
    383377  vcdinfo_itemid_t   itemid; 
    384378 
    385   if (!p_vcd) return false
     379  if (!p_vcd) return VLC_FALSE
    386380 
    387381  dbg_print( (INPUT_DBG_CALL|INPUT_DBG_PBC),  
     
    399393    case PSD_TYPE_SELECTION_LIST: 
    400394    case PSD_TYPE_EXT_SELECTION_LIST: 
    401       if (p_vcd->pxd.psd == NULL) return false
     395      if (p_vcd->pxd.psd == NULL) return VLC_FALSE
    402396      vcdplayer_update_entry( p_input,  
    403397                  vcdinf_psd_get_next_offset(p_vcd->pxd.psd),  
     
    407401 
    408402    case PSD_TYPE_PLAY_LIST:  
    409       if (p_vcd->pxd.pld == NULL) return false
     403      if (p_vcd->pxd.pld == NULL) return VLC_FALSE
    410404      vcdplayer_update_entry( p_input,  
    411405                  vcdinf_pld_get_next_offset(p_vcd->pxd.pld),  
     
    417411    case PSD_TYPE_COMMAND_LIST: 
    418412      LOG_WARN( "There is no PBC 'next' selection here" ); 
    419       return false
     413      return VLC_FALSE
    420414    } 
    421415  } else { 
     
    447441      } else { 
    448442    LOG_WARN( "At the end - non-PBC 'next' not possible here" ); 
    449     return false
     443    return VLC_FALSE
    450444      } 
    451445       
     
    456450    /* Should have handled above. */ 
    457451    LOG_WARN( "Internal inconsistency - should not have gotten here." ); 
    458     return false
     452    return VLC_FALSE
    459453      } 
    460454    default:  
    461       return false
     455      return VLC_FALSE
    462456    } 
    463457  } 
     
    471465  Play item assocated with the "prev" selection. 
    472466 
    473   Return false if there was some problem. 
     467  Return VLC_FALSE if there was some problem. 
    474468*/ 
    475 bool 
    476 vcdplayer_play_prev( input_thread_t * p_input ) 
     469vlc_bool_t vcdplayer_play_prev( input_thread_t * p_input ) 
    477470{ 
    478471  thread_vcd_data_t *p_vcd= (thread_vcd_data_t *)p_input->p_access_data; 
     
    493486    case PSD_TYPE_SELECTION_LIST: 
    494487    case PSD_TYPE_EXT_SELECTION_LIST: 
    495       if (p_vcd->pxd.psd == NULL) return false
     488      if (p_vcd->pxd.psd == NULL) return VLC_FALSE
    496489      vcdplayer_update_entry( p_input,  
    497490                  vcdinf_psd_get_prev_offset(p_vcd->pxd.psd),  
     
    501494 
    502495    case PSD_TYPE_PLAY_LIST:  
    503       if (p_vcd->pxd.pld == NULL) return false
     496      if (p_vcd->pxd.pld == NULL) return VLC_FALSE
    504497      vcdplayer_update_entry( p_input,  
    505498                  vcdinf_pld_get_prev_offset(p_vcd->pxd.pld),  
     
    511504    case PSD_TYPE_COMMAND_LIST: 
    512505      LOG_WARN( "There is no PBC 'prev' selection here" ); 
    513       return false
     506      return VLC_FALSE
    514507    } 
    515508  } else { 
     
    524517    } else { 
    525518      LOG_WARN( "At the beginning - non-PBC 'prev' not possible here" ); 
    526       return false
     519      return VLC_FALSE
    527520    } 
    528521       
     
    537530  Play item assocated with the "return" selection. 
    538531 
    539   Return false if there was some problem. 
     532  Return VLC_FALSE if there was some problem. 
    540533*/ 
    541 bool 
    542 vcdplayer_play_return( input_thread_t * p_input ) 
     534vlc_bool_t vcdplayer_play_return( input_thread_t * p_input ) 
    543535{ 
    544536  thread_vcd_data_t *p_vcd= (thread_vcd_data_t *)p_input->p_access_data; 
     
    559551    case PSD_TYPE_SELECTION_LIST: 
    560552    case PSD_TYPE_EXT_SELECTION_LIST: 
    561       if (p_vcd->pxd.psd == NULL) return false
     553      if (p_vcd->pxd.psd == NULL) return VLC_FALSE
    562554      vcdplayer_update_entry( p_input,  
    563555                  vcdinf_psd_get_return_offset(p_vcd->pxd.psd),  
     
    567559 
    568560    case PSD_TYPE_PLAY_LIST:  
    569       if (p_vcd->pxd.pld == NULL) return false
     561      if (p_vcd->pxd.pld == NULL) return VLC_FALSE
    570562      vcdplayer_update_entry( p_input,  
    571563                  vcdinf_pld_get_return_offset(p_vcd->pxd.pld),  
     
    577569    case PSD_TYPE_COMMAND_LIST: 
    578570      LOG_WARN( "There is no PBC 'return' selection here" ); 
    579       return false
     571      return VLC_FALSE
    580572    } 
    581573  } else { 
  • modules/access/vcdx/vcdplayer.h

    rba3b263 r6c4b8e5  
    6666{ 
    6767  vcdinfo_obj_t *vcd;                   /* CD device descriptor */ 
    68   bool           in_still;              /*  true if in still */ 
    69   bool           b_svd;                 /*  true if we have SVD info */ 
     68  vlc_bool_t   in_still;              /*  true if in still */ 
     69  vlc_bool_t   b_svd;                 /*  true if we have SVD info */ 
    7070  unsigned int num_tracks;              /* Nb of tracks (titles) */ 
    7171  unsigned int num_segments;            /* Nb of segments */ 
     
    100100  lsn_t *      p_entries;               /* Entry points */ 
    101101  lsn_t *      p_segments;              /* Segments */ 
    102   bool         b_valid_ep;              /* Valid entry points flag */ 
     102  vlc_bool_t   b_valid_ep;              /* Valid entry points flag */ 
    103103  vlc_bool_t   b_end_of_track;          /* If the end of track was reached */ 
    104104  int          i_debug;                 /* Debugging mask */ 
     
    118118  "next" field of a LID which moves us to a different LID. 
    119119 */ 
    120 bool vcdplayer_inc_play_item( input_thread_t *p_input ); 
     120vlc_bool_t vcdplayer_inc_play_item( input_thread_t *p_input ); 
    121121 
    122122/*! 
    123123  Return true if playback control (PBC) is on 
    124124*/ 
    125 bool vcdplayer_pbc_is_on(const thread_vcd_data_t *p_this); 
     125vlc_bool_t vcdplayer_pbc_is_on(const thread_vcd_data_t *p_this); 
    126126 
    127127/*! 
     
    130130  Return false if there was some problem. 
    131131*/ 
    132 bool vcdplayer_play_default( input_thread_t * p_input ); 
     132vlc_bool_t vcdplayer_play_default( input_thread_t * p_input ); 
    133133 
    134134/*! 
     
    137137  Return false if there was some problem. 
    138138*/ 
    139 bool vcdplayer_play_next( input_thread_t * p_input ); 
     139vlc_bool_t vcdplayer_play_next( input_thread_t * p_input ); 
    140140 
    141141/*! 
     
    144144  Return false if there was some problem. 
    145145*/ 
    146 bool vcdplayer_play_prev( input_thread_t * p_input ); 
     146vlc_bool_t vcdplayer_play_prev( input_thread_t * p_input ); 
    147147 
    148148/*! 
     
    151151  Return false if there was some problem. 
    152152*/ 
    153 bool 
     153vlc_bool_t 
    154154vcdplayer_play_return( input_thread_t * p_input ); 
    155155