1 /* 2 * Copyright 2008 CoreMedia AG, Hamburg 3 * 4 * Licensed under the Apache License, Version 2.0 (the License); 5 * you may not use this file except in compliance with the License. 6 * You may obtain a copy of the License at 7 * 8 * http://www.apache.org/licenses/LICENSE-2.0 9 * 10 * Unless required by applicable law or agreed to in writing, software 11 * distributed under the License is distributed on an AS IS BASIS, 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 * See the License for the specific language governing permissions and 14 * limitations under the License. 15 */ 16 17 package com.coremedia.iso.boxes; 18 19 import com.googlecode.mp4parser.AbstractContainerBox; 20 21 /** 22 * <code> 23 * Box Type: 'tref'<br> 24 * Container: {@link TrackBox} ('trak')<br> 25 * Mandatory: No<br> 26 * Quantity: Zero or one<br><br> 27 * </code> 28 * This box provides a reference from the containing track to another track in the presentation. These references 29 * are typed. A 'hint' reference links from the containing hint track to the media data that it hints. A content 30 * description reference 'cdsc' links a descriptive or metadata track to the content which it describes. 31 * Exactly one Track Reference Box can be contained within the Track Box. 32 * If this box is not present, the track is not referencing any other track in any way. The reference array is sized 33 * to fill the reference type box. 34 */ 35 public class TrackReferenceBox extends AbstractContainerBox { 36 public static final String TYPE = "tref"; 37 TrackReferenceBox()38 public TrackReferenceBox() { 39 super(TYPE); 40 } 41 } 42