GNOME Bugzilla – Bug 770408
dashdemux: Add properties to select maximum allowed width/height and framerate
Last modified: 2016-08-26 15:14:21 UTC
See commit
Created attachment 334163 [details] [review] dashdemux: Add properties to select maximum allowed width/height and framerate
That's been requested a few times, also for HLS though.
You think it would be better to move all these properties to the base class? IMHO it feels more like a concern for the subclass as not every format might have these possibilities.
Right, there's no way for the base class to make that decision currently anyway, is there? So let's get that in and then clone this bug for hlsdemux (where it might be trickier because we can't be guaranteed the info is available in the playlist I think, but we should at least exclude streams if it is available). API looks fine. Only alternative API I can think of is a) some kind of restriction caps where we ignore the media type, and just intersect/subset-check the width/height/framerate fields, and b) some signal/callback based API. I think this is best though. Easy and discoverable. KISS.
commit 4734b10c6f7ed83cbd6be5f3b3c16aab8ca2b49b Author: Sebastian Dröge <sebastian@centricular.com> Date: Thu Aug 25 20:50:11 2016 +0300 dashdemux: Add properties to select maximum allowed width/height and framerate https://bugzilla.gnome.org/show_bug.cgi?id=770408