After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 638019 - [matroskademux] some matroska files are not specifying DocType
[matroskademux] some matroska files are not specifying DocType
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-good
git master
Other All
: Normal enhancement
: 0.10.27
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2010-12-25 23:01 UTC by Julien MOUTTE
Modified: 2010-12-29 23:10 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Julien MOUTTE 2010-12-25 23:01:03 UTC
VLC is using libebml and in this case doctype as a default value set to "matroska" which makes the file play fine.

In our case we will error out saying that there is not valid DocType.

I think both the demuxer and the typefinder should be more relaxed and assume "matroska" when no DocType is specified.
Comment 1 Tim-Philipp Müller 2010-12-29 23:10:45 UTC
Thanks for the bug report,  it would be really helpful if you could attach the first 1MB of a sample next time, or point to one on the net...

 commit bb786dfb5cc480b0329876b123e468a26031cf71
 Author: Tim-Philipp Müller <tim.muller@collabora.co.uk>
 Date:   Wed Dec 29 22:36:41 2010 +0000

    typefinding: assume EBML files without doctype are matroska
    
    https://bugzilla.gnome.org/show_bug.cgi?id=638019

 commit c8fc90fd37821ef0be2ea2075ac2bd22beefcda0
 Author: Tim-Philipp Müller <tim.muller@collabora.co.uk>
 Date:   Wed Dec 29 23:09:04 2010 +0000

    matroska-demux: assume matroska if no doctype is specified
    
    https://bugzilla.gnome.org/show_bug.cgi?id=638019