Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
VLCKit
VLCKit
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 77
    • Issues 77
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 4
    • Merge Requests 4
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Analytics
    • Analytics
    • CI / CD
    • Repository
    • Value Stream
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • VideoLAN
  • VLCKitVLCKit
  • Issues
  • #157

Closed
Open
Opened Mar 11, 2018 by Luis@zipleen

VLCKit 3.0.2 can't seek TS files more than once (but 3.0.1 can)

steps to reproduce:

  • compile vlc with VLCKit 3.0.2
  • open this network stream (it needs to be a network stream, local files work ok): http://arte-magica.pt/test4.ts
  • try to seek once (it works)
  • try to seek a second time, it never works again

if you compile vlc with VLCKit 3.0.1, seeking works.

interestingly, the amount of remaining time seems to be better with 3.0.2!

In VLC, after the first seek, it seems that _mediaPlayer.media.length in VLCPlaybackController turns to 0 and stays 0. With 3.0.1, the value keeps updating to some value. It does appear that this value starts ok (it contains something > 0), but after the first seek turns into 0 and stays 0.

Because _mediaDuration must be > 0 (line 870 in VLCMovieViewController), the triggering of the new seek will never be issued again.

(tested in the simulator and real iPhone X)

Edited Mar 12, 2018 by Luis
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
3.3.1
Milestone
3.3.1
Assign milestone
Time tracking
None
Due date
None
Reference: videolan/VLCKit#157