Changeset cf1164faba5e9c7cf8c05d32c1ab6373cb1095a4
- Timestamp:
- 07/25/02 22:34:35
(6 years ago)
- Author:
- Stéphane Borel <stef@videolan.org>
- git-committer:
- Stéphane Borel <stef@videolan.org> 1027629275 +0000
- git-parent:
[44ed9d3c02dfa173cf3996a9512f4e8b82691e8a]
- git-author:
- Stéphane Borel <stef@videolan.org> 1027629275 +0000
- Message:
*Use dvdplay after it has completed initialisation. It should avoid
some corruption leading to evil crash :)
-
Files:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
| r8a430a8 |
rcf1164f |
|
| 3 | 3 | ***************************************************************************** |
|---|
| 4 | 4 | * Copyright (C) 2001 VideoLAN |
|---|
| 5 | | * $Id: access.c,v 1.1 2002/07/23 19:56:19 stef Exp $ |
|---|
| | 5 | * $Id: access.c,v 1.2 2002/07/25 20:34:35 stef Exp $ |
|---|
| 6 | 6 | * |
|---|
| 7 | 7 | * Author: St�ane Borel <stef@via.ecp.fr> |
|---|
| … | … | |
| 276 | 276 | int i_chapter; |
|---|
| 277 | 277 | |
|---|
| | 278 | /* prevent intf to try to seek */ |
|---|
| | 279 | p_input->stream.b_seekable = 0; |
|---|
| | 280 | |
|---|
| 278 | 281 | /* Store selected chapter */ |
|---|
| 279 | 282 | i_chapter = p_area->i_part; |
|---|
| … | … | |
| 282 | 285 | |
|---|
| 283 | 286 | dvdplay_start( p_dvd->vmg, p_area->i_id ); |
|---|
| 284 | | |
|---|
| | 287 | |
|---|
| 285 | 288 | p_area->i_part = i_chapter; |
|---|
| 286 | 289 | } /* i_title >= 0 */ |
|---|
| … | … | |
| 386 | 389 | break; |
|---|
| 387 | 390 | case NEW_PGC: |
|---|
| | 391 | /* prevent intf to try to seek by default */ |
|---|
| | 392 | p_input->stream.b_seekable = 0; |
|---|
| | 393 | |
|---|
| 388 | 394 | if( ( i = dvdplay_title_cur( p_dvd->vmg ) ) != |
|---|
| 389 | 395 | p_input->stream.p_selected_area->i_id ) |
|---|
| … | … | |
| 395 | 401 | p_input->stream.pp_areas[i] ); |
|---|
| 396 | 402 | } |
|---|
| 397 | | else |
|---|
| 398 | | { |
|---|
| 399 | | /* new pgc in same title: reinit ES */ |
|---|
| 400 | | dvdNewPGC( p_input ); |
|---|
| 401 | | |
|---|
| 402 | | p_input->stream.b_changed = 1; |
|---|
| 403 | | } |
|---|
| | 403 | |
|---|
| | 404 | /* new pgc in same title: reinit ES */ |
|---|
| | 405 | dvdNewPGC( p_input ); |
|---|
| | 406 | |
|---|
| | 407 | p_input->stream.b_changed = 1; |
|---|
| 404 | 408 | |
|---|
| 405 | 409 | break; |
|---|
| … | … | |
| 465 | 469 | |
|---|
| 466 | 470 | dvdplay_SetProgram( p_input, |
|---|
| 467 | | p_input->stream.pp_programs[i_angle-1] ); |
|---|
| 468 | | |
|---|
| 469 | | dvdNewPGC( p_input ); |
|---|
| | 471 | p_input->stream.pp_programs[i_angle-1] ); |
|---|
| | 472 | |
|---|
| | 473 | // dvdNewPGC( p_input ); |
|---|
| 470 | 474 | |
|---|
| 471 | 475 | /* No PSM to read in DVD mode, we already have all information */ |
|---|