summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authoraneejit1 <aneejit1@gmail.com>2022-05-17 12:02:27 +0000
committerSlávek Banko <slavek.banko@axis.cz>2022-05-19 17:40:38 +0200
commit83beb081801183920497d4ac3ee2ef8786911e08 (patch)
tree9f53cf8fa3f1c8a5c060c987a075f4f6985f7829 /src
parent6e5bd8f2aecca675dd0d7b1da4cbb06f1044c541 (diff)
downloadk9copy-83beb081801183920497d4ac3ee2ef8786911e08.tar.gz
k9copy-83beb081801183920497d4ac3ee2ef8786911e08.zip
Implement ffmpeg version 5 support
Version 5.0 of ffmpeg drops a load of deprecated API functions causing k9copy to fail its build. The necessary changes have been made to enable k9copy to build against ffmpeg 5.0 as well as retaining support for older versions. Support for older pre-0.5.1 versions has been dropped as has runtime linking of the ffmpeg libraries. libswscale is now mandatory. Signed-off-by: aneejit1 <aneejit1@gmail.com> (cherry picked from commit e71518b16cb4507712e2bf69e4902fc1689d9995)
Diffstat (limited to 'src')
-rw-r--r--src/Makefile.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index 64116bf..14c18a9 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -30,7 +30,7 @@ k9copy_SOURCES = configDlg.ui images.h k9copy.cpp k9glwidget.cpp \
tdeconfigdlg.cpp kviewmpeg2.cpp kviewmpeg2.h langselectw.ui main.cpp mencoderCmdGen.ui \
playbackoptionsw.ui prefAuthor.ui prefDVD.ui prefMPEG4.ui prefMencoder.ui prefpreview.ui \
titlefactor.ui viewmpeg2.ui
-k9copy_LDFLAGS = $(all_libraries) $(KDE_RPATH) $(LIB_QT) -lDCOP $(LIB_TDECORE) $(LIB_TDEUI) -ltdefx $(LIB_TDEIO) -ltdetexteditor $(LIB_TDEPARTS)
+k9copy_LDFLAGS = $(all_libraries) $(KDE_RPATH) $(LIB_QT) -lDCOP $(LIB_TDECORE) $(LIB_TDEUI) -ltdefx $(LIB_TDEIO) -ltdetexteditor $(LIB_TDEPARTS) $(FFMPEG_LIBS)
k9copy_LDADD = $(top_builddir)/k9Mplayer/libk9mplayer.la \
$(top_builddir)/k9author/libk9author.la $(top_builddir)/k9decmpeg/libk9decmpeg.la \
$(top_builddir)/k9devices/libk9devices.la $(top_builddir)/k9vamps/libk9vamps.la \