Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion libffmpegthumbnailer/moviedecoder.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -318,7 +318,7 @@ std::string MovieDecoder::createScaleString(const std::string& sizeString, bool
return scale.str();
}

void MovieDecoder::initializeFilterGraph(const AVRational& timeBase, const std::string& size, bool maintainAspectRatio)
void MovieDecoder::initializeFilterGraph(AVRational timeBase, const std::string& size, bool maintainAspectRatio)
{
m_pFilterGraph = avfilter_graph_alloc();
assert(m_pFilterGraph);
Expand Down
2 changes: 1 addition & 1 deletion libffmpegthumbnailer/moviedecoder.h
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ class MovieDecoder
int32_t findPreferredVideoStream(bool preferEmbeddedMetadata);

void initializeVideo(bool preferEmbeddedMetadata);
void initializeFilterGraph(const AVRational& timeBase, const std::string& size, bool maintainAspectRatio);
void initializeFilterGraph(AVRational timeBase, const std::string& size, bool maintainAspectRatio);

bool decodeVideoPacket();
bool getVideoPacket();
Expand Down
2 changes: 1 addition & 1 deletion libffmpegthumbnailer/videothumbnailer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -318,7 +318,7 @@ void VideoThumbnailer::clearFilters()

void VideoThumbnailer::setLogCallback(std::function<void(ThumbnailerLogLevel, const std::string&)> cb)
{
m_LogCb = cb;
m_LogCb = std::move(cb);
}

void VideoThumbnailer::applyFilters(VideoFrame& frameData)
Expand Down