After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 719789 - mfcdec: should use video alignment
mfcdec: should use video alignment
Status: RESOLVED OBSOLETE
Product: GStreamer
Classification: Platform
Component: gst-plugins-bad
git master
Other Linux
: Normal enhancement
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2013-12-03 17:30 UTC by Julien Isorce
Modified: 2014-10-31 07:44 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
mfcdec: add support for GstVideoAlignment (1.93 KB, patch)
2013-12-03 17:30 UTC, Julien Isorce
needs-work Details | Review

Description Julien Isorce 2013-12-03 17:30:29 UTC
Created attachment 263408 [details] [review]
mfcdec: add support for GstVideoAlignment

Currently the decoder changes the negotiate caps by setting the padded width and height into the config of the buffer pool.

Instead it should set the config with the right video alignment and add the associated option.

Note sure to do that the right way in the following patch so let me know :)
Comment 1 Nicolas Dufresne (ndufresne) 2013-12-03 20:22:30 UTC
Review of attachment 263408 [details] [review]:

Though I'm not fully convince we should merge this, as we'll probably remove that element when v4l2videodec is ready

::: sys/mfc/gstmfcdec.c
@@ +1017,3 @@
+    align.padding_top = self->crop_top;
+    align.padding_right = self->width - self->crop_width;
+    align.padding_bottom = self->height - self->crop_height;

Leaving random value inside the stride[] array is not very nice
Comment 2 Víctor Manuel Jáquez Leal 2013-12-03 22:51:11 UTC
(In reply to comment #1)
> Review of attachment 263408 [details] [review]:
> 
> Though I'm not fully convince we should merge this, as we'll probably remove
> that element when v4l2videodec is ready

I'm curious, where does this v4l2videodec live?

here??? http://cgit.collabora.com/git/user/nicolas/gst-plugins-good.git/log/?h=v4l2videodec
Comment 3 Nicolas Dufresne (ndufresne) 2013-12-04 01:38:24 UTC
(In reply to comment #2)
> I'm curious, where does this v4l2videodec live?
> 
> here???
> http://cgit.collabora.com/git/user/nicolas/gst-plugins-good.git/log/?h=v4l2videodec

Yes, but there is nothing to review for now, this is just a random snapshot of my daily work. Will have it's own bug when it's time.
Comment 4 Julien Isorce 2014-10-31 07:44:13 UTC
mfcdec has been removed from gst-plugins-bad since integration of v4l2videodec in gst-plugins-good.