[gst-devel] Gstreamer compilation problem and GST_SEEK_FLAG_SKIP not working...

Rajesh Marathe rmarathe at i-rode.com
Wed Feb 3 06:25:47 CET 2010


Hello,

I have started using Gstreamer recently and am running into the below
problems.

Environment:
------------

Target - IMX27 ADS board is the target (ARM9 based).
Host - RHEL 5.3 Desktop version
Linux code based on LTIB.

Code Versions are:
-------------------
Gstreamer core: 0.10.22
gst-plugins-base:0.10.22
gst-plugins-good: 0.10.10 
gst-plugins-bad: 0.10.8


Problems:
---------

1. Compilation issue: If I use the recommended gst-plugins-good
(0.10.14) version, I see the following compilation error:

==========================
libtool: link: link -dump
-symbols  .libs/libgstvideobalance_la-gstvideobalance.o   |  | /bin/sed
's/.* //' | sort | uniq > .libs/libgstvideobalance.exp
../../libtool: eval: line 964: syntax error near unexpected token `|'
../../libtool: eval: line 964: `link -dump
-symbols  .libs/libgstvideobalance_la-gstvideobalance.o   |  | /bin/sed
's/.* //' | sort | uniq > .libs/libgstvideobalance.exp'
make[3]: *** [libgstvideobalance.la] Error 1
make[3]: *** Waiting for unfinished jobs....
===========================

libtool is throwing out this error. Please help me get over this one.


2. Since I got the above problem with 0.10.14 version I fell back to
0.10.10 gst-plugins-good. This compiled fine but the GST_SEEK_FLAG_SKIP
does not work. Following is the code snippet which I have:

===========================
    gst_element_query_position (pipeline, &fmt, &pos);
    pos += (10 * GST_SECOND);

  
    gst_element_set_state (pipeline, GST_STATE_PLAYING);
    gst_element_get_state (pipeline, NULL, NULL, (5 * GST_SECOND));
    gst_element_seek (vdec,  4.0, GST_FORMAT_TIME,  GST_SEEK_FLAG_FLUSH
| GST_SEEK_FLAG_KEY_UNIT | GST_SEEK_FLAG_SKIP, pos, GST_SEEK_TYPE_NONE,
GST_CLOCK_TIME_NONE);
    gst_element_get_state (vdec, NULL, NULL, (5 * GST_SECOND));
=============================

Am I specifying wrong parameters in the above call for seeking ?

Please help.

thanks and regards,
Rajesh Marathe.






More information about the gstreamer-devel mailing list