GNOME Bugzilla – Bug 706928
[New feature] Adding support for clearTextsize attribute in res element
Last modified: 2019-02-22 05:57:57 UTC
Created attachment 253308 [details] [review] Support for adding clearTextsize attribute for link protected content. clearTextSize attribute must be added if the content is dtcp link protected along with a dlna prefix and dlna namespace. Added changes to didl-lite-writer to top-level dlna namespace declaration in browse/search only when a dlna attribute is available.
Review of attachment 253308 [details] [review]: This looks like there's also code for bug 705564 in this patch...
Created attachment 254014 [details] [review] Support for adding clearTextsize attribute for link protected item
My bad. Clubbed two patched together. I will be updating bug 705564 with the corresponding patch.
Review of attachment 254014 [details] [review]: there are minor style issues as well (tabs vs. spaces) ::: libgupnp-av/gupnp-didl-lite-resource.c @@ +1294,3 @@ + (unsigned char *) "cleartextSize", + (unsigned char *) str); +{ I don't understand this part of the code
Review of attachment 254014 [details] [review]: ::: libgupnp-av/gupnp-didl-lite-resource.c @@ +1294,3 @@ + (unsigned char *) "cleartextSize", + (unsigned char *) str); +{ This block checks if the dlna namespace node has already been created for the presence of anyother dlna namespaced properties. To avoid creating dlnans over and over again.
Pushed with slight fixes for style and vapi generation