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
967acfe7
Commit
967acfe7
authored
Jun 13, 2008
by
Felix Paul Kühne
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added some stuff to make sure that we get nice fps values for screen capture (range: 1 to 30)
parent
a9654857
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
25 additions
and
11 deletions
+25
-11
extras/package/macosx/Resources/English.lproj/Open.nib/classes.nib
...ckage/macosx/Resources/English.lproj/Open.nib/classes.nib
+1
-1
extras/package/macosx/Resources/English.lproj/Open.nib/info.nib
.../package/macosx/Resources/English.lproj/Open.nib/info.nib
+6
-1
extras/package/macosx/Resources/English.lproj/Open.nib/keyedobjects.nib
.../macosx/Resources/English.lproj/Open.nib/keyedobjects.nib
+0
-0
modules/gui/macosx/open.h
modules/gui/macosx/open.h
+2
-1
modules/gui/macosx/open.m
modules/gui/macosx/open.m
+16
-8
No files found.
extras/package/macosx/Resources/English.lproj/Open.nib/classes.nib
View file @
967acfe7
...
...
@@ -268,7 +268,6 @@
eyetvLaunch = id;
eyetvSwitchChannel = id;
openCaptureModeChanged = id;
openCaptureStepperChanged = id;
openDisc = id;
openDiscMenusChanged = id;
openDiscStepperChanged = id;
...
...
@@ -283,6 +282,7 @@
openVTSBrowse = id;
panelCancel = id;
panelOk = id;
screenStepperChanged = id;
subCloseSheet = id;
subDelayStepperChanged = id;
subFileBrowse = id;
...
...
extras/package/macosx/Resources/English.lproj/Open.nib/info.nib
View file @
967acfe7
...
...
@@ -13,7 +13,7 @@
<key>
2304
</key>
<string>
366 462 547 183 0 0 1280 778
</string>
<key>
2346
</key>
<string>
366 462
548 183 0 0 1280 778
</string>
<string>
15 513
548 183 0 0 1280 778
</string>
</dict>
<key>
IBFramework Version
</key>
<string>
489.0
</string>
...
...
@@ -24,6 +24,11 @@
<integer>
2206
</integer>
<integer>
2199
</integer>
</array>
<key>
IBOpenObjects
</key>
<array>
<integer>
636
</integer>
<integer>
2346
</integer>
</array>
<key>
IBSystem Version
</key>
<string>
9D34
</string>
</dict>
...
...
extras/package/macosx/Resources/English.lproj/Open.nib/keyedobjects.nib
View file @
967acfe7
No preview for this file type
modules/gui/macosx/open.h
View file @
967acfe7
...
...
@@ -159,12 +159,13 @@ NSArray *GetEjectableMediaOfClass( const char *psz_class );
-
(
void
)
openCapture
;
-
(
void
)
showCaptureView
:
theView
;
-
(
IBAction
)
openCaptureStepperChanged
:(
id
)
sender
;
-
(
IBAction
)
openCaptureModeChanged
:(
id
)
sender
;
-
(
IBAction
)
eyetvSwitchChannel
:(
id
)
sender
;
-
(
IBAction
)
eyetvLaunch
:(
id
)
sender
;
-
(
void
)
eyetvChanged
:(
NSNotification
*
)
o_notification
;
-
(
void
)
setupChannelInfo
;
-
(
IBAction
)
screenStepperChanged
:(
id
)
sender
;
-
(
void
)
screenFPSfieldChanged
:(
NSNotification
*
)
o_notification
;
-
(
IBAction
)
subsChanged
:(
id
)
sender
;
-
(
IBAction
)
subSettings
:(
id
)
sender
;
...
...
modules/gui/macosx/open.m
View file @
967acfe7
...
...
@@ -258,17 +258,17 @@ static VLCOpen *_o_sharedMainInstance = nil;
name:
NSControlTextDidChangeNotification
object:
o_net_http_url
];
[[
NSNotificationCenter
defaultCenter
]
addObserver
:
self
selector:
@selector
(
screenFPSChanged
:)
name:
NSControlTextDidChangeNotification
object:
o_screen_fps_fld
];
[[
NSDistributedNotificationCenter
defaultCenter
]
addObserver
:
self
selector:
@selector
(
eyetvChanged
:)
name:
NULL
object:
@"VLCEyeTVSupport"
suspensionBehavior:
NSNotificationSuspensionBehaviorDeliverImmediately
];
[[
NSNotificationCenter
defaultCenter
]
addObserver
:
self
selector:
@selector
(
screenFPSfieldChanged
:)
name:
NSControlTextDidChangeNotification
object:
o_screen_fps_fld
];
/* register clicks on text fields */
[[
NSNotificationCenter
defaultCenter
]
addObserver
:
self
selector:
@selector
(
textFieldWasClicked
:)
...
...
@@ -877,13 +877,21 @@ static VLCOpen *_o_sharedMainInstance = nil;
}
}
-
(
IBAction
)
openCapture
StepperChanged
:(
id
)
sender
-
(
IBAction
)
screen
StepperChanged
:(
id
)
sender
{
[
o_screen_fps_fld
setIntValue
:
[
o_screen_fps_stp
intValue
]];
[
o_panel
makeFirstResponder
:
o_screen_fps_fld
];
[
o_mrl
setStringValue
:
[
NSString
stringWithFormat
:
@"screen:// :screen-fps=%@"
,
[
o_screen_fps_fld
stringValue
]]];
}
-
(
void
)
screenFPSfieldChanged
:(
NSNotification
*
)
o_notification
{
[
o_screen_fps_stp
setIntValue
:
[
o_screen_fps_fld
intValue
]];
if
(
[[
o_screen_fps_fld
stringValue
]
isEqualToString
:
@""
]
)
[
o_screen_fps_fld
setIntValue
:
1
];
[
o_mrl
setStringValue
:
[
NSString
stringWithFormat
:
@"screen:// :screen-fps=%i"
,
[
o_screen_fps_fld
intValue
]]];
}
-
(
IBAction
)
eyetvSwitchChannel
:(
id
)
sender
{
if
(
sender
==
o_eyetv_nextProgram_btn
)
...
...
@@ -942,7 +950,7 @@ static VLCOpen *_o_sharedMainInstance = nil;
}
else
msg_Warn
(
VLCIntf
,
"unknown external notify '%s' received"
,
[[
o_notification
name
]
UTF8String
]
);
}
}
/* little helper method, since this code needs to be run by multiple objects */
-
(
void
)
setupChannelInfo
...
...
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