On Mon, Sep 19, 2016 at 04:25:26PM +0300, Erkki Seppälä wrote: > Instead of one track reference, allow many, and instead of > of track reference type (ie. 'cdsc'), allow many. > > In addition this patch allows client to explicitly add track references > with side packet AV_PKT_DATA_TRACK_REFERENCES containing > AVTrackReferences (which of there can many many). > > Internally MOVTrack's track references can be manipulated with helper > functions ff_mov_tref* (and is used by a later patch for reading > MOVTRefs). > > Multiple track references can be useful in particular with timed meta > data tracks, indicating the track is related to multiple other tracks. > > This information ends up in ISO media file box 'tref' as specified by > ISO/IEC 14496-12. > > Signed-off-by: Erkki Seppälä <erkki.seppala....@nokia.com> > Signed-off-by: OZOPlayer <oz...@nokia.com> > --- > libavcodec/avcodec.h | 19 ++++++- > libavformat/Makefile | 4 +- > libavformat/movenc.c | 153 > ++++++++++++++++++++++++++++++++++++++++++-------- > libavformat/movenc.h | 5 +- > libavformat/movtref.c | 115 +++++++++++++++++++++++++++++++++++++ > libavformat/movtref.h | 75 +++++++++++++++++++++++++ > 6 files changed, 344 insertions(+), 27 deletions(-) > create mode 100644 libavformat/movtref.c > create mode 100644 libavformat/movtref.h
fails to build CC libavformat/movenc.o libavformat/movenc.c: In function ‘mov_write_moov_tag’: libavformat/movenc.c:3612:34: error: ‘ff_codec_metadata_tags’ undeclared (first use in this function) libavformat/movenc.c:3612:34: note: each undeclared identifier is reported only once for each function it appears in libavformat/movenc.c: In function ‘mov_init’: libavformat/movenc.c:5578:33: warning: variable ‘tmcd_track’ set but not used [-Wunused-but-set-variable] libavformat/movenc.c:5578:17: warning: variable ‘hint_track’ set but not used [-Wunused-but-set-variable] [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB Complexity theory is the science of finding the exact solution to an approximation. Benchmarking OTOH is finding an approximation of the exact
signature.asc
Description: Digital signature
_______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel