[gst-devel] using the tuner interface from python
Stefan Kost
ensonic at hora-obscura.de
Sat Oct 3 12:05:12 CEST 2009
Kulecz, Walter (JSC-SK)[WYLE INTEG. SCI. & ENG.] schrieb:
>> From: Dick Marinus [dick at mrns.nl]
>> Sent: Wednesday, September 30, 2009 11:17 AM
>> To: gstreamer-devel at lists.sourceforge.net
>> Subject: [gst-devel] using the tuner interface from python
>>
>> I've tried to set the pipeline queue to STATE_PLAYING but I still have
>> the same error.
>
>>From C, I couldn't get any of the gst_tuner stuff to work until I set the pipeline to GST_STATE_PAUSED.
>
> --wally.
this is perfectly normal but a surpise to everybody at first encounter. These
kind of interfaces are dynamic. Once a device is opened (READY) its features are
queried and the interfaces are added or not. So in NULL the elements simply does
not know yet what it will be capable of.
There is agreements to drop GST_IMPLEMENTS_INTERFACE and rather have a
_is_supported method in such interfaces. This probably needs a threestate return
like: NO, MAYBE, YES (maybe as in I-don't-know-yet).
Stefan
More information about the gstreamer-devel
mailing list