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 767365 - adaptivedemux: Add custom flow return for allowing subclasses to specify when a fragment is finished
adaptivedemux: Add custom flow return for allowing subclasses to specify when...
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-bad
unspecified
Other All
: Normal enhancement
: 1.9.1
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2016-06-07 16:27 UTC by Sebastian Dröge (slomo)
Modified: 2016-07-01 12:13 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
adaptivedemux: Add custom flow return for allowing subclasses to specify when a fragment is finished (3.02 KB, patch)
2016-06-07 16:27 UTC, Sebastian Dröge (slomo)
committed Details | Review

Description Sebastian Dröge (slomo) 2016-06-07 16:27:19 UTC
This allows subclasses to decide when a fragment is actually finished instead
of having the download continuing. Returning GST_FLOW_EOS would trigger the
EOS logic, so we need a separate flow return that only marks this fragment as
finished and shuts down the HTTP source.
Comment 1 Sebastian Dröge (slomo) 2016-06-07 16:27:23 UTC
Created attachment 329310 [details] [review]
adaptivedemux: Add custom flow return for allowing subclasses to specify when a fragment is finished

If it is finished before upstream going EOS.
Comment 2 Sebastian Dröge (slomo) 2016-07-01 12:12:09 UTC
Attachment 329310 [details] pushed as 43a2ee8 - adaptivedemux: Add custom flow return for allowing subclasses to specify when a fragment is finished