Changeset ac121d997285ab4a36ad1c88941d9a191c9a2275
- Timestamp:
- 05/21/03 23:30:30
(5 years ago)
- Author:
- Derk-Jan Hartman <hartman@videolan.org>
- git-committer:
- Derk-Jan Hartman <hartman@videolan.org> 1053552630 +0000
- git-parent:
[1c3f5cd3270d26b1ef49834c4a0daa260ced4a75]
- git-author:
- Derk-Jan Hartman <hartman@videolan.org> 1053552630 +0000
- Message:
* modules/gui/macosx/output.m: fixed the stream/transcode dialog. test1
version was broken.
* extras/MacOSX/vlc.pbproj/project.pbxproj: darn, absolute paths.
-
Files:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
| r8c59018 |
rac121d9 |
|
| 480 | 480 | -- #videolan |
|---|
| 481 | 481 | % |
|---|
| 482 | | |
|---|
| | 482 | 00:12 < thedj> i don't trust ffmpeg's make process ;) |
|---|
| | 483 | 00:13 < gibalou> their make mess you mean ? |
|---|
| | 484 | |
|---|
| | 485 | -- #videolan |
|---|
| | 486 | % |
|---|
| r467f7bc |
rac121d9 |
|
| 997 | 997 | isa = PBXFileReference; |
|---|
| 998 | 998 | name = output.h; |
|---|
| 999 | | path = /Volumes/Users/pjotr/Development/vlc/modules/gui/macosx/output.h; |
|---|
| 1000 | | refType = 0; |
|---|
| | 999 | path = ../../modules/gui/macosx/output.h; |
|---|
| | 1000 | refType = 2; |
|---|
| 1001 | 1001 | }; |
|---|
| 1002 | 1002 | 8E55FB800459B0FD00FB3317 = { |
|---|
| … | … | |
| 1004 | 1004 | isa = PBXFileReference; |
|---|
| 1005 | 1005 | name = output.m; |
|---|
| 1006 | | path = /Volumes/Users/pjotr/Development/vlc/modules/gui/macosx/output.m; |
|---|
| 1007 | | refType = 0; |
|---|
| | 1006 | path = ../../modules/gui/macosx/output.m; |
|---|
| | 1007 | refType = 2; |
|---|
| 1008 | 1008 | }; |
|---|
| 1009 | 1009 | 8E6BC6F6041643860059A3A7 = { |
|---|
| … | … | |
| 1089 | 1089 | isa = PBXFileReference; |
|---|
| 1090 | 1090 | name = coreaudio.c; |
|---|
| 1091 | | path = /Volumes/Users/pjotr/Development/vlc/modules/audio_output/coreaudio.c; |
|---|
| 1092 | | refType = 0; |
|---|
| | 1091 | path = ../../modules/audio_output/coreaudio.c; |
|---|
| | 1092 | refType = 2; |
|---|
| 1093 | 1093 | }; |
|---|
| 1094 | 1094 | 8ED6C27B03E2EB1C0059A3A7 = { |
|---|
| rac265bc |
rac121d9 |
|
| 3 | 3 | ***************************************************************************** |
|---|
| 4 | 4 | * Copyright (C) 2002-2003 VideoLAN |
|---|
| 5 | | * $Id: output.m,v 1.2 2003/05/10 10:32:29 hartman Exp $ |
|---|
| | 5 | * $Id: output.m,v 1.3 2003/05/21 21:30:30 hartman Exp $ |
|---|
| 6 | 6 | * |
|---|
| 7 | 7 | * Authors: Jon Lech Johansen <jon-vl@nanocrew.net> |
|---|
| … | … | |
| 180 | 180 | { |
|---|
| 181 | 181 | intf_thread_t * p_intf = [NSApp getIntf]; |
|---|
| 182 | | config_PutPsz( p_intf, "sout", [o_mrl lossyCString] ); |
|---|
| | 182 | config_PutPsz( p_intf, "sout", [o_mrl UTF8String] ); |
|---|
| 183 | 183 | |
|---|
| 184 | 184 | [o_output_sheet orderOut:sender]; |
|---|
| … | … | |
| 262 | 262 | NSMutableString *o_mrl_string = [NSMutableString stringWithString:@"#"]; |
|---|
| 263 | 263 | |
|---|
| | 264 | [o_mrl_string appendString: o_transcode]; |
|---|
| 264 | 265 | if( [o_display state] == NSOnState ) |
|---|
| 265 | 266 | { |
|---|
| 266 | | [o_mrl_string appendString: @"display:"]; |
|---|
| 267 | | } |
|---|
| 268 | | [o_mrl_string appendString: o_transcode]; |
|---|
| | 267 | [o_mrl_string appendString: @"duplicate{dst=display,dst="]; |
|---|
| | 268 | } |
|---|
| 269 | 269 | |
|---|
| 270 | 270 | o_mode = [[o_method selectedCell] title]; |
|---|
| … | … | |
| 280 | 280 | { |
|---|
| 281 | 281 | [o_mrl_string appendFormat: |
|---|
| 282 | | @"dst=std{access=file,mux=%@,url=\"%@\"},", |
|---|
| | 282 | @"std{access=file,mux=%@,url=\"%@\"}", |
|---|
| 283 | 283 | o_mux_string, [o_file_field stringValue]]; |
|---|
| 284 | 284 | } |
|---|
| … | … | |
| 294 | 294 | |
|---|
| 295 | 295 | [o_mrl_string appendFormat: |
|---|
| 296 | | @"dst=std{access=%@,mux=%@,url=\"%@:%@\"},", |
|---|
| | 296 | @"std{access=%@,mux=%@,url=\"%@:%@\"}", |
|---|
| 297 | 297 | o_mode, o_mux_string, [o_stream_address stringValue], |
|---|
| 298 | 298 | [o_stream_port stringValue]]; |
|---|
| 299 | 299 | } |
|---|
| 300 | | [o_mrl_string appendString: @"}:"]; |
|---|
| | 300 | if( [o_display state] == NSOnState ) |
|---|
| | 301 | { |
|---|
| | 302 | [o_mrl_string appendString: @"}"]; |
|---|
| | 303 | } |
|---|
| 301 | 304 | [self setMRL:o_mrl_string]; |
|---|
| | 305 | NSLog( o_mrl_string ); |
|---|
| 302 | 306 | } |
|---|
| 303 | 307 | |
|---|
| … | … | |
| 396 | 400 | [o_transcode_audio_bitrate stringValue]]; |
|---|
| 397 | 401 | } |
|---|
| 398 | | } |
|---|
| 399 | | else |
|---|
| 400 | | { |
|---|
| 401 | | o_transcode_string = [NSString stringWithString:@"duplicate{"]; |
|---|
| | 402 | [o_transcode_string appendString:@"}:"]; |
|---|
| | 403 | } |
|---|
| | 404 | else |
|---|
| | 405 | { |
|---|
| | 406 | o_transcode_string = [NSString stringWithString:@""]; |
|---|
| 402 | 407 | } |
|---|
| 403 | 408 | [self setTranscode: o_transcode_string]; |
|---|