[FFmpeg-devel] [PATCH 3/3] lavd: add opengl device

Timothy Gu timothygu99 at gmail.com
Mon Jan 13 02:41:28 CET 2014


On Jan 12, 2014 4:42 PM, "Lukasz Marek" <lukasz.m.luki at gmail.com> wrote:
>
> It can render to OpenGL context provided by application or into SDL window
>
> Signed-off-by: Lukasz Marek <lukasz.m.luki at gmail.com>
> ---
>  Changelog                        |    1 +
>  configure                        |    9 +
>  doc/outdevs.texi                 |   31 ++
>  libavdevice/Makefile             |    1 +
>  libavdevice/alldevices.c         |    1 +
>  libavdevice/opengl_enc.c         | 1060
++++++++++++++++++++++++++++++++++++++
>  libavdevice/opengl_enc_shaders.h |  158 ++++++
>  libavdevice/version.h            |    4 +-
>  8 files changed, 1263 insertions(+), 2 deletions(-)
>  create mode 100644 libavdevice/opengl_enc.c
>  create mode 100644 libavdevice/opengl_enc_shaders.h

There are return -1;'s everywhere. Try use a specific AVERROR.

[...]

Timothy


More information about the ffmpeg-devel mailing list