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 674722 - [hlsdemux] Some bugfixes
[hlsdemux] Some bugfixes
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-bad
0.11.x
Other Linux
: Normal normal
: 0.11.x
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2012-04-24 14:00 UTC by Sebastian Dröge (slomo)
Modified: 2012-10-06 11:54 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Sebastian Dröge (slomo) 2012-04-24 14:00:40 UTC
http://cgit.collabora.com/git/user/kakaroto/gst-plugins-bad.git/log/

These unfortunately do not apply anymore after the refactoring done recently but at least some of them look still valid.
Comment 1 Sebastian Dröge (slomo) 2012-04-24 14:02:38 UTC
The refactoring is the one described in bug #657790
Comment 2 Youness Alaoui 2012-05-07 18:48:45 UTC
I've reset the master, the patches are now in their own branch :
http://cgit.collabora.com/git/user/kakaroto/gst-plugins-bad.git/log/?h=hlsdemux
Comment 3 Thibault Saunier 2012-05-08 17:42:34 UTC
I pushed a branch cherry-picking the commits that were still relevant here: http://cgit.collabora.com/git/user/tsaunier/gst-plugins-bad/log/?h=hlsfix

If someone wants to have a look, it would be great, else I guess I will just push it so it doesn't get lost once more.
Comment 4 Sebastian Dröge (slomo) 2012-05-09 09:03:33 UTC
Looks good to me :)
1b98dca926c10e6ae1d2317af11e8a3380a546be has some wrong stuff at the end of the commit message 
5d702038ace9155ed3bfe78d082b76e015b6a0a7 in this context it might make sense to add a connection-speed property to hlsdemux, similar to the network source (e.g. mmssrc) and proxy this from uridecodebin to decodebin2 to the elements.
Comment 5 Thibault Saunier 2012-05-10 14:20:43 UTC
I added the connection-speed property into hlsdemux at: http://cgit.collabora.com/git/user/tsaunier/gst-plugins-bad/log/?h=hlsfix

And I pushed a fix in decodebin2/uridecodebin to handle that properly: http://cgit.collabora.com/git/user/tsaunier/gst-plugins-base/commit/?id=81730a78e91200adbeaffedb543ddd37695e6d9d
Comment 6 Sebastian Dröge (slomo) 2012-05-10 14:27:47 UTC
(In reply to comment #5)
> I added the connection-speed property into hlsdemux at:
> http://cgit.collabora.com/git/user/tsaunier/gst-plugins-bad/log/?h=hlsfix
> 
> And I pushed a fix in decodebin2/uridecodebin to handle that properly:
> http://cgit.collabora.com/git/user/tsaunier/gst-plugins-base/commit/?id=81730a78e91200adbeaffedb543ddd37695e6d9d

Looks good but please also check the property type (if it's int or uint). I think we have a helper function for that somewhere. Why all the * 1000 and / 1000 btw?
Comment 7 Sebastian Dröge (slomo) 2012-05-10 14:28:02 UTC
And when pushing that to fd.o, please also merge into master :)
Comment 8 Thibault Saunier 2012-05-10 22:54:07 UTC
commit c503b352e7a525eba3f746e69781492f49dedb4f
Author: Thibault Saunier <thibault.saunier@collabora.com>
Date:   Thu May 10 10:11:18 2012 -0400

    hlsdemux: Add a connection-speed property

.... to:


commit 758585122338f42089bf28178bb2ce8ce1aad370
Author: Youness Alaoui <youness.alaoui@collabora.co.uk>
Date:   Thu Sep 15 20:47:54 2011 -0400

    hlsdemux: Fallback to previous playlist when switching if the new playlist can't be fetched