Skip to content
Snippets Groups Projects

VLCMediaSource: check file:// for file browsing

Merged Alexandre Janniaux requested to merge alexandre-janniaux/vlc:media-source-macos/1 into master
  1. May 24, 2024
    • Alexandre Janniaux's avatar
      VLCMediaSource: check file:// for file browsing · d5de42f4
      Alexandre Janniaux authored and Steve Lhomme's avatar Steve Lhomme committed
      An INPUT_TYPE_DIRECTORY might not match with an MRL supported by the
      CoreFoundation API. The code handling the file browsing is made for
      local file browsing at locations that are not exposed by services
      discovery.
      
      Ensure file:// is the scheme used for the MRL to trigger this browsing
      code. This is not 100% compliant since it doesn't account for a demux
      but there's probably no reason to have a demux there, and no occurrence
      to that day.
      
      This avoid bypassing the vlc_media_source/media_tree preparsing when the
      source has been reported as INPUT_TYPE_DIRECTORY.
      d5de42f4
    • Alexandre Janniaux's avatar
      VLCMediaSource: fix typo · b3c18144
      Alexandre Janniaux authored and Steve Lhomme's avatar Steve Lhomme committed
      b3c18144
Loading