Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package freerdp for openSUSE:Factory checked in at 2023-05-08 17:23:52 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/freerdp (Old) and /work/SRC/openSUSE:Factory/.freerdp.new.1533 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "freerdp" Mon May 8 17:23:52 2023 rev:65 rq:1083951 version:2.10.0 Changes: -------- --- /work/SRC/openSUSE:Factory/freerdp/freerdp.changes 2023-03-04 22:42:24.187517741 +0100 +++ /work/SRC/openSUSE:Factory/.freerdp.new.1533/freerdp.changes 2023-05-08 17:23:54.620562703 +0200 @@ -1,0 +2,6 @@ +Mon Apr 24 17:53:55 UTC 2023 - Bjørn Lie <bjorn....@gmail.com> + +- Add Update_h264_to_use_new_FFMPEG_API.patch: Update h264 to use + new FFMPEG API. + +------------------------------------------------------------------- New: ---- Update_h264_to_use_new_FFMPEG_API.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ freerdp.spec ++++++ --- /var/tmp/diff_new_pack.Z9uNfc/_old 2023-05-08 17:23:55.620568615 +0200 +++ /var/tmp/diff_new_pack.Z9uNfc/_new 2023-05-08 17:23:55.624568639 +0200 @@ -49,6 +49,8 @@ Source1: freerdp-rpmlintrc # PATCH-FIX-UPSTREAM https://github.com/FreeRDP/FreeRDP/pull/7476 Patch0: 0001-Make-H.264-codec-optional-during-runtime.patch +# PATCH-FIX-UPSTREAM https://github.com/FreeRDP/FreeRDP/commit/c5d91f8ef584174310970d0f7e31d6ffad7c5246.patch +Patch1: Update_h264_to_use_new_FFMPEG_API.patch BuildRequires: chrpath BuildRequires: cmake >= 2.8 BuildRequires: cups-devel ++++++ Update_h264_to_use_new_FFMPEG_API.patch ++++++ >From c5d91f8ef584174310970d0f7e31d6ffad7c5246 Mon Sep 17 00:00:00 2001 From: akallabeth <akallab...@posteo.net> Date: Tue, 14 Feb 2023 07:48:54 +0100 Subject: [PATCH] Fixed #8686: Update h264 to use new FFMPEG API --- channels/tsmf/client/ffmpeg/tsmf_ffmpeg.c | 2 ++ libfreerdp/codec/h264_ffmpeg.c | 2 ++ 2 files changed, 4 insertions(+) diff --git a/channels/tsmf/client/ffmpeg/tsmf_ffmpeg.c b/channels/tsmf/client/ffmpeg/tsmf_ffmpeg.c index c14877b43ac..21533746438 100644 --- a/channels/tsmf/client/ffmpeg/tsmf_ffmpeg.c +++ b/channels/tsmf/client/ffmpeg/tsmf_ffmpeg.c @@ -235,8 +235,10 @@ static BOOL tsmf_ffmpeg_init_stream(ITSMFDecoder* decoder, const TS_AM_MEDIA_TYP } } +#if LIBAVCODEC_VERSION_INT < AV_VERSION_INT(59, 18, 100) if (mdecoder->codec->capabilities & AV_CODEC_CAP_TRUNCATED) mdecoder->codec_context->flags |= AV_CODEC_FLAG_TRUNCATED; +#endif return TRUE; } diff --git a/libfreerdp/codec/h264_ffmpeg.c b/libfreerdp/codec/h264_ffmpeg.c index 4e3ba8f9282..9c445b8253a 100644 --- a/libfreerdp/codec/h264_ffmpeg.c +++ b/libfreerdp/codec/h264_ffmpeg.c @@ -529,10 +529,12 @@ static BOOL libavcodec_init(H264_CONTEXT* h264) goto EXCEPTION; } +#if LIBAVCODEC_VERSION_INT < AV_VERSION_INT(59, 18, 100) if (sys->codecDecoder->capabilities & AV_CODEC_CAP_TRUNCATED) { sys->codecDecoderContext->flags |= AV_CODEC_FLAG_TRUNCATED; } +#endif #ifdef WITH_VAAPI