ashik94vc / mp4parser

Automatically exported from code.google.com/p/mp4parser
0 stars 0 forks source link

Feature request: set flags in vmhd (VideoMediaHeaderBox) #41

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago

I have an MP4 file where the encoder has incorrectly set the flags field of the 
vmhd box to 0, when the spec says it should always be 1.

Would it be possible to have a method added to 
com.coremedia.iso.boxes.AbstractMediaHeaderBox to set the value of the field?

Thanks!

Original issue reported on code.google.com by ben.m...@digitaltv-labs.com on 24 Aug 2012 at 4:13

GoogleCodeExporter commented 8 years ago
Hi Ben, 

there is the setFlags(int) method to do what you request (it's defined in the 
FullBox class). Or am I misunderstanding your request?

Best Regards,
Sebastian

Original comment by Sebastian.Annies on 25 Aug 2012 at 7:31

GoogleCodeExporter commented 8 years ago
Argh, you're absolutely right. Don't know how I missed that -- my apologies.

Original comment by ben.m...@digitaltv-labs.com on 30 Aug 2012 at 10:58

GoogleCodeExporter commented 8 years ago
No problem.

Original comment by Sebastian.Annies on 30 Aug 2012 at 2:14