Thanks Eric for the link to Yocto. I'll give that a try because it may solve our other open issue where Gstreamer fails to allocate enough contiguous memory to play a video: GStreamer crashing on i.MX6 (Boundary Devices Nitrogen6x)
Leonardo: That was a good idea having me try gplay; I didn't have the error when I used that program.
I looked at the source code to see how it was accomplished. It looks like the Gstreamer tutorial I referenced in my initial post has a mistake. Specifically this line:
seek_event = gst_event_new_seek (data->rate, GST_FORMAT_TIME, GST_SEEK_FLAG_FLUSH | GST_SEEK_FLAG_ACCURATE, GST_SEEK_TYPE_SET, position, GST_SEEK_TYPE_NONE, 0);
here's the gplay version:
set_playback_rate_event = gst_event_new_seek(playback_rate, GST_FORMAT_TIME, GST_SEEK_FLAG_FLUSH | GST_SEEK_FLAG_KEY_UNIT, GST_SEEK_TYPE_SET, current_position, GST_SEEK_TYPE_SET, pproperty->duration);
So I think the last two parameters are what was causing my problem. I used GST_SEEK_TYPE_NONE and zero. After changing it to GST_SEEK_TYPE_SET and the duration of the video, I no longer experienced the error.
Thanks again,
Jim