You've already forked libopenshot
mirror of
https://github.com/OpenShot/libopenshot.git
synced 2026-03-02 08:53:52 -08:00
Fixed bug on Image processing, with no video or audio present. Play() and DisplayWaveform() methods now handle not having any audio samples.
This commit is contained in:
@@ -760,9 +760,9 @@ Frame FFmpegReader::CreateFrame(int requested_frame)
|
||||
void FFmpegReader::CheckWorkingFrames(bool end_of_stream)
|
||||
{
|
||||
// Adjust for video only, or audio only
|
||||
if (info.video_stream_index < 0)
|
||||
if (!info.has_video)
|
||||
last_video_frame = last_audio_frame;
|
||||
if (info.audio_stream_index < 0)
|
||||
if (!info.has_audio)
|
||||
last_audio_frame = last_video_frame;
|
||||
|
||||
// Loop through all working queue frames
|
||||
|
||||
Reference in New Issue
Block a user