Ticket #98 (new defect)

Opened 2 years ago

Last modified 8 months ago

Matroska importer sets kMovieLoadStatePlayable too soon

Reported by: roine@users.sf.net Assigned to:
Priority: normal Milestone: 1.2
Component: matroska Version:
Severity: normal Keywords:
Cc:

Description

The matroska importer sets kMovieLoadStatePlayable when there's one track with atleast some data in it. Since other tracks do not have any data, they do not even have any SampleDescriptions?

A better choice would be to set kMovieLoadStatePlayable when there are samples in at least all video and audio tracks so that a player can parse all tracks' sample descriptions. Currently it will cause random behavior in players that expect tracks to be parsable after kMovieLoadStatePlayable.

Change History

02/03/07 00:53:59 changed by dconrad

One problem is that it's very possible for a subtitle track to not have any samples until near the end of the file. Two ways to fix this that I see: 1. Hold off creating the track until we have a sample to insert. I know that XiphQT does this for chained ogg files. 2. Insert a fake sample at the beginning for subtitle tracks to get the SampleDescription? in there if we don't have any samples in the first cluster.

05/02/07 09:54:37 changed by tick

  • milestone set to 1.1.

07/23/07 11:49:54 changed by tick

Do we need to block 1.1 on this?

10/16/07 20:20:42 changed by astrange

Well, it's not a regression. dconrad would know, I guess.

01/07/08 01:03:27 changed by astrange

  • milestone changed from 1.1 to 1.2.

Subtitle tracks can have SampleDescriptions? without any samples, and um.... I think most (all?) other track formats should too. Anyway, it's not blocking.