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
99deec70
Commit
99deec70
authored
Aug 21, 2005
by
Felix Paul Kühne
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* implement the extract-button of the bookmarks-window correctly (refs #22)
parent
58f0b81b
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
13 deletions
+15
-13
modules/gui/macosx/bookmarks.m
modules/gui/macosx/bookmarks.m
+7
-8
modules/gui/macosx/wizard.m
modules/gui/macosx/wizard.m
+8
-5
No files found.
modules/gui/macosx/bookmarks.m
View file @
99deec70
...
@@ -285,7 +285,7 @@ static VLCBookmarks *_o_sharedInstance = nil;
...
@@ -285,7 +285,7 @@ static VLCBookmarks *_o_sharedInstance = nil;
/* extract */
/* extract */
intf_thread_t
*
p_intf
=
VLCIntf
;
intf_thread_t
*
p_intf
=
VLCIntf
;
/*
if
(
[
o_tbl_dataTable
numberOfSelectedRows
]
<
2
)
if
(
[
o_tbl_dataTable
numberOfSelectedRows
]
<
2
)
{
{
NSBeginAlertSheet
(
_NS
(
"Invalid selection"
),
_NS
(
"OK"
),
\
NSBeginAlertSheet
(
_NS
(
"Invalid selection"
),
_NS
(
"OK"
),
\
...
@@ -318,18 +318,18 @@ static VLCBookmarks *_o_sharedInstance = nil;
...
@@ -318,18 +318,18 @@ static VLCBookmarks *_o_sharedInstance = nil;
{
{
i_first
=
x
;
i_first
=
x
;
c
=
1
;
c
=
1
;
return;
}
}
else
if
(
i_second
==
-
1
)
else
if
(
i_second
==
-
1
)
{
{
i_second
=
x
;
i_second
=
x
;
c
=
2
;
c
=
2
;
return;
}
}
}
}
x
=
(
x
+
1
);
x
=
(
x
+
1
);
}
}
msg_Dbg
(
p_intf
,
"got the bookmark-indexes"
);
if
(
input_Control
(
p_input
,
INPUT_GET_BOOKMARKS
,
&
pp_bookmarks
,
\
if
(
input_Control
(
p_input
,
INPUT_GET_BOOKMARKS
,
&
pp_bookmarks
,
\
&
i_bookmarks
)
!=
VLC_SUCCESS
)
&
i_bookmarks
)
!=
VLC_SUCCESS
)
{
{
...
@@ -337,7 +337,7 @@ static VLCBookmarks *_o_sharedInstance = nil;
...
@@ -337,7 +337,7 @@ static VLCBookmarks *_o_sharedInstance = nil;
msg_Err
(
p_intf
,
"bookmarks couldn't be retrieved from core"
);
msg_Err
(
p_intf
,
"bookmarks couldn't be retrieved from core"
);
return
;
return
;
}
}
msg_Dbg(p_intf, "calling
for
wizard");
msg_Dbg
(
p_intf
,
"calling wizard"
);
[[[
VLCMain
sharedInstance
]
getWizard
]
initWithExtractValuesFrom
:
\
[[[
VLCMain
sharedInstance
]
getWizard
]
initWithExtractValuesFrom
:
\
[[
NSNumber
numberWithInt
:
\
[[
NSNumber
numberWithInt
:
\
...
@@ -347,8 +347,7 @@ static VLCBookmarks *_o_sharedInstance = nil;
...
@@ -347,8 +347,7 @@ static VLCBookmarks *_o_sharedInstance = nil;
ofItem
:
[
NSString
stringWithUTF8String
:
\
ofItem
:
[
NSString
stringWithUTF8String
:
\
p_input
->
input
.
p_item
->
psz_uri
]];
p_input
->
input
.
p_item
->
psz_uri
]];
vlc_object_release
(
p_input
);
vlc_object_release
(
p_input
);
msg_Dbg(p_intf, "released input");*/
msg_Dbg
(
p_intf
,
"released input"
);
msg_Err
(
p_intf
,
"not implemented yet, sorry"
);
}
}
-
(
IBAction
)
goToBookmark
:(
id
)
sender
-
(
IBAction
)
goToBookmark
:(
id
)
sender
...
...
modules/gui/macosx/wizard.m
View file @
99deec70
...
@@ -471,6 +471,7 @@ static VLCWizard *_o_sharedInstance = nil;
...
@@ -471,6 +471,7 @@ static VLCWizard *_o_sharedInstance = nil;
[
o_t1_matrix_strmgOrTrnscd
selectCellAtRow
:
1
column
:
0
];
[
o_t1_matrix_strmgOrTrnscd
selectCellAtRow
:
1
column
:
0
];
[[
o_t1_matrix_strmgOrTrnscd
cellAtRow
:
0
column
:
0
]
setState
:
NSOffState
];
[[
o_t1_matrix_strmgOrTrnscd
cellAtRow
:
0
column
:
0
]
setState
:
NSOffState
];
[
o_t2_ckb_enblPartExtrct
setState
:
NSOnState
];
[
o_t2_ckb_enblPartExtrct
setState
:
NSOnState
];
[
self
t2_enableExtract
:
nil
];
msg_Dbg
(
VLCIntf
,
"wizard interface is set"
);
msg_Dbg
(
VLCIntf
,
"wizard interface is set"
);
[
o_wizard_window
center
];
[
o_wizard_window
center
];
...
@@ -959,12 +960,14 @@ static VLCWizard *_o_sharedInstance = nil;
...
@@ -959,12 +960,14 @@ static VLCWizard *_o_sharedInstance = nil;
}
}
}
else
{
}
else
{
/* we don't do any transcoding
/* we don't do any transcoding
* -> enabled the encap-formats allowed when streaming content via http
* -> enabled the encap-formats allowed when streaming content via
* since this should work fine in most cases */
* http plus MP4 since this should work fine in most cases */
/* FIXME: choose a selection of encap-formats based upon the
/* FIXME: choose a selection of encap-formats based upon the
* actually used codecs */
* actually used codecs */
/* enable MPEG PS, MPEG TS, MPEG 1, OGG, RAW and ASF; select MPEG PS */
/* enable MPEG PS, MPEG TS, MPEG 1, OGG, RAW, ASF, MP4 and MOV
* select MPEG PS */
[[
o_t5_matrix_encap
cellAtRow
:
0
column
:
0
]
setEnabled
:
YES
];
[[
o_t5_matrix_encap
cellAtRow
:
0
column
:
0
]
setEnabled
:
YES
];
[[
o_t5_matrix_encap
cellAtRow
:
1
column
:
0
]
setEnabled
:
YES
];
[[
o_t5_matrix_encap
cellAtRow
:
1
column
:
0
]
setEnabled
:
YES
];
[[
o_t5_matrix_encap
cellAtRow
:
2
column
:
0
]
setEnabled
:
YES
];
[[
o_t5_matrix_encap
cellAtRow
:
2
column
:
0
]
setEnabled
:
YES
];
...
@@ -972,8 +975,8 @@ static VLCWizard *_o_sharedInstance = nil;
...
@@ -972,8 +975,8 @@ static VLCWizard *_o_sharedInstance = nil;
[[
o_t5_matrix_encap
cellAtRow
:
4
column
:
0
]
setEnabled
:
YES
];
[[
o_t5_matrix_encap
cellAtRow
:
4
column
:
0
]
setEnabled
:
YES
];
[[
o_t5_matrix_encap
cellAtRow
:
5
column
:
0
]
setEnabled
:
YES
];
[[
o_t5_matrix_encap
cellAtRow
:
5
column
:
0
]
setEnabled
:
YES
];
[[
o_t5_matrix_encap
cellAtRow
:
6
column
:
0
]
setEnabled
:
NO
];
[[
o_t5_matrix_encap
cellAtRow
:
6
column
:
0
]
setEnabled
:
NO
];
[[
o_t5_matrix_encap
cellAtRow
:
7
column
:
0
]
setEnabled
:
NO
];
[[
o_t5_matrix_encap
cellAtRow
:
7
column
:
0
]
setEnabled
:
YES
];
[[
o_t5_matrix_encap
cellAtRow
:
8
column
:
0
]
setEnabled
:
NO
];
[[
o_t5_matrix_encap
cellAtRow
:
8
column
:
0
]
setEnabled
:
YES
];
[[
o_t5_matrix_encap
cellAtRow
:
9
column
:
0
]
setEnabled
:
NO
];
[[
o_t5_matrix_encap
cellAtRow
:
9
column
:
0
]
setEnabled
:
NO
];
[[
o_t5_matrix_encap
cellAtRow
:
10
column
:
0
]
setEnabled
:
NO
];
[[
o_t5_matrix_encap
cellAtRow
:
10
column
:
0
]
setEnabled
:
NO
];
[
o_t5_matrix_encap
selectCellAtRow
:
0
column
:
0
];
[
o_t5_matrix_encap
selectCellAtRow
:
0
column
:
0
];
...
...
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