Retourner au contenu associé (journal : google patch VLC)
Posté par inico le 30 juin 2005 à 09:29. En réponse au journal google patch VLC. Évalué à 1.
[..] - _p_instance->setSendEvents(! bFreeze); + // Google mod + // It seems that the container will freeze all events under a dynamic + // instantiation of ActiveX control. By commenting the following line + // the events can go through even if the mouse is not hover on top of + // the window + //_p_instance->setSendEvents(! bFreeze); [..] +#ifndef HAVE_MAD_H + /* Google mods: */ + if (!strcmp(p_module->psz_object_name, "mpeg_audio")) { + /* MAD is not enabled in the configure option and so mpeg_audio won't + be able to decode mp3 audio frames. We will use ffmpeg instead */ + continue; + } +#endif [..] + // Google mods + const char* allowed_host = "video.google.com"; + char * host_found = strstr(p_sys->url.psz_host, allowed_host); + if ((host_found == NULL) || + ((host_found + strlen(allowed_host)) != + (p_sys->url.psz_host + strlen(p_sys->url.psz_host)))) { + msg_Warn( p_access, "invalid host, only video.google.com is allowed" ); + goto error; + } + [..] ; Welcome page -!insertmacro MUI_PAGE_WELCOME +;!insertmacro MUI_PAGE_WELCOME ; License page -!insertmacro MUI_PAGE_LICENSE "COPYING.txt" +!define MUI_LICENSEPAGE_RADIOBUTTONS +!define MUI_LICENSEPAGE_RADIOBUTTONS_TEXT_ACCEPT "I Accept" +!define MUI_LICENSEPAGE_RADIOBUTTONS_TEXT_DECLINE "I Do Not Accept" +;!insertmacro MUI_PAGE_LICENSE "COPYING.txt" +!insertmacro MUI_PAGE_LICENSE "GoogleVideoViewerTOS_v5.rtf" ; Components page -!insertmacro MUI_PAGE_COMPONENTS +;!insertmacro MUI_PAGE_COMPONENTS ; Directory page -!insertmacro MUI_PAGE_DIRECTORY +;!insertmacro MUI_PAGE_DIRECTORY ; Instfiles page !insertmacro MUI_PAGE_INSTFILES ; Finish page -!define MUI_FINISHPAGE_RUN "$INSTDIR\vlc.exe" +;!define MUI_FINISHPAGE_RUN "$INSTDIR\googlevlc.exe" !define MUI_FINISHPAGE_NOREBOOTSUPPORT -!insertmacro MUI_PAGE_FINISH +;!insertmacro MUI_PAGE_FINISH [..] +;Function RegisterExtension +; ; back up old value for extension $R0 (eg. ".opt") +; ReadRegStr 1ドル HKCR "$R0" "" +; StrCmp 1ドル "" NoBackup +; StrCmp 1ドル "VLC$R0" "NoBackup" +; WriteRegStr HKCR "$R0" "VLC.backup" 1ドル +;NoBackup: +; WriteRegStr HKCR "$R0" "" "VLC$R0" +; ReadRegStr 0ドル HKCR "VLC$R0" "" +; WriteRegStr HKCR "VLC$R0" "" "VLC media file" +; WriteRegStr HKCR "VLC$R0\shell" "" "Play" +; WriteRegStr HKCR "VLC$R0\shell\Play\command" "" '"$INSTDIR\vlc.exe" "%1"' +; WriteRegStr HKCR "VLC$R0\DefaultIcon" "" '"$INSTDIR\vlc.exe",0' +;FunctionEnd [..] + ;WriteRegStr HKCR Applications\vlc.exe "" "" + ;WriteRegStr HKCR Applications\vlc.exe\shell "" "Play" + ;WriteRegStr HKCR Applications\vlc.exe\shell\Play\command "" \ + ; '$INSTDIR\vlc.exe "%1"' [..] + no_ie: + ;MessageBox MB_ICONQUESTION|MB_YESNO|MB_DEFBUTTON2 \ + ; "Ready to proceed uninstallation" IDYES +2 + ;Abort +
AltStyle によって変換されたページ (->オリジナル) / アドレス: モード: デフォルト 音声ブラウザ ルビ付き 配色反転 文字拡大 モバイル
# Pas propre leur patch
Posté par inico . En réponse au journal google patch VLC. Évalué à 1.
Vive le code mort ^^^^