vaapih264dec had two srcpad

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

vaapih264dec had two srcpad

Stephenwei
Hi all, A simple common line as below: gst-launch-1.0 filesrc location=demo0.mkv ! matroskademux ! vaapih264dec ! videoconvert ! ximagesink And get the twice src pad Get content from element 'vaapidecode_h264-0': gst.gl.GLDisplay=context, gst.gl.GLDisplay=(GstGLDisplay)"\(GstGLDisplayX11\)\ gldisplayx11-0"; Get content from element 'vaapidecode_h264-0': gst.vaapi.Display=context, gst.vaapi.Display=(GstVaapiDisplay)"\(GstVaapiDisplayGLX\)\ vaapidisplayglx1"; It is a problem because if I create a pipeline and destroy it, the process would remain "gldisplay-event". First play demo0 and demo1 mkv file as well as stop pipeline and re-play again. Have any suggestion? Thanks, Stephen

Sent from the GStreamer-devel mailing list archive at Nabble.com.

_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: vaapih264dec had two srcpad

Victor Jaquez
On Tue, 22 May 2018 at 01:42, Stephenwei wrote:

> Hi all,A simple common line  as below:gst-launch-1.0 filesrc
> location=demo0.mkv ! matroskademux ! vaapih264dec ! videoconvert !
> ximagesinkAnd get the twice src padGet content from element
> 'vaapidecode_h264-0': gst.gl.GLDisplay=context,
> gst.gl.GLDisplay=(GstGLDisplay)"\(GstGLDisplayX11\)\ gldisplayx11-0";Get
> content from element 'vaapidecode_h264-0': gst.vaapi.Display=context,
> gst.vaapi.Display=(GstVaapiDisplay)"\(GstVaapiDisplayGLX\)\
> vaapidisplayglx1";It is a problem because if I create a pipeline and destroy
> it, the process would remain "gldisplay-event".First play demo0 and demo1
> mkv file as well as stop pipeline and re-play again.
> <http://gstreamer-devel.966125.n4.nabble.com/file/t377803/1.png>
> <http://gstreamer-devel.966125.n4.nabble.com/file/t377803/2.png> Have any
> suggestion?Thanks,Stephen

How do you destroy the pipeline? do you set to NULL?

vmjl
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel