You've already forked libopenshot
mirror of
https://github.com/OpenShot/libopenshot.git
synced 2026-03-02 08:53:52 -08:00
Fixed a big audio bug, where varying timestamp values on low precision audio timebases (i.e. 1/1000) would leave small gaps in the audio wave. Also, fixed a few issues related to sample_rate getting lost between the reader and clip and timeline objects.
This commit is contained in:
@@ -81,6 +81,7 @@ tr1::shared_ptr<Frame> ImageReader::GetFrame(int requested_frame) throw(ReaderCl
|
||||
{
|
||||
// Create or get frame object
|
||||
tr1::shared_ptr<Frame> image_frame(new Frame(requested_frame, image->size().width(), image->size().height(), "#000000", 0, 2));
|
||||
image_frame->SetSampleRate(44100);
|
||||
|
||||
// Add Image data to frame
|
||||
tr1::shared_ptr<Magick::Image> copy_image(new Magick::Image(*image.get()));
|
||||
|
||||
Reference in New Issue
Block a user