Bug 458619

Summary: CA_PROP_MEDIA_FILENAME doesn't work
Product: [Fedora] Fedora Reporter: Matthias Clasen <mclasen>
Component: libcanberraAssignee: Lennart Poettering <lpoetter>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhide   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-08-24 00:43:54 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Matthias Clasen 2008-08-11 03:39:27 UTC
Bastien added code to play sounds as preview in the file chooser, using CA_PROP_MEDIA_FILENAME, but it doesn't work. Looking at the libcanberra
code, ca_lookup_sound handles it fine, but we never get that far since
ca_context_play_full returns an error with

    ca_return_val_if_fail_unlock(ca_proplist_contains(p, CA_PROP_EVENT_ID) ||
                                 ca_proplist_contains(c->props, CA_PROP_EVENT_ID), CA_ERROR_INVALID, c->mutex);

Comment 1 Lennart Poettering 2008-08-17 15:49:25 UTC
This is fixed in Rawhide, theoretically at least, since I am unable to build it, since koji is down.

Comment 2 Matthias Clasen 2008-08-24 00:43:54 UTC
Fixed in rawhide, sound preview works now.