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 765310 - player: Handle zoom/crop & forced aspect ratio
player: Handle zoom/crop & forced aspect ratio
Status: RESOLVED OBSOLETE
Product: GStreamer
Classification: Platform
Component: gst-plugins-bad
unspecified
Other Linux
: Normal enhancement
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
: 765413 765513 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2016-04-20 10:55 UTC by Sebastian Dröge (slomo)
Modified: 2018-11-03 13:49 UTC
See Also:
GNOME target: ---
GNOME version: ---



Comment 1 Sebastian Dröge (slomo) 2016-04-25 06:29:26 UTC
*** Bug 765513 has been marked as a duplicate of this bug. ***
Comment 2 Sebastian Dröge (slomo) 2016-04-25 06:34:10 UTC
See also https://bugzilla.gnome.org/show_bug.cgi?id=765513#c2

I think ideally this should be implemented inside playsink and GstPlayer just exposes the API for that in a meaningful way.
Comment 3 Sebastian Dröge (slomo) 2016-04-25 06:35:00 UTC
*** Bug 765413 has been marked as a duplicate of this bug. ***
Comment 4 DEEPAK SRIVASTAVA 2016-04-25 06:43:49 UTC
(In reply to Sebastian Dröge (slomo) from comment #2)
> See also https://bugzilla.gnome.org/show_bug.cgi?id=765513#c2
> 
> I think ideally this should be implemented inside playsink and GstPlayer
> just exposes the API for that in a meaningful way.

I just check the 1.8.0 code and I think element "playsink" already have "force-aspect-ratio" property. I am a bit confused as you said, "it should have inside playsink". So here is my understanding:

since playsink already have "force-aspect-ratio", we need to just
add getter/setter in GstPlayer element and handle playsink's property from
that function. Please suggest.
Comment 5 Sebastian Dröge (slomo) 2016-04-25 06:46:16 UTC
See my comment in the other bug. Just this boolean is pretty useless as you usually want a more high-level setting:

From an application point of view you want more than this boolean usually. You usually want to be able to override the aspect ratio, not have it completely loose. The common case is that you have a video that is recorded 4:3 but is actually 16:9 and then want to have this actual aspect ratio enforced by the player. Or even worse, you have that case but also have to crop/zoom in.
Take a look at how totem or VLC are handling this for example.
Comment 6 GStreamer system administrator 2018-11-03 13:49:08 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/issues/373.