Commit Graph

20 Commits (f0475ecbe7d94e5d090545afdd43d10d8a9eb505)

Author SHA1 Message Date
aneejit1 bd83eb0951 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 the close method of k9avidecode.cpp to the
  version of libavformat in which codecpar appeared rather than when
  avcodec_free_context appeared.
- avcodec_decode_video2 was deprecated in libavcodec 57.106.100, not
  57.12.100, so the version has been corrected.

Signed-off-by: aneejit1 <aneejit1@gmail.com>
3 years ago
aneejit1 e71518b16c 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>
3 years ago
Slávek Banko ac177cd732 Fix build with ffmpeg3
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
9 years ago
Slávek Banko 24e31dabaa Build av_free_packet_internal always, regardless av_free_packet
This resolves FTBFS if av_free_packet exists
11 years ago
Slávek Banko 2897194bc2 Fix FTBFS from commit 0e824732 11 years ago
Timothy Pearson 0e824732db Fix another crash casued by old av_packet_free routine 11 years ago
Timothy Pearson effa31d902 Fix crash when img_convert unavailable 11 years ago
Francois Andriot bf5593262e Fix crash when authoring DVD and selecting video file 11 years ago
Timothy Pearson fd426b2aeb Rename additional header files to avoid conflicts with KDE4 12 years ago
Slávek Banko 86848f246d Fix build failures against ffmpeg up to version 0.11 13 years ago
Timothy Pearson 1e42ec2932 Remove additional unneeded tq method conversions 13 years ago
Timothy Pearson a372f822fe Revert "Rename a number of old tq methods that are no longer tq specific"
This reverts commit b8a4f26c42.
13 years ago
Timothy Pearson b8a4f26c42 Rename a number of old tq methods that are no longer tq specific 13 years ago
tpearson 3ead46f833 Fix k9copy FTBFS under older revisions of libavcodec
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/k9copy@1247897 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
14 years ago
tpearson 5660db4e68 rename the following methods:
tqparent parent
tqmask mask


git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/k9copy@1246260 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
14 years ago
tpearson 68db2ce8a8 Use AVMEDIA_TYPE_VIDEO instead of deprecated CODEC_TYPE_VIDEO
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/k9copy@1244326 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
14 years ago
tpearson b0e912c8b3 TQt4 convert k9copy
This enables compilation under both Qt3 and Qt4


git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/k9copy@1233843 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
14 years ago
tpearson 991863ab5e Autodetect av_free_packet presence and compensate if not present
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/k9copy@1172237 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
15 years ago
tpearson 32cb73195f Fix FTBFS on Maverick
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/k9copy@1172018 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
15 years ago
tpearson 0d382a262c Added old abandoned version of k9copy
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/k9copy@1091546 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
15 years ago