Ejemplo n.º 1
0
 public DvdSubItem(string name, DvdRenderingStartHint hint, PlaylistItem parent)
     : base(name, parent)
 {
     _hint = hint;
 }
Ejemplo n.º 2
0
        private DvdSubItem CreateChapterSubItem(int titleIndex, int chapterIndex)
        {
            int dvdTitleIndex = titleIndex + 1;
            int dvdChapterIndex = chapterIndex + 1;
            string chapterName = "Chapter " + dvdChapterIndex;

            DvdRenderingStartHint hint = new DvdRenderingStartHint(new DvdPlaybackLocation(dvdTitleIndex, dvdChapterIndex, 0));
            return new DvdSubItem(chapterName, hint, this);
        }
Ejemplo n.º 3
0
 private DvdSubItem CreateLanguageSubItem(int streamIndex, int languageId)
 {
     CultureInfo ci = new CultureInfo(languageId);
     DvdRenderingStartHint hint = new DvdRenderingStartHint(languageId, streamIndex);
     return new DvdSubItem(ci.NativeName, hint, this);
 }
Ejemplo n.º 4
0
        private DvdSubItem CreateTitleSubItem(int titleIndex)
        {
            int dvdTitleIndex = titleIndex + 1;
            string titleName = "Title " + dvdTitleIndex;

            DvdRenderingStartHint hint = new DvdRenderingStartHint(new DvdPlaybackLocation(dvdTitleIndex, 0, 0));
            return new DvdSubItem(titleName, hint, this);
        }