[vlc-devel] [vlc-commits] macosx: fixed bluray MRL
Rafaël Carré
funman at videolan.org
Sun Feb 12 02:30:48 CET 2012
Le 2012-02-11 14:52, Felix Paul Kühne a écrit :
> vlc | branch: master | Felix Paul Kühne <fkuehne at videolan.org> | Sat Feb 11 20:52:23 2012 +0100| [df61155f0296dcf0fde91c49b18370b5eafec006] | committer: Felix Paul Kühne
>
> macosx: fixed bluray MRL
>
>> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=df61155f0296dcf0fde91c49b18370b5eafec006
> ---
>
> modules/gui/macosx/open.m | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/modules/gui/macosx/open.m b/modules/gui/macosx/open.m
> index 8dd55ca..b593ce0 100644
> --- a/modules/gui/macosx/open.m
> +++ b/modules/gui/macosx/open.m
> @@ -850,7 +850,7 @@ static VLCOpen *_o_sharedMainInstance = nil;
> [o_disc_bd_lbl setStringValue: [[NSFileManager defaultManager] displayNameAtPath: o_currentOpticalDevice]];
> [self showOpticalMediaView: o_disc_bd_view withIcon: [[NSWorkspace sharedWorkspace] iconForFile: o_currentOpticalDevice]];
> if (diskType == kVLCMediaBD)
> - [self setMRL: [NSString stringWithFormat: @"bluray://%@", [self getBSDNodeFromMountPath: o_currentOpticalDevice]]];
> + [self setMRL: [NSString stringWithFormat: @"bluray://%@", o_currentOpticalDevice]];
> else
> [self setMRL: [NSString stringWithFormat: @"bluray://%@", o_currentOpticalDevice]];
> }
if condition
a
else
a
can probably be simplified
More information about the vlc-devel
mailing list