You've already forked libopenshot
mirror of
https://github.com/OpenShot/libopenshot.git
synced 2026-03-02 08:53:52 -08:00
Replaced avcodec_encode_audio with avcodec_encode_audio2, and completely redid the way PTS values are calculated and set. Another nice improvement!
This commit is contained in:
@@ -243,7 +243,7 @@ void Frame::ClearWaveform()
|
||||
const Magick::PixelPacket* Frame::GetWaveformPixels(int width, int height)
|
||||
{
|
||||
// Get audio wave form image
|
||||
tr1::shared_ptr<Magick::Image> wave_image = GetWaveform(width, height);
|
||||
wave_image = GetWaveform(width, height);
|
||||
|
||||
// Return array of pixel packets
|
||||
return wave_image->getConstPixels(0,0, wave_image->columns(), wave_image->rows());
|
||||
|
||||
Reference in New Issue
Block a user