Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-1.1
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc-1.1
Commits
cf1164fa
Commit
cf1164fa
authored
Jul 25, 2002
by
Stéphane Borel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
*Use dvdplay after it has completed initialisation. It should avoid
some corruption leading to evil crash :)
parent
44ed9d3c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
11 deletions
+15
-11
plugins/dvdplay/access.c
plugins/dvdplay/access.c
+15
-11
No files found.
plugins/dvdplay/access.c
View file @
cf1164fa
...
...
@@ -2,7 +2,7 @@
* access.c: access capabilities for dvdplay plugin.
*****************************************************************************
* Copyright (C) 2001 VideoLAN
* $Id: access.c,v 1.
1 2002/07/23 19:56:19
stef Exp $
* $Id: access.c,v 1.
2 2002/07/25 20:34:35
stef Exp $
*
* Author: Stphane Borel <stef@via.ecp.fr>
*
...
...
@@ -275,13 +275,16 @@ static int dvdplay_SetArea( input_thread_t * p_input, input_area_t * p_area )
{
int
i_chapter
;
/* prevent intf to try to seek */
p_input
->
stream
.
b_seekable
=
0
;
/* Store selected chapter */
i_chapter
=
p_area
->
i_part
;
dvdNewArea
(
p_input
,
p_area
);
dvdplay_start
(
p_dvd
->
vmg
,
p_area
->
i_id
);
p_area
->
i_part
=
i_chapter
;
}
/* i_title >= 0 */
else
...
...
@@ -385,6 +388,9 @@ static void pf_vmg_callback( void* p_args, dvdplay_event_t event )
break
;
case
NEW_PGC
:
/* prevent intf to try to seek by default */
p_input
->
stream
.
b_seekable
=
0
;
if
(
(
i
=
dvdplay_title_cur
(
p_dvd
->
vmg
)
)
!=
p_input
->
stream
.
p_selected_area
->
i_id
)
{
...
...
@@ -394,13 +400,11 @@ static void pf_vmg_callback( void* p_args, dvdplay_event_t event )
dvdNewArea
(
p_input
,
p_input
->
stream
.
pp_areas
[
i
]
);
}
else
{
/* new pgc in same title: reinit ES */
dvdNewPGC
(
p_input
);
p_input
->
stream
.
b_changed
=
1
;
}
/* new pgc in same title: reinit ES */
dvdNewPGC
(
p_input
);
p_input
->
stream
.
b_changed
=
1
;
break
;
case
NEW_PG
:
...
...
@@ -464,9 +468,9 @@ static int dvdNewArea( input_thread_t * p_input, input_area_t * p_area )
}
dvdplay_SetProgram
(
p_input
,
p_input
->
stream
.
pp_programs
[
i_angle
-
1
]
);
p_input
->
stream
.
pp_programs
[
i_angle
-
1
]
);
dvdNewPGC
(
p_input
);
//
dvdNewPGC( p_input );
/* No PSM to read in DVD mode, we already have all information */
p_input
->
stream
.
p_selected_program
->
b_is_ok
=
1
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment