public ExtractWithGraph(string SourceFile, string workPath, ExtractMediaType mediaType, JobStatus jobStatus, Log jobLog) { _jobStatus = jobStatus; _extractMediaType = mediaType; _SourceFile = SourceFile; _workPath = workPath; _jobLog = jobLog; _Ext = FilePaths.CleanExt(SourceFile).Replace(".", ""); //Set the decryptor type depending on the file type DVR-MS or WTV or TIVO if (_Ext == "dvr-ms") { _CLSI_Decryptor = CLSID_DVRMSDecryptTag; } else if (_Ext == "wtv") { _CLSI_Decryptor = CLSID_WTVDecryptTag; } // Set up base graph _fg = new FilterGraph(); _gb = (IGraphBuilder)_fg; }
public ExtractWithGraph(string SourceFile, string workPath, ExtractMediaType mediaType, JobStatus jobStatus, Log jobLog) { _jobStatus = jobStatus; _extractMediaType = mediaType; _SourceFile = SourceFile; _workPath = workPath; _jobLog = jobLog; _Ext = FilePaths.CleanExt(SourceFile).Replace(".", ""); //Set the decryptor type depending on the file type DVR-MS or WTV or TIVO if (_Ext == "dvr-ms") _CLSI_Decryptor = CLSID_DVRMSDecryptTag; else if (_Ext == "wtv") _CLSI_Decryptor = CLSID_WTVDecryptTag; // Set up base graph _fg = new FilterGraph(); _gb = (IGraphBuilder)_fg; }