Git Product home page Git Product logo

Comments (4)

GoogleCodeExporter avatar GoogleCodeExporter commented on July 18, 2024
Hi Luca, 

could please have a look into the complete list that is returned by 
stbl.getBoxes() [without class argument]. Is a ChunkOffsetBox in this list? 
Please also turn on assertion by adding the VM param '-ea'. Can you see the box 
if you open the file with the latest isoviewer (please use webstart).
The getBox(Class clazz) stuff is used all over the place. It would be really 
surprising if there was a bug! 

Best Regards,
Sebastian

Original comment by Sebastian.Annies on 8 Dec 2011 at 6:44

from mp4parser.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 18, 2024
Hi Sebastians,

Yes, i thought exactly the same thing about the getBox(Class class).
I did your suggestion, and for my surprise, the class name of the box
is StaticChunkOffsetBox, and not ChunkOffsetBox.
In the iso specification i did not saw this name for this box.

Thank for the help and sorry for the trouble.

I also wanna thank you for this project. It saved my life. I needed exactly
this type of project to my project !


Thanks !

Original comment by [email protected] on 8 Dec 2011 at 7:01

from mp4parser.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 18, 2024
StaticChunkOffsetBox is a subclass of ChunkOffsetBox, there is also have a 
DynamicChunkOffset Box that automagically re-calculates the offsets of the 
chunks if you add data before the mdat box.

It seems that my co-committer changed the behavior some time ago, I think it 
should work the way you tried it. I'll change the behavior back to also return 
subclasses. 

No problem, thank you for revealing this pitfall!


Original comment by Sebastian.Annies on 8 Dec 2011 at 7:22

from mp4parser.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 18, 2024
fixed it in trunk. getBoxes(clazz) now also returns subclasses

Original comment by Sebastian.Annies on 15 Dec 2011 at 9:48

  • Changed state: Fixed

from mp4parser.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.