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
ab974ecb
Commit
ab974ecb
authored
Apr 26, 2005
by
Benjamin Pracht
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add a checkbox to enable timeshifting in the open network panel
parent
6e8ab4d5
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
11 additions
and
10 deletions
+11
-10
extras/MacOSX/Resources/English.lproj/Open.nib/classes.nib
extras/MacOSX/Resources/English.lproj/Open.nib/classes.nib
+2
-7
extras/MacOSX/Resources/English.lproj/Open.nib/info.nib
extras/MacOSX/Resources/English.lproj/Open.nib/info.nib
+1
-1
extras/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
+1
-0
modules/gui/macosx/open.m
modules/gui/macosx/open.m
+7
-2
No files found.
extras/MacOSX/Resources/English.lproj/Open.nib/classes.nib
View file @
ab974ecb
...
...
@@ -307,6 +307,7 @@
"o_net_http_url" = id;
"o_net_http_url_lbl" = id;
"o_net_mode" = id;
"o_net_timeshift_ckbox" = id;
"o_net_udp_port" = id;
"o_net_udp_port_lbl" = id;
"o_net_udp_port_stp" = id;
...
...
@@ -389,13 +390,7 @@
};
SUPERCLASS = NSObject;
},
{
ACTIONS = {};
CLASS = VLCPlaylist;
LANGUAGE = ObjC;
OUTLETS = {};
SUPERCLASS = NSObject;
},
{CLASS = VLCPlaylist; LANGUAGE = ObjC; SUPERCLASS = NSObject; },
{CLASS = VLCPlaylistView; LANGUAGE = ObjC; SUPERCLASS = NSOutlineView; },
{
ACTIONS = {advancedToggle = id; closePrefs = id; resetAll = id; savePrefs = id; };
...
...
extras/MacOSX/Resources/English.lproj/Open.nib/info.nib
View file @
ab974ecb
...
...
@@ -14,6 +14,6 @@
<integer>
2199
</integer>
</array>
<key>
IBSystem Version
</key>
<string>
7
S215
</string>
<string>
7
W98
</string>
</dict>
</plist>
extras/MacOSX/Resources/English.lproj/Open.nib/keyedobjects.nib
View file @
ab974ecb
No preview for this file type
modules/gui/macosx/open.h
View file @
ab974ecb
...
...
@@ -69,6 +69,7 @@ NSArray *GetEjectableMediaOfClass( const char *psz_class );
IBOutlet
id
o_net_udpm_port_stp
;
IBOutlet
id
o_net_http_url
;
IBOutlet
id
o_net_http_url_lbl
;
IBOutlet
id
o_net_timeshift_ckbox
;
IBOutlet
id
o_file_sub_ckbox
;
IBOutlet
id
o_file_sub_btn_settings
;
...
...
modules/gui/macosx/open.m
View file @
ab974ecb
...
...
@@ -183,6 +183,7 @@ static VLCOpen *_o_sharedMainInstance = nil;
[[
o_net_mode
cellAtRow
:
0
column
:
0
]
setTitle
:
_NS
(
"UDP/RTP"
)];
[[
o_net_mode
cellAtRow
:
1
column
:
0
]
setTitle
:
_NS
(
"UDP/RTP Multicast"
)];
[[
o_net_mode
cellAtRow
:
2
column
:
0
]
setTitle
:
_NS
(
"HTTP/FTP/MMS/RTSP"
)];
[
o_net_timeshift_ckbox
setTitle
:
_NS
(
"Allow timeshifting"
)];
[
o_net_udp_port
setIntValue
:
config_GetInt
(
p_intf
,
"server-port"
)];
[
o_net_udp_port_stp
setIntValue
:
config_GetInt
(
p_intf
,
"server-port"
)];
...
...
@@ -353,6 +354,11 @@ static VLCOpen *_o_sharedMainInstance = nil;
[[(
VLCOutput
*
)
o_sout_options
getMRL
]
objectAtIndex
:
i
]]];
}
}
if
(
[
o_net_timeshift_ckbox
state
]
==
NSOnState
)
{
[
o_options
addObject
:
[
NSString
stringWithString
:
@"access-filter=timeshift"
]];
}
[
o_dic
setObject
:
(
NSArray
*
)[
o_options
copy
]
forKey
:
@"ITEM_OPTIONS"
];
[
o_playlist
appendArray
:
[
NSArray
arrayWithObject
:
o_dic
]
atPos
:
-
1
enqueue
:
NO
];
}
...
...
@@ -645,7 +651,7 @@ static VLCOpen *_o_sharedMainInstance = nil;
o_mode
=
[[
o_net_mode
selectedCell
]
title
];
if
(
[
o_mode
isEqualToString
:
_NS
(
"UDP/RTP"
)]
)
b_udp
=
TRUE
;
if
(
[
o_mode
isEqualToString
:
_NS
(
"UDP/RTP"
)]
)
b_udp
=
TRUE
;
else
if
(
[
o_mode
isEqualToString
:
_NS
(
"UDP/RTP Multicast"
)]
)
b_udpm
=
TRUE
;
else
if
(
[
o_mode
isEqualToString
:
_NS
(
"HTTP/FTP/MMS/RTSP"
)]
)
b_http
=
TRUE
;
...
...
@@ -718,7 +724,6 @@ static VLCOpen *_o_sharedMainInstance = nil;
else
o_mrl_string
=
o_url
;
}
[
o_mrl
setStringValue
:
o_mrl_string
];
}
...
...
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