Projects
Staging
vlc-beta
Sign Up
Log In
Username
Password
We truncated the diff of some files because they were too big. If you want to see the full diff for every file,
click here
.
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 177
View file
_service:obs_scm:vlc-beta-20220128.3b46bf985e.obscpio/modules/gui/macosx/extensions/NSString+Helpers.h -> _service:obs_scm:vlc-beta-20220128.270f173287.obscpio/modules/gui/macosx/extensions/NSString+Helpers.h
Changed
@@ -28,7 +28,12 @@ #import <Cocoa/Cocoa.h> #import <vlc_input.h> -#define _NS(s) ((s) ? toNSStr(vlc_gettext(s)) : @"") +#define NSTR(s) ((s) ? toNSStr(vlc_gettext(s)) : @"") + +/** + * For marking translatable static strings (like `_()`) + */ +#define _NS(s) NSTR(s) /** * Get a contextualized translation string
View file
_service:obs_scm:vlc-beta-20220128.3b46bf985e.obscpio/modules/gui/macosx/menus/VLCMainMenu.m -> _service:obs_scm:vlc-beta-20220128.270f173287.obscpio/modules/gui/macosx/menus/VLCMainMenu.m
Changed
@@ -314,7 +314,7 @@ for (int i = 0; i < p_item->list_count; i++) { NSMenuItem *mi; if (p_item->list_text != NULL) - mi = [[NSMenuItem alloc] initWithTitle: _NS(p_item->list_text[i]) action:NULL keyEquivalent: @""]; + mi = [[NSMenuItem alloc] initWithTitle: NSTR(p_item->list_text[i]) action:NULL keyEquivalent: @""]; else if (p_item->list.i[i]) mi = [[NSMenuItem alloc] initWithTitle: [NSString stringWithFormat: @"%d", p_item->list.i[i]] action:NULL keyEquivalent: @""]; else { @@ -1609,7 +1609,7 @@ /* Get the descriptive name of the variable */ var_Change(p_object, psz_variable, VLC_VAR_GETTEXT, &text); - [menuItem setTitle: _NS(text ? text : psz_variable)]; + [menuItem setTitle: NSTR(text ? text : psz_variable)]; if (i_type & VLC_VAR_HASCHOICE) { NSMenu *menu = [menuItem submenu]; @@ -1739,7 +1739,7 @@ switch(i_type & VLC_VAR_TYPE) { case VLC_VAR_STRING: - title = _NS(text_list[i] ? text_list[i] : val_list[i].psz_string); + title = NSTR(text_list[i] ? text_list[i] : val_list[i].psz_string); lmi = [menu addItemWithTitle:title action:pf_callback keyEquivalent:@""]; data = [[VLCAutoGeneratedMenuContent alloc] initWithVariableName:psz_variable @@ -1760,7 +1760,7 @@ case VLC_VAR_INTEGER: title = text_list[i] ? - _NS(text_list[i]) : [NSString stringWithFormat:@"%"PRId64, val_list[i].i_int]; + NSTR(text_list[i]) : [NSString stringWithFormat:@"%"PRId64, val_list[i].i_int]; lmi = [menu addItemWithTitle: title action: pf_callback keyEquivalent: @""]; data = [[VLCAutoGeneratedMenuContent alloc] initWithVariableName:psz_variable
View file
_service:obs_scm:vlc-beta-20220128.3b46bf985e.obscpio/modules/gui/macosx/panels/VLCInformationWindowController.m -> _service:obs_scm:vlc-beta-20220128.270f173287.obscpio/modules/gui/macosx/panels/VLCInformationWindowController.m
Changed
@@ -126,8 +126,8 @@ [self.window setTitle: _NS("Media Information")]; [_uriLabel setStringValue: _NS("Location")]; - [_titleLabel setStringValue: _NS(VLC_META_TITLE)]; - [_artistLabel setStringValue: _NS(VLC_META_ARTIST)]; + [_titleLabel setStringValue: NSTR(VLC_META_TITLE)]; + [_artistLabel setStringValue: NSTR(VLC_META_ARTIST)]; [_saveMetaDataButton setStringValue: _NS("Save Metadata")]; [_segmentedView setLabel:_NS("General") forSegment:0]; @@ -135,22 +135,22 @@ [_segmentedView setLabel:_NS("Statistics") forSegment:2]; /* constants defined in vlc_meta.h */ - [_genreLabel setStringValue: _NS(VLC_META_GENRE)]; - [_copyrightLabel setStringValue: _NS(VLC_META_COPYRIGHT)]; - [_albumLabel setStringValue: _NS(VLC_META_ALBUM)]; - [_trackNumberLabel setStringValue: _NS(VLC_META_TRACK_NUMBER)]; + [_genreLabel setStringValue: NSTR(VLC_META_GENRE)]; + [_copyrightLabel setStringValue: NSTR(VLC_META_COPYRIGHT)]; + [_albumLabel setStringValue: NSTR(VLC_META_ALBUM)]; + [_trackNumberLabel setStringValue: NSTR(VLC_META_TRACK_NUMBER)]; [_trackTotalLabel setStringValue: _NS("Track Total")]; - [_descriptionLabel setStringValue: _NS(VLC_META_DESCRIPTION)]; - [_dateLabel setStringValue: _NS(VLC_META_DATE)]; - [_languageLabel setStringValue: _NS(VLC_META_LANGUAGE)]; - [_nowPlayingLabel setStringValue: _NS(VLC_META_NOW_PLAYING)]; - [_publisherLabel setStringValue: _NS(VLC_META_PUBLISHER)]; - [_encodedbyLabel setStringValue: _NS(VLC_META_ENCODED_BY)]; - [_showNameLabel setStringValue: _NS(VLC_META_SHOW_NAME)]; - [_episodeLabel setStringValue: _NS(VLC_META_EPISODE)]; - [_seasonLabel setStringValue: _NS(VLC_META_SEASON)]; - [_actorsLabel setStringValue: _NS(VLC_META_ACTORS)]; - [_directorLabel setStringValue: _NS(VLC_META_DIRECTOR)]; + [_descriptionLabel setStringValue: NSTR(VLC_META_DESCRIPTION)]; + [_dateLabel setStringValue: NSTR(VLC_META_DATE)]; + [_languageLabel setStringValue: NSTR(VLC_META_LANGUAGE)]; + [_nowPlayingLabel setStringValue: NSTR(VLC_META_NOW_PLAYING)]; + [_publisherLabel setStringValue: NSTR(VLC_META_PUBLISHER)]; + [_encodedbyLabel setStringValue: NSTR(VLC_META_ENCODED_BY)]; + [_showNameLabel setStringValue: NSTR(VLC_META_SHOW_NAME)]; + [_episodeLabel setStringValue: NSTR(VLC_META_EPISODE)]; + [_seasonLabel setStringValue: NSTR(VLC_META_SEASON)]; + [_actorsLabel setStringValue: NSTR(VLC_META_ACTORS)]; + [_directorLabel setStringValue: NSTR(VLC_META_DIRECTOR)]; /* statistics */ [_inputLabel setStringValue: _NS("Input")];
View file
_service:obs_scm:vlc-beta-20220128.3b46bf985e.obscpio/modules/gui/macosx/preferences/VLCSimplePrefsController.m -> _service:obs_scm:vlc-beta-20220128.270f173287.obscpio/modules/gui/macosx/preferences/VLCSimplePrefsController.m
Changed
@@ -286,9 +286,9 @@ } else if ([itemIdent isEqual: VLCVideoSettingToolbarIdentifier]) { CreateToolbarItem(_NS("Video"), _NS("Video Settings"), @"VLCVideoCone", showVideoSettings); } else if ([itemIdent isEqual: VLCOSDSettingToolbarIdentifier]) { - CreateToolbarItem(_NS(SUBPIC_TITLE), _NS("Subtitle & On Screen Display Settings"), @"VLCSubtitleCone", showOSDSettings); + CreateToolbarItem(NSTR(SUBPIC_TITLE), _NS("Subtitle & On Screen Display Settings"), @"VLCSubtitleCone", showOSDSettings); } else if ([itemIdent isEqual: VLCInputSettingToolbarIdentifier]) { - CreateToolbarItem(_NS(INPUT_TITLE), _NS("Input & Codec Settings"), @"VLCInputCone", showInputSettings); + CreateToolbarItem(NSTR(INPUT_TITLE), _NS("Input & Codec Settings"), @"VLCInputCone", showInputSettings); } else if ([itemIdent isEqual: VLCMediaLibrarySettingToolbarIdentifier]) { CreateToolbarItem(_NS("Media Library"), _NS("Media Library settings"), @"NXHelpBacktrack", showMediaLibrarySettings); } else if ([itemIdent isEqual: VLCHotkeysSettingToolbarIdentifier]) { @@ -530,7 +530,7 @@ free(values); if (p_item->psz_longtext) - [object setToolTip: _NS(p_item->psz_longtext)]; + [object setToolTip: NSTR(p_item->psz_longtext)]; } // just for clarification that this is a module list @@ -565,20 +565,20 @@ free(texts); if (p_item->psz_longtext) - [object setToolTip: _NS(p_item->psz_longtext)]; + [object setToolTip: NSTR(p_item->psz_longtext)]; } - (void)setupButton: (NSButton *)object forBoolValue: (const char *)name { [object setState: config_GetInt(name)]; - [object setToolTip: _NS(config_GetLabel(p_intf, name))]; + [object setToolTip: NSTR(config_GetLabel(p_intf, name))]; } - (void)setupField:(NSTextField *)object forOption:(const char *)psz_option { char *psz_tmp = config_GetPsz(psz_option); [object setStringValue: toNSStr(psz_tmp)]; - [object setToolTip: _NS(config_GetLabel(p_intf, psz_option))]; + [object setToolTip: NSTR(config_GetLabel(p_intf, psz_option))]; free(psz_tmp); } @@ -810,7 +810,7 @@ i = config_GetInt("freetype-opacity") * 100.0 / 255.0 + 0.5; [_osd_opacityTextField setIntValue: i]; [_osd_opacitySlider setIntValue: i]; - [_osd_opacitySlider setToolTip: _NS(config_GetLabel(p_intf, "freetype-opacity"))]; + [_osd_opacitySlider setToolTip: NSTR(config_GetLabel(p_intf, "freetype-opacity"))]; [_osd_opacityTextField setToolTip: [_osd_opacitySlider toolTip]]; [self setupButton:_osd_forceboldCheckbox forBoolValue: "freetype-bold"]; [self setupButton:_osd_outline_colorPopup forIntList: "freetype-outline-color"]; @@ -837,7 +837,7 @@ if (p_item->i_type == CONFIG_ITEM_KEY && strncmp(p_item->psz_name, "global-", 7) != 0 && !EMPTY_STR(p_item->psz_text)) { - [tempArray_desc addObject: _NS(p_item->psz_text)]; + [tempArray_desc addObject: NSTR(p_item->psz_text)]; [tempArray_names addObject: toNSStr(p_item->psz_name)]; if (p_item->value.psz) [_hotkeySettings addObject: toNSStr(p_item->value.psz)];
View file
_service:obs_scm:vlc-beta-20220128.3b46bf985e.obscpio/modules/gui/macosx/preferences/prefs.m -> _service:obs_scm:vlc-beta-20220128.270f173287.obscpio/modules/gui/macosx/preferences/prefs.m
Changed
@@ -626,42 +626,42 @@ - (id)initWithCategory:(enum vlc_config_cat)category { - NSString * name = _NS(vlc_config_cat_GetName(category)); + NSString * name = toNSStr(vlc_config_cat_GetName(category)); if (self = [super initWithName:name]) { _branchType = CategoryBranch; _category = category; _subcategory = SUBCAT_UNKNOWN; _configItems = nil; _configSize = 0; - //_help = [_NS(vlc_config_cat_GetHelp(category)) retain]; + //_help = [toNSStr(vlc_config_cat_GetHelp(category)) retain]; } return self; } - (id)initWithSubcategory:(enum vlc_config_subcat)subcategory { - NSString * name = _NS(vlc_config_subcat_GetName(subcategory)); + NSString * name = toNSStr(vlc_config_subcat_GetName(subcategory)); if (self = [super initWithName:name]) { _branchType = SubcategoryBranch; _category = CAT_UNKNOWN; _subcategory = subcategory; _configItems = nil; _configSize = 0; - //_help = [_NS(vlc_config_subcat_GetHelp(subcategory)) retain]; + //_help = [toNSStr(vlc_config_subcat_GetHelp(subcategory)) retain]; } return self; } - (id)initWithPlugin:(module_t *)plugin { - NSString * name = _NS(module_get_name(plugin, false)); + NSString * name = NSTR(module_get_name(plugin, false)); if (self = [super initWithName:name]) { _branchType = PluginBranch; _category = CAT_UNKNOWN; _subcategory = SUBCAT_UNKNOWN; _configItems = module_config_get(plugin, &_configSize); //_plugin = plugin; - //_help = [_NS(vlc_config_subcat_GetHelp(subcategory)) retain]; + //_help = [toNSStr(vlc_config_subcat_GetHelp(subcategory)) retain]; } return self; }
View file
_service:obs_scm:vlc-beta-20220128.3b46bf985e.obscpio/modules/gui/macosx/preferences/prefs_widgets.m -> _service:obs_scm:vlc-beta-20220128.270f173287.obscpio/modules/gui/macosx/preferences/prefs_widgets.m
Changed
@@ -840,7 +840,7 @@ - (NSString *)name { - return _NS(psz_name); + return toNSStr(psz_name); } - (int)intValue @@ -927,10 +927,10 @@ else self.viewType = CONFIG_ITEM_STRING; - o_textfieldTooltip = [_NS(p_item->psz_longtext) stringWrappedToWidth:PREFS_WRAP]; + o_textfieldTooltip = [NSTR(p_item->psz_longtext) stringWrappedToWidth:PREFS_WRAP]; /* add the label */ - labelString = _NS(p_item->psz_text); + labelString = NSTR(p_item->psz_text); ADD_LABEL(self.label, mainFrame, 0, -3, labelString, o_textfieldTooltip) [self.label setAutoresizingMask:NSViewNotSizable ]; [self addSubview: self.label]; @@ -1004,10 +1004,10 @@ else self.viewType = CONFIG_ITEM_MODULE; - o_textfieldTooltip = [_NS(p_item->psz_longtext) stringWrappedToWidth:PREFS_WRAP]; + o_textfieldTooltip = [NSTR(p_item->psz_longtext) stringWrappedToWidth:PREFS_WRAP]; /* add the label */ - labelString = _NS(p_item->psz_text); + labelString = NSTR(p_item->psz_text); ADD_LABEL(self.label, mainFrame, 0, -3, labelString, o_textfieldTooltip) [self.label setAutoresizingMask:NSViewNotSizable ]; [self addSubview: self.label]; @@ -1102,13 +1102,13 @@ if (self = [super initWithFrame:mainFrame item:p_item]) { self.viewType = CONFIG_ITEM_LOADFILE; - o_itemTooltip = [_NS(p_item->psz_longtext) stringWrappedToWidth:PREFS_WRAP]; + o_itemTooltip = [NSTR(p_item->psz_longtext) stringWrappedToWidth:PREFS_WRAP]; /* is it a directory */ b_directory = ([self type] == CONFIG_ITEM_DIRECTORY) ? YES : NO; /* add the label */ - labelString = _NS(p_item->psz_text); + labelString = NSTR(p_item->psz_text); ADD_LABEL(self.label, mainFrame, 0, 3, labelString, o_itemTooltip) [self.label setAutoresizingMask:NSViewNotSizable ]; [self addSubview: self.label]; @@ -1190,10 +1190,10 @@ if (self = [super initWithFrame:mainFrame item:p_item]) { self.viewType = CONFIG_ITEM_MODULE; - o_popupTooltip = [_NS(p_item->psz_longtext) stringWrappedToWidth:PREFS_WRAP]; + o_popupTooltip = [NSTR(p_item->psz_longtext) stringWrappedToWidth:PREFS_WRAP]; /* add the label */ - labelString = _NS(p_item->psz_text); + labelString = NSTR(p_item->psz_text); ADD_LABEL(self.label, mainFrame, 0, -1, labelString, o_popupTooltip) [self.label setAutoresizingMask:NSViewNotSizable ]; @@ -1249,7 +1249,7 @@ /* Hack: required subcategory is stored in i_min */ if (p_cfg->i_type == CONFIG_SUBCATEGORY && p_cfg->value.i == self.p_item->min.i) { - NSString *o_description = _NS(module_GetLongName(p_parser)); + NSString *o_description = NSTR(module_GetLongName(p_parser)); if ([newval isEqualToString: o_description]) { returnval = strdup(module_get_object(p_parser)); break; @@ -1286,7 +1286,7 @@ /* Hack: required subcategory is stored in i_min */ if (p_config->i_type == CONFIG_SUBCATEGORY && p_config->value.i == self.p_item->min.i) { - NSString *o_description = _NS(module_GetLongName(p_parser)); + NSString *o_description = NSTR(module_GetLongName(p_parser)); [o_popup addItemWithTitle: o_description]; if (self.p_item->value.psz && !strcmp(self.p_item->value.psz, @@ -1322,10 +1322,10 @@ if (self = [super initWithFrame:mainFrame item:p_item]) { self.viewType = CONFIG_ITEM_INTEGER; - toolTip = [_NS(p_item->psz_longtext) stringWrappedToWidth:PREFS_WRAP]; + toolTip = [NSTR(p_item->psz_longtext) stringWrappedToWidth:PREFS_WRAP]; /* add the label */ - labelString = _NS((char *)p_item->psz_text); + labelString = NSTR((char *)p_item->psz_text); ADD_LABEL(self.label, mainFrame, 0, -3, labelString, toolTip) [self.label setAutoresizingMask:NSViewNotSizable ]; [self addSubview: self.label]; @@ -1411,10 +1411,10 @@ if (self = [super initWithFrame:mainFrame item:p_item]) { self.viewType = CONFIG_ITEM_STRING_LIST; - o_textfieldTooltip = [_NS(p_item->psz_longtext) stringWrappedToWidth:PREFS_WRAP]; + o_textfieldTooltip = [NSTR(p_item->psz_longtext) stringWrappedToWidth:PREFS_WRAP]; /* add the label */ - labelString = _NS(p_item->psz_text); + labelString = NSTR(p_item->psz_text); ADD_LABEL(self.label, mainFrame, 0, -3, labelString, o_textfieldTooltip) [self.label setAutoresizingMask:NSViewNotSizable ]; [self addSubview: self.label]; @@ -1501,10 +1501,10 @@ if (self = [super initWithFrame: mainFrame item:p_item]) { self.viewType = CONFIG_ITEM_RANGED_INTEGER; - toolTip = [_NS(p_item->psz_longtext) stringWrappedToWidth:PREFS_WRAP]; + toolTip = [NSTR(p_item->psz_longtext) stringWrappedToWidth:PREFS_WRAP]; /* add the label */ - labelString = _NS(p_item->psz_text); + labelString = NSTR(p_item->psz_text); ADD_LABEL(self.label, mainFrame, 0, -3, labelString, toolTip) [self.label setAutoresizingMask:NSViewNotSizable ]; [self addSubview: self.label]; @@ -1613,10 +1613,10 @@ if (self = [super initWithFrame:mainFrame item:p_item]) { self.viewType = CONFIG_ITEM_INTEGER; - toolTip = [_NS(p_item->psz_longtext) stringWrappedToWidth:PREFS_WRAP]; + toolTip = [NSTR(p_item->psz_longtext) stringWrappedToWidth:PREFS_WRAP]; /* add the label */ - labelString = _NS(p_item->psz_text); + labelString = NSTR(p_item->psz_text); ADD_LABEL(self.label, mainFrame, 0, -2, labelString, toolTip) [self.label setAutoresizingMask:NSViewNotSizable ]; [self addSubview: self.label]; @@ -1704,10 +1704,10 @@ if (self = [super initWithFrame:mainFrame item:p_item]) { self.viewType = CONFIG_ITEM_RANGED_INTEGER; - toolTip = [_NS(p_item->psz_longtext) stringWrappedToWidth:PREFS_WRAP]; + toolTip = [NSTR(p_item->psz_longtext) stringWrappedToWidth:PREFS_WRAP]; /* add the label */ - labelString = _NS(p_item->psz_text); + labelString = NSTR(p_item->psz_text); ADD_LABEL(self.label, mainFrame, 0, -3, labelString, toolTip) [self.label setAutoresizingMask:NSViewNotSizable ]; [self addSubview: self.label]; @@ -1815,9 +1815,9 @@ if (self != nil) { self.viewType = CONFIG_ITEM_BOOL; - labelString = _NS(p_item->psz_text); + labelString = NSTR(p_item->psz_text); - toolTip = [_NS(p_item->psz_longtext) stringWrappedToWidth:PREFS_WRAP]; + toolTip = [NSTR(p_item->psz_longtext) stringWrappedToWidth:PREFS_WRAP]; /* add the checkbox */ ADD_CHECKBOX(o_checkbox, mainFrame, 0, @@ -1860,10 +1860,10 @@ if (self = [super initWithFrame:mainFrame item:p_item]) { self.viewType = CONFIG_ITEM_KEY; - toolTip = [_NS(p_item->psz_longtext) stringWrappedToWidth:PREFS_WRAP]; + toolTip = [NSTR(p_item->psz_longtext) stringWrappedToWidth:PREFS_WRAP]; /* add the label */ - labelString = _NS(p_item->psz_text); + labelString = NSTR(p_item->psz_text); ADD_LABEL(self.label, mainFrame, 0, -1, labelString, toolTip) [self.label setAutoresizingMask:NSViewNotSizable ]; [self addSubview: self.label]; @@ -1995,7 +1995,7 @@ o_moduleenabled = [NSNumber numberWithBool:YES];\ else \ o_moduleenabled = [NSNumber numberWithBool:NO];\ -[o_modulearray addObject:[NSMutableArray arrayWithObjects: @shortname, _NS(longname), o_moduleenabled, nil]] +[o_modulearray addObject:[NSMutableArray arrayWithObjects: @shortname, NSTR(longname), o_moduleenabled, nil]] addLuaIntf("http", "Web"); addLuaIntf("telnet", "Telnet"); @@ -2076,16 +2076,16 @@ mainFrame.origin.y = 0; self.frame = mainFrame; - toolTip = [_NS(p_item->psz_longtext) stringWrappedToWidth:PREFS_WRAP]; + toolTip = [NSTR(p_item->psz_longtext) stringWrappedToWidth:PREFS_WRAP]; /* add the label */ - labelString = _NS((char *)p_item->psz_text); + labelString = NSTR((char *)p_item->psz_text); ADD_LABEL(self.label, mainFrame, 0, -3, labelString, toolTip) [self.label setAutoresizingMask:NSViewNotSizable ]; [self addSubview: self.label]; /* build the textfield */ - o_textfieldString = _NS(p_item->value.psz); + o_textfieldString = NSTR(p_item->value.psz); ADD_TEXTFIELD(o_textfield, mainFrame, [self.label frame].size.width + 2, mainFrame.size.height - 22, mainFrame.size.width -
View file
_service:obs_scm:vlc-beta-20220128.3b46bf985e.obscpio/modules/gui/macosx/windows/VLCHelpWindowController.m -> _service:obs_scm:vlc-beta-20220128.270f173287.obscpio/modules/gui/macosx/windows/VLCHelpWindowController.m
Changed
@@ -61,7 +61,7 @@ { NSString *htmlWithStyle = [NSString stringWithFormat:@"<style>body { font-family: -apple-system, Helvetica Neue; }</style>%@", - _NS(I_LONGHELP)]; + NSTR(I_LONGHELP)]; [[helpWebView mainFrame] loadHTMLString:htmlWithStyle baseURL:[NSURL URLWithString:@"https://videolan.org"]];
View file
_service:obs_scm:vlc-beta-20220128.3b46bf985e.obscpio/modules/gui/macosx/windows/VLCOpenWindowController.m -> _service:obs_scm:vlc-beta-20220128.270f173287.obscpio/modules/gui/macosx/windows/VLCOpenWindowController.m
Changed
@@ -290,7 +290,7 @@ if (p_item) { for (int i = 0; i < p_item->list_count; i++) { - [_fileSubEncodingPopup addItemWithTitle: _NS(p_item->list_text[i])]; + [_fileSubEncodingPopup addItemWithTitle: NSTR(p_item->list_text[i])]; [[_fileSubEncodingPopup lastItem] setRepresentedObject:[NSString stringWithFormat:@"%s", p_item->list.psz[i]]]; if (p_item->value.psz && !strcmp(p_item->value.psz, p_item->list.psz[i])) [_fileSubEncodingPopup selectItem: [_fileSubEncodingPopup lastItem]]; @@ -304,7 +304,7 @@ if (p_item) { for (i_index = 0; i_index < p_item->list_count; i_index++) - [_fileSubAlignPopup addItemWithTitle: _NS(p_item->list_text[i_index])]; + [_fileSubAlignPopup addItemWithTitle: NSTR(p_item->list_text[i_index])]; [_fileSubAlignPopup selectItemAtIndex: p_item->value.i]; }
View file
_service:obs_scm:vlc-beta-20220128.3b46bf985e.obscpio/modules/gui/qt/network/qml/NetworkCustomCover.qml -> _service:obs_scm:vlc-beta-20220128.270f173287.obscpio/modules/gui/qt/network/qml/NetworkCustomCover.qml
Changed
@@ -34,7 +34,6 @@ anchors.centerIn: parent visible: !networkModel.artwork || networkModel.artwork.toString() === "" height: iconSize - mipmap: true sourceSize: Qt.size(width, height) source: { switch (networkModel.type) {
View file
_service:obs_scm:vlc-beta-20220128.3b46bf985e.obscpio/modules/gui/qt/network/qml/NetworkThumbnailItem.qml -> _service:obs_scm:vlc-beta-20220128.270f173287.obscpio/modules/gui/qt/network/qml/NetworkThumbnailItem.qml
Changed
@@ -86,7 +86,6 @@ source: item.rowModel.artwork visible: item.rowModel.artwork && item.rowModel.artwork.toString() !== "" - mipmap: true Widgets.PlayCover { anchors.centerIn: parent
View file
_service:obs_scm:vlc-beta-20220128.3b46bf985e.obscpio/modules/gui/qt/playlist/qml/PlaylistDelegate.qml -> _service:obs_scm:vlc-beta-20220128.270f173287.obscpio/modules/gui/qt/playlist/qml/PlaylistDelegate.qml
Changed
@@ -134,7 +134,6 @@ Image { id: artwork - mipmap: true anchors.fill: parent fillMode: Image.PreserveAspectFit source: (model.artwork && model.artwork.toString()) ? model.artwork : VLCStyle.noArtCover
View file
_service:obs_scm:vlc-beta-20220128.3b46bf985e.obscpio/modules/gui/qt/widgets/native/roundimage.cpp -> _service:obs_scm:vlc-beta-20220128.270f173287.obscpio/modules/gui/qt/widgets/native/roundimage.cpp
Changed
@@ -151,7 +151,8 @@ assert(window()); QSGTexture* texture = window()->createTextureFromImage(m_roundImage, - QQuickWindow::TextureHasAlphaChannel); + static_cast<QQuickWindow::CreateTextureOptions>(QQuickWindow::TextureHasAlphaChannel | + QQuickWindow::TextureCanUseAtlas)); if (texture) {
View file
_service:obs_scm:vlc-beta-20220128.3b46bf985e.obscpio/modules/gui/qt/widgets/qml/DragItem.qml -> _service:obs_scm:vlc-beta-20220128.270f173287.obscpio/modules/gui/qt/widgets/qml/DragItem.qml
Changed
@@ -348,7 +348,6 @@ id: artworkLoader Image { - mipmap: true fillMode: Image.PreserveAspectCrop width: coverSize height: coverSize
View file
_service:obs_scm:vlc-beta.obsinfo
Changed
@@ -1,5 +1,5 @@ name: vlc-beta -version: 20220128.3b46bf985e -mtime: 1643383312 -commit: 3b46bf985e050864e9b284df23e0fd882521fa8b +version: 20220128.270f173287 +mtime: 1643391496 +commit: 270f173287ee3fc96dd9955d133fa1f72e24e371
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.