Commit Graph

320 Commits (a8754a961bd8cc067b4cf4baf4fe7eb61afb1e3e)
 

Author SHA1 Message Date
aneejit1 a8754a961b
Fix problems for older ffmpeg versions
Fix the following issues when building against older ffmpeg versions

- the call to avcodec_free_context exceptions as avformat_close_input
  already performs cleanup of the AVCodecContext, so link the calling of
  avcodec_free_context in k3bffmpegwrapper.cpp to the version of
  libavformat in which codecpar appeared rather than when
  avcodec_free_context appeared.
- avcodec_decode_audio4 was deprecated in libavcodec 57.106.100, not
  57.12.100, so the version has been corrected.

Signed-off-by: aneejit1 <aneejit1@gmail.com>
(cherry picked from commit 18ea1e7a94)
3 years ago
aneejit1 ea1dbe7ba9
Correct API version check
The version check for "av_register_all" is being performed against
the AVCodec API. Correct it to the AVFormat API.

Signed-off-by: aneejit1 <aneejit1@gmail.com>
(cherry picked from commit 9d90dd583d)
3 years ago
aneejit1 fad8c6359d
Enable ffmpeg 5.0 compatibility
The release of version 5.0 of ffmpeg removes a lot of deprecated API
functions, some of which are being used by k3b. The ffmpeg support has
been modified to support 5.0 as well as older versions.

Signed-off-by: aneejit1 <aneejit1@gmail.com>
(cherry picked from commit 8e7556b9a8)
3 years ago
aneejit1 376a0f6bdc
Make s_codecFeatures a "const char *" to remove ISO C++ warning
"libk3b/jobs/k3bvideodvdtitletranscodingjob.cpp" declares two instances
of "s_codecFeatures" as "static char *" and initialises them with
string constants. This produces the compiler warning "ISO C++ forbids
converting a string constant to 'char*'". Both declarations have been
changed to "const".

Signed-off-by: aneejit1 <aneejit1@gmail.com>
(cherry picked from commit 1f4a3ab86e)
3 years ago
Michele Calgaro aa3cdfd2c3
Remove obsolete setting of CMAKE_MODULE_PATH in cmake files.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
3 years ago
TDE Gitea c91f6e2353 Reset submodule main/applications/multimedia/k3b/admin to latest HEAD 3 years ago
Slávek Banko 4d2580252c
Raise the minimum required version of CMake to 3.1 in CMakeL10n rules.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit 257144817b)
3 years ago
Slávek Banko af47d506ca
Raise the minimum required version of CMake to 3.1.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit fe06115e6c)
3 years ago
François Andriot fded15bc40
Fix FTBFS on RHEL6
Signed-off-by: François Andriot <francois.andriot@free.fr>
(cherry picked from commit 6a10a4b693)
3 years ago
Michele Calgaro 469637bdbf
Fixed building with older version of libav* libraries.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit f76cc7b31d)
3 years ago
Michele Calgaro 75f9bf49ef
Replace nullptr with NULL.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit e24ff5c0cf)
3 years ago
Mashiro 3db05eac69
Fix metainfo processing, AAC decoding, some domestic code clearance
Initially code entirely taken and adopted from k3b upstream
1e09c7d77f
with subsequent fix of the read() function and reducing of the
compiler warnings.

Signed-off-by: Mashiro <m.t.0x73@gmail.com>
(cherry picked from commit 095c3186b1)
3 years ago
Slávek Banko 18290ecf4e
Remove cmake submodule since it has now been replaced by cmake-trinity dependency.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
4 years ago
TDE Gitea 0d26836525 Reset submodule main/applications/k3b/cmake to latest HEAD 4 years ago
Michele Calgaro 298a2ec675
Fixed FTBFS when building without tdehw lib but with HAL enabled.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit 804f6a4d46)
4 years ago
Michele Calgaro 225d7c5ae0
Fixed building without tdehw and without HAL. This resolves bug 2495.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit cc51bb4eb4)
4 years ago
TDE Gitea 76363b1128 Reset submodule main/applications/k3b/cmake to latest HEAD 4 years ago
TDE Gitea dd2c1d4eb5 Reset submodule main/applications/k3b/admin to latest HEAD 4 years ago
TDE Gitea 2b066fef4c Reset submodule main/applications/k3b/cmake to latest HEAD 4 years ago
TDE Gitea 45b51d2292 Reset submodule main/applications/k3b/cmake to latest HEAD 4 years ago
TDE Gitea 96c08fbfa8 Reset submodule main/applications/k3b/admin to latest HEAD 4 years ago
Slávek Banko b3850b8a5c
Raise the minimum required version of CMake to 2.8.12.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit 78630455d8)
4 years ago
TDE Gitea b763421cdf Reset submodule main/applications/k3b/cmake to latest HEAD 4 years ago
Michele Calgaro 8592556605
Renaming of files in preparation for code style tools.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 3413da9f84)
4 years ago
TDE Gitea 3755413e83 Reset submodule main/applications/k3b/cmake to latest HEAD 4 years ago
TDE Gitea 1eec0173e5 Reset submodule main/applications/k3b/admin to latest HEAD 4 years ago
TDE Gitea 62c5c1ca02 Reset submodule main/applications/k3b/cmake to latest HEAD 4 years ago
TDE Gitea ef31032179 Reset submodule main/applications/k3b/admin to latest HEAD 4 years ago
Michele Calgaro 4fa9b84741
Removed code formatting modelines.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 4809123108)
4 years ago
TDE Gitea 6fde153c87 Reset submodule main/applications/k3b/cmake to latest HEAD 4 years ago
TDE Gitea ce80136783 Reset submodule main/applications/k3b/admin to latest HEAD 4 years ago
TDE Gitea 0c09f424f8 Reset submodule main/applications/k3b/cmake to latest HEAD 4 years ago
TDE Gitea dc83ae6dc2 Reset submodule main/applications/k3b/admin to latest HEAD 4 years ago
TDE Gitea 5023e343ac Reset submodule main/applications/k3b/cmake to latest HEAD 5 years ago
TDE Gitea cb5d965214 Reset submodule main/applications/k3b/cmake to latest HEAD 5 years ago
TDE Gitea 6ddf6bedf4 Reset submodule main/applications/k3b/cmake to latest HEAD 5 years ago
TDE Gitea 9f6138ba48 Reset submodule main/applications/k3b/admin to latest HEAD 5 years ago
TDE Gitea 5268f4d05c Reset submodule main/applications/k3b/cmake to latest HEAD 5 years ago
TDE Gitea 902b772869 Reset submodule main/applications/k3b/cmake to latest HEAD 5 years ago
TDE Gitea d5b6f3b294 Reset submodule main/applications/k3b/cmake to latest HEAD 5 years ago
TDE Gitea 7dde110dc5 Reset submodule main/applications/k3b/cmake to latest HEAD 5 years ago
TDE Gitea bfee0e6411 Reset submodule main/applications/k3b/admin to latest HEAD 5 years ago
Michele Calgaro 41b28deb8b
Improved support for bluray discs.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit ad2d32af87)
5 years ago
TDE Gitea c5c0c5e216 Reset submodule main/applications/k3b/cmake to latest HEAD 5 years ago
TDE Gitea aa06c531a2 Reset submodule main/applications/k3b/cmake to latest HEAD 5 years ago
TDE Gitea 6d473cea5d Reset submodule main/applications/k3b/cmake to latest HEAD 5 years ago
TDE Gitea f9fba1f0f6 Reset submodule main/applications/k3b/cmake to latest HEAD 5 years ago
TDE Gitea a698b608d1 Reset submodule main/applications/k3b/cmake to latest HEAD 5 years ago
TDE Gitea 83c89d0054 Reset submodule main/applications/k3b/cmake to latest HEAD 5 years ago
TDE Gitea 78d4183f1c Reset submodule main/applications/k3b/cmake to latest HEAD 5 years ago