uazo / bromite-buildtools

my build machine for bromite development
GNU General Public License v3.0
333 stars 10 forks source link

Considering whether to grant the possibility of copying a video frame for encrypted video #325

Closed uazo closed 12 months ago

uazo commented 1 year ago

simple small patch in chrome/browser/renderer_context_menu/render_view_context_menu.cc

    case IDC_CONTENT_CONTEXT_COPYVIDEOFRAME:
      return (params_.media_flags & ContextMenuData::kMediaEncrypted) == 0 &&
             (params_.media_flags &
              ContextMenuData::kMediaHasReadableVideoFrame) != 0;

in

    case IDC_CONTENT_CONTEXT_COPYVIDEOFRAME:
      return true;

check also HLS stream shouldn't have a download button.

uazo commented 12 months ago

no, it is not possible.