From: Stuart C. <stu...@us...> - 2009-05-14 07:35:07
|
Update of /cvsroot/ingex/ingex/libMXF/examples/writeavidmxf In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv19417/libMXF/examples/writeavidmxf Modified Files: package_definitions.c package_definitions.h Log Message: Added track origin. Index: package_definitions.h =================================================================== RCS file: /cvsroot/ingex/ingex/libMXF/examples/writeavidmxf/package_definitions.h,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** package_definitions.h 1 May 2009 13:47:15 -0000 1.7 --- package_definitions.h 14 May 2009 07:34:56 -0000 1.8 *************** *** 144,148 **** int create_track(Package* package, uint32_t id, uint32_t number, const char* name, int isPicture, const mxfRational* editRate, const mxfUMID* sourcePackageUID, uint32_t sourceTrackID, ! int64_t startPosition, int64_t length, Track** track); --- 144,148 ---- int create_track(Package* package, uint32_t id, uint32_t number, const char* name, int isPicture, const mxfRational* editRate, const mxfUMID* sourcePackageUID, uint32_t sourceTrackID, ! int64_t startPosition, int64_t length, int64_t origin, Track** track); Index: package_definitions.c =================================================================== RCS file: /cvsroot/ingex/ingex/libMXF/examples/writeavidmxf/package_definitions.c,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** package_definitions.c 7 Nov 2008 14:12:59 -0000 1.4 --- package_definitions.c 14 May 2009 07:34:56 -0000 1.5 *************** *** 273,277 **** int create_track(Package* package, uint32_t id, uint32_t number, const char* name, int isPicture, const mxfRational* editRate, const mxfUMID* sourcePackageUID, uint32_t sourceTrackID, ! int64_t startPosition, int64_t length, Track** track) { Track* newTrack = NULL; --- 273,277 ---- int create_track(Package* package, uint32_t id, uint32_t number, const char* name, int isPicture, const mxfRational* editRate, const mxfUMID* sourcePackageUID, uint32_t sourceTrackID, ! int64_t startPosition, int64_t length, int64_t origin, Track** track) { Track* newTrack = NULL; *************** *** 298,301 **** --- 298,302 ---- newTrack->startPosition = startPosition; newTrack->length = length; + newTrack->origin = origin; CHK_OFAIL(mxf_append_list_element(&package->tracks, newTrack)); |