GNOME Bugzilla – Bug 777395
vaapipostproc src pad caps invalid (interlace-mode, pixel-aspect-ratio)
Last modified: 2017-01-23 18:52:26 UTC
When using vaapipostproc in a pipeline the src pad caps of vaapipostproc are invalid: If the stream is not progressive and deinterlacing in vaapipostproc is disabled, the interlace-mode in the src pad caps is "progressive". The pixel-aspect-ratio of the src pad caps is always 1/1.
(In reply to frank.huber from comment #0) > When using vaapipostproc in a pipeline the src pad caps of vaapipostproc are > invalid: > > If the stream is not progressive and deinterlacing in vaapipostproc is > disabled, the interlace-mode in the src pad caps is "progressive". Yeah. I never validated this use-case. Thanks. > > The pixel-aspect-ratio of the src pad caps is always 1/1. That's strange. I remember I set that according the input GstVideInfo. Let me check it.
Created attachment 343915 [details] [review] vaapipostproc: set interlace mode if the vaapipostproc is configured to not do deinterlacing, the interlace-mode in the src caps should be the same as the input caps.
Created attachment 343916 [details] [review] vaapipostproc: use sink caps par if not requested Use the sink caps pixel-aspect-ratio to fixate the src caps, if it is not already set.
Attachment 343915 [details] pushed as d8abbd7 - vaapipostproc: set interlace mode Attachment 343916 [details] pushed as 26fa4df - vaapipostproc: use sink caps par if not requested
commit a9330dcb8094acce440fc4918688fa51afc663a1 Author: Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com> Date: Fri Jan 20 19:57:52 2017 +0100 vaapipostproc: use sink caps par if not requested Use the sink caps pixel-aspect-ratio to fixate the src caps, if it is not already set. https://bugzilla.gnome.org/show_bug.cgi?id=777395 commit 653bab8f1d69c4ef646ee0d1d27e0ffe70c5521e Author: Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com> Date: Fri Jan 20 19:00:24 2017 +0100 vaapipostproc: set interlace mode if the vaapipostproc is configured to not do deinterlacing, the interlace-mode in the src caps should be the same as the input caps. https://bugzilla.gnome.org/show_bug.cgi?id=777395