Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
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
Commits
9e75b73d
Commit
9e75b73d
authored
Jan 12, 2009
by
Felix Paul Kühne
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
macosx: fixed broken screen fps selection pointed by FUJISAWA Tooru
Signed-off-by:
Felix Paul Kühne
<
fkuehne@videolan.org
>
parent
0330dcb1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
3 deletions
+10
-3
modules/gui/macosx/open.m
modules/gui/macosx/open.m
+10
-3
No files found.
modules/gui/macosx/open.m
View file @
9e75b73d
...
@@ -405,6 +405,13 @@ static VLCOpen *_o_sharedMainInstance = nil;
...
@@ -405,6 +405,13 @@ static VLCOpen *_o_sharedMainInstance = nil;
[
o_options
addObject
:
[
NSString
stringWithString
:
[
o_options
addObject
:
[
NSString
stringWithString
:
@"access-filter=timeshift"
]];
@"access-filter=timeshift"
]];
}
}
if
(
[[[
o_tabview
selectedTabViewItem
]
label
]
isEqualToString
:
_NS
(
"Capture"
)]
)
{
if
(
[[[
o_capture_mode_pop
selectedItem
]
title
]
isEqualToString
:
_NS
(
"Screen"
)]
)
[
o_options
addObject
:
[
NSString
stringWithFormat
:
@"screen-fps=%i"
,
[
o_screen_fps_fld
intValue
]]];
}
/* apply the options to our item(s) */
[
o_dic
setObject
:
(
NSArray
*
)[
o_options
copy
]
forKey
:
@"ITEM_OPTIONS"
];
[
o_dic
setObject
:
(
NSArray
*
)[
o_options
copy
]
forKey
:
@"ITEM_OPTIONS"
];
if
(
b_autoplay
)
if
(
b_autoplay
)
[
o_playlist
appendArray
:
[
NSArray
arrayWithObject
:
o_dic
]
atPos
:
-
1
enqueue
:
NO
];
[
o_playlist
appendArray
:
[
NSArray
arrayWithObject
:
o_dic
]
atPos
:
-
1
enqueue
:
NO
];
...
@@ -864,7 +871,7 @@ static VLCOpen *_o_sharedMainInstance = nil;
...
@@ -864,7 +871,7 @@ static VLCOpen *_o_sharedMainInstance = nil;
else
if
(
[[[
o_capture_mode_pop
selectedItem
]
title
]
isEqualToString
:
_NS
(
"Screen"
)]
)
else
if
(
[[[
o_capture_mode_pop
selectedItem
]
title
]
isEqualToString
:
_NS
(
"Screen"
)]
)
{
{
[
self
showCaptureView
:
o_screen_view
];
[
self
showCaptureView
:
o_screen_view
];
[
o_mrl
setStringValue
:
[
NSString
stringWithFormat
:
@"screen:// :screen-fps=%@"
,
[
o_screen_fps_fld
stringValue
]]
];
[
o_mrl
setStringValue
:
@"screen://"
];
}
}
else
if
(
[[[
o_capture_mode_pop
selectedItem
]
title
]
isEqualToString
:
@"iSight"
]
)
else
if
(
[[[
o_capture_mode_pop
selectedItem
]
title
]
isEqualToString
:
@"iSight"
]
)
{
{
...
@@ -882,7 +889,7 @@ static VLCOpen *_o_sharedMainInstance = nil;
...
@@ -882,7 +889,7 @@ static VLCOpen *_o_sharedMainInstance = nil;
{
{
[
o_screen_fps_fld
setIntValue
:
[
o_screen_fps_stp
intValue
]];
[
o_screen_fps_fld
setIntValue
:
[
o_screen_fps_stp
intValue
]];
[
o_panel
makeFirstResponder
:
o_screen_fps_fld
];
[
o_panel
makeFirstResponder
:
o_screen_fps_fld
];
[
o_mrl
setStringValue
:
[
NSString
stringWithFormat
:
@"screen:// :screen-fps=%@"
,
[
o_screen_fps_fld
stringValue
]]
];
[
o_mrl
setStringValue
:
@"screen://"
];
}
}
-
(
void
)
screenFPSfieldChanged
:(
NSNotification
*
)
o_notification
-
(
void
)
screenFPSfieldChanged
:(
NSNotification
*
)
o_notification
...
@@ -890,7 +897,7 @@ static VLCOpen *_o_sharedMainInstance = nil;
...
@@ -890,7 +897,7 @@ static VLCOpen *_o_sharedMainInstance = nil;
[
o_screen_fps_stp
setIntValue
:
[
o_screen_fps_fld
intValue
]];
[
o_screen_fps_stp
setIntValue
:
[
o_screen_fps_fld
intValue
]];
if
(
[[
o_screen_fps_fld
stringValue
]
isEqualToString
:
@""
]
)
if
(
[[
o_screen_fps_fld
stringValue
]
isEqualToString
:
@""
]
)
[
o_screen_fps_fld
setIntValue
:
1
];
[
o_screen_fps_fld
setIntValue
:
1
];
[
o_mrl
setStringValue
:
[
NSString
stringWithFormat
:
@"screen:// :screen-fps=%i"
,
[
o_screen_fps_fld
intValue
]]
];
[
o_mrl
setStringValue
:
@"screen://"
];
}
}
-
(
IBAction
)
eyetvSwitchChannel
:(
id
)
sender
-
(
IBAction
)
eyetvSwitchChannel
:(
id
)
sender
...
...
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