[FFmpeg-devel] [PATCH] movenc: support GPMF track (gpmd) remuxing
u at pkh.me
Fri Jul 21 16:55:13 EEST 2017
On Fri, Jul 21, 2017 at 02:21:23PM +0100, Derek Buitenhuis wrote:
> On 7/21/2017 9:30 AM, Clément Bœsch wrote:
> > + avio_wb16(pb, 1); /* Data-reference index */
> Why is this whole atom hardcoded (i.e. with is '1').
It's basically the same layout for every stsd sample description. Check
the other tags that extend that layout, the also have that data ref idx to
1. I think I copied from the rtp code, but it's the same for the other as
well. This gpmd atom just extends the stsd sample description with a
reserved 32-bit value.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 488 bytes
Desc: not available
More information about the ffmpeg-devel