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 577637 - [playbin2] expose temp-location property
[playbin2] expose temp-location property
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-base
0.10.x
Other Linux
: Normal blocker
: 0.10.24
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2009-04-01 19:05 UTC by Bastien Nocera
Modified: 2009-07-13 13:52 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Bastien Nocera 2009-04-01 19:05:16 UTC
The properties from queue2 should be exposed in playbin2, so that applications can set a temporary location for the file.
Comment 1 Bastien Nocera 2009-04-01 19:05:52 UTC
Setting as a blocker as per Edward's request.
Comment 2 Edward Hervey 2009-04-01 19:13:13 UTC
In fact I was wrong in the explanation, there's only one property that needs exposing : temp-location ("Location of a temporary file to store data in").

That temporary location will disappear once queue2 (through playbin2) is set back to READY.
Comment 3 Wim Taymans 2009-04-14 08:39:20 UTC
Do you want to do this right now? it does not work quite right yet in all cases. 
Comment 4 Jan Schmidt 2009-04-17 08:04:54 UTC
Even if the implementation is a little buggy, it might be worth exposing the API already - as long as you think it's the right API. Unless the behaviour is *completely* broken and unusable, then I'd hold off.
Comment 5 Wim Taymans 2009-07-13 13:52:31 UTC
As discussed in GCDS, I've add a flag to playbin2 to enable the progressive download feature.

uridecodebin will then only enable progressive download for video/quicktime and video/x-flv media type. uridecodebin will also allocate the temp name template based on g_get_tmp_dir and the application name.

Using the deep-notify one can get a handle to the allocated filename and do something with it. When playbin2 is set to READY, the file is automatically deleted.