[vlc-devel] [PATCH v4 5/7] libvlc: don't force "dec-dev" with libvlc_media_player_set_xwindow()

Rémi Denis-Courmont remi at remlab.net
Mon Mar 16 17:40:07 CET 2020


Le maanantaina 16. maaliskuuta 2020, 12.14.22 EET Steve Lhomme a écrit :
> On 2020-03-16 11:01, Rémi Denis-Courmont wrote:
> > Le maanantaina 16. maaliskuuta 2020, 10.48.13 EET Steve Lhomme a écrit :
> >> On 2020-03-13 16:46, Rémi Denis-Courmont wrote:
> >>> Le perjantaina 13. maaliskuuta 2020, 14.28.36 EET Steve Lhomme a écrit :
> >>>> It should use the default value or the one set with
> >>>> libvlc_video_set_hw_acceleration().
> >>> 
> >>> "" *is* the default value.
> >> 
> >> If that's the case the current code would be a no-op. But it's not. If
> >> you set the --dec-dev in the libvlc command-line, using set_xwindow()
> >> resets that value, for no particular reason.
> > 
> > Actually, it resets that value for very particular reasons - re-enabling
> > the X11 accelerations that vmem disabled.

> It should be removed as well.

No.

> There's no reason why it would benefit
> from hardware decoding. It's still possible to disable it with the
> proposed API in this patchset.

Hell no. We are adding a secret handshake to make things work.

Besides, I don't think this API should even exist.

-- 
レミ・デニ-クールモン
http://www.remlab.net/





More information about the vlc-devel mailing list