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
32bbb393
Commit
32bbb393
authored
Jun 25, 2004
by
Gildas Bazin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* gui/wxwindows/open.cpp: removed deprecated DVD entries.
* access/dvdread.c: added dvdsimple shortcut.
parent
163b655b
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
14 deletions
+4
-14
modules/access/dvdread.c
modules/access/dvdread.c
+2
-1
modules/gui/wxwindows/open.cpp
modules/gui/wxwindows/open.cpp
+2
-13
No files found.
modules/access/dvdread.c
View file @
32bbb393
...
@@ -90,8 +90,9 @@ vlc_module_begin();
...
@@ -90,8 +90,9 @@ vlc_module_begin();
CSSMETHOD_LONGTEXT
,
VLC_TRUE
);
CSSMETHOD_LONGTEXT
,
VLC_TRUE
);
change_string_list
(
psz_css_list
,
psz_css_list_text
,
0
);
change_string_list
(
psz_css_list
,
psz_css_list_text
,
0
);
set_capability
(
"access_demux"
,
0
);
set_capability
(
"access_demux"
,
0
);
add_shortcut
(
"dvd"
);
//
add_shortcut( "dvd" );
add_shortcut
(
"dvdread"
);
add_shortcut
(
"dvdread"
);
add_shortcut
(
"dvdsimple"
);
set_callbacks
(
Open
,
Close
);
set_callbacks
(
Open
,
Close
);
vlc_module_end
();
vlc_module_end
();
...
...
modules/gui/wxwindows/open.cpp
View file @
32bbb393
...
@@ -612,7 +612,6 @@ wxPanel *OpenDialog::DiscPanel( wxWindow* parent )
...
@@ -612,7 +612,6 @@ wxPanel *OpenDialog::DiscPanel( wxWindow* parent )
wxU
(
_
(
"DVD"
)),
wxU
(
_
(
"DVD"
)),
wxU
(
_
(
"VCD"
)),
wxU
(
_
(
"VCD"
)),
wxU
(
_
(
"Audio CD"
)),
wxU
(
_
(
"Audio CD"
)),
wxU
(
_
(
"DVD (test)"
))
};
};
disc_type
=
new
wxRadioBox
(
panel
,
DiscType_Event
,
wxU
(
_
(
"Disc type"
)),
disc_type
=
new
wxRadioBox
(
panel
,
DiscType_Event
,
wxU
(
_
(
"Disc type"
)),
...
@@ -772,7 +771,7 @@ void OpenDialog::UpdateMRL( int i_access_method )
...
@@ -772,7 +771,7 @@ void OpenDialog::UpdateMRL( int i_access_method )
switch
(
i_disc_type_selection
)
switch
(
i_disc_type_selection
)
{
{
case
0
:
/* DVD with menu
e
s */
case
0
:
/* DVD with menus */
disc_chapter
->
Enable
();
disc_chapter
->
Enable
();
disc_chapter_label
->
Enable
();
disc_chapter_label
->
Enable
();
mrltemp
=
wxT
(
"dvd://"
)
mrltemp
=
wxT
(
"dvd://"
)
...
@@ -782,7 +781,7 @@ void OpenDialog::UpdateMRL( int i_access_method )
...
@@ -782,7 +781,7 @@ void OpenDialog::UpdateMRL( int i_access_method )
disc_chapter
->
GetValue
()
);
disc_chapter
->
GetValue
()
);
break
;
break
;
case
1
:
/* DVD
of some sort
*/
case
1
:
/* DVD
without menus
*/
disc_chapter
->
Enable
();
disc_chapter
->
Enable
();
disc_chapter_label
->
Enable
();
disc_chapter_label
->
Enable
();
mrltemp
=
wxT
(
"dvdsimple://"
)
mrltemp
=
wxT
(
"dvdsimple://"
)
...
@@ -844,16 +843,6 @@ void OpenDialog::UpdateMRL( int i_access_method )
...
@@ -844,16 +843,6 @@ void OpenDialog::UpdateMRL( int i_access_method )
#endif
#endif
break
;
break
;
case
4
:
/* DVD of some sort */
disc_chapter
->
Enable
();
disc_chapter_label
->
Enable
();
mrltemp
=
wxT
(
"dvdnav://"
)
+
disc_device
->
GetValue
()
+
wxString
::
Format
(
wxT
(
"@%d:%d"
),
disc_title
->
GetValue
(),
disc_chapter
->
GetValue
()
);
break
;
default:
;
default:
;
msg_Err
(
p_intf
,
"invalid selection (%d)"
,
msg_Err
(
p_intf
,
"invalid selection (%d)"
,
disc_type
->
GetSelection
()
);
disc_type
->
GetSelection
()
);
...
...
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