Commit a58fb4dc authored by Rocky Bernstein's avatar Rocky Bernstein

Need to change libvcdinfo to be more robust when there are

reading the extended PSD. Given that area-highlighting and
features in the extended PSD haven't been implemented,
best then to not try to read this at all.
parent 8da122f0
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
* to go here. * to go here.
***************************************************************************** *****************************************************************************
* Copyright (C) 2000 VideoLAN * Copyright (C) 2000 VideoLAN
* $Id: access.c,v 1.1 2003/10/04 18:55:13 gbazin Exp $ * $Id: access.c,v 1.2 2003/11/07 10:31:38 rocky Exp $
* *
* Authors: Johan Bilien <jobi@via.ecp.fr> * Authors: Johan Bilien <jobi@via.ecp.fr>
* Rocky Bernstein <rocky@panix.com> * Rocky Bernstein <rocky@panix.com>
...@@ -886,8 +886,16 @@ VCDLIDs( input_thread_t * p_input ) ...@@ -886,8 +886,16 @@ VCDLIDs( input_thread_t * p_input )
vcdinfo_visit_lot (p_vcd->vcd, false); vcdinfo_visit_lot (p_vcd->vcd, false);
#if FIXED
/*
We need to change libvcdinfo to be more robust when there are
problems reading the extended PSD. Given that area-highlighting and
selection features in the extended PSD haven't been implemented,
it's best then to not try to read this at all.
*/
if (vcdinfo_get_psd_x_size(p_vcd->vcd)) if (vcdinfo_get_psd_x_size(p_vcd->vcd))
vcdinfo_visit_lot (p_vcd->vcd, true); vcdinfo_visit_lot (p_vcd->vcd, true);
#endif
} }
dbg_print( (INPUT_DBG_CALL|INPUT_DBG_MRL), dbg_print( (INPUT_DBG_CALL|INPUT_DBG_MRL),
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
* to go here. * to go here.
***************************************************************************** *****************************************************************************
* Copyright (C) 2000 VideoLAN * Copyright (C) 2000 VideoLAN
* $Id: vcd.c,v 1.1 2003/10/04 18:55:13 gbazin Exp $ * $Id: vcd.c,v 1.2 2003/11/07 10:33:41 rocky Exp $
* *
* Authors: Johan Bilien <jobi@via.ecp.fr> * Authors: Johan Bilien <jobi@via.ecp.fr>
* Rocky Bernstein <rocky@panix.com> * Rocky Bernstein <rocky@panix.com>
...@@ -922,8 +922,16 @@ VCDLIDs( input_thread_t * p_input ) ...@@ -922,8 +922,16 @@ VCDLIDs( input_thread_t * p_input )
vcdinfo_visit_lot (p_vcd->vcd, false); vcdinfo_visit_lot (p_vcd->vcd, false);
#if FIXED
/*
We need to change libvcdinfo to be more robust when there are
problems reading the extended PSD. Given that area-highlighting and
selection features in the extended PSD haven't been implemented,
it's best then to not try to read this at all.
*/
if (vcdinfo_get_psd_x_size(p_vcd->vcd)) if (vcdinfo_get_psd_x_size(p_vcd->vcd))
vcdinfo_visit_lot (p_vcd->vcd, true); vcdinfo_visit_lot (p_vcd->vcd, true);
#endif
} }
dbg_print( (INPUT_DBG_CALL|INPUT_DBG_MRL), dbg_print( (INPUT_DBG_CALL|INPUT_DBG_MRL),
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment