<html><head></head><body>Buy you still need an object to attach to, for logging and settings. You can't just pass NULL<br><br><div class="gmail_quote">Le 25 octobre 2019 15:44:22 GMT+03:00, Steve Lhomme <robux4@ycbcr.xyz> a écrit :<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<pre class="k9mail">On 2019-10-25 14:37, Steve Lhomme wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #729fcf; padding-left: 1ex;">On 2019-10-25 14:33, Rémi Denis-Courmont wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #ad7fa8; padding-left: 1ex;">Don't remove the used qualifier.<br></blockquote>OK<br><br><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #ad7fa8; padding-left: 1ex;">And this won't work anyway because sout does not have, and should not <br>need a window. This needs a different function.<br></blockquote>It works fine with QSV is my work branch (hardware decoding, hardware <br>encoding, sharing the same decoder device).<br></blockquote><br>NVDEC, D3D11 and D3D9 don't use the window in their decoder device. So <br>the hardware acceleration can be used without a window.<br><br>VAAPI and VDPAU seem to need a window. I think with VAAPI there might be <br>ways around this as QSV might be usable without a window at all.<br><br><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #729fcf; padding-left: 1ex;">The no-window comment is also mentioned in the next patch.<br><br><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #ad7fa8; padding-left: 1ex;"> Le 25 octobre 2019 15:31:06 GMT+03:00, Steve Lhomme <robux4@ycbcr.xyz> <br> a écrit :<br><br> Like the transcoder or the mosaic bridge.<hr> include/vlc_codec.h | 2 +-<br> src/libvlccore.sym | 1 +<br> 2 files changed, 2 insertions(+), 1 deletion(-)<br><br> diff --git a/include/vlc_codec.h b/include/vlc_codec.h<br> index 6649ef94cc2..c51d4eba1a7 100644<br> --- a/include/vlc_codec.h<br> +++ b/include/vlc_codec.h<br> @@ -604,7 +604,7 @@ typedef int <br> (*vlc_decoder_device_Open)(vlc_decoder_device *device,<br> * This function will be hidden in the future. It is now used by <br> opengl vout<br> * module as a transition.<br> */<br> -VLC_USED vlc_decoder_device *<br> +VLC_API vlc_decoder_device *<br> vlc_decoder_device_Create(vout_window_t *window);<br> /**<br> diff --git a/src/libvlccore.sym b/src/libvlccore.sym<br> index d1a048be988..ce18e3ad6b6 100644<br> --- a/src/libvlccore.sym<br> +++ b/src/libvlccore.sym<br> @@ -83,6 +83,7 @@ decoder_AbortPictures<br> decoder_NewAudioBuffer<br> decoder_UpdateVideoFormat<br> decoder_UpdateVideoOutput<br> +vlc_decoder_device_Create<br> vlc_decoder_device_Hold<br> vlc_decoder_device_Release<br> demux_PacketizerDestroy<br><br><br> -- <br> Envoyé de mon appareil Android avec Courriel K-9 Mail. Veuillez <br> excuser ma brièveté.<hr> vlc-devel mailing list<br> To unsubscribe or modify your subscription options:<br> <a href="https://mailman.videolan.org/listinfo/vlc-devel">https://mailman.videolan.org/listinfo/vlc-devel</a><br><br></blockquote><hr>vlc-devel mailing list<br>To unsubscribe or modify your subscription options:<br><a href="https://mailman.videolan.org/listinfo/vlc-devel">https://mailman.videolan.org/listinfo/vlc-devel</a><br></blockquote><hr>vlc-devel mailing list<br>To unsubscribe or modify your subscription options:<br><a href="https://mailman.videolan.org/listinfo/vlc-devel">https://mailman.videolan.org/listinfo/vlc-devel</a></pre></blockquote></div><br>-- <br>Envoyé de mon appareil Android avec Courriel K-9 Mail. Veuillez excuser ma brièveté.</body></html>