Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
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-2-2
Commits
18834cd7
Commit
18834cd7
authored
Jul 26, 2012
by
Felix Paul Kühne
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
macosx: CAS: added a skeleton for a stream output
parent
467c69f5
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
2877 additions
and
1136 deletions
+2877
-1136
extras/package/macosx/Resources/English.lproj/ConvertAndSave.xib
...package/macosx/Resources/English.lproj/ConvertAndSave.xib
+2828
-1136
modules/gui/macosx/ConvertAndSave.h
modules/gui/macosx/ConvertAndSave.h
+24
-0
modules/gui/macosx/ConvertAndSave.m
modules/gui/macosx/ConvertAndSave.m
+25
-0
No files found.
extras/package/macosx/Resources/English.lproj/ConvertAndSave.xib
View file @
18834cd7
This source diff could not be displayed because it is too large. You can
view the blob
instead.
modules/gui/macosx/ConvertAndSave.h
View file @
18834cd7
...
...
@@ -43,6 +43,8 @@
IBOutlet
id
_destination_icon_view
;
IBOutlet
id
_destination_filename_lbl
;
IBOutlet
id
_destination_filename_stub_lbl
;
IBOutlet
id
_destination_stream_btn
;
IBOutlet
id
_destination_stream_lbl
;
IBOutlet
id
_dropin_view
;
IBOutlet
id
_dropin_icon_view
;
...
...
@@ -83,6 +85,26 @@
IBOutlet
id
_customize_subs_pop
;
IBOutlet
id
_customize_subs_overlay_ckb
;
IBOutlet
id
_stream_panel
;
IBOutlet
id
_stream_ok_btn
;
IBOutlet
id
_stream_cancel_btn
;
IBOutlet
id
_stream_destination_lbl
;
IBOutlet
id
_stream_announcement_lbl
;
IBOutlet
id
_stream_type_lbl
;
IBOutlet
id
_stream_type_pop
;
IBOutlet
id
_stream_address_lbl
;
IBOutlet
id
_stream_address_fld
;
IBOutlet
id
_stream_ttl_lbl
;
IBOutlet
id
_stream_ttl_fld
;
IBOutlet
id
_stream_port_lbl
;
IBOutlet
id
_stream_port_fld
;
IBOutlet
id
_stream_sap_ckb
;
IBOutlet
id
_stream_http_ckb
;
IBOutlet
id
_stream_rtsp_ckb
;
IBOutlet
id
_stream_sdp_ckb
;
IBOutlet
id
_stream_channel_fld
;
IBOutlet
id
_stream_sdp_fld
;
NSString
*
_MRL
;
NSString
*
_outputDestination
;
NSArray
*
_profileNames
;
...
...
@@ -108,6 +130,8 @@
-
(
IBAction
)
customizeProfile
:(
id
)
sender
;
-
(
IBAction
)
closeCustomizationSheet
:(
id
)
sender
;
-
(
IBAction
)
chooseDestination
:(
id
)
sender
;
-
(
IBAction
)
showStreamPanel
:(
id
)
sender
;
-
(
IBAction
)
closeStreamPanel
:(
id
)
sender
;
-
(
void
)
updateDropView
;
...
...
modules/gui/macosx/ConvertAndSave.m
View file @
18834cd7
...
...
@@ -143,6 +143,8 @@ static VLCConvertAndSave *_o_sharedInstance = nil;
[
_destination_lbl
setStringValue
:
_NS
(
"Choose Destination"
)];
[
_destination_filename_stub_lbl
setStringValue
:
_NS
(
"Choose an output location"
)];
[
_destination_filename_lbl
setHidden
:
YES
];
[
_destination_stream_btn
setTitle
:
_NS
(
"Stream..."
)];
[
_destination_stream_lbl
setStringValue
:
@""
];
[
_customize_ok_btn
setTitle
:
_NS
(
"Apply"
)];
[
_customize_cancel_btn
setTitle
:
_NS
(
"Cancel"
)];
[[
_customize_tabview
tabViewItemAtIndex
:
0
]
setLabel
:
_NS
(
"Encapsulation"
)];
...
...
@@ -168,6 +170,18 @@ static VLCConvertAndSave *_o_sharedInstance = nil;
[
_customize_aud_samplerate_lbl
setStringValue
:
_NS
(
"Sample Rate"
)];
[
_customize_subs_ckb
setTitle
:
_NS
(
"Subtitles"
)];
[
_customize_subs_overlay_ckb
setTitle
:
_NS
(
"Overlay subtitles on the video"
)];
[
_stream_ok_btn
setTitle
:
_NS
(
"Set"
)];
[
_stream_cancel_btn
setTitle
:
_NS
(
"Cancel"
)];
[
_stream_destination_lbl
setStringValue
:
_NS
(
"Stream Destination"
)];
[
_stream_announcement_lbl
setStringValue
:
_NS
(
"Stream Announcement"
)];
[
_stream_type_lbl
setStringValue
:
_NS
(
"Type"
)];
[
_stream_address_lbl
setStringValue
:
_NS
(
"Address"
)];
[
_stream_ttl_lbl
setStringValue
:
_NS
(
"TTL"
)];
[
_stream_port_lbl
setStringValue
:
_NS
(
"Port"
)];
[
_stream_sap_ckb
setStringValue
:
_NS
(
"SAP Announcement"
)];
[
_stream_http_ckb
setStringValue
:
_NS
(
"HTTP Announcement"
)];
[
_stream_rtsp_ckb
setStringValue
:
_NS
(
"RTSP Announcement"
)];
[
_stream_sdp_ckb
setStringValue
:
_NS
(
"Export SDP as file"
)];
/* there is no way to hide single cells, so replace the existing ones with empty cells.. */
id
blankCell
=
[[[
NSCell
alloc
]
init
]
autorelease
];
...
...
@@ -371,6 +385,17 @@ static VLCConvertAndSave *_o_sharedInstance = nil;
[
self
updateOKButton
];
}
-
(
IBAction
)
showStreamPanel
:(
id
)
sender
{
[
NSApp
beginSheet
:
_stream_panel
modalForWindow
:
_window
modalDelegate
:
self
didEndSelector
:
NULL
contextInfo
:
nil
];
}
-
(
IBAction
)
closeStreamPanel
:(
id
)
sender
{
[
_stream_panel
orderOut
:
sender
];
[
NSApp
endSheet
:
_stream_panel
];
}
-
(
BOOL
)
performDragOperation
:(
id
<
NSDraggingInfo
>
)
sender
{
NSPasteboard
*
paste
=
[
sender
draggingPasteboard
];
...
...
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