Commit Graph

13 Commits

Author SHA1 Message Date
Armin Novak
2c31c36759 Fixed FFMPEG detection without pkgconfig 2021-07-22 15:11:15 +02:00
Mark Karpeles
bf94b03f24 fix FindFFmpeg.cmake: locating avcodec not using pkgconfig variable 2020-02-28 09:49:28 +01:00
Armin Novak
fbe95209e7 Readded AVRESAMPLE support as fallback. 2018-10-04 09:16:34 +02:00
Vladimir Lomov
41cc2b63cb Move from libavresample to libswresample
- The libavresample as part of FFmpeg was declared as deprecated in
    favor of libswresample on Dec 25 2017 in commit "lavr: deprecate the
    entire library"
    (c29038f304
    ;
    c29038f304).
    As major Linux distributions (RPM, DEB and Archlinux) provide now
    FFmpeg and libswresample as its part use the libswresample instead of
    libavresample.

Signed-off-by: Vladimir Lomov <vladimir@smoon7.vl-lomov.ru>
2018-10-04 08:35:04 +02:00
Armin Novak
f89c1857b9 Rewrite of sound and microphone channels
The sound and microphone redirection channels (and in part TSMF)
did not properly decouple encoding/decoding from the backends used
to play/record sound.
Encapsulating encoding/decoding in rewritten freerdp_dsp_* functions
with variable backends, simplifying alsa/oss/pulse/... audio backends.
2018-04-05 13:14:16 +02:00
Bernhard Miklautz
e004f45968 build: check libavcodec api version
If pkg-config is available libavcodec api version is checked and
cmake fails if the required version isn't available.

In case pkg-config isn't available a notification message with the
required version is printed.

This fixes/prevents #740.
2012-12-16 22:38:09 -05:00
Marc-André Moreau
e62860ab29 cmake: replace FindOptionalPackage macros with FindFeature macros 2012-11-02 19:27:01 -04:00
Alam Arias
28629aaed0 Revert "build: check libavcodec api version"
This reverts commit 06720e2a8d.
2012-10-04 15:00:12 -04:00
Bernhard Miklautz
06720e2a8d build: check libavcodec api version
If pkg-config is available libavcodec api version is checked and
cmake fails if the required version isn't available.

In case pkg-config isn't available a notification message with the
required version is printed.

This fixes/prevents #740.
2012-09-26 15:45:30 +02:00
Mike Gilbert
13c5e150fd cmake: Fix ffmpeg detection code
ffmpeg headers are supposed to be referenced as libavcodec/avcodec.h.
Therefore, we actually need to find the path to the libavcodec directory, not
avcodec.h.
2012-02-29 00:30:03 -05:00
Bernhard Miklautz
7af5599113 build: raise an error if pkg is not found
Changed FFmpeg, PCSC and PulseAudio cmake find to raise an error if
an required package was not found.
2012-01-27 02:13:08 +01:00
Martin Fleisz
e7e9b1a7a2 cmake: added libavutil to required libraries for ffmpeg (fixes unresolved symbol _av_free error) 2011-11-14 07:00:09 -08:00
Vic Lee
ebaf94d6d6 tsmf: add ffmpeg, alsa and pulse sub-plugins. 2011-09-20 14:27:10 +08:00