error: lvalue required as left operand of assignment
Mayank Agarwal
mayank77fromindia at gmail.com
Fri Sep 26 04:55:56 PDT 2014
Hi,
I tried the below link for appsrc exmaple:
http://gstreamer.freedesktop.org/data/doc/gstreamer/head/manual/html/section-data-spoof.html#section-spoof-appsrc
but with that code also i am getting below error:
0:00:00.070114093 27261 0xd69f70 FIXME default
gstutils.c:3643:gst_pad_create_stream_id_internal:<source:src>
Creating random stream-id, consider implementing a deterministic way
of creating a stream-id
0:00:00.072186341 27261 0xd69f70 WARN basesrc
gstbasesrc.c:2933:gst_base_src_loop:<source> error: Internal data flow
error.
0:00:00.072507881 27261 0xd69f70 WARN basesrc
gstbasesrc.c:2933:gst_base_src_loop:<source> error: streaming task
paused, reason not-linked (-1)
Regards,
Mayank
On Fri, Sep 26, 2014 at 1:48 PM, Mayank Agarwal
<mayank77fromindia at gmail.com> wrote:
> Hi,
>
> I have tried appsrc example using gstreamer but i am getting below error:
>
> appsrcexampletwo.c:40:35: error: lvalue required as left operand of assignment
> appsrcexampletwo.c:41:5: warning: implicit declaration of function
> ‘GST_BUFFER_SIZE’ [-Wimplicit-function-declaration]
> appsrcexampletwo.c:41:29: error: lvalue required as left operand of assignment
> appsrcexampletwo.c:42:5: warning: implicit declaration of function
> ‘GST_BUFFER_DATA’ [-Wimplicit-function-declaration]
> appsrcexampletwo.c:42:29: error: lvalue required as left operand of assignment
>
> in the following line of code,i have compiled using gstreamer-1.0
>
> GST_BUFFER_MALLOCDATA(buffer) = ptr;
> GST_BUFFER_SIZE(buffer) = size;
> GST_BUFFER_DATA(buffer) = GST_BUFFER_MALLOCDATA(buffer);
>
> Regards,
> Mayank
More information about the gstreamer-devel
mailing list