Skip to content

Commit

Permalink
booru/image: Fix issue where webm files would not play
Browse files Browse the repository at this point in the history
This would occur after reset_pixbuf was called once.
  • Loading branch information
ahodesuka committed Apr 2, 2018
1 parent 784446f commit 1737fc5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/booru/image.cc
Expand Up @@ -47,7 +47,7 @@ Image::~Image()
bool Image::is_loading() const
{
return (m_isWebM && !Glib::file_test(m_Path, Glib::FILE_TEST_EXISTS))
|| m_Curler.is_active() || m_Loading;
|| m_Curler.is_active() || (m_Loading && !m_isWebM);
}

std::string Image::get_filename() const
Expand Down

0 comments on commit 1737fc5

Please sign in to comment.