Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
vision
Commits
6fc18d63
Unverified
Commit
6fc18d63
authored
Jun 09, 2021
by
Prabhat Roy
Committed by
GitHub
Jun 09, 2021
Browse files
Drop virtual from private member functions of Decoder class (#4027)
parent
50468715
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
torchvision/csrc/io/decoder/decoder.h
torchvision/csrc/io/decoder/decoder.h
+5
-5
No files found.
torchvision/csrc/io/decoder/decoder.h
View file @
6fc18d63
...
...
@@ -59,11 +59,11 @@ class Decoder : public MediaDecoder {
private:
// mark below function for a proper invocation
virtual
bool
enableLogLevel
(
int
level
)
const
;
virtual
void
logCallback
(
int
level
,
const
std
::
string
&
message
);
virtual
int
readCallback
(
uint8_t
*
buf
,
int
size
);
virtual
int64_t
seekCallback
(
int64_t
offset
,
int
whence
);
virtual
int
shutdownCallback
();
bool
enableLogLevel
(
int
level
)
const
;
void
logCallback
(
int
level
,
const
std
::
string
&
message
);
int
readCallback
(
uint8_t
*
buf
,
int
size
);
int64_t
seekCallback
(
int64_t
offset
,
int
whence
);
int
shutdownCallback
();
bool
openStreams
(
std
::
vector
<
DecoderMetadata
>*
metadata
);
Stream
*
findByIndex
(
int
streamIndex
)
const
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment