Example #1
0
 private static void SetMark(IWMEncSourceGroup2 sg, int start, int end)
 {
     foreach (WMENC_SOURCE_TYPE stype in new WMENC_SOURCE_TYPE[] { WMENC_SOURCE_TYPE.WMENC_AUDIO, WMENC_SOURCE_TYPE.WMENC_VIDEO })
     {
         if (sg.get_SourceCount(stype) > 0)
         {
             IWMEncSource src = sg.get_Source(stype, 0);
             src.MarkIn  = start;
             src.MarkOut = end;
         }
     }
 }
Example #2
0
 private void SetMark(IWMEncSourceGroup2 sg)
 {
     foreach (WMENC_SOURCE_TYPE stype in new WMENC_SOURCE_TYPE[] { WMENC_SOURCE_TYPE.WMENC_AUDIO, WMENC_SOURCE_TYPE.WMENC_VIDEO })
     {
         if (sg.get_SourceCount(stype) > 0)
         {
             IWMEncSource src = sg.get_Source(stype, 0);
             src.MarkIn  = this.markIn;
             src.MarkOut = this.markOut;
         }
     }
 }
Example #3
0
 private void SetMark(IWMEncSourceGroup2 sg)
 {
     foreach (WMENC_SOURCE_TYPE stype in new WMENC_SOURCE_TYPE[] { WMENC_SOURCE_TYPE.WMENC_AUDIO, WMENC_SOURCE_TYPE.WMENC_VIDEO })
     {
         if (sg.get_SourceCount(stype) > 0)
         {
             IWMEncSource src = sg.get_Source(stype, 0);
             src.MarkIn = this.markIn;
             src.MarkOut = this.markOut;
         }
     }
 }
Example #4
0
 private static void SetMark(IWMEncSourceGroup2 sg, int start, int end)
 {
     foreach (WMENC_SOURCE_TYPE stype in new WMENC_SOURCE_TYPE[] { WMENC_SOURCE_TYPE.WMENC_AUDIO, WMENC_SOURCE_TYPE.WMENC_VIDEO})
     {
         if (sg.get_SourceCount(stype) > 0)
         {
             IWMEncSource src = sg.get_Source(stype, 0);
             src.MarkIn = start;
             src.MarkOut = end;
         }
     }
 }