File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed
Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -1702,7 +1702,7 @@ double SingleStreamDecoder::getPtsSecondsForFrame(int64_t frameIndex) {
17021702 streamInfo.allFrames [frameIndex].pts , streamInfo.timeBase );
17031703}
17041704
1705- std::string SingleStreamDecoder::getInterfaceDetails () const {
1705+ std::string SingleStreamDecoder::getDeviceInterfaceDetails () const {
17061706 TORCH_CHECK (deviceInterface_ != nullptr , " Device interface doesn't exist." );
17071707 return deviceInterface_->getDetails ();
17081708}
Original file line number Diff line number Diff line change @@ -186,7 +186,7 @@ class SingleStreamDecoder {
186186 DecodeStats getDecodeStats () const ;
187187 void resetDecodeStats ();
188188
189- std::string getInterfaceDetails () const ;
189+ std::string getDeviceInterfaceDetails () const ;
190190
191191 private:
192192 // --------------------------------------------------------------------------
Original file line number Diff line number Diff line change @@ -872,7 +872,7 @@ std::string _get_json_ffmpeg_library_versions() {
872872
873873std::string get_backend_details (at::Tensor& decoder) {
874874 auto videoDecoder = unwrapTensorToGetDecoder (decoder);
875- return videoDecoder->getInterfaceDetails ();
875+ return videoDecoder->getDeviceInterfaceDetails ();
876876}
877877
878878// Scans video packets to get more accurate metadata like frame count, exact
You can’t perform that action at this time.
0 commit comments