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 734983 - fbdevsink: make it work with autovideosink
fbdevsink: make it work with autovideosink
Status: RESOLVED WONTFIX
Product: GStreamer
Classification: Platform
Component: gst-plugins-bad
git master
Other Linux
: Normal minor
: NONE
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2014-08-18 06:48 UTC by Matthieu Crapet
Modified: 2016-01-07 18:06 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Patch v1 (837 bytes, patch)
2014-08-18 06:48 UTC, Matthieu Crapet
none Details | Review

Description Matthieu Crapet 2014-08-18 06:48:08 UTC
Raise GstRank to make it an eligible autovideosink candidate.

Testing is easy using:
$ GST_DEBUG='playbin:6' gst-launch playbin uri=file:///path/file.mp4
Comment 1 Matthieu Crapet 2014-08-18 06:48:51 UTC
Created attachment 283716 [details] [review]
Patch v1
Comment 2 Nicolas Dufresne (ndufresne) 2014-10-19 08:15:27 UTC
If you want this, you need to guaranty it will perfectly cooperate with the other automatic videosink (xvimagesink, glimagesink). That basically mean, the element should cleanly fail in conditions where it cannot be used (e.g. no FB device node permission, when running in X an device is already in use).

Personnally, I think FB dev for it's nature, and because it's not bound to a window system, might not be an ideal fit for autovideosink support, but if you can prove it cooperate well, then I guess there would be nothing about this change. My other cons for this is that FB devices are being deprecated at kernel level.
Comment 3 Matthieu Crapet 2014-10-20 13:32:54 UTC
I known that this is quite obsolete, but it's still used on low cost hardware.
However I quite agree than fbdev isn't mature enough for GST_RANK_MARGINAL.

Could you do a short list of lacks? I could suggest patches for you to review.

How about adding support for GstVideoCropMeta, would you be agree?
Comment 4 Nicolas Dufresne (ndufresne) 2014-10-20 14:24:24 UTC
My comment was not as much about code quality or features (I must say I have no idea), but mostly about the concept. So far autovideosource seems to only use sink that do actually sit on top of a windowing system and implements GstVideoOverlay.
Comment 5 Matthieu Crapet 2014-10-20 14:52:12 UTC
I'm testing using 1.2.x, autovideosource relies only on RANK: so fbdevsink, dfbvideosink (which does not implement GstVideoOverlayInterface) are selected.

Now, I fully understand your choice.

This would have been a good sandbox for me. Anyway, you can close this issue. Thanks for your time.
Comment 6 Tim-Philipp Müller 2016-01-07 18:06:19 UTC
Thanks, closing as per comment #5.