GNOME Bugzilla – Bug 600729
[playbin2] Expose temporary file when using download buffering
Last modified: 2009-11-20 18:14:31 UTC
When buffering files to disk using queue2, playbin2 should expose the temporary filename for the front-end to allow saving.
With a deep notify, you can get a property update on temp-location from queue2. Is that enough or do you want it proxied to playbin2? maybe proxying a property would be nicer.
(In reply to comment #1) > With a deep notify, you can get a property update on temp-location from queue2. > Is that enough or do you want it proxied to playbin2? maybe proxying a property > would be nicer. Either way is fine, as long as I don't manually have to find queue2 inside the bin to get its property.
If the queue2 has a defined name (e.g. buffer), one can use gst_child_proxy_get(playbin,"buffer::temp-location",&file_name,NULL);
Using deep-notify::temp-location works just fine. I hold onto the location until the file has finished downloading, then I can tell the front-end its location if it wants to implement copying it/saving it to a different location.