Package: libopenshot / 0.2.7+dfsg1-4

Metadata

Package Version Patches format
libopenshot 0.2.7+dfsg1-4 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
0001 Include SOVERSION in VERSION.patch | (download)

src/CMakeLists.txt | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 include soversion in version


0002 constify some AVCodecIDs necessary for new ffmpeg.patch | (download)

src/FFmpegReader.cpp | 6 3 + 3 - 0 !
src/FFmpegWriter.cpp | 12 6 + 6 - 0 !
2 files changed, 9 insertions(+), 9 deletions(-)

 [patch] constify some avcodecids, necessary for new ffmpeg

Signed-off-by: nick black <dankamongmen@gmail.com>

0003 FFmpegWriter Macro member cleanup.patch | (download)

src/FFmpegUtilities.h | 37 9 + 28 - 0 !
src/FFmpegWriter.cpp | 105 63 + 42 - 0 !
src/FFmpegWriter.h | 3 1 + 2 - 0 !
3 files changed, 73 insertions(+), 72 deletions(-)

 [patch] ffmpegwriter: macro & member cleanup

- The `fmt` class member, which was of type AVFormat*, was really
  just an unnecessary copy of `(AVFormatContext*)oc->oformat`.
  But we were ASSIGNING into its members, which we were definitely
  not supposed to be doing. (And in recent FFmpegs, now that
  `AVFormat` has been `const`d, we can't.) It's gone; now we just
  use `oc->oformat` anywhere we used to access `fmt`.

- The preprocessor macro to allocate a new _stream_ was a mess of
  cross purposes: It did allocate a stream, but then it also
  allocated a new AvCodecCtx on newer FFmpeg releases. Worse (and
  always galling to me), it proceeded to assign to a variable
  that WASN'T passed in to the macro, just taking it on faith that
  it would only be used where that variable was defined. That's
  just... ugh. So I broke it apart into two steps (stream creation
  and context allocation), realized the stream creation code was
  the same for all ffmpeg versions and didn't need to be a macro
  at all, and now a 4-parameter, 6-line magical macro has been
  replaced with a simple, zero-side-effect one-liner.

- I also cleaned up the add_video_stream() code to be more like
0004 FFmpegWriter Don t force deprecated stream member.patch | (download)

src/FFmpegWriter.cpp | 7 0 + 7 - 0 !
1 file changed, 7 deletions(-)

 [patch 2/3] ffmpegwriter: don't force deprecated stream member


0005 FFmpegWriter Don t use AVPicture gone in 5.0.patch | (download)

src/FFmpegWriter.cpp | 20 10 + 10 - 0 !
1 file changed, 10 insertions(+), 10 deletions(-)

 [patch] ffmpegwriter: don't use avpicture (gone in 5.0)