Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in / Register
  • VLC-Android VLC-Android
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 410
    • Issues 410
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 8
    • Merge requests 8
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Releases
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • VideoLAN
  • VLC-AndroidVLC-Android
  • Issues
  • #2332

Closed
Open
Created Jan 20, 2022 by Zhao Zhili@quinkContributor

media file with only video track doesn't playback over http

VLC app version: 3.4.3

It looks like related to the ":no-video" option. I don't get how the ':no-video' first, then switchToVideo logic works.

Those streams playback normally if

--- a/medialibrary/src/org/videolan/medialibrary/interfaces/media/MediaWrapper.java
+++ b/medialibrary/src/org/videolan/medialibrary/interfaces/media/MediaWrapper.java
@@ -48,7 +48,7 @@ public abstract class MediaWrapper extends MediaLibraryItem implements Parcelabl
     public final static int TYPE_DIR = 3;
     public final static int TYPE_SUBTITLE = 4;
     public final static int TYPE_PLAYLIST = 5;
-    public final static int TYPE_STREAM = 6;
+    public final static int TYPE_STREAM = TYPE_VIDEO;

     public final static int MEDIA_VIDEO = 0x01;
     public final static int MEDIA_NO_HWACCEL = 0x02;

Of course it's not a fix.

Assignee
Assign to
Time tracking

VideoLAN code repository instance