mirror of
https://github.com/brunoherbelin/vimix.git
synced 2025-12-17 21:29:59 +01:00
BugFix Correct detection of single frame media
Was causing a problem for play at loading (not paying before started)
This commit is contained in:
@@ -798,7 +798,9 @@ bool MediaPlayer::isImage() const
|
|||||||
|
|
||||||
bool MediaPlayer::singleFrame() const
|
bool MediaPlayer::singleFrame() const
|
||||||
{
|
{
|
||||||
return timeline_.end() == GST_CLOCK_TIME_NONE;
|
if (media_.isimage)
|
||||||
|
return timeline_.end() == GST_CLOCK_TIME_NONE;
|
||||||
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
std::string MediaPlayer::decoderName()
|
std::string MediaPlayer::decoderName()
|
||||||
|
|||||||
Reference in New Issue
Block a user