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 784672 - *decodebin: make it possible to disable max-size-*
*decodebin: make it possible to disable max-size-*
Status: RESOLVED OBSOLETE
Product: GStreamer
Classification: Platform
Component: gst-plugins-base
unspecified
Other All
: Normal normal
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2017-07-07 20:48 UTC by Mathieu Duponchelle
Modified: 2018-11-03 11:57 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
*decodebin: make it possible to disable max-size-* (5.41 KB, patch)
2017-07-07 20:48 UTC, Mathieu Duponchelle
none Details | Review

Description Mathieu Duponchelle 2017-07-07 20:48:40 UTC
decodebin considers max-size-* == 0 means "automatic", and
previously didn't expose any value to mean "disable".

We now consider G_MAXUINT* to mean disable, and translate 0 to
G_MAXUINT* in uridecodebin, this in order not to break the API.

From the command-line, one can use -1.
Comment 1 Mathieu Duponchelle 2017-07-07 20:48:44 UTC
Created attachment 355123 [details] [review]
*decodebin: make it possible to disable max-size-*
Comment 2 Sebastian Dröge (slomo) 2017-07-10 07:13:50 UTC
What is the use case of this?
Comment 3 Mathieu Duponchelle 2017-08-01 16:06:38 UTC
(In reply to Sebastian Dröge (slomo) from comment #2)
> What is the use case of this?

Well same use case as multiqueue really, the user wants to control how buffering happens in the uridecodebin's multiqueue, and wants to diable say max-size-buffers and max-size-bytes so that only max-size-time is taken into account to determine fullness
Comment 4 Mathieu Duponchelle 2017-10-12 19:04:15 UTC
Sebastian ? :)
Comment 5 GStreamer system administrator 2018-11-03 11:57:38 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-base/issues/363.