GNOME Bugzilla – Bug 633011
Add ability to handle (jpeg) Images to GstPlaybin
Last modified: 2011-10-16 14:07:47 UTC
Using rygel-0.8.1 and rygel-0.8.2 with gst-plugins-good-1.0.25, the rygel media renderer will not display jpeg images.
As of rygel-10.1, gupnp-av-cp will still not display jpeg images...
> As of rygel-10.1, gupnp-av-cp will still not display jpeg images... Yup, this enhancement was never implemented. :(
one problem is that souphttpsrc is hard-coded to request Streaming transfer mode: + soup_message_headers_append (src->msg->request_headers, + "transferMode.dlna.org", "Streaming"); This is not supported for images.
Created attachment 197364 [details] [review] playbin: Add support for image/jpeg and image/png
Review of attachment 197364 [details] [review]: The changes to HTTPGet are obviously a work-around of a gst's souphttpsrc issue. Please correct that one there!
Review of attachment 197364 [details] [review]: Otherwise, it works pretty nicely!
(In reply to comment #5) > Review of attachment 197364 [details] [review]: > > The changes to HTTPGet are obviously a work-around of a gst's souphttpsrc > issue. Please correct that one there! Whoops, yes. Those I added for testing.
Created attachment 197445 [details] [review] playbin: Add support for image/jpeg and image/png Use the typefind element of Playbin2 to determine if we're rendering an image since UPnP allows the meta-data to be empty and it may not be possible to guess the type from the URI.
Removed the workaround code and also factored the type check into a method.
The following fixes have been pushed:
Never mind my last comment but its pushed now.