[FFmpeg-devel] [PATCH] avdev: Add SDL2 output device
Clément Bœsch
u at pkh.me
Sun Sep 11 21:34:46 EEST 2016
On Sun, Sep 11, 2016 at 07:05:38PM +0100, Josh de Kock wrote:
> On 11/09/2016 19:04, Clément Bœsch wrote:
> > On Sun, Sep 11, 2016 at 08:02:12PM +0200, Michael Niedermayer wrote:
> > > On Sun, Sep 11, 2016 at 04:38:12PM +0100, Josh de Kock wrote:
> > > > This actually seems to work now, it didn't in the past, so maybe SDL2
> > > > was patched or something changed in FFmpeg.
> > > >
> > > > I will make an avfilter of this as well as the outdev.
> > > >
> > > > Signed-off-by: Josh de Kock <josh at itanimul.li>
> > > > ---
> > > > configure | 24 ++-
> > > > libavdevice/Makefile | 1 +
> > > > libavdevice/alldevices.c | 1 +
> > > > libavdevice/sdl2.c | 373 +++++++++++++++++++++++++++++++++++++++++++++++
> > > > 4 files changed, 398 insertions(+), 1 deletion(-)
> > > > create mode 100644 libavdevice/sdl2.c
> > >
> > > very nice!
> > >
> > > Acked-by: Michael
> > >
> >
> > Note that it disables ffplay by default; so I'd better wait for a
> > consensus with that regard before
> >
> I will convert ffplay to sdl2, and then resubmit the patchset (probably
> later this week).
You can also just disable sdl2 by default until every code relying on sdl1
has a sdl2 alternative so this can be applied earlier.
--
Clément B.
More information about the ffmpeg-devel
mailing list