QtGstreamer and GstEncodeBin

George Kiagiadakis kiagiadakis.george at gmail.com
Wed Feb 15 07:27:13 PST 2012


On Wed, Feb 15, 2012 at 5:20 PM, vaisaari <vaisaari at gmail.com> wrote:
> I'm sorry to get back to this... I tried your suggestion, but the compiler
> returns following error:
>
> error: no matching function for call to
> ‘QGlib::RefPointer<QGst::MiniObject>::wrap(GstEncodingProfile*&)’
>
> candidate is:
>
> /usr/include/QtGStreamer/QGst/../QGlib/refpointer.h:326: static
> QGlib::RefPointer<T> QGlib::RefPointer<T>::wrap(typename T::CType*, bool)
> [with T = QGst::MiniObject, typename T::CType = _GstMiniObject]
>
> /usr/include/QtGStreamer/QGst/../QGlib/refpointer.h:326:   no known
> conversion for argument 1 from ‘GstEncodingProfile* {aka
> _GstEncodingProfile*}’ to ‘QGst::MiniObject::CType* {aka _GstMiniObject*}’
>

Erm, right, I forgot you need to cast it:
QGst::MiniObjectPtr profilePtr =
QGst::MiniObjectPtr::wrap(GST_MINI_OBJECT(profile));


More information about the gstreamer-devel mailing list