Re: RFC: Operation Options API proposal
- From: "Juan A." Suárez Romero <jasuarez igalia com>
- To: grilo-list gnome org
- Subject: Re: RFC: Operation Options API proposal
- Date: Thu, 24 Mar 2011 12:15:14 +0100
On Wed, 2011-03-23 at 14:50 +0100, Guillaume Emont wrote:
> First idea to help the user adjust their options to what the source
> supports::
>
> gboolean
> grl_media_source_supported_options (GrlMediaSource *source,
> GrlSupportedOps operation,
> GrlOperationOptions *options,
> GrlOperationOptions
> **effective_options);
>
> Alternative idea, similar to GstCaps in gstreamer, simpler to
> implement for
> plugins, slightly less flexible::
>
> GrlOperationOptions *
> grl_media_source_supported_options (GrlMediaSource *source,
> GrlSupportedOps operation);
>
> GrlOperationOptions *
> grl_operation_options_intersect (GrlOperationOptions *options1,
> GrlOperationOptions *options2);
>
>
Maybe this sounds stupid, but why those functions are not using the
GrlCaps?
AFAIK, GrlCaps already contains what sources supports. So makes sense
for me using caps to adjust the options to what source supports.
J.A.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]